/* Self-hosted fonts. External font CDNs are forbidden (spec §6, [blocking]). */
@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Barlow Condensed';
  src: url('/fonts/barlow-condensed-latin-700-normal.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Barlow Condensed';
  src: url('/fonts/barlow-condensed-latin-800-normal.woff2') format('woff2');
  font-weight: 800; font-style: normal; font-display: swap;
}

/* =========================================================================
   Free The Key — Mobile Unlock & Roadside Rescue
   Dark theme, red/white. Mobile-first. No framework.
   ========================================================================= */

:root {
  --red:      #E11B22;
  --red-hi:   #FF3742;
  --red-dim:  rgba(225, 27, 34, .14);
  --ink:      #0A0A0B;
  --ink-2:    #101014;
  --surface:  #131317;
  --surface-2:#1A1A1F;
  --line:     #27272E;
  --text:     #EFEFF2;
  --muted:    #9C9CA8;
  --white:    #FFFFFF;

  --wrap: 1180px;
  --pad: clamp(1rem, 4vw, 2rem);
  --r: 14px;
  --r-lg: 20px;

  --font-head: 'Barlow Condensed', 'Arial Narrow', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --shadow: 0 10px 40px rgba(0,0,0,.45);
  --shadow-red: 0 8px 28px rgba(225,27,34,.35);

  --ease: cubic-bezier(.22,.61,.36,1);
  /* Reserved space at the foot of the page for the fixed call bar. Must be >= the bar's
     rendered height or the bar clips the last line of the footer. Measured: 73px at
     390px wide, 76px at 360px, 91px at 320px where the bar label wraps to two lines. */
  --bar-h: 80px;
}
@media (max-width: 359px) { :root { --bar-h: 96px; } }

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  text-wrap: pretty;
  background: var(--ink);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 861px) { body { padding-bottom: 0; } }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--red); color: #fff; }

:focus-visible { outline: 3px solid var(--red-hi); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--red); color: #fff; padding: .8rem 1.2rem; font-weight: 700;
}
.skip:focus { left: 8px; top: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }

/* ---------------------------------------------------------------- type */

.h1, .h2, h1, h2, h3 { font-family: var(--font-head); font-weight: 800; line-height: 1.08; letter-spacing: -.005em; text-wrap: balance; }
.h1, h1 { font-size: clamp(2.1rem, 6.5vw, 3.6rem); }
.h2 { font-size: clamp(1.75rem, 4.6vw, 2.7rem); }
h3 { font-size: clamp(1.15rem, 2.4vw, 1.4rem); }

.sect { padding-block: clamp(3rem, 8vw, 5.5rem); }
.sect-head { max-width: 62ch; margin-bottom: clamp(1.6rem, 4vw, 2.6rem); }
.sect-sub { color: var(--muted); font-size: 1.02rem; margin-top: .6rem; }
.sect-sub a { color: var(--red-hi); text-decoration: underline; text-underline-offset: 3px; }
.mt { margin-top: clamp(2.4rem, 5vw, 3.4rem); }
.muted { color: var(--muted); }
.sm { font-size: .9rem; }

.icn { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }
.stars { color: #FFC531; letter-spacing: .08em; font-size: .95rem; }

/* --------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-body); font-weight: 700;
  letter-spacing: .01em; font-size: .96rem;
  min-height: 48px; padding: .7rem 1.25rem; border-radius: 8px; border: 2px solid transparent;
  cursor: pointer; transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
  text-align: center; white-space: nowrap;
}
.btn-call { background: transparent; color: #fff; border-color: var(--red); }
.btn-call:hover, .btn-call:focus-visible { background: transparent; color: var(--red); border-color: var(--red); }
.btn-call .icn { color: inherit; }
/* secondary outline button, same shape, neutral border */
.btn-outline { background: transparent; color: var(--text); border-color: var(--line); }
.btn-outline:hover, .btn-outline:focus-visible { color: var(--red); border-color: var(--red); }

.btn-call:active { transform: translateY(0); }
.btn-ghost { border-color: var(--line); color: var(--text); background: rgba(255,255,255,.03); }
.btn-ghost:hover { border-color: var(--red); color: #fff; background: var(--red-dim); }
.btn-lg { font-size: 1.02rem; padding: .8rem 1.4rem; }
.btn-xl { font-size: clamp(1rem, 2.2vw, 1.1rem); padding: .85rem 1.6rem; }
.btn-block { display: flex; width: 100%; }

/* ---------------------------------------------------------------- header */

.hdr {
  position: sticky; top: 0; z-index: 200;
  background: rgba(10,10,11,.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s;
}
.hdr.scrolled { border-bottom-color: var(--line); background: rgba(10,10,11,.95); }
.hdr-in { display: flex; align-items: center; gap: 2rem; min-height: 64px; }

.brand { display: flex; align-items: center; gap: .6rem; margin-right: auto; flex: none; }
.brand-mark { width: 42px; height: 42px; border-radius: 50%; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.05; }
.brand-txt b { font-family: var(--font-head); font-size: 1.3rem; letter-spacing: .01em; text-transform: uppercase; }
.brand-txt i { font-style: normal; font-size: .64rem; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }

.nav { display: none; }
.nav ul { display: flex; gap: 2.1rem; list-style: none; padding: 0; }
.nav a { font-weight: 600; font-size: .93rem; color: var(--muted); position: relative; padding-block: .3rem; transition: color .2s; }
.nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--red); transition: right .25s var(--ease); }
.nav a:hover { color: #fff; }
.nav a:hover::after { right: 0; }

.hdr-call { display: none; font-size: .86rem; padding: .5rem 1rem; min-height: 40px; border-width: 1.5px; }

.burger { width: 44px; height: 44px; background: none; border: 1px solid var(--line); border-radius: 10px; display: grid; place-content: center; gap: 5px; cursor: pointer; }
.burger span { display: block; width: 20px; height: 2px; background: var(--text); transition: transform .25s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Full-screen mobile menu. The header sits above it so the burger stays a
   working close button, and the panel fills everything below. */
.mnav {
  position: fixed; inset: 0; z-index: 190;
  background: var(--ink);
  padding-top: 64px;                       /* clear the fixed header row */
  display: flex; flex-direction: column;
  overscroll-behavior: contain;
}
.mnav[hidden] { display: none; }
.mnav.open { animation: mnavIn .22s var(--ease); }
@keyframes mnavIn { from { opacity: 0; } to { opacity: 1; } }

.mnav-inner {
  flex: 1; display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(1rem, 5vw, 2rem) var(--pad) calc(1.5rem + env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
}
.mnav-links { list-style: none; padding: 0; margin: 0; }
.mnav-links li { border-bottom: 1px solid var(--line); }
.mnav-links a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.15rem 0;
  font-family: var(--font-head); font-size: clamp(1.6rem, 7vw, 2.1rem);
  font-weight: 800; letter-spacing: -.01em; color: var(--text);
  transition: color .18s var(--ease), padding-left .18s var(--ease);
}
.mnav-links a::after { content: '\2192'; color: var(--red); opacity: 0; transform: translateX(-6px); transition: opacity .18s, transform .18s; }
.mnav-links a:hover, .mnav-links a:focus-visible { color: var(--red); padding-left: .4rem; }
.mnav-links a:hover::after, .mnav-links a:focus-visible::after { opacity: 1; transform: none; }

/* links stagger in behind the fade */
.mnav.open .mnav-links li { animation: mnavItem .3s var(--ease) both; animation-delay: calc(var(--i, 0) * 40ms + 60ms); }
@keyframes mnavItem { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.mnav-foot { padding-top: 1.5rem; }
.mnav-note { text-align: center; color: var(--muted); font-size: .88rem; margin-top: .7rem; }

@media (prefers-reduced-motion: reduce) {
  .mnav.open { animation: none; }
  .mnav.open .mnav-links li { animation: none; }
  .mnav-links a { transition: none; }
}

/* stop the page scrolling behind the open menu */
html.menu-open, body.menu-open { overflow: hidden; }

@media (min-width: 861px) {
  .nav { display: block; }
  .hdr-call { display: inline-flex; }
  .burger, .mnav { display: none; }
}

/* ------------------------------------------------------------------ hero */

.hero {
  position: relative; overflow: hidden; min-height: 62vh;
  display: flex; align-items: flex-end;
  padding-block: clamp(4rem, 14vw, 8rem) clamp(2.5rem, 7vw, 4rem);
  /* Photo + scrim in one background stack. Layers composite in a single paint,
     which avoids the stacking issues an absolutely-positioned <img> ran into. */
  background-image:
    linear-gradient(90deg, rgba(10,10,11,.9) 0%, rgba(10,10,11,.62) 46%, rgba(10,10,11,.12) 100%),
    linear-gradient(180deg, rgba(10,10,11,.18) 0%, rgba(10,10,11,0) 38%, rgba(10,10,11,.6) 100%),
    url('/images/hero-home.webp');
  background-size: cover, cover, cover;
  background-position: center, center, 50% 50%;
  background-repeat: no-repeat;
  background-color: var(--ink);
}
@media (max-width: 860px) {
  .hero {
    background-image:
      linear-gradient(180deg, rgba(10,10,11,.45) 0%, rgba(10,10,11,.4) 38%, rgba(10,10,11,.85) 100%),
      url('/images/hero-home-800.webp');
    background-size: cover, cover;
    background-position: center, 50% 45%;
  }
}
.hero-in { position: relative; z-index: 2; }

.hero-h1 { display: flex; flex-direction: column; }
.hero-h1 .l1 { font-family: var(--font-head); font-size: clamp(2.6rem, 10vw, 5rem); font-weight: 800; line-height: .95; }
.hero-h1 .l2 {
  font-family: var(--font-head); font-size: clamp(2.6rem, 10vw, 5rem); font-weight: 800;
  line-height: .95; color: #fff;
}
.hero-sub { max-width: 54ch; margin: 1.3rem 0 0; color: #C9C9D2; font-size: clamp(1rem, 2.1vw, 1.14rem); }
.hero-sub b { color: #fff; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.8rem; }
.hero-badges { list-style: none; padding: 0; margin: 1.8rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; color: var(--muted); font-size: .92rem; }
.hero-badges li { display: inline-flex; align-items: center; gap: .45rem; }
.hero-badges .icn { color: var(--red); }

/* --------------------------------------------------------- page sub-hero */

.phero { position: relative; padding-block: clamp(2.2rem, 7vw, 4rem) clamp(1.5rem, 4vw, 2.5rem); background: var(--ink-2); border-bottom: 1px solid var(--line); }
.phero-photo {
  background-image:
    linear-gradient(90deg, rgba(10,10,11,.95) 0%, rgba(10,10,11,.8) 50%, rgba(10,10,11,.42) 100%),
    linear-gradient(180deg, rgba(10,10,11,.4) 0%, rgba(10,10,11,.2) 40%, rgba(10,10,11,.9) 100%),
    var(--phero-img);
  background-size: cover, cover, cover;
  background-position: center, center, center 45%;
  background-repeat: no-repeat;
  padding-block: clamp(3rem, 9vw, 5.5rem) clamp(2rem, 5vw, 3rem);
}
@media (max-width: 860px) {
  .phero-photo { background-image:
    linear-gradient(90deg, rgba(10,10,11,.92) 0%, rgba(10,10,11,.82) 55%, rgba(10,10,11,.6) 100%),
    linear-gradient(180deg, rgba(10,10,11,.45) 0%, rgba(10,10,11,.25) 40%, rgba(10,10,11,.9) 100%),
    var(--phero-img-sm, var(--phero-img)); }
}
.phero .h1 { margin-top: .6rem; }
.phero-sub { max-width: 68ch; color: #C4C4CE; margin-top: 1rem; font-size: 1.05rem; }
.phero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem; margin-top: 1.6rem; }
.phero-note { display: inline-flex; align-items: center; gap: .4rem; color: var(--muted); font-size: .9rem; }
.phero-note .icn { color: var(--red); }
.nf { text-align: center; padding-block: clamp(4rem, 14vw, 8rem); }
.nf .phero-cta { justify-content: center; }

.crumbs { font-size: .84rem; color: var(--muted); display: flex; gap: .45rem; flex-wrap: wrap; }
.crumbs a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.crumbs a:hover { color: var(--red-hi); }
.crumbs i { font-style: normal; opacity: .4; }

/* ----------------------------------------------------------------- trust */

.trust-sect { padding-top: clamp(2rem, 5vw, 3rem); }
.trust-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 620px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
/* auto-fit rather than a fixed count so adding or removing a trust point does not
   leave an orphan on the last row. Currently five. */
@media (min-width: 980px) { .trust-grid { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); } }
.trust { border-top: 1px solid var(--line); padding: 1.4rem 0 0; }
.trust-icn { display: block; width: 30px; height: 3px; background: var(--red); margin-bottom: 1rem; }
.trust-icn .icn { display: none; }
.trust h3 { margin-bottom: .4rem; }
.trust p { color: var(--muted); font-size: .95rem; }

/* -------------------------------------------------------------- services */

.svc-grid { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .svc-grid { grid-template-columns: repeat(4, 1fr); } }

.svc {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: transform .28s var(--ease), border-color .28s, box-shadow .28s;
}
.svc:hover { transform: translateY(-6px); border-color: rgba(225,27,34,.5); box-shadow: var(--shadow); }
.svc-img { aspect-ratio: 4/3; overflow: hidden; background: var(--surface-2); }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.svc:hover .svc-img img { transform: scale(1.06); }
.svc-body { padding: 1.2rem 1.2rem 1.4rem; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.svc-icn { display: none; }
.svc-body h3 { margin-top: 0; }
.svc-body p { color: var(--muted); font-size: .95rem; flex: 1; }
.svc-more { color: var(--red-hi); font-weight: 600; font-size: .9rem; display: inline-flex; gap: .35rem; }
.svc-more i { transition: transform .25s var(--ease); font-style: normal; }
.svc:hover .svc-more i, .city-card:hover .svc-more i { transform: translateX(5px); }

.mini-grid { display: grid; gap: .9rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .mini-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .mini-grid { grid-template-columns: repeat(4, 1fr); } }
.mini { display: flex; flex-direction: column; gap: .35rem; padding: 1.1rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); transition: border-color .25s, transform .25s var(--ease); }
.mini:hover { border-color: rgba(225,27,34,.5); transform: translateY(-3px); }
.mini .icn { width: 24px; height: 24px; color: var(--red); }
.mini b { font-family: var(--font-head); font-size: 1.2rem; }
.mini span { color: var(--muted); font-size: .9rem; }

/* ---------------------------------------------------------------- prose */

.prose-wrap { display: grid; gap: 2.2rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 940px) { .prose-wrap { grid-template-columns: minmax(0,1fr) 340px; gap: 3rem; } }
.prose { max-width: 68ch; }
.prose h2 { margin-top: 2.2rem; margin-bottom: .7rem; font-size: clamp(1.35rem, 3vw, 1.85rem); }
.prose p { margin-bottom: 1rem; color: #C9C9D2; }
.prose .lede { font-size: 1.14rem; color: #E4E4EA; }
.tick-list { list-style: none; padding: 0; display: grid; gap: .55rem; margin-bottom: 1rem; }
.tick-list li { display: flex; align-items: flex-start; gap: .6rem; color: #C9C9D2; }
.tick-list .icn { color: var(--red); margin-top: .28em; }

.aside { position: sticky; top: 90px; }
.aside-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.aside-card > img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.aside-body { padding: 1.3rem; }
.aside-body h3 { margin-bottom: .5rem; }
.aside-body > p { color: var(--muted); font-size: .95rem; margin-bottom: 1rem; }
.aside-list { list-style: none; padding: 0; margin-top: 1rem; display: grid; gap: .5rem; }
.aside-list li { display: flex; align-items: center; gap: .55rem; color: var(--muted); font-size: .92rem; }
.aside-list .icn { color: var(--red); }
.aside-list a { text-decoration: underline; text-underline-offset: 3px; }
/* Same 44px tap-target rule for the phone link in the contact page's details list. */
.aside-list a[href^="tel:"] { display: inline-flex; align-items: center; min-height: 44px; }
.aside-list a:hover { color: var(--red-hi); }

/* Published price on a service page's card. */
.aside-price {
  display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap;
  margin-bottom: .8rem; padding-bottom: .8rem; border-bottom: 1px solid var(--line);
}
.aside-price b { font-family: var(--font-head); font-size: 2rem; line-height: 1; color: var(--white); }
.aside-price span { color: var(--muted); font-size: .88rem; }

/* --------------------------------------------------------------- pricing */

.price-sect { background: var(--ink-2); border-block: 1px solid var(--line); }
.price-list { list-style: none; padding: 0; margin: 0; max-width: 900px; display: grid; gap: .5rem; }
.price-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: .95rem 1.15rem;
}
.price-name { display: flex; flex-direction: column; gap: .15rem; font-weight: 600; }
.price-name small { color: var(--muted); font-size: .84rem; font-weight: 400; }
.price-name a { text-decoration: underline; text-underline-offset: 3px; }
.price-name a:hover { color: var(--red-hi); }
.price-amt {
  font-family: var(--font-head); font-size: 1.5rem; line-height: 1; color: var(--white);
  white-space: nowrap; display: flex; flex-direction: column; gap: .2rem; align-items: flex-end;
}
.price-amt small { font-family: var(--font-body); font-size: .78rem; color: var(--muted); }

.price-notice {
  max-width: 900px; margin-top: 1.4rem; padding: 1.15rem 1.25rem;
  background: var(--red-dim); border: 1px solid rgba(225, 27, 34, .32); border-radius: var(--r);
}
.price-notice h3 { display: flex; align-items: center; gap: .55rem; font-size: 1.02rem; margin-bottom: .5rem; }
.price-notice .icn { color: var(--red-hi); flex: none; }
.price-notice p { color: #C9C9D2; font-size: .95rem; }

.price-note { margin-top: 1.2rem; }
.price-more { color: var(--red-hi); font-weight: 600; display: inline-flex; gap: .4rem; align-items: center; }
.price-more i { font-style: normal; transition: transform .25s var(--ease); }
.price-more:hover i { transform: translateX(5px); }

@media (max-width: 480px) {
  .price-row { flex-direction: column; align-items: flex-start; gap: .35rem; }
  .price-amt { align-items: flex-start; }
}

/* ---------------------------------------------------------------- areas */

.area-grid { display: grid; gap: .7rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .area-grid { grid-template-columns: repeat(4, 1fr); } }
.area { display: flex; align-items: center; gap: .5rem; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-weight: 600; font-size: .95rem; transition: border-color .2s, background .2s; }
.area:hover { border-color: var(--red); background: var(--red-dim); }
.area .icn { color: var(--red); }
.area-more { margin-top: 1.4rem; color: var(--muted); }
.area-more a { color: var(--red-hi); font-weight: 600; }

.city-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 620px) { .city-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .city-grid { grid-template-columns: repeat(4, 1fr); } }
.city-card { display: flex; flex-direction: column; gap: .3rem; padding: 1.3rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); transition: transform .25s var(--ease), border-color .25s; }
.city-card:hover { transform: translateY(-4px); border-color: rgba(225,27,34,.5); }
.city-icn { display: none; }
.city-card b { font-family: var(--font-head); font-size: 1.4rem; }
.city-cty { color: var(--muted); font-size: .85rem; margin-bottom: .6rem; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { padding: .45rem .9rem; border: 1px solid var(--line); border-radius: 999px; font-size: .88rem; color: var(--muted); background: var(--surface); }

/* --------------------------------------------------------------- reviews */

.reviews-sect { overflow: hidden; }
.rail { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 1rem; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail-track { display: flex; gap: 1rem; padding-inline: var(--pad); }
.rail-track::after { content: ''; flex: 0 0 1px; }
.rev {
  flex: 0 0 min(85vw, 360px); scroll-snap-align: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.4rem; display: flex; flex-direction: column; gap: .8rem;
}
.rev blockquote { color: #D2D2DA; font-size: .98rem; }
.rev figcaption { display: flex; flex-direction: column; margin-top: auto; padding-top: .6rem; border-top: 1px solid var(--line); }
.rev figcaption b { font-weight: 700; }
.rev figcaption span { color: var(--muted); font-size: .84rem; }
.rail-foot { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1rem; }

.rev-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .rev-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .rev-grid { grid-template-columns: repeat(3, 1fr); } }
.rev-static { flex: initial; }

/* ------------------------------------------------------------------- faq */

.faq-sect { background: var(--ink-2); border-block: 1px solid var(--line); }
.faqs { display: grid; gap: .7rem; max-width: 900px; }
.faq { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.2rem; cursor: pointer; font-family: var(--font-body); font-weight: 600; font-size: 1.02rem; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { width: 14px; height: 14px; flex: none; position: relative; }
.faq summary i::before, .faq summary i::after { content: ''; position: absolute; background: var(--red); border-radius: 2px; transition: transform .25s var(--ease); }
.faq summary i::before { inset: 6px 0; height: 2px; }
.faq summary i::after { inset: 0 6px; width: 2px; }
.faq[open] summary i::after { transform: scaleY(0); }
.faq[open] summary { color: #fff; }
.faq-a { padding: 0 1.2rem 1.2rem; color: var(--muted); }

/* -------------------------------------------------------------- cta band */

.cta-band { position: relative; overflow: hidden; border-block: 1px solid var(--line);
  background-image: linear-gradient(rgba(10,10,11,.72), rgba(10,10,11,.72)), url('/images/band-night-road.webp');
  background-size: cover, cover; background-position: center, center; background-repeat: no-repeat;
  background-color: var(--ink-2); }
@media (max-width: 860px) {
  .cta-band { background-image: linear-gradient(rgba(10,10,11,.74), rgba(10,10,11,.74)), url('/images/band-night-road-800.webp'); }
}
.band-img { display: none; }

.cta-in { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 1.4rem; align-items: flex-start; }
@media (min-width: 860px) { .cta-in { flex-direction: row; align-items: center; justify-content: space-between; } }
.cta-in p { color: #CFCFD8; margin-top: .5rem; max-width: 46ch; }
.cta-actions { display: flex; flex-direction: column; gap: .6rem; align-items: flex-start; }
.cta-note { display: inline-flex; align-items: center; gap: .4rem; color: var(--muted); font-size: .86rem; }
.cta-note .icn { color: var(--red-hi); }

/* --------------------------------------------------------------- contact */

.contact-wrap { display: grid; gap: 2rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 940px) { .contact-wrap { grid-template-columns: 380px minmax(0,1fr); gap: 2.6rem; } }
.urgent { background: var(--surface); border: 1px solid rgba(225,27,34,.4); border-radius: var(--r-lg); padding: 1.5rem; }
.urgent h2 { margin: 0 0 .7rem; font-size: clamp(1.5rem, 4vw, 2rem); }
.urgent p { color: #CFCFD8; font-size: .95rem; margin-bottom: 1.1rem; }
.urgent b { color: #fff; }
.contact-meta { margin-top: 1.6rem; padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.contact-meta h3 { margin-bottom: .8rem; }
.contact-meta .muted { margin-top: 1rem; font-size: .88rem; }

.contact-form-wrap h2 { margin-bottom: .5rem; }
.form-warn { display: flex; gap: .7rem; align-items: flex-start; margin: 1.2rem 0 1.6rem; padding: .95rem 1.1rem; border-radius: var(--r); background: var(--red-dim); border: 1px solid rgba(225,27,34,.35); font-size: .93rem; color: #E8D6D8; }
.form-warn .icn { color: var(--red-hi); margin-top: .2em; }
.form-warn b { color: #fff; }
.form-warn a { color: var(--red-hi); font-weight: 700; text-decoration: underline; }

.form { display: grid; gap: 1rem; }
.row { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 600px) { .row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .4rem; }
.field > span { font-size: .88rem; font-weight: 600; color: var(--muted); }
.field i { color: var(--red); font-style: normal; }
.field input, .field select, .field textarea {
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  padding: .8rem .9rem; width: 100%; transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--red); outline: none; }
.field textarea { resize: vertical; min-height: 120px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: .95rem; min-height: 1.2em; }
.form-status.ok { color: #4ADE80; }
.form-status.err { color: var(--red-hi); }

/* ---------------------------------------------------------------- footer */

.ftr { background: var(--ink-2); border-top: 1px solid var(--line); padding-top: clamp(2.5rem, 6vw, 4rem); }
.ftr-in { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .ftr-in { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .ftr-in { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.ftr-brand img { border-radius: 50%; margin-bottom: .8rem; }
.ftr-name { font-family: var(--font-head); font-size: 1.25rem; text-transform: uppercase; line-height: 1.1; }
.ftr-tag { color: var(--red-hi); font-family: var(--font-head); font-size: 1.15rem; margin-top: .3rem; }
.ftr-note { color: var(--muted); font-size: .9rem; margin-top: .5rem; }
.ftr-lic { display: inline-flex; align-items: center; gap: .45rem; margin-top: .8rem;
  color: var(--text); font-size: .85rem; font-weight: 600; letter-spacing: .01em; }
.ftr-lic .icn { width: 16px; height: 16px; flex: none; fill: var(--red-hi); }
.ftr-col h3 { font-size: 1rem; letter-spacing: .08em; margin-bottom: .9rem; color: #fff; }
.ftr-col ul { list-style: none; padding: 0; display: grid; gap: .5rem; }
.ftr-col a { color: var(--muted); font-size: .93rem; transition: color .2s; }
.ftr-col a:hover { color: var(--red-hi); }
.ftr-contact li { color: var(--muted); font-size: .93rem; }
.ftr-hours { color: var(--muted); white-space: nowrap; }
.ftr-contact .icn { color: var(--red); }
/* min-height keeps the footer number a 44px tap target on a phone, per the WCAG 2.5.5
   target size guidance. It is the one call link that is body text rather than a button. */
.ftr-phone { display: inline-flex; align-items: center; min-height: 44px; gap: .45rem; font-weight: 700; color: #fff !important; font-size: 1.02rem !important; }
.ftr-phone .icn { width: 1em; height: 1em; }
.ftr-legal { border-top: 1px solid var(--line); margin-top: 2.5rem; padding-block: 1.4rem; display: grid; gap: .6rem; }
.ftr-legal p { color: #6E6E7A; font-size: .82rem; }
.ftr-disc { max-width: 90ch; }

/* ------------------------------------------------------------- call bar */

.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .7rem var(--pad) calc(.7rem + env(safe-area-inset-bottom, 0px));
  background: rgba(14,14,17,.96);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(225,27,34,.35);
  transform: translateY(0); transition: transform .3s var(--ease);
}
.callbar-txt { display: flex; flex-direction: column; line-height: 1.2; }
.callbar-txt b { font-weight: 700; font-size: .98rem; }
.callbar-txt span { color: var(--muted); font-size: .78rem; }
.callbar-actions { display: flex; gap: .5rem; align-items: center; flex: none; }
.callbar .btn { padding: .65rem 1.05rem; font-size: .95rem; }
.callbar .btn-sms { padding: .7rem .9rem; font-size: .92rem; }
@media (max-width: 359px) { .callbar .btn-sms span { display: none; } }
@media (min-width: 861px) { .callbar { display: none; } }

/* Turnstile. The widget renders in a fixed-size iframe we do not control, so this only
   handles spacing and keeps it from overflowing a narrow phone. */
.turnstile-wrap { margin-block: .2rem 1rem; min-height: 65px; }
.turnstile-wrap iframe { max-width: 100%; }

/* --------------------------------------------------------- reveal anim */
/* House pattern, matching Ferguson's/Ridgestone: directional variants plus a
   --i stagger index. 600ms, well under the 800ms the spec allows. Never on
   above-the-fold content ([blocking]). */
[data-reveal] { opacity: 0; transition: opacity .6s var(--ease), transform .6s var(--ease); }
[data-reveal]        { transition-delay: calc(var(--i, 0) * 80ms); }
[data-reveal="up"]   { transform: translateY(28px); }
[data-reveal="down"] { transform: translateY(-20px); }
[data-reveal="left"] { transform: translateX(-32px); }
[data-reveal="right"]{ transform: translateX(32px); }
[data-reveal="scale"]{ transform: scale(.94); }
[data-reveal="pop"]  { transform: scale(.88); transition-timing-function: cubic-bezier(.34,1.56,.64,1); }
[data-reveal="fade"] { transform: none; }
[data-reveal="flip"] { transform-origin: bottom; transform: rotateX(8deg) translateY(16px); }
[data-reveal].revealed { opacity: 1; transform: none; }

/* Without JS everything must still be visible. */
html:not(.js) [data-reveal] { opacity: 1; transform: none; }

/* Counters and the sticky bar get subtler treatment. */
.rail { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .svc:hover, .mini:hover, .city-card:hover, .btn-call:hover { transform: none; }
  .svc-img img { transition: none; }
  .rail { scroll-behavior: auto; }
}

/* ------------------------------------------------- services page blocks */

.svc-rows { display: grid; gap: clamp(2rem, 5vw, 3.5rem); }
.svc-row { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 880px) {
  .svc-row { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .svc-row-alt .svc-row-img { order: 2; }
}
.svc-row-img { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); }
.svc-row-img img { width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .6s var(--ease); }
.svc-row:hover .svc-row-img img { transform: scale(1.03); }
.svc-row-icn { display: inline-grid; place-content: center; width: 34px; height: 34px; color: var(--red); }
.svc-row-icn .icn { width: 28px; height: 28px; }
.svc-row-body h3 { font-size: clamp(1.6rem, 3.6vw, 2.2rem); margin: .3rem 0 .6rem; }
.svc-row-lede { color: #D2D2DA; font-size: 1.06rem; margin-bottom: 1rem; }
.svc-row-body .tick-list { margin-bottom: 1.3rem; }
.svc-row-body .tick-list li { font-size: .95rem; }
.svc-row-cta { display: flex; flex-wrap: wrap; gap: .6rem; }
.svc-row-cta .btn { font-size: .95rem; }
.svc-row-cta i { font-style: normal; }

.steps-sect { background: var(--ink-2); border-block: 1px solid var(--line); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(5, 1fr); } }
.step { display: flex; gap: .9rem; padding: 1.4rem; background: var(--surface); }
@media (min-width: 1000px) { .step { flex-direction: column; gap: .7rem; } }
.step-n { flex: none; display: grid; place-content: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--red); color: #fff; font-family: var(--font-head); font-size: 1.15rem; font-weight: 800; }
.step h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.step p { color: var(--muted); font-size: .92rem; }

.not-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .not-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .not-grid { grid-template-columns: repeat(3, 1fr); } }
.not-card { padding: 1.3rem; border: 1px solid var(--line); border-left: 3px solid #3A3A44; border-radius: var(--r); background: var(--surface); }
.not-card h3 { font-size: 1.1rem; margin-bottom: .4rem; color: #C9C9D2; }
.not-card p { color: var(--muted); font-size: .93rem; }

/* photo sub-hero text needs a little more room to breathe */
.phero-photo .h1 { text-shadow: 0 2px 24px rgba(0,0,0,.5); }
.phero-photo .phero-sub { color: #DADAE2; }
.ftr-credits { color: #5C5C68; font-size: .76rem; }
.ftr-credits a { color: #6E6E7A; text-decoration: underline; text-underline-offset: 2px; }
.ftr-credits a:hover { color: var(--muted); }
.mt-sm { margin-top: .6rem; }

