/* ==========================================================================
   Terry Enterprises Lawn Care — terrymows.com
   Dark-ground build. Flat root. Every page links /styles.css
   ========================================================================== */

:root {
  /* grounds — the page never goes white */
  --night:     #070A0D;   /* deepest: top bar, footer */
  --coal:      #0E141A;   /* near-black sections */
  --navy:      #0A2E45;   /* deep blue sections */
  --forest:    #123A26;   /* deep green sections */
  --surface:   #161F27;   /* cards */
  --surface-2: #1D2831;   /* raised / hover */

  /* mow-stripe band */
  --turf:      #3A7A28;
  --turf-2:    #31691F;

  /* accents */
  --sky:       #29B4EE;
  --sky-lt:    #8ADCFA;
  --blade:     #A3E05C;
  --gold:      #F5B62B;

  /* text */
  --text:      #E8EEF1;
  --dim:       #A2B8C2;
  --ink:       #101820;   /* text on light surfaces */

  --line:      rgba(41,180,238,.20);    /* blue hairline */
  --line-2:    rgba(41,180,238,.36);    /* blue, stronger */
  --line-g:    rgba(163,224,92,.26);    /* green hairline */
  --line-g2:   rgba(163,224,92,.45);
  --white:     #FFFFFF;

  --font-display: "Archivo", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Public Sans", -apple-system, BlinkMacSystemFont, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  --r-sm: 4px;
  --r-md: 12px;
  --r-lg: 20px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.68;
  color: var(--text);
  background: var(--coal);
  -webkit-font-smoothing: antialiased;
}

img, svg, video { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -.032em;
  margin: 0;
  color: var(--white);
  text-wrap: balance;
}

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
a { color: var(--sky-lt); }

:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: var(--r-sm); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; background: var(--sky); color: var(--night); padding: .75rem 1.25rem; z-index: 999; font-weight: 700; }
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.band { padding-block: clamp(2.75rem, 6vw, 5rem); position: relative; }
.band--tight { padding-block: clamp(2rem, 4vw, 3.25rem); }

/* section grounds */
.g-coal   { background: var(--coal); }
.g-navy   { background: var(--navy); }
.g-forest { background: var(--forest); }
.g-night  { background: var(--night); }

/* soft light source so dark bands are never flat */
.glow-t::before,
.glow-b::before { content: ""; position: absolute; left: 0; right: 0; height: 55%; pointer-events: none; }
.glow-t::before { top: 0; background: radial-gradient(70% 100% at 50% 0%, rgba(41,180,238,.16), transparent 70%); }
.glow-b::before { bottom: 0; background: radial-gradient(70% 100% at 50% 100%, rgba(163,224,92,.13), transparent 70%); }
.band > .wrap { position: relative; z-index: 1; }

/* gradient hairline between sections */
.rule-t::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; z-index: 2;
  background: linear-gradient(90deg, transparent 0%, rgba(41,180,238,.65) 28%, rgba(163,224,92,.65) 72%, transparent 100%);
}

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--font-display);
  font-size: .75rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--sky-lt);
  margin: 0 0 .9rem;
  display: flex; align-items: center; gap: .6rem;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 100px; background: linear-gradient(90deg, var(--sky), var(--blade)); }

.band-head { max-width: 47rem; margin-bottom: clamp(1.6rem, 3vw, 2.6rem); }
.band-head h1,
.band-head h2 { font-size: clamp(1.95rem, 4.6vw, 3.15rem); }
.band-head h1::after,
.band-head h2::after {
  content: ""; display: block;
  width: 56px; height: 5px; margin-top: 1.05rem;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--sky) 0%, var(--blade) 100%);
}
.hl-b { color: var(--sky-lt); }
.hl-g { color: var(--blade); }
.band-head p { margin-top: 1.1rem; color: var(--dim); font-size: 1.12rem; }

/* ---------- Mow-stripe signature ---------- */
.band--turf {
  position: relative; z-index: 2;
  background-image: repeating-linear-gradient(114deg,
    var(--turf) 0px, var(--turf) 46px,
    var(--turf-2) 46px, var(--turf-2) 92px);
  background-size: 200% 100%;
  clip-path: polygon(0 2.4vw, 100% 0, 100% 100%, 0 calc(100% - 2.4vw));
  margin-block: -2.4vw;
  padding-block: calc(clamp(2rem, 4vw, 3.25rem) + 2.4vw);
  animation: drift 48s linear infinite;
}
@keyframes drift { from { background-position: 0 0; } to { background-position: 200% 0; } }

.band--edge {
  clip-path: polygon(0 2.4vw, 100% 0, 100% 100%, 0 100%);
  margin-top: -2.4vw;
  padding-top: calc(clamp(2.75rem, 6vw, 5rem) + 2.4vw);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-display); font-size: 1rem; font-weight: 700;
  letter-spacing: -.01em; padding: .95rem 1.65rem;
  border: 2px solid transparent; border-radius: var(--r-md);
  cursor: pointer; text-decoration: none;
  transition: transform .18s var(--ease), background-color .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--sky); color: var(--night); box-shadow: 0 8px 24px rgba(41,180,238,.34); }
.btn--primary:hover { background: #4CC6F7; box-shadow: 0 12px 32px rgba(41,180,238,.46); }

.btn--call { background: var(--blade); color: var(--night); box-shadow: 0 8px 24px rgba(163,224,92,.30); }
.btn--call:hover { background: #B6EA76; box-shadow: 0 12px 32px rgba(163,224,92,.42); }

.btn--ghost { background: rgba(255,255,255,.04); color: var(--white); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--sky); background: rgba(41,180,238,.10); }

.btn--wide { width: 100%; padding-block: 1.05rem; }

/* ---------- Top bar ---------- */
.topbar { background: var(--night); color: var(--dim); font-size: .85rem; border-bottom: 1px solid var(--line-g); }
.topbar__in { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: center; justify-content: space-between; padding-block: .55rem; }
.topbar__proof { display: flex; align-items: center; gap: .5rem; }
.topbar__stars { color: var(--gold); letter-spacing: .1em; }
.topbar a { color: var(--white); text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--blade); }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 60; background: rgba(7,10,13,.82); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: .75rem; position: relative; }
.nav__logo { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.nav__logo img { height: 48px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 1.7rem; }
.nav__links a { font-family: var(--font-display); font-weight: 600; font-size: .95rem; color: var(--text); text-decoration: none; padding-block: .4rem; border-bottom: 2px solid transparent; }
.nav__links a:hover { border-bottom-color: var(--sky); color: var(--sky-lt); }
.nav__toggle { display: none; background: none; border: 0; font-size: 1.6rem; color: var(--white); cursor: pointer; padding: .25rem .5rem; }

/* ---------- Hero: full-bleed cover ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: clamp(500px, 76vh, 740px);
  display: flex; align-items: flex-end;
  background: var(--navy);
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(to top,
      rgba(5,8,10,.95) 0%, rgba(5,8,10,.88) 22%,
      rgba(5,8,10,.62) 46%, rgba(5,8,10,.30) 70%, rgba(5,8,10,.52) 100%),
    linear-gradient(100deg, rgba(6,32,48,.80) 0%, rgba(6,32,48,.25) 52%, transparent 78%);
}
.hero__stripe {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: repeating-linear-gradient(114deg, rgba(163,224,92,.05) 0 34px, transparent 34px 68px);
}
.hero__in {
  position: relative; z-index: 2; width: 100%;
  padding-block: clamp(3rem, 7vw, 5rem);
}
.hero__copy { max-width: 47rem; }
.hero h1 { font-size: clamp(2.5rem, 6.4vw, 4.7rem); text-shadow: 0 2px 24px rgba(0,0,0,.5); }
.hero h1 em { font-style: normal; color: var(--blade); }
.hero__kicker { display: block; font-size: clamp(.95rem, 1.7vw, 1.15rem); font-weight: 600; letter-spacing: -.01em; line-height: 1.35; color: var(--sky-lt); margin-bottom: .9rem; text-shadow: 0 2px 12px rgba(0,0,0,.6); }
.hero__lead { margin-top: 1.4rem; font-size: clamp(1.05rem, 1.9vw, 1.22rem); color: #DCE8EE; max-width: 36rem; text-shadow: 0 1px 10px rgba(0,0,0,.6); }
.hero__cta { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.1rem; }
.hero__badges { display: flex; flex-wrap: wrap; gap: .5rem .75rem; margin-top: 2.1rem; padding-top: 1.7rem; border-top: 1px solid var(--line); }
.hero__badge { font-size: .82rem; font-weight: 600; color: #DCE8EE; padding: .35rem .85rem; border: 1px solid var(--line-2); border-radius: 100px; background: rgba(5,8,10,.35); backdrop-filter: blur(3px); }
.hero__badge:nth-child(even) { border-color: var(--line-g2); color: #DCEEC0; }

/* ---------- Before / after pair ---------- */
.ba {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  background: var(--line-2);
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: 0 26px 60px rgba(0,0,0,.5);
}
.ba__fig { position: relative; margin: 0; aspect-ratio: 4 / 3; background: #18222A; }
.ba__fig img { width: 100%; height: 100%; object-fit: cover; }
.ba__label {
  position: absolute; top: .7rem; left: .7rem; z-index: 2;
  font-family: var(--font-display); font-size: .66rem; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase;
  padding: .4rem .8rem; border-radius: 100px;
  background: rgba(7,10,13,.86); color: var(--white);
  backdrop-filter: blur(4px);
}
.ba__label--after { background: var(--blade); color: var(--night); }
.ba__cap { margin-top: .9rem; }

/* Maintenance story — same frame, honest labels, no before/after claim */
.ba--story .ba__label { background: rgba(5,8,10,.88); color: var(--sky-lt); letter-spacing: .1em; }
.ba--story .ba__label--after { background: rgba(5,8,10,.88); color: #F0C14B; }
.ba__note {
  margin-top: 1.1rem; padding: 1rem 1.2rem;
  border-left: 3px solid #F0C14B;
  background: rgba(240,193,75,.07);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: .97rem; color: var(--text);
}
.ba__what { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--blade); display: block; margin-bottom: .35rem; }
.ba__where { font-size: .95rem; color: var(--dim); }

/* ---------- Placeholders ---------- */
.ph {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .3rem; text-align: center; width: 100%; height: 100%; min-height: 110px; padding: 1rem;
  background: repeating-linear-gradient(114deg, rgba(41,180,238,.09) 0 22px, transparent 22px 44px), #18222A;
  border: 2px dashed rgba(41,180,238,.42);
  border-radius: var(--r-md);
  color: var(--sky-lt);
  font-family: var(--font-display);
}
.ph__label { font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.ph__file { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .72rem; letter-spacing: 0; color: #93A6B1; word-break: break-all; line-height: 1.4; }

/* ---------- Proof band ---------- */
.proof__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.28); border-radius: var(--r-md); overflow: hidden; }
.proof__cell { background: rgba(28,62,18,.94); padding: 1.7rem 1.25rem; text-align: center; }
.proof__num { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; line-height: 1; letter-spacing: -.035em; color: var(--blade); text-shadow: 0 2px 18px rgba(163,224,92,.5); }
.proof__label { margin-top: .5rem; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.92); }

/* ---------- Shared card surface ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); transition: transform .22s var(--ease), border-color .22s var(--ease), background-color .22s var(--ease), box-shadow .22s var(--ease); }
.card:hover { transform: translateY(-5px); border-color: rgba(41,180,238,.55); background: var(--surface-2); box-shadow: 0 20px 44px rgba(0,0,0,.45); }

/* ---------- Services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.15rem; }
.svc { position: relative; display: flex; flex-direction: column; overflow: hidden; text-decoration: none; color: inherit; }
.svc::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; z-index: 3; background: linear-gradient(90deg, var(--sky), var(--blade)); opacity: .38; transform: scaleX(.34); transform-origin: left; transition: transform .35s var(--ease), opacity .35s var(--ease); }
.svc:hover::before { transform: scaleX(1); opacity: 1; }
.svc__media { aspect-ratio: 16 / 10; background: #18222A; overflow: hidden; }
.svc__media img, .svc__media .ph { transition: transform .55s var(--ease); }
.svc:hover .svc__media img, .svc:hover .svc__media .ph { transform: scale(1.06); }
.svc__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.svc__body { padding: 1.4rem 1.45rem 1.55rem; display: flex; flex-direction: column; flex: 1; }
.svc__name { font-size: 1.32rem; margin-bottom: .55rem; }
.svc__desc { font-size: .97rem; color: var(--dim); flex: 1; }
.svc__more { margin-top: 1.1rem; font-family: var(--font-display); font-size: .88rem; font-weight: 700; color: var(--sky-lt); }

.svc--flag { grid-column: span 2; }
.svc--flag .svc__media { aspect-ratio: 16 / 8; }
.svc--flag .svc__name { font-size: 1.8rem; }
.svc--flag .svc__desc { font-size: 1.04rem; }
.svc__flagtag { display: inline-block; font-family: var(--font-display); font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--night); background: var(--blade); padding: .3rem .75rem; border-radius: 100px; margin-bottom: .75rem; align-self: flex-start; }
.svc__flagtag--fall { background: var(--sky); }

/* ---------- Before / after wrapper ---------- */
.ba-wrap { max-width: 64rem; }

/* ---------- Gallery ---------- */
.gal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; }
.gal { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-md); overflow: hidden; background: #18222A; text-decoration: none; color: inherit; box-shadow: 0 0 0 0 rgba(41,180,238,0); transition: transform .22s var(--ease), box-shadow .22s var(--ease); }
.gal:hover { transform: translateY(-4px); box-shadow: 0 0 0 3px var(--sky), 0 18px 40px rgba(0,0,0,.5); }
.gal img, .gal .ph { transition: transform .55s var(--ease); }
.gal:hover img, .gal:hover .ph { transform: scale(1.07); }
.gal img { width: 100%; height: 100%; object-fit: cover; }
.gal__tag { position: absolute; left: .55rem; bottom: .55rem; z-index: 2; font-family: var(--font-display); font-size: .64rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; background: var(--sky); color: var(--night); padding: .3rem .65rem; border-radius: 100px; }
.gal-cta { margin-top: 1.9rem; display: flex; flex-wrap: wrap; gap: .8rem; }
.gal-hint { display: none; }

/* ---------- Breadcrumbs ---------- */
.crumbs { font-size: .85rem; color: var(--dim); margin-bottom: 1.5rem; }
.crumbs a { color: var(--sky-lt); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span[aria-hidden] { padding-inline: .4rem; opacity: .6; }

/* ---------- Gallery filters ---------- */
.filters {
  display: flex; flex-wrap: wrap; gap: .55rem;
  margin-bottom: 1.9rem;
}
.chip--filter {
  cursor: pointer; font-size: .88rem;
  display: inline-flex; align-items: center; gap: .45rem;
  min-height: 44px;
}
.chip--filter[aria-pressed="true"] {
  background: var(--sky); color: var(--night); border-color: var(--sky);
  box-shadow: 0 8px 20px rgba(41,180,238,.32);
}
.chip__n {
  font-size: .74rem; font-weight: 700;
  padding: .1rem .42rem; border-radius: 100px;
  background: rgba(255,255,255,.10); color: inherit;
}
.chip--filter[aria-pressed="true"] .chip__n { background: rgba(6,32,48,.22); }

/* full gallery grid — denser than the homepage teaser */
.gal-grid--all { grid-template-columns: repeat(4, 1fr); }
.gal[hidden] { display: none; }

.no-results { margin-top: 1.5rem; color: var(--dim); }
.linkish {
  background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; color: var(--sky-lt); text-decoration: underline;
}

/* ---------- Story ---------- */
.story__in { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.story__media .ph { aspect-ratio: 4 / 5; }
.story__media img { border-radius: var(--r-lg); box-shadow: 0 26px 60px rgba(0,0,0,.5); }
.story p { color: var(--dim); font-size: 1.07rem; }
.story__pull { margin: 1.85rem 0 0; padding: 1.3rem 0 0; border-top: 4px solid var(--blade); font-family: var(--font-display); font-size: clamp(1.18rem, 2.3vw, 1.55rem); font-weight: 700; line-height: 1.3; letter-spacing: -.02em; color: var(--white); }
.story__sig { margin-top: 1rem; font-size: .9rem; color: var(--blade); font-weight: 600; }

/* ---------- Areas ---------- */
.areas__in { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; }
.chip { font-family: var(--font-display); font-weight: 600; font-size: .93rem; padding: .55rem 1.05rem; background: rgba(163,224,92,.07); border: 1px solid var(--line-g2); border-radius: 100px; text-decoration: none; color: var(--blade); transition: background-color .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease), box-shadow .16s var(--ease); }
.chip:hover { background: var(--sky); color: var(--night); border-color: var(--sky); box-shadow: 0 8px 20px rgba(41,180,238,.35); }
.areas__note { margin-top: 1.6rem; font-size: .95rem; color: var(--dim); }
.map-frame {
  position: relative;
  border-radius: var(--r-lg); overflow: hidden;
  aspect-ratio: 4 / 3; min-height: 300px;
  background: #16202A;
  box-shadow: 0 26px 60px rgba(0,0,0,.5), 0 0 0 1px var(--line-2);
}
.map-frame > .leaflet-container { position: absolute; inset: 0; background: #16202A; }

/* OpenStreetMap tiles are built for light pages — mute them onto the dark ground */
.leaflet-tile-pane { filter: grayscale(.55) brightness(.72) contrast(1.06); }

.leaflet-container { font-family: var(--font-body); }
.leaflet-control-attribution {
  background: rgba(7,10,13,.82) !important;
  color: #9DADB7 !important; font-size: 10px !important;
}
.leaflet-control-attribution a { color: var(--sky-lt) !important; }
.leaflet-bar a {
  background: rgba(7,10,13,.9) !important; color: var(--text) !important;
  border-color: rgba(255,255,255,.16) !important;
}
.leaflet-bar a:hover { background: var(--sky) !important; color: var(--night) !important; }
.leaflet-tooltip {
  background: rgba(7,10,13,.92); border: 1px solid var(--line-2);
  color: var(--text); font-family: var(--font-display); font-weight: 700;
  font-size: .78rem; box-shadow: none;
}
.leaflet-tooltip::before { border-top-color: var(--line-2); }
.leaflet-popup-content-wrapper, .leaflet-popup-tip {
  background: var(--surface); color: var(--text);
  border: 1px solid var(--line-2); box-shadow: 0 18px 40px rgba(0,0,0,.5);
}
.leaflet-popup-content { font-size: .9rem; margin: .8rem 1rem; }
.leaflet-popup-content strong { font-family: var(--font-display); color: var(--white); }
.leaflet-popup-content a { color: var(--sky-lt); }
.leaflet-popup-close-button { color: var(--dim) !important; }

.map-fallback {
  position: absolute; inset: 0; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 1.5rem;
  color: var(--dim); font-size: .95rem;
}

/* ---------- Reviews ---------- */
.rv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.rv { display: flex; flex-direction: column; padding: 1.7rem; margin: 0; border-left: 3px solid var(--line-g2); }
.rv:hover { border-left-color: var(--blade); }
.rv__stars { color: var(--gold); letter-spacing: .12em; font-size: 1.05rem; }
.rv__text { margin-top: .95rem; flex: 1; font-size: 1rem; color: var(--text); }
.rv__who { margin-top: 1.3rem; padding-top: 1.05rem; border-top: 1px solid var(--line-g); font-family: var(--font-display); font-weight: 700; font-size: .95rem; color: var(--blade); }
.rv__meta { font-family: var(--font-body); font-weight: 400; font-size: .85rem; color: var(--dim); }
.rv-cta { margin-top: 2.25rem; text-align: center; }

/* ---------- FAQ ---------- */
.faq { max-width: 52rem; }
.faq details {
  border-bottom: 1px solid var(--line-g);
  border-left: 3px solid transparent;
  padding: 1.2rem 0 1.2rem 0;
  transition: border-left-color .22s var(--ease), padding-left .22s var(--ease);
}
.faq details[open] { border-left-color: var(--sky); padding-left: 1.1rem; }
.faq summary { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--white); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--sky); flex-shrink: 0; transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: .9rem; color: var(--dim); }

/* ---------- Quote — the only light surface on the page ---------- */
.quote__in { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.quote__list { list-style: none; padding: 0; margin: 1.6rem 0 0; }
.quote__list li { padding-left: 1.9rem; margin-bottom: .85rem; position: relative; color: #C4D8E2; }
.quote__list li::before { content: ""; position: absolute; left: 0; top: .58rem; width: .85rem; height: .5rem; border-left: 3px solid var(--blade); border-bottom: 3px solid var(--blade); transform: rotate(-45deg); }

.form-card { background: var(--white); border-radius: var(--r-lg); padding: clamp(1.6rem, 3vw, 2.35rem); box-shadow: 0 34px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.12); color: var(--ink); }
.form-card h3 { color: var(--ink); font-size: 1.4rem; margin-bottom: .35rem; }
.form-card__sub { color: #465862; font-size: .95rem; margin-bottom: 1.4rem; }
.field { margin-bottom: 1.05rem; }
.field label { display: block; font-family: var(--font-display); font-weight: 700; font-size: .85rem; margin-bottom: .4rem; color: var(--ink); }
.field .req { color: #08588A; }
.field input, .field select, .field textarea { width: 100%; font-family: var(--font-body); font-size: 1rem; padding: .82rem .9rem; border: 1.5px solid #D3DDE3; border-radius: var(--r-md); background: #F5F8FA; color: var(--ink); transition: border-color .16s var(--ease), background-color .16s var(--ease), box-shadow .16s var(--ease); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #0A6B9E; background: var(--white); box-shadow: 0 0 0 3px rgba(41,180,238,.22); outline: none; }
.field textarea { resize: vertical; min-height: 110px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.05rem; }
.field-hint { margin-top: .35rem; font-size: .82rem; color: #465862; }
.form-note { margin-top: .95rem; font-size: .86rem; color: #465862; text-align: center; }
/* Honeypot. Must be display:none — an off-screen input is still a target for
   browser autofill, which fills it and gets real people flagged as spam. */
.hp { display: none !important; }

.form-status { margin-top: 0; }
.form-status--ok, .form-status--err {
  border-radius: var(--r-lg);
  padding: 1.5rem 1.6rem;
  font-size: 1rem; line-height: 1.6;
}
.form-status--ok {
  background: var(--white);
  border-left: 5px solid #3E8E20;
  color: var(--ink);
  box-shadow: 0 34px 80px rgba(0,0,0,.55);
}
.form-status--ok strong { font-family: var(--font-display); font-size: 1.2rem; color: var(--ink); }
.form-status--ok a { color: #08588A; font-weight: 700; text-decoration: underline; }

/* This box lives INSIDE the white form card, so it is styled for a light
   ground — not for the dark page around it. */
.form-status--err {
  background: #FDECEA;
  border: 1px solid #C4736A;
  border-left: 5px solid #A8362A;
  color: #8A2318;
  margin-top: 1rem;
  font-weight: 500;
}
.form-status--err a { color: #0A5C87; font-weight: 700; text-decoration: underline; }

/* Every link inside the white card, or it inherits the page's pale blue */
.form-card a { color: #08588A; text-decoration: underline; }
.form-card a:hover { color: #063E61; }

#quoteSubmit:disabled { opacity: .65; cursor: wait; transform: none; }

/* ---------- Footer ---------- */
.foot { background: var(--night); color: var(--dim); font-size: .95rem; border-top: 2px solid transparent; border-image: linear-gradient(90deg, var(--sky), var(--blade)) 1; }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 2.5rem; padding-block: clamp(3rem, 6vw, 4.5rem) 2.5rem; }
.foot h3 { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--blade); margin-bottom: 1rem; font-weight: 700; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: .55rem; }
.foot a { color: var(--dim); text-decoration: none; }
.foot a:hover { color: var(--sky-lt); }
.foot__logo img { height: 56px; width: auto; margin-bottom: 1rem; }
.foot__bottom { border-top: 1px solid var(--line-g); padding-block: 1.5rem; display: flex; flex-wrap: wrap; gap: .75rem 2rem; justify-content: space-between; font-size: .85rem; }

/* ---------- Sticky mobile call bar ---------- */
.callbar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; background: var(--blade); color: var(--night); font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; text-align: center; text-decoration: none; padding: .95rem 1rem; box-shadow: 0 -4px 24px rgba(0,0,0,.5); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1000px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .svc--flag { grid-column: span 2; }
  .gal-grid { grid-template-columns: repeat(2, 1fr); }
  .gal-grid--all { grid-template-columns: repeat(3, 1fr); }
  .gal-hint { display: none; }
  .rv-grid { grid-template-columns: 1fr; }
  .story__in, .areas__in, .quote__in { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .proof__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  body { font-size: 1rem; padding-bottom: 60px; }
  .hero { min-height: 78vh; }
  .hero__scrim { background: linear-gradient(to top, rgba(5,8,10,.96) 0%, rgba(5,8,10,.90) 30%, rgba(5,8,10,.55) 62%, rgba(5,8,10,.40) 100%); }
  .nav__links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--night); border-bottom: 1px solid var(--line); padding: .5rem 0; }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: .85rem var(--gutter); border-bottom: 0; }
  .nav__links .btn { margin: .5rem var(--gutter); }
  .nav__toggle { display: block; }

  .svc-grid { grid-template-columns: 1fr; gap: .85rem; }
  .svc--flag { grid-column: span 1; }
  .svc__media, .svc--flag .svc__media { aspect-ratio: 16 / 7; }
  .svc__body { padding: 1.1rem 1.15rem 1.25rem; }
  .svc__name, .svc--flag .svc__name { font-size: 1.2rem; }
  .svc__desc, .svc--flag .svc__desc { font-size: .93rem; }
  .svc__more { margin-top: .8rem; }
  .ba { grid-template-columns: 1fr; }
  .ba__fig { aspect-ratio: 3 / 2; }
  /* Phones get one swipeable rail rather than eight stacked tiles.
     Native scroll-snap — no timers, no hidden slides, keyboard and
     screen reader behave exactly like normal scrolling. */
  .gal-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 82%;
    gap: .7rem;
    overflow-x: auto;
    overflow-y: hidden;            /* otherwise overflow-y computes to auto and the rail scrolls vertically */
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scroll-padding-inline: var(--gutter);
    padding-inline: var(--gutter);
    margin-inline: calc(var(--gutter) * -1);
    padding-bottom: .4rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .gal-grid::-webkit-scrollbar { display: none; }
  .gal { aspect-ratio: 4 / 3; scroll-snap-align: center; }
  .gal:hover { transform: none; box-shadow: none; }

  /* Scroll-reveal animates on the Y axis. Inside a horizontal rail that reads as
     each tile jumping upward as you swipe it in, so it is switched off here.
     The stacked full gallery (.gal-grid--all) keeps it. */
  .gal-grid:not(.gal-grid--all) .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .gal__tag { font-size: .7rem; padding: .35rem .75rem; }

  .filters {
    flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
    padding-inline: var(--gutter); margin-inline: calc(var(--gutter) * -1);
    padding-bottom: .3rem;
  }
  .filters::-webkit-scrollbar { display: none; }
  .chip--filter { flex: 0 0 auto; }

  /* the full gallery keeps a normal stacked grid — the rail is the homepage teaser only */
  .gal-grid--all {
    grid-auto-flow: row; grid-auto-columns: auto;
    grid-template-columns: 1fr;
    overflow-x: visible; overflow-y: visible; scroll-snap-type: none;
    padding-inline: 0; margin-inline: 0; gap: .85rem;
  }
  .gal-grid--all .gal { scroll-snap-align: none; }

  .gal-hint {
    display: block; margin-top: .9rem;
    font-family: var(--font-display); font-size: .78rem; font-weight: 700;
    letter-spacing: .14em; text-transform: uppercase; color: var(--sky-lt);
  }
  .gal-cta { margin-top: 1.4rem; }
  .gal-cta .btn { width: 100%; }
  .field-row { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr; }
  .callbar { display: block; }
  .topbar__in { justify-content: center; }

  /* angles eat vertical space on narrow screens */
  .band--turf, .band--edge { clip-path: none; margin-block: 0; margin-top: 0; }
  .band--turf { padding-block: clamp(2rem, 4vw, 3.25rem); }
  .band--edge { padding-top: clamp(2.75rem, 6vw, 5rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .band--turf { animation: none; }
  .gal-grid { scroll-snap-type: none; }
}

@media print {
  .nav, .callbar, .topbar { display: none; }
  body { background: #fff; color: #000; }
}


/* ==========================================================================
   Service / interior pages
   ========================================================================== */
.phero { position: relative; overflow: hidden; background: var(--navy); }
.phero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(114deg, rgba(163,224,92,.05) 0 34px, transparent 34px 68px);
}
.phero__in {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.08fr .92fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}
.phero h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
.phero h1 .hl-g { color: var(--blade); }
.phero__lead { margin-top: 1.3rem; font-size: clamp(1.02rem, 1.8vw, 1.18rem); color: #C4D8E2; }
.phero__bridge {
  margin-top: 1.2rem; padding: .9rem 1.1rem;
  border-left: 3px solid var(--sky);
  background: rgba(41,180,238,.08);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: .98rem; color: var(--text);
}
.phero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.phero__shot { border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 26px 60px rgba(0,0,0,.5), 0 0 0 1px var(--line-2); }
.phero__shot img { width: 100%; height: auto; display: block; }

/* two-column problem / included */
.split2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); }
.tick { list-style: none; padding: 0; margin: 1.1rem 0 0; }
.tick li { position: relative; padding-left: 1.85rem; margin-bottom: .7rem; color: var(--dim); }
.tick li::before {
  content: ""; position: absolute; left: 0; top: .55rem;
  width: .8rem; height: .46rem;
  border-left: 3px solid var(--blade); border-bottom: 3px solid var(--blade);
  transform: rotate(-45deg);
}
.tick--warn li::before {
  border-color: #F0C14B;
  transform: none; border-left: 0; border-bottom: 0;
  width: .55rem; height: .55rem; border-radius: 50%;
  background: #F0C14B; top: .6rem;
}

/* numbered process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.4rem; position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  font-family: var(--font-display); font-weight: 800; font-size: .78rem;
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.9rem; height: 1.9rem; border-radius: 50%;
  background: var(--sky); color: var(--night); margin-bottom: .8rem;
}
.step h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.step p { font-size: .93rem; color: var(--dim); }

/* related links */
.related { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.3rem; }

@media (max-width: 1000px) {
  .phero__in { grid-template-columns: 1fr; }
  .phero__shot { order: -1; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .split2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: .8rem; }
  .step { padding: 1.1rem 1.2rem; }
}


/* ==========================================================================
   Nav dropdowns
   ========================================================================== */
.nav__drop { position: relative; }

.nav__dropbtn {
  display: inline-flex; align-items: center; gap: .35rem;
  background: none; border: 0; cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  color: var(--text); padding: .4rem 0;
  border-bottom: 2px solid transparent;
}
.nav__dropbtn:hover,
.nav__drop.is-open .nav__dropbtn { color: var(--sky-lt); border-bottom-color: var(--sky); }
.nav__caret { font-size: .7em; transition: transform .18s var(--ease); }
.nav__drop.is-open .nav__caret { transform: rotate(180deg); }

.nav__menu {
  display: none;
  position: absolute; top: calc(100% + .55rem); left: 50%; transform: translateX(-50%);
  min-width: 15rem; z-index: 70;
  background: var(--night);
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  box-shadow: 0 22px 50px rgba(0,0,0,.55);
  padding: .45rem;
}
.nav__drop.is-open .nav__menu { display: block; }

.nav__menu a {
  display: block; padding: .55rem .8rem;
  border-radius: var(--r-sm); border-bottom: 0;
  font-size: .92rem; white-space: nowrap;
}
.nav__menu a:hover { background: rgba(41,180,238,.14); color: var(--sky-lt); }
.nav__menu a[aria-current="page"] { color: var(--blade); }
.nav__menu .nav__menu-all {
  font-weight: 700; color: var(--sky-lt);
  border-bottom: 1px solid var(--line);
  border-radius: var(--r-sm) var(--r-sm) 0 0;
  margin-bottom: .3rem; padding-bottom: .65rem;
}

/* pointer devices get hover as well as click */
@media (hover: hover) and (min-width: 721px) {
  .nav__drop:hover .nav__menu { display: block; }
}

@media (max-width: 720px) {
  /* inside the stacked mobile menu the dropdown expands inline */
  .nav__drop { position: static; }
  .nav__dropbtn {
    width: 100%; justify-content: space-between;
    padding: .85rem var(--gutter);
    border-bottom: 0; font-size: 1rem;
  }
  .nav__menu {
    position: static; transform: none; min-width: 0;
    background: rgba(41,180,238,.06);
    border: 0; border-radius: 0; box-shadow: none;
    padding: .2rem 0 .5rem;
  }
  .nav__menu a { padding: .7rem var(--gutter) .7rem calc(var(--gutter) + 1rem); }
  .nav__menu .nav__menu-all { margin-bottom: 0; border-radius: 0; }
}
