/* =========================================================
   Exterior Detail LLC — Brand Stylesheet
   Palette pulled from the company logo:
   Navy #0C3C78  ·  Sky #54A8C0  ·  White / Grey
   ========================================================= */

:root {
  /* Brand */
  --navy-900: #08254a;
  --navy-800: #0c3c78;   /* primary brand navy */
  --navy-700: #114a8f;
  --blue-500: #1e78c8;
  --sky-400:  #4fb0d4;   /* brand sky */
  --sky-300:  #7cc6e2;
  --sky-100:  #e7f3f9;

  /* Neutrals */
  --ink:      #0e2235;
  --slate:    #54657a;
  --mist:     #f4f8fb;
  --line:     #e3ebf2;
  --white:    #ffffff;

  /* Effects */
  --grad-brand: linear-gradient(135deg, #0c3c78 0%, #114a8f 45%, #1e78c8 100%);
  --grad-sky:   linear-gradient(135deg, #1e78c8 0%, #4fb0d4 100%);
  --shadow-sm: 0 2px 10px rgba(12, 60, 120, .08);
  --shadow-md: 0 14px 40px rgba(12, 60, 120, .12);
  --shadow-lg: 0 30px 70px rgba(8, 37, 74, .22);
  --radius: 18px;
  --radius-sm: 12px;

  --maxw: 1180px;
  --nav-h: 78px;

  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: .78rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--blue-500);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--sky-400); border-radius: 2px; }

.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { max-width: 640px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4.2vw, 3rem); margin: 16px 0 14px; }
.section-head p { color: var(--slate); font-size: 1.06rem; }

.text-grad {
  background: var(--grad-sky); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--navy-800);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  padding: 15px 28px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--bg); color: #fff; transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  box-shadow: var(--shadow-sm); white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(12,60,120,.28); }
.btn-primary { background: var(--grad-sky); }
.btn-primary:hover { background: linear-gradient(135deg,#1666b0,#3ba2c8); }
.btn-ghost { background: rgba(255,255,255,.12); border: 1.5px solid rgba(255,255,255,.55); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.22); }
.btn-dark { background: var(--navy-800); }
.btn-outline { background: transparent; color: var(--navy-800); border: 1.5px solid var(--line); box-shadow: none; }
.btn-outline:hover { border-color: var(--sky-400); color: var(--blue-500); }
.btn-lg { padding: 18px 36px; font-size: 1.06rem; }

/* ---------- Top bar + Nav ---------- */
.topbar {
  background: var(--navy-900); color: #cfe3f2; font-size: .85rem;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; min-height: 40px; gap: 16px; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar svg { width: 15px; height: 15px; }
.topbar .tb-right { display: flex; gap: 22px; align-items: center; }
.topbar .tb-rating { color: #fff; font-weight: 600; }
.topbar .stars { color: #ffc94d; letter-spacing: 1px; }
@media (max-width: 720px) { .topbar { display: none; } }

.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: box-shadow .3s, background .3s, border-color .3s;
}
.nav.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); background: rgba(255,255,255,.92); }
.nav .container { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: 18px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 50px; width: auto; }
.brand .brand-txt { display: flex; flex-direction: column; line-height: 1; }
.brand .brand-txt b { font-family: var(--font-display); font-size: 1.04rem; color: var(--navy-800); letter-spacing: -.01em; }
.brand .brand-txt span { font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--sky-400); font-weight: 600; margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-family: var(--font-display); font-weight: 500; font-size: .97rem; color: var(--ink); position: relative; padding: 6px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--sky-400); transition: width .25s; border-radius: 2px; }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone { font-family: var(--font-display); font-weight: 700; color: var(--navy-800); white-space: nowrap; }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.hamburger span { width: 26px; height: 2.5px; background: var(--navy-800); border-radius: 2px; transition: .3s; }
.nav.open .hamburger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav.open .hamburger span:nth-child(2) { opacity: 0; }
.nav.open .hamburger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 940px) {
  .nav-links, .nav-cta .nav-phone { display: none; }
  .hamburger { display: flex; }
  .nav-links {
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 4px;
    background: #fff; padding: 18px 22px 26px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .28s;
  }
  .nav.open .nav-links { display: flex; transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav-links a:last-child { border-bottom: 0; }
}
@media (max-width: 720px) {
  /* Mobile: nav is part of normal flow and scrolls away — NOT sticky/fixed.
     This makes the iOS "content peeks above the bar" gap physically impossible. */
  .nav, .nav.scrolled {
    position: static;
    background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none;
    border-bottom: 1px solid var(--line); box-shadow: none;
  }
  /* Layout: logo left · wordmark centered · menu button far right */
  .nav .container { position: relative; justify-content: flex-start; gap: 0; }
  .brand img { height: 42px; }
  .brand .brand-txt {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    align-items: center; text-align: center;
  }
  .brand .brand-txt b { font-size: 1rem; }
  .brand .brand-txt span { font-size: .58rem; }
  .nav-cta .btn { display: none; } /* CTA lives in hero + sticky call button on mobile */
  .hamburger { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden; display: flex; align-items: center;
  min-height: min(860px, 92vh);
  padding: clamp(96px, 12vw, 140px) 0 clamp(110px, 13vw, 160px);
  background:
    linear-gradient(100deg, rgba(8,37,74,.94) 0%, rgba(8,37,74,.78) 38%, rgba(10,44,80,.5) 70%, rgba(10,44,80,.35) 100%),
    url("../images/photos/led-lights-house.jpg") center 38% / cover no-repeat,
    var(--navy-900);
}
.hero::after { /* subtle grid shimmer */
  content: ""; position: absolute; inset: 0; opacity: .06; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.6) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.6) 1px, transparent 1px);
  background-size: 54px 54px; mask-image: radial-gradient(circle at 78% 50%, #000, transparent 78%);
}
.hero .container { position: relative; z-index: 2; }
.hero-copy { max-width: 700px; }
@media (max-width: 760px) {
  .hero { min-height: auto; background-image: linear-gradient(180deg, rgba(8,37,74,.8) 0%, rgba(8,37,74,.9) 100%), url("../images/photos/led-lights-house.jpg"); background-position: center; }
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(6px);
  font-size: .85rem; font-weight: 600; font-family: var(--font-display); margin-bottom: 22px;
}
.hero-badge .stars { color: #ffc94d; letter-spacing: 1px; }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.1rem); color: #fff; margin-bottom: 20px; }
.hero h1 .hl { color: var(--sky-300); }
.hero p.lead { font-size: clamp(1.05rem, 1.7vw, 1.22rem); color: #d6e6f3; max-width: 540px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 12px 26px; }
.hero-trust li { display: flex; align-items: center; gap: 9px; font-size: .92rem; color: #d6e6f3; font-weight: 500; }
.hero-trust svg { width: 19px; height: 19px; color: var(--sky-300); flex: none; }

/* Hero visual card */
.hero-visual { position: relative; }
.hero-card {
  background: rgba(255,255,255,.96); border-radius: 24px; padding: 30px; box-shadow: var(--shadow-lg);
  color: var(--ink); position: relative;
}
.hero-photo { position: relative; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); border: 5px solid rgba(255,255,255,.14); margin-bottom: 16px; }
.hero-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.hero-photo figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 18px 14px; color: #fff;
  font-family: var(--font-display); font-weight: 600; font-size: .9rem;
  background: linear-gradient(to top, rgba(8,37,74,.88), transparent);
}
.hero-card .quick-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; text-align: center; }
.hero-card .quick-row .num { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; color: var(--navy-800); }
.hero-card .quick-row .lbl { font-size: .76rem; color: var(--slate); letter-spacing: .04em; }
.hero-card .est-strip {
  margin-top: 20px; background: var(--mist); border: 1px dashed var(--sky-300); border-radius: var(--radius-sm);
  padding: 14px 16px; display: flex; align-items: center; gap: 12px; font-size: .92rem; color: var(--navy-800); font-weight: 600;
}
.hero-card .est-strip svg { width: 26px; height: 26px; color: var(--blue-500); flex: none; }
.hero-card { z-index: 2; }
.float-chip {
  position: absolute; z-index: 3; background: #fff; border-radius: 14px; box-shadow: var(--shadow-md);
  padding: 12px 16px; display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .88rem; color: var(--ink);
  font-family: var(--font-display);
}
.float-chip svg { width: 22px; height: 22px; color: var(--blue-500); }
.float-chip.c1 { top: -18px; left: -22px; animation: floaty 5s ease-in-out infinite; }
.float-chip.c2 { bottom: -20px; right: -16px; animation: floaty 6s ease-in-out infinite .8s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1; line-height: 0; }
.hero-wave svg { width: 100%; height: auto; display: block; }

@media (max-width: 880px) {
  .hero .container { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 440px; margin: 0 auto; width: 100%; }
  .float-chip.c1 { left: 6px; } .float-chip.c2 { right: 6px; }
}

/* ---------- Trust bar ---------- */
.trustbar { background: #fff; border-bottom: 1px solid var(--line); }
.trustbar .container { display: flex; flex-wrap: wrap; justify-content: space-around; gap: 26px; padding: 28px 22px; text-align: center; }
.trustbar .ti { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.trustbar .ti .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.7rem, 3.4vw, 2.4rem); color: var(--navy-800); }
.trustbar .ti .lbl { font-size: .86rem; color: var(--slate); letter-spacing: .02em; }
.trustbar .ti .stars { color: #ffc94d; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 24px; }
.svc-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px;
  position: relative; overflow: hidden; transition: transform .35s, box-shadow .35s, border-color .35s;
}
.svc-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad-sky);
  transform: scaleX(0); transform-origin: left; transition: transform .4s;
}
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.svc-card:hover::before { transform: scaleX(1); }
.svc-ico {
  width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center;
  background: var(--sky-100); color: var(--blue-500); margin-bottom: 20px; transition: .35s;
}
.svc-card:hover .svc-ico { background: var(--grad-sky); color: #fff; transform: rotate(-6deg); }
.svc-ico svg { width: 30px; height: 30px; }
.svc-card h3 { font-size: 1.28rem; margin-bottom: 10px; }
.svc-card p { color: var(--slate); font-size: .96rem; margin-bottom: 16px; }
.svc-card .svc-link { font-family: var(--font-display); font-weight: 600; color: var(--blue-500); font-size: .92rem; display: inline-flex; align-items: center; gap: 6px; transition: gap .25s; }
.svc-card .svc-link svg { width: 16px; height: 16px; }
.svc-card:hover .svc-link { gap: 11px; }

/* ---------- Services: editorial numbered rows ---------- */
.svc-split { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: end; }
.svc-split h2 { font-family: "Anton", sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: .01em; line-height: .92; font-size: clamp(2.4rem, 5.4vw, 4.6rem); color: var(--ink); margin-top: 14px; }
.svc-split .svc-lead { color: var(--slate); font-size: 1.05rem; padding-bottom: 8px; }
@media (max-width: 820px) { .svc-split { grid-template-columns: 1fr; gap: 14px; } }

.svc-list { margin-top: 46px; border-top: 1px solid var(--line); }
.svc-row {
  display: grid; grid-template-columns: 88px 1fr auto; align-items: center; gap: 30px;
  padding: 32px 10px; border-bottom: 1px solid var(--line); position: relative; cursor: pointer;
  transition: padding .5s cubic-bezier(.16,1,.3,1), background .4s ease;
}
.svc-row .svc-n { font-family: "Anton", sans-serif; font-size: 1.45rem; color: var(--slate); transition: color .4s ease; }
.svc-row .svc-mid { display: flex; flex-direction: column; gap: 7px; }
.svc-row .svc-ttl { font-family: "Anton", sans-serif; text-transform: uppercase; font-size: clamp(1.6rem, 3.8vw, 2.9rem); line-height: 1; color: var(--ink); letter-spacing: .015em; transition: color .4s ease; }
.svc-row .svc-desc { font-size: .96rem; color: var(--slate); max-width: 560px; }
.svc-row .svc-go { width: 54px; height: 54px; flex: none; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--ink); transition: background .45s ease, border-color .45s ease, color .45s ease; }
.svc-row .svc-go svg { width: 20px; height: 20px; transition: transform .45s ease; }
.svc-row:hover { padding-left: 26px; background: var(--mist); }
.svc-row:hover .svc-n { color: var(--blue-500); }
.svc-row:hover .svc-ttl { color: var(--blue-500); }
.svc-row:hover .svc-go { background: var(--grad-sky); border-color: transparent; color: #fff; }
.svc-row:hover .svc-go svg { transform: translate(2px,-2px); }

@media (max-width: 760px) {
  .svc-row { grid-template-columns: 50px 1fr; gap: 16px; padding: 24px 6px; }
  .svc-row .svc-go { display: none; }
  .svc-row:hover { padding-left: 8px; }
}

/* ---------- Why us / split ---------- */
.why { background: var(--mist); }
.why .grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 72px); align-items: center; }
.why .why-copy h2 { font-size: clamp(1.9rem, 3.8vw, 2.7rem); margin: 16px 0 18px; }
.why .why-copy > p { color: var(--slate); font-size: 1.05rem; margin-bottom: 26px; }
.feat-list { display: grid; gap: 18px; }
.feat {
  display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 18px 20px; transition: transform .3s, box-shadow .3s;
}
.feat:hover { transform: translateX(6px); box-shadow: var(--shadow-sm); }
.feat .fi { width: 46px; height: 46px; border-radius: 12px; background: var(--sky-100); color: var(--blue-500); display: grid; place-items: center; flex: none; }
.feat .fi svg { width: 24px; height: 24px; }
.feat h4 { font-size: 1.06rem; margin-bottom: 3px; }
.feat p { color: var(--slate); font-size: .92rem; }

.why-visual { position: relative; }
.why-panel {
  background: var(--grad-brand); border-radius: 26px; padding: 40px 36px; color: #fff; box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.why-panel::after { content: ""; position: absolute; inset: 0; background: radial-gradient(420px 320px at 100% 0, rgba(84,168,192,.5), transparent 60%); }
.why-panel > * { position: relative; z-index: 1; }
.why-panel .pstars { color: #ffc94d; font-size: 1.3rem; letter-spacing: 2px; margin-bottom: 12px; }
.why-panel blockquote { font-family: var(--font-display); font-size: 1.32rem; font-weight: 600; line-height: 1.4; margin-bottom: 22px; }
.why-panel .pmeta { display: flex; align-items: center; gap: 12px; }
.why-panel .pmeta .av { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; }
.why-panel .pmeta small { display: block; color: #cfe3f2; }
.why-panel .pbadge { margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.18); display: flex; align-items: center; gap: 10px; font-size: .9rem; color: #d6e6f3; }
.why-panel .pbadge-num { font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: #fff; }

@media (max-width: 860px) { .why .grid { grid-template-columns: 1fr; } }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; text-align: center; padding: 8px; }
.step .sn {
  width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 2px solid var(--sky-300); color: var(--navy-800); font-family: var(--font-display); font-weight: 800; font-size: 1.4rem;
  position: relative; z-index: 2; transition: .3s;
}
.step:hover .sn { background: var(--grad-sky); color: #fff; border-color: transparent; transform: translateY(-4px); }
.step h4 { font-size: 1.12rem; margin-bottom: 8px; }
.step p { color: var(--slate); font-size: .93rem; }
.steps .step:not(:last-child)::after {
  content: ""; position: absolute; top: 32px; left: 60%; width: 80%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--sky-300) 0 8px, transparent 8px 16px); z-index: 1;
}
@media (max-width: 820px) { .steps { grid-template-columns: 1fr 1fr; } .steps .step::after { display: none; } }
@media (max-width: 460px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Reviews ---------- */
.reviews { background: var(--mist); }
.rev-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 24px; }
.rev-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .3s, box-shadow .3s; }
.rev-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.rev-card .stars { color: #ffc94d; letter-spacing: 1px; margin-bottom: 14px; font-size: 1.05rem; }
.rev-card p { color: var(--ink); font-size: 1rem; margin-bottom: 18px; }
.rev-card .who { display: flex; align-items: center; gap: 12px; }
.rev-card .who .av { width: 42px; height: 42px; border-radius: 50%; background: var(--grad-sky); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; }
.rev-card .who b { font-family: var(--font-display); font-size: .98rem; }
.rev-card .who small { color: var(--slate); display: flex; align-items: center; gap: 5px; }
.rev-card .who small svg { width: 13px; height: 13px; }
.reviews .rev-foot { text-align: center; margin-top: 44px; }

/* ---------- Service area ---------- */
.area .grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px,6vw,64px); align-items: center; }
.area h2 { font-size: clamp(1.9rem,3.8vw,2.7rem); margin: 16px 0 16px; }
.area p { color: var(--slate); font-size: 1.05rem; margin-bottom: 22px; }
.area-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.area-tags span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px; font-size: .9rem; font-weight: 500; color: var(--navy-800); transition: .25s; }
.area-tags span:hover { border-color: var(--sky-400); background: var(--sky-100); }
.area-map { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.area-map iframe { width: 100%; height: 380px; border: 0; display: block; }
@media (max-width: 820px) { .area .grid { grid-template-columns: 1fr; } }

/* ---------- CTA / Estimate ---------- */
.cta { position: relative; color: #fff; background: var(--grad-brand); overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 400px at 85% 20%, rgba(84,168,192,.4), transparent 60%); }
.cta .grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px,6vw,64px); align-items: center; }
.cta h2 { color: #fff; font-size: clamp(2rem,4vw,2.9rem); margin-bottom: 16px; }
.cta .lead { color: #d6e6f3; font-size: 1.1rem; margin-bottom: 26px; }
.cta-points { display: grid; gap: 12px; margin-bottom: 6px; }
.cta-points li { display: flex; align-items: center; gap: 11px; color: #e3eef7; }
.cta-points svg { width: 20px; height: 20px; color: var(--sky-300); flex: none; }

/* Estimate form */
.form-card { background: #fff; border-radius: 22px; padding: clamp(26px,4vw,38px); box-shadow: var(--shadow-lg); color: var(--ink); }
.form-card h3 { font-size: 1.5rem; margin-bottom: 6px; }
.form-card .fhint { color: var(--slate); font-size: .92rem; margin-bottom: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: 600; font-family: var(--font-display); color: var(--navy-800); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: .98rem; padding: 13px 15px; border: 1.5px solid var(--line);
  border-radius: 12px; background: var(--mist); color: var(--ink); transition: border-color .2s, background .2s, box-shadow .2s; width: 100%;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--sky-400); background: #fff; box-shadow: 0 0 0 4px rgba(79,176,212,.18);
}
.form-card .btn { width: 100%; margin-top: 4px; }
.form-card .formnote { font-size: .8rem; color: var(--slate); text-align: center; margin-top: 14px; }
.form-card .formnote a { color: var(--blue-500); font-weight: 600; }
.form-success { display: none; text-align: center; padding: 30px 10px; }
.form-success.show { display: block; }
.form-success svg { width: 56px; height: 56px; color: #2bb673; margin: 0 auto 14px; }
.form-success h3 { margin-bottom: 8px; }
.form-success p { color: var(--slate); }
@media (max-width: 980px) { .cta .grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: #b9cee0; padding: 64px 0 0; }
.footer .fgrid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 48px; }
.footer img.flogo { height: 76px; width: auto; margin-bottom: 18px; }
.footer .fabout { font-size: .94rem; max-width: 290px; margin-bottom: 18px; }
.footer h5 { color: #fff; font-family: var(--font-display); font-size: 1rem; margin-bottom: 18px; letter-spacing: .01em; }
.footer ul.flinks li { margin-bottom: 11px; }
.footer ul.flinks a { font-size: .94rem; transition: color .2s, padding .2s; }
.footer ul.flinks a:hover { color: #fff; padding-left: 4px; }
.footer .fcontact li { display: flex; gap: 11px; margin-bottom: 14px; font-size: .94rem; align-items: flex-start; }
.footer .fcontact svg { width: 18px; height: 18px; color: var(--sky-400); flex: none; margin-top: 3px; }
.footer .fcontact a:hover { color: #fff; }
.socials { display: flex; gap: 12px; margin-top: 6px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: .25s; }
.socials a:hover { background: var(--grad-sky); transform: translateY(-3px); }
.socials svg { width: 20px; height: 20px; color: #fff; }
.fbar { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .85rem; }
.fbar a:hover { color: #fff; }
@media (max-width: 860px) { .footer .fgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer .fgrid { grid-template-columns: 1fr; } .fbar { justify-content: center; text-align: center; } }

/* ---------- Floating call button (mobile) ---------- */
.fab {
  position: fixed; bottom: 20px; right: 20px; z-index: 90; display: none;
  width: 58px; height: 58px; border-radius: 50%; background: var(--grad-sky); color: #fff;
  align-items: center; justify-content: center; box-shadow: var(--shadow-lg); animation: pulse 2.4s infinite;
}
.fab svg { width: 26px; height: 26px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(79,176,212,.5); } 70% { box-shadow: 0 0 0 16px rgba(79,176,212,0); } 100% { box-shadow: 0 0 0 0 rgba(79,176,212,0); } }
@media (max-width: 940px) { .fab { display: flex; } }

/* ---------- Our Work: before/after + gallery ---------- */
.work { background: var(--mist); }
.ba-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-bottom: 56px; }
.ba-block h4 { font-size: 1.15rem; margin-bottom: 4px; text-align: center; }
.ba-block .ba-sub { text-align: center; color: var(--slate); font-size: .9rem; margin-bottom: 16px; }
.ba {
  position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-md);
  user-select: none; touch-action: pan-y; cursor: ew-resize; background: #0b2238;
}
.ba img { display: block; width: 100%; height: auto; pointer-events: none; }
.ba .ba-after { position: absolute; top: 0; left: 0; height: 100%; width: 50%; overflow: hidden; }
.ba .ba-after img { position: absolute; top: 0; left: 0; height: 100%; max-width: none; }
.ba .ba-divider { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: #fff; transform: translateX(-50%); box-shadow: 0 0 0 1px rgba(8,37,74,.25); }
.ba .ba-handle {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--navy-800);
  display: grid; place-items: center; box-shadow: var(--shadow-md);
}
.ba .ba-handle svg { width: 24px; height: 24px; }
.ba .ba-tag {
  position: absolute; bottom: 14px; font-family: var(--font-display); font-weight: 700; font-size: .74rem;
  letter-spacing: .08em; text-transform: uppercase; color: #fff; padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(4px);
}
.ba .ba-tag-before { left: 14px; background: rgba(8,37,74,.62); }
.ba .ba-tag-after { right: 14px; background: rgba(30,120,200,.78); }
@media (max-width: 760px) { .ba-wrap { grid-template-columns: 1fr; } }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 14px; }
.gal-item {
  position: relative; overflow: hidden; border-radius: 14px; cursor: pointer; background: #0b2238; box-shadow: var(--shadow-sm);
}
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.16,.84,.44,1); }
.gal-item:hover img { transform: scale(1.08); }
.gal-item .gal-cap {
  position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 16px;
  background: linear-gradient(to top, rgba(8,37,74,.82), rgba(8,37,74,0) 55%);
  color: #fff; font-family: var(--font-display); font-weight: 600; font-size: .92rem; opacity: 0; transition: opacity .3s;
}
.gal-item:hover .gal-cap { opacity: 1; }
.gal-item.wide { grid-column: span 2; }
.gal-item.tall { grid-row: span 2; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; } .gal-item.wide { grid-column: span 2; } .gal-item.tall { grid-row: span 1; } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 130px; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(6,20,38,.92); display: none; align-items: center; justify-content: center; padding: 30px; }
.lightbox.show { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 12px; box-shadow: var(--shadow-lg); }
.lb-btn { position: absolute; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3); color: #fff; width: 50px; height: 50px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.lb-btn:hover { background: rgba(255,255,255,.25); }
.lb-btn svg { width: 26px; height: 26px; }
.lb-close { top: 22px; right: 22px; }
.lb-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 22px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lb-prev { left: 10px; } .lb-next { right: 10px; } .lb-btn { width: 42px; height: 42px; } }

/* ============================================================
   "Fun" layer — Anton display accents, marquee, parallax stat
   band, scroll cue, film grain, footer watermark
   ============================================================ */
.display { font-family: "Anton", var(--font-display); font-weight: 400; letter-spacing: .02em; }

/* Hero scroll cue */
.scroll-cue {
  position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); z-index: 2;
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.5); border-radius: 14px; display: flex; justify-content: center;
}
.scroll-cue span { width: 4px; height: 8px; background: #fff; border-radius: 2px; margin-top: 7px; animation: scrolldot 1.6s infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translateY(-4px); } 50% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
@media (max-width: 880px) { .scroll-cue { display: none; } }

/* Stat band — light, clean separation from the dark hero */
.statband { padding: 56px 0; background: var(--mist); border-bottom: 1px solid var(--line); }
.statband-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.statband .stat { position: relative; }
.statband .stat:not(:last-child)::after { content: ""; position: absolute; right: -12px; top: 14%; height: 72%; width: 1px; background: var(--line); }
.statband .snum { font-family: "Anton", sans-serif; font-size: clamp(2.8rem, 6vw, 4.1rem); line-height: 1; color: var(--navy-800); }
.statband .snum .star { color: #ffc94d; }
.statband .slabel { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: var(--blue-500); margin-top: 10px; }
@media (max-width: 760px) { .statband-grid { grid-template-columns: 1fr 1fr; gap: 36px 20px; } .statband .stat:nth-child(2)::after { display: none; } }
@media (max-width: 460px) { .statband-grid { grid-template-columns: 1fr; } .statband .stat::after { display: none; } }

/* Film grain texture overlay (global) */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 9999; pointer-events: none; opacity: .04; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Footer ghost watermark */
.footer { position: relative; overflow: hidden; }
.foot-word {
  font-family: "Anton", sans-serif; text-transform: uppercase; font-size: clamp(3rem, 16vw, 12rem); line-height: .8;
  letter-spacing: .02em; color: rgba(255,255,255,.045); text-align: center; white-space: nowrap;
  pointer-events: none; user-select: none; margin: 10px 0 -1.4vw;
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .scroll-cue span { animation: none; }
  body::after { display: none; }
}

/* Big punchy section headings — a touch of DJM editorial energy */
.section-head h2 { letter-spacing: -.025em; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s cubic-bezier(.16,.84,.44,1), transform .7s cubic-bezier(.16,.84,.44,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

/* Back to top */
.totop { position: fixed; bottom: 20px; left: 20px; z-index: 90; width: 46px; height: 46px; border-radius: 12px;
  background: var(--navy-800); color: #fff; display: grid; place-items: center; opacity: 0; pointer-events: none; transition: .3s; box-shadow: var(--shadow-md); }
.totop.show { opacity: 1; pointer-events: auto; }
.totop:hover { background: var(--blue-500); transform: translateY(-3px); }
.totop svg { width: 22px; height: 22px; }
