/* ============================================================
   Jackson Media Pro — JMP TV Mounting
   Bold blue / black / white redesign — cinematic, fast, no icons
   ============================================================ */

:root {
  --black: #0a0a0d;
  --black-soft: #17181d;
  --black-line: #26272e;
  --white: #ffffff;
  --paper: #f5f7fb;
  --blue: #1e4fd6;
  --blue-deep: #0f2f96;
  --blue-bright: #3b7dff;
  --blue-pale: #eaf0ff;
  --ink: #0c0e14;
  --muted: #4b5266;
  --muted-on-dark: #9aa2b8;
  --line: rgba(10, 10, 13, 0.12);
  --line-dark: rgba(255, 255, 255, 0.14);
  --shadow-card: 0 1px 2px rgba(10, 10, 13, 0.05), 0 16px 32px -16px rgba(10, 10, 13, 0.22);
  --shadow-card-hover: 0 2px 4px rgba(10, 10, 13, 0.06), 0 24px 44px -16px rgba(30, 79, 214, 0.28);
  --radius: 10px;
  --radius-sm: 8px;
  --font-display: "Archivo Black", "Inter", sans-serif;
  --font-heading: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sticky-bar-h: 72px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
html::-webkit-scrollbar { display: none; width: 0; height: 0; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  padding-bottom: var(--sticky-bar-h);
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
body::-webkit-scrollbar { display: none; width: 0; height: 0; }

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

a { color: inherit; }

::selection { background: var(--blue); color: var(--white); }

/* ---------- Type scale (mobile-first) ---------- */
h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.3rem, 8.5vw, 4.4rem); font-weight: 900; }
h2 { font-size: clamp(1.75rem, 5.5vw, 2.75rem); }
h3 { font-size: 1.15rem; line-height: 1.3; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 0.9rem;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; background: var(--blue-bright); flex: none; }
.on-dark .eyebrow { color: var(--blue-bright); }
.on-light .eyebrow, section:not(.on-dark) .eyebrow { color: var(--blue); }
.on-light .eyebrow::before, section:not(.on-dark) .eyebrow::before { background: var(--blue); }

.section-intro { color: var(--muted); max-width: 34rem; margin-top: 0.9rem; font-size: 1.02rem; }
.on-dark .section-intro { color: var(--white); }

/* Services & Pricing intro: no accent dash, centered block */
#services .eyebrow::before { display: none; }
#services > .wrap > .reveal:first-child { text-align: center; }
#services > .wrap > .reveal:first-child .section-intro { margin-inline: auto; }

/* Beyond the Wall Mount (custom setup): no accent dash, whole section centered */
#custom {
  position: relative;
  background:
    radial-gradient(1100px 560px at 12% -10%, rgba(59, 125, 255, 0.16), transparent 60%),
    radial-gradient(900px 520px at 105% 15%, rgba(30, 79, 214, 0.14), transparent 55%),
    radial-gradient(760px 520px at 50% 118%, rgba(59, 125, 255, 0.10), transparent 60%),
    var(--paper);
}
#custom .eyebrow::before { display: none; }
#custom > .wrap { text-align: center; }
#custom .section-intro { margin-inline: auto; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 1.25rem; }
section { padding: 4rem 0; }
@media (min-width: 900px) { section { padding: 6.5rem 0; } }

.on-dark { background: var(--black); color: var(--white); }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0.9rem 1.7rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

/* Neon glow lines: thin gradient accents along the top/bottom edges,
   fading in on hover — recreated from the neon-button reference component. */
.btn::before, .btn::after {
  content: "";
  position: absolute;
  left: 12.5%; right: 12.5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue-bright), transparent);
  opacity: 0;
  transition: opacity 500ms ease-in-out;
  pointer-events: none;
}
.btn::before { top: 0; }
.btn::after { bottom: 0; }
.btn:hover::before { opacity: 1; }
.btn:hover::after { opacity: 0.3; }

.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 10px 24px -8px rgba(30, 79, 214, 0.55); }
.btn-primary:hover { background: var(--blue-deep); transform: translateY(-2px); box-shadow: 0 14px 28px -8px rgba(30, 79, 214, 0.65); }

.btn-outline-light { border-color: rgba(255, 255, 255, 0.4); color: var(--white); background: transparent; }
.btn-outline-light:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); transform: translateY(-2px); }

.btn-outline-dark { border-color: rgba(10, 10, 13, 0.25); color: var(--ink); background: transparent; }
.btn-outline-dark:hover { border-color: var(--ink); background: rgba(10, 10, 13, 0.05); transform: translateY(-2px); }

.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: var(--black-soft); transform: translateY(-2px); }

.btn-white { background: var(--white); color: var(--blue); }
.btn-white:hover { background: var(--blue-pale); transform: translateY(-2px); }

.btn:active { transform: scale(0.96); }

.btn:focus-visible, a:focus-visible, button:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--blue-bright);
  outline-offset: 2px;
}

/* ---------- Scroll progress bar ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 70;
  background: transparent;
  pointer-events: none;
}
.scroll-progress-fill {
  height: 100%; width: 0%;
  background: var(--blue);
  transition: width 80ms linear;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 220ms ease;
}
.site-header.scrolled { box-shadow: 0 8px 24px -16px rgba(10, 10, 13, 0.25); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
  padding: 0.5rem 1.25rem;
  max-width: 1160px;
  margin: 0 auto;
  transition: min-height 220ms ease;
}
.site-header.scrolled .header-inner { min-height: 54px; }
.site-header.scrolled .brand-mark { width: 32px; height: 32px; transition: width 220ms ease, height 220ms ease; }
.brand {
  display: flex; align-items: center; gap: 0.65rem;
  text-decoration: none; color: var(--ink);
}
.brand-mark {
  width: 36px; height: 36px; flex: none;
  display: grid; place-items: center;
  border-radius: 6px;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 400; font-size: 0.9rem;
}
.brand-name { font-weight: 800; font-size: 1rem; line-height: 1.15; white-space: nowrap; letter-spacing: -0.01em; }
@media (max-width: 420px) { .brand-name { font-size: 0.88rem; } .brand-sub { font-size: 0.58rem; } }
.brand-sub { display: block; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); }

.header-actions { display: flex; align-items: center; gap: 0.6rem; }
.header-actions .btn { min-height: 44px; padding: 0.5rem 1.1rem; font-size: 0.9rem; }
.header-call-label { display: none; }
.header-call-mobile { display: inline; }
@media (min-width: 640px) {
  .header-call-label { display: inline; }
  .header-call-mobile { display: none; }
}
@media (max-width: 420px) {
  .header-inner { padding: 0.5rem 0.9rem; gap: 0.5rem; }
  .header-actions { gap: 0.4rem; }
  .header-actions .btn { padding: 0.5rem 0.75rem; font-size: 0.86rem; }
}

/* ---------- Hero — full-bleed photo background, full viewport height ---------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  color: var(--white);
  padding: 6.5rem 0 3.5rem;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
  animation: heroDrift 24s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  0% { transform: scale(1.04) translate(0, 0); }
  100% { transform: scale(1.1) translate(-1%, 0.5%); }
}
.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background: rgba(10, 10, 13, 0.1);
}

.hero-inner { position: relative; z-index: 2; width: 100%; }
.hero-copy { max-width: 36rem; text-align: center; margin-inline: auto; }
.hero h1 {
  margin: 0 0 1.2rem; text-transform: uppercase; color: var(--white);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.55), 0 1px 3px rgba(0, 0, 0, 0.6);
}
.accent { color: var(--blue); }
.hero .accent { color: var(--blue-bright); }
.hero-sub {
  font-size: 1.1rem; color: var(--white); max-width: 30rem; margin-inline: auto;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6);
}
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; margin-top: 1.9rem; }
.hero-ctas .btn { flex: 1 1 auto; }
@media (min-width: 640px) { .hero-ctas .btn { flex: 0 1 auto; } }

.hero-proof {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem 1.7rem;
  margin-top: 2.2rem; padding-top: 1.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  font-size: 0.92rem; color: var(--white);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
}
.hero-proof li { list-style: none; display: flex; align-items: center; gap: 0.6rem; }
.hero-proof li::before { content: ""; width: 8px; height: 8px; background: var(--blue-bright); flex: none; }
@media (max-width: 899px) {
  .hero-proof li::before { display: none; }
}

@media (min-width: 900px) {
  .hero-copy { text-align: left; margin-inline: 0; }
  .hero-sub { margin-inline: 0; }
  .hero-ctas { justify-content: flex-start; }
  .hero-proof { justify-content: flex-start; }

  /* Pin hero text exactly 40px from the true viewport edge, breaking out
     of the centered .wrap max-width used elsewhere on the page. */
  .hero .hero-inner {
    max-width: none;
    margin-left: 0;
    padding-left: 40px;
  }
}

/* ---------- Scroll-triggered reveals ----------
   No default hidden state here on purpose: Motion (script.js, via vendor/motion.min.js)
   sets the hidden starting state and animates inline, so no-JS visitors and any edge
   case where Motion fails to load still see full content immediately (progressive
   enhancement — see REDESIGN-PLAN.md). */

/* ---------- Service cards ---------- */
.cards { display: grid; gap: 1.1rem; margin-top: 2.4rem; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(3, 1fr); } }

.card {
  display: flex; flex-direction: column;
  position: relative;
  background: linear-gradient(165deg, #ffffff 0%, #f5f8fd 55%, #eef2fb 100%);
  border: 1px solid rgba(10, 10, 13, 0.07);
  border-radius: var(--radius);
  padding: 1.7rem 1.4rem 1.4rem;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 -14px 24px -20px rgba(10, 10, 13, 0.15) inset,
    var(--shadow-card);
  overflow: hidden;
  transition: box-shadow 260ms ease, border-color 260ms ease, transform 260ms ease;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; z-index: 1;
  background: linear-gradient(90deg, var(--blue-deep), var(--blue-bright));
  border-radius: var(--radius) var(--radius) 0 0;
}
.card::after {
  /* diagonal glass sheen */
  content: ""; position: absolute; top: -55%; left: -25%;
  width: 75%; height: 140%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0) 65%);
  transform: rotate(10deg);
  pointer-events: none;
}
.card:hover {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 -14px 24px -20px rgba(10, 10, 13, 0.15) inset,
    var(--shadow-card-hover);
  border-color: rgba(30, 79, 214, 0.35);
  transform: translateY(-6px);
}

.card-featured {
  background: linear-gradient(165deg, #1c1e26 0%, #101116 55%, #000000 100%);
  color: var(--white);
  border-color: rgba(59, 125, 255, 0.4);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 -14px 30px -20px rgba(0, 0, 0, 0.7) inset,
    0 24px 50px -18px rgba(15, 47, 150, 0.55);
}
.card-featured::before { background: linear-gradient(90deg, var(--blue), var(--blue-bright)); }
.card-featured::after { background: linear-gradient(120deg, rgba(59, 125, 255, 0.35), rgba(59, 125, 255, 0) 65%); }
.card-featured:hover {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 -14px 30px -20px rgba(0, 0, 0, 0.7) inset,
    0 30px 60px -16px rgba(15, 47, 150, 0.65);
  border-color: rgba(59, 125, 255, 0.6);
}
.card-featured .card-desc, .card-featured .card-meta { color: var(--muted-on-dark); }
.card-featured .card-price { color: var(--white); }

.card-tag {
  align-self: flex-start;
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--white);
  background: var(--blue);
  border-radius: 4px;
  padding: 0.28rem 0.65rem;
  margin-bottom: 1rem;
}
.card h3 { margin-bottom: 0.4rem; font-size: 1.2rem; }
.card-size { font-size: 0.88rem; font-weight: 700; color: var(--blue); }
.card-featured .card-size { color: var(--blue-bright); }
.card-desc { font-size: 0.94rem; color: var(--muted); margin-top: 0.6rem; }

.card-meta {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.85rem; font-weight: 600; color: var(--muted);
  margin-top: 1rem;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.card-meta::before { content: ""; width: 6px; height: 6px; background: var(--muted); flex: none; }
.card-featured .card-meta::before { background: var(--muted-on-dark); }

.card-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 0.8rem;
  margin-top: auto; padding-top: 1.3rem;
}
.card-price { font-family: var(--font-heading); font-size: 2.1rem; font-weight: 900; color: var(--ink); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.card-featured .card-price { color: var(--white); }
.card-price span:not(.price-num) { font-family: var(--font-body); font-size: 0.76rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); display: block; line-height: 1; margin-top: 0.25rem; }
.card-featured .card-price span:not(.price-num) { color: var(--muted-on-dark); }
.card .btn { min-height: 46px; padding: 0.6rem 1.2rem; font-size: 0.88rem; }

/* ---------- Custom setup — glass tiles with gradient icon badges ---------- */
.tile-grid {
  display: grid; gap: 1.1rem;
  margin: 2.2rem 0 2.3rem;
  text-align: left;
}
@media (min-width: 640px) { .tile-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tile-grid { grid-template-columns: repeat(3, 1fr); } }

.tile {
  position: relative;
  display: flex; flex-direction: column; gap: 0.85rem;
  padding: 1.5rem 1.3rem;
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.4));
  border: 1px solid rgba(255, 255, 255, 0.65);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.75) inset,
    0 18px 40px -22px rgba(15, 47, 150, 0.35);
  overflow: hidden;
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease, background 240ms ease;
}
.tile::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), transparent);
}
.tile:hover {
  transform: translateY(-6px);
  border-color: rgba(59, 125, 214, 0.5);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.5));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 28px 54px -20px rgba(15, 47, 150, 0.48);
}

.tile-icon {
  width: 52px; height: 52px; flex: none;
  display: grid; place-items: center;
  border-radius: 15px;
  background: linear-gradient(165deg, var(--blue-bright) 0%, var(--blue) 55%, var(--blue-deep) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.4) inset,
    0 10px 22px -8px rgba(30, 79, 214, 0.55);
  color: var(--white);
}
.tile-icon svg { width: 26px; height: 26px; }

.tile-name { font-weight: 800; font-size: 1rem; color: var(--ink); letter-spacing: -0.01em; }
.tile-desc { font-size: 0.87rem; color: var(--muted); line-height: 1.5; }

/* ---------- How it works ---------- */
.steps { display: grid; gap: 1.1rem; margin-top: 2.4rem; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  position: relative;
  background: linear-gradient(160deg, #ffffff 0%, var(--paper) 100%);
  border-radius: var(--radius);
  padding: 1.8rem 1.4rem 1.6rem;
  border-left: 4px solid var(--blue);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, var(--shadow-card);
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.step:hover { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, var(--shadow-card-hover); }
.step-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 1rem;
  display: block;
}
.step h3 { margin-bottom: 0.45rem; }
.step p { font-size: 0.94rem; color: var(--muted); }

/* ---------- Guided form ---------- */
.form-shell {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow-card);
  padding: 1.7rem 1.3rem;
  margin-top: 2.4rem;
  max-width: 760px;
}
@media (min-width: 700px) { .form-shell { padding: 2.5rem 2.6rem; } }

.form-progress { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1.9rem; }
.form-progress-bar { flex: 1; height: 4px; background: var(--line); overflow: hidden; }
.form-progress-fill { height: 100%; width: 25%; background: var(--blue); transition: width 320ms ease; }
.form-progress-label { font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); white-space: nowrap; }

fieldset.form-step { border: none; min-width: 0; }
legend.form-step-title { padding: 0; }

.form-step { display: none; }
.form-step.active { display: block; animation: stepIn 280ms ease; }
@keyframes stepIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.form-step-title { font-family: var(--font-heading); font-weight: 800; font-size: 1.4rem; margin-bottom: 0.35rem; letter-spacing: -0.01em; }
.form-step-sub { font-size: 0.92rem; color: var(--muted); margin-bottom: 1.5rem; }

.field { margin-bottom: 1.2rem; }
.field-row { display: grid; gap: 1.2rem; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }

label, .field-label { display: block; font-size: 0.86rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 0.5rem; color: var(--ink); }
.optional { font-weight: 400; text-transform: none; letter-spacing: normal; color: var(--muted); font-size: 0.82rem; }

input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.8rem 1rem;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 160ms ease;
  -webkit-appearance: none;
  appearance: none;
}
textarea { min-height: 110px; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: rgba(10, 10, 13, 0.3); }
input:focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--blue); }
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%230a0a0d' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.6rem;
}

/* Tap-friendly option tags (radio/checkbox) — rectangular, bold */
.opt-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.opt {
  position: relative;
  display: inline-flex; align-items: center;
  min-height: 46px;
  padding: 0.55rem 1.1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.9rem; font-weight: 600;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
  -webkit-tap-highlight-color: transparent;
}
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt:hover { border-color: var(--blue); }
.opt:has(input:checked) { background: var(--black); border-color: var(--black); color: var(--white); }
.opt:has(input:focus-visible) { outline: 3px solid var(--blue-bright); outline-offset: 2px; }

.upload {
  display: flex; align-items: center; justify-content: center;
  border: 1.5px dashed rgba(10, 10, 13, 0.3);
  border-radius: var(--radius-sm);
  padding: 1.1rem;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease;
  font-size: 0.9rem; font-weight: 700; color: var(--blue);
  text-transform: uppercase; letter-spacing: 0.03em;
  text-align: center;
}
.upload:hover { border-color: var(--blue); background: var(--blue-pale); }
.upload input { display: none; }

.form-nav { display: flex; justify-content: space-between; gap: 0.8rem; margin-top: 1.9rem; }
.form-nav .btn { flex: 1; }
@media (min-width: 560px) { .form-nav .btn { flex: 0 1 auto; min-width: 150px; } }

.form-error { display: none; font-size: 0.88rem; font-weight: 600; color: #b3261e; margin-top: 0.9rem; }
.form-error.show { display: block; }

.form-success { display: none; text-align: center; padding: 2rem 0.5rem; }
.form-success.show { display: block; animation: stepIn 280ms ease; }
.form-success-mark {
  width: 56px; height: 56px; margin: 0 auto 1.2rem;
  background: var(--blue); border-radius: 6px;
  display: grid; place-items: center;
}
.form-success-mark::before { content: "✓"; color: var(--white); font-size: 1.7rem; font-weight: 900; }
.form-success h3 { font-size: 1.55rem; margin-bottom: 0.65rem; }
.form-success p { color: var(--muted); max-width: 26rem; margin: 0 auto 0.4rem; }

/* ---------- FAQ ---------- */
.faq-list { margin-top: 2.1rem; max-width: 760px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  width: 100%;
  min-height: 64px;
  padding: 1.15rem 0.2rem;
  background: none; border: none;
  font: inherit; font-weight: 700; font-size: 1.05rem; text-align: left;
  color: var(--ink);
  cursor: pointer;
}
.faq-mark { position: relative; width: 18px; height: 18px; flex: none; }
.faq-mark::before, .faq-mark::after {
  content: ""; position: absolute; background: var(--blue);
  transition: transform 220ms ease, opacity 220ms ease;
}
.faq-mark::before { top: 50%; left: 0; width: 100%; height: 2.5px; transform: translateY(-50%); }
.faq-mark::after { left: 50%; top: 0; height: 100%; width: 2.5px; transform: translateX(-50%); }
.faq-item.open .faq-mark::after { opacity: 0; transform: translateX(-50%) rotate(90deg); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height 280ms ease; }
.faq-a p { padding: 0 0.2rem 1.3rem; color: var(--muted); font-size: 0.97rem; max-width: 40rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 1.1rem; margin-top: 2.4rem; }
@media (min-width: 800px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-card {
  position: relative;
  background: linear-gradient(165deg, #ffffff 0%, #f5f8fd 55%, #eef2fb 100%);
  border: 1px solid rgba(10, 10, 13, 0.07);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, var(--shadow-card);
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, var(--shadow-card-hover); }
.contact-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; z-index: 1;
  background: linear-gradient(90deg, var(--blue-deep), var(--blue-bright)); border-radius: var(--radius) var(--radius) 0 0;
}
.contact-tag {
  display: inline-block;
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 0.9rem;
}
.contact-card h3 { font-size: 1.08rem; margin-bottom: 0.4rem; }
.contact-card p, .contact-card a { font-size: 0.95rem; color: var(--muted); text-decoration: none; }
.contact-card a { font-weight: 700; color: var(--ink); }
.contact-card a:hover { color: var(--blue); }
.hours { list-style: none; font-size: 0.95rem; color: var(--muted); }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.18rem 0; }
.hours span:last-child { font-weight: 700; color: var(--ink); }

/* ---------- Final CTA band ---------- */
.cta-band { text-align: center; }
.cta-band.on-dark { background: var(--blue); }
.cta-band h2 { max-width: 22ch; margin: 0 auto; text-transform: uppercase; }
.cta-band p { margin: 1rem auto 0; }
.cta-band .hero-ctas { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black);
  color: var(--muted-on-dark);
  padding: 3.2rem 0 2.2rem;
  font-size: 0.9rem;
  border-top: 3px solid var(--blue);
}
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-brand .brand-name { color: var(--white); }
.footer-tagline { margin-top: 0.9rem; max-width: 26rem; }
.footer-col h4 { color: var(--white); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col ul { list-style: none; }
.footer-col li { padding: 0.24rem 0; }
.footer-col a { text-decoration: none; transition: color 160ms ease; }
.footer-col a:hover { color: var(--blue-bright); }
.footer-legal {
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; justify-content: space-between;
  margin-top: 2.6rem; padding-top: 1.6rem;
  border-top: 1px solid var(--line-dark);
  font-size: 0.82rem;
}
.footer-legal a { text-decoration: none; }
.footer-legal a:hover { color: var(--blue-bright); }

/* ---------- Sticky mobile CTA bar ---------- */
.sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 60;
  display: flex; gap: 0.6rem;
  padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom));
  background: rgba(10, 10, 13, 0.97);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line-dark);
  transform: translateY(100%);
  animation: stickyIn 380ms 150ms cubic-bezier(.2,.7,.3,1) forwards;
}
@keyframes stickyIn { to { transform: translateY(0); } }
.sticky-cta .btn { flex: 1; min-height: 50px; font-size: 0.92rem; padding: 0.6rem 0.5rem; }
@media (min-width: 900px) {
  .sticky-cta { display: none; }
  body { padding-bottom: 0; }
}

/* ---------- Sub-page hero ---------- */
.page-hero { padding: 3.5rem 0; }
.page-hero h1 { font-size: clamp(2rem, 7vw, 3.2rem); margin-top: 1rem; text-transform: uppercase; }
.page-hero p { margin-top: 1rem; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg img { animation: none; }
  .form-step.active, .form-success.show { animation: none; }
  .sticky-cta { animation: none; transform: none; }
  .btn:active { transform: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
