/* =========================================================================
   A&S Digital Wireless — Design System
   Brooklyn cell phone store · Mobile-first · Conversion-focused
   ========================================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --black:        #000000;
  --charcoal:     #070904;
  --charcoal-2:   #11140c;
  --charcoal-3:   #1a1d12;
  --neon:         #8CBE27;
  --lime:         #B6D94E;
  --white:        #FBFBFB;
  --grey-soft:    #EFEFE8;
  --grey-mid:     #C7C8BE;
  --grey-text:    #6b6e60;

  /* Semantic */
  --bg:           var(--white);
  --bg-dark:      var(--charcoal);
  --bg-soft:      var(--grey-soft);
  --ink:          var(--charcoal);
  --ink-mute:     #4a4d40;
  --ink-invert:   var(--white);
  --accent:       var(--neon);
  --accent-hi:    var(--lime);
  --line:         rgba(7,9,4,0.10);
  --line-dark:    rgba(255,255,255,0.10);

  /* Typography */
  --font-head: 'Poppins', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', 'Manrope', system-ui, -apple-system, sans-serif;

  /* Scale */
  --step--1: clamp(0.83rem, 0.78rem + 0.2vw, 0.92rem);
  --step-0:  clamp(0.95rem, 0.9rem + 0.25vw, 1.05rem);
  --step-1:  clamp(1.1rem, 1.02rem + 0.4vw, 1.25rem);
  --step-2:  clamp(1.32rem, 1.18rem + 0.7vw, 1.55rem);
  --step-3:  clamp(1.6rem, 1.35rem + 1.2vw, 2rem);
  --step-4:  clamp(2rem, 1.6rem + 2vw, 2.8rem);
  --step-5:  clamp(2.5rem, 1.9rem + 3vw, 3.8rem);
  --step-6:  clamp(3rem, 2.2rem + 4vw, 4.8rem);

  /* Spacing */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;

  /* Radius */
  --r-1: 8px;
  --r-2: 14px;
  --r-3: 20px;
  --r-4: 28px;
  --r-pill: 999px;

  /* Shadow */
  --shadow-1: 0 2px 6px rgba(0,0,0,0.06);
  --shadow-2: 0 10px 30px rgba(0,0,0,0.10);
  --shadow-3: 0 20px 60px rgba(0,0,0,0.18);
  --glow:     0 0 0 4px rgba(140,190,39,0.25), 0 8px 24px rgba(140,190,39,0.25);

  /* Layout */
  --container: 1200px;
  --header-h:  64px;
  --sticky-h:  68px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;          /* kill any accidental horizontal scroll */
}
body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  width: 100%;
  max-width: 100vw;             /* viewport-bounded so no overflow */
  overflow-x: hidden;
  /* Make room for floating sticky mobile bar */
  padding-bottom: calc(var(--sticky-h) + 24px + env(safe-area-inset-bottom, 0px));
}
/* Universal media guard — nothing escapes its container */
img, svg, video, iframe, embed, object {
  display: block;
  max-width: 100%;
  height: auto;
}
/* Tables stay scrollable inside their container instead of pushing the page wide */
table { max-width: 100%; }
/* Long words/URLs don't blow out narrow columns */
p, li, h1, h2, h3, h4, h5, h6, a, dd, dt, label, span, td, th {
  overflow-wrap: anywhere;
  word-break: normal;
}
/* Pre/code blocks scroll instead of overflowing */
pre, code { max-width: 100%; overflow-x: auto; }

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; max-width: 100%; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
}
h1 {
  font-size: var(--step-6);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
}
h2 {
  font-size: var(--step-5);
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.05;
}
h3 {
  font-size: var(--step-3);
  font-weight: 600;
  letter-spacing: -0.02em;
}
h4 {
  font-size: var(--step-2);
  font-weight: 600;
  letter-spacing: -0.015em;
}
p  { font-size: var(--step-0); }

::selection { background: var(--neon); color: var(--charcoal); }

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

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--s-5);
}
@media (min-width: 768px) {
  .container { padding-inline: var(--s-6); }
}

.section {
  padding-block: var(--s-8);
}
@media (min-width: 768px) {
  .section { padding-block: var(--s-9); }
}
.section--dark   { background: var(--bg-dark); color: var(--ink-invert); }
.section--soft   { background: var(--bg-soft); }
.section--black  { background: var(--black); color: var(--ink-invert); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--font-head);
  font-size: var(--step--1);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--neon);
  padding: 6px 12px;
  border: 1px solid rgba(140,190,39,0.35);
  border-radius: var(--r-pill);
  background: rgba(140,190,39,0.06);
}
.section--dark .eyebrow,
.section--black .eyebrow { background: rgba(140,190,39,0.08); }

.section-head {
  max-width: 740px;
  margin-bottom: var(--s-7);
}
.section-head h2 { margin-top: var(--s-4); }
.section-head p {
  margin-top: var(--s-4);
  font-size: var(--step-1);
  color: var(--ink-mute);
}
.section--dark .section-head p,
.section--black .section-head p { color: var(--grey-mid); }

/* ---------- Buttons (Apple Liquid-Glass style) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: 13px 22px;
  min-height: 46px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: var(--step-0);
  letter-spacing: -0.005em;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  position: relative;
  isolation: isolate;
  cursor: pointer;
  white-space: nowrap;
  text-align: center;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  transition:
    transform .35s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow .35s cubic-bezier(0.4, 0, 0.2, 1),
    background-color .25s ease,
    border-color .25s ease,
    color .25s ease;
}
/* Soft top highlight — the signature glass shimmer */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg,
    rgba(255,255,255,0.22) 0%,
    rgba(255,255,255,0.06) 40%,
    rgba(255,255,255,0) 60%);
  pointer-events: none;
  z-index: -1;
}
.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: scale(0.97); transition-duration: .08s; }

/* Primary — neon liquid glass */
.btn--primary {
  background: linear-gradient(180deg, #97cb2d 0%, #8CBE27 55%, #7caf1f 100%);
  color: var(--charcoal);
  border-color: rgba(255,255,255,0.28);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.45),
    inset 0 -1px 0 rgba(0,0,0,0.08),
    0 1px 2px rgba(0,0,0,0.08),
    0 10px 28px rgba(140,190,39,0.28);
}
.btn--primary:hover {
  background: linear-gradient(180deg, #B6D94E 0%, #9fcc35 55%, #8CBE27 100%);
  border-color: rgba(255,255,255,0.45);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.55),
    inset 0 -1px 0 rgba(0,0,0,0.08),
    0 1px 2px rgba(0,0,0,0.08),
    0 14px 36px rgba(182,217,78,0.38);
}

/* Ghost — translucent on dark backgrounds */
.btn--ghost {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border-color: rgba(255,255,255,0.16);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.14),
    0 1px 2px rgba(0,0,0,0.20),
    0 8px 24px rgba(0,0,0,0.15);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(140,190,39,0.50);
  color: var(--white);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.20),
    0 1px 2px rgba(0,0,0,0.20),
    0 12px 32px rgba(140,190,39,0.20);
}

/* Dark — frosted dark glass for light sections */
.btn--dark {
  background: rgba(7,9,4,0.88);
  color: var(--white);
  border-color: rgba(255,255,255,0.10);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.10),
    0 1px 2px rgba(0,0,0,0.12),
    0 10px 28px rgba(0,0,0,0.18);
}
.btn--dark:hover {
  background: rgba(0,0,0,0.96);
  border-color: rgba(255,255,255,0.18);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.16),
    0 14px 36px rgba(0,0,0,0.28);
}

/* Light — frosted white glass for dark backgrounds (alt) */
.btn--light {
  background: rgba(251,251,251,0.92);
  color: var(--charcoal);
  border-color: rgba(0,0,0,0.06);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.9),
    0 1px 2px rgba(0,0,0,0.08),
    0 10px 28px rgba(0,0,0,0.15);
}
.btn--light:hover {
  background: rgba(255,255,255,1);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,1),
    0 14px 36px rgba(0,0,0,0.20);
}

.btn--block { width: 100%; }
.btn--sm    { min-height: 38px; padding: 9px 16px; font-size: var(--step--1); }
.btn--lg    { min-height: 54px; padding: 15px 26px; font-size: var(--step-1); }

/* Icon glyph inside buttons */
.btn-icon { width: 22px; height: 22px; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7,9,4,0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line-dark);
  color: var(--white);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  min-height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--white);
}
.brand__mark {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--neon), var(--lime));
  display: grid; place-items: center;
  color: var(--charcoal);
  font-weight: 800;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06), 0 6px 18px rgba(140,190,39,0.35);
  overflow: hidden;
}
/* When real logo image is present, drop the gradient backdrop + let it use its natural width */
.brand__mark:has(img) {
  width: auto;
  height: 44px;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
}
.brand__mark img {
  width: auto;
  height: 100%;
  max-height: 44px;
  object-fit: contain;
  display: block;
}
@media (min-width: 640px) {
  .brand__mark:has(img) { height: 48px; }
  .brand__mark img { max-height: 48px; }
}
.brand__name { font-size: 1rem; line-height: 1; }
.brand__name span { display: block; color: var(--neon); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; margin-top: 4px; }

.nav { display: none; }
.nav__link {
  font-size: var(--step--1);
  font-family: var(--font-head);
  font-weight: 500;
  color: var(--grey-mid);
  padding: 10px 14px;
  border-radius: 10px;
  transition: color .15s ease, background .15s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  background: transparent;
  border: 0;
  font-family: var(--font-head);
  white-space: nowrap;
}
.nav__link:hover { color: var(--neon); }
.nav__link.is-current {
  color: var(--white);
  background: rgba(255,255,255,0.05);
}
.nav__trigger .chev {
  width: 11px; height: 11px;
  transition: transform .2s ease;
  opacity: 0.8;
}
.nav__item.is-open > .nav__trigger .chev,
.nav__item:hover > .nav__trigger .chev { transform: rotate(180deg); }
.nav__item.is-open > .nav__trigger,
.nav__item:hover > .nav__trigger { color: var(--neon); }

.nav__item { position: relative; }

/* ---------- Simple dropdown ---------- */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  max-height: calc(100vh - var(--header-h) - 24px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: rgba(7,9,4,0.85);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  padding: 8px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 18px 50px rgba(0,0,0,0.50),
    0 2px 6px rgba(0,0,0,0.30);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top left;
  transition:
    opacity .6s ease .15s,
    transform .8s cubic-bezier(0.34, 1.56, 0.64, 1) .15s;
  z-index: 55;
  scrollbar-width: thin;
  scrollbar-color: rgba(140,190,39,0.45) transparent;
}
.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown,
.has-dropdown.is-open > .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: var(--step--1);
  color: var(--grey-mid);
  border-radius: 10px;
  transition: background .15s ease, color .15s ease, transform .15s ease;
  white-space: nowrap;
}
.dropdown a:hover {
  background: rgba(140,190,39,0.12);
  color: var(--neon);
  transform: translateX(2px);
}
.dropdown a .dot {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--neon);
  opacity: 0.6;
  flex: none;
}

/* ---------- Mega menu ---------- */
.megamenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px) scale(0.98);
  transform-origin: top center;
  width: min(1040px, 92vw);
  max-height: calc(100vh - var(--header-h) - 24px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: rgba(7,9,4,0.88);
  backdrop-filter: blur(32px) saturate(180%);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 22px;
  padding: 18px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 28px 70px rgba(0,0,0,0.55),
    0 2px 6px rgba(0,0,0,0.30);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity .6s ease .18s,
    transform .8s cubic-bezier(0.34, 1.56, 0.64, 1) .18s;
  z-index: 55;
  /* Subtle custom scrollbar */
  scrollbar-width: thin;
  scrollbar-color: rgba(140,190,39,0.45) rgba(255,255,255,0.04);
}
.megamenu::-webkit-scrollbar { width: 8px; }
.megamenu::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.04);
  border-radius: 99px;
}
.megamenu::-webkit-scrollbar-thumb {
  background: rgba(140,190,39,0.45);
  border-radius: 99px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
.megamenu::-webkit-scrollbar-thumb:hover {
  background: rgba(140,190,39,0.65);
  background-clip: padding-box;
  border: 2px solid transparent;
}
.has-megamenu:hover > .megamenu,
.has-megamenu:focus-within > .megamenu,
.has-megamenu.is-open > .megamenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}
.megamenu__head {
  position: sticky;
  top: -18px; /* offsets the parent padding so it sticks to top edge while scrolling */
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s-4);
  margin: -18px -18px 14px;
  padding: 16px 18px 12px;
  background: linear-gradient(180deg, rgba(7,9,4,0.92), rgba(7,9,4,0.78));
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px dashed rgba(255,255,255,0.12);
  border-radius: 22px 22px 0 0;
  color: var(--white);
  flex-wrap: wrap;
}
.megamenu__head h3 {
  font-size: var(--step-2);
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.megamenu__head p {
  color: var(--grey-mid);
  font-size: var(--step--1);
  margin-top: 4px;
  max-width: 56ch;
}
.megamenu__head a {
  color: var(--neon);
  font-family: var(--font-head);
  font-size: var(--step--1);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.megamenu__head a:hover { text-decoration: underline; }

.megamenu__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
@media (max-width: 1100px) {
  .megamenu__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-height: 760px) {
  /* On short screens give the cards a smaller image */
  .megamenu__grid { gap: 6px; }
  .mega-card { padding: 8px; gap: 6px; }
}

.mega-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  color: var(--white);
  transition: transform .25s ease, border-color .2s ease, background .2s ease;
  text-align: left;
}
.mega-card:hover {
  transform: translateY(-2px);
  background: rgba(140,190,39,0.07);
  border-color: rgba(140,190,39,0.45);
}
.mega-card__img {
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(140,190,39,0.18), transparent 60%),
    repeating-linear-gradient(45deg, #1a1d12 0 10px, #11140c 10px 20px);
  position: relative;
  border: 1px solid rgba(255,255,255,0.06);
  display: grid;
  place-items: center;
  color: var(--neon);
  transition: transform .35s ease;
}
.mega-card:hover .mega-card__img { transform: scale(1.03); }
.mega-card__img svg { width: 28px; height: 28px; opacity: 0.95; }
.mega-card__img img {
  width: 100%; height: 100%; object-fit: cover;
  position: absolute; inset: 0;
}
.mega-card h4 {
  font-size: var(--step-0);
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
  margin: 0;
}
.mega-card p {
  font-size: var(--step--1);
  color: var(--grey-mid);
  line-height: 1.3;
  margin: 0;
}

.mega-card--cta {
  background: linear-gradient(160deg, rgba(140,190,39,0.16), rgba(140,190,39,0.04));
  border-color: rgba(140,190,39,0.35);
}
.mega-card--cta:hover {
  background: linear-gradient(160deg, rgba(140,190,39,0.28), rgba(140,190,39,0.10));
  border-color: rgba(140,190,39,0.65);
}
.mega-card--cta .mega-card__img {
  background: linear-gradient(135deg, var(--neon), var(--lime));
  color: var(--charcoal);
}
.mega-card--cta .mega-card__img svg { opacity: 1; }

.header-cta { display: none; }

.nav-toggle {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: var(--r-1);
  color: var(--white);
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (min-width: 1024px) {
  .nav { display: flex; gap: 4px; align-items: center; }
  .header-cta { display: inline-flex; gap: var(--s-3); align-items: center; }
  .nav-toggle { display: none; }
}

/* =========================================================================
   MOBILE NAV — Modern bottom-sheet drawer (UI/UX Pro Max)
   • Backdrop with blur for focus + tap-to-close
   • Sheet slides up from bottom with rounded top + spring animation
   • Icon + label for every link (nav-label-icon rule)
   • Active state for current page
   • Close button (X) + tap backdrop + ESC + tap link = all dismiss
   • Safe-area aware (notch, gesture bar)
   • 8pt spacing rhythm
   ========================================================================= */

/* Mobile-nav root: full-viewport flex container that holds backdrop + sheet */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;          /* sheet anchors to bottom */
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s ease;
}
.mobile-nav.is-open {
  pointer-events: auto;
  opacity: 1;
}

/* Backdrop fills the empty space ABOVE the sheet */
.mobile-nav__backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 0;
}

/* Sheet sits inside the flex container, justified to bottom by parent */
.mobile-nav__sheet {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 92vh;
  max-height: 92dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background: linear-gradient(180deg, #11140c 0%, #070904 100%);
  color: var(--white);
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  padding: 8px 18px calc(20px + env(safe-area-inset-bottom, 0px));
  transform: translate3d(0, 100%, 0);
  transition: transform .35s cubic-bezier(0.32, 0.72, 0, 1);
  will-change: transform;
  box-shadow: 0 -20px 60px rgba(0,0,0,0.5);
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.20) transparent;
  box-sizing: border-box;
}
.mobile-nav.is-open .mobile-nav__sheet {
  transform: translate3d(0, 0, 0);
}
.mobile-nav__sheet::-webkit-scrollbar { width: 6px; }
.mobile-nav__sheet::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.20);
  border-radius: 99px;
}

/* Drag handle (iOS pattern) */
.mobile-nav__handle {
  width: 40px;
  height: 4px;
  border-radius: 99px;
  background: rgba(255,255,255,0.22);
  margin: 6px auto 14px;
}

/* Top bar: logo + close button */
.mobile-nav__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.mobile-nav__brand {
  display: inline-flex;
  align-items: center;
}
.mobile-nav__brand img {
  height: 36px;
  width: auto;
  display: block;
}
.mobile-nav__close {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  color: var(--white);
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.mobile-nav__close svg { width: 20px; height: 20px; }
.mobile-nav__close:active { transform: scale(0.94); background: rgba(255,255,255,0.10); }

/* Hero CTAs: 2-column primary actions at top */
.mobile-nav__hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}
.mn-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 14px 14px 12px;
  border-radius: 16px;
  border: 1px solid transparent;
  text-align: left;
  min-height: 88px;
  position: relative;
  isolation: isolate;
  transition: transform .15s ease;
}
.mn-cta:active { transform: scale(0.97); }
.mn-cta svg { width: 22px; height: 22px; margin-bottom: 4px; }
.mn-cta__t {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.1;
}
.mn-cta__s {
  font-size: 0.78rem;
  opacity: 0.75;
  line-height: 1.2;
}
.mn-cta--call {
  background: linear-gradient(180deg, #B6D94E 0%, #8CBE27 100%);
  color: var(--charcoal);
  box-shadow: 0 8px 22px rgba(140,190,39,0.30);
}
.mn-cta--quote {
  background: rgba(255,255,255,0.04);
  color: var(--white);
  border-color: rgba(255,255,255,0.10);
}
.mn-cta--quote svg { color: var(--neon); }

/* Status badge */
.mobile-nav__status {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}
.mn-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(140,190,39,0.10);
  border: 1px solid rgba(140,190,39,0.25);
  color: var(--lime);
  letter-spacing: 0.02em;
}
.mn-status__dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--neon);
  box-shadow: 0 0 0 4px rgba(140,190,39,0.20);
}

/* Section: eyebrow title + stack of links */
.mobile-nav__section {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 18px;
}
.mobile-nav__title {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey-mid);
  opacity: 0.65;
  padding: 0 4px;
  margin-bottom: 6px;
}

/* Individual nav link */
.mn-link {
  display: grid;
  grid-template-columns: 40px 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 14px;
  row-gap: 2px;
  padding: 12px 14px;
  border-radius: 14px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--white);
  min-height: 56px;
  text-decoration: none;
  transition: background .15s ease, transform .12s ease, border-color .15s ease;
  position: relative;
}
.mn-link:active {
  transform: scale(0.98);
  background: rgba(255,255,255,0.05);
}
.mn-link__ico {
  grid-row: 1 / -1;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(140,190,39,0.10);
  display: grid;
  place-items: center;
  flex: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px 20px;
}
.mn-link__t {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--white);
}
.mn-link__s {
  font-size: 0.78rem;
  color: var(--grey-mid);
  line-height: 1.2;
}

/* Active state — for the current page link (highlighted) */
.mn-link.is-current,
.mn-link[aria-current="page"] {
  background: rgba(140,190,39,0.08);
  border-color: rgba(140,190,39,0.25);
}
.mn-link.is-current .mn-link__ico,
.mn-link[aria-current="page"] .mn-link__ico {
  background-color: rgba(140,190,39,0.20);
}

/* Icons — inline SVG data URIs targeting [data-icon] */
.mn-link[data-icon="home"]   .mn-link__ico { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238CBE27' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/><polyline points='9 22 9 12 15 12 15 22'/></svg>"); }
.mn-link[data-icon="pin"]    .mn-link__ico { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238CBE27' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/><circle cx='12' cy='10' r='3'/></svg>"); }
.mn-link[data-icon="star"]   .mn-link__ico { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%238CBE27' stroke='%238CBE27' stroke-width='1.5' stroke-linejoin='round'><polygon points='12 2 15 9 22 9 17 14 19 21 12 17 5 21 7 14 2 9 9 9 12 2'/></svg>"); }
.mn-link[data-icon="help"]   .mn-link__ico { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238CBE27' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><path d='M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3'/><line x1='12' y1='17' x2='12.01' y2='17'/></svg>"); }
.mn-link[data-icon="wrench"] .mn-link__ico { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238CBE27' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z'/></svg>"); }
.mn-link[data-icon="phone"]  .mn-link__ico { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238CBE27' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='5' y='2' width='14' height='20' rx='2' ry='2'/><line x1='12' y1='18' x2='12.01' y2='18'/></svg>"); }
.mn-link[data-icon="lock"]   .mn-link__ico { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238CBE27' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='11' width='18' height='11' rx='2' ry='2'/><path d='M7 11V7a5 5 0 0 1 9.9-1'/></svg>"); }
.mn-link[data-icon="sim"]    .mn-link__ico { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238CBE27' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M19 9 14 4H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z'/><line x1='8' y1='14' x2='16' y2='14'/><line x1='12' y1='10' x2='12' y2='18'/></svg>"); }
.mn-link[data-icon="wifi"]   .mn-link__ico { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238CBE27' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12.55a11 11 0 0 1 14 0'/><path d='M1.42 9a16 16 0 0 1 21.16 0'/><path d='M8.53 16.11a6 6 0 0 1 6.95 0'/><line x1='12' y1='20' x2='12.01' y2='20'/></svg>"); }
.mn-link[data-icon="case"]   .mn-link__ico { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238CBE27' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='2' y='7' width='20' height='14' rx='2' ry='2'/><path d='M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16'/></svg>"); }
.mn-link[data-icon="camera"] .mn-link__ico { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238CBE27' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z'/><circle cx='12' cy='13' r='4'/></svg>"); }

/* Footer block */
.mobile-nav__footer {
  margin-top: 12px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mn-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-family: var(--font-head);
  font-size: 0.85rem;
  color: var(--grey-mid);
  line-height: 1.4;
}
.mn-info strong {
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
}
.mn-directions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
}
.mn-directions svg { width: 18px; height: 18px; }

/* Hide drawer entirely on desktop (≥1024px nav lives in header) */
@media (min-width: 1024px) {
  .mobile-nav { display: none !important; }
}

/* Body lock when menu is open (JS already handles overflow:hidden) */
body.menu-open { overflow: hidden; }

/* Hide the bottom sticky CTA bar while the mobile menu is open
   (menu already has its own Call + Quote actions, no need to double up) */
body.menu-open .sticky-cta {
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
  transition: opacity .2s ease;
}

/* =========================================================================
   ABOUT PAGE — value-prop strip (.qb) + inline learn-more arrows
   ========================================================================= */
.quickbar .qb {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
  min-height: 60px;
}
.quickbar .qb strong {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 2px;
}
.quickbar .qb span:last-child {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.82rem;
  color: var(--ink-mute);
}
.quickbar .qb__ico {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--neon), var(--lime));
  color: var(--charcoal);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.05rem;
}

/* "Browse phones →" style inline link */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--neon);
  text-decoration: none;
  transition: gap .15s ease;
}
.link-arrow:hover { gap: 10px; color: var(--lime); }
.section--black .link-arrow { color: var(--lime); }
.section--black .link-arrow:hover { color: var(--white); }
@media (min-width: 1024px) {
  .mobile-nav { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(1200px 600px at 80% -10%, rgba(140,190,39,0.18), transparent 60%),
              radial-gradient(900px 500px at -10% 120%, rgba(182,217,78,0.10), transparent 60%),
              linear-gradient(180deg, var(--charcoal) 0%, var(--black) 100%);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 75%);
  pointer-events: none;
  z-index: 1;
}

/* Background video — sits below grid + content, above gradient */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  opacity: 0.18;
  pointer-events: none;
  filter: saturate(130%) contrast(105%);
  /* iOS Safari fade-in */
  animation: heroVideoFade 1.2s ease both;
}
@keyframes heroVideoFade {
  from { opacity: 0; }
  to   { opacity: 0.18; }
}
/* Subtle dark overlay above the video so text always wins */
.hero__video::after { content: ""; }
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,9,4,0.35) 0%, rgba(7,9,4,0.10) 35%, rgba(7,9,4,0.55) 100%);
  pointer-events: none;
  z-index: 1;
}
.hero__inner {
  position: relative;
  z-index: 2;
}
@media (prefers-reduced-motion: reduce) {
  .hero__video { display: none; }
}
.hero__inner {
  padding-block: var(--s-8) var(--s-9);
  display: grid;
  gap: var(--s-7);
  align-items: center;
}
@media (min-width: 980px) {
  .hero__inner {
    grid-template-columns: 1.15fr 1fr;
    padding-block: var(--s-9) var(--s-9);
  }
}

.hero__badges {
  display: flex; flex-wrap: wrap; gap: var(--s-2);
  margin-bottom: var(--s-5);
}
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-head);
  font-size: var(--step--1);
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  color: var(--grey-mid);
}
.badge .dot { width: 8px; height: 8px; border-radius: 999px; background: var(--neon); box-shadow: 0 0 0 4px rgba(140,190,39,0.25); }

.hero h1 {
  font-size: clamp(2.4rem, 1.6rem + 4.5vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 700;
}
.hero h1 .hl {
  background: linear-gradient(120deg, var(--neon), var(--lime));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero h1 .underline {
  position: relative;
  display: inline-block;
}
.hero h1 .underline::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 6px;
  background: var(--neon);
  border-radius: var(--r-pill);
  opacity: 0.9;
}

.hero__sub {
  margin-top: var(--s-5);
  font-size: var(--step-1);
  color: var(--grey-mid);
  max-width: 56ch;
}

.hero__cta {
  margin-top: var(--s-6);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-3);
  max-width: 560px;
}
.hero__cta .btn { width: 100%; }
@media (min-width: 520px) {
  .hero__cta { grid-template-columns: repeat(2, minmax(0, max-content)); }
  .hero__cta .btn { width: auto; }
}

.hero__trust {
  margin-top: var(--s-7);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-4);
  max-width: 560px;
}
@media (min-width: 640px) {
  .hero__trust { grid-template-columns: repeat(4, 1fr); }
}
.trust {
  display: flex; align-items: center; gap: var(--s-3);
  font-family: var(--font-head);
  font-size: var(--step--1);
  color: var(--grey-mid);
}
.trust__icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(140,190,39,0.10);
  color: var(--neon);
  display: grid; place-items: center;
  flex: none;
}

/* Hero card / visual */
.hero__visual {
  position: relative;
  border-radius: var(--r-4);
  padding: var(--s-6);
  background:
    linear-gradient(160deg, rgba(140,190,39,0.16), rgba(140,190,39,0) 60%),
    rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow-3);
}
.hero__visual::before {
  content: "";
  position: absolute; inset: -1px;
  border-radius: var(--r-4);
  padding: 1px;
  background: linear-gradient(160deg, rgba(140,190,39,0.6), transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.hero__visual h3 { margin-bottom: var(--s-4); }
.hero__visual ul {
  list-style: none;
  display: grid;
  gap: var(--s-3);
  padding: 0;
}
.hero__visual li {
  display: flex; align-items: center; gap: var(--s-3);
  padding: 12px 14px;
  border-radius: var(--r-2);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  font-family: var(--font-head);
  font-weight: 500;
}
.hero__visual li .tick {
  width: 26px; height: 26px;
  border-radius: 8px;
  background: var(--neon);
  color: var(--charcoal);
  display: grid; place-items: center; flex: none;
  font-weight: 800;
}
.hero__hours {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: var(--s-5);
  padding-top: var(--s-4);
  border-top: 1px dashed rgba(255,255,255,0.15);
  font-family: var(--font-head);
  font-size: var(--step--1);
  color: var(--grey-mid);
}
.hero__hours strong { color: var(--neon); }

/* Marquee / ticker under hero */
.ticker {
  background: var(--lime);
  color: var(--charcoal);
  overflow: hidden;
  border-block: 1px solid rgba(0,0,0,0.15);
}
.ticker__track {
  display: flex;
  gap: var(--s-7);
  padding: 12px 0;
  white-space: nowrap;
  animation: tickerSlide 38s linear infinite;
}
.ticker span {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: var(--step-1);
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: var(--s-4);
}
.ticker span::after {
  content: "";
  width: 10px; height: 10px;
  border-radius: 999px;
  background: var(--charcoal);
}
@keyframes tickerSlide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; }
}

/* ---------- Quick service strip ---------- */
.quickbar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-3);
}
@media (min-width: 640px) { .quickbar { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .quickbar { grid-template-columns: repeat(6, 1fr); } }
.quickbar a {
  display: flex; flex-direction: column; gap: 6px;
  padding: var(--s-4);
  border-radius: var(--r-2);
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform .15s, box-shadow .2s, border-color .2s;
  font-family: var(--font-head);
  font-weight: 600;
}
.quickbar a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
  border-color: var(--neon);
}
.quickbar a .ico {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--charcoal);
  color: var(--neon);
  display: grid; place-items: center;
}
.quickbar a small {
  color: var(--ink-mute);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--step--1);
}

/* ---------- Cards / grids ---------- */
.cards {
  display: grid;
  gap: var(--s-5);
  grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .cards--4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 768px)  { .cards--auto { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); } }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  transition: transform .2s, box-shadow .25s, border-color .2s;
  position: relative;
  overflow: hidden;
}
.card__media {
  position: relative;
  margin: calc(-1 * var(--s-5)) calc(-1 * var(--s-5)) 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-soft);
}
/* Small centered brand logo banner for carrier cards */
/* (older .card__brand rule removed — consolidated below) */
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.card:hover .card__media img { transform: scale(1.04); }
.card__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(7,9,4,0.10));
  pointer-events: none;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
  border-color: var(--neon);
}
.card__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--bg-soft);
  color: var(--charcoal);
  display: grid; place-items: center;
  margin-bottom: var(--s-2);
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: var(--step-2); }
.card p { color: var(--ink-mute); font-size: var(--step-0); }
.card__actions {
  margin-top: auto;
  padding-top: var(--s-4);
  display: flex; gap: var(--s-2); flex-wrap: wrap;
}
.card__tag {
  position: absolute;
  top: var(--s-4); right: var(--s-4);
  font-family: var(--font-head);
  font-size: var(--step--1);
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--lime);
  color: var(--charcoal);
}

/* Dark variant card */
.section--dark .card,
.section--black .card {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.08);
  color: var(--white);
}
.section--dark .card p,
.section--black .card p { color: var(--grey-mid); }
.section--dark .card__icon,
.section--black .card__icon {
  background: rgba(140,190,39,0.10);
  color: var(--neon);
}
.section--dark .card:hover,
.section--black .card:hover {
  border-color: var(--neon);
  box-shadow: 0 14px 40px rgba(0,0,0,0.4);
}

/* ---------- Repair Finder ---------- */
.repair-finder {
  background: var(--charcoal);
  color: var(--white);
  border-radius: var(--r-4);
  padding: var(--s-7);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow-3);
}
.repair-finder__grid {
  display: grid;
  gap: var(--s-3);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 720px)  { .repair-finder__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .repair-finder__grid { grid-template-columns: repeat(5, 1fr); } }

.fix {
  position: relative;
  display: flex; flex-direction: column; gap: 10px;
  align-items: flex-start;
  padding: 18px 16px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.08);
  font-family: var(--font-head);
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform .4s cubic-bezier(0.34, 1.56, 0.64, 1),
    border-color .25s ease,
    background .3s ease,
    box-shadow .3s ease;
}
/* Soft inner highlight at top edge — gives it dimension */
.fix::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0) 40%);
  pointer-events: none;
  z-index: -1;
}
/* Glow ring on hover */
.fix::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(180px 120px at 50% 0%, rgba(140,190,39,0.20), transparent 60%);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
  z-index: -1;
}
.fix:hover {
  transform: translateY(-4px);
  border-color: rgba(140,190,39,0.50);
  background: linear-gradient(180deg, rgba(140,190,39,0.07), rgba(140,190,39,0.01));
  box-shadow:
    0 18px 40px rgba(0,0,0,0.35),
    0 0 0 1px rgba(140,190,39,0.20);
}
.fix:hover::after { opacity: 1; }
.fix:active { transform: scale(0.98); transition-duration: 80ms; }
.fix.is-selected {
  background: linear-gradient(180deg, rgba(140,190,39,0.18), rgba(140,190,39,0.05));
  border-color: var(--neon);
  box-shadow:
    inset 0 0 0 1px rgba(140,190,39,0.30),
    0 14px 32px rgba(140,190,39,0.25),
    0 0 40px rgba(140,190,39,0.10);
}
.fix .ico {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(140,190,39,0.12);
  color: var(--neon);
  display: grid; place-items: center;
  transition:
    transform .4s cubic-bezier(0.34, 1.56, 0.64, 1),
    background .25s ease,
    color .25s ease;
}
.fix:hover .ico {
  background: rgba(140,190,39,0.22);
  transform: rotate(-4deg) scale(1.1);
}
.fix.is-selected .ico {
  background: var(--neon);
  color: var(--charcoal);
  transform: rotate(-4deg) scale(1.1);
}
.fix small {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--grey-mid);
  font-size: var(--step--1);
  line-height: 1.4;
}

.repair-finder__foot {
  margin-top: var(--s-6);
  display: flex; gap: var(--s-3); flex-wrap: wrap;
  align-items: center; justify-content: space-between;
}
.repair-finder__foot small { color: var(--grey-mid); }

/* ---------- Carrier brand logo inside .card (SIM plan finder on detail page) ---------- */
.card__brand {
  width: 100%;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--s-3);
  padding: 10px;
  background: linear-gradient(180deg, #ffffff 0%, #f5f5ef 100%);
  border-radius: var(--r-2);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,1);
}
.card__brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.06));
  transition: transform .4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.card:hover .card__brand img {
  transform: scale(1.06);
}
/* Dark-section variant — for cards on charcoal backgrounds */
.section--dark .card__brand,
.section--black .card__brand {
  background: linear-gradient(180deg, #ffffff 0%, #f0f0e6 100%);
  border-color: rgba(255,255,255,0.10);
}

/* ---------- Phones / SIM cards ---------- */
.phone-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  padding: var(--s-5);
  display: flex; flex-direction: column; gap: var(--s-3);
}
.phone-card__media {
  aspect-ratio: 4/3;
  border-radius: var(--r-2);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(140,190,39,0.18), transparent 60%),
    linear-gradient(180deg, #fff, var(--grey-soft));
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700;
  color: var(--charcoal);
  font-size: var(--step-3);
  border: 1px dashed var(--line);
}
.phone-card h3 { font-size: var(--step-2); }
.phone-card .meta { display: flex; gap: var(--s-2); flex-wrap: wrap; }
.tag {
  font-family: var(--font-head);
  font-size: var(--step--1);
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--bg-soft);
  color: var(--ink-mute);
}
.tag--neon { background: var(--neon); color: var(--charcoal); }

/* SIM carriers */
.carriers {
  display: grid;
  gap: var(--s-3);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px)  { .carriers { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .carriers { grid-template-columns: repeat(6, 1fr); } }
.carrier {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  padding: var(--s-4) var(--s-3);
  text-align: center;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--charcoal);
  transition: transform .2s ease, border-color .2s ease, box-shadow .25s ease;
  min-height: 130px;
}
.carrier:hover {
  transform: translateY(-3px);
  border-color: var(--neon);
  box-shadow: 0 12px 30px rgba(140,190,39,0.18), var(--shadow-1);
}
.carrier__logo {
  width: 100%;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 4px;
}
.carrier__logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.08));
  transition: transform .25s ease;
}
.carrier:hover .carrier__logo img { transform: scale(1.05); }
.carrier__name {
  font-size: var(--step-0);
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: -0.01em;
}
.carrier small {
  display: block;
  font-weight: 400;
  font-size: var(--step--1);
  color: var(--ink-mute);
  margin-top: 2px;
}
/* Dark variant for SIM Plan Finder on dark sections */
.section--dark .carrier,
.section--black .carrier {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.10);
  color: var(--white);
}
.section--dark .carrier .carrier__name,
.section--black .carrier .carrier__name { color: var(--white); }
.section--dark .carrier small,
.section--black .carrier small { color: var(--grey-mid); }
.section--dark .carrier__logo,
.section--black .carrier__logo {
  background: rgba(255,255,255,0.92);
  border-radius: 10px;
  padding: 6px 10px;
  width: 100%;
  height: 56px;
}

/* ---------- Gallery (photo placeholders) ---------- */
.gallery {
  display: grid;
  gap: var(--s-3);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px)  { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery__item {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--r-2);
  overflow: hidden;
  background:
    repeating-linear-gradient(45deg, #1a1d12 0 12px, #11140c 12px 24px);
  color: var(--neon);
  display: grid; place-items: center;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: var(--step--1);
  text-align: center;
  padding: var(--s-3);
  border: 1px solid rgba(255,255,255,0.06);
}
.gallery__item--wide { aspect-ratio: 16/10; grid-column: span 2; }
@media (min-width: 1024px) {
  .gallery__item--wide { grid-column: span 2; aspect-ratio: 16/10; }
}
/* When a real photo is inside, fill the cell and hide the placeholder label */
.gallery__item:has(img) .label { display: none; }
.gallery__item img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery__item .label {
  position: relative; z-index: 1;
  background: rgba(7,9,4,0.8);
  border: 1px solid rgba(140,190,39,0.4);
  padding: 6px 10px;
  border-radius: var(--r-pill);
  font-size: var(--step--1);
  color: var(--neon);
}

/* ---------- Reviews placeholder ---------- */
.review {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  padding: var(--s-5);
  display: flex; flex-direction: column; gap: var(--s-3);
}

/* ---------- Reviews carousel ---------- */
.reviews-carousel-wrap {
  position: relative;
}
.reviews-carousel {
  display: flex;
  gap: var(--s-4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: var(--s-2) var(--s-3) var(--s-5);
  margin: 0 calc(-1 * var(--s-3));
}
.reviews-carousel::-webkit-scrollbar { display: none; }
.reviews-carousel .review {
  flex: 0 0 calc(100% - var(--s-4) - var(--s-3));
  scroll-snap-align: start;
  height: 340px;
  display: flex;
  flex-direction: column;
}
@media (min-width: 720px) {
  .reviews-carousel .review { flex: 0 0 calc(50% - var(--s-4)); }
}
@media (min-width: 1024px) {
  .reviews-carousel .review { flex: 0 0 calc(33.333% - var(--s-4) - var(--s-4) / 3); }
}

/* Truncate long quotes to 6 lines with ellipsis so cards stay uniform */
.reviews-carousel .review__quote {
  display: -webkit-box;
  -webkit-line-clamp: 6;
  line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-grow: 1;
  margin: 0;
  font-size: var(--step-0);
  line-height: 1.5;
}

/* Subtle fade at bottom of clamped text */
.reviews-carousel .review__quote {
  -webkit-mask-image: linear-gradient(180deg, #000 70%, rgba(0,0,0,0.6) 95%, rgba(0,0,0,0.3) 100%);
  mask-image: linear-gradient(180deg, #000 70%, rgba(0,0,0,0.6) 95%, rgba(0,0,0,0.3) 100%);
}

/* "Read on Google" CTA at the bottom is now the only Google indicator + source */
.reviews-carousel .review__source {
  margin-top: var(--s-3);
  padding-top: var(--s-3);
  border-top: 1px dashed rgba(0,0,0,0.08);
}
.reviews-carousel .review__source:hover {
  color: #4285F4;
}
.reviews-carousel .review__source::after {
  content: " · Read full →";
  font-weight: 500;
  color: var(--ink-mute);
  font-size: var(--step--1);
}
.reviews-carousel__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--s-4);
  gap: var(--s-3);
  flex-wrap: wrap;
}
.reviews-carousel__btns {
  display: flex;
  gap: var(--s-2);
}
.reviews-carousel__btn {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--line);
  color: var(--charcoal);
  cursor: pointer;
  transition:
    transform .25s cubic-bezier(0.34, 1.56, 0.64, 1),
    border-color .2s ease,
    background .2s ease;
}
.reviews-carousel__btn:hover {
  transform: translateY(-2px);
  border-color: var(--neon);
  background: rgba(140,190,39,0.06);
}
.reviews-carousel__btn:active { transform: scale(0.95); }
.reviews-carousel__btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
}
.reviews-carousel__btn svg { width: 20px; height: 20px; }
.reviews-carousel__dots {
  display: flex;
  gap: 6px;
  align-items: center;
}
.reviews-carousel__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(0,0,0,0.18);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease, width .25s ease;
}
.reviews-carousel__dot.is-active {
  background: var(--neon);
  width: 24px;
  border-radius: 4px;
}
/* Source label on each review */
.review__source {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-head);
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--ink-mute);
  margin-top: auto;
}
.review__source svg { width: 14px; height: 14px; }
.review__source--google { color: #4285F4; }
.review__stars { color: #f5b301; font-size: var(--step-1); letter-spacing: 2px; }
.review__quote { font-size: var(--step-1); }
.review__by {
  display: flex; align-items: center; gap: var(--s-3);
  font-family: var(--font-head);
  font-weight: 600;
  margin-top: var(--s-2);
}
.review__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--neon), var(--lime));
  display: grid; place-items: center;
  color: var(--charcoal);
  font-weight: 800;
}
.review__by small { display: block; color: var(--ink-mute); font-weight: 400; }
.reviews-cta { margin-top: var(--s-6); display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }

/* ---------- Form ---------- */
.form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-4);
  padding: var(--s-6);
  box-shadow: var(--shadow-2);
}
.form__grid {
  display: grid;
  gap: var(--s-4);
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .form__grid { grid-template-columns: 1fr 1fr; }
  .form__grid .full { grid-column: 1 / -1; }
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: var(--step--1);
}
.field label .req { color: #cf2c2c; }
.field input,
.field select,
.field textarea {
  appearance: none;
  -webkit-appearance: none;
  border: 1.5px solid var(--line);
  border-radius: var(--r-2);
  padding: 12px 14px;
  background: var(--white);
  font-size: var(--step-0);
  transition: border-color .15s, box-shadow .15s;
  min-height: 48px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--neon);
  box-shadow:
    0 0 0 4px rgba(140,190,39,0.18),
    inset 0 1px 0 rgba(255,255,255,0.6);
  background: linear-gradient(180deg, rgba(255,255,255,1), rgba(255,255,255,0.96));
}
.field .error {
  display: none;
  color: #b22020;
  font-size: var(--step--1);
}
.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: #d33;
  box-shadow: 0 0 0 4px rgba(211,51,51,0.12);
}
.field.is-invalid .error { display: block; }

.radio-group, .check-group {
  display: flex; gap: var(--s-2); flex-wrap: wrap;
}
.radio-pill {
  position: relative;
}
.radio-pill input {
  position: absolute; opacity: 0; pointer-events: none;
}
.radio-pill span {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--line);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: var(--step--1);
  background: var(--white);
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
}
.radio-pill input:checked + span {
  background: var(--neon);
  color: var(--charcoal);
  border-color: var(--neon);
  box-shadow: var(--glow);
}
.radio-pill input:focus-visible + span {
  outline: 3px solid var(--neon);
  outline-offset: 3px;
}

.file-field {
  border: 1.5px dashed var(--line);
  border-radius: var(--r-2);
  padding: 16px;
  text-align: center;
  background: var(--bg-soft);
}
.file-field input { display: block; margin: 8px auto 0; }
.file-field small { color: var(--ink-mute); }

.form__submit {
  margin-top: var(--s-5);
  display: flex; align-items: center; gap: var(--s-4); flex-wrap: wrap;
}
.form__submit small { color: var(--ink-mute); }

.form-success {
  display: none;
  padding: var(--s-6);
  border-radius: var(--r-3);
  background: linear-gradient(135deg, rgba(140,190,39,0.15), rgba(182,217,78,0.15));
  border: 1px solid rgba(140,190,39,0.35);
  text-align: center;
}
.form-success.is-visible { display: block; }
.form-success h3 { color: var(--charcoal); }
.form-success p { color: var(--ink-mute); margin-top: var(--s-2); }
.form-success__cta { margin-top: var(--s-5); display: flex; gap: var(--s-3); flex-wrap: wrap; justify-content: center; }

/* ---------- Map / Contact ---------- */
.contact-grid {
  display: grid;
  gap: var(--s-6);
  grid-template-columns: 1fr;
}
@media (min-width: 980px) {
  .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; }
}
.contact-info {
  background: var(--charcoal);
  color: var(--white);
  border-radius: var(--r-3);
  padding: var(--s-6);
}
.contact-info h3 { color: var(--white); }
.contact-info ul { list-style: none; padding: 0; margin-top: var(--s-4); display: grid; gap: var(--s-3); }
.contact-info li { display: flex; align-items: flex-start; gap: var(--s-3); }
.contact-info li .ico {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(140,190,39,0.10);
  color: var(--neon);
  display: grid; place-items: center; flex: none;
}
.contact-info strong { font-family: var(--font-head); }
.contact-info small { display: block; color: var(--grey-mid); margin-top: 2px; }

.hours-table { width: 100%; border-collapse: collapse; margin-top: var(--s-3); }
.hours-table td { padding: 8px 0; border-bottom: 1px dashed rgba(255,255,255,0.10); font-family: var(--font-head); font-size: var(--step--1); }
.hours-table td:last-child { text-align: right; color: var(--grey-mid); }

.map {
  position: relative;
  border-radius: var(--r-3);
  overflow: hidden;
  min-height: 360px;
  background:
    repeating-linear-gradient(0deg, #f1f1ea 0 18px, #e8e8df 18px 36px);
  border: 1px solid var(--line);
}
.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.map__pin {
  position: absolute;
  top: 45%; left: 48%;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--neon);
  display: grid; place-items: center;
  color: var(--charcoal);
  box-shadow: 0 0 0 10px rgba(140,190,39,0.25), var(--shadow-2);
  font-weight: 800;
}
.map__pin::after {
  content: "A&S Digital Wireless";
  position: absolute;
  top: 64px; left: 50%; transform: translateX(-50%);
  white-space: nowrap;
  background: var(--charcoal); color: var(--white);
  padding: 6px 10px; border-radius: var(--r-pill);
  font-family: var(--font-head); font-size: var(--step--1);
}
.map__note {
  position: absolute; bottom: 12px; left: 12px;
  background: rgba(255,255,255,0.9);
  padding: 6px 10px; border-radius: var(--r-pill);
  font-size: var(--step--1);
}

/* ---------- FAQ accordion ---------- */
.faq { display: grid; gap: var(--s-3); }
.faq__item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  overflow: hidden;
  transition: border-color .2s, box-shadow .25s;
}
.faq__item[open] {
  border-color: var(--neon);
  box-shadow: var(--shadow-1);
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: var(--step-1);
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-3);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  font-family: var(--font-head);
  font-size: 28px;
  color: var(--neon);
  transition: transform .2s;
  line-height: 1;
}
.faq__item[open] summary::after { content: "−"; }
.faq__item .a {
  padding: 0 22px 18px;
  color: var(--ink-mute);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--black);
  color: var(--grey-mid);
  padding-block: var(--s-8) var(--s-7);
}
.footer__grid {
  display: grid;
  gap: var(--s-6);
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1024px) {
  .footer__grid {
    /* 5 columns: brand intro wider, then 4 link columns */
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  }
}
.footer h4 {
  font-size: var(--step-1);
  color: var(--white);
  margin-bottom: var(--s-3);
}
.footer ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.footer a:hover { color: var(--neon); }
.footer .brand { color: var(--white); }
.footer__social {
  margin-top: var(--s-7);
  padding-top: var(--s-5);
  border-top: 1px solid rgba(255,255,255,0.10);
  display: flex;
  gap: var(--s-2);
  flex-wrap: wrap;
  align-items: center;
}
.footer__social__label {
  font-family: var(--font-head);
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--white);
  margin-right: var(--s-2);
}
.footer__social a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  color: var(--grey-mid);
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.footer__social a:hover {
  color: var(--neon);
  background: rgba(140,190,39,0.10);
  border-color: rgba(140,190,39,0.45);
  transform: translateY(-2px);
}
.footer__social svg {
  width: 18px; height: 18px;
  fill: currentColor;
}

.footer__bottom {
  margin-top: var(--s-5);
  padding-top: var(--s-5);
  border-top: 1px solid rgba(255,255,255,0.10);
  display: flex; justify-content: space-between; gap: var(--s-3);
  font-size: var(--step--1);
  flex-wrap: wrap;
}

/* ---------- Sticky mobile CTA bar (liquid glass) ---------- */
.sticky-cta {
  position: fixed;
  left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  background: rgba(7,9,4,0.62);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 22px;
  padding: 8px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.10),
    0 12px 40px rgba(0,0,0,0.45),
    0 2px 6px rgba(0,0,0,0.30);
}
.sticky-cta a {
  position: relative;
  isolation: isolate;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 8px 4px;
  min-height: 52px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--white);
  text-align: center;
  line-height: 1.1;
  transition:
    transform .25s cubic-bezier(0.34, 1.56, 0.64, 1),
    background-color .2s ease,
    border-color .2s ease;
}
.sticky-cta a::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0) 60%);
  pointer-events: none;
  z-index: -1;
}
.sticky-cta a svg { width: 20px; height: 20px; margin-bottom: 4px; }
.sticky-cta a.call {
  background: linear-gradient(180deg, #97cb2d, #8CBE27);
  color: var(--charcoal);
  border-color: rgba(255,255,255,0.30);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.45), 0 6px 16px rgba(140,190,39,0.30);
}
.sticky-cta a.directions {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border-color: rgba(255,255,255,0.14);
}
.sticky-cta a.repair {
  background: linear-gradient(180deg, #B6D94E, #9fcc35);
  color: var(--charcoal);
  border-color: rgba(255,255,255,0.30);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.50), 0 6px 16px rgba(182,217,78,0.30);
}
.sticky-cta a:active { transform: scale(0.96); transition-duration: .08s; }

@media (min-width: 1024px) {
  .sticky-cta { display: none; }
  body { padding-bottom: 0; }
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
  will-change: opacity, transform;
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Utility ---------- */
.row { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.row--between { justify-content: space-between; align-items: center; }
.center-text { text-align: center; }
.mt-2 { margin-top: var(--s-2); }
.mt-4 { margin-top: var(--s-4); }
.mt-6 { margin-top: var(--s-6); }
.muted { color: var(--ink-mute); }
.invert .muted { color: var(--grey-mid); }
.hide-mobile { display: none; }
@media (min-width: 1024px) { .hide-mobile { display: inline-flex; } }
.show-mobile { display: inline-flex; }
@media (min-width: 1024px) { .show-mobile { display: none; } }

/* ---------- Print ---------- */
@media print {
  .sticky-cta, .nav-toggle, .mobile-nav { display: none !important; }
}

/* =========================================================================
   MOBILE RESPONSIVENESS HARDENING
   Surgical overrides for phones (<=720px) and very small phones (<=460px).
   Loaded last so it always wins specificity ties.
   ========================================================================= */
@media (max-width: 720px) {
  /* Tighter, predictable container padding */
  .container { padding-inline: 16px; }

  /* ---------- Headings — never let long Brooklyn/Sheepshead words overflow ---------- */
  h1, h2, h3, h4 {
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
  }
  .hero h1 {
    font-size: clamp(1.85rem, 1.2rem + 5.2vw, 2.6rem);
    line-height: 1.06;
    letter-spacing: -0.025em;
  }
  .hero h1 .underline::after { bottom: -3px; height: 4px; }
  .hero__sub {
    font-size: var(--step-0);
    max-width: none;
  }
  .section-head { margin-bottom: 22px; }
  .section-head h2,
  .section h2 {
    font-size: clamp(1.7rem, 1.1rem + 4.5vw, 2.4rem);
  }
  .section-head h2 { margin-top: 10px; }
  .section-head p {
    font-size: 0.96rem;
    margin-top: 10px;
    line-height: 1.5;
  }
  .section { padding-block: 40px; }

  /* ---------- Hero — badges, trust grid, CTA ---------- */
  .hero__inner { gap: var(--s-5); padding-block: var(--s-7) var(--s-7); }
  .hero__badges { gap: 6px; margin-bottom: var(--s-4); }
  .badge {
    font-size: 0.7rem;
    padding: 5px 10px;
    white-space: normal;
  }
  /* Trust grid: stack to 1-per-row so 30-day warranty / Sheepshead labels never clip */
  .hero__trust {
    grid-template-columns: 1fr;
    gap: 10px;
    max-width: none;
  }
  .trust { font-size: 0.86rem; gap: var(--s-3); }
  .trust__icon { width: 32px; height: 32px; }
  /* CTA buttons fill width on phones */
  .hero__cta {
    grid-template-columns: 1fr;
    gap: 10px;
    max-width: none;
  }
  .hero__cta .btn { width: 100%; }

  /* Hero visual card padding */
  .hero__visual { padding: var(--s-5); }
  .hero__visual li { padding: 10px 12px; font-size: 0.92rem; }

  /* ---------- Repair Finder ---------- */
  .repair-finder { padding: 20px 16px; }
  .repair-finder__grid { gap: 10px; }
  .fix { padding: 14px 12px; }
  .fix h4 { font-size: 1rem; }
  .fix p  { font-size: 0.85rem; }

  /* ---------- Cards & grids — give content breathing room ---------- */
  .card { padding: 18px; }
  .card h3 { font-size: 1.1rem; }
  .card__media img { width: 100%; height: auto; }

  /* ---------- Carrier logos: 3 columns max on small phones ---------- */
  .carriers { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .card__brand { height: 80px; padding: 8px; }

  /* ---------- Gallery: 2 columns on phones, cap heights so images don't dominate ---------- */
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .gallery__item { aspect-ratio: 4/5; max-height: 240px; }
  .gallery__item--wide {
    aspect-ratio: 16/10;
    grid-column: span 2;
    max-height: 220px;
  }

  /* ---------- Forms — proper proportions, native iOS-feel ---------- */
  .form { padding-inline: 0; }
  .form__grid {
    grid-template-columns: 1fr;
    gap: 16px;                          /* breathing room between fields */
  }
  .form .field {
    min-width: 0;
    gap: 8px;                           /* label sits above input with proper space */
  }
  .form .field label {
    font-size: 0.95rem;                 /* readable label */
    font-weight: 600;
    color: var(--ink);                  /* solid black for contrast */
    letter-spacing: -0.005em;
  }
  .form .field .req { color: #d33; margin-left: 2px; }

  /* Inputs / selects / textareas — uniform, modern, accessible */
  .form input,
  .form select,
  .form textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    font-size: 16px;                    /* iOS won't zoom in if >=16px */
    line-height: 1.4;
    padding: 13px 14px;                 /* comfortable tap target */
    min-height: 50px;
    border: 1.5px solid rgba(7,9,4,0.14);
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    transition: border-color .15s ease, box-shadow .15s ease;
  }
  .form input::placeholder,
  .form textarea::placeholder {
    color: rgba(7,9,4,0.40);            /* placeholder contrast */
  }
  .form input:focus,
  .form select:focus,
  .form textarea:focus {
    outline: none;
    border-color: var(--neon);
    box-shadow: 0 0 0 4px rgba(140,190,39,0.18);
  }

  /* Custom dropdown arrow (overrides the heavy native one) */
  .form select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23070904' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 14px;
    padding-right: 40px;
  }

  .form textarea {
    min-height: 110px;
    resize: vertical;
    overflow-wrap: anywhere;
  }

  /* File input — make it match field style */
  .form input[type="file"] {
    padding: 12px 14px;
    background: #fff;
    cursor: pointer;
  }
  .form input[type="file"]::file-selector-button {
    margin-right: 12px;
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid rgba(7,9,4,0.18);
    background: var(--grey-soft);
    color: var(--ink);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
  }

  /* Chip / radio-pill groups — wrap clean */
  .form .chips,
  .form .radio-group,
  .form .check-group {
    flex-wrap: wrap;
    gap: 8px;
  }

  /* Submit button — full-width, prominent */
  .form button[type="submit"],
  .form .btn--primary {
    width: 100%;
    margin-top: 8px;
    min-height: 54px;
    font-size: 1.02rem;
  }

  /* Form helper / privacy text */
  .form p,
  .form small {
    font-size: 0.85rem;
    color: var(--ink-mute);
    line-height: 1.5;
  }

  /* ---------- Reviews carousel cards ---------- */
  .review { width: calc(100vw - 56px); max-width: 360px; }

  /* ---------- Quickbar (the row of small phone numbers / hours) ---------- */
  .quickbar { gap: 8px; }
  .quickbar > * { padding: 10px 12px; font-size: 0.85rem; }

  /* ---------- Footer ---------- */
  .footer__grid { grid-template-columns: 1fr; gap: var(--s-5); }

  /* ---------- Megamenu: just in case it's visible on tablet, force hide ---------- */
  .megamenu, .dropdown { display: none !important; }
  .has-megamenu > .megamenu,
  .has-dropdown > .dropdown { display: none !important; }
}

/* Very small phones: stack only what truly benefits from full width */
@media (max-width: 460px) {
  .repair-finder__grid { grid-template-columns: 1fr; }
  /* Keep gallery at 2-col so images don't dominate the screen, just shrink them */
  .gallery__item { max-height: 200px; }
  .gallery__item--wide { max-height: 180px; }
  .carriers { grid-template-columns: repeat(2, 1fr); }
  .hero__visual { padding: var(--s-4); }
  .quickbar { grid-template-columns: 1fr; }
}

/* iPad / tablet portrait (768-1023px): make sure mega menu hides cleanly,
   nav is reachable via hamburger, and grids breathe properly */
@media (min-width: 721px) and (max-width: 1023px) {
  .form__grid { grid-template-columns: repeat(2, 1fr); }
  .carriers   { grid-template-columns: repeat(6, 1fr); }
  .hero__cta  { grid-template-columns: repeat(2, max-content); }
  .hero__trust { grid-template-columns: repeat(2, 1fr); }
  .gallery    { grid-template-columns: repeat(3, 1fr); }
}

/* =========================================================================
   FORM — Mobile-first design system (UI/UX Pro Max)
   ─────────────────────────────────────────────────────────────────────────
   Architecture:
   • Phones (≤719px): NO card wrapper — fields sit edge-aligned with
     section content using container's padding. iOS-Settings style.
   • Tablets (720-1023px): Subtle card with 24px padding, 2-column grid.
   • Desktop (≥1024px): Full card treatment, 32px padding, 2-column grid.
   • Spacing rhythm: 4 / 8 / 12 / 16 / 20 / 24 / 32 (8pt grid).
   • Typography: 14px label, 16px input (anti-iOS-zoom), 13px error.
   • Tap targets: 50px field height, 56px submit (exceeds 44pt minimum).
   ========================================================================= */

/* ---------- HONEYPOT (anti-spam, must take zero space) ---------- */
:where(body) .form input[name="_honey"],
:where(body) form input[name="_honey"] {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ─────────────────────────────────────────────────────────────────────────
   MOBILE (≤719px): edge-aligned, no card wrapper
   ───────────────────────────────────────────────────────────────────────── */
@media (max-width: 719px) {
  /* Strip the card — form blends with section, padding inherited from .container */
  :where(body) .form {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
  }

  /* Field grid — single column with 8pt rhythm */
  :where(body) .form .form__grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;            /* 16px between fields = clear separation */
    margin: 0 !important;
  }

  /* Each field block */
  :where(body) .form .field {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;             /* 6px label↔input — tight and intentional */
    min-width: 0;
  }

  /* Labels — 14px / 600 weight / solid ink */
  :where(body) .form .field > label {
    font-family: var(--font-head) !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    color: var(--ink) !important;
    letter-spacing: -0.005em !important;
    margin: 0 !important;
  }
  :where(body) .form .field .req {
    color: #d33 !important;
    margin-left: 2px;
    font-weight: 700;
  }

  /* Inputs / selects / textarea — 50px tall, 16px font (no iOS zoom) */
  :where(body) .form .field input,
  :where(body) .form .field select,
  :where(body) .form .field textarea {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    display: block !important;
    font-family: var(--font-body) !important;
    font-size: 16px !important;
    line-height: 1.4 !important;
    padding: 13px 14px !important;
    min-height: 50px !important;
    border: 1.5px solid rgba(7,9,4,0.14) !important;
    border-radius: 12px !important;
    background: #fff !important;
    color: var(--ink) !important;
    margin: 0 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    transition: border-color .15s ease, box-shadow .15s ease !important;
  }
  :where(body) .form .field input::placeholder,
  :where(body) .form .field textarea::placeholder {
    color: rgba(7,9,4,0.38) !important;
    opacity: 1 !important;
  }
  :where(body) .form .field input:focus,
  :where(body) .form .field select:focus,
  :where(body) .form .field textarea:focus {
    outline: none !important;
    border-color: var(--neon) !important;
    box-shadow: 0 0 0 4px rgba(140,190,39,0.16) !important;
  }

  /* Custom dropdown chevron */
  :where(body) .form .field select {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23070904' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 14px !important;
    padding-right: 40px !important;
    cursor: pointer;
  }

  /* Textarea — 110px min, vertical resize only */
  :where(body) .form .field textarea {
    min-height: 110px !important;
    resize: vertical !important;
    overflow-wrap: anywhere;
  }

  /* File input — branded look */
  :where(body) .form .field input[type="file"] {
    padding: 11px 14px !important;
    cursor: pointer;
  }
  :where(body) .form .field input[type="file"]::file-selector-button {
    margin-right: 12px;
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid rgba(7,9,4,0.18);
    background: var(--grey-soft);
    color: var(--ink);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
  }
  :where(body) .form .field .file-field {
    background: var(--grey-soft);
    border-radius: 12px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  :where(body) .form .field .file-field small {
    font-size: 0.81rem;
    color: var(--ink-mute);
    line-height: 1.4;
    margin: 0;
  }

  /* Radio pills (Today / This week / Not urgent + Call / Text / Email) */
  :where(body) .form .radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  :where(body) .form .radio-pill {
    position: relative;
    flex: 0 1 auto;
  }
  :where(body) .form .radio-pill input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
    min-height: 0 !important;
  }
  :where(body) .form .radio-pill span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1.5px solid rgba(7,9,4,0.14);
    background: #fff;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--ink);
    cursor: pointer;
    transition: all .15s ease;
  }
  :where(body) .form .radio-pill input:checked + span {
    background: linear-gradient(180deg, #B6D94E, #8CBE27);
    border-color: var(--neon);
    color: var(--charcoal);
    box-shadow: 0 4px 12px rgba(140,190,39,0.25);
  }

  /* Error messages — under field, red, 13px */
  :where(body) .form .field .error {
    display: none;
    font-size: 0.8125rem;
    color: #b22020;
    line-height: 1.3;
    margin-top: 2px;
  }
  :where(body) .form .field.is-invalid .error { display: block; }
  :where(body) .form .field.is-invalid input,
  :where(body) .form .field.is-invalid select,
  :where(body) .form .field.is-invalid textarea {
    border-color: #d33 !important;
    box-shadow: 0 0 0 4px rgba(211,51,51,0.10) !important;
  }

  /* Submit row — full-width prominent CTA */
  :where(body) .form .form__submit {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;          /* clear separation from last field */
    align-items: stretch;
  }
  :where(body) .form .form__submit button,
  :where(body) .form .form__submit .btn {
    width: 100% !important;
    min-height: 56px !important;
    font-size: 1.0625rem !important;
    border-radius: 999px !important;
  }
  :where(body) .form .form__submit small {
    text-align: center;
    font-size: 0.81rem;
    color: var(--ink-mute);
    line-height: 1.4;
  }
}

/* ─────────────────────────────────────────────────────────────────────────
   TABLET (720-1023px): subtle card, 2-column grid
   ───────────────────────────────────────────────────────────────────────── */
@media (min-width: 720px) and (max-width: 1023px) {
  :where(body) .form {
    background: #fff !important;
    border: 1px solid var(--line) !important;
    border-radius: 20px !important;
    box-shadow: 0 6px 24px rgba(0,0,0,0.05) !important;
    padding: 24px !important;
  }
  :where(body) .form .form__grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 18px !important;
  }
  :where(body) .form .field.full { grid-column: 1 / -1; }
  :where(body) .form .field { gap: 6px; }
  :where(body) .form .field > label {
    font-family: var(--font-head);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ink);
  }
  :where(body) .form .field input,
  :where(body) .form .field select,
  :where(body) .form .field textarea {
    width: 100%;
    box-sizing: border-box;
    font-size: 16px;
    padding: 13px 14px;
    min-height: 50px;
    border: 1.5px solid rgba(7,9,4,0.14);
    border-radius: 12px;
    background: #fff;
  }
  :where(body) .form .form__submit {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 18px;
  }
  :where(body) .form .form__submit button { min-height: 54px; }
}

/* ─────────────────────────────────────────────────────────────────────────
   DESKTOP (≥1024px): keeps existing .form rules higher up in file
   We only enforce sane defaults that match mobile/tablet language.
   ───────────────────────────────────────────────────────────────────────── */
@media (min-width: 1024px) {
  :where(body) .form { padding: 32px; }
  :where(body) .form .form__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  :where(body) .form .field.full { grid-column: 1 / -1; }
}
