/* ==========================================================
   SCH Garage Door Parts & Repair LLC - Home page styles
   schgaragedoors.com
   ========================================================== */

:root {
  --navy: #0f2335;
  --navy-2: #13293e;
  --navy-3: #0a1a29;
  --orange: #f47a1f;
  --orange-dark: #e0670e;
  --text: #1d2733;
  --muted: #4a5563;
  --light: #f6f7f9;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 6px 18px rgba(15, 35, 53, .10);
  --font-head: "Poppins", Arial, sans-serif;
  --font-body: "Open Sans", Arial, sans-serif;
  --font-script: "Kaushan Script", cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { font-family: var(--font-head); margin: 0; line-height: 1.15; }
address { font-style: normal; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 16px;
  padding: 12px 26px; border-radius: 8px; border: 2px solid transparent;
  transition: background .25s, transform .25s, box-shadow .25s, color .25s;
  white-space: nowrap; cursor: pointer;
}
.btn .ico { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }
.btn .arrow { fill: none; transition: transform .25s; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-orange { background: var(--orange); color: var(--white); box-shadow: 0 6px 16px rgba(244, 122, 31, .35); }
.btn-orange:hover { background: var(--orange-dark); transform: translateY(-2px); }
.btn-outline { border-color: var(--white); color: var(--white); background: rgba(10, 26, 41, .35); }
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-lg { font-size: 17px; padding: 14px 32px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(0, 0, 0, .35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 92px; }
.logo img { width: 270px; height: auto; }

.main-nav { flex: 1; display: flex; justify-content: center; }
.main-nav ul { display: flex; gap: 34px; }
.main-nav a {
  position: relative; color: var(--white);
  font-family: var(--font-head); font-weight: 500; font-size: 15px;
  padding: 8px 0; transition: color .2s;
}
.main-nav ul a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--orange); transition: width .25s;
}
.main-nav ul a:hover, .main-nav ul a.active { color: var(--orange); }
.main-nav ul a:hover::after, .main-nav ul a.active::after { width: 100%; }
.nav-call-mobile { display: none; }
.header-call { font-size: 18px; padding: 13px 28px; }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 28px; height: 3px; margin: 5px 0; background: var(--white); border-radius: 2px; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Services mega menu ---------- */
section[id] { scroll-margin-top: 90px; }
.header-inner { position: relative; }
.main-nav .has-sub { display: flex; align-items: center; }
.sub-toggle {
  width: 18px; height: 18px; margin-left: 4px; padding: 0; border: 0; background: none; cursor: pointer; position: relative;
}
.sub-toggle::before {
  content: ""; position: absolute; left: 4px; top: 3px; width: 7px; height: 7px;
  border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); transition: transform .25s;
}
.has-sub:hover .sub-toggle::before { transform: rotate(-135deg); top: 7px; border-color: var(--orange); }

.mega {
  position: absolute; top: 100%; left: 24px; right: 24px; z-index: 120;
  display: grid; grid-template-columns: 1fr 260px; gap: 0;
  background: #fff; border-radius: 0 0 16px 16px; overflow: hidden;
  box-shadow: 0 28px 60px rgba(5, 15, 25, .35); border-top: 4px solid var(--orange);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .25s, visibility .25s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -34px; height: 30px; }
.main-nav .has-sub:hover .mega, .main-nav .has-sub:focus-within .mega { opacity: 1; visibility: visible; transform: none; }

.mega-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 22px; }
.main-nav .mega-item {
  position: relative; display: flex; flex-direction: column; padding: 0; border-radius: 12px; overflow: hidden;
  background: var(--light); color: var(--navy); border: 1px solid #e6e9ed;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.main-nav .mega-item::after { display: none; }
.mega-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.mega-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.mega-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10, 26, 41, .45)); }
.mega-txt { display: flex; flex-direction: column; gap: 2px; padding: 10px 40px 12px 12px; }
.mega-txt b { font-family: var(--font-head); font-weight: 600; font-size: 14px; line-height: 1.25; }
.mega-txt small { font-family: var(--font-body); font-weight: 400; font-size: 12px; line-height: 1.35; color: var(--muted); }
.mega-arrow {
  position: absolute; right: 10px; bottom: 14px; width: 24px; height: 24px; border-radius: 50%; background: var(--orange);
  transition: transform .25s;
}
.mega-arrow::after {
  content: ""; position: absolute; top: 50%; left: 44%; width: 6px; height: 6px;
  border-top: 2px solid #fff; border-right: 2px solid #fff; transform: translate(-50%, -50%) rotate(45deg);
}
.main-nav .mega-item:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(15, 35, 53, .16); border-color: var(--orange); color: var(--navy); }
.mega-item:hover .mega-img img { transform: scale(1.08); }
.mega-item:hover .mega-arrow { transform: translateX(3px); }
.main-nav .mega-item.active { border-color: var(--orange); background: #fff4ea; }
.main-nav .mega-item.active .mega-txt b { color: var(--orange); }

.mega-side {
  position: relative; padding: 26px 24px; color: #fff; display: flex; flex-direction: column;
  background: linear-gradient(160deg, #13293e, #0a1a29);
}
.mega-side::before {
  content: ""; position: absolute; left: 0; top: 0; right: 0; height: 8px;
  background: repeating-linear-gradient(135deg, var(--orange) 0 10px, #0a1a29 10px 20px);
}
.mega-kicker { margin: 6px 0 6px; color: var(--orange); font-family: var(--font-head); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }
.mega-title { margin: 0 0 14px; font-family: var(--font-head); font-weight: 700; font-size: 19px; line-height: 1.3; }
.main-nav .mega-side ul { display: grid; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.mega-side li { position: relative; padding-left: 20px; font-size: 13.5px; color: #c9d4df; }
.mega-side li::before { content: ""; position: absolute; left: 0; top: 6px; width: 9px; height: 9px; border-radius: 2px; background: var(--orange); transform: rotate(45deg); }
.main-nav .mega-call { margin-top: auto; padding: 12px 14px; font-size: 14.5px; color: #fff; }
.main-nav .mega-call::after { display: none; }
.main-nav .mega-call:hover { color: #fff; }

@media (max-width: 1180px) {
  .mega { grid-template-columns: 1fr; }
  .mega-side { display: none; }
}

@media (max-width: 1024px) {
  .main-nav .has-sub { flex-wrap: wrap; justify-content: space-between; }
  .main-nav .has-sub > a { flex: 1; }
  .sub-toggle { width: 40px; height: 40px; }
  .sub-toggle::before { left: 15px; top: 13px; width: 9px; height: 9px; }
  .has-sub:hover .sub-toggle::before { transform: rotate(45deg); top: 13px; border-color: #fff; }
  .has-sub.open .sub-toggle::before { transform: rotate(-135deg); top: 18px; border-color: var(--orange); }
  .mega {
    position: static; width: 100%; display: none; margin: 0 0 12px; border: 0; border-radius: 12px;
    box-shadow: none; background: rgba(255, 255, 255, .05); opacity: 1; visibility: visible; transform: none;
  }
  .mega::before { display: none; }
  .has-sub.open .mega { display: block; }
  .mega-grid { grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px; }
  .main-nav .mega-item { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .08); color: #fff; }
  .main-nav .mega-item:hover { color: #fff; transform: none; }
  .main-nav .mega-item.active { background: rgba(244, 122, 31, .18); }
  .mega-txt small { display: none; }
  .mega-txt { padding: 9px 34px 10px 10px; }
  .mega-txt b { font-size: 13px; }
  .mega-arrow { width: 20px; height: 20px; bottom: 10px; right: 8px; }
  .main-nav ul .mega li { border: 0; }
  .main-nav.open { max-height: calc(100vh - 78px); max-height: calc(100dvh - 78px); overflow-y: auto; overscroll-behavior: contain; }
}
@media (max-width: 420px) {
  .mega-grid { grid-template-columns: 1fr; }
  .main-nav .mega-item { flex-direction: row; align-items: center; }
  .mega-img { width: 84px; flex-shrink: 0; aspect-ratio: 4 / 3; }
  .mega-arrow { top: 50%; bottom: auto; margin-top: -10px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy-3);
  color: var(--white);
  min-height: 600px;
  display: flex; align-items: center;
}
.hero-bg {
  position: absolute; top: 0; right: 0; bottom: 0; width: 60%;
  background: url("../images/hero-garage-door-manteca.jpg") right bottom / cover no-repeat;
}
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--navy-3) 0%, rgba(10, 26, 41, .85) 14%, rgba(10, 26, 41, .25) 38%, rgba(10, 26, 41, 0) 55%);
}
.hero::before {
  /* soft dusk sky glow behind the text side */
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 30%, rgba(42, 66, 92, .55), transparent 60%);
}
.hero-content { position: relative; z-index: 2; padding-top: 56px; padding-bottom: 36px; }
.eyebrow {
  margin: 0 0 14px; font-family: var(--font-head); font-weight: 500;
  font-size: 14px; letter-spacing: 4px; text-transform: uppercase; color: #e4e9ef;
}
.eyebrow span { margin: 0 8px; color: var(--orange); }

.hero-title { margin-bottom: 22px; }
.hero-title h1 {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(36px, 4.6vw, 62px); line-height: 1.08; letter-spacing: -.5px;
}
.hero-title h1 { color: var(--white); }
.hero-title .hero-city {
  display: inline-flex; align-items: center; gap: 10px; margin: 14px 0 0;
  font-family: var(--font-head); font-weight: 600; font-size: clamp(18px, 1.9vw, 24px);
  line-height: 1.3; letter-spacing: 0; color: var(--orange);
}


.hero-text { max-width: 560px; margin: 0 0 28px; font-size: 17px; line-height: 1.6; color: #eef2f6; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 18px; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 36px; }
.hero-badges li { display: flex; align-items: center; gap: 14px; }
.hero-badges svg { width: 38px; height: 38px; color: var(--white); flex-shrink: 0; }
.hero-badges h3 { font-family: var(--font-body); font-weight: 500; font-size: 14.5px; line-height: 1.3; }

/* ---------- Section heading ---------- */
.kicker {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  margin: 0 0 10px; color: var(--orange);
  font-family: var(--font-head); font-weight: 600; font-size: 14px;
  letter-spacing: .5px; text-transform: uppercase;
}
.kicker .line { display: inline-block; width: 46px; height: 2px; background: var(--orange); }
.kicker-left { justify-content: flex-start; }
.kicker-left .line { width: 22px; }

.section-head { text-align: center; max-width: 820px; margin: 0 auto 40px; }
.section-head h2 { font-size: clamp(28px, 3.3vw, 38px); font-weight: 800; color: #0d1620; margin-bottom: 14px; }
.section-head p:last-child { margin: 0; font-size: 16px; color: #30383f; line-height: 1.55; }

/* ---------- Services ---------- */
.services { background: var(--light); padding: 70px 0 34px; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px 22px; }
.service-card {
  display: flex; flex-direction: column;
  background: var(--white); border-radius: 6px; overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(15, 35, 53, .18); }
.service-img { aspect-ratio: 225 / 121; overflow: hidden; background: #ddd; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.service-card:hover .service-img img { transform: scale(1.06); }
.service-body { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px 14px; min-height: 84px; }
.service-body h3 { font-size: 17px; font-weight: 600; color: var(--navy); line-height: 1.25; }
.arrow-btn {
  position: relative; width: 30px; height: 30px; border-radius: 50%;
  background: var(--orange); flex-shrink: 0; transition: background .25s, transform .25s;
}
.arrow-btn::after {
  content: ""; position: absolute; top: 50%; left: 46%; width: 8px; height: 8px;
  border-top: 2px solid #fff; border-right: 2px solid #fff;
  transform: translate(-50%, -50%) rotate(45deg);
}
.service-card:hover .arrow-btn { background: var(--orange-dark); transform: translateX(3px); }

/* ---------- Why choose us ---------- */
.why {
  display: grid; grid-template-columns: 43% 57%;
  background: linear-gradient(110deg, #10263b 0%, #0b1e30 60%, #0a1a2a 100%);
  color: var(--white); margin-top: 0;
}
.why-img { position: relative; min-height: 420px; }
.why-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.why-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11, 30, 48, 0) 70%, #10263b 100%);
}
.why-content { padding: 36px 48px 40px 40px; max-width: 700px; }
.why-content .kicker { margin-bottom: 12px; }
.why-content h2 { font-size: clamp(26px, 2.8vw, 34px); font-weight: 700; margin-bottom: 26px; line-height: 1.2; }

.why-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 28px; }
.why-features svg { width: 50px; height: 50px; color: var(--orange); margin-bottom: 12px; }
.why-features h3 { font-family: var(--font-body); font-size: 15px; font-weight: 500; line-height: 1.3; }

.why-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.script-tagline {
  margin: 0; font-family: var(--font-script); font-size: 25px; line-height: 1.2; white-space: nowrap;
  transform: rotate(-8deg); text-align: center; color: var(--white);
}
.script-tagline span {
  display: inline-block; position: relative; padding-left: 40px; padding-bottom: 6px;
}
.script-tagline span::after {
  content: ""; position: absolute; left: 40px; right: 0; bottom: 0; height: 3px;
  background: var(--orange); border-radius: 3px; transform: rotate(-2deg);
}

/* ---------- Reviews ---------- */
.reviews {
  position: relative; padding: 80px 0 70px; overflow: hidden;
  background: linear-gradient(180deg, #f3f5f8 0%, #ffffff 100%);
}
.reviews::before {
  content: "\201C"; position: absolute; right: 4%; top: -40px;
  font-family: Georgia, serif; font-size: 420px; line-height: 1; color: rgba(244, 122, 31, .08); pointer-events: none;
}
.reviews .container { position: relative; }
.reviews-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 36px; flex-wrap: wrap; }
.reviews-head { text-align: left; margin: 0; max-width: 560px; }
.reviews-head .kicker { color: var(--orange); }
.reviews-head h2 { font-size: clamp(28px, 3.3vw, 38px); font-weight: 800; color: #0d1620; margin-bottom: 10px; }

.g-logo { width: 26px; height: 26px; flex-shrink: 0; }
.g-summary {
  display: flex; align-items: center; gap: 16px; background: #fff; border-radius: 12px;
  padding: 16px 20px; box-shadow: 0 8px 24px rgba(15, 35, 53, .10); border-top: 4px solid #4285f4;
}
.g-summary > .g-logo { width: 40px; height: 40px; }
.g-title { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: 15px; color: #202124; }
.g-score { display: flex; align-items: center; gap: 8px; }
.g-score strong { font-family: var(--font-head); font-size: 26px; color: #202124; line-height: 1; }
.btn-g { background: #1a73e8; color: #fff; font-size: 14px; padding: 10px 18px; border-radius: 24px; }
.btn-g:hover { background: #1557b0; }

.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 18px; height: 18px; fill: #fbbc04; }

.reviews-slider { position: relative; display: flex; align-items: center; gap: 14px; }
.rs-viewport { overflow: hidden; flex: 1; padding: 10px 4px 16px; margin: -10px -4px -16px; }
.rs-track { display: flex; gap: 22px; transition: transform .5s cubic-bezier(.4, 0, .2, 1); }
.review-card {
  flex: 0 0 calc((100% - 44px) / 3);
  background: #fff; border-radius: 12px; padding: 22px 22px 24px;
  border: 1px solid #e3e6ea; box-shadow: 0 4px 14px rgba(15, 35, 53, .06);
  font-family: Roboto, Arial, sans-serif; transition: box-shadow .3s, transform .3s;
}
.review-card:hover { box-shadow: 0 12px 28px rgba(15, 35, 53, .14); transform: translateY(-4px); }
.rc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.rc-avatar {
  width: 44px; height: 44px; border-radius: 50%; color: #fff; flex-shrink: 0;
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 600; font-size: 19px;
}
.rc-who { flex: 1; min-width: 0; }
.rc-who h3 { display: flex; align-items: center; gap: 5px; font-family: Roboto, Arial, sans-serif; font-size: 15.5px; font-weight: 600; color: #202124; }
.rc-verified { width: 15px; height: 15px; flex-shrink: 0; }
.rc-who p { margin: 2px 0 0; font-size: 12.5px; color: #70757a; }
.review-card .stars { margin-bottom: 10px; }
.rc-text { margin: 0; font-size: 15px; line-height: 1.6; color: #3c4043; }

.rs-nav {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; cursor: pointer;
  background: #fff; color: var(--navy); border: 1px solid #dfe3e8; box-shadow: 0 4px 12px rgba(15, 35, 53, .1);
  display: grid; place-items: center; transition: background .2s, color .2s;
}
.rs-nav svg { width: 20px; height: 20px; }
.rs-nav:hover { background: var(--orange); color: #fff; border-color: var(--orange); }
.rs-nav:disabled { opacity: .35; cursor: default; background: #fff; color: var(--navy); border-color: #dfe3e8; }
.rs-dots { display: flex; justify-content: center; gap: 8px; margin-top: 26px; }
.rs-dots button { width: 10px; height: 10px; border-radius: 10px; border: 0; padding: 0; background: #c9cfd6; cursor: pointer; transition: width .3s, background .3s; }
.rs-dots button.active { width: 28px; background: var(--orange); }

@media (max-width: 1024px) {
  .review-card { flex-basis: calc((100% - 22px) / 2); }
}
@media (max-width: 680px) {
  .reviews { padding: 56px 0 50px; }
  .reviews::before { font-size: 260px; }
  .g-summary { width: 100%; flex-wrap: wrap; }
  .g-summary .btn-g { width: 100%; }
  .review-card { flex-basis: 100%; }
  .rs-nav { display: none; }
}

/* ---------- Gallery ---------- */
.gallery { padding: 80px 0; background: var(--navy-3); color: #fff; position: relative; }
.gallery::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px;
}
.gallery .container { position: relative; }
.gallery-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 34px; }
.gallery-head { text-align: left; margin: 0; max-width: 600px; }
.gallery-head .kicker { color: var(--orange); }
.gallery-head h2 { color: #fff; font-size: clamp(28px, 3.3vw, 38px); font-weight: 800; margin-bottom: 10px; }
.gallery .gallery-head p:last-child { color: #b9c6d3; }
.g-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.g-filters button {
  font-family: var(--font-head); font-weight: 500; font-size: 14px; cursor: pointer;
  padding: 9px 18px; border-radius: 30px; color: #dbe3eb;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.15); transition: .25s;
}
.g-filters button:hover { border-color: var(--orange); color: #fff; }
.g-filters button.active { background: var(--orange); border-color: var(--orange); color: #fff; }

.g-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; grid-auto-flow: dense; gap: 16px; }
.g-item { position: relative; margin: 0; border-radius: 12px; overflow: hidden; background: #1a2c3e; transition: opacity .35s, transform .35s; }
.g-item.g-big { grid-column: span 2; grid-row: span 2; }
.g-item.g-tall { grid-row: span 2; }
.g-item.is-hidden { display: none; }
.g-open { display: block; width: 100%; height: 100%; padding: 0; border: 0; cursor: zoom-in; background: none; }
.g-open img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.g-item::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 45%, rgba(6, 16, 26, .88) 100%);
}
.g-item figcaption {
  position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 2; pointer-events: none;
  font-family: var(--font-head); font-weight: 600; font-size: 16px; line-height: 1.3; color: #fff;
  transform: translateY(6px); transition: transform .35s;
}
.g-big figcaption { font-size: 22px; left: 22px; bottom: 20px; }
.g-cat {
  display: table; margin-bottom: 6px; padding: 3px 10px; border-radius: 20px;
  background: var(--orange); font-size: 11px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase;
}
.g-zoom {
  position: absolute; top: 14px; right: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.95); color: var(--navy); display: grid; place-items: center;
  opacity: 0; transform: scale(.7); transition: .3s;
}
.g-zoom svg { width: 20px; height: 20px; }
.g-item:hover .g-open img { transform: scale(1.07); }
.g-item:hover .g-zoom, .g-open:focus-visible .g-zoom { opacity: 1; transform: none; }
.g-item:hover figcaption { transform: none; }
.g-open:focus-visible { outline: 3px solid var(--orange); outline-offset: -3px; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; gap: 16px;
  background: rgba(5, 12, 20, .94); padding: 40px 20px; animation: lbIn .25s ease;
}
.lightbox[hidden] { display: none; }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lb-figure { margin: 0; max-width: min(1100px, 100%); text-align: center; }
.lb-figure img { max-width: 100%; max-height: 78vh; margin: 0 auto; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lb-caption { margin-top: 14px; color: #fff; font-family: var(--font-head); font-weight: 500; font-size: 16px; }
.lb-close {
  position: absolute; top: 16px; right: 20px; width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.12); color: #fff; font-size: 30px; line-height: 1;
}
.lb-nav {
  width: 50px; height: 50px; border-radius: 50%; border: 0; cursor: pointer; flex-shrink: 0;
  background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; transition: background .2s;
}
.lb-nav svg { width: 22px; height: 22px; }
.lb-nav:hover, .lb-close:hover { background: var(--orange); }

@media (max-width: 1024px) {
  .g-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
}
@media (max-width: 680px) {
  .gallery { padding: 56px 0; }
  .g-grid { grid-auto-rows: 150px; gap: 10px; }
  .g-item figcaption { font-size: 13px; left: 10px; right: 10px; bottom: 10px; }
  .g-big figcaption { font-size: 17px; }
  .g-cat { font-size: 9.5px; padding: 2px 8px; }
  .lb-nav { position: absolute; bottom: 24px; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
}

/* ---------- Content sections ---------- */
.content-block { padding: 80px 0; }
.content-block p { font-size: 16px; line-height: 1.75; color: #3a444f; margin: 0 0 16px; }
.content-block h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; color: #0d1620; margin-bottom: 20px; line-height: 1.2; }
.content-block .kicker { color: var(--orange); font-size: 14px; line-height: 1.4; margin: 0 0 10px; }
.cb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.cb-grid-rev .cb-text { order: 2; }
.cb-grid-rev .cb-cards { order: 1; }

/* 1. parts */
.cb-parts { background: var(--white); }
.check-list { margin-top: 22px; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 36px; font-family: var(--font-head); font-weight: 500; color: var(--navy); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.cb-collage { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.cb-collage img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.cb-collage .c1 { grid-column: 1 / 3; aspect-ratio: 2 / 1; }
.cb-collage .c2, .cb-collage .c3 { aspect-ratio: 4 / 3; }
.cb-badge {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -30%);
  width: 118px; height: 118px; border-radius: 50%;
  background: var(--navy); color: #fff; border: 5px solid var(--white);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .25);
}
.cb-badge strong { font-family: var(--font-head); font-size: 26px; color: var(--orange); line-height: 1; }
.cb-badge span { font-size: 12px; line-height: 1.2; margin-top: 4px; font-weight: 600; }

/* 2. safety */
.cb-safety { background: var(--light); border-top: 1px solid #e6e9ed; border-bottom: 1px solid #e6e9ed; }
.cb-safety .section-head { margin-bottom: 36px; }
.cb-safety-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: stretch; }
.cb-safety-text {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 34px 36px; border-left: 5px solid var(--orange);
}
.cb-safety-text { display: flex; flex-direction: column; justify-content: center; }
.cb-safety-text p:last-child { margin-bottom: 0; }
.cb-callout {
  background: linear-gradient(135deg, #13293e, #0a1a29); color: #fff;
  border-radius: var(--radius); padding: 34px 32px; box-shadow: 0 14px 30px rgba(15, 35, 53, .25);
  display: flex; flex-direction: column; align-items: flex-start;
}
.cb-callout > svg { width: 46px; height: 46px; color: var(--orange); margin-bottom: 14px; }
.cb-callout p { color: #dbe3eb; }
.cb-callout .callout-q { font-family: var(--font-head); font-size: 21px; font-weight: 600; line-height: 1.4; color: #fff; }
.cb-callout strong { color: #fff; }
.cb-callout .btn { margin-top: auto; }

/* 3. repair */
.cb-repair { background: var(--white); }
.cb-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mini-card {
  background: var(--light); border-radius: var(--radius); padding: 28px 24px;
  border-bottom: 4px solid var(--orange); transition: transform .3s, box-shadow .3s, background .3s;
}
.mini-card:nth-child(2), .mini-card:nth-child(3) { background: var(--navy); }
.mini-card:nth-child(2) h3, .mini-card:nth-child(3) h3 { color: #fff; }
.mini-card:nth-child(2) p, .mini-card:nth-child(3) p { color: #c4cfda; }
.mini-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.mini-card svg { width: 44px; height: 44px; color: var(--orange); margin-bottom: 14px; }
.mini-card h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.content-block .mini-card p { font-size: 14.5px; line-height: 1.55; margin: 0; }

@media (max-width: 1024px) {
  .content-block { padding: 64px 0; }
  .cb-grid, .cb-safety-grid { grid-template-columns: 1fr; gap: 40px; }
  .cb-grid-rev .cb-text { order: 1; }
  .cb-grid-rev .cb-cards { order: 2; }
}
@media (max-width: 680px) {
  .content-block { padding: 52px 0; }
  .cb-safety-text, .cb-callout { padding: 26px 22px; }
  .cb-callout .btn { width: 100%; }
  .cb-cards { grid-template-columns: 1fr; }
  .mini-card:nth-child(3) { background: var(--light); }
  .mini-card:nth-child(3) h3 { color: var(--navy); }
  .mini-card:nth-child(3) p { color: #3a444f; }
  .mini-card:nth-child(4) { background: var(--navy); }
  .mini-card:nth-child(4) h3 { color: #fff; }
  .content-block .mini-card:nth-child(4) p { color: #c4cfda; }
  .cb-badge { width: 92px; height: 92px; }
  .cb-badge strong { font-size: 20px; }
}

/* ---------- Service area ---------- */
.service-area {
  position: relative; overflow: hidden; padding: 84px 0 70px; color: #fff;
  background:
    radial-gradient(circle at 15% 10%, rgba(244, 122, 31, .14), transparent 40%),
    radial-gradient(circle at 90% 85%, rgba(244, 122, 31, .10), transparent 40%),
    linear-gradient(160deg, #13293e 0%, #0a1a29 100%);
}
.sa-road {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 900' preserveAspectRatio='none'%3E%3Cpath d='M-40 760 C 260 620 420 820 720 640 S 1180 300 1480 380' fill='none' stroke='%23ffffff' stroke-opacity='.07' stroke-width='60'/%3E%3Cpath d='M-40 760 C 260 620 420 820 720 640 S 1180 300 1480 380' fill='none' stroke='%23f47a1f' stroke-opacity='.55' stroke-width='3' stroke-dasharray='22 18'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.service-area .container { position: relative; z-index: 1; }
.sa-head h2 { color: #fff; }
.service-area .section-head p:last-child { color: #c9d4df; }

.sa-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.sa-card {
  background: #fff; color: var(--text); border-radius: 14px; overflow: hidden;
  box-shadow: 0 20px 44px rgba(0, 0, 0, .35); display: flex; flex-direction: column;
  transition: transform .3s;
}
.sa-card:hover { transform: translateY(-6px); }
.sa-card-head { display: flex; align-items: center; gap: 14px; padding: 20px 24px; border-bottom: 1px solid #eceff2; }
.sa-pin {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  background: var(--orange); color: #fff; display: grid; place-items: center;
  box-shadow: 0 0 0 6px rgba(244, 122, 31, .18);
}
.sa-pin svg { width: 24px; height: 24px; }
.sa-label { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--orange); }
.sa-card-head h3 { font-size: 24px; font-weight: 700; color: var(--navy); }
.sa-tag {
  margin-left: auto; background: var(--navy); color: #fff; font-size: 12.5px; font-weight: 600;
  padding: 6px 12px; border-radius: 20px; white-space: nowrap;
}
.sa-map { position: relative; aspect-ratio: 16 / 10; background: #e7eaee; }
.sa-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sa-cities { padding: 22px 24px 26px; flex: 1; }
.sa-cities h4 {
  margin: 0 0 14px; font-family: var(--font-head); font-size: 15px; font-weight: 600; color: var(--navy);
  display: flex; align-items: center; gap: 10px;
}
.sa-cities h4::after { content: ""; flex: 1; height: 1px; background: #e2e6ea; }
.sa-cities ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.sa-cities li {
  position: relative; padding: 9px 12px 9px 34px; border-radius: 8px;
  background: var(--light); font-family: var(--font-head); font-weight: 500; font-size: 15px; color: var(--navy);
  transition: background .2s, color .2s;
}
.sa-cities li::before {
  content: ""; position: absolute; left: 12px; top: 50%; width: 14px; height: 14px; transform: translateY(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23f47a1f' d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.sa-cities li:hover { background: var(--navy); color: #fff; }

.sa-cta {
  margin-top: 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 28px; border-radius: 12px;
  background: rgba(255, 255, 255, .06); border: 1px dashed rgba(244, 122, 31, .6);
}
.sa-cta-text { display: flex; align-items: center; gap: 16px; }
.sa-cta-text svg { width: 40px; height: 40px; color: var(--orange); flex-shrink: 0; }
.sa-cta-text p { margin: 0; font-size: 16.5px; color: #dbe3eb; }
.sa-cta-text strong { color: #fff; }

@media (max-width: 1024px) {
  .sa-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .service-area { padding: 56px 0 50px; }
  .sa-card-head { flex-wrap: wrap; padding: 18px; }
  .sa-tag { margin-left: 62px; }
  .sa-map { aspect-ratio: 4 / 3; }
  .sa-cities { padding: 18px; }
  .sa-cities ul { gap: 8px; }
  .sa-cities li { font-size: 13.5px; padding: 8px 8px 8px 28px; }
  .sa-cities li::before { left: 9px; width: 12px; height: 12px; }
  .sa-cta { flex-direction: column; align-items: stretch; text-align: left; }
  .sa-cta .btn { width: 100%; }
}

/* ---------- Footer ---------- */
.footer-top {
  position: relative; background: #f7f8f9; padding: 16px 0 14px; overflow: hidden;
}
.footer-top::before, .footer-top::after {
  content: ""; position: absolute; top: 0; bottom: 0; opacity: .55; pointer-events: none;
  background-repeat: no-repeat; background-size: auto 100%;
}
.footer-top::before { left: 0; width: 26%; background-image: url("../images/sketch-left.jpg"); background-position: left center; }
.footer-top::after { right: 0; width: 9%; background-image: url("../images/sketch-right.jpg"); background-position: right center; }
.footer-top-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 40px; }
.footer-logo { padding-right: 40px; border-right: 2px solid var(--navy); }
.footer-logo img { width: 190px; height: auto; mix-blend-mode: multiply; }
.footer-features { display: flex; }
.footer-features li {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 6px 24px; border-right: 1px solid #c9ced4;
}
.footer-features li:last-child { border-right: 0; }
.footer-features svg { width: 34px; height: 34px; color: var(--navy); margin-bottom: 6px; }
.footer-features h3 { font-family: var(--font-body); font-size: 13px; font-weight: 400; line-height: 1.35; color: #1b2430; }
.footer-features strong { font-weight: 600; }

.footer-bar { background: var(--navy); color: var(--white); font-size: 14px; padding: 14px 0 10px; }
.footer-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.fb-group { display: flex; gap: 36px; flex-wrap: wrap; }
.fb-item { display: inline-flex; align-items: center; gap: 10px; }
.fb-item a:hover, a.fb-item:hover { color: var(--orange); }
.fb-item svg { width: 18px; height: 18px; color: var(--orange); flex-shrink: 0; }
.footer-legal {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 14px;
  margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 12.5px; color: #b9c4cf;
}
.footer-legal strong { color: var(--white); font-weight: 600; }
.footer-legal a:hover { color: var(--orange); }

.mobile-call { display: none; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1180px) {
  .main-nav ul { gap: 22px; }
  .logo img { width: 220px; }
  .header-call { font-size: 16px; padding: 11px 20px; }
}

@media (max-width: 1024px) {
  .nav-toggle { display: block; }
  .header-call { margin-left: auto; font-size: 15px; padding: 10px 16px; }
  .header-inner { min-height: 78px; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 16px;
    background: var(--navy); padding: 10px 24px 24px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    max-height: 0; overflow: hidden; opacity: 0; visibility: hidden;
    transition: max-height .35s ease, opacity .3s, visibility .3s;
  }
  .main-nav.open { max-height: calc(100vh - 78px); max-height: calc(100dvh - 78px); overflow-y: auto; overscroll-behavior: contain; opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul li { border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .main-nav ul a { display: block; padding: 14px 0; font-size: 16px; }
  .main-nav ul a::after { display: none; }
  .nav-call-mobile { display: inline-flex; }

  .hero-bg { width: 100%; opacity: .55; }
  .hero-bg::before { background: linear-gradient(90deg, rgba(10, 26, 41, .95) 0%, rgba(10, 26, 41, .6) 60%, rgba(10, 26, 41, .35) 100%); }

  .services-grid { grid-template-columns: repeat(2, 1fr); }

  .why { grid-template-columns: 1fr; }
  .why-img { min-height: 340px; }
  .why-img::after { background: linear-gradient(180deg, transparent 70%, #10263b 100%); }
  .why-content { max-width: none; padding: 40px 24px 48px; }

  .footer-top-inner { flex-direction: column; gap: 18px; }
  .footer-logo { border-right: 0; padding-right: 0; }
}

@media (max-width: 680px) {
  .logo img { width: 150px; }
  .header-inner { gap: 10px; min-height: 68px; padding: 0 14px; }
  .header-call { font-size: 14px; padding: 9px 12px; gap: 6px; border-radius: 7px; }
  .header-call .ico { width: 16px; height: 16px; }
  .nav-toggle { padding: 6px 2px 6px 6px; }
  .nav-toggle span { width: 26px; }
  .hero { min-height: 0; }
  .hero-content { padding-top: 44px; padding-bottom: 44px; }
  .eyebrow { font-size: 12px; letter-spacing: 3px; }
  .hero-text { font-size: 16px; }
  .hero-buttons .btn { width: 100%; }
  .hero-badges { gap: 18px; flex-direction: column; }

  .services { padding: 54px 0 40px; }
  .section-head p:last-child br { display: none; }
  .services-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .service-body { padding: 10px 10px 12px; min-height: 0; gap: 6px; align-items: center; }
  .service-body h3 { font-size: 14px; }
  .arrow-btn { width: 24px; height: 24px; }
  .arrow-btn::after { width: 6px; height: 6px; }

  .why-features { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
  .why-bottom { flex-direction: column; align-items: flex-start; gap: 34px; }
  .why-bottom .btn { width: 100%; }
  .script-tagline { align-self: center; font-size: 23px; white-space: normal; }

  .footer-top::before, .footer-top::after { opacity: .25; }
  .footer-features { flex-direction: column; width: 100%; }
  .footer-features li { border-right: 0; border-bottom: 1px solid #d5d9de; padding: 14px 0; }
  .footer-features li:last-child { border-bottom: 0; }
  .footer-bar-inner, .fb-group { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer-legal { flex-direction: column; align-items: flex-start; }
  .footer-legal .sep { display: none; }
  .footer-bar { padding-bottom: 80px; }

  .mobile-call {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    position: fixed; left: 16px; right: 16px; bottom: 14px; z-index: 99;
    background: var(--orange); color: #fff; border-radius: 10px; padding: 14px;
    font-family: var(--font-head); font-weight: 600; font-size: 17px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .3);
  }
  .mobile-call svg { width: 20px; height: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 360px) {
  .logo img { width: 124px; }
  .header-call { font-size: 13px; padding: 8px 9px; }
  .header-call .ico { display: none; }
}

/* Hero H1 lines */
.hero-title h1 .h1-line { display: block; white-space: nowrap; }
@media (max-width: 360px) {
  .services-grid { gap: 10px; }
  .service-body { padding: 9px 8px 10px; }
  .service-body h3 { font-size: 12.5px; }
  .arrow-btn { width: 22px; height: 22px; }
}

/* ---------- Fix: all top menu links on one straight line ---------- */
@media (min-width: 1025px) {
  .main-nav > ul { align-items: center; }
  .main-nav > ul > li { display: flex; align-items: center; height: 40px; }
  .main-nav > ul > li > a { display: inline-flex; align-items: center; padding: 8px 0; line-height: 1.2; }
}

/* ---------- Fix: hero text stays on the dark background, not over the photo ---------- */
@media (min-width: 1025px) {
  .hero-bg { width: 54%; }
  .hero-content > * {
    /* width from the container edge to the start of the photo, minus a gap */
    max-width: min(470px, calc(46vw - max(24px, (100vw - 1240px) / 2 + 24px) - 32px));
  }
  .hero-title h1 { font-size: clamp(34px, 3.5vw, 52px); }
  .hero-text { font-size: 16.5px; }
}

/* Footer: Privacy Policy and Terms of Service always together on one line */
.footer-links { display: inline-flex; align-items: center; gap: 14px; white-space: nowrap; }
.footer-links .sep { display: inline !important; }
.footer-links a { color: #fff; }
.footer-links a:hover { color: var(--orange); }
.footer-legal .footer-links { flex-basis: 100%; justify-content: center; margin-top: 2px; }
@media (max-width: 680px) { .footer-legal .footer-links { justify-content: flex-start; } }
