/* ============================================================
   10namo — Dark premium marketing site styles
   ============================================================ */
@import url("assets/colors_and_type.css");

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--fg);
  transition: background 320ms var(--ease-out), color 320ms var(--ease-out);
  overflow-x: hidden;
}

/* ---------- Theme variables (dark default, light override) ---------- */
:root {
  --bg: #0a1424;
  --bg-1: #0f1d33;
  --bg-2: #15263f;
  --bg-3: #1d334e;
  --fg: #f4f7fc;
  --fg-muted: rgba(244, 247, 252, 0.7);
  --fg-subtle: rgba(244, 247, 252, 0.5);
  --line: rgba(191, 206, 230, 0.14);
  --line-strong: rgba(191, 206, 230, 0.26);
  --accent: var(--brand-yellow);
  --accent-glow: 0 0 60px rgba(250, 207, 57, 0.35), 0 0 20px rgba(250, 207, 57, 0.45);
  --card: linear-gradient(180deg, rgba(29, 51, 78, 0.72) 0%, rgba(15, 29, 51, 0.72) 100%);
  --card-hover: linear-gradient(180deg, rgba(42, 69, 106, 0.85) 0%, rgba(21, 38, 63, 0.85) 100%);
}
body[data-theme="light"] {
  --bg: #f6f8fb;
  --bg-1: #ffffff;
  --bg-2: #eef2f8;
  --bg-3: var(--brand-sky);
  --fg: var(--brand-navy);
  --fg-muted: #475569;
  --fg-subtle: #64748b;
  --line: #dde4ef;
  --line-strong: #c4cfdf;
  --card: #ffffff;
  --card-hover: #ffffff;
  --accent-glow: 0 0 0 transparent;
}

/* ---------- Ambient atmosphere (dark) ---------- */
.atmosphere {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  overflow: hidden;
}
.atmosphere::before, .atmosphere::after {
  content: ""; position: absolute; border-radius: 50%;
  filter: blur(120px); opacity: 0.55;
}
.atmosphere::before {
  top: -200px; left: -150px; width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(250, 207, 57, 0.22), transparent 70%);
}
.atmosphere::after {
  top: 400px; right: -200px; width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(56, 88, 131, 0.55), transparent 70%);
}
body[data-theme="light"] .atmosphere { display: none; }

/* ---------- Container ---------- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 1; }

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  border: none;
  border-radius: 12px;
  padding: 13px 22px;
  cursor: pointer;
  transition: all 200ms var(--ease-out);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}
.btn--accent {
  background: var(--brand-yellow);
  color: var(--brand-navy);
  box-shadow: var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.4);
}
.btn--accent:hover { background: #fde060; transform: translateY(-1px); }
.btn--accent:active { transform: translateY(0); }
.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--fg);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255,255,255,0.4); }
body[data-theme="light"] .btn--ghost { background: #fff; color: var(--brand-navy); border-color: var(--line-strong); }
.btn--lg { font-size: 16px; padding: 16px 28px; }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(250, 207, 57, 0.45); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 20, 36, 0.7);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
  transition: background 200ms;
}
body[data-theme="light"] .site-header {
  background: rgba(255, 255, 255, 0.85);
}
.site-header__inner {
  max-width: 1280px; margin: 0 auto;
  height: 76px; padding: 0 32px;
  display: flex; align-items: center; gap: 32px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark { width: 38px; height: 38px; display: block; object-fit: contain; }

/* Theme switch — uses the 10namo "switch" mark, rotated to indicate state */
.theme-switch {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  width: 56px; height: 40px;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0;
  transition: background 200ms var(--ease-out), border-color 200ms var(--ease-out);
}
body[data-theme="light"] .theme-switch { background: #fff; }
.theme-switch:hover { border-color: var(--accent); background: rgba(250, 207, 57, 0.08); }
.theme-switch img {
  width: 30px; height: 30px;
  display: block;
  transition: transform 320ms var(--ease-spring);
}
.theme-switch[data-on="on"] img { transform: rotate(180deg); }
.theme-switch:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(250, 207, 57, 0.45); }
.brand__name {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.brand__name b {
  background: linear-gradient(90deg, #fbb040, #f9ed32);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
body[data-theme="light"] .brand__name b {
  background: none;
  -webkit-background-clip: initial; background-clip: initial;
  color: var(--brand-navy);
}

/* Footer brand override — footer stays navy in both themes,
   so the wordmark uses brand-sky in light mode for charte compliance */
.brand__name--footer { color: #fff; }
.brand__name--footer b {
  background: linear-gradient(90deg, #fbb040, #f9ed32);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
body[data-theme="light"] .brand__name--footer { color: var(--brand-sky); }
body[data-theme="light"] .brand__name--footer b {
  background: none;
  -webkit-background-clip: initial; background-clip: initial;
  color: var(--brand-sky);
}
.site-nav { display: flex; gap: 28px; flex: 1; justify-content: center; }
.site-nav a {
  text-decoration: none;
  font-size: 14px; font-weight: 500;
  color: var(--fg-muted);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: all 160ms var(--ease-out);
}
.site-nav a:hover { color: var(--fg); border-bottom-color: var(--accent); }
.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none; font-weight: 700;
  color: var(--fg); font-size: 14px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.header-phone__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #2ee07a; box-shadow: 0 0 8px #2ee07a;
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 88px 32px 120px;
  overflow: hidden;
}
.hero__inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 56px; align-items: center;
  position: relative; z-index: 2;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  padding: 8px 14px;
  border: 1px solid rgba(250, 207, 57, 0.3);
  border-radius: 999px;
  background: rgba(250, 207, 57, 0.06);
}
.hero__eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 8px var(--accent);
}
.hero__title {
  font-size: clamp(40px, 5.4vw, 72px);
  font-weight: 800; line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin: 0 0 24px;
}
.hero__title .accent {
  background: linear-gradient(90deg, #fbb040, #f9ed32 60%, #FACF39);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  position: relative;
}
.hero__lead {
  font-size: 18px; line-height: 1.6;
  color: var(--fg-muted);
  max-width: 560px; margin: 0 0 32px;
}
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.hero__trust {
  display: flex; gap: 24px; flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.trust-item { display: flex; align-items: center; gap: 10px; }
.trust-item__icon {
  width: 36px; height: 36px;
  background: rgba(250, 207, 57, 0.12);
  border: 1px solid rgba(250, 207, 57, 0.25);
  border-radius: 10px;
  display: grid; place-items: center;
  color: var(--accent);
}
.trust-item__text { font-size: 13px; line-height: 1.3; }
.trust-item__text b { display: block; color: var(--fg); font-weight: 700; }
.trust-item__text span { color: var(--fg-muted); font-size: 12px; }

/* ---------- Hero visual ---------- */
.hero__visual {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 620px;
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(250,207,57,0.25), transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(56,88,131,0.6), transparent 60%),
    linear-gradient(135deg, #15263f, #0a1424);
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.06);
}
.hero__visual::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, transparent 60%, rgba(10,20,36,0.6) 100%),
    url("https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=900&q=80") center/cover;
  opacity: 0.85; mix-blend-mode: luminosity;
}
.hero__visual::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,29,51,0) 30%, rgba(15,29,51,0.55) 100%);
}

/* Floating spec card on hero */
.hero-card {
  position: absolute; z-index: 3;
  background: rgba(10, 20, 36, 0.78);
  border: 1px solid rgba(250, 207, 57, 0.3);
  backdrop-filter: blur(20px);
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  color: #fff;
}
.hero-card--top {
  top: 28px; left: 28px;
  width: 220px;
}
.hero-card--bottom {
  bottom: 28px; right: 28px;
  width: 240px;
}
.hero-card__label {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); font-weight: 700;
  margin-bottom: 8px;
}
.hero-card__title { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.hero-card__sub { font-size: 12px; color: rgba(255,255,255,0.65); line-height: 1.4; }
.hero-card__big {
  font-size: 32px; font-weight: 800; line-height: 1;
  font-variant-numeric: tabular-nums;
  margin-bottom: 4px;
}
.hero-card__big .unit { font-size: 14px; color: var(--accent); margin-left: 4px; font-weight: 600; }

.hero__wave {
  position: absolute; left: -5%; right: -5%; bottom: -1px;
  z-index: 1; pointer-events: none;
  opacity: 0.5;
}
.hero__wave svg, .hero__wave img { width: 110%; display: block; }

/* ---------- Section base ---------- */
.section { position: relative; padding: 120px 32px; z-index: 1; }
.section--alt { background: var(--bg-1); }
.section__head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.section__eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section__title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800; line-height: 1.05;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
  text-wrap: balance;
  letter-spacing: -0.025em;
  color: var(--fg);
  margin: 0 0 16px;
}
.section__lead {
  font-size: 18px; line-height: 1.6;
  color: var(--fg-muted);
  margin: 0;
}

/* ---------- Reassurance strip ---------- */
.reassure {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
  overflow: hidden;
  backdrop-filter: blur(8px);
}
.reassure__item {
  padding: 36px 28px;
  border-right: 1px solid var(--line);
  position: relative;
}
.reassure__item:last-child { border-right: none; }
.reassure__num {
  font-size: 48px; font-weight: 800; line-height: 1;
  letter-spacing: -0.03em;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
  margin-bottom: 8px;
  display: flex; align-items: baseline; gap: 4px;
}
.reassure__num .unit { font-size: 22px; color: var(--accent); font-weight: 700; }
.reassure__label {
  font-size: 14px; color: var(--fg-muted);
  line-height: 1.4;
}

/* ---------- Services grid ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.services--four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) {
  .services--four { grid-template-columns: repeat(2, 1fr); }
}
.service {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 28px;
  background: var(--card);
  backdrop-filter: blur(8px);
  transition: all 280ms var(--ease-out);
  overflow: hidden;
  cursor: pointer;
}
.service::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(250, 207, 57, 0.15), transparent 60%);
  opacity: 0; transition: opacity 280ms;
  pointer-events: none;
}
.service:hover { transform: translateY(-4px); border-color: rgba(250, 207, 57, 0.4); }
.service:hover::before { opacity: 1; }
.service--featured {
  background: linear-gradient(165deg, rgba(250, 207, 57, 0.16) 0%, rgba(29, 51, 78, 0.4) 60%);
  border-color: rgba(250, 207, 57, 0.3);
}
.service__icon {
  width: 56px; height: 56px;
  background: rgba(250, 207, 57, 0.12);
  border: 1px solid rgba(250, 207, 57, 0.3);
  border-radius: 14px;
  display: grid; place-items: center;
  color: var(--accent);
  margin-bottom: 24px;
  position: relative;
}
.service--featured .service__icon {
  background: var(--accent); color: var(--brand-navy);
  box-shadow: 0 0 30px rgba(250, 207, 57, 0.5);
}
.service__title {
  font-size: 22px; font-weight: 700;
  color: var(--fg);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.service__body {
  font-size: 14px; line-height: 1.6;
  color: var(--fg-muted);
  margin: 0 0 20px;
}
.service__list {
  list-style: none; padding: 0; margin: 0 0 20px;
  display: flex; flex-direction: column; gap: 8px;
}
.service__list li {
  font-size: 13px; color: var(--fg);
  padding-left: 22px; position: relative;
}
.service__list li::before {
  content: ""; position: absolute; left: 0; top: 5px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: inset 0 0 0 4px var(--bg-1);
}
body[data-theme="light"] .service__list li::before { box-shadow: inset 0 0 0 4px #fff; }
.service__more {
  font-size: 13px; font-weight: 700; color: var(--accent);
  display: inline-flex; align-items: center; gap: 6px;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 200ms;
}
.service:hover .service__more { border-bottom-color: var(--accent); }

/* Audience toggle */
.audience-toggle {
  display: inline-flex;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  margin-top: 24px;
}
body[data-theme="light"] .audience-toggle { background: var(--bg-2); }
.audience-toggle button {
  background: transparent; border: none; cursor: pointer;
  padding: 9px 22px;
  border-radius: 999px;
  font-family: var(--font-sans); font-weight: 600; font-size: 13px;
  color: var(--fg-muted);
  transition: all 200ms var(--ease-out);
}
.audience-toggle button.is-on {
  background: var(--accent); color: var(--brand-navy);
  box-shadow: 0 4px 12px rgba(250, 207, 57, 0.3);
}

/* ---------- Binôme / About ---------- */
.binome {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.binome__visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, #1d334e 0%, #0a1424 100%);
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 60px -20px rgba(10,20,36,0.45);
}
.binome__photo {
  position: absolute; inset: 0;
  background:
    url("https://images.unsplash.com/photo-1621905251189-08b45d6a269e?w=900&q=80") center/cover;
  opacity: 0.85;
  mix-blend-mode: luminosity;
}
.binome__photo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,20,36,0.15) 0%, transparent 35%, rgba(10,20,36,0.65) 100%);
}
.binome__badge {
  position: absolute; bottom: 24px; left: 24px;
  background: rgba(10,20,36,0.85);
  border: 1px solid rgba(250, 207, 57, 0.3);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 16px 20px;
  display: flex; align-items: center; gap: 14px;
  color: #fff;
}
.binome__badge-icon {
  width: 44px; height: 44px;
  background: var(--accent); border-radius: 12px;
  display: grid; place-items: center;
  color: var(--brand-navy);
  font-weight: 800;
  flex-shrink: 0;
}
.binome__badge b { font-size: 14px; display: block; }
.binome__badge span { font-size: 12px; color: rgba(255,255,255,0.65); }
.binome__content h2 {
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 800; line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--fg);
  margin: 0 0 20px;
}
.binome__content p {
  font-size: 17px; line-height: 1.65;
  color: var(--fg-muted);
  margin: 0 0 16px;
  text-wrap: pretty;
}
.binome__roles {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; margin-top: 32px;
}
.binome__role {
  border: 1px solid var(--line);
  border-radius: 16px; padding: 20px;
  background: rgba(255,255,255,0.03);
}
body[data-theme="light"] .binome__role { background: var(--bg-1); }
.binome__role-tag {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 10px;
}
.binome__role h4 { font-size: 17px; font-weight: 700; margin: 0 0 6px; color: var(--fg); }
.binome__role p { font-size: 13px; line-height: 1.5; color: var(--fg-muted); margin: 0; }

/* ---------- Map / Zone ---------- */
.zone-wrap {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: center;
}
.zone__list { display: flex; flex-direction: column; gap: 4px; margin-top: 28px; }
.zone__item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,0.02);
  cursor: pointer;
  transition: all 200ms var(--ease-out);
}
.zone__item:hover, .zone__item.is-active {
  border-color: var(--accent);
  background: rgba(250, 207, 57, 0.06);
}
.zone__item-pin {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--accent);
  display: grid; place-items: center;
  color: var(--brand-navy);
  flex-shrink: 0;
  font-size: 14px;
}
.zone__item-name { flex: 1; font-weight: 600; color: var(--fg); font-size: 15px; }
.zone__item-meta { font-size: 12px; color: var(--fg-muted); font-variant-numeric: tabular-nums; }

.zone__map {
  position: relative;
  aspect-ratio: 1;
  border-radius: 24px;
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  overflow: hidden;
  padding: 32px;
}
.zone__map svg { width: 100%; height: 100%; }

/* ---------- Quote form section ---------- */
.quote-section {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(250, 207, 57, 0.12), transparent 50%),
    radial-gradient(ellipse at 100% 100%, rgba(56, 88, 131, 0.4), transparent 50%),
    var(--bg-1);
}
.quote-card {
  max-width: 920px; margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  padding: 48px;
  box-sizing: border-box;
  overflow-x: hidden;
  min-width: 0;
  backdrop-filter: blur(12px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}
.quote-stepper {
  display: flex; gap: 8px; margin-bottom: 32px;
}
.quote-step {
  flex: 1; height: 4px; border-radius: 2px;
  background: var(--line);
  position: relative;
}
.quote-step.is-on { background: var(--accent); }
.quote-step.is-done { background: var(--accent); opacity: 0.5; }
.quote-step__label {
  position: absolute; top: 12px; left: 0;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--fg-subtle);
  white-space: nowrap;
}
.quote-step.is-on .quote-step__label { color: var(--accent); }

.quote-step-content { padding-top: 36px; }
.field-label {
  display: block; font-size: 12px; font-weight: 700;
  color: var(--fg); margin: 0 0 8px;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.field {
  width: 100%; box-sizing: border-box;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.03);
  color: var(--fg);
  font-family: var(--font-sans); font-size: 15px;
  margin-bottom: 16px;
  transition: all 200ms var(--ease-out);
}
body[data-theme="light"] .field { background: #fff; }
.field::placeholder { color: var(--fg-subtle); }
.field:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(250, 207, 57, 0.25); }
textarea.field { resize: vertical; min-height: 100px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.option-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 16px;
  min-width: 0;
}
.option-card {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 20px;
  border: 1.5px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(255,255,255,0.02);
  cursor: pointer;
  text-align: left;
  font-family: var(--font-sans);
  color: var(--fg);
  transition: all 200ms var(--ease-out);
  display: flex; gap: 14px; align-items: center;
}
body[data-theme="light"] .option-card { background: #fff; }
.option-card:hover { border-color: var(--accent); }
.option-card.is-on {
  border-color: var(--accent);
  background: rgba(250, 207, 57, 0.1);
  box-shadow: 0 0 0 3px rgba(250, 207, 57, 0.18);
}
.option-card__icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(250, 207, 57, 0.15);
  color: var(--accent);
  display: grid; place-items: center; flex-shrink: 0;
}
.option-card.is-on .option-card__icon { background: var(--accent); color: var(--brand-navy); }
.option-card__title { font-weight: 700; font-size: 14px; display: block; margin-bottom: 2px; overflow-wrap: anywhere; }
.option-card__sub { font-size: 12px; color: var(--fg-muted); overflow-wrap: anywhere; }

.quote-actions {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 32px; padding-top: 24px;
  border-top: 1px solid var(--line);
}
.quote-success {
  text-align: center; padding: 32px 0;
}
.quote-success__check {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--accent); color: var(--brand-navy);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 0 60px rgba(250, 207, 57, 0.5);
}
.quote-success h3 { font-size: 28px; font-weight: 800; color: var(--fg); margin: 0 0 12px; }
.quote-success p { font-size: 16px; color: var(--fg-muted); max-width: 480px; margin: 0 auto; }

/* ---------- Emergency floating button ---------- */
.emergency-fab {
  position: fixed; bottom: 24px; right: 24px;
  z-index: 80;
  background: #d44a3a;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 14px 22px;
  font-family: var(--font-sans); font-weight: 700; font-size: 14px;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 10px;
  box-shadow: 0 10px 30px rgba(212, 74, 58, 0.5), 0 0 0 0 rgba(212, 74, 58, 0.4);
  transition: all 200ms var(--ease-out);
  animation: fab-pulse 2.4s infinite;
}
@keyframes fab-pulse {
  0% { box-shadow: 0 10px 30px rgba(212, 74, 58, 0.5), 0 0 0 0 rgba(212, 74, 58, 0.6); }
  100% { box-shadow: 0 10px 30px rgba(212, 74, 58, 0.5), 0 0 0 24px rgba(212, 74, 58, 0); }
}
.emergency-fab:hover { transform: translateY(-2px); }

/* Modal */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(5, 12, 23, 0.7);
  backdrop-filter: blur(8px);
  display: grid; place-items: center;
  padding: 24px;
  animation: fade 200ms ease-out;
}
@keyframes fade { from { opacity: 0; } }
.modal {
  background: var(--bg-1);
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  width: 480px; max-width: 100%;
  padding: 36px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6);
  animation: pop 240ms var(--ease-spring);
  text-align: center;
}
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(0.96); } }
.modal__close {
  position: absolute; top: 20px; right: 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line);
  width: 36px; height: 36px; border-radius: 999px;
  color: var(--fg); cursor: pointer;
  font-size: 18px;
}
.modal__icon {
  width: 64px; height: 64px;
  background: rgba(212, 74, 58, 0.15);
  border: 1px solid rgba(212, 74, 58, 0.3);
  color: #d44a3a;
  border-radius: 999px;
  display: inline-grid; place-items: center;
  margin-bottom: 20px;
}
.modal h3 { font-size: 24px; font-weight: 800; color: var(--fg); margin: 0 0 12px; }
.modal p { font-size: 15px; color: var(--fg-muted); margin: 0 0 24px; line-height: 1.5; }
.modal__phone {
  display: block;
  font-size: 32px; font-weight: 800;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  margin: 0 0 12px;
  letter-spacing: 0.02em;
}
.modal__phone:hover { color: var(--accent); text-decoration: underline; }
.modal__hours { font-size: 13px; color: var(--fg-subtle); }

/* ---------- Footer ---------- */
.site-footer {
  background: #050c17;
  color: rgba(244, 247, 252, 0.7);
  position: relative;
  padding-top: 0;
  border-top: 1px solid var(--line);
}
body[data-theme="light"] .site-footer { background: var(--brand-navy); }
.site-footer__wave {
  height: 4px;
  background: linear-gradient(90deg, #fbb040, #f9ed32);
}
.site-footer__inner {
  max-width: 1280px; margin: 0 auto;
  padding: 72px 32px 32px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 56px;
}
.site-footer__brand p {
  margin-top: 16px;
  max-width: 320px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(244, 247, 252, 0.7);
}
.site-footer__legal-info {
  margin-top: 12px !important;
  font-size: 12px !important;
  color: rgba(255,255,255,0.5) !important;
  letter-spacing: 0.04em;
}
.site-footer h5 {
  font-size: 12px; font-weight: 700; color: #fff;
  text-transform: uppercase; letter-spacing: 0.12em;
  margin: 0 0 18px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer a { color: inherit; text-decoration: none; font-size: 14px; }
.site-footer a:hover { color: var(--accent); }
.site-footer__legal {
  max-width: 1280px; margin: 0 auto;
  padding: 24px 32px 32px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: rgba(255,255,255,0.4);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.site-footer__legal a {
  color: inherit; text-decoration: none; transition: color 200ms;
}
.site-footer__legal a:hover { color: var(--accent); }
.site-footer__legal-links {
  display: inline-flex; gap: 8px; align-items: center; flex-wrap: wrap;
}
.site-footer__legal-links > span { opacity: 0.5; }

/* ---------- Reveal anim ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .header-phone__dot, .emergency-fab { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-height: 480px; aspect-ratio: 4/3; }
  .reassure { grid-template-columns: 1fr 1fr; }
  .reassure__item:nth-child(2) { border-right: none; }
  .reassure__item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .services { grid-template-columns: 1fr; }
  .binome, .zone-wrap { grid-template-columns: 1fr; gap: 32px; }
  .site-footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  .site-nav, .header-phone { display: none; }
  .section { padding: 80px 24px; }
  .hero { padding: 64px 24px 96px; }
  .quote-card { padding: 28px 20px; }
  .grid-2, .option-grid { grid-template-columns: 1fr !important; }
  .reassure { grid-template-columns: 1fr; }
  .reassure__item { border-right: none; border-bottom: 1px solid var(--line); }
  .reassure__item:last-child { border-bottom: none; }
  .site-footer__inner { grid-template-columns: 1fr; gap: 32px; padding: 48px 24px 24px; }
  .site-footer__legal { flex-direction: column; gap: 8px; }
}

/* ============================================================
   Mobile / small-tablet anti-overflow + sizing fixes
   ============================================================ */

/* Hard guard against horizontal overflow on root */
html, body {
  max-width: 100vw;
  overflow-x: clip;
}
html { overflow-x: hidden; }

/* Let flex children shrink past their intrinsic min-content
   (prevents single-line buttons / labels from blowing out their row) */
.site-header__inner,
.header-cta,
.hero__ctas,
.hero__trust,
.audience-toggle,
.btn,
.brand {
  min-width: 0;
}

/* The hero wave was 110% wide — guaranteed to push the viewport */
.hero__wave { left: 0; right: 0; }
.hero__wave svg, .hero__wave img { width: 100%; }

/* SVGs and images never push their parent out of the viewport */
img, svg { max-width: 100%; }

/* The page-level container had no horizontal margin guard on mobile */
.container { width: 100%; }

/* ---- Tablet (<= 980px) ---- */
@media (max-width: 980px) {
  .site-header__inner { padding: 0 20px; gap: 16px; }
  .header-cta { gap: 10px; }
  .container { padding: 0 24px; }
  .hero__inner { gap: 32px; }
}

/* ---- Small tablet / large phone (<= 720px) ---- */
@media (max-width: 720px) {
  .site-header__inner { height: 64px; padding: 0 16px; gap: 12px; }
  .brand__mark { width: 32px; height: 32px; }
  .brand__name { font-size: 18px; }
  .theme-switch { width: 44px; height: 36px; }
  .theme-switch img { width: 24px; height: 24px; }
  .btn { padding: 10px 16px; font-size: 14px; }
  .btn--accent svg { display: none; } /* drop the arrow inside CTA to save room */
  .container { padding: 0 20px; }

  /* Hero stays readable but hero cards become smaller and stay inside */
  .hero { padding: 56px 0 80px; }
  .hero__inner { padding: 0 20px; }
  .hero-card--top, .hero-card--bottom { width: auto; max-width: 200px; }
  .hero-card--top { top: 16px; left: 16px; padding: 12px 14px; }
  .hero-card--bottom { bottom: 16px; right: 16px; padding: 12px 14px; }
  .hero-card__big { font-size: 26px; }

  /* Services grid: single column for both audiences */
  .services, .services--four { grid-template-columns: 1fr; }
  .service { padding: 24px 20px; }

  /* Audience toggle: keep the two buttons on one line by shrinking them */
  .audience-toggle button { padding: 9px 14px; font-size: 12px; }

  /* Quote stepper labels can clip — let them */
  .quote-step__label { font-size: 10px; }
}

/* ---- Phone (<= 480px) ---- */
@media (max-width: 480px) {
  .site-header__inner { padding: 0 12px; gap: 8px; }
  .brand__name { font-size: 16px; }
  .btn { padding: 9px 12px; font-size: 13px; gap: 6px; }
  .btn--accent { padding: 9px 14px; }
  .container { padding: 0 16px; }
  .section { padding: 64px 16px; }
  .hero { padding: 48px 0 64px; }
  .hero__inner { padding: 0 16px; }
  .hero__title { font-size: 36px; }
  .hero__lead { font-size: 16px; }
  .hero__trust { gap: 14px; }
  .trust-item__text { font-size: 12px; }

  /* On very narrow screens, the floating cards eat the photo — keep just the bottom one */
  .hero-card--top { display: none; }
  .hero-card--bottom { width: auto; max-width: 70%; }

  .quote-card { padding: 20px 16px; }
  .quote-stepper { gap: 4px; }
  .quote-step__label { display: none; }

  .section__title { font-size: 28px; }
  .section__lead { font-size: 15px; }

  .zone__map { padding: 16px; }
  .site-footer__inner { padding: 40px 16px 24px; }
}
