/* ==========================================================
   HIJAMA-V3 · COMPONENTS  —  Layer 4 of 5
   Page-level primitives used across all templates.
   Depends on: tokens.css + base.css + shell.css
   ========================================================== */

/* ═══════════════════════════════════════════════════════════
   BADGE
   ═══════════════════════════════════════════════════════════ */

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: var(--sp-1) var(--sp-3);
  background: var(--brand-weak);
  color: var(--brand);
  border-radius: var(--r-pill);
  font-size: var(--text-xs);
  font-weight: var(--fw-semi);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}
.badge          { color: var(--brand-on-weak); }
.badge--gold    { background: var(--accent-weak);  color: var(--accent-on-weak); }
.badge--success { background: var(--success-weak); color: var(--success-on-weak); }
.badge--danger  { background: var(--danger-weak);  color: var(--danger-on-weak); }
.badge--neutral { background: var(--bg-soft);      color: var(--text-on-soft); }

/* ═══════════════════════════════════════════════════════════
   CARD
   ═══════════════════════════════════════════════════════════ */

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  min-width: 0;
  overflow-wrap: anywhere;
  transition:
    transform var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out);
}
.card--hover:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}
.card--flat { box-shadow: none; }
.card--elev { box-shadow: var(--shadow-sm); }
.card--featured {
  border-color: var(--brand);
  box-shadow: var(--shadow-glow);
}

/* ═══════════════════════════════════════════════════════════
   SECTION
   ═══════════════════════════════════════════════════════════ */

.section {
  padding-block: clamp(var(--sp-16), 10vw, var(--sp-24));
}
.section--tight { padding-block: var(--sp-12); }
.section--hero  { padding-block: clamp(var(--sp-16), 12vw, var(--sp-32)); }
.section--surface {
  background: var(--bg-soft);
  border-block: 1px solid var(--border);
}
.section--muted {
  background: var(--bg-muted);
  border-block: 1px solid var(--border);
}
.section--dark {
  background: linear-gradient(135deg, var(--c-blue-900) 0%, var(--c-blue-800) 100%);
  color: var(--brand-on);
}
.section--dark h1,
.section--dark h2,
.section--dark h3 { color: var(--brand-on); }
.section--dark .section-head__eyebrow { color: var(--accent); }

.section-head {
  max-inline-size: 62ch;
  margin-inline: auto;
  text-align: center;
  margin-block-end: var(--sp-10);
}
.section-head--start {
  margin-inline: 0;
  text-align: start;
}
.section-head__eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--fw-semi);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--brand);
  margin-block-end: var(--sp-3);
}
.section-head__title {
  font-size: var(--text-3xl);
  font-family: var(--font-display);
  letter-spacing: var(--tracking-tight);
}
.section-head__lead {
  font-size: var(--text-md);
  color: var(--text-soft);
  line-height: var(--leading-body);
  margin-block-start: var(--sp-4);
  margin-inline: auto;
  max-inline-size: 58ch;
}
.section-head--start .section-head__lead { margin-inline: 0; }

/* ═══════════════════════════════════════════════════════════
   PAGE HERO
   ═══════════════════════════════════════════════════════════ */

.page-hero {
  padding-block: clamp(var(--sp-12), 8vw, var(--sp-20)) var(--sp-12);
  /* Gebruikt alleen CSS-variabelen — dark mode cascade blijft intact. */
  background: linear-gradient(180deg, var(--bg-muted) 0%, var(--bg-soft) 60%, var(--bg) 100%);
  border-block-end: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 900px 500px at 12% 8%,  rgba(30, 64, 175, 0.20), transparent 60%),
    radial-gradient(ellipse 700px 400px at 88% 25%, rgba(59, 130, 246, 0.14), transparent 60%),
    radial-gradient(ellipse 500px 300px at 50% 100%, rgba(200, 161, 90, 0.06), transparent 70%);
  z-index: -1;
}
[data-theme='dark'] .page-hero::before {
  /* Origineel dark-pattern — unchanged. */
  background:
    radial-gradient(ellipse 800px 400px at 15% 10%, rgba(96, 165, 250, 0.12), transparent 60%),
    radial-gradient(ellipse 600px 300px at 85% 30%, rgba(59, 130, 246, 0.08), transparent 60%);
}
.page-hero__inner { max-inline-size: 780px; }
.page-hero h1 {
  font-size: var(--text-4xl);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  margin-block-start: var(--sp-4);
}
.page-hero h1 em {
  font-style: italic;
  color: var(--brand);
}
.page-hero__lead {
  font-size: var(--text-md);
  color: var(--text-soft);
  line-height: var(--leading-body);
  margin-block-start: var(--sp-5);
  max-inline-size: 62ch;
}
.page-hero__ctas {
  display: flex;
  gap: var(--sp-3);
  margin-block-start: var(--sp-8);
  flex-wrap: wrap;
}
.page-hero__note {
  margin-block-start: var(--sp-3);
  font-size: var(--text-sm);
  color: var(--text-dim);
}
.conversion-proof {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-block-start: var(--sp-5);
}
.conversion-proof span {
  display: inline-flex;
  align-items: center;
  min-block-size: 36px;
  padding: var(--sp-2) var(--sp-3);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  color: var(--text-soft);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
}
.conversion-proof span::before {
  content: '';
  inline-size: 6px;
  block-size: 6px;
  margin-inline-end: var(--sp-2);
  border-radius: var(--r-pill);
  background: var(--brand);
}

/* Dual hero — voor homepage: praktijk-kaart + driver-kaart naast elkaar */
.hero-dual {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
  margin-block-start: var(--sp-8);
}
@media (min-width: 768px) {
  .hero-dual { grid-template-columns: 1fr 1fr; }
}
.hero-dual__card {
  padding: var(--sp-6);
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  transition:
    border-color var(--dur-base) var(--ease-out),
    transform var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out);
  text-decoration: none;
  color: var(--text);
}
.hero-dual__card:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.hero-dual__icon {
  inline-size: 48px; block-size: 48px;
  display: grid; place-items: center;
  background: var(--brand-weak);
  color: var(--brand);
  border-radius: var(--r-md);
}
.hero-dual__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  color: var(--text);
}
.hero-dual__sub {
  font-size: var(--text-sm);
  color: var(--text-soft);
  line-height: var(--leading-body);
}
.hero-dual__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-block-start: var(--sp-2);
  padding-block-start: var(--sp-3);
  border-block-start: 1px solid var(--border);
  font-size: var(--text-xs);
  color: var(--text-dim);
}
.hero-dual__arrow {
  inline-size: 18px; block-size: 18px;
  color: var(--brand);
  transition: transform var(--dur-fast) var(--ease-out);
}
.hero-dual__card:hover .hero-dual__arrow { transform: translateX(4px); }

/* Homepage premium gateway */
.home-hero {
  min-block-size: min(780px, calc(100svh - var(--header-h)));
  display: grid;
  align-items: center;
  padding-block: var(--sp-16) var(--sp-14);
  background:
    linear-gradient(135deg, #071a2e 0%, #102f4f 52%, #123c69 100%);
  color: var(--c-white);
  border-block-end: 0;
}
.home-hero::before {
  background:
    linear-gradient(90deg, rgba(255,255,255,0.038) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 26, 46, 0.72), rgba(7, 26, 46, 0.18) 58%, rgba(7, 26, 46, 0));
  background-size: 96px 96px, 96px 96px, auto;
  opacity: 1;
}
.home-hero::after {
  content: '';
  position: absolute;
  inset-inline: max(var(--sp-4), calc((100vw - var(--container-wide)) / 2));
  inset-block-end: var(--sp-6);
  block-size: 1px;
  background: linear-gradient(90deg, transparent, rgba(184, 138, 68, 0.72), transparent);
  z-index: -1;
}
.home-hero__kicker {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
}
.home-hero .page-hero__lead,
.home-hero .page-hero__note,
.home-hero .page-hero__note a {
  color: rgba(255, 255, 255, 0.78);
}
.home-hero h1 {
  max-inline-size: 820px;
  color: var(--c-white);
  font-size: var(--text-5xl);
  line-height: 1;
  letter-spacing: 0;
}
.home-hero .page-hero__lead {
  max-inline-size: 58ch;
  font-size: var(--text-lg);
}
.home-hero .btn-primary {
  background: var(--c-white);
  color: #071a2e;
}
.home-hero .btn-primary:hover {
  background: #eef5f6;
  color: #071a2e;
}
.home-hero .btn-ghost {
  border-color: rgba(255, 255, 255, 0.34);
  color: var(--c-white);
}
.home-hero .btn-ghost:hover {
  border-color: var(--c-white);
  color: var(--c-white);
}
.home-hero .conversion-proof span {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.84);
}
.home-hero .conversion-proof span::before {
  background: var(--accent);
}
.home-hero__stage {
  display: grid;
  gap: var(--sp-8);
  align-items: end;
}
@media (min-width: 1024px) {
  .home-hero__stage {
    grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.36fr);
  }
}
.home-hero__intro {
  max-inline-size: 940px;
}
.home-command {
  position: relative;
  display: grid;
  gap: var(--sp-4);
  padding: var(--sp-5);
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: var(--r-xl);
  background: rgba(255, 255, 255, 0.10);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}
.home-command__stamp {
  position: absolute;
  inset-block-start: var(--sp-5);
  inset-inline-end: var(--sp-5);
  display: grid;
  place-items: center;
  inline-size: 44px;
  block-size: 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--r-pill);
  color: rgba(255, 255, 255, 0.58);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--fw-bold);
}
.home-command__eyebrow {
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
}
.home-command h2 {
  color: var(--c-white);
  font-size: var(--text-2xl);
}
.home-command__rows {
  display: grid;
  gap: var(--sp-2);
}
.home-command__rows div {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-4);
  padding-block: var(--sp-3);
  border-block-start: 1px solid rgba(255, 255, 255, 0.16);
}
.home-command__rows span {
  color: rgba(255, 255, 255, 0.62);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
}
.home-command__rows strong {
  color: var(--c-white);
  font-size: var(--text-sm);
  text-align: end;
}
.home-command__link {
  justify-self: center;
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--text-sm);
  font-weight: var(--fw-semi);
}
.home-command__link:hover {
  color: var(--c-white);
}
.home-route-selector {
  grid-template-columns: 1fr;
  margin-block-start: var(--sp-6);
}
@media (min-width: 860px) {
  .home-route-selector {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.home-hero .hero-dual__card {
  border-color: rgba(255, 255, 255, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(239, 247, 248, 0.94));
  box-shadow: 0 24px 70px rgba(7, 26, 46, 0.24);
}
.home-hero .hero-dual__icon {
  background: #e4f0f3;
  color: var(--brand);
}
.home-hero .hero-dual__title {
  font-size: var(--text-2xl);
}
.home-hero .hero-dual__meta {
  margin-block-start: auto;
}
.hero-dual__price {
  color: var(--brand);
}
.home-proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.home-proof-strip__item {
  display: grid;
  gap: var(--sp-1);
  padding: var(--sp-5);
  border-inline-start: 1px solid var(--border);
}
.home-proof-strip__item:first-child {
  border-inline-start: 0;
}
.home-proof-strip__item strong {
  font-family: var(--font-display);
  font-size: var(--text-md);
}
.home-proof-strip__item span {
  color: var(--text-soft);
  font-size: var(--text-sm);
  line-height: var(--leading-body);
}
@media (max-width: 900px) {
  .home-proof-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-proof-strip__item:nth-child(odd) {
    border-inline-start: 0;
  }
  .home-proof-strip__item:nth-child(n + 3) {
    border-block-start: 1px solid var(--border);
  }
}
@media (max-width: 560px) {
  .home-hero h1 {
    font-size: var(--text-4xl);
  }
  .home-hero .page-hero__ctas {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--sp-2);
  }
  .home-hero .page-hero__ctas .btn-lg {
    min-block-size: 48px;
    padding-inline: var(--sp-3);
    font-size: var(--text-sm);
  }
  .home-proof-strip {
    grid-template-columns: 1fr;
  }
  .home-proof-strip__item,
  .home-proof-strip__item:nth-child(odd) {
    border-inline-start: 0;
  }
  .home-proof-strip__item + .home-proof-strip__item {
    border-block-start: 1px solid var(--border);
  }
}

.home-trust-ledger {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: color-mix(in srgb, var(--surface) 88%, var(--bg-soft));
  box-shadow: none;
}
.home-trust-ledger__item {
  display: grid;
  align-content: start;
  gap: var(--sp-1);
  min-block-size: 138px;
  padding: var(--sp-5);
  border-inline-start: 1px solid var(--border);
}
.home-trust-ledger__item:first-child {
  border-inline-start: 0;
}
.home-trust-ledger__item span {
  color: var(--accent);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
}
.home-trust-ledger__item strong {
  color: var(--brand-strong);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--fw-bold);
}
.home-trust-ledger__item p {
  color: var(--text-soft);
  font-size: var(--text-sm);
  line-height: var(--leading-body);
}
@media (max-width: 1100px) and (min-width: 761px) {
  .home-trust-ledger {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-trust-ledger__item:nth-child(odd) {
    border-inline-start: 0;
  }
  .home-trust-ledger__item:nth-child(n + 3) {
    border-block-start: 1px solid var(--border);
  }
}

.home-booking-board {
  display: grid;
  gap: var(--sp-7);
  align-items: stretch;
  padding: var(--sp-7);
  border: 1px solid rgba(18, 60, 105, 0.14);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: 0 18px 54px rgba(7, 26, 46, 0.06);
}
@media (min-width: 980px) {
  .home-booking-board {
    grid-template-columns: minmax(0, 0.72fr) minmax(380px, 1fr);
  }
}
.home-booking-board__copy {
  display: grid;
  align-content: center;
  gap: var(--sp-4);
}
.home-booking-board__copy h2 {
  max-inline-size: 16ch;
  font-size: var(--text-3xl);
  line-height: var(--leading-display);
}
.home-booking-board__copy p {
  max-inline-size: 64ch;
  color: var(--text-soft);
  font-size: var(--text-md);
}
.home-booking-board__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-block-start: var(--sp-2);
}
.home-booking-steps {
  display: grid;
  gap: var(--sp-3);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}
.home-booking-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: var(--sp-4);
  row-gap: var(--sp-1);
  align-content: center;
  min-block-size: 124px;
  padding: var(--sp-4);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--bg);
}
.home-booking-steps span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  inline-size: 38px;
  block-size: 38px;
  border-radius: var(--r-pill);
  background: var(--brand-weak);
  color: var(--brand-on-weak);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
}
.home-booking-steps strong {
  color: var(--brand-strong);
  font-family: var(--font-display);
  font-size: var(--text-xl);
}
.home-booking-steps p {
  color: var(--text-soft);
  font-size: var(--text-sm);
}

.home-firsttime {
  display: grid;
  gap: var(--sp-7);
  align-items: center;
  padding: var(--sp-7);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background: color-mix(in srgb, var(--surface) 78%, var(--accent-weak));
  box-shadow: none;
}
@media (min-width: 980px) {
  .home-firsttime {
    grid-template-columns: minmax(0, 0.78fr) minmax(320px, 1fr);
  }
}
.home-firsttime__copy {
  display: grid;
  gap: var(--sp-4);
}
.home-firsttime__copy h2 {
  max-inline-size: 16ch;
  font-size: var(--text-3xl);
  line-height: var(--leading-display);
}
.home-firsttime__copy p {
  max-inline-size: 56ch;
  color: var(--text-soft);
  font-size: var(--text-md);
}
.home-firsttime__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}
.home-firsttime__grid {
  display: grid;
  gap: var(--sp-3);
}
.home-firsttime__grid article {
  display: grid;
  gap: var(--sp-1);
  padding: var(--sp-4);
  border: 1px solid rgba(18, 60, 105, 0.14);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.78);
}
.home-firsttime__grid span,
.home-treatment-feature__meta span {
  color: var(--accent);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
}
.home-firsttime__grid strong {
  color: var(--brand-strong);
  font-family: var(--font-display);
  font-size: var(--text-xl);
}
.home-firsttime__grid p {
  color: var(--text-soft);
  font-size: var(--text-sm);
}

.home-section-row {
  display: grid;
  gap: var(--sp-4);
  align-items: end;
  margin-block-end: var(--sp-7);
}
@media (min-width: 900px) {
  .home-section-row {
    grid-template-columns: minmax(0, 0.86fr) minmax(280px, 0.54fr);
  }
}
.home-section-row h2 {
  max-inline-size: 18ch;
  font-size: var(--text-3xl);
  line-height: var(--leading-display);
}
.home-section-row p {
  color: var(--text-soft);
  font-size: var(--text-md);
}
.home-media-band {
  overflow: hidden;
  border-block: 1px solid var(--border);
  background: var(--bg-soft);
}
.home-media-carousel {
  margin-inline: max(var(--sp-4), calc((100vw - var(--container-wide)) / 2));
}
.home-media-carousel .hd-carousel__slide {
  box-shadow: 0 12px 34px rgba(7, 26, 46, 0.10);
}
.home-media-carousel .hd-carousel__viewport {
  border-radius: var(--r-xl);
}

.home-decision-grid {
  display: grid;
  gap: var(--sp-4);
}
@media (min-width: 860px) {
  .home-decision-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.home-decision-grid a {
  display: grid;
  gap: var(--sp-2);
  min-block-size: 188px;
  padding: var(--sp-5);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  color: inherit;
  text-decoration: none;
  box-shadow: none;
  transition: transform var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.home-decision-grid a:hover {
  transform: translateY(-2px);
  border-color: rgba(18, 60, 105, 0.34);
  box-shadow: 0 18px 42px rgba(7, 26, 46, 0.09);
}
.home-decision-grid span {
  color: var(--accent);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
}
.home-decision-grid strong {
  align-self: end;
  color: var(--brand-strong);
  font-family: var(--font-display);
  font-size: var(--text-2xl);
}
.home-decision-grid p {
  color: var(--text-soft);
  font-size: var(--text-sm);
}

.home-treatment-showcase {
  display: grid;
  gap: var(--sp-5);
  align-items: stretch;
}
@media (min-width: 960px) {
  .home-treatment-showcase {
    grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.58fr);
  }
}
.home-treatment-feature {
  display: grid;
  gap: var(--sp-4);
  padding: var(--sp-7);
  border: 1px solid var(--border-brand);
  border-radius: var(--r-xl);
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 18px 54px rgba(7, 26, 46, 0.07);
}
.home-treatment-feature .section-head__eyebrow,
.home-treatment-feature p {
  color: var(--text-soft);
}
.home-treatment-feature h2 {
  color: var(--brand-strong);
  font-size: var(--text-4xl);
  line-height: var(--leading-display);
}
.home-treatment-feature__meta,
.home-treatment-feature__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}
.home-treatment-feature__meta span {
  padding: var(--sp-2) var(--sp-3);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--bg-soft);
  color: var(--brand-on-weak);
}
.home-treatment-feature .btn-primary {
  background: var(--brand);
  color: var(--brand-on);
}
.home-treatment-feature .btn-ghost {
  border-color: var(--border-strong);
  color: var(--brand);
}
.home-treatment-links {
  display: grid;
  gap: var(--sp-3);
}
.home-treatment-links a {
  display: grid;
  gap: var(--sp-2);
  padding: var(--sp-5);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background: var(--surface);
  color: inherit;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.home-treatment-links a:hover {
  transform: translateY(-3px);
  border-color: rgba(18, 60, 105, 0.28);
  box-shadow: 0 20px 54px rgba(7, 26, 46, 0.11);
}
.home-treatment-links span {
  color: var(--accent);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
}
.home-treatment-links strong {
  color: var(--brand-strong);
  font-family: var(--font-display);
  font-size: var(--text-xl);
}

.home-process-rail {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
@media (min-width: 900px) {
  .home-process-rail {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.home-process-rail article {
  display: grid;
  align-content: start;
  gap: var(--sp-3);
  min-block-size: 220px;
  padding: var(--sp-6);
  border-block-start: 1px solid var(--border);
}
.home-process-rail article:first-child {
  border-block-start: 0;
}
@media (min-width: 900px) {
  .home-process-rail article {
    border-block-start: 0;
    border-inline-start: 1px solid var(--border);
  }
  .home-process-rail article:first-child {
    border-inline-start: 0;
  }
}
.home-process-rail span {
  color: var(--accent);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
}
.home-process-rail h3 {
  font-size: var(--text-xl);
}
.home-process-rail p {
  color: var(--text-soft);
  font-size: var(--text-sm);
}

.home-knowledge-slab {
  display: grid;
  gap: var(--sp-8);
  padding: var(--sp-7);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background: color-mix(in srgb, var(--surface) 72%, var(--bg-soft));
  color: var(--text);
  box-shadow: none;
}
@media (min-width: 940px) {
  .home-knowledge-slab {
    grid-template-columns: minmax(0, 0.76fr) minmax(320px, 1fr);
  }
}
.home-knowledge-slab h2 {
  color: var(--brand-strong);
  font-size: var(--text-3xl);
  line-height: var(--leading-display);
}
.home-knowledge-slab p,
.home-knowledge-slab .section-head__eyebrow {
  color: var(--text-soft);
}
.home-knowledge-list {
  display: grid;
  gap: var(--sp-3);
}
@media (min-width: 680px) {
  .home-knowledge-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.home-knowledge-list a {
  display: grid;
  gap: var(--sp-2);
  padding: var(--sp-4);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  color: var(--brand-strong);
  text-decoration: none;
}
.home-knowledge-list span {
  color: var(--accent);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
}
.home-knowledge-list strong {
  font-family: var(--font-display);
  font-size: var(--text-xl);
}

.home-local-panel {
  display: grid;
  gap: var(--sp-8);
  align-items: center;
  padding: var(--sp-7);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: none;
}
@media (min-width: 980px) {
  .home-local-panel {
    grid-template-columns: minmax(0, 0.86fr) minmax(320px, 0.72fr);
  }
}
.home-local-panel h2 {
  font-size: var(--text-3xl);
  line-height: var(--leading-display);
}
.home-local-panel p {
  max-inline-size: 62ch;
  color: var(--text-soft);
}
.home-local-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-block-start: var(--sp-5);
}
.home-city-list {
  display: grid;
  gap: var(--sp-3);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.home-city-list a {
  padding: var(--sp-4);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--bg-soft);
  color: var(--brand-strong);
  font-weight: var(--fw-bold);
  text-align: center;
  text-decoration: none;
}

.home-final-panel {
  display: grid;
  gap: var(--sp-6);
  align-items: center;
  padding: var(--sp-7);
  border-radius: var(--r-xl);
  background:
    linear-gradient(135deg, #071a2e 0%, #123c69 100%);
  color: var(--c-white);
  box-shadow: 0 18px 54px rgba(7, 26, 46, 0.16);
}
@media (min-width: 860px) {
  .home-final-panel {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}
.home-final-panel h2 {
  color: var(--c-white);
  font-size: var(--text-4xl);
}
.home-final-panel p,
.home-final-panel .section-head__eyebrow {
  color: rgba(255, 255, 255, 0.74);
}
.home-final-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}
.home-final-panel .btn-primary {
  background: var(--c-white);
  color: #071a2e;
}
.home-final-panel .btn-ghost {
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--c-white);
}

@media (max-width: 760px) {
  .home-hero {
    min-block-size: auto;
    padding-block: var(--sp-10) var(--sp-7);
  }
  .home-hero h1 {
    font-size: var(--text-3xl);
    line-height: 1.05;
  }
  .home-hero .page-hero__lead {
    font-size: var(--text-base);
  }
  .home-hero .home-command {
    display: none;
  }
  .home-command,
  .home-booking-board,
  .home-firsttime,
  .home-treatment-feature,
  .home-knowledge-slab,
  .home-local-panel,
  .home-final-panel {
    padding: var(--sp-5);
    border-radius: var(--r-xl);
  }
  .home-trust-ledger {
    grid-template-columns: 1fr;
  }
  .home-trust-ledger__item,
  .home-trust-ledger__item:first-child {
    min-block-size: auto;
    border-inline-start: 0;
    border-block-start: 1px solid var(--border);
  }
  .home-trust-ledger__item:first-child {
    border-block-start: 0;
  }
  .home-trust-ledger__item {
    min-block-size: auto;
    padding: var(--sp-4);
  }
  .home-firsttime__actions,
  .home-booking-board__actions,
  .home-treatment-feature__actions,
  .home-local-panel__actions,
  .home-final-panel__actions {
    align-items: stretch;
    flex-direction: column;
  }
  .home-firsttime__actions .btn,
  .home-booking-board__actions .btn,
  .home-treatment-feature__actions .btn,
  .home-local-panel__actions .btn,
  .home-final-panel__actions .btn {
    inline-size: 100%;
  }
  .home-booking-steps li {
    grid-template-columns: 1fr;
    min-block-size: auto;
  }
  .home-booking-steps span {
    grid-row: auto;
  }
  .home-booking-board__copy h2,
  .home-firsttime__copy h2,
  .home-section-row h2,
  .home-treatment-feature h2,
  .home-knowledge-slab h2,
  .home-local-panel h2,
  .home-final-panel h2 {
    font-size: var(--text-2xl);
    max-inline-size: 100%;
  }
  .home-decision-grid a {
    min-block-size: auto;
  }
  .home-media-carousel {
    margin-inline: var(--sp-4);
  }
  .home-city-list {
    grid-template-columns: 1fr;
  }
}

/* Homepage v4: calm royal-blue redesign */
[data-page='home'] {
  --home-blue: #1e40af;
  --home-blue-deep: #172554;
  --home-blue-ink: #0f2f86;
  --home-blue-soft: #e8efff;
  --home-gold: #b88a44;
  --home-line: rgba(30, 64, 175, 0.16);
  --home-shadow: 0 18px 54px rgba(23, 37, 84, 0.10);
  --home-bg: #f8fbff;
  background: var(--home-bg);
}

/* Homepage v5: compact clinical layout */
[data-page='home'] {
  --home-v5-blue: #1e40af;
  --home-v5-navy: #172554;
  --home-v5-bg: #f8fbff;
  --home-v5-line: rgba(30, 64, 175, 0.14);
  --home-v5-muted: #475569;
  background: var(--home-v5-bg);
}

[data-page='home-rebuild'] {
  --rebuild-royal: #183f9f;
  --rebuild-royal-2: #2456c7;
  --rebuild-royal-deep: #173174;
  --rebuild-royal-ink: #172554;
  --rebuild-royal-soft: #eff6ff;
  --rebuild-mineral: #eaf1f7;
  --rebuild-linen: #fbf7ef;
  --rebuild-gold-soft: #f3eadc;
  --rebuild-cream: #f8fbff;
  background: var(--rebuild-cream);
}
.rebuild-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 50;
  color: #ffffff;
  padding-block-start: clamp(0.5rem, 1.5vw, 0.85rem);
  transition:
    background-color var(--dur-base, 180ms) var(--ease-out, ease),
    border-color var(--dur-base, 180ms) var(--ease-out, ease),
    box-shadow var(--dur-base, 180ms) var(--ease-out, ease);
}
.rebuild-header.is-scrolled,
.rebuild-header.is-open {
  background: transparent;
}
.rebuild-header__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-block-size: 64px;
  gap: var(--sp-4);
  padding-inline: clamp(0.55rem, 1.4vw, 0.9rem);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08)),
    rgba(24, 63, 159, 0.30);
  box-shadow: 0 18px 54px rgba(23, 49, 116, 0.18);
  backdrop-filter: blur(20px);
  transition:
    background-color var(--dur-base, 180ms) var(--ease-out, ease),
    box-shadow var(--dur-base, 180ms) var(--ease-out, ease),
    border-color var(--dur-base, 180ms) var(--ease-out, ease);
}
.rebuild-header.is-scrolled .rebuild-header__nav,
.rebuild-header.is-open .rebuild-header__nav {
  border-color: rgba(24, 63, 159, 0.16);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(248, 251, 255, 0.82));
  box-shadow: 0 18px 58px rgba(30, 64, 175, 0.16);
}
.rebuild-header.is-scrolled .rebuild-header__brand,
.rebuild-header.is-open .rebuild-header__brand,
.rebuild-header.is-scrolled .rebuild-header__link,
.rebuild-header.is-open .rebuild-header__link {
  color: var(--rebuild-royal-ink);
}
.rebuild-header__brand {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  color: #ffffff;
  font-weight: var(--fw-bold);
  text-decoration: none;
}
.rebuild-header__mark {
  display: inline-grid;
  place-items: center;
  inline-size: 2.25rem;
  block-size: 2.25rem;
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.13);
  color: #f8d9a0;
  font-size: var(--text-xs);
  letter-spacing: 0.04em;
}
.rebuild-header.is-scrolled .rebuild-header__mark,
.rebuild-header.is-open .rebuild-header__mark {
  border-color: rgba(24, 63, 159, 0.14);
  background: var(--rebuild-royal);
  color: #ffffff;
}
.rebuild-header__desktop,
.rebuild-header__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.rebuild-header__group {
  position: relative;
}
.rebuild-header__link,
.rebuild-header__ghost,
.rebuild-header__primary,
.rebuild-header__toggle {
  border: 0;
  font: inherit;
}
.rebuild-header__link {
  display: inline-flex;
  align-items: center;
  min-block-size: 44px;
  padding: 0 var(--sp-3);
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.76);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  text-decoration: none;
  cursor: pointer;
}
.rebuild-header__link:hover,
.rebuild-header__group:focus-within .rebuild-header__link,
.rebuild-header__group:hover .rebuild-header__link {
  background: rgba(255, 255, 255, 0.10);
  color: #ffffff;
}
.rebuild-header.is-scrolled .rebuild-header__link:hover,
.rebuild-header.is-scrolled .rebuild-header__group:focus-within .rebuild-header__link,
.rebuild-header.is-scrolled .rebuild-header__group:hover .rebuild-header__link,
.rebuild-header.is-open .rebuild-header__link:hover,
.rebuild-header.is-open .rebuild-header__group:focus-within .rebuild-header__link,
.rebuild-header.is-open .rebuild-header__group:hover .rebuild-header__link {
  background: var(--rebuild-royal-soft);
  color: var(--rebuild-royal);
}
.rebuild-header__mega {
  position: absolute;
  inset-block-start: calc(100% + 12px);
  inset-inline-start: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: var(--sp-2);
  inline-size: min(620px, calc(100vw - 2rem));
  padding: var(--sp-3);
  border: 1px solid rgba(24, 63, 159, 0.14);
  border-radius: 20px;
  background:
    radial-gradient(circle at 12% 8%, rgba(184, 138, 68, 0.10), transparent 16rem),
    rgba(255, 255, 255, 0.94);
  box-shadow: 0 26px 86px rgba(23, 37, 84, 0.18);
  backdrop-filter: blur(22px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top left;
  transition:
    opacity var(--dur-fast, 140ms) var(--ease-out, ease),
    transform var(--dur-fast, 140ms) var(--ease-out, ease),
    visibility var(--dur-fast, 140ms) var(--ease-out, ease);
}
.rebuild-header__mega--small {
  grid-template-columns: 1fr;
  inline-size: min(360px, calc(100vw - 2rem));
}
.rebuild-header__group.is-open .rebuild-header__mega,
.rebuild-header__group:hover .rebuild-header__mega,
.rebuild-header__group:focus-within .rebuild-header__mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.rebuild-header__mega a {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: var(--sp-1) var(--sp-3);
  min-block-size: 92px;
  padding: var(--sp-3);
  border-radius: 14px;
  color: var(--rebuild-royal-ink);
  text-decoration: none;
}
.rebuild-header__mega a:hover {
  background: var(--rebuild-royal-soft);
}
.rebuild-header__mega span {
  grid-row: span 2;
  display: inline-grid;
  place-items: center;
  inline-size: 2.25rem;
  block-size: 2.25rem;
  border-radius: 10px;
  border: 1px solid rgba(24, 63, 159, 0.10);
  background: var(--rebuild-linen);
  color: #7a541f;
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
}
.rebuild-header__mega strong {
  align-self: end;
  font-size: var(--text-sm);
}
.rebuild-header__mega small {
  color: #64748b;
  font-size: var(--text-xs);
  line-height: 1.45;
}
.rebuild-header__ghost,
.rebuild-header__primary {
  display: inline-grid;
  place-items: center;
  min-block-size: 44px;
  padding: 0 var(--sp-4);
  border-radius: 999px;
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  text-decoration: none;
}
.rebuild-header__ghost {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
}
.rebuild-header__primary {
  background: var(--rebuild-linen);
  color: #7a541f;
  box-shadow: 0 10px 28px rgba(23, 37, 84, 0.12);
}
.rebuild-header.is-scrolled .rebuild-header__ghost,
.rebuild-header.is-open .rebuild-header__ghost {
  border-color: rgba(24, 63, 159, 0.16);
  background: rgba(24, 63, 159, 0.06);
  color: var(--rebuild-royal-ink);
}
.rebuild-header.is-scrolled .rebuild-header__primary,
.rebuild-header.is-open .rebuild-header__primary {
  background: var(--rebuild-royal);
  color: #ffffff;
}
.rebuild-header__toggle {
  display: none;
  position: relative;
  inline-size: 44px;
  block-size: 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}
.rebuild-header__toggle span {
  position: absolute;
  inset-inline: 11px;
  block-size: 2px;
  border-radius: 999px;
  background: currentColor;
  transition:
    transform var(--dur-base, 180ms) var(--ease-out, ease),
    inset-block-start var(--dur-base, 180ms) var(--ease-out, ease);
}
.rebuild-header__toggle span:first-child {
  inset-block-start: 15px;
}
.rebuild-header__toggle span:last-child {
  inset-block-start: 26px;
}
.rebuild-header__toggle[aria-expanded='true'] span:first-child {
  inset-block-start: 21px;
  transform: rotate(45deg);
}
.rebuild-header__toggle[aria-expanded='true'] span:last-child {
  inset-block-start: 21px;
  transform: rotate(-45deg);
}
.rebuild-mobile-menu {
  display: none;
}
.rebuild-mobile-menu__inner {
  display: grid;
  gap: var(--sp-2);
  padding-block: var(--sp-4);
}
.rebuild-mobile-menu__label {
  margin: var(--sp-2) 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.rebuild-mobile-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-block-size: 52px;
  padding: 0 var(--sp-3);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  text-decoration: none;
}
.rebuild-mobile-menu__actions {
  display: grid;
  gap: var(--sp-2);
  margin-block-start: var(--sp-3);
}
.rebuild-mobile-menu__actions .rebuild-header__ghost,
.rebuild-mobile-menu__actions .rebuild-header__primary {
  min-block-size: 48px;
}
.has-rebuild-reveal [data-rebuild-reveal] {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(16px);
  transition:
    opacity 700ms var(--ease-out, ease),
    filter 700ms var(--ease-out, ease),
    transform 700ms var(--ease-out, ease);
}
.has-rebuild-reveal [data-rebuild-reveal].is-visible {
  opacity: 1;
  filter: none;
  transform: none;
}
.home-rebuild-blank {
  display: grid;
  align-items: center;
  min-block-size: 58svh;
  padding-block: clamp(4rem, 10vw, 7rem);
  border-block-end: 1px solid rgba(30, 64, 175, 0.12);
}
.home-rebuild-blank__kicker {
  margin: 0 0 var(--sp-2);
  color: #1e40af;
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
}
.home-rebuild-blank h1 {
  max-inline-size: 12ch;
  margin: 0;
  color: #172554;
  font-size: clamp(2.4rem, 7vw, 5rem);
  line-height: 0.98;
  letter-spacing: 0;
}
.rebuild-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-block-size: clamp(560px, 76svh, 720px);
  overflow: hidden;
  padding-block: clamp(6.25rem, 9vw, 8rem) clamp(1.5rem, 4vw, 3rem);
  color: #ffffff;
  background:
    radial-gradient(circle at 78% 12%, rgba(255, 255, 255, 0.16), transparent 25rem),
    linear-gradient(135deg, var(--rebuild-royal-2) 0%, var(--rebuild-royal) 54%, var(--rebuild-royal-deep) 100%);
}
.rebuild-hero::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-end: -1px;
  block-size: clamp(4rem, 9vw, 7rem);
  background: linear-gradient(180deg, transparent 0%, rgba(30, 64, 175, 0.18) 52%, var(--rebuild-royal) 100%);
  pointer-events: none;
}
.rebuild-hero__canvas,
.rebuild-hero__shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  inline-size: 100%;
  block-size: 100%;
}
.rebuild-hero__canvas {
  opacity: 0.22;
}
.rebuild-hero__shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(30, 64, 175, 0.32) 0%, rgba(30, 64, 175, 0.08) 52%, rgba(30, 58, 138, 0.24) 100%),
    radial-gradient(ellipse at 50% 45%, transparent 48%, rgba(23, 37, 84, 0.14) 100%);
}
.rebuild-hero__inner {
  position: relative;
  display: grid;
  gap: clamp(1.5rem, 4.5vw, 3.5rem);
  align-items: center;
}
@media (min-width: 960px) {
  .rebuild-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  }
}
.rebuild-hero__content {
  display: grid;
  gap: var(--sp-5);
  max-inline-size: 860px;
}
.rebuild-hero__kicker {
  justify-self: start;
  margin: 0;
  padding: 0.48rem 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
}
.rebuild-hero h1 {
  max-inline-size: 18ch;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.75rem, 6vw, 5.35rem);
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}
.rebuild-hero__lead {
  max-inline-size: 58ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  line-height: 1.7;
}
.rebuild-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}
.rebuild-hero .btn-primary {
  background: #ffffff;
  color: var(--rebuild-royal-ink);
}
.rebuild-hero .btn-primary:hover {
  background: #f4f7fb;
  color: var(--rebuild-royal-ink);
}
.rebuild-hero .btn-ghost {
  border-color: rgba(255, 255, 255, 0.32);
  color: #ffffff;
}
.rebuild-hero .btn-ghost:hover {
  border-color: #ffffff;
  color: #ffffff;
}
.rebuild-hero__panel {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.09));
  box-shadow: 0 22px 70px rgba(23, 49, 116, 0.18);
  backdrop-filter: blur(18px);
}
.rebuild-hero__panel-head {
  display: grid;
  gap: var(--sp-1);
  padding: var(--sp-4);
  background: rgba(255, 255, 255, 0.08);
}
.rebuild-hero__panel-head span {
  color: rgba(255, 255, 255, 0.66);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
}
.rebuild-hero__panel-head strong {
  color: #ffffff;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: var(--leading-tight);
}
.rebuild-hero__panel ol {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}
.rebuild-hero__panel li {
  display: block;
  border-block-start: 1px solid rgba(255, 255, 255, 0.14);
}
.rebuild-hero__panel li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  min-block-size: 60px;
  padding: var(--sp-3) var(--sp-4);
  color: inherit;
  text-decoration: none;
}
.rebuild-hero__panel li a:hover,
.rebuild-hero__panel li a:focus-visible {
  background: rgba(255, 255, 255, 0.13);
}
.rebuild-hero__panel li span {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  inline-size: 2.25rem;
  block-size: 2.25rem;
  border-radius: 50%;
  background: rgba(184, 138, 68, 0.22);
  color: #f8d9a0;
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
}
.rebuild-hero__panel li strong {
  color: rgba(255, 255, 255, 0.90);
  font-size: var(--text-sm);
  text-align: end;
}
.rebuild-hero__trust {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-block-start: clamp(1rem, 3vw, 2rem);
}
.rebuild-hero__trust span {
  min-block-size: 44px;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  backdrop-filter: blur(12px);
}
.rebuild-hero__trust span:nth-child(2) {
  background: rgba(251, 247, 239, 0.16);
  color: #fff4d8;
}
.rebuild-start {
  position: relative;
  z-index: 2;
  margin-block-start: -1px;
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
  background:
    linear-gradient(180deg, rgba(24, 63, 159, 0.10) 0%, rgba(255, 255, 255, 0) 42%),
    var(--rebuild-mineral);
  color: var(--rebuild-royal-ink);
}
.rebuild-start__inner {
  display: grid;
  gap: clamp(1.25rem, 4vw, 3rem);
  align-items: end;
}
@media (min-width: 900px) {
  .rebuild-start__inner {
    grid-template-columns: minmax(240px, 0.34fr) minmax(0, 1fr);
  }
}
.rebuild-start h2 {
  max-inline-size: 12ch;
  margin: 0;
  color: var(--rebuild-royal-ink);
  font-size: clamp(2rem, 3.6vw, 3.6rem);
  line-height: 1;
  letter-spacing: 0;
}
.rebuild-start__routes {
  display: grid;
  gap: var(--sp-3);
}
@media (min-width: 760px) {
  .rebuild-start__routes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.rebuild-start__routes a {
  display: grid;
  gap: var(--sp-2);
  min-block-size: 158px;
  padding: var(--sp-4);
  border: 1px solid rgba(24, 63, 159, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--rebuild-royal-ink);
  text-decoration: none;
  box-shadow: 0 18px 54px rgba(30, 64, 175, 0.10);
  backdrop-filter: blur(12px);
  transition:
    transform var(--dur-base, 180ms) var(--ease-out, ease),
    border-color var(--dur-base, 180ms) var(--ease-out, ease),
    box-shadow var(--dur-base, 180ms) var(--ease-out, ease);
}
.rebuild-start__routes a:first-child {
  background: linear-gradient(145deg, var(--rebuild-royal) 0%, var(--rebuild-royal-deep) 100%);
  color: #ffffff;
}
.rebuild-start__routes a:nth-child(2) {
  background:
    radial-gradient(circle at 85% 0%, rgba(184, 138, 68, 0.20), transparent 13rem),
    #ffffff;
}
.rebuild-start__routes a:nth-child(3) {
  background:
    radial-gradient(circle at 85% 0%, rgba(24, 63, 159, 0.10), transparent 13rem),
    #f8fbff;
}
.rebuild-start__routes a:hover,
.rebuild-start__routes a:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(24, 63, 159, 0.32);
  box-shadow: 0 24px 68px rgba(30, 64, 175, 0.14);
}
.rebuild-start__routes span {
  color: #8a642e;
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-caps);
}
.rebuild-start__routes a:first-child span,
.rebuild-start__routes a:first-child small {
  color: rgba(255, 255, 255, 0.72);
}
.rebuild-start__routes strong {
  align-self: end;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.05;
}
.rebuild-start__routes small {
  color: #475569;
  font-size: var(--text-sm);
  line-height: 1.55;
}
.rebuild-proof {
  position: relative;
  overflow: hidden;
  margin-block-start: -1px;
  padding-block: 0 clamp(4rem, 9vw, 7rem);
  background:
    radial-gradient(620px at var(--glow-x, 50%) var(--glow-y, 20%), rgba(24, 63, 159, 0.10), transparent 70%),
    linear-gradient(180deg, var(--rebuild-mineral) 0%, #f8fbff 70%, #ffffff 100%);
  color: var(--rebuild-royal-ink);
}
.rebuild-proof::before {
  content: "";
  position: absolute;
  inset-inline: -8%;
  inset-block-start: 20%;
  block-size: 26rem;
  background: radial-gradient(ellipse at center, rgba(184, 138, 68, 0.10), transparent 68%);
  filter: blur(18px);
  pointer-events: none;
}
.rebuild-proof > .container {
  position: relative;
  z-index: 1;
}
.rebuild-proof__bridge {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(248, 251, 255, 0.72));
  box-shadow: 0 20px 70px rgba(30, 64, 175, 0.14);
  backdrop-filter: blur(22px);
  transform: translateY(-50%);
}
.rebuild-proof__bridge::after {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-end: 0;
  inline-size: 38%;
  background:
    linear-gradient(90deg, rgba(7, 18, 34, 0), rgba(7, 18, 34, 0.82)),
    url("/assets/img/practice-tour/img-3991-640.jpg") center / cover;
  opacity: 0.32;
  pointer-events: none;
}
.rebuild-proof__bridge div {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--sp-1);
  min-block-size: 92px;
  padding: var(--sp-4);
  border-inline-start: 1px solid rgba(24, 63, 159, 0.12);
}
.rebuild-proof__bridge div:first-child {
  border-inline-start: 0;
}
.rebuild-proof__bridge span {
  color: #8a642e;
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
}
.rebuild-proof__bridge strong {
  align-self: end;
  color: var(--rebuild-royal-ink);
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  line-height: 1;
}
.rebuild-section-head {
  display: grid;
  gap: var(--sp-3);
  max-inline-size: 760px;
  margin-block: clamp(-1.5rem, -2vw, -0.5rem) clamp(2rem, 5vw, 4rem);
}
.rebuild-section-head__kicker {
  margin: 0;
  color: #8a642e;
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
}
.rebuild-location .rebuild-section-head__kicker,
.rebuild-final .rebuild-section-head__kicker {
  color: #f8d9a0;
}
.rebuild-proof .rebuild-section-head__kicker {
  color: #8a642e;
}
.rebuild-section-head h2,
.rebuild-gallery__head h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.1rem, 4vw, 4.25rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}
.rebuild-proof .rebuild-section-head h2,
.rebuild-proof .rebuild-section-head p {
  color: var(--rebuild-royal-ink);
}
.rebuild-proof .rebuild-section-head p {
  color: #475569;
}
.rebuild-section-head p {
  max-inline-size: 62ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--text-md);
  line-height: 1.7;
}
.rebuild-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(24, 63, 159, 0.12);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.86));
  box-shadow: 0 22px 70px rgba(30, 64, 175, 0.10);
  backdrop-filter: blur(12px);
}
.rebuild-feature-card {
  position: relative;
  min-block-size: 218px;
  padding: var(--sp-5);
  overflow: hidden;
  border-inline-start: 1px solid rgba(24, 63, 159, 0.10);
  border-block-start: 1px solid rgba(24, 63, 159, 0.10);
  color: var(--rebuild-royal-ink);
  transition:
    background-color var(--dur-base, 180ms) var(--ease-out, ease),
    transform var(--dur-base, 180ms) var(--ease-out, ease),
    box-shadow var(--dur-base, 180ms) var(--ease-out, ease);
}
.rebuild-feature-card:hover {
  transform: translateY(-2px);
  background: rgba(239, 246, 255, 0.55);
}
.rebuild-feature-card:nth-child(3) {
  background: rgba(251, 247, 239, 0.62);
}
.rebuild-feature-card:nth-child(4) {
  background: rgba(234, 241, 247, 0.62);
}
.rebuild-feature-card:nth-child(6) {
  background: rgba(255, 255, 255, 0.48);
}
.rebuild-feature-card--lead {
  min-block-size: 300px;
  background:
    radial-gradient(circle at 20% 95%, rgba(184, 138, 68, 0.20), transparent 34%),
    linear-gradient(145deg, var(--rebuild-royal) 0%, var(--rebuild-royal-deep) 100%);
  color: #ffffff;
}
@media (min-width: 900px) {
  .rebuild-feature-card--lead {
    grid-column: span 2;
  }
  .rebuild-feature-card--lead h3 {
    max-inline-size: 12ch;
    font-size: clamp(1.8rem, 3vw, 3rem);
    line-height: 0.98;
  }
  .rebuild-feature-card--lead p {
    max-inline-size: 48ch;
    font-size: var(--text-base);
  }
}
.rebuild-feature-card:nth-child(3n + 1) {
  border-inline-start: 0;
}
.rebuild-feature-card:nth-child(-n + 3) {
  border-block-start: 0;
}
.rebuild-feature-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background:
    linear-gradient(rgba(24, 63, 159, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 63, 159, 0.04) 1px, transparent 1px);
  background-size: 20px 20px;
  mask-image: radial-gradient(farthest-side at 70% 0%, #000, transparent);
  opacity: 0.46;
}
.rebuild-feature-card::after {
  content: "";
  position: absolute;
  inset: auto auto -28px 22px;
  inline-size: 96px;
  block-size: 96px;
  border-radius: 50%;
  background: rgba(184, 138, 68, 0.16);
  filter: blur(24px);
  opacity: 0;
  transition: opacity var(--dur-base, 180ms) var(--ease-out, ease);
}
.rebuild-feature-card:hover::after {
  opacity: 1;
}
.rebuild-feature-card svg {
  position: relative;
  z-index: 1;
  inline-size: 1.6rem;
  block-size: 1.6rem;
  padding: 0.18rem;
  border-radius: 10px;
  background: rgba(243, 234, 220, 0.58);
  color: #8a642e;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}
.rebuild-feature-card h3 {
  position: relative;
  z-index: 1;
  margin: clamp(2.5rem, 5vw, 4.5rem) 0 0;
  color: var(--rebuild-royal-ink);
  font-size: var(--text-lg);
  line-height: var(--leading-tight);
}
.rebuild-feature-card p {
  position: relative;
  z-index: 1;
  margin: var(--sp-2) 0 0;
  color: #475569;
  font-size: var(--text-sm);
  line-height: 1.65;
}
.rebuild-feature-card--lead svg {
  color: #f8d9a0;
}
.rebuild-feature-card--lead h3 {
  color: #ffffff;
}
.rebuild-feature-card--lead p {
  color: rgba(255, 255, 255, 0.72);
}
.rebuild-bento {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.62fr) minmax(260px, 0.62fr);
  gap: var(--sp-3);
  margin-block-start: var(--sp-5);
}
.rebuild-bento__card {
  display: grid;
  gap: var(--sp-3);
  align-content: space-between;
  min-block-size: 220px;
  padding: var(--sp-5);
  border: 1px solid rgba(30, 64, 175, 0.12);
  border-radius: 22px;
  background:
    radial-gradient(circle at 80% 0%, rgba(184, 138, 68, 0.18), transparent 42%),
    #ffffff;
  box-shadow: 0 20px 58px rgba(23, 37, 84, 0.09);
  transition:
    transform var(--dur-base, 180ms) var(--ease-out, ease),
    box-shadow var(--dur-base, 180ms) var(--ease-out, ease);
}
.rebuild-bento__card:nth-child(2) {
  background:
    radial-gradient(circle at 82% 0%, rgba(24, 63, 159, 0.08), transparent 42%),
    var(--rebuild-mineral);
}
.rebuild-bento__card:nth-child(3) {
  background:
    radial-gradient(circle at 82% 0%, rgba(184, 138, 68, 0.12), transparent 42%),
    var(--rebuild-linen);
}
.rebuild-bento__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 70px rgba(23, 37, 84, 0.12);
}
.rebuild-bento__card--wide {
  grid-column: span 2;
}
.rebuild-bento__card--media {
  grid-template-columns: minmax(0, 1fr) minmax(150px, 0.46fr);
  align-items: stretch;
  overflow: hidden;
  padding: 0;
}
.rebuild-bento__card--media > div {
  padding: var(--sp-5) var(--sp-5) 0;
}
.rebuild-bento__card--media > a {
  margin: 0 var(--sp-5) var(--sp-5);
}
.rebuild-bento__card--media figure {
  position: relative;
  grid-row: span 2;
  margin: 0;
  min-block-size: 100%;
  overflow: hidden;
}
.rebuild-bento__card--media figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.08), transparent 42%);
}
.rebuild-bento__card--media img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
}
.rebuild-bento__card span {
  color: #8a642e;
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
}
.rebuild-bento__card h3 {
  max-inline-size: 16ch;
  margin: var(--sp-3) 0 0;
  color: #172554;
  font-size: clamp(1.35rem, 2.5vw, 2.2rem);
  line-height: 1.02;
}
.rebuild-bento__card p {
  max-inline-size: 56ch;
  margin: var(--sp-3) 0 0;
  color: #475569;
  font-size: var(--text-sm);
  line-height: 1.7;
}
.rebuild-bento__card a {
  justify-self: start;
  color: var(--rebuild-royal);
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  text-decoration: none;
}
.rebuild-gallery {
  margin-block-start: clamp(3.5rem, 8vw, 6rem);
}
.rebuild-gallery__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--sp-4);
  margin-block-end: var(--sp-4);
}
.rebuild-gallery__head h2 {
  color: #172554;
  font-size: clamp(2rem, 3vw, 3rem);
}
.rebuild-gallery__head a {
  display: inline-grid;
  place-items: center;
  min-block-size: 40px;
  padding-inline: var(--sp-3);
  border: 1px solid rgba(24, 63, 159, 0.14);
  border-radius: 999px;
  background: #ffffff;
  color: var(--rebuild-royal);
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  text-decoration: none;
}
.rebuild-gallery__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, 440px);
  gap: var(--sp-3);
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding-block: var(--sp-1) var(--sp-3);
  scroll-snap-type: inline mandatory;
}
.rebuild-gallery__track a {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  border-radius: 20px;
  scroll-snap-align: start;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 22px 64px rgba(23, 37, 84, 0.16);
}
.rebuild-gallery__track img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow, 300ms) var(--ease-out, ease);
}
.rebuild-gallery__track a:hover img {
  transform: scale(1.04);
}
.rebuild-gallery__track strong {
  position: absolute;
  inset-inline: var(--sp-3);
  inset-block-end: var(--sp-3);
  z-index: 1;
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(23, 49, 116, 0.68);
  font-size: var(--text-sm);
  backdrop-filter: blur(12px);
}
.rebuild-gallery__track a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 44%, rgba(23, 49, 116, 0.72));
}
.rebuild-services {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 9vw, 7rem);
  background:
    radial-gradient(circle at 18% 18%, rgba(184, 138, 68, 0.10), transparent 26rem),
    radial-gradient(circle at 82% 52%, rgba(24, 63, 159, 0.08), transparent 28rem),
    #f8fbff;
  color: #172554;
}
.rebuild-services::before {
  content: "";
  position: absolute;
  inset-inline: max(var(--sp-4), calc((100vw - var(--container-wide, 1180px)) / 2));
  inset-block-start: 0;
  block-size: 1px;
  background: linear-gradient(90deg, transparent, rgba(30, 64, 175, 0.22), transparent);
}
.rebuild-services__layout {
  display: grid;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
@media (min-width: 980px) {
  .rebuild-services__layout {
    grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
  }
}
.rebuild-services__intro {
  position: sticky;
  inset-block-start: 96px;
  display: grid;
  gap: var(--sp-4);
}
.rebuild-services__intro h2 {
  max-inline-size: 12ch;
  margin: 0;
  color: #172554;
  font-size: clamp(2rem, 3.8vw, 3.8rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}
.rebuild-services__intro p {
  max-inline-size: 46ch;
  margin: 0;
  color: #475569;
  font-size: var(--text-md);
  line-height: 1.75;
}
.rebuild-services__compare {
  justify-self: start;
  display: inline-grid;
  place-items: center;
  min-block-size: 44px;
  padding-inline: var(--sp-4);
  border: 1px solid rgba(30, 64, 175, 0.18);
  border-radius: 999px;
  background: var(--rebuild-linen);
  color: #7a541f;
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  text-decoration: none;
  box-shadow: 0 14px 38px rgba(23, 37, 84, 0.08);
  transition:
    transform var(--dur-base, 180ms) var(--ease-out, ease),
    border-color var(--dur-base, 180ms) var(--ease-out, ease),
    box-shadow var(--dur-base, 180ms) var(--ease-out, ease);
}
.rebuild-services__compare:hover,
.rebuild-services__compare:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(138, 100, 46, 0.30);
  box-shadow: 0 18px 48px rgba(138, 100, 46, 0.12);
}
.rebuild-service-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-3);
}
.rebuild-service-card {
  position: relative;
  display: grid;
  gap: var(--sp-4);
  align-content: start;
  min-block-size: 320px;
  padding: var(--sp-5);
  overflow: hidden;
  border: 1px solid rgba(30, 64, 175, 0.12);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.82)),
    #ffffff;
  box-shadow: 0 18px 54px rgba(23, 37, 84, 0.08);
  transition:
    transform var(--dur-base, 180ms) var(--ease-out, ease),
    box-shadow var(--dur-base, 180ms) var(--ease-out, ease),
    border-color var(--dur-base, 180ms) var(--ease-out, ease);
}
.rebuild-service-card:nth-child(2) {
  background:
    radial-gradient(circle at 82% 0%, rgba(24, 63, 159, 0.08), transparent 15rem),
    #ffffff;
}
.rebuild-service-card:nth-child(3) {
  background:
    radial-gradient(circle at 82% 0%, rgba(234, 241, 247, 0.94), transparent 15rem),
    #ffffff;
}
.rebuild-service-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background:
    linear-gradient(rgba(30, 64, 175, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 64, 175, 0.035) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(farthest-side at 80% 0%, #000, transparent);
  pointer-events: none;
}
.rebuild-service-card:hover {
  transform: translateY(-2px);
  border-color: rgba(30, 64, 175, 0.22);
  box-shadow: 0 22px 60px rgba(23, 37, 84, 0.11);
}
.rebuild-service-card--featured {
  grid-row: span 2;
  min-block-size: 100%;
  background:
    radial-gradient(circle at 82% 16%, rgba(255, 255, 255, 0.18), transparent 16rem),
    linear-gradient(145deg, var(--rebuild-royal) 0%, var(--rebuild-royal-deep) 100%);
  color: #ffffff;
}
.rebuild-service-card--quiet {
  background:
    radial-gradient(circle at 82% 0%, rgba(184, 138, 68, 0.10), transparent 16rem),
    var(--rebuild-linen);
}
.rebuild-service-card__top,
.rebuild-service-card__actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
}
.rebuild-service-card__top span {
  color: #8a642e;
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
}
.rebuild-service-card__top strong {
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: var(--rebuild-royal-soft);
  color: var(--rebuild-royal);
  font-size: var(--text-xs);
}
.rebuild-service-card--featured .rebuild-service-card__top strong {
  background: rgba(255, 255, 255, 0.14);
  color: #f8d9a0;
}
.rebuild-service-card--quiet .rebuild-service-card__top strong {
  background: #ffffff;
  color: #7a541f;
}
.rebuild-service-card h3 {
  position: relative;
  z-index: 1;
  max-inline-size: 12ch;
  margin: var(--sp-4) 0 0;
  color: #172554;
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 0.98;
  letter-spacing: 0;
}
.rebuild-service-card--featured h3 {
  color: #ffffff;
  font-size: clamp(2rem, 3.3vw, 3.5rem);
}
.rebuild-service-card p,
.rebuild-service-card ul {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #475569;
  font-size: var(--text-sm);
  line-height: 1.7;
}
.rebuild-service-card--featured p,
.rebuild-service-card--featured ul {
  color: rgba(255, 255, 255, 0.72);
}
.rebuild-service-card ul {
  display: grid;
  gap: var(--sp-2);
  padding: 0;
  list-style: none;
}
.rebuild-service-card li {
  display: flex;
  gap: var(--sp-2);
}
.rebuild-service-card li::before {
  content: "";
  flex: 0 0 auto;
  inline-size: 0.42rem;
  block-size: 0.42rem;
  margin-block-start: 0.62rem;
  border-radius: 50%;
  background: #8a642e;
}
.rebuild-service-card__actions {
  align-self: end;
  margin-block-start: auto;
}
.rebuild-service-card__actions a {
  display: inline-grid;
  place-items: center;
  min-block-size: 44px;
  padding-inline: var(--sp-3);
  border-radius: 999px;
  color: var(--rebuild-royal);
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  text-decoration: none;
  transition:
    transform var(--dur-fast, 140ms) var(--ease-out, ease),
    background-color var(--dur-fast, 140ms) var(--ease-out, ease),
    color var(--dur-fast, 140ms) var(--ease-out, ease);
}
.rebuild-service-card__actions a:hover,
.rebuild-service-card__actions a:focus-visible {
  transform: translateY(-1px);
}
.rebuild-service-card__actions a:first-child {
  background: var(--rebuild-royal);
  color: #ffffff;
}
.rebuild-service-card--featured .rebuild-service-card__actions a {
  color: #ffffff;
}
.rebuild-service-card--featured .rebuild-service-card__actions a:first-child {
  background: #ffffff;
  color: var(--rebuild-royal-ink);
}
.rebuild-flow {
  padding-block: clamp(4rem, 9vw, 7rem);
  background:
    linear-gradient(180deg, #ffffff 0%, var(--rebuild-mineral) 100%);
  color: #172554;
}
.rebuild-flow__head {
  display: grid;
  gap: var(--sp-3);
  max-inline-size: 820px;
  margin-block-end: clamp(2rem, 5vw, 4rem);
}
.rebuild-flow__head h2,
.rebuild-location__copy h2,
.rebuild-faq h2,
.rebuild-final h2 {
  margin: 0;
  color: #172554;
  font-size: clamp(2rem, 3.7vw, 3.8rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}
.rebuild-flow__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid rgba(30, 64, 175, 0.12);
  border-radius: 26px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 24px 70px rgba(23, 37, 84, 0.09);
  overflow: hidden;
}
.rebuild-flow__steps li {
  display: grid;
  align-content: start;
  gap: var(--sp-3);
  min-block-size: 270px;
  padding: var(--sp-5);
  border-inline-start: 1px solid rgba(30, 64, 175, 0.10);
}
.rebuild-flow__steps li:nth-child(2) {
  background: rgba(251, 247, 239, 0.58);
}
.rebuild-flow__steps li:nth-child(3) {
  background: rgba(239, 246, 255, 0.56);
}
.rebuild-flow__steps li:nth-child(4) {
  background: rgba(255, 255, 255, 0.64);
}
.rebuild-flow__steps li:first-child {
  border-inline-start: 0;
}
.rebuild-flow__steps span {
  display: inline-grid;
  place-items: center;
  inline-size: 2.5rem;
  block-size: 2.5rem;
  border-radius: 50%;
  background: var(--rebuild-gold-soft);
  color: #7a541f;
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
}
.rebuild-flow__steps h3 {
  margin: auto 0 0;
  color: #172554;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.05;
}
.rebuild-flow__steps p {
  margin: 0;
  color: #475569;
  font-size: var(--text-sm);
  line-height: 1.7;
}
.rebuild-location {
  padding-block: clamp(4rem, 9vw, 7rem);
  background:
    radial-gradient(circle at 82% 12%, rgba(255, 255, 255, 0.14), transparent 28rem),
    linear-gradient(135deg, var(--rebuild-royal-deep) 0%, var(--rebuild-royal) 100%);
  color: #ffffff;
}
.rebuild-location__grid {
  display: grid;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
@media (min-width: 940px) {
  .rebuild-location__grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.62fr);
  }
  .rebuild-location__grid--compact {
    grid-template-columns: minmax(0, 0.66fr) minmax(320px, 0.34fr);
    align-items: start;
  }
  .rebuild-location__grid--compact .rebuild-location__copy {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 0.68fr) minmax(320px, 0.32fr);
    align-items: start;
  }
  .rebuild-location__grid--compact .rebuild-location__copy > .rebuild-section-head__kicker,
  .rebuild-location__grid--compact .rebuild-location__copy > h2,
  .rebuild-location__grid--compact .rebuild-location__copy > p {
    grid-column: 1;
  }
  .rebuild-location__grid--compact .rebuild-location__facts,
  .rebuild-location__grid--compact .rebuild-location__cards {
    grid-column: 2;
  }
  .rebuild-location__grid--compact .rebuild-location__facts {
    grid-row: 1 / span 3;
  }
}
.rebuild-location__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  max-block-size: 520px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 26px;
  box-shadow: 0 22px 70px rgba(30, 64, 175, 0.18);
}
.rebuild-location__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 48%, rgba(23, 49, 116, 0.32)),
    linear-gradient(180deg, transparent 72%, rgba(23, 49, 116, 0.26));
}
.rebuild-location__media img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
}
.rebuild-location__copy {
  display: grid;
  gap: var(--sp-4);
}
.rebuild-location__copy h2 {
  color: #ffffff;
}
.rebuild-location__copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--text-md);
  line-height: 1.75;
}
.rebuild-location__facts {
  display: grid;
  gap: var(--sp-2);
  margin: 0;
}
.rebuild-location__facts div {
  display: grid;
  grid-template-columns: minmax(7rem, 0.32fr) minmax(0, 1fr);
  gap: var(--sp-3);
  padding-block: var(--sp-2);
  border-block-start: 1px solid rgba(255, 255, 255, 0.16);
}
.rebuild-location__facts dt {
  color: #f8d9a0;
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
}
.rebuild-location__facts dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}
.rebuild-location__cards {
  display: grid;
  gap: var(--sp-3);
  margin-block-start: var(--sp-2);
}
.rebuild-location__cards a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  min-block-size: 74px;
  padding: var(--sp-3) var(--sp-4);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.10);
  color: #ffffff;
  text-decoration: none;
  backdrop-filter: blur(14px);
}
.rebuild-location__cards a:hover,
.rebuild-location__cards a:focus-visible {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.28);
}
.rebuild-location__cards span {
  color: #f8d9a0;
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
}
.rebuild-location__cards strong {
  font-size: var(--text-base);
}
.rebuild-faq {
  padding-block: clamp(4rem, 9vw, 7rem);
  background:
    radial-gradient(circle at 18% 12%, rgba(184, 138, 68, 0.08), transparent 24rem),
    #f8fbff;
}
.rebuild-faq__grid {
  display: grid;
  gap: clamp(2rem, 6vw, 5rem);
}
@media (min-width: 920px) {
  .rebuild-faq__grid {
    grid-template-columns: minmax(280px, 0.44fr) minmax(0, 1fr);
  }
}
.rebuild-faq__list {
  display: grid;
  gap: var(--sp-3);
}
.rebuild-faq details {
  border: 1px solid rgba(30, 64, 175, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 38px rgba(23, 37, 84, 0.06);
}
.rebuild-faq details:hover,
.rebuild-faq details[open] {
  border-color: rgba(24, 63, 159, 0.20);
  box-shadow: 0 18px 48px rgba(23, 37, 84, 0.08);
}
.rebuild-faq summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--sp-3);
  align-items: center;
  cursor: pointer;
  padding: var(--sp-4);
  color: #172554;
  font-weight: var(--fw-bold);
  list-style: none;
}
.rebuild-faq summary::-webkit-details-marker {
  display: none;
}
.rebuild-faq summary::after {
  content: "+";
  color: #8a642e;
}
.rebuild-faq details[open] summary::after {
  content: "-";
}
.rebuild-faq details p {
  margin: 0;
  padding: 0 var(--sp-4) var(--sp-4);
  color: #475569;
  line-height: 1.7;
}
.rebuild-final {
  padding-block: clamp(4rem, 9vw, 7rem);
  background:
    radial-gradient(circle at 72% 20%, rgba(255, 255, 255, 0.16), transparent 26rem),
    linear-gradient(135deg, var(--rebuild-royal-deep) 0%, var(--rebuild-royal) 100%);
  color: #ffffff;
}
.rebuild-final__inner {
  display: grid;
  justify-items: center;
  gap: var(--sp-4);
  text-align: center;
}
.rebuild-final h2 {
  max-inline-size: 11ch;
  color: #ffffff;
}
.rebuild-final p {
  max-inline-size: 52ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: var(--text-md);
  line-height: 1.7;
}
.rebuild-final__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-3);
  margin-block-start: var(--sp-2);
}
.rebuild-final__actions a {
  display: inline-grid;
  place-items: center;
  min-block-size: 48px;
  padding-inline: var(--sp-5);
  border-radius: 999px;
  color: #ffffff;
  font-weight: var(--fw-bold);
  text-decoration: none;
  transition:
    transform var(--dur-base, 180ms) var(--ease-out, ease),
    background-color var(--dur-base, 180ms) var(--ease-out, ease);
}
.rebuild-final__actions a:hover,
.rebuild-final__actions a:focus-visible {
  transform: translateY(-2px);
}
.rebuild-final__actions a:first-child {
  background: #ffffff;
  color: #071222;
}
.rebuild-final__actions a:last-child {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
}
@media (max-width: 760px) {
  .rebuild-header {
    padding-block-start: 0;
  }
  .rebuild-header__nav {
    min-block-size: 64px;
    border-radius: 0 0 18px 18px;
    border-inline: 0;
    border-block-start: 0;
  }
  .rebuild-header__brand span:last-child {
    max-inline-size: 10rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .rebuild-hero {
    min-block-size: auto;
    padding-block: calc(72px + var(--sp-6)) var(--sp-5);
  }
  .rebuild-hero h1 {
    font-size: clamp(2.35rem, 12vw, 3.55rem);
    line-height: 1.02;
  }
  .rebuild-hero__actions {
    display: grid;
  }
  .rebuild-hero__actions .btn {
    inline-size: 100%;
  }
  .rebuild-hero__panel li {
    align-items: flex-start;
  }
  .rebuild-proof {
    padding-block: 0 var(--sp-8);
    background:
      radial-gradient(520px at var(--glow-x, 50%) var(--glow-y, 10%), rgba(59, 130, 246, 0.12), transparent 72%),
      linear-gradient(180deg, var(--rebuild-royal-2) 0%, #dbeafe 36%, #eef5ff 72%, #f8fbff 100%);
  }
  .rebuild-proof__bridge {
    grid-template-columns: 1fr;
    transform: translateY(-22px);
  }
  .rebuild-proof__bridge::after {
    inline-size: 100%;
    opacity: 0.16;
  }
  .rebuild-proof__bridge div {
    min-block-size: 76px;
    border-inline-start: 0;
    border-block-start: 1px solid rgba(255, 255, 255, 0.14);
  }
  .rebuild-proof__bridge div:first-child {
    border-block-start: 0;
  }
  .rebuild-section-head {
    margin-block: var(--sp-4) var(--sp-5);
  }
  .rebuild-feature-grid,
  .rebuild-bento {
    grid-template-columns: 1fr;
  }
  .rebuild-feature-card,
  .rebuild-feature-card:nth-child(3n + 1),
  .rebuild-feature-card:nth-child(-n + 3) {
    border-inline-start: 0;
    border-block-start: 1px solid rgba(255, 255, 255, 0.12);
  }
  .rebuild-feature-card:first-child {
    border-block-start: 0;
  }
  .rebuild-bento__card--wide {
    grid-column: auto;
  }
  .rebuild-bento__card--media {
    grid-template-columns: 1fr;
  }
  .rebuild-bento__card--media figure {
    grid-row: auto;
    aspect-ratio: 16 / 8;
    max-block-size: 220px;
  }
  .rebuild-gallery__head {
    display: grid;
  }
  .rebuild-gallery__track {
    grid-auto-columns: minmax(220px, 68vw);
  }
  .rebuild-services__intro {
    position: static;
  }
  .rebuild-service-stack {
    grid-template-columns: 1fr;
  }
  .rebuild-service-card,
  .rebuild-service-card--featured {
    min-block-size: auto;
  }
  .rebuild-service-card--featured {
    grid-row: auto;
  }
  .rebuild-service-card__actions {
    display: grid;
    justify-content: stretch;
  }
  .rebuild-service-card__actions a {
    inline-size: 100%;
  }
  .rebuild-flow__steps {
    grid-template-columns: 1fr;
  }
  .rebuild-flow__steps li,
  .rebuild-flow__steps li:first-child {
    min-block-size: auto;
    border-inline-start: 0;
    border-block-start: 1px solid rgba(30, 64, 175, 0.10);
  }
  .rebuild-flow__steps li:first-child {
    border-block-start: 0;
  }
  .rebuild-location__media {
    aspect-ratio: 16 / 8;
    max-block-size: 240px;
    border-radius: 20px;
  }
  .rebuild-final__actions {
    display: grid;
    inline-size: 100%;
  }
}
@media (max-width: 920px) {
  .rebuild-header__desktop,
  .rebuild-header__actions {
    display: none;
  }
  .rebuild-header__toggle {
    display: inline-grid;
  }
  .rebuild-mobile-menu {
    position: fixed;
    inset: 72px 0 0;
    z-index: 49;
    display: block;
    overflow-y: auto;
    border-block-start: 1px solid rgba(255, 255, 255, 0.12);
    background:
      radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.14), transparent 18rem),
      rgba(24, 63, 159, 0.96);
    backdrop-filter: blur(20px);
  }
  .has-home-rebuild-js .rebuild-mobile-menu[hidden] {
    display: none;
  }
  .rebuild-feature-grid,
  .rebuild-bento {
    grid-template-columns: 1fr;
  }
  .rebuild-feature-card,
  .rebuild-feature-card:nth-child(3n + 1),
  .rebuild-feature-card:nth-child(-n + 3) {
    border-inline-start: 0;
    border-block-start: 1px solid rgba(24, 63, 159, 0.10);
  }
  .rebuild-feature-card:first-child {
    border-block-start: 0;
  }
  .rebuild-bento__card--wide {
    grid-column: auto;
  }
  .rebuild-bento__card--media {
    grid-template-columns: 1fr;
  }
  .rebuild-bento__card--media figure {
    grid-row: auto;
    aspect-ratio: 16 / 7;
    max-block-size: 260px;
  }
  .rebuild-gallery__track {
    grid-auto-columns: minmax(240px, 42vw);
  }
  .rebuild-location__media {
    justify-self: center;
    inline-size: min(100%, 720px);
    aspect-ratio: 16 / 8;
    max-block-size: 320px;
  }
  .rebuild-flow__steps {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .has-rebuild-reveal [data-rebuild-reveal] {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
  }
  .rebuild-header,
  .rebuild-header__mega,
  .rebuild-header__toggle span {
    transition: none;
  }
  .rebuild-hero__canvas {
    display: none;
  }
  .rebuild-feature-card::after,
  .rebuild-bento__card,
  .rebuild-gallery__track img,
  .rebuild-service-card {
    transition: none;
  }
  .rebuild-bento__card:hover,
  .rebuild-gallery__track a:hover img,
  .rebuild-service-card:hover {
    transform: none;
  }
}

.home-v5-hero,
.home-v5-section,
.home-v5-final {
  padding-block: clamp(2rem, 4vw, 3.5rem);
}
.home-v5-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-block-size: clamp(560px, 78svh, 760px);
  overflow: hidden;
  border-block-end: 1px solid var(--home-v5-line);
  background:
    radial-gradient(circle at 78% 18%, rgba(245, 158, 11, 0.18), transparent 28rem),
    radial-gradient(circle at 18% 28%, rgba(30, 64, 175, 0.18), transparent 30rem),
    linear-gradient(135deg, #ffffff 0%, #f6f9ff 48%, #eef5ff 100%);
}
.home-v5-hero::before {
  content: "";
  position: absolute;
  inset: auto -12% -36% -12%;
  z-index: -1;
  block-size: 58%;
  background: radial-gradient(ellipse at center, rgba(30, 64, 175, 0.12), transparent 68%);
  filter: blur(22px);
}
.home-v5-aurora {
  position: absolute;
  inset: 0;
  z-index: -1;
  inline-size: 100%;
  block-size: 100%;
  opacity: 0.72;
}
.home-v5-hero .container {
  position: relative;
  z-index: 1;
}
.home-v5-hero__layout {
  display: grid;
  gap: var(--sp-6);
  align-items: center;
}
@media (min-width: 900px) {
  .home-v5-hero__layout {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  }
}
.home-v5-copy {
  display: grid;
  gap: var(--sp-4);
  max-inline-size: 760px;
}
.home-v5-kicker {
  margin: 0;
  color: var(--home-v5-blue);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
}
.home-v5-hero h1 {
  max-inline-size: 15ch;
  margin: 0;
  color: var(--home-v5-navy);
  font-size: clamp(2.55rem, 5.4vw, 5.65rem);
  line-height: 0.96;
  letter-spacing: 0;
}
.home-v5-lead {
  max-inline-size: 58ch;
  margin: 0;
  color: var(--home-v5-muted);
  font-size: var(--text-md);
  line-height: var(--leading-body);
}
.home-v5-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}
.home-v5-actions .btn {
  min-block-size: 44px;
  padding: var(--sp-2) var(--sp-4);
}
.home-v5-trustline {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  padding-block-start: var(--sp-1);
}
.home-v5-trustline span {
  padding: 0.42rem 0.75rem;
  border: 1px solid rgba(30, 64, 175, 0.14);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.62);
  color: var(--home-v5-navy);
  box-shadow: 0 10px 24px rgba(23, 37, 84, 0.06);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
}
.home-v5-panel {
  display: grid;
  gap: 0;
  border: 1px solid var(--home-v5-line);
  border-radius: calc(var(--r-lg) + 8px);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 24px 70px rgba(23, 37, 84, 0.13);
  backdrop-filter: blur(18px);
  overflow: hidden;
}
.home-v5-panel__head {
  display: grid;
  gap: var(--sp-1);
  padding: var(--sp-4);
  background:
    linear-gradient(135deg, rgba(23, 37, 84, 0.06), transparent),
    rgba(255, 255, 255, 0.54);
}
.home-v5-panel__head span {
  color: var(--home-v5-blue);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
}
.home-v5-panel__head strong {
  color: var(--home-v5-navy);
  font-size: var(--text-xl);
  line-height: var(--leading-tight);
}
.home-v5-panel__steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.home-v5-panel__steps li,
.home-v5-panel__meta div {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-3) var(--sp-4);
  border-block-start: 1px solid var(--home-v5-line);
}
.home-v5-panel__steps span {
  display: inline-grid;
  place-items: center;
  inline-size: 2rem;
  block-size: 2rem;
  border-radius: 50%;
  background: rgba(30, 64, 175, 0.10);
  color: var(--home-v5-blue);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
}
.home-v5-panel__steps strong {
  margin-inline-start: auto;
  align-self: center;
  color: var(--home-v5-navy);
  font-size: var(--text-sm);
}
.home-v5-panel__meta {
  display: grid;
  background: rgba(248, 251, 255, 0.78);
}
.home-v5-panel__meta span,
.home-v5-table span,
.home-v5-list span,
.home-v5-steps span {
  color: var(--home-v5-muted);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
}
.home-v5-panel strong {
  color: var(--home-v5-navy);
  font-size: var(--text-sm);
}
.home-v5-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  padding-block: var(--sp-4);
  border-block-end: 1px solid var(--home-v5-line);
}
.home-v5-trust span {
  padding: var(--sp-1) var(--sp-3);
  border: 1px solid var(--home-v5-line);
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--home-v5-navy);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
}
.home-v5-section {
  border-block-end: 1px solid rgba(30, 64, 175, 0.08);
}
.home-v5-section__head {
  display: grid;
  gap: var(--sp-1);
  margin-block-end: var(--sp-4);
}
.home-v5-section__head h2,
.home-v5-practice h2,
.home-v5-final h2 {
  margin: 0;
  color: var(--home-v5-navy);
  font-size: var(--text-2xl);
  line-height: var(--leading-tight);
}
.home-v5-list,
.home-v5-table,
.home-v5-steps {
  display: grid;
  border: 1px solid var(--home-v5-line);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
}
.home-v5-list a,
.home-v5-table a,
.home-v5-steps li {
  display: grid;
  grid-template-columns: 44px minmax(0, 0.8fr) minmax(220px, 1fr);
  gap: var(--sp-3);
  align-items: center;
  min-block-size: 64px;
  padding: var(--sp-3) var(--sp-4);
  border-block-start: 1px solid var(--home-v5-line);
  color: inherit;
  text-decoration: none;
}
.home-v5-list a:first-child,
.home-v5-table a:first-child,
.home-v5-steps li:first-child {
  border-block-start: 0;
}
.home-v5-list strong,
.home-v5-table strong,
.home-v5-steps strong {
  color: var(--home-v5-navy);
  font-size: var(--text-base);
}
.home-v5-list small,
.home-v5-table small,
.home-v5-steps small {
  color: var(--home-v5-muted);
  font-size: var(--text-sm);
  line-height: var(--leading-body);
}
.home-v5-table a {
  grid-template-columns: minmax(180px, 0.65fr) 150px minmax(240px, 1fr);
}
.home-v5-link {
  margin: var(--sp-3) 0 0;
}
.home-v5-link a {
  color: var(--home-v5-blue);
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  text-decoration: none;
}
.home-v5-practice {
  display: grid;
  gap: var(--sp-5);
  align-items: center;
  padding: var(--sp-4);
  border: 1px solid var(--home-v5-line);
  border-radius: var(--r-lg);
  background: var(--surface);
}
@media (min-width: 780px) {
  .home-v5-practice {
    grid-template-columns: 220px minmax(0, 1fr);
  }
}
.home-v5-practice img {
  inline-size: 100%;
  block-size: 150px;
  object-fit: cover;
  border-radius: var(--r-md);
}
.home-v5-practice > div {
  display: grid;
  gap: var(--sp-3);
}
.home-v5-practice p {
  max-inline-size: 62ch;
  margin: 0;
  color: var(--home-v5-muted);
  font-size: var(--text-base);
  line-height: var(--leading-body);
}
.home-v5-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}
.home-v5-final {
  display: grid;
  justify-items: start;
  gap: var(--sp-3);
}
@media (max-width: 760px) {
  .home-v5-hero,
  .home-v5-section,
  .home-v5-final {
    padding-block: var(--sp-8);
  }
  .home-v5-hero {
    min-block-size: auto;
  }
  .home-v5-hero h1 {
    font-size: clamp(2rem, 8vw, 2.75rem);
    line-height: 1.02;
  }
  .home-v5-lead {
    font-size: var(--text-base);
  }
  .home-v5-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .home-v5-actions .btn {
    inline-size: 100%;
  }
  .home-v5-list a,
  .home-v5-table a,
  .home-v5-steps li {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: var(--sp-2) var(--sp-3);
    min-block-size: auto;
    padding: var(--sp-3);
  }
  .home-v5-list small,
  .home-v5-table small,
  .home-v5-steps small {
    grid-column: 2;
  }
  .home-v5-table span {
    grid-column: 2;
  }
  .home-v5-practice {
    padding: var(--sp-3);
  }
  .home-v5-practice img {
    block-size: 132px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-v5-aurora {
    display: none;
  }
}

[data-page='home'] .btn-primary {
  background: var(--home-blue);
  color: var(--c-white);
}
[data-page='home'] .btn-primary:hover {
  background: var(--home-blue-deep);
  color: var(--c-white);
}
[data-page='home'] .btn-ghost {
  border-color: rgba(30, 64, 175, 0.24);
  color: var(--home-blue);
}
[data-page='home'] .btn-ghost:hover {
  border-color: var(--home-blue);
  color: var(--home-blue-deep);
}

.home-v4-kicker {
  margin: 0;
  color: var(--home-blue);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
}
.home-v4-lead {
  max-inline-size: 64ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--text-lg);
  line-height: var(--leading-body);
}
.home-v4-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  align-items: center;
}

.home-v4-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.5rem, 5vw, 4rem) var(--sp-6);
  background:
    linear-gradient(135deg, rgba(23, 37, 84, 0.98), rgba(30, 64, 175, 0.96) 62%, rgba(29, 78, 216, 0.88));
  color: var(--c-white);
}
.home-v4-hero::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  block-size: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.46), transparent);
}
.home-v4-hero__grid {
  display: grid;
  gap: clamp(1.5rem, 3.5vw, 2.75rem);
  align-items: center;
}
@media (min-width: 980px) {
  .home-v4-hero__grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.62fr);
  }
}
.home-v4-hero__copy {
  display: grid;
  gap: var(--sp-4);
  max-inline-size: 760px;
}
.home-v4-hero .home-v4-kicker {
  color: rgba(255, 255, 255, 0.72);
}
.home-v4-hero h1 {
  max-inline-size: 12.5ch;
  margin: 0;
  color: var(--c-white);
  font-size: clamp(2.75rem, 5.4vw, 4.75rem);
  line-height: 1;
  letter-spacing: 0;
}
.home-v4-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: var(--text-sm);
}
.home-v4-note strong {
  color: var(--c-white);
}
.home-v4-hero .btn-primary {
  background: var(--c-white);
  color: var(--home-blue-deep);
}
.home-v4-hero .btn-primary:hover {
  background: #edf4ff;
  color: var(--home-blue-deep);
}
.home-v4-hero .btn-ghost {
  border-color: rgba(255, 255, 255, 0.38);
  color: var(--c-white);
}
.home-v4-hero .btn-ghost:hover {
  border-color: var(--c-white);
  color: var(--c-white);
}

.home-v4-portrait {
  position: relative;
  margin: 0;
  min-block-size: clamp(260px, 30vw, 400px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--r-xl);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.18);
}
.home-v4-portrait img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.04);
}
.home-v4-portrait::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(15, 23, 42, 0.68));
}
.home-v4-portrait figcaption {
  position: absolute;
  inset-inline: var(--sp-5);
  inset-block-end: var(--sp-5);
  z-index: 1;
  display: grid;
  gap: var(--sp-1);
  color: var(--c-white);
}
.home-v4-portrait span {
  color: rgba(255, 255, 255, 0.68);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
}
.home-v4-portrait strong {
  max-inline-size: 28ch;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  line-height: var(--leading-tight);
}
.home-v4-hero__rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-block-start: clamp(1.25rem, 3vw, 2.25rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.16);
}
.home-v4-hero__rail a {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  min-block-size: 54px;
  padding: var(--sp-3) var(--sp-4);
  background: rgba(255, 255, 255, 0.08);
  color: var(--c-white);
  text-decoration: none;
}
.home-v4-hero__rail span {
  color: rgba(255, 255, 255, 0.54);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
}
.home-v4-hero__rail strong {
  font-size: var(--text-sm);
}

.home-v4-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-block-start: var(--sp-5);
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid var(--home-line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(23, 37, 84, 0.06);
}
.home-v4-proof div {
  display: grid;
  gap: var(--sp-1);
  min-block-size: 64px;
  padding: var(--sp-3) var(--sp-4);
  border-inline-start: 1px solid var(--home-line);
}
.home-v4-proof div:first-child {
  border-inline-start: 0;
}
.home-v4-proof span {
  color: var(--home-gold);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
}
.home-v4-proof strong {
  color: var(--home-blue-deep);
  font-size: var(--text-base);
  font-weight: var(--fw-bold);
  line-height: var(--leading-tight);
}

.home-v4-section,
.home-v4-gallery,
.home-v4-local,
.home-v4-band {
  padding-block: clamp(2.25rem, 4.5vw, 4rem);
  background: var(--home-bg);
}
.home-v4-heading {
  display: grid;
  gap: var(--sp-2);
  max-inline-size: 760px;
  margin-block-end: var(--sp-5);
}
.home-v4-heading--split {
  max-inline-size: none;
  align-items: end;
}
@media (min-width: 860px) {
  .home-v4-heading--split {
    grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.54fr);
  }
}
.home-v4-heading h2,
.home-v4-safety h2,
.home-v4-local h2,
.home-v4-final h2 {
  margin: 0;
  color: var(--home-blue-deep);
  font-size: var(--text-3xl);
  line-height: var(--leading-display);
}
.home-v4-heading p,
.home-v4-safety p,
.home-v4-local p,
.home-v4-final p {
  margin: 0;
  color: var(--text-soft);
  font-size: var(--text-base);
  line-height: var(--leading-body);
}

.home-v4-routes {
  display: grid;
  gap: var(--sp-3);
}
@media (min-width: 860px) {
  .home-v4-routes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.home-v4-routes a,
.home-v4-service,
.home-v4-tools a {
  display: grid;
  gap: var(--sp-2);
  min-block-size: 132px;
  padding: var(--sp-4);
  border: 1px solid var(--home-line);
  border-radius: var(--r-lg);
  background: var(--surface);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(23, 37, 84, 0.035);
  transition: transform var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.home-v4-routes a:hover,
.home-v4-service:hover,
.home-v4-tools a:hover {
  transform: translateY(-1px);
  border-color: rgba(30, 64, 175, 0.38);
  box-shadow: 0 10px 28px rgba(23, 37, 84, 0.06);
}
.home-v4-routes span,
.home-v4-service span,
.home-v4-tools span {
  color: var(--home-gold);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
}
.home-v4-routes strong,
.home-v4-tools strong {
  color: var(--home-blue-deep);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  line-height: var(--leading-tight);
}
.home-v4-routes p,
.home-v4-service p,
.home-v4-tools p {
  margin: 0;
  color: var(--text-soft);
  font-size: var(--text-sm);
  line-height: var(--leading-body);
}

.home-v4-gallery {
  overflow: hidden;
  border-block: 0;
  background: var(--home-bg);
}
.home-v4-image-wall {
  display: grid;
  gap: var(--sp-3);
}
@media (min-width: 860px) {
  .home-v4-image-wall {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.48fr);
    grid-template-rows: repeat(2, minmax(130px, 1fr));
  }
  .home-v4-image-wall img:first-child {
    grid-row: 1 / span 2;
  }
}
.home-v4-image-wall img {
  inline-size: 100%;
  block-size: 100%;
  min-block-size: 180px;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: 0 8px 24px rgba(23, 37, 84, 0.06);
}

.home-v4-services {
  display: grid;
  gap: var(--sp-3);
}
@media (min-width: 900px) {
  .home-v4-services {
    grid-template-columns: minmax(0, 1.15fr) repeat(3, minmax(0, 0.72fr));
  }
}
.home-v4-service h3 {
  margin: 0;
  color: var(--home-blue-deep);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  line-height: var(--leading-tight);
}
.home-v4-service--featured {
  background: linear-gradient(135deg, var(--home-blue-deep), var(--home-blue));
  color: var(--c-white);
}
.home-v4-service--featured span,
.home-v4-service--featured p,
.home-v4-service--featured h3 {
  color: var(--c-white);
}
.home-v4-service--featured p {
  opacity: 0.78;
}
.home-v4-service--featured div {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}
.home-v4-service--featured small {
  padding: var(--sp-2) var(--sp-3);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.84);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
}
.home-v4-service--featured .btn-primary {
  justify-self: start;
  background: var(--c-white);
  color: var(--home-blue-deep);
}
.home-v4-more {
  margin: var(--sp-5) 0 0;
  text-align: center;
}
.home-v4-more a {
  color: var(--home-blue);
  font-weight: var(--fw-bold);
  text-decoration: none;
}
.home-v4-more a:hover {
  color: var(--home-blue-deep);
}

.home-v4-band {
  background: var(--home-bg);
  color: var(--c-white);
}
.home-v4-safety {
  display: grid;
  gap: var(--sp-5);
  padding: clamp(1.25rem, 3.5vw, 2.5rem);
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--home-blue-deep), var(--home-blue));
  box-shadow: var(--home-shadow);
}
@media (min-width: 980px) {
  .home-v4-safety {
    grid-template-columns: minmax(0, 0.72fr) minmax(420px, 1fr);
    align-items: start;
  }
}
.home-v4-safety .home-v4-kicker,
.home-v4-safety h2 {
  color: var(--c-white);
}
.home-v4-safety p {
  color: rgba(255, 255, 255, 0.76);
}
.home-v4-safety ol {
  display: grid;
  gap: var(--sp-2);
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 680px) {
  .home-v4-safety ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.home-v4-safety li {
  display: grid;
  gap: var(--sp-1);
  min-block-size: 112px;
  padding: var(--sp-4);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.08);
}
.home-v4-safety li span {
  color: rgba(255, 255, 255, 0.56);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
}
.home-v4-safety li strong {
  color: var(--c-white);
  font-family: var(--font-display);
  font-size: var(--text-xl);
}
.home-v4-safety li p {
  font-size: var(--text-sm);
}

.home-v4-tools {
  display: grid;
  gap: var(--sp-4);
}
@media (min-width: 760px) {
  .home-v4-tools {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.home-v4-tools a {
  min-block-size: 190px;
}

.home-v4-local {
  border-block: 0;
  background: var(--home-bg);
}
.home-v4-local__grid {
  display: grid;
  gap: var(--sp-5);
  align-items: center;
}
@media (min-width: 920px) {
  .home-v4-local__grid {
    grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.72fr);
  }
}
.home-v4-local__grid > div {
  display: grid;
  gap: var(--sp-4);
}
.home-v4-cities {
  display: grid;
  gap: var(--sp-2);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.home-v4-cities a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-block-size: 44px;
  padding: var(--sp-2) var(--sp-3);
  border: 1px solid var(--home-line);
  border-radius: var(--r-md);
  background: var(--surface);
  color: var(--home-blue-deep);
  font-weight: var(--fw-bold);
  text-decoration: none;
}
.home-v4-cities a::after {
  content: '->';
  color: var(--home-blue);
}

.home-v4-final {
  padding-block: clamp(2.25rem, 4.5vw, 4rem);
}
.home-v4-final > div {
  display: grid;
  justify-items: center;
  gap: var(--sp-3);
  padding: clamp(1.5rem, 4vw, 2.75rem);
  border-radius: var(--r-lg);
  background:
    linear-gradient(135deg, rgba(23, 37, 84, 0.96), rgba(30, 64, 175, 0.94)),
    radial-gradient(circle at 70% 12%, rgba(255,255,255,0.18), transparent 34%);
  color: var(--c-white);
  text-align: center;
  box-shadow: 0 16px 46px rgba(23, 37, 84, 0.10);
}
.home-v4-final .home-v4-kicker,
.home-v4-final h2 {
  color: var(--c-white);
}
.home-v4-final p {
  max-inline-size: 62ch;
  color: rgba(255, 255, 255, 0.78);
}
.home-v4-final .btn-primary {
  background: var(--c-white);
  color: var(--home-blue-deep);
}
.home-v4-final .btn-ghost {
  border-color: rgba(255, 255, 255, 0.34);
  color: var(--c-white);
}

@media (max-width: 760px) {
  .home-v4-hero {
    padding-block: var(--sp-8) var(--sp-6);
  }
  .home-v4-hero h1 {
    max-inline-size: 12ch;
    font-size: clamp(2.25rem, 9.5vw, 2.9rem);
    line-height: 1.02;
  }
  .home-v4-hero__copy {
    gap: var(--sp-4);
  }
  .home-v4-lead,
  .home-v4-heading p,
  .home-v4-safety p,
  .home-v4-local p,
  .home-v4-final p {
    font-size: var(--text-base);
  }
  .home-v4-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .home-v4-actions .btn {
    inline-size: 100%;
  }
  .home-v4-actions .btn-lg {
    min-block-size: 48px;
    padding: var(--sp-3) var(--sp-4);
    font-size: var(--text-base);
  }
  .home-v4-portrait {
    min-block-size: 220px;
    border-radius: var(--r-lg);
  }
  .home-v4-portrait figcaption {
    inset-inline: var(--sp-4);
    inset-block-end: var(--sp-4);
  }
  .home-v4-hero__rail {
    grid-template-columns: 1fr;
    margin-block-start: var(--sp-4);
  }
  .home-v4-hero__rail a {
    min-block-size: 44px;
    padding: var(--sp-2) var(--sp-3);
  }
  .home-v4-proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-block-start: var(--sp-4);
    border-radius: var(--r-lg);
  }
  .home-v4-proof div,
  .home-v4-proof div:first-child {
    min-block-size: 66px;
    border-inline-start: 0;
    border-block-start: 1px solid var(--home-line);
    padding: var(--sp-3);
  }
  .home-v4-proof div:first-child {
    border-block-start: 0;
  }
  .home-v4-heading h2,
  .home-v4-safety h2,
  .home-v4-local h2,
  .home-v4-final h2 {
    font-size: var(--text-2xl);
  }
  .home-v4-routes a,
  .home-v4-service,
  .home-v4-tools a {
    min-block-size: auto;
    padding: var(--sp-4);
    border-radius: var(--r-lg);
    box-shadow: none;
  }
  .home-v4-routes strong,
  .home-v4-tools strong,
  .home-v4-service h3 {
    font-size: var(--text-xl);
  }
  .home-v4-section,
  .home-v4-gallery,
  .home-v4-local,
  .home-v4-band {
    padding-block: var(--sp-8);
  }
  .home-v4-heading {
    margin-block-end: var(--sp-5);
  }
  .home-v4-heading--split p {
    display: none;
  }
  .home-v4-image-wall {
    grid-template-columns: 1fr;
  }
  .home-v4-image-wall img {
    min-block-size: 170px;
  }
  .home-v4-safety ol,
  .home-v4-cities {
    grid-template-columns: 1fr;
  }
  .home-v4-final > div {
    align-items: stretch;
    justify-items: stretch;
    text-align: start;
  }
}

.resource-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-5);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  transition:
    transform var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out);
}
.resource-card:hover,
.resource-card:focus-visible {
  transform: translateY(-2px);
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
}
.resource-card__label {
  inline-size: fit-content;
  padding: var(--sp-1) var(--sp-2);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--bg-soft);
  color: var(--brand);
  font-size: var(--text-xs);
  font-weight: var(--fw-semi);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
}
.resource-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-md);
}
.resource-card__text {
  flex: 1;
  margin: 0;
  color: var(--text-soft);
  font-size: var(--text-sm);
  line-height: var(--leading-body);
}
.resource-card__link {
  margin-block-start: auto;
  color: var(--brand);
  font-size: var(--text-sm);
  font-weight: var(--fw-semi);
}
.subscription-card {
  padding: var(--sp-5);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.subscription-card--featured {
  border-color: var(--c-gold-500);
  box-shadow: 0 0 0 4px var(--accent-weak);
}
.subscription-card__price {
  margin: var(--sp-3) 0 0;
  color: var(--brand);
  font-family: var(--font-display);
  font-size: var(--text-2xl);
}
.subscription-card__price small {
  color: var(--text-dim);
  font-size: var(--text-xs);
}
.subscription-card__desc {
  margin-block-start: var(--sp-2);
  color: var(--text-soft);
  font-size: var(--text-sm);
}
.section-actions {
  display: flex;
  justify-content: center;
  gap: var(--sp-3);
  margin-block-start: var(--sp-6);
}
.section-actions--spacious {
  margin-block-start: var(--sp-8);
}
.city-grid--compact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--sp-3);
  max-inline-size: 1100px;
  margin-inline: auto;
}
.city-tile--compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding: var(--sp-4);
}
.city-tile--compact strong {
  display: block;
}
.city-tile--compact small {
  color: var(--text-soft);
}
.city-tile--compact > span:last-child {
  color: var(--brand);
  font-weight: var(--fw-semi);
}

/* ═══════════════════════════════════════════════════════════
   BREADCRUMB
   ═══════════════════════════════════════════════════════════ */

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  align-items: center;
  font-size: var(--text-sm);
  color: var(--text-dim);
  padding: 0;
}
.breadcrumb li { display: inline-flex; align-items: center; }
.breadcrumb a {
  color: var(--text-soft);
  text-decoration: none;
  transition: color var(--dur-fast);
}
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb li + li::before {
  content: '›';
  margin-inline-end: var(--sp-2);
  color: var(--border-strong);
}
.breadcrumb [aria-current='page'] {
  color: var(--text);
  font-weight: var(--fw-medium);
}

/* ═══════════════════════════════════════════════════════════
   PROSE — long-read typography
   ═══════════════════════════════════════════════════════════ */

.prose {
  max-inline-size: 68ch;
  color: var(--text-soft);
  font-size: var(--text-md);
  line-height: var(--leading-body);
}
.prose > * + * { margin-block-start: var(--sp-5); }
.prose h2 {
  font-size: var(--text-2xl);
  color: var(--text);
  margin-block-start: var(--sp-10);
}
.prose h3 {
  font-size: var(--text-xl);
  color: var(--text);
  margin-block-start: var(--sp-8);
}
.prose p { max-inline-size: none; }
.prose ul, .prose ol {
  padding-inline-start: 1.5rem;
  list-style: disc;
}
.prose ol { list-style: decimal; }
.prose li + li { margin-block-start: var(--sp-2); }
.prose strong { color: var(--text); font-weight: var(--fw-semi); }
.prose a:not(.btn) {
  color: var(--brand);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.prose a:not(.btn):hover {
  color: var(--brand-hover);
  text-decoration-thickness: 2px;
}
/* Buttons in .prose behouden hun eigen kleur (niet overschrijven) */
.prose a.btn { text-decoration: none; }
.prose blockquote {
  padding: var(--sp-5) var(--sp-6);
  background: var(--bg-muted);
  border-inline-start: 3px solid var(--brand);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-lg);
  color: var(--text);
  line-height: var(--leading-snug);
}
.prose hr {
  border: 0;
  border-block-start: 1px solid var(--border);
  margin-block: var(--sp-10);
}

/* ═══════════════════════════════════════════════════════════
   SPLIT layout — content + sticky aside
   ═══════════════════════════════════════════════════════════ */

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-10);
  align-items: start;
}
@media (min-width: 960px) {
  .split {
    grid-template-columns: 1fr 320px;
    gap: var(--sp-12);
  }
}
.split__aside {
  padding: var(--sp-6);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
@media (min-width: 960px) {
  .split__aside {
    position: sticky;
    inset-block-start: calc(var(--header-h) + var(--sp-5));
  }
}
.split__aside h3 {
  font-family: var(--font-body);
  font-size: var(--text-md);
  font-weight: var(--fw-semi);
}

/* ═══════════════════════════════════════════════════════════
   TREATMENT CARD
   ═══════════════════════════════════════════════════════════ */

.treatment-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-8) var(--sp-6) var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  min-width: 0;                       /* kritiek: laat card krimpen binnen grid-track */
  overflow-wrap: anywhere;            /* lange woorden als "Spanningsverlichting" breken */
  word-break: normal;
  transition:
    transform var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out),
    border-color var(--dur-base);
}
.treatment-card h3,
.treatment-card__sub { overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 560px) {
  .treatment-card { padding: var(--sp-6) var(--sp-4) var(--sp-4); }
  .treatment-card h3 { font-size: var(--text-lg); }
  .treatment-card__price { font-size: var(--text-2xl); }
}
.treatment-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand);
}
.treatment-card--featured {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-weak);
}
.treatment-card__badge {
  position: absolute;
  inset-block-start: calc(var(--sp-3) * -1);
  inset-inline-start: 50%;
  transform: translateX(-50%);
}
html[dir='rtl'] .treatment-card__badge { transform: translateX(50%); }
.treatment-card__sub {
  font-size: var(--text-xs);
  font-weight: var(--fw-semi);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--text-dim);
}
.treatment-card h3 {
  font-size: var(--text-xl);
  font-family: var(--font-display);
}
.treatment-card__meta {
  display: flex;
  gap: var(--sp-3);
  align-items: baseline;
  margin-block-start: var(--sp-2);
}
.treatment-card__price {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--fw-bold);
  color: var(--brand);
  line-height: 1;
  letter-spacing: var(--tracking-tight);
}
.treatment-card__duration {
  font-size: var(--text-sm);
  color: var(--text-dim);
}
.treatment-card__for {
  margin-block-start: var(--sp-2);
  padding: var(--sp-3) var(--sp-4);
  background: var(--bg-soft);
  border-radius: var(--r-md);
  font-size: var(--text-sm);
  color: var(--text-soft);
}
.treatment-card__list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-block: var(--sp-5) var(--sp-4);
  font-size: var(--text-sm);
  color: var(--text-soft);
  list-style: none;
}
.treatment-card__list li {
  position: relative;
  padding-inline-start: var(--sp-6);
}
.treatment-card__list li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 0.3em;
  inline-size: 14px; block-size: 14px;
  background: var(--brand);
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='black' d='M6 11.4L2.4 7.8l1.4-1.4L6 8.6l6.2-6.2 1.4 1.4z'/></svg>");
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='black' d='M6 11.4L2.4 7.8l1.4-1.4L6 8.6l6.2-6.2 1.4 1.4z'/></svg>");
  mask-size: contain; -webkit-mask-size: contain;
}
.treatment-card .btn { margin-block-start: auto; }

/* ═══════════════════════════════════════════════════════════
   CITY TILE
   ═══════════════════════════════════════════════════════════ */

.city-tile {
  position: relative;
  padding: var(--sp-6);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  text-decoration: none;
  color: var(--text);
  transition:
    transform var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out);
  overflow: hidden;
  isolation: isolate;
}
.city-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--brand-weak) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease-out);
  z-index: -1;
}
.city-tile:hover {
  transform: translateY(-3px);
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
  color: var(--text);
}
.city-tile:hover::before { opacity: 1; }
.city-tile__region {
  font-size: var(--text-xs);
  color: var(--text-dim);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  font-weight: var(--fw-medium);
}
.city-tile__name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--fw-semi);
  color: var(--text);
}
.city-tile__meta {
  font-size: var(--text-sm);
  color: var(--text-soft);
  margin-block-start: var(--sp-1);
}
.city-tile__arrow {
  position: absolute;
  inset-block-end: var(--sp-5);
  inset-inline-end: var(--sp-5);
  inline-size: 28px; block-size: 28px;
  display: grid; place-items: center;
  color: var(--brand);
  opacity: 0;
  transform: translateX(-6px);
  transition:
    opacity var(--dur-base) var(--ease-out),
    transform var(--dur-base) var(--ease-out);
}
html[dir='rtl'] .city-tile__arrow { transform: translateX(6px); }
.city-tile:hover .city-tile__arrow { opacity: 1; transform: translateX(0); }

/* ═══════════════════════════════════════════════════════════
   STAT
   ═══════════════════════════════════════════════════════════ */

.stat { text-align: center; }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: var(--fw-bold);
  color: var(--brand);
  line-height: 1;
  letter-spacing: var(--tracking-tight);
  display: block;
}
.stat__label {
  display: block;
  margin-block-start: var(--sp-2);
  font-size: var(--text-xs);
  color: var(--text-on-soft);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  font-weight: var(--fw-semi);
}
.stat__sub {
  display: block;
  margin-block-start: var(--sp-1);
  font-size: var(--text-xs);
  color: var(--text-faint);
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6);
  padding: var(--sp-8) var(--sp-4);
  background: var(--bg-muted);
  border-radius: var(--r-lg);
}
@media (min-width: 768px) {
  .stat-strip { grid-template-columns: repeat(4, 1fr); }
}

/* ═══════════════════════════════════════════════════════════
   PROCESS STEPS
   ═══════════════════════════════════════════════════════════ */

.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
  counter-reset: step;
}
@media (min-width: 640px) { .process-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .process-steps { grid-template-columns: repeat(4, 1fr); } }

.process-step {
  position: relative;
  padding: var(--sp-8) var(--sp-6) var(--sp-6);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  counter-increment: step;
}
.process-step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  inset-block-start: var(--sp-4);
  inset-inline-end: var(--sp-4);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: var(--fw-bold);
  color: var(--brand);
  opacity: 0.18;
  line-height: 1;
}
.process-step__icon {
  inline-size: 44px; block-size: 44px;
  display: grid; place-items: center;
  background: var(--brand-weak);
  color: var(--brand);
  border-radius: var(--r-md);
  margin-block-end: var(--sp-4);
}
.process-step h3 {
  font-size: var(--text-lg);
  font-family: var(--font-display);
  margin-block-end: var(--sp-2);
}
.process-step p {
  font-size: var(--text-sm);
  color: var(--text-soft);
  line-height: var(--leading-body);
}

/* ═══════════════════════════════════════════════════════════
   ACCORDION (native details)
   ═══════════════════════════════════════════════════════════ */

.accordion details {
  border-block-end: 1px solid var(--border);
  padding-block: var(--sp-4);
}
.accordion details:last-child { border-block-end: 0; }
.accordion summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-4);
  font-family: var(--font-body);
  font-weight: var(--fw-semi);
  font-size: var(--text-md);
  color: var(--text);
  transition: color var(--dur-fast);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary:hover { color: var(--brand); }
.accordion summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--brand);
  font-weight: var(--fw-regular);
  transition: transform var(--dur-base) var(--ease-out);
  flex-shrink: 0;
  line-height: 1;
}
.accordion details[open] summary::after {
  content: '−';
}
.accordion details > *:not(summary) {
  margin-block-start: var(--sp-3);
  color: var(--text-soft);
  line-height: var(--leading-body);
  font-size: var(--text-base);
}

/* ═══════════════════════════════════════════════════════════
   FORM primitives
   ═══════════════════════════════════════════════════════════ */

.form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}
.form__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--sp-4);
}
.form__hint {
  display: block;
  margin-block-start: var(--sp-1);
  font-size: var(--text-xs);
  color: var(--text-dim);
}
.form__error {
  display: block;
  margin-block-start: var(--sp-2);
  font-size: var(--text-sm);
  color: var(--danger);
}
.form__success {
  padding: var(--sp-4) var(--sp-5);
  background: var(--success-weak);
  border: 1px solid var(--success);
  border-radius: var(--r-md);
  color: var(--success);
  font-weight: var(--fw-medium);
}

.label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--text-soft);
  margin-block-end: var(--sp-2);
}

.input, .textarea, .select {
  display: block;
  inline-size: 100%;
  padding: var(--sp-3) var(--sp-4);
  min-block-size: 48px;
  font-family: var(--font-body);
  font-size: 16px;       /* iOS no-zoom */
  color: var(--text);
  background: var(--surface);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--r-md);
  transition:
    border-color var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-out);
}
.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-weak);
}
.input::placeholder, .textarea::placeholder {
  color: var(--text-faint);
}
.textarea {
  min-block-size: 120px;
  resize: vertical;
  line-height: var(--leading-body);
}
.select {
  padding-inline-end: var(--sp-10);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2364748b'><path d='M4 6l4 4 4-4z'/></svg>");
  background-repeat: no-repeat;
  background-position: right var(--sp-3) center;
  background-size: 16px;
}
html[dir='rtl'] .select { background-position: left var(--sp-3) center; }

/* Checkbox-card (check) */
.check {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-4);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
  background: var(--surface);
}
.check:hover {
  border-color: var(--brand);
  background: var(--brand-weak);
}
.check input {
  margin-block-start: 3px;
  inline-size: 18px; block-size: 18px;
  accent-color: var(--brand);
  flex-shrink: 0;
}
.check__title {
  display: block;
  font-weight: var(--fw-semi);
  color: var(--text);
}
.check__desc {
  display: block;
  font-size: var(--text-sm);
  color: var(--text-soft);
  margin-block-start: 2px;
}
.check:has(input:checked) {
  border-color: var(--brand);
  background: var(--brand-weak);
}

/* Radio-card (pkg-option) for booking */
.pkg-select {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--sp-3);
}
.pkg-option {
  position: relative;
  padding: var(--sp-5);
  background: var(--surface);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--r-lg);
  cursor: pointer;
  transition:
    transform var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    background var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-out);
}
.pkg-option:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.pkg-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.pkg-option:has(input:checked) {
  border-color: var(--brand);
  background: var(--brand-weak);
  box-shadow: 0 0 0 4px var(--brand-weak);
}
.pkg-option__title {
  display: block;
  font-weight: var(--fw-semi);
  font-size: var(--text-md);
  color: var(--text);
}
.pkg-option__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-block-start: var(--sp-3);
}
.pkg-option__price {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  color: var(--brand);
  line-height: 1;
}
.pkg-option__time {
  font-size: var(--text-sm);
  color: var(--text-dim);
}

/* ═══════════════════════════════════════════════════════════
   REVIEW CARD
   ═══════════════════════════════════════════════════════════ */

.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  box-shadow: var(--shadow-xs);
  transition:
    transform var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out);
}
.review-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.review-card__stars {
  display: inline-flex;
  gap: 2px;
  color: var(--accent);
}
.review-card__stars svg { inline-size: 16px; block-size: 16px; }
.review-card__text {
  font-size: var(--text-base);
  color: var(--text-soft);
  line-height: var(--leading-body);
  flex: 1;
}
.review-card__meta {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding-block-start: var(--sp-4);
  border-block-start: 1px solid var(--border);
}
.review-card__avatar {
  inline-size: 40px; block-size: 40px;
  border-radius: 50%;
  background: var(--brand-weak);
  color: var(--brand);
  display: grid; place-items: center;
  font-weight: var(--fw-semi);
  font-size: var(--text-sm);
}
.review-card__name {
  font-weight: var(--fw-semi);
  font-size: var(--text-sm);
  color: var(--text);
}
.review-card__city {
  display: block;
  font-size: var(--text-xs);
  color: var(--text-dim);
}

/* ═══════════════════════════════════════════════════════════
   CTA BAND
   ═══════════════════════════════════════════════════════════ */

.cta-band {
  padding-block: var(--sp-16);
  background: linear-gradient(135deg, var(--bg-muted) 0%, var(--surface) 100%);
  border-block-start: 1px solid var(--border);
  text-align: center;
}
.cta-band h2 {
  font-size: var(--text-3xl);
  font-family: var(--font-display);
}
.cta-band p {
  color: var(--text-soft);
  max-inline-size: 52ch;
  margin-inline: auto;
  margin-block-start: var(--sp-3);
}
.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  justify-content: center;
  margin-block-start: var(--sp-8);
}

/* ═══════════════════════════════════════════════════════════
   TIMELINE
   ═══════════════════════════════════════════════════════════ */

.timeline {
  position: relative;
  list-style: none;
  padding: 0;
}
.timeline::before {
  content: '';
  position: absolute;
  inset-inline-start: 13px;
  inset-block: 8px;
  inline-size: 2px;
  background: var(--border);
}
.timeline li {
  position: relative;
  padding-inline-start: var(--sp-10);
  padding-block-end: var(--sp-6);
}
.timeline li::before {
  content: '';
  position: absolute;
  inset-inline-start: 6px;
  inset-block-start: 8px;
  inline-size: 16px; block-size: 16px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px var(--bg);
}
.timeline h3 {
  font-size: var(--text-md);
  font-family: var(--font-body);
  font-weight: var(--fw-semi);
  margin-block-end: var(--sp-1);
}
.timeline p {
  font-size: var(--text-sm);
  color: var(--text-soft);
  line-height: var(--leading-body);
}

/* ═══════════════════════════════════════════════════════════
   GRID utility classes
   ═══════════════════════════════════════════════════════════ */

.grid            { display: grid; gap: var(--sp-5); }
.grid > *        { min-width: 0; }  /* overflow-safety: grid children moeten kunnen krimpen */
.grid-2          { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.grid-3          { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.grid-4          { grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.grid-fixed-2    { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-fixed-3    { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ═══════════════════════════════════════════════════════════
   DATE STRIP — 14-day chip picker voor booking
   ═══════════════════════════════════════════════════════════ */
.date-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
  gap: var(--sp-2);
  padding: var(--sp-3);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  margin-block-start: var(--sp-2);
  /* Reserve vertical space so the 14-chip JS fill doesn't trigger CLS. */
  min-block-size: 192px;
}
.date-chip {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: var(--sp-2) var(--sp-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  cursor: pointer;
  text-align: center;
  line-height: 1.25;
  transition:
    background var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out),
    transform var(--dur-fast) var(--ease-out);
}
.date-chip:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-1px); }
.date-chip:focus-visible { outline: 2px solid var(--border-focus); outline-offset: 2px; }
.date-chip.is-active {
  background: var(--brand);
  color: var(--brand-on);
  border-color: var(--brand);
  box-shadow: 0 6px 16px rgba(30,64,175,0.3);
}
.date-chip--sunnah { border-color: var(--accent); border-width: 1.5px; }
.date-chip--sunnah.is-active { box-shadow: 0 6px 16px rgba(245,158,11,0.35); }
.date-chip__day { display: block; white-space: nowrap; }
.date-chip__badge {
  position: absolute;
  top: -6px; right: -6px;
  width: 18px; height: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent);
  color: var(--c-ink-900);
  border-radius: 50%;
  font-size: 10px;
  font-weight: var(--fw-bold);
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}
.form__hint__action {
  appearance: none;
  background: none;
  border: 0;
  color: var(--brand);
  font: inherit;
  font-weight: var(--fw-semi);
  cursor: pointer;
  padding: 0;
  margin-left: var(--sp-2);
  text-decoration: underline;
}
@media (max-width: 480px) {
  .date-strip { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
}

/* ═══════════════════════════════════════════════════════════
   SLOT GRID — time-slot chips for booking (LEGACY — time is now a <select>)
   ═══════════════════════════════════════════════════════════ */
.slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: var(--sp-2);
  padding: var(--sp-3);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  min-height: 64px;
  align-content: start;
}
.slot-grid__hint {
  grid-column: 1 / -1;
  margin: 0;
  padding: var(--sp-3);
  text-align: center;
  color: var(--text-on-soft);
  font-size: var(--text-sm);
}
.slot-chip {
  appearance: none;
  -webkit-appearance: none;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: var(--sp-2) var(--sp-1);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
}
.slot-chip:hover  { border-color: var(--brand); color: var(--brand); transform: translateY(-1px); }
.slot-chip:focus-visible { outline: 2px solid var(--border-focus); outline-offset: 2px; }
.slot-chip.is-active {
  background: var(--brand);
  color: var(--brand-on);
  border-color: var(--brand);
  box-shadow: 0 4px 12px rgba(30,64,175,0.25);
}
@media (max-width: 480px) {
  .slot-grid { grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: var(--sp-1); padding: var(--sp-2); }
}

/* ═══════════════════════════════════════════════════════════
   INFO BOX — for tips, warnings, callouts
   ═══════════════════════════════════════════════════════════ */

.info-box {
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--r-md);
  border: 1px solid;
  font-size: var(--text-sm);
  line-height: var(--leading-body);
}
.info-box--info    { background: var(--brand-weak);  border-color: var(--border-brand); color: var(--brand-on-weak); }
.info-box--sunnah  { background: var(--accent-weak); border-color: var(--c-gold-300);   color: var(--accent-on-weak); }
.info-box--warn    { background: var(--warn-weak);   border-color: var(--c-gold-300);   color: var(--warn-on-weak); }
.info-box--success { background: var(--success-weak);border-color: var(--success);      color: var(--success-on-weak); }
.info-box--muted   { background: var(--bg-soft);     border-color: var(--border);       color: var(--text-on-soft); }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE UTILITIES
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 639px) {
  .page-hero { padding-block: var(--sp-12) var(--sp-10); }
  .page-hero h1 { font-size: var(--text-3xl); }
  .section { padding-block: var(--sp-12); }
}

/* ═══════════════════════════════════════════════════════════
   ADMIN & CLIENT PORTAL — WIDGETS, GAUGES, CHECKLISTS
   ═══════════════════════════════════════════════════════════ */

.admin-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-4);
}
@media (max-width: 1024px) {
  .admin-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .admin-grid { grid-template-columns: 1fr; }
}

.admin-widget {
  background: var(--surface);
  border: 1px solid var(--border-brand);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03), 0 6px 20px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  transition: box-shadow var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.admin-widget:hover {
  box-shadow: 0 2px 6px rgba(30, 64, 175, 0.08), 0 14px 40px rgba(30, 64, 175, 0.08);
  transform: translateY(-1px);
}
.admin-widget--wide  { grid-column: span 2; }
.admin-widget--accent {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-strong) 100%);
  color: #fff;
  border-color: transparent;
}
.admin-widget--accent .admin-widget__eyebrow { color: rgba(255,255,255,0.75); }
.admin-widget--accent .admin-widget__title   { color: #fff; }
.admin-widget--accent .admin-stat__label     { color: rgba(255,255,255,0.82); }
.admin-widget--accent .admin-stat__num       { color: #fff; }
.admin-widget--accent .admin-widget__more    { color: var(--c-gold-300); }
@media (max-width: 1024px) {
  .admin-widget--wide { grid-column: span 2; }
}
@media (max-width: 600px) {
  .admin-widget--wide { grid-column: 1 / -1; }
}

.admin-widget__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--sp-3);
  margin-block-end: var(--sp-1);
}
.admin-widget__eyebrow {
  font-size: var(--text-2xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-caps);
  color: var(--text-dim);
  font-weight: var(--fw-semi);
  display: block;
  margin-block-end: 2px;
}
.admin-widget__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  margin: 0;
}
.admin-widget__more {
  font-size: var(--text-xs);
  color: var(--brand);
  text-decoration: none;
  white-space: nowrap;
}
.admin-widget__more:hover { text-decoration: underline; }

.admin-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-block: var(--sp-2);
}
.admin-stat__num {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--fw-bold);
  color: var(--text);
  line-height: 1;
}
.admin-stat__label {
  font-size: var(--text-xs);
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: var(--tracking-caps);
}
.admin-stat--warn .admin-stat__num { color: var(--warn); }

/* Finance grid — 4 mini-cells inside accent widget */
.finance-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-4);
  padding-block: var(--sp-2);
}
.finance-grid > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
@media (max-width: 600px) {
  .finance-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Container gauge (RIVM naaldcontainer) */
.container-gauge__label {
  font-size: var(--text-xs);
  color: var(--text-soft);
  margin-block-end: var(--sp-2);
}
.container-gauge__bar {
  position: relative;
  block-size: 24px;
  background: var(--bg-sunken);
  border-radius: var(--r-pill);
  overflow: hidden;
}
.container-gauge__fill {
  block-size: 100%;
  background: linear-gradient(90deg, var(--success) 0%, var(--warn) 70%, var(--danger) 95%);
  transition: inline-size var(--dur-slow) var(--ease-out-expo);
}
.container-gauge__pct {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  color: var(--text);
  mix-blend-mode: difference;
  filter: invert(1);
}
.container-gauge__note {
  font-size: var(--text-xs);
  color: var(--text-dim);
  margin-block-start: var(--sp-2);
  line-height: var(--leading-snug);
}

/* Appointment list rows */
.appt-list { display: flex; flex-direction: column; gap: var(--sp-2); list-style: none; padding: 0; margin: 0; }
.appt-row {
  padding: var(--sp-3) var(--sp-4);
  background: var(--bg-soft);
  border-radius: var(--r-md);
  font-size: var(--text-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-3);
}
.appt-row--empty {
  justify-content: center;
  color: var(--text-dim);
  font-style: italic;
  padding-block: var(--sp-5);
}

/* Incident status card */
.incident-status {
  display: flex;
  gap: var(--sp-3);
  align-items: center;
  padding: var(--sp-3);
  border-radius: var(--r-md);
}
.incident-status--clean {
  background: var(--success-weak);
  color: var(--success);
}
.incident-status strong { display: block; font-family: var(--font-display); font-size: var(--text-md); }
.incident-status p      { font-size: var(--text-xs); color: var(--text-soft); margin: 0; }

/* Compliance checklist */
.checklist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--sp-2); }
.checklist__item {
  display: flex;
  gap: var(--sp-2);
  align-items: center;
  font-size: var(--text-sm);
  color: var(--text-soft);
}
.checklist__dot {
  inline-size: 8px; block-size: 8px;
  border-radius: 50%;
  background: var(--text-dim);
  flex-shrink: 0;
}
.checklist__item--ok   .checklist__dot { background: var(--success); }
.checklist__item--warn .checklist__dot { background: var(--warn); }
.checklist__item--ok   { color: var(--text); }

/* Admin mini stats grid */
.admin-mini-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-3);
}
.admin-mini-stats > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: var(--sp-3);
  background: var(--bg-soft);
  border-radius: var(--r-sm);
}
.admin-mini-stats strong {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--text);
}
.admin-mini-stats span {
  font-size: var(--text-xs);
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: var(--tracking-caps);
}

/* Elevated nav-card (for admin module grid) */
.nav-card--elev {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding: var(--sp-5);
  background: var(--surface);
  border: 1px solid var(--border-brand);
  border-radius: var(--r-lg);
  text-decoration: none;
  color: var(--text);
  transition: all var(--dur-base) var(--ease-out);
}
.nav-card--elev:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(30, 64, 175, 0.10);
}
.nav-card--elev .nav-card__icon {
  font-size: 24px;
  margin-block-end: var(--sp-1);
}
.nav-card--elev .nav-card__label {
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: var(--fw-semi);
}
.nav-card--elev .nav-card__lead {
  font-size: var(--text-xs);
  color: var(--text-soft);
  line-height: var(--leading-snug);
}

/* Tier progression bar (stempelkaart) */
.tier-bar {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding-block: var(--sp-2);
}
.tier-bar__track {
  position: relative;
  block-size: 10px;
  background: var(--bg-sunken);
  border-radius: var(--r-pill);
  overflow: hidden;
}
.tier-bar__fill {
  block-size: 100%;
  background: linear-gradient(90deg, #cd7f32 0%, #c0c0c0 50%, var(--c-gold-500) 100%);
  border-radius: var(--r-pill);
  transition: inline-size var(--dur-slow) var(--ease-out-expo);
}
.tier-bar__labels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-2);
}
.tier-bar__tier {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
  font-size: var(--text-2xs);
  color: var(--text-dim);
  padding: var(--sp-1) var(--sp-2);
  border-radius: var(--r-sm);
  transition: all var(--dur-base) var(--ease-out);
}
.tier-bar__tier strong {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  color: var(--text-soft);
}
.tier-bar__tier small { font-size: var(--text-2xs); color: var(--text-dim); }
.tier-bar__tier--current {
  background: var(--brand-weak);
}
.tier-bar__tier--current strong { color: var(--brand); }

/* ═══════════════════════════════════════════════════════════
   ACCOUNT NUDGE (non-intrusive floating invite)
   ═══════════════════════════════════════════════════════════ */
.account-nudge {
  position: fixed;
  inset-inline: var(--sp-3);
  inset-block-end: var(--sp-4);
  z-index: 900;
  max-inline-size: 520px;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--border-brand);
  border-radius: var(--r-xl);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
  transform: translateY(120%);
  transition: transform 380ms var(--ease-out-expo), opacity var(--dur-base) var(--ease-out);
  opacity: 0;
}
.account-nudge.is-visible {
  transform: translateY(0);
  opacity: 1;
}
.account-nudge__body {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: var(--sp-3);
  align-items: center;
  padding: var(--sp-3) var(--sp-4);
}
.account-nudge__icon {
  inline-size: 36px; block-size: 36px;
  background: var(--brand-weak);
  color: var(--brand);
  border-radius: 50%;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.account-nudge__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-inline-size: 0;
}
.account-nudge__text strong {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  color: var(--text);
}
.account-nudge__text span {
  font-size: var(--text-xs);
  color: var(--text-soft);
  line-height: var(--leading-snug);
}
.account-nudge__cta {
  padding: var(--sp-2) var(--sp-4);
  background: var(--brand);
  color: var(--brand-on);
  text-decoration: none;
  border-radius: var(--r-pill);
  font-size: var(--text-sm);
  font-weight: var(--fw-semi);
  white-space: nowrap;
  transition: background var(--dur-fast);
}
.account-nudge__cta:hover { background: var(--brand-hover); }
.account-nudge__close {
  inline-size: 28px; block-size: 28px;
  background: transparent;
  border: 0;
  color: var(--text-dim);
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  transition: background var(--dur-fast), color var(--dur-fast);
}
.account-nudge__close:hover { background: var(--bg-soft); color: var(--text); }

@media (max-width: 600px) {
  .account-nudge__body { grid-template-columns: auto 1fr auto; gap: var(--sp-2); }
  .account-nudge__close { grid-column: 3; grid-row: 1; justify-self: end; }
  .account-nudge__text   { grid-column: 1 / 3; grid-row: 2; }
  .account-nudge__cta    { grid-column: 1 / 4; grid-row: 3; text-align: center; padding-block: var(--sp-3); }
}
@media (prefers-reduced-motion: reduce) {
  .account-nudge { transition: opacity var(--dur-base); transform: none; }
}

/* ═══════════════════════════════════════════════════════════
   PORTAAL SUB-PAGES (klant-gezicht)
   ═══════════════════════════════════════════════════════════ */
.portal-sub-shell {
  max-inline-size: 880px;
  margin-inline: auto;
}
.portal-sub-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin-block-end: var(--sp-5);
}
.portal-sub-actions { display: flex; gap: var(--sp-2); flex-wrap: wrap; }

/* ── Voortgang components ───────────────────────────── */
.voortgang-today {
  background: var(--surface);
  border: 1px solid var(--border-brand);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  margin-block-end: var(--sp-5);
}
.voortgang-today__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.voortgang-saved {
  padding: 4px var(--sp-2);
  background: var(--success-weak);
  color: var(--success);
  border-radius: var(--r-pill);
  font-size: var(--text-xs);
  font-weight: var(--fw-semi);
}
.voortgang-slider__label {
  display: block;
  font-weight: var(--fw-semi);
  font-size: var(--text-md);
  margin-block-end: var(--sp-2);
  color: var(--text);
}

/* Per-slider gradient override via CSS var */
.voortgang-slider .intake-slider__range[style*="--slider-gradient"]::-webkit-slider-runnable-track {
  background: var(--slider-gradient);
}
.voortgang-slider .intake-slider__range[style*="--slider-gradient"]::-moz-range-track {
  background: var(--slider-gradient);
}

.voortgang-chart, .voortgang-list, .voortgang-insights {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  margin-block-end: var(--sp-4);
}
.voortgang-chart svg {
  inline-size: 100%;
  block-size: auto;
  margin-block-start: var(--sp-3);
  background: var(--bg-soft);
  border-radius: var(--r-md);
}
.voortgang-chart--empty {
  text-align: center;
  padding-block: var(--sp-8);
}
.voortgang-legend {
  display: flex;
  justify-content: center;
  gap: var(--sp-4);
  font-size: var(--text-xs);
  color: var(--text-soft);
  margin-block-start: var(--sp-2);
}
.voortgang-legend__dot {
  display: inline-block;
  inline-size: 10px; block-size: 10px;
  border-radius: 50%;
  margin-inline-end: 4px;
  vertical-align: middle;
}

.voortgang-list ul { list-style: none; padding: 0; margin-block-start: var(--sp-3); display: flex; flex-direction: column; gap: var(--sp-2); }
.voortgang-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--sp-3);
  background: var(--bg-soft);
  border-radius: var(--r-sm);
}
.voortgang-list__date strong { font-family: var(--font-display); }
.voortgang-list__date { font-size: var(--text-sm); color: var(--text-soft); }
.voortgang-list__scores { display: flex; gap: var(--sp-3); font-size: var(--text-sm); font-variant-numeric: tabular-nums; }
.voortgang-list__scores em { font-style: normal; }

.voortgang-insights__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3);
  margin-block-start: var(--sp-3);
}
@media (max-width: 600px) { .voortgang-insights__grid { grid-template-columns: 1fr; } }
.voortgang-insights__stat {
  padding: var(--sp-4);
  background: var(--bg-soft);
  border-radius: var(--r-md);
  border-left: 3px solid var(--text-dim);
}
.voortgang-insights__stat.is-ok { border-left-color: var(--success); background: var(--success-weak); }
.voortgang-insights__stat strong {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  display: block;
  margin-block: 4px;
  color: var(--text);
}
.voortgang-insights__label {
  font-size: var(--text-xs);
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: var(--tracking-caps);
}
.voortgang-insights__hint {
  font-size: var(--text-xs);
  color: var(--text-soft);
}

/* ── Toast (simple confirmation) ─────────────────────── */
.toast {
  position: fixed;
  inset-block-end: var(--sp-6);
  inset-inline-end: var(--sp-6);
  z-index: 1000;
  padding: var(--sp-3) var(--sp-5);
  background: var(--success);
  color: #fff;
  border-radius: var(--r-pill);
  font-weight: var(--fw-semi);
  box-shadow: 0 8px 24px rgba(15, 118, 61, 0.35);
  transform: translateY(20px);
  opacity: 0;
  transition: all 300ms var(--ease-out-expo);
  pointer-events: none;
}
.toast.is-visible { transform: translateY(0); opacity: 1; }

/* ═══════════════════════════════════════════════════════════
   ADMIN · KLANT-PROFIEL + BEHANDELING-REGISTRATIE
   ═══════════════════════════════════════════════════════════ */

/* Klant-header (profile page) */
.klant-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--sp-4);
  align-items: center;
  padding: var(--sp-5);
  background: var(--surface);
  border: 1px solid var(--border-brand);
  border-radius: var(--r-lg);
  margin-block-end: var(--sp-4);
}
.klant-header__avatar {
  inline-size: 64px; block-size: 64px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-strong) 100%);
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--fw-bold);
}
.klant-header__info h1 { font-size: var(--text-xl); margin: 0; font-family: var(--font-display); }
.klant-header__info p {
  color: var(--text-soft);
  font-size: var(--text-sm);
  margin-block-start: 2px;
}
.klant-header__actions { display: flex; gap: var(--sp-2); flex-wrap: wrap; }
@media (max-width: 640px) {
  .klant-header { grid-template-columns: auto 1fr; }
  .klant-header__actions { grid-column: 1 / -1; justify-content: flex-end; }
}

.klant-stats { margin-block-end: var(--sp-5); }

/* 2-column klant page */
.klant-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: var(--sp-4);
}
@media (max-width: 900px) {
  .klant-grid { grid-template-columns: 1fr; }
}

/* Timeline */
.klant-timeline {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
}
.klant-timeline__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-block-end: var(--sp-4);
}
.klant-timeline__filters {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
}
.klant-timeline__filters button {
  padding: 4px var(--sp-3);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--text-soft);
  border-radius: var(--r-pill);
  font-size: var(--text-xs);
  cursor: pointer;
  transition: all var(--dur-fast);
}
.klant-timeline__filters button:hover { border-color: var(--brand); }
.klant-timeline__filters button.is-active {
  background: var(--brand);
  color: var(--brand-on);
  border-color: var(--brand);
}

.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  inset-inline-start: 12px;
  inset-block: 8px;
  inline-size: 2px;
  background: var(--border);
}
.timeline__item {
  position: relative;
  padding-block: var(--sp-3);
  padding-inline-start: var(--sp-8);
}
.timeline__dot {
  position: absolute;
  inset-inline-start: 6px;
  inset-block-start: var(--sp-4);
  inline-size: 14px; block-size: 14px;
  border-radius: 50%;
  border: 3px solid var(--surface);
  box-shadow: 0 0 0 2px var(--border);
  z-index: 1;
}
.timeline__content {
  background: var(--bg-soft);
  border-radius: var(--r-md);
  padding: var(--sp-3) var(--sp-4);
}
.timeline__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--sp-3);
  margin-block-end: 4px;
}
.timeline__head strong {
  font-family: var(--font-display);
  font-size: var(--text-md);
  color: var(--text);
}
.timeline__head time {
  font-size: var(--text-xs);
  color: var(--text-dim);
  white-space: nowrap;
}
.timeline__content p {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--text-soft);
}
.timeline__note {
  margin: var(--sp-2) 0 0;
  padding: var(--sp-2) var(--sp-3);
  background: var(--surface);
  border-left: 3px solid var(--brand);
  border-radius: var(--r-sm);
  font-size: var(--text-sm);
  color: var(--text);
  font-style: italic;
}

.klant-sidebar { display: flex; flex-direction: column; gap: var(--sp-4); }
.klant-intake-summary {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--sp-2) var(--sp-3);
  margin-block-start: var(--sp-3);
  font-size: var(--text-sm);
}
.klant-intake-summary dt { color: var(--text-dim); font-size: var(--text-xs); }
.klant-intake-summary dd { margin: 0; color: var(--text); }
.klant-intake-summary code {
  font-size: var(--text-xs);
  padding: 2px 6px;
  background: var(--bg-soft);
  border-radius: var(--r-xs);
}

/* ── Behandeling-registratie tool ─────────────────────── */
.behandeling-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: var(--sp-5);
  align-items: start;
}
@media (max-width: 900px) {
  .behandeling-grid { grid-template-columns: 1fr; }
}
.behandeling-sticky {
  position: sticky;
  inset-block-start: 90px;
  display: flex;
  flex-direction: column;
}

.cost-calc {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sp-2) var(--sp-4);
  margin-block-start: var(--sp-3);
  font-size: var(--text-sm);
}
.cost-calc dt { color: rgba(255,255,255,0.75); }
.cost-calc dd { margin: 0; text-align: end; color: #fff; font-variant-numeric: tabular-nums; }
.cost-calc__total { padding-block-start: var(--sp-2); border-block-start: 1px solid rgba(255,255,255,0.2); font-weight: var(--fw-bold); font-size: var(--text-md); }
.cost-calc__total strong { font-family: var(--font-display); font-size: var(--text-2xl); color: var(--c-gold-300); }
.cost-calc__total small { color: rgba(255,255,255,0.7); margin-inline-start: var(--sp-1); }
.cost-calc__breakdown {
  margin-block-start: var(--sp-4);
  padding-block-start: var(--sp-3);
  border-block-start: 1px solid rgba(255,255,255,0.2);
  font-size: var(--text-xs);
}
.cost-calc__breakdown summary { cursor: pointer; color: rgba(255,255,255,0.85); font-size: var(--text-xs); }
.cost-calc__breakdown ul { list-style: none; padding: 0; margin-block-start: var(--sp-2); display: flex; flex-direction: column; gap: 4px; }
.cost-calc__breakdown li {
  display: flex;
  justify-content: space-between;
  color: rgba(255,255,255,0.75);
}

/* Materialen grid */
.materials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-2);
  max-block-size: 520px;
  overflow-y: auto;
  padding-inline-end: var(--sp-2);
}
.material-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sp-3);
  align-items: center;
  padding: var(--sp-2) var(--sp-3);
  background: var(--bg-soft);
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  transition: all var(--dur-fast);
}
.material-row.is-active {
  background: var(--brand-weak);
  border-color: var(--brand);
}
.material-row__info { min-inline-size: 0; }
.material-row__info strong {
  display: block;
  font-size: var(--text-sm);
  color: var(--text);
}
.material-row__info small {
  font-size: var(--text-xs);
  color: var(--text-dim);
}
.material-row__qty {
  inline-size: 64px;
  padding: 4px var(--sp-2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-weight: var(--fw-semi);
  background: var(--surface);
}

/* ═══════════════════════════════════════════════════════════
   ADMIN · VOORRAAD / FINANCIEEL / COMPLIANCE
   ═══════════════════════════════════════════════════════════ */

/* Voorraad-tabel */
.voorraad-table { display: grid; gap: 2px; }
.voorraad-table__head {
  display: grid;
  grid-template-columns: 2.4fr 0.8fr 0.5fr 0.7fr 1fr 1.2fr 0.7fr 0.5fr;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-3);
  background: var(--bg-sunken);
  border-radius: var(--r-sm);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-caps);
  color: var(--text-dim);
  font-weight: var(--fw-semi);
}
.voorraad-row {
  display: grid;
  grid-template-columns: 2.4fr 0.8fr 0.5fr 0.7fr 1fr 1.2fr 0.7fr 0.5fr;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-3);
  background: var(--bg-soft);
  border-radius: var(--r-sm);
  font-size: var(--text-sm);
  align-items: center;
}
.voorraad-row--low      { background: #fef3c7; }
.voorraad-row--expiring { background: #fef3c7; }
.voorraad-row--expired  { background: #fee2e2; }
.voorraad-row--empty    { background: #fee2e2; }
.voorraad-row input[type=number] {
  inline-size: 100%;
  padding: 4px 6px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  text-align: center;
  font-variant-numeric: tabular-nums;
  background: var(--surface);
}
.voorraad-row__name strong { display: block; font-size: var(--text-sm); }
.voorraad-row__name small  { display: block; color: var(--text-dim); font-size: var(--text-2xs); }
.voorraad-badge {
  padding: 2px var(--sp-2);
  border-radius: var(--r-pill);
  font-size: var(--text-2xs);
  font-weight: var(--fw-semi);
  text-align: center;
}
@media (max-width: 900px) {
  .voorraad-table__head,
  .voorraad-row { grid-template-columns: 1fr; gap: 4px; padding-block: var(--sp-3); }
  .voorraad-table__head span:not(:first-child) { display: none; }
  .voorraad-row span::before {
    content: attr(data-label) ' ';
    color: var(--text-dim);
    font-size: var(--text-xs);
  }
}

/* Voorraad orderlist */
.voorraad-orderlist { display: flex; flex-direction: column; gap: var(--sp-1); margin-block-top: var(--sp-3); }
.voorraad-orderlist__row {
  display: grid;
  grid-template-columns: 2fr auto auto;
  gap: var(--sp-4);
  align-items: center;
  padding: var(--sp-2) var(--sp-3);
  background: var(--bg-soft);
  border-radius: var(--r-sm);
  font-size: var(--text-sm);
}
.voorraad-orderlist__row small { display: block; color: var(--text-dim); font-size: var(--text-xs); }
.voorraad-orderlist__qty { text-align: center; }
.voorraad-orderlist__qty strong { font-family: var(--font-display); font-size: var(--text-md); }
.voorraad-orderlist__cost { font-family: var(--font-display); font-weight: var(--fw-bold); color: var(--brand); min-inline-size: 80px; text-align: end; }

/* Fin chart + bars */
.fin-chart { inline-size: 100%; block-size: auto; background: var(--bg-soft); border-radius: var(--r-md); margin-block-top: var(--sp-3); }
.fin-bars  { display: flex; flex-direction: column; gap: var(--sp-3); margin-block-top: var(--sp-3); }
.fin-bar__label {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-sm);
  margin-block-end: 4px;
}
.fin-bar__label strong { font-family: var(--font-display); }
.fin-bar__label span   { color: var(--text-soft); font-size: var(--text-xs); }
.fin-bar__track { block-size: 10px; background: var(--bg-sunken); border-radius: var(--r-pill); overflow: hidden; }
.fin-bar__fill  { block-size: 100%; background: linear-gradient(90deg, var(--brand), var(--c-gold-500)); border-radius: var(--r-pill); transition: inline-size var(--dur-slow) var(--ease-out-expo); }

/* Compliance progress bar (in accent widget) */
.compliance-progress {
  position: relative;
  block-size: 14px;
  background: rgba(255,255,255,0.15);
  border-radius: var(--r-pill);
  overflow: hidden;
  margin-block-top: var(--sp-2);
}
.compliance-progress__fill {
  block-size: 100%;
  background: linear-gradient(90deg, var(--c-gold-500), var(--c-gold-300));
  border-radius: var(--r-pill);
  transition: inline-size var(--dur-slow) var(--ease-out-expo);
}
.compliance-progress__pct {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  color: var(--ink-900);
  mix-blend-mode: difference;
}

/* Compliance checklist */
.compliance-checklist { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2); margin-block-top: var(--sp-3); }
@media (max-width: 760px) { .compliance-checklist { grid-template-columns: 1fr; } }
.compliance-check {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  padding: var(--sp-3);
  background: var(--bg-soft);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: all var(--dur-fast);
}
.compliance-check:hover { border-color: var(--brand); }
.compliance-check.is-done {
  background: var(--success-weak);
  border-color: var(--success);
}
.compliance-check input { margin-block-start: 3px; flex-shrink: 0; }
.compliance-check__body strong { display: block; font-size: var(--text-sm); color: var(--text); }
.compliance-check__body small  { display: block; color: var(--text-dim); font-size: var(--text-xs); margin-block-top: 2px; }
.compliance-check__body em     { display: block; color: var(--success); font-size: var(--text-xs); margin-block-top: 4px; font-style: normal; }

/* Email template grid (berichten) */
.template-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--sp-3);
  margin-block-top: var(--sp-3);
}
.template-card {
  padding: var(--sp-3);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.template-card strong { font-family: var(--font-display); font-size: var(--text-sm); }
.template-card small  { color: var(--text-dim); font-size: var(--text-xs); }
.template-card__actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-2);
  margin-block-top: var(--sp-1);
}
.template-card__actions code { font-size: var(--text-2xs); color: var(--text-dim); }

/* ═══════════════════════════════════════════════════════════
   AGENDA (week view) + klanten-filters + instellingen-grid
   ═══════════════════════════════════════════════════════════ */

.agenda-grid {
  display: grid;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  font-size: var(--text-xs);
}
.agenda-time {
  padding: 4px var(--sp-2);
  background: var(--bg-sunken);
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
  text-align: end;
  font-size: var(--text-2xs);
}
.agenda-day-head {
  padding: var(--sp-2);
  background: var(--surface);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.agenda-day-head strong { font-family: var(--font-display); font-size: var(--text-sm); }
.agenda-day-head span { font-size: var(--text-2xs); color: var(--text-soft); }
.agenda-day-head em { font-size: var(--text-2xs); color: var(--c-gold-600); font-style: normal; }
.agenda-day-head.is-sunnah {
  background: linear-gradient(135deg, #fffbeb 0%, var(--surface) 100%);
}
.agenda-day-head.is-today {
  background: var(--brand);
  color: var(--brand-on);
}
.agenda-day-head.is-today strong,
.agenda-day-head.is-today span { color: var(--brand-on); }

.agenda-cell {
  background: var(--surface);
  min-block-size: 28px;
  position: relative;
  cursor: pointer;
  transition: background var(--dur-fast);
}
.agenda-cell:hover { background: var(--bg-soft); }
.agenda-cell.is-sunnah {
  background: linear-gradient(135deg, rgba(254, 243, 199, 0.4), transparent 80%);
}
.agenda-cell.is-blocked {
  background: var(--bg-sunken);
  cursor: not-allowed;
  opacity: 0.6;
}

.agenda-prayer {
  display: block;
  padding: 2px var(--sp-1);
  font-size: var(--text-2xs);
  color: var(--text-dim);
  text-align: center;
}

.agenda-booking {
  position: absolute;
  inset: 2px;
  padding: 4px 6px;
  border-radius: var(--r-xs);
  font-size: var(--text-2xs);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.agenda-booking strong { display: block; font-weight: var(--fw-semi); }
.agenda-booking small { color: var(--text-dim); font-size: 9px; }
.agenda-booking--dry     { background: #dbeafe; }
.agenda-booking--wet     { background: #fecaca; }
.agenda-booking--sport   { background: #d1fae5; }
.agenda-booking--premium { background: #fef3c7; }

.agenda-legend {
  display: inline-block;
  inline-size: 16px; block-size: 10px;
  border-radius: 2px;
  margin-inline-end: 4px;
  vertical-align: middle;
}

/* Klanten filters */
.klant-filters {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
  margin-block: var(--sp-3) var(--sp-2);
}
.klant-filters button {
  padding: 6px var(--sp-3);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--text-soft);
  border-radius: var(--r-pill);
  font-size: var(--text-xs);
  cursor: pointer;
  transition: all var(--dur-fast);
}
.klant-filters button:hover { border-color: var(--brand); }
.klant-filters button.is-active {
  background: var(--brand);
  color: var(--brand-on);
  border-color: var(--brand);
}
.klant-row:hover { background: var(--brand-weak) !important; }
.klant-row__name strong { display: block; font-size: var(--text-sm); }
.klant-row__name small  { display: block; color: var(--text-dim); font-size: var(--text-2xs); }

/* Instellingen */
.settings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--sp-3);
}
.settings-input {
  inline-size: 80px;
  padding: 4px var(--sp-2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--surface);
  font-variant-numeric: tabular-nums;
}

/* ══════════════════════════════════════════════════════════
   PHASE 3A-1 · Core conversion helpers
   Small reusable polish classes for the top conversion pages.
   ══════════════════════════════════════════════════════════ */
.form-intro {
  display: grid;
  gap: var(--sp-4);
  padding: var(--sp-5);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--bg-soft);
}
.form-intro__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  line-height: var(--leading-tight);
}
.form-intro__list {
  display: grid;
  gap: var(--sp-2);
  margin: 0;
  padding-inline-start: var(--sp-5);
  color: var(--text);
  font-size: var(--text-sm);
  line-height: var(--leading-body);
}
.form-intro__note {
  margin: 0;
  color: var(--text-soft);
  font-size: var(--text-sm);
  line-height: var(--leading-body);
}
.form-step {
  border: 0;
  padding: 0;
}
.form-step__legend {
  display: flex;
  align-items: baseline;
  gap: var(--sp-2);
  margin-block-end: var(--sp-4);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  line-height: var(--leading-snug);
}
.form-step__number {
  min-inline-size: 32px;
  color: var(--brand);
  font-family: var(--font-body);
  font-size: var(--text-md);
}
.section-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-block-start: var(--sp-6);
}
.price-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-3);
}
.price-overview__item {
  display: grid;
  gap: var(--sp-1);
  padding: var(--sp-4);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.price-overview__item span {
  color: var(--brand);
  font-size: var(--text-xs);
  font-weight: var(--fw-semi);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
}
.price-overview__item small {
  color: var(--text-soft);
  font-size: var(--text-sm);
}
.contact-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-6);
  border: 1px solid var(--border);
  border-left: 3px solid var(--brand);
  border-radius: var(--r-lg);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  transition:
    border-color var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out),
    transform var(--dur-base) var(--ease-out);
}
.contact-card:hover,
.contact-card:focus-visible {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}
.contact-card--whatsapp { border-left-color: var(--success); }
.contact-card--phone { border-left-color: var(--brand); }
.contact-card--email { border-left-color: var(--accent); }
.contact-card__label {
  color: var(--text-dim);
  font-size: var(--text-xs);
  font-weight: var(--fw-semi);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
}
@media (max-width: 767px) {
  .price-overview { grid-template-columns: 1fr; }
  .section-cta .btn { inline-size: 100%; }
  .form-step__legend { font-size: var(--text-lg); }
}

/* ══════════════════════════════════════════════════════════
   STICKY MOBILE CTA — bottom-fixed action-bar
   Drie acties: WhatsApp · Bel · Boek afspraak (primair).
   Alleen mobile (<768px), opt-out via body.no-sticky-cta
   (gezet door shell.js op form-/portal-pagina's).
   ══════════════════════════════════════════════════════════ */
.sticky-mobile-cta {
  position: fixed;
  inset-block-end: 0;
  inset-inline: 0;
  z-index: var(--z-sticky, 10);
  display: none;
  grid-template-columns: auto auto 1fr;
  gap: var(--sp-2);
  align-items: center;
  padding: var(--sp-2) var(--sp-3);
  padding-block-end: max(var(--sp-2), env(safe-area-inset-bottom, 0px));
  background: var(--surface-strong, #fff);
  border-block-start: 1px solid var(--border);
  box-shadow: 0 -4px 16px rgba(0,0,0,.08);
  font-family: var(--font-body);
}
.sticky-mobile-cta__action {
  display: inline-grid;
  place-items: center;
  inline-size: 44px;
  block-size: 44px;
  border-radius: var(--r-md);
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  text-decoration: none;
  transition: background-color .15s, color .15s;
}
.sticky-mobile-cta__action:hover,
.sticky-mobile-cta__action:focus-visible {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.sticky-mobile-cta__action--whatsapp:hover,
.sticky-mobile-cta__action--whatsapp:focus-visible {
  background: #25D366;
  border-color: #25D366;
  color: #fff;
}
.sticky-mobile-cta__primary {
  display: inline-grid;
  place-items: center;
  block-size: 44px;
  padding-inline: var(--sp-4);
  border-radius: var(--r-md);
  background: var(--brand);
  color: #fff;
  font-weight: var(--fw-semi, 600);
  text-decoration: none;
  letter-spacing: .01em;
}
.sticky-mobile-cta__primary:hover,
.sticky-mobile-cta__primary:focus-visible {
  background: var(--c-blue-900, var(--brand));
}
@media (max-width: 767px) {
  body:not(.no-sticky-cta) .sticky-mobile-cta { display: grid; }
  /* Reserveer ruimte aan onderkant zodat content niet onder de bar verdwijnt. */
  body:not(.no-sticky-cta) main { padding-block-end: calc(64px + env(safe-area-inset-bottom, 0px)); }
  body:has([data-page='home-rebuild']) .sticky-mobile-cta {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .sticky-mobile-cta__action,
  .sticky-mobile-cta__primary { transition: none; }
}

/* Homepage rebuild: consolidated premium system */
[data-page='home-rebuild'] {
  --home-navy-950: #071a2e;
  --home-navy-900: #0a2b4f;
  --home-navy-850: #123c69;
  --home-navy-800: #1e40af;
  --home-navy-700: #2952ce;
  --home-blue: #3b82f6;
  --home-gold: #d2a45f;
  --home-gold-soft: rgba(210, 164, 95, 0.14);
  --home-ivory: #fff8eb;
  --home-mineral: #eef4f8;
  --home-cloud: #f8fbff;
  --home-muted-dark: rgba(255, 248, 235, 0.74);
  --home-glass: rgba(255, 248, 235, 0.075);
  --home-line: rgba(255, 248, 235, 0.16);
  background: #ffffff;
}

.rebuild-header.site-header {
  position: fixed;
  color: #ffffff;
  border-block-end: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(5, 15, 33, 0.62);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
}

.rebuild-header.site-header.is-scrolled,
.rebuild-header.site-header.is-open {
  color: var(--rebuild-royal-ink);
  border-block-end-color: rgba(8, 26, 54, 0.12);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 42px rgba(5, 15, 33, 0.10);
}

.rebuild-header .rebuild-header__brand,
.rebuild-header .rebuild-header__link { color: inherit; }

.rebuild-header:not(.is-scrolled):not(.is-open) .rebuild-header__mark {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.rebuild-header:not(.is-scrolled):not(.is-open) .rebuild-header__ghost {
  border-color: rgba(255, 248, 235, 0.18);
  background: rgba(255, 248, 235, 0.06);
  color: #ffffff;
}

.rebuild-header:not(.is-scrolled):not(.is-open) .rebuild-header__primary {
  background: var(--home-ivory);
  color: var(--home-navy-950);
}

.rebuild-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-block-size: auto;
  padding-block: clamp(7.8rem, 10vw, 9.8rem) clamp(4rem, 6vw, 5.5rem);
  color: var(--home-ivory);
  background:
    linear-gradient(120deg, rgba(255, 248, 235, 0.055) 0 1px, transparent 1px 100%),
    radial-gradient(ellipse at 74% 18%, rgba(59, 130, 246, 0.31), transparent 34rem),
    radial-gradient(ellipse at 18% 82%, rgba(210, 164, 95, 0.10), transparent 28rem),
    linear-gradient(135deg, var(--home-navy-950) 0%, var(--home-navy-900) 55%, var(--home-navy-850) 100%);
  background-size: auto, auto, auto, auto;
}

.rebuild-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 58% 42%, black 0%, transparent 72%);
  pointer-events: none;
}

.rebuild-hero::after { display: none; }

.rebuild-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  min-block-size: auto;
}

.rebuild-hero__content {
  display: grid;
  gap: var(--sp-4);
  max-inline-size: 730px;
}

.rebuild-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.58rem;
  justify-self: start;
  margin: 0;
  padding: 0.48rem 0.72rem;
  border: 1px solid var(--home-line);
  border-radius: 999px;
  background: var(--home-glass);
  color: rgba(255, 248, 235, 0.76);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.rebuild-hero__kicker::before {
  content: "";
  inline-size: 0.5rem;
  block-size: 0.5rem;
  border-radius: 50%;
  background: var(--home-gold);
  box-shadow: 0 0 0 6px rgba(210, 164, 95, 0.16);
}

.rebuild-hero h1 {
  max-inline-size: 13ch;
  margin: 0;
  color: var(--home-ivory);
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
}

.rebuild-hero__lead {
  max-inline-size: 56ch;
  margin: 0;
  color: var(--home-muted-dark);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.72;
}

.rebuild-hero__signals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-inline-size: 650px;
  overflow: hidden;
  border: 1px solid rgba(255, 248, 235, 0.13);
  border-radius: 18px;
  background: rgba(255, 248, 235, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.rebuild-hero__signals span {
  display: grid;
  gap: 0.22rem;
  min-block-size: 72px;
  padding: 0.78rem 0.9rem;
  background: rgba(5, 15, 33, 0.42);
  color: rgba(255, 248, 235, 0.82);
  font-size: 0.84rem;
  font-weight: var(--fw-bold);
  line-height: 1.25;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.rebuild-hero__signals strong {
  color: var(--home-gold);
  font-size: 0.68rem;
  letter-spacing: var(--tracking-caps);
}

.rebuild-hero__pills,
.rebuild-hero__actions,
.rebuild-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.rebuild-hero__pills { margin-block-start: -0.15rem; }

.rebuild-hero__pills a,
.rebuild-hero__trust span {
  display: inline-flex;
  align-items: center;
  min-block-size: 36px;
  padding: 0.42rem 0.68rem;
  border: 1px solid rgba(255, 248, 235, 0.14);
  border-radius: 999px;
  background: rgba(255, 248, 235, 0.075);
  color: rgba(255, 248, 235, 0.84);
  font-size: 0.86rem;
  font-weight: var(--fw-bold);
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.rebuild-hero__pills a {
  gap: 0.45rem;
  transition: transform var(--dur-base, 180ms) var(--ease-out, ease), border-color var(--dur-base, 180ms) var(--ease-out, ease), background-color var(--dur-base, 180ms) var(--ease-out, ease);
}

.rebuild-hero__pills a::before {
  content: "";
  inline-size: 0.44rem;
  block-size: 0.44rem;
  border-radius: 50%;
  background: var(--home-gold);
  box-shadow: 0 0 0 4px rgba(210, 164, 95, 0.14);
}

.rebuild-hero__pills a:nth-child(2)::before,
.rebuild-hero__pills a:nth-child(3)::before { background: var(--home-gold); box-shadow: 0 0 0 4px rgba(210, 164, 95, 0.12); }

.rebuild-hero__pills a:hover,
.rebuild-hero__pills a:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(210, 164, 95, 0.36);
  background: rgba(255, 248, 235, 0.12);
  color: #ffffff;
}

.rebuild-hero__actions { margin-block-start: 0.2rem; }

.rebuild-hero .btn {
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
}

.rebuild-hero .btn-primary {
  background: linear-gradient(180deg, #ffffff 0%, #edf4ff 100%);
  color: var(--home-navy-950);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.rebuild-hero .btn-primary:hover,
.rebuild-hero .btn-primary:focus-visible { background: #ffffff; color: var(--home-navy-950); }

.rebuild-hero .btn-ghost {
  border-color: rgba(255, 248, 235, 0.22);
  background: rgba(255, 248, 235, 0.075);
  color: var(--home-ivory);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.rebuild-hero .btn-ghost:hover,
.rebuild-hero .btn-ghost:focus-visible {
  border-color: rgba(255, 248, 235, 0.30);
  background: rgba(255, 248, 235, 0.12);
  color: #ffffff;
}

.rebuild-hero__note {
  margin: -0.35rem 0 0;
  color: rgba(255, 248, 235, 0.58);
  font-size: var(--text-sm);
}

.rebuild-hero__trust { gap: 0.45rem; margin-block-start: 0; }
.rebuild-hero__trust span { min-block-size: 34px; padding: 0.38rem 0.62rem; color: rgba(255, 248, 235, 0.70); font-size: 0.82rem; }

.rebuild-hero__media-card {
  position: relative;
  justify-self: end;
  inline-size: min(100%, 430px);
  transform: translateX(clamp(0rem, 2.4vw, 2rem));
  filter: drop-shadow(0 34px 72px rgba(0, 0, 0, 0.30));
}

.rebuild-hero__media-card::before {
  content: "";
  position: absolute;
  inset: -1rem auto auto -0.9rem;
  inline-size: 6.5rem;
  block-size: 6.5rem;
  border-radius: 999px;
  background: rgba(210, 164, 95, 0.15);
  filter: blur(26px);
  pointer-events: none;
}

.rebuild-hero__media-card::after {
  content: "";
  position: absolute;
  inset-inline-end: -0.7rem;
  inset-block-start: 13%;
  inline-size: 0.28rem;
  block-size: 34%;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--home-gold), rgba(255, 248, 235, 0.28));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.20);
}

.rebuild-hero__media {
  position: relative;
  aspect-ratio: 4 / 5;
  inline-size: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 248, 235, 0.16);
  border-radius: 24px;
  outline: 1px solid rgba(255, 248, 235, 0.18);
  outline-offset: -6px;
  background: #081523;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.rebuild-hero__media video,
.rebuild-hero__media img {
  display: block;
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
}

.rebuild-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 17, 31, 0.08), transparent 46%, rgba(6, 17, 31, 0.34)), radial-gradient(circle at 22% 14%, rgba(255, 255, 255, 0.16), transparent 13rem);
  pointer-events: none;
}

.rebuild-hero__media-badge {
  position: absolute;
  inset-inline-start: 0.9rem;
  inset-block-start: 0.9rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  min-block-size: 32px;
  padding: 0.38rem 0.62rem;
  border: 1px solid rgba(255, 248, 235, 0.24);
  border-radius: 999px;
  background: rgba(6, 17, 31, 0.68);
  color: var(--home-ivory);
  font-size: 0.74rem;
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.rebuild-hero__media-badge::before {
  content: "";
  inline-size: 0.4rem;
  block-size: 0.4rem;
  border-radius: 50%;
  background: var(--home-gold);
  box-shadow: 0 0 0 4px rgba(210, 164, 95, 0.16);
}

.rebuild-hero__media-info {
  position: relative;
  display: grid;
  gap: var(--sp-3);
  margin: -2.25rem 1rem 0;
  padding: 1rem;
  border: 1px solid rgba(255, 248, 235, 0.14);
  border-radius: 18px;
  background: rgba(8, 21, 35, 0.78);
  color: var(--home-ivory);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.32);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.rebuild-hero__media-info span {
  display: block;
  color: rgba(255, 248, 235, 0.58);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
}

.rebuild-hero__media-info strong {
  display: block;
  margin-block-start: 0.2rem;
  color: var(--home-ivory);
  font-family: var(--font-display);
  font-size: 1.16rem;
  line-height: 1.1;
}

.rebuild-hero__media-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.rebuild-hero__media-links a {
  padding: 0.48rem 0.64rem;
  border: 1px solid rgba(255, 248, 235, 0.12);
  border-radius: 999px;
  background: rgba(255, 248, 235, 0.08);
  color: rgba(255, 248, 235, 0.86);
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  text-decoration: none;
  transition: transform var(--dur-base, 180ms) var(--ease-out, ease), background-color var(--dur-base, 180ms) var(--ease-out, ease);
}

.rebuild-hero__media-links a.is-primary { background: var(--home-ivory); color: var(--home-navy-950); }
.rebuild-hero__media-links a::after { content: "↗"; margin-inline-start: 0.32rem; font-size: 0.8em; }
.rebuild-hero__media-links a:hover,
.rebuild-hero__media-links a:focus-visible { transform: translateY(-1px); }

.rebuild-home-nav {
  position: relative;
  z-index: 5;
  margin-block: -1.6rem 0;
  pointer-events: none;
}

.rebuild-home-nav__inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(17, 42, 92, 0.10);
  border-radius: 20px;
  background: rgba(17, 42, 92, 0.10);
  box-shadow: 0 22px 70px rgba(5, 15, 33, 0.14);
  pointer-events: auto;
}

.rebuild-home-nav a {
  display: grid;
  gap: 0.2rem;
  min-block-size: 76px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.94);
  color: var(--home-navy-950);
  text-decoration: none;
  transition: background-color var(--dur-base, 180ms) var(--ease-out, ease), color var(--dur-base, 180ms) var(--ease-out, ease);
}

.rebuild-home-nav a:first-child {
  background: linear-gradient(145deg, var(--home-navy-850), var(--home-navy-950));
  color: #ffffff;
}

.rebuild-home-nav span {
  color: var(--home-gold);
  font-size: 0.68rem;
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
}

.rebuild-home-nav strong {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1;
}

.rebuild-home-nav a:hover,
.rebuild-home-nav a:focus-visible {
  background: var(--home-mineral);
}

.rebuild-home-nav a:first-child:hover,
.rebuild-home-nav a:first-child:focus-visible {
  background: linear-gradient(145deg, var(--home-navy-700), var(--home-navy-950));
}

.rebuild-start {
  margin-block-start: -1px;
  padding-block: clamp(2.25rem, 4.2vw, 3.8rem);
  border-block-start: 1px solid rgba(255, 248, 235, 0.08);
  background:
    radial-gradient(circle at 12% 0%, rgba(210, 164, 95, 0.10), transparent 18rem),
    linear-gradient(180deg, #eef4f8 0%, #f8fbff 100%);
}

.rebuild-start__inner {
  display: grid;
  grid-template-columns: minmax(220px, 0.3fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.rebuild-start__copy { padding-block-start: 0.35rem; }
.rebuild-start h2 { max-inline-size: 12ch; margin: 0; color: var(--rebuild-royal-ink); font-size: clamp(2rem, 3.5vw, 3.35rem); line-height: 1; }
.rebuild-start__copy p:not(.rebuild-section-head__kicker) {
  max-inline-size: 25ch;
  margin: var(--sp-3) 0 0;
  color: #475569;
  font-size: var(--text-sm);
  line-height: 1.65;
}

.rebuild-start__routes {
  display: grid;
  gap: var(--sp-3);
}

@media (min-width: 760px) {
  .rebuild-start__routes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.rebuild-start__routes a {
  position: relative;
  display: grid;
  gap: var(--sp-2);
  min-block-size: 112px;
  padding: var(--sp-4);
  overflow: hidden;
  border: 1px solid rgba(17, 42, 92, 0.10);
  border-radius: 16px;
  background: #ffffff;
  color: var(--rebuild-royal-ink);
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(23, 37, 84, 0.06);
  transition: transform var(--dur-base, 180ms) var(--ease-out, ease), border-color var(--dur-base, 180ms) var(--ease-out, ease), box-shadow var(--dur-base, 180ms) var(--ease-out, ease);
}

.rebuild-start__routes a:first-child {
  background: radial-gradient(circle at 84% 10%, rgba(210, 164, 95, 0.20), transparent 9rem), linear-gradient(145deg, var(--home-navy-850), var(--home-navy-950));
  color: #ffffff;
}

.rebuild-start__routes a:nth-child(3) { background: #ffffff; }
.rebuild-start__routes a:hover,
.rebuild-start__routes a:focus-visible { transform: translateY(-2px); border-color: rgba(17, 42, 92, 0.18); box-shadow: 0 16px 40px rgba(23, 37, 84, 0.10); }
.rebuild-start__routes span { color: var(--home-gold); font-size: var(--text-xs); font-weight: var(--fw-bold); letter-spacing: var(--tracking-caps); }
.rebuild-start__routes strong { padding-inline-end: 2.4rem; font-family: var(--font-display); font-size: clamp(1.15rem, 1.7vw, 1.42rem); line-height: 1.08; }
.rebuild-start__routes small { color: #475569; font-size: var(--text-sm); line-height: 1.5; }
.rebuild-start__routes em { justify-self: start; padding: 0.32rem 0.52rem; border-radius: 999px; background: rgba(17, 42, 92, 0.08); color: #475569; font-size: 0.72rem; font-style: normal; font-weight: var(--fw-bold); letter-spacing: var(--tracking-caps); text-transform: uppercase; }
.rebuild-start__routes a:first-child span,
.rebuild-start__routes a:first-child small,
.rebuild-start__routes a:first-child em { color: rgba(255, 248, 235, 0.76); }
.rebuild-start__routes a:first-child em { background: rgba(255, 255, 255, 0.12); }
.rebuild-start__routes a::after { content: "→"; position: absolute; inset-inline-end: 1rem; inset-block-start: 1rem; display: grid; place-items: center; inline-size: 2rem; block-size: 2rem; border-radius: 999px; background: rgba(17, 42, 92, 0.08); color: var(--home-navy-850); font-weight: var(--fw-bold); transition: transform var(--dur-base, 180ms) var(--ease-out, ease), background-color var(--dur-base, 180ms) var(--ease-out, ease); }
.rebuild-start__routes a:first-child::after { background: rgba(255, 255, 255, 0.14); color: #ffffff; }
.rebuild-start__routes a:hover::after,
.rebuild-start__routes a:focus-visible::after { transform: translateX(2px); background: rgba(17, 42, 92, 0.14); }

.rebuild-proof {
  padding-block: clamp(4rem, 7vw, 6.5rem);
  background: radial-gradient(circle at var(--glow-x, 70%) var(--glow-y, 20%), rgba(47, 111, 214, 0.20), transparent 26rem), radial-gradient(circle at 12% 100%, rgba(210, 164, 95, 0.10), transparent 22rem), linear-gradient(135deg, #06111f 0%, #091a2e 58%, #0d2239 100%);
  color: var(--home-ivory);
}
.rebuild-proof::before { opacity: 0.22; }
.rebuild-proof .rebuild-section-head { max-inline-size: 760px; }
.rebuild-proof .rebuild-section-head__kicker { color: rgba(210, 164, 95, 0.92); }
.rebuild-proof .rebuild-section-head h2 { color: #ffffff; }
.rebuild-proof .rebuild-section-head p { color: rgba(255, 248, 235, 0.72); }
.rebuild-proof .rebuild-feature-grid { border: 1px solid rgba(255, 248, 235, 0.11); border-radius: 24px; overflow: hidden; background: rgba(255, 248, 235, 0.045); box-shadow: 0 30px 90px rgba(0, 0, 0, 0.24); backdrop-filter: blur(16px); }
.rebuild-proof .rebuild-feature-card,
.rebuild-proof .rebuild-feature-card--lead { min-block-size: 250px; border-color: rgba(255, 248, 235, 0.10); background: transparent; color: var(--home-ivory); box-shadow: none; }
.rebuild-proof .rebuild-feature-card::after { opacity: 0.04; }
.rebuild-proof .rebuild-feature-card svg { color: var(--home-gold); background: rgba(210, 164, 95, 0.10); }
.rebuild-proof .rebuild-feature-card h3 { color: #ffffff; }
.rebuild-proof .rebuild-feature-card p { color: rgba(255, 248, 235, 0.70); }

.rebuild-services { background: radial-gradient(circle at 90% 12%, rgba(17, 42, 92, 0.08), transparent 20rem), linear-gradient(180deg, #f8fbff 0%, #ffffff 100%); }
.rebuild-services__intro h2 { max-inline-size: 12ch; }
.rebuild-services__mini-proof {
  display: grid;
  gap: 0.5rem;
  max-inline-size: 23rem;
}
.rebuild-services__mini-proof span {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #475569;
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
}
.rebuild-services__mini-proof span::before {
  content: "";
  inline-size: 0.48rem;
  block-size: 0.48rem;
  border-radius: 999px;
  background: var(--home-gold);
  box-shadow: 0 0 0 5px rgba(210, 164, 95, 0.12);
}
.rebuild-service-card { border-radius: 18px; border-color: rgba(17, 42, 92, 0.10); box-shadow: 0 14px 44px rgba(23, 37, 84, 0.07); }
.rebuild-service-card--featured { background: radial-gradient(circle at 88% 0%, rgba(210, 164, 95, 0.20), transparent 13rem), linear-gradient(145deg, var(--home-navy-850), var(--home-navy-950)); color: #ffffff; }
.rebuild-service-card--featured h3,
.rebuild-service-card--featured p,
.rebuild-service-card--featured li { color: inherit; }
.rebuild-service-card--featured .rebuild-service-card__top span { color: var(--home-gold); }
.rebuild-service-card--featured .rebuild-service-card__top strong,
.rebuild-service-card--featured li { color: rgba(255, 248, 235, 0.74); }
.rebuild-service-card--featured .rebuild-service-card__actions a:first-child { background: #ffffff; color: var(--home-navy-950); }

.rebuild-flow { background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%); }
.rebuild-flow__steps { border: 1px solid rgba(17, 42, 92, 0.10); border-radius: 24px; overflow: hidden; background: #ffffff; box-shadow: 0 22px 70px rgba(23, 37, 84, 0.08); }
.rebuild-flow__steps li { border-color: rgba(17, 42, 92, 0.08); background: transparent; }
.rebuild-flow__steps li:first-child { background: radial-gradient(circle at 90% 0%, rgba(210, 164, 95, 0.16), transparent 10rem), linear-gradient(145deg, var(--home-navy-850), var(--home-navy-950)); color: #ffffff; }
.rebuild-flow__steps li:first-child h3,
.rebuild-flow__steps li:first-child p { color: inherit; }
.rebuild-flow__steps li:first-child span { background: rgba(255, 255, 255, 0.14); color: var(--home-gold); }

.rebuild-flow__steps {
  gap: 1px;
  padding: 1px;
  background: rgba(17, 42, 92, 0.10);
  border-radius: 28px;
}

.rebuild-flow__steps li {
  position: relative;
  min-block-size: 300px;
  padding: clamp(1.15rem, 2vw, 1.55rem);
  border: 0;
  background: #ffffff;
}

.rebuild-flow__steps li::after {
  content: "";
  position: absolute;
  inset-inline: clamp(1.15rem, 2vw, 1.55rem);
  inset-block-start: 0;
  block-size: 3px;
  border-radius: 999px;
  background: rgba(17, 42, 92, 0.18);
}

.rebuild-flow__steps li:first-child::after {
  background: var(--home-gold);
}

.rebuild-flow__steps h3 {
  margin-block-start: clamp(2.4rem, 4vw, 3.2rem);
  max-inline-size: 10ch;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}

.rebuild-flow__meta {
  align-self: end;
  display: grid;
  gap: 0.28rem;
  margin-block-start: auto;
  padding-block-start: var(--sp-3);
  border-block-start: 1px solid rgba(17, 42, 92, 0.10);
}

.rebuild-flow__meta small {
  color: var(--home-gold);
  font-size: 0.68rem;
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
}

.rebuild-flow__meta strong {
  color: var(--home-navy-950);
  font-size: var(--text-sm);
  line-height: 1.25;
}

.rebuild-flow__steps li:first-child .rebuild-flow__meta {
  border-block-start-color: rgba(255, 248, 235, 0.16);
}

.rebuild-flow__steps li:first-child .rebuild-flow__meta strong {
  color: #ffffff;
}

.rebuild-photo-session {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 8vw, 6.5rem);
  background:
    radial-gradient(circle at 16% 12%, rgba(210, 164, 95, 0.11), transparent 22rem),
    radial-gradient(circle at 84% 34%, rgba(47, 111, 214, 0.12), transparent 28rem),
    linear-gradient(180deg, var(--home-cloud) 0%, #ffffff 100%);
  color: var(--home-navy-950);
}

.rebuild-photo-session::before {
  content: "";
  position: absolute;
  inset-inline: max(var(--sp-4), calc((100vw - var(--container-wide, 1180px)) / 2));
  inset-block-start: 0;
  block-size: 1px;
  background: linear-gradient(90deg, transparent, rgba(17, 42, 92, 0.20), transparent);
}

.rebuild-photo-session__head {
  display: grid;
  gap: var(--sp-4);
  align-items: end;
  margin-block-end: clamp(1.4rem, 4vw, 2.8rem);
}

@media (min-width: 860px) {
  .rebuild-photo-session__head {
    grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.48fr);
  }
}

.rebuild-photo-session__head h2 {
  max-inline-size: 13ch;
  margin: 0;
  color: var(--home-navy-950);
  font-size: clamp(2.1rem, 4vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

.rebuild-photo-session__head p {
  max-inline-size: 44ch;
  margin: 0;
  color: #475569;
  font-size: var(--text-md);
  line-height: 1.7;
}

/* Homepage precision system: blue-led, white/mineral surfaces, one warm accent. */
[data-page='home-rebuild'] {
  --home-surface: #ffffff;
  --home-surface-soft: #f8fbff;
  --home-section: #eef4f8;
  --home-blue-soft: rgba(59, 130, 246, 0.14);
  --home-card-border: rgba(17, 42, 92, 0.11);
  --home-card-shadow: 0 14px 44px rgba(23, 37, 84, 0.07);
}

.rebuild-header__mark,
.rebuild-header:not(.is-scrolled):not(.is-open) .rebuild-header__mark,
.rebuild-header.is-scrolled .rebuild-header__mark,
.rebuild-header.is-open .rebuild-header__mark {
  border-color: rgba(255, 255, 255, 0.22);
  background: linear-gradient(145deg, var(--home-blue), var(--home-navy-850));
  color: #ffffff;
  box-shadow: 0 10px 26px rgba(59, 130, 246, 0.26);
}

.rebuild-hero {
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.048) 0 1px, transparent 1px 100%),
    radial-gradient(ellipse at 72% 16%, rgba(59, 130, 246, 0.36), transparent 34rem),
    radial-gradient(ellipse at 16% 88%, rgba(210, 164, 95, 0.08), transparent 28rem),
    linear-gradient(135deg, var(--home-navy-950) 0%, var(--home-navy-900) 52%, var(--home-navy-850) 100%);
}

.rebuild-hero__kicker,
.rebuild-hero__pills a,
.rebuild-hero__trust span,
.rebuild-hero__media-badge {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.075);
}

.rebuild-hero__kicker::before,
.rebuild-hero__pills a::before,
.rebuild-hero__media-badge::before {
  background: var(--home-blue);
  box-shadow: 0 0 0 5px rgba(59, 130, 246, 0.16);
}

.rebuild-hero__signals strong,
.rebuild-section-head__kicker,
.rebuild-home-nav span,
.rebuild-start__routes span,
.rebuild-service-card__top span,
.rebuild-flow__meta small,
.rebuild-location__facts dt,
.rebuild-location__cards span {
  color: var(--home-blue);
}

.rebuild-hero__signals {
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.11);
}

.rebuild-hero__media-card::before {
  background: rgba(59, 130, 246, 0.16);
}

.rebuild-hero__media-card {
  transform: none;
}

.rebuild-hero__media-card::after {
  background: linear-gradient(180deg, var(--home-blue), rgba(255, 255, 255, 0.28));
}

.rebuild-hero__trust {
  gap: 0.7rem 0.6rem;
  margin-block-start: 0.35rem;
}

.rebuild-hero__note {
  margin-block-start: 0;
}

.rebuild-start,
.rebuild-services,
.rebuild-flow,
.rebuild-photo-session,
.rebuild-location,
.rebuild-faq {
  background:
    linear-gradient(180deg, var(--home-surface-soft) 0%, var(--home-surface) 100%);
}

.rebuild-start {
  background: linear-gradient(180deg, var(--home-section) 0%, var(--home-surface-soft) 100%);
}

.rebuild-proof,
.rebuild-final {
  background:
    radial-gradient(circle at 74% 12%, rgba(59, 130, 246, 0.20), transparent 24rem),
    linear-gradient(135deg, var(--home-navy-950) 0%, var(--home-navy-900) 58%, var(--home-navy-850) 100%);
}

.rebuild-start__routes a,
.rebuild-service-card,
.rebuild-service-card:nth-child(2),
.rebuild-service-card:nth-child(3),
.rebuild-service-card--quiet,
.rebuild-flow__steps,
.rebuild-flow__steps li,
.rebuild-flow__steps li:nth-child(2),
.rebuild-flow__steps li:nth-child(3),
.rebuild-flow__steps li:nth-child(4),
.rebuild-faq details,
.rebuild-location__cards a,
.rebuild-home-nav a {
  border-color: var(--home-card-border);
  background: var(--home-surface);
  color: var(--home-navy-950);
  box-shadow: var(--home-card-shadow);
}

.rebuild-start__routes a,
.rebuild-service-card,
.rebuild-flow__steps li,
.rebuild-faq details,
.rebuild-location__cards a {
  transition:
    transform var(--dur-base, 180ms) var(--ease-out, ease),
    border-color var(--dur-base, 180ms) var(--ease-out, ease),
    box-shadow var(--dur-base, 180ms) var(--ease-out, ease),
    background-color var(--dur-base, 180ms) var(--ease-out, ease);
}

.rebuild-start__routes a:hover,
.rebuild-start__routes a:focus-visible,
.rebuild-service-card:hover,
.rebuild-service-card:focus-within,
.rebuild-location__cards a:hover,
.rebuild-location__cards a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(59, 130, 246, 0.22);
  box-shadow: 0 18px 48px rgba(23, 37, 84, 0.10);
}

.rebuild-start__routes a:nth-child(3) {
  background: var(--home-surface);
}

.rebuild-flow__steps li:first-child,
.rebuild-location__cards a:first-child {
  border-color: rgba(255, 248, 235, 0.12);
  background:
    radial-gradient(circle at 88% 0%, rgba(59, 130, 246, 0.18), transparent 10rem),
    linear-gradient(145deg, var(--home-navy-850), var(--home-navy-950));
  color: #ffffff;
  box-shadow: 0 20px 56px rgba(5, 15, 33, 0.16);
}

.rebuild-flow__steps li:first-child:hover,
.rebuild-location__cards a:first-child:hover,
.rebuild-location__cards a:first-child:focus-visible {
  background:
    radial-gradient(circle at 88% 0%, rgba(59, 130, 246, 0.24), transparent 10rem),
    linear-gradient(145deg, var(--home-navy-700), var(--home-navy-950));
}

.rebuild-services__mini-proof span::before {
  background: var(--home-blue);
  box-shadow: 0 0 0 5px rgba(59, 130, 246, 0.12);
}

.rebuild-start__routes small,
.rebuild-start__routes em,
.rebuild-service-card p,
.rebuild-service-card ul,
.rebuild-services__mini-proof span,
.rebuild-flow__steps p,
.rebuild-faq details p,
.rebuild-location__copy p,
.rebuild-location__facts dd,
.rebuild-photo-session__head p {
  color: #475569;
}

.rebuild-start__routes strong,
.rebuild-service-card h3,
.rebuild-flow__steps h3,
.rebuild-location__cards strong,
.rebuild-photo-session__head h2,
.rebuild-services__intro h2,
.rebuild-flow__head h2,
.rebuild-location__copy h2,
.rebuild-faq h2 {
  color: var(--home-navy-950);
}

.rebuild-flow__steps li:first-child h3,
.rebuild-flow__steps li:first-child p,
.rebuild-location__cards a:first-child strong {
  color: #ffffff;
}

.rebuild-service-card__top strong,
.rebuild-start__routes em,
.rebuild-flow__steps span {
  background: rgba(17, 42, 92, 0.08);
  color: var(--home-navy-850);
}

.rebuild-flow__steps li:first-child span,
.rebuild-start__routes a:first-child em {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.rebuild-flow__head {
  max-inline-size: 900px;
}

.rebuild-flow__head p {
  max-inline-size: 52ch;
  margin: 0;
  color: #475569;
  font-size: var(--text-md);
  line-height: 1.7;
}

.rebuild-flow__steps {
  gap: var(--sp-3);
  padding: var(--sp-3);
  border: 0;
  background: linear-gradient(180deg, var(--home-section), #ffffff);
  box-shadow: none;
}

.rebuild-flow__steps li,
.rebuild-flow__steps li:nth-child(2),
.rebuild-flow__steps li:nth-child(3),
.rebuild-flow__steps li:nth-child(4) {
  min-block-size: 250px;
  padding: clamp(1.25rem, 2.2vw, 1.75rem);
  border: 1px solid var(--home-card-border);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, var(--home-surface-soft) 100%);
  box-shadow: 0 14px 34px rgba(23, 37, 84, 0.065);
}

.rebuild-flow__steps li::after {
  inset-inline: 1.25rem;
  background: linear-gradient(90deg, var(--home-blue), rgba(59, 130, 246, 0.14));
}

.rebuild-flow__steps h3 {
  max-inline-size: none;
  margin-block-start: var(--sp-5);
  font-size: clamp(1.25rem, 1.6vw, 1.55rem);
  line-height: 1.08;
}

.rebuild-flow__steps p {
  max-inline-size: 30ch;
}

.rebuild-flow__meta {
  padding: 0.8rem;
  border: 1px solid rgba(17, 42, 92, 0.09);
  border-radius: 14px;
  background: rgba(248, 251, 255, 0.86);
}

.rebuild-flow__steps li:first-child .rebuild-flow__meta {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.10);
}

.rebuild-location__grid--compact {
  max-inline-size: 940px;
}

.rebuild-location__copy {
  display: grid;
  gap: var(--sp-4);
}

.rebuild-location__copy p,
.rebuild-location__facts dd {
  color: #475569;
}

.rebuild-location__facts div {
  border-block-start-color: rgba(17, 42, 92, 0.12);
}

.rebuild-faq {
  background: #ffffff;
}

.rebuild-final {
  background:
    radial-gradient(circle at 72% 0%, rgba(59, 130, 246, 0.24), transparent 22rem),
    linear-gradient(135deg, var(--home-navy-950), var(--home-navy-900));
}

.rebuild-final__inner {
  color: #ffffff;
}

.rebuild-final h2 {
  color: #ffffff;
}

.rebuild-final p {
  color: rgba(255, 248, 235, 0.74);
}

.rebuild-hero__media {
  aspect-ratio: 4 / 3;
}

.rebuild-hero__media img {
  filter: saturate(1.02) contrast(1.02);
}

.rebuild-home-nav {
  margin-block: 0;
  padding-block: var(--sp-4);
  background: linear-gradient(180deg, var(--home-navy-850) 0%, var(--home-section) 100%);
}

.rebuild-home-nav__inner {
  gap: var(--sp-2);
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.rebuild-home-nav a,
.rebuild-home-nav a:first-child {
  min-block-size: 64px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--home-navy-950);
  box-shadow: 0 14px 34px rgba(5, 15, 33, 0.11);
}

.rebuild-home-nav a:hover,
.rebuild-home-nav a:focus-visible,
.rebuild-home-nav a:first-child:hover,
.rebuild-home-nav a:first-child:focus-visible {
  background: #ffffff;
  color: var(--home-navy-950);
  transform: translateY(-1px);
}

.rebuild-start__routes a,
.rebuild-start__routes a:first-child,
.rebuild-start__routes a:nth-child(3) {
  min-block-size: 132px;
  background: linear-gradient(180deg, #ffffff 0%, var(--home-surface-soft) 100%);
  color: var(--home-navy-950);
}

.rebuild-start__routes a:first-child strong,
.rebuild-start__routes a:first-child small,
.rebuild-start__routes a:first-child em {
  color: inherit;
}

.rebuild-start__routes a:first-child em {
  background: rgba(17, 42, 92, 0.08);
  color: var(--home-navy-850);
}

.rebuild-start__routes a:first-child::after {
  background: rgba(17, 42, 92, 0.08);
  color: var(--home-navy-850);
}

.rebuild-proof .rebuild-feature-grid {
  gap: var(--sp-3);
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.rebuild-proof .rebuild-feature-card,
.rebuild-proof .rebuild-feature-card--lead {
  min-block-size: 220px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}

.rebuild-proof .rebuild-feature-card p {
  color: rgba(255, 248, 235, 0.84);
}

.rebuild-proof {
  padding-block: clamp(3.2rem, 6vw, 5rem);
}

.rebuild-proof > .container {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3.2rem);
  align-items: start;
}

@media (min-width: 900px) {
  .rebuild-proof > .container {
    grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.58fr);
  }
}

.rebuild-proof .rebuild-section-head {
  margin: 0;
  max-inline-size: 520px;
}

.rebuild-proof .rebuild-section-head h2 {
  font-size: clamp(2rem, 3.6vw, 3.55rem);
}

.rebuild-proof .rebuild-section-head p {
  color: rgba(255, 248, 235, 0.82);
}

.rebuild-proof .rebuild-feature-grid {
  display: grid;
  gap: 0;
  align-self: stretch;
  overflow: visible;
  border: 0;
  border-block-start: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.rebuild-proof .rebuild-feature-card,
.rebuild-proof .rebuild-feature-card--lead {
  display: grid;
  grid-template-columns: 2.2rem minmax(0, 1fr);
  grid-template-areas:
    "icon title"
    "icon copy";
  column-gap: var(--sp-4);
  row-gap: 0.35rem;
  min-block-size: auto;
  padding: clamp(1rem, 2.2vw, 1.35rem) 0;
  border: 0;
  border-block-end: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.rebuild-proof .rebuild-feature-card:hover {
  transform: none;
}

.rebuild-proof .rebuild-feature-card::before,
.rebuild-proof .rebuild-feature-card::after {
  display: none;
}

.rebuild-proof .rebuild-feature-card svg {
  grid-area: icon;
  inline-size: 2.2rem;
  block-size: 2.2rem;
  padding: 0.46rem;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.15);
  color: #bfdbfe;
}

.rebuild-proof .rebuild-feature-card h3 {
  grid-area: title;
  margin: 0;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.35vw, 1.14rem);
  line-height: 1.2;
}

.rebuild-proof .rebuild-feature-card p {
  grid-area: copy;
  max-inline-size: 52ch;
  margin: 0;
  color: rgba(255, 248, 235, 0.80);
  font-size: var(--text-sm);
  line-height: 1.6;
}

.rebuild-proof__layout {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3.2rem);
  align-items: start;
}

@media (min-width: 900px) {
  .rebuild-proof__layout {
    grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.58fr);
  }
}

.rebuild-proof__head {
  margin: 0;
  max-inline-size: 520px;
}

.rebuild-proof__ledger {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  border-block-start: 1px solid rgba(255, 255, 255, 0.14);
}

.rebuild-proof__ledger li {
  display: grid;
  grid-template-columns: 2.7rem minmax(0, 1fr);
  gap: clamp(0.9rem, 2.4vw, 1.5rem);
  padding-block: clamp(1rem, 2.2vw, 1.35rem);
  border-block-end: 1px solid rgba(255, 255, 255, 0.14);
}

.rebuild-proof__ledger span {
  color: #bfdbfe;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  line-height: 1;
}

.rebuild-proof__ledger h3 {
  margin: 0;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.35vw, 1.14rem);
  line-height: 1.2;
}

.rebuild-proof__ledger p {
  max-inline-size: 52ch;
  margin: 0.38rem 0 0;
  color: rgba(255, 248, 235, 0.80);
  font-size: var(--text-sm);
  line-height: 1.6;
}

.rebuild-location {
  padding-block: clamp(3.2rem, 6vw, 5.2rem);
}

.rebuild-location__grid--compact {
  max-inline-size: 1080px;
}

.rebuild-location__grid--compact .rebuild-location__copy {
  display: grid;
  gap: clamp(1.2rem, 3vw, 2rem);
  padding: clamp(1.25rem, 3.2vw, 2rem);
  border: 1px solid rgba(17, 42, 92, 0.10);
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, var(--home-surface-soft) 100%);
  box-shadow: 0 18px 56px rgba(23, 37, 84, 0.075);
}

@media (min-width: 900px) {
  .rebuild-location__grid--compact .rebuild-location__copy {
    grid-template-columns: minmax(0, 0.56fr) minmax(280px, 0.44fr);
    align-items: start;
  }

  .rebuild-location__grid--compact .rebuild-location__copy > .rebuild-section-head__kicker,
  .rebuild-location__grid--compact .rebuild-location__copy > h2,
  .rebuild-location__grid--compact .rebuild-location__copy > p {
    grid-column: 1;
  }

  .rebuild-location__grid--compact .rebuild-location__facts {
    grid-column: 2;
    grid-row: 1 / span 3;
  }

  .rebuild-location__grid--compact .rebuild-location__cards {
    grid-column: 2;
  }
}

.rebuild-location__copy h2 {
  max-inline-size: 12ch;
  font-size: clamp(2rem, 3.8vw, 3.6rem);
  line-height: 1;
}

.rebuild-location__copy p {
  max-inline-size: 58ch;
}

.rebuild-location__facts {
  gap: 0;
  border-block-start: 1px solid rgba(17, 42, 92, 0.12);
}

.rebuild-location__facts div {
  grid-template-columns: minmax(6.5rem, 0.30fr) minmax(0, 1fr);
  padding-block: 0.85rem;
  border-block-start: 0;
  border-block-end: 1px solid rgba(17, 42, 92, 0.10);
}

.rebuild-location__facts dt {
  color: var(--home-blue);
}

.rebuild-location__facts dd {
  color: #475569;
  font-size: var(--text-sm);
}

.rebuild-location__cards {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-block-start: 0;
}

.rebuild-location__cards a,
.rebuild-location__cards a:first-child {
  min-block-size: 44px;
  padding: 0.62rem 0.82rem;
  border-color: rgba(17, 42, 92, 0.12);
  border-radius: 999px;
  background: #ffffff;
  color: var(--home-navy-950);
  box-shadow: none;
}

.rebuild-location__cards a:first-child {
  background: var(--home-navy-850);
  color: #ffffff;
}

.rebuild-location__cards span {
  color: currentColor;
  opacity: 0.68;
}

.rebuild-location__cards strong,
.rebuild-location__cards a:first-child strong {
  color: currentColor;
  font-size: var(--text-sm);
}

.rebuild-flow {
  padding-block: clamp(3.2rem, 6vw, 5.2rem);
}

.rebuild-flow > .container {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

@media (min-width: 920px) {
  .rebuild-flow > .container {
    grid-template-columns: minmax(260px, 0.36fr) minmax(0, 0.64fr);
  }
}

.rebuild-flow__head {
  max-inline-size: 520px;
}

.rebuild-flow__head h2 {
  font-size: clamp(2rem, 3.6vw, 3.5rem);
}

.rebuild-flow__steps {
  display: grid;
  gap: 0;
  padding: 0;
  border-block-start: 1px solid rgba(17, 42, 92, 0.12);
  background: transparent;
}

.rebuild-flow__steps li,
.rebuild-flow__steps li:first-child,
.rebuild-flow__steps li:nth-child(2),
.rebuild-flow__steps li:nth-child(3),
.rebuild-flow__steps li:nth-child(4) {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  grid-template-areas:
    "step title"
    "step copy"
    "step meta";
  column-gap: var(--sp-4);
  row-gap: 0.45rem;
  min-block-size: auto;
  padding: clamp(1rem, 2.2vw, 1.35rem) 0;
  border: 0;
  border-block-end: 1px solid rgba(17, 42, 92, 0.10);
  border-radius: 0;
  background: transparent;
  color: var(--home-navy-950);
  box-shadow: none;
}

.rebuild-flow__steps li:hover {
  transform: none;
}

.rebuild-flow__steps li::after {
  display: none;
}

.rebuild-flow__steps span,
.rebuild-flow__steps li:first-child span {
  grid-area: step;
  display: grid;
  place-items: center;
  inline-size: 2.25rem;
  block-size: 2.25rem;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.12);
  color: var(--home-blue);
  font-size: 0.72rem;
}

.rebuild-flow__steps h3,
.rebuild-flow__steps li:first-child h3 {
  grid-area: title;
  max-inline-size: none;
  margin: 0;
  color: var(--home-navy-950);
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.35vw, 1.14rem);
  line-height: 1.25;
}

.rebuild-flow__steps p,
.rebuild-flow__steps li:first-child p {
  grid-area: copy;
  max-inline-size: 56ch;
  margin: 0;
  color: #475569;
  font-size: var(--text-sm);
  line-height: 1.6;
}

.rebuild-flow__meta,
.rebuild-flow__steps li:first-child .rebuild-flow__meta {
  grid-area: meta;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.55rem;
  align-items: baseline;
  margin-block-start: 0.2rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.rebuild-flow__meta small {
  color: var(--home-blue);
}

.rebuild-flow__meta strong,
.rebuild-flow__steps li:first-child .rebuild-flow__meta strong {
  color: var(--home-navy-850);
  font-size: var(--text-sm);
}

.rebuild-photo-session {
  padding-block: clamp(3.4rem, 7vw, 5.8rem);
  background:
    radial-gradient(circle at 82% 12%, rgba(59, 130, 246, 0.10), transparent 24rem),
    linear-gradient(180deg, #ffffff 0%, var(--home-surface-soft) 100%);
}

.rebuild-photo-session__head {
  margin-block-end: clamp(1.2rem, 3vw, 2rem);
}

.rebuild-photo-session__head h2 {
  max-inline-size: 14ch;
  font-size: clamp(2rem, 3.6vw, 3.7rem);
}

.rebuild-service-stack {
  align-items: stretch;
}

.rebuild-service-card,
.rebuild-service-card--featured,
.rebuild-service-card--quiet {
  background: linear-gradient(180deg, #ffffff 0%, var(--home-surface-soft) 100%);
  color: var(--home-navy-950);
}

.rebuild-service-card--featured {
  border-color: rgba(59, 130, 246, 0.22);
  box-shadow: 0 20px 56px rgba(23, 37, 84, 0.10);
}

.rebuild-service-card--featured h3,
.rebuild-service-card--featured p,
.rebuild-service-card--featured ul,
.rebuild-service-card--featured li {
  color: inherit;
}

.rebuild-service-card--featured .rebuild-service-card__top strong,
.rebuild-service-card--featured li {
  color: #475569;
}

.rebuild-service-card--featured .rebuild-service-card__top strong {
  background: rgba(59, 130, 246, 0.10);
  color: var(--home-navy-850);
}

.rebuild-service-card--featured .rebuild-service-card__actions a:first-child {
  background: var(--home-navy-850);
  color: #ffffff;
}

.rebuild-flow__steps span {
  color: var(--home-blue);
}

.rebuild-flow__steps li:first-child span {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

@media (max-width: 1100px) {
  .rebuild-hero__inner { grid-template-columns: minmax(0, 1fr) minmax(250px, 340px); gap: clamp(1.35rem, 4vw, 2.5rem); }
  .rebuild-hero h1 { max-inline-size: 14ch; font-size: clamp(2.65rem, 6.3vw, 4.6rem); }
  .rebuild-hero__media-card { inline-size: min(100%, 340px); transform: none; }
}

@media (max-width: 820px) {
  .rebuild-header.site-header { background: rgba(5, 15, 33, 0.74); }
  .rebuild-hero { padding-block: calc(72px + var(--sp-5)) var(--sp-6); }
  .rebuild-hero__inner { grid-template-columns: minmax(0, 1fr) minmax(190px, 270px); gap: clamp(1rem, 3vw, 1.5rem); align-items: end; }
  .rebuild-hero__content { gap: var(--sp-4); }
  .rebuild-hero h1 { font-size: clamp(2.35rem, 7.4vw, 3.65rem); }
  .rebuild-hero__lead { font-size: 1rem; line-height: 1.62; }
  .rebuild-hero__signals { grid-template-columns: 1fr; max-inline-size: 22rem; }
  .rebuild-hero__signals span { min-block-size: auto; grid-template-columns: auto 1fr; align-items: center; padding: 0.62rem 0.72rem; }
  .rebuild-hero__media-card { justify-self: end; inline-size: min(100%, 300px); transform: none; }
  .rebuild-hero__media-info { margin: -1.6rem 0.65rem 0; padding: 0.78rem; border-radius: 14px; }
  .rebuild-hero__media-info strong { font-size: 1rem; }
  .rebuild-hero__media-links a { padding: 0.42rem 0.55rem; font-size: 0.78rem; }
  .rebuild-hero__media-badge { inset-inline-start: 0.7rem; inset-block-start: 0.7rem; min-block-size: 28px; padding: 0.3rem 0.5rem; font-size: 0.66rem; }
  .rebuild-home-nav { margin-block-start: 0; }
  .rebuild-home-nav__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 0; margin-inline: 0; }
  .rebuild-home-nav a { min-block-size: 64px; padding: 0.78rem var(--sp-3); }
  .rebuild-start__inner { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .rebuild-hero__inner { grid-template-columns: 1fr; }
  .rebuild-hero h1 { max-inline-size: 12ch; font-size: clamp(2.25rem, 10.5vw, 3.15rem); }
  .rebuild-hero__signals { max-inline-size: none; }
  .rebuild-hero__actions { display: flex; flex-wrap: wrap; max-inline-size: 100%; }
  .rebuild-hero__actions .btn { inline-size: auto; flex: 1 1 10rem; }
  .rebuild-hero__media-card { justify-self: stretch; inline-size: 100%; margin-block-start: var(--sp-2); transform: none; }
  .rebuild-hero__media { border-radius: 20px; }
  .rebuild-hero__media-info { margin: -1.2rem 0.6rem 0; padding: 0.78rem; }
  .rebuild-hero__media-links { gap: 0.36rem; }
  .rebuild-hero__media-links a { flex: 1 1 100%; justify-content: center; padding: 0.48rem 0.58rem; font-size: 0.78rem; text-align: center; }
  .rebuild-home-nav__inner { grid-template-columns: 1fr 1fr; }
  .rebuild-home-nav span { font-size: 0.62rem; }
  .rebuild-home-nav strong { font-size: 0.96rem; }
  .rebuild-start__routes { grid-template-columns: 1fr; }
  .rebuild-start__routes a { min-block-size: 98px; }
}

/* Homepage architecture pass: restrained navy, compact ledgers, fixed media wall. */
.rebuild-home {
  --home-blue: #123c69;
  --home-blue-deep: #08284a;
  --home-blue-ink: #0d3763;
  --home-blue-soft: #e8f1f6;
  --home-navy-850: #0a2b4f;
  --home-navy-950: #04182d;
  --home-surface-soft: #f5f9fb;
  --home-line: rgba(8, 40, 74, 0.12);
  --home-line-strong: rgba(8, 40, 74, 0.18);
}

.rebuild-proof,
.rebuild-flow,
.rebuild-photo-session,
.rebuild-location {
  overflow: clip;
}

.rebuild-proof {
  background:
    radial-gradient(circle at var(--glow-x, 78%) var(--glow-y, 8%), rgba(82, 143, 190, 0.22), transparent 20rem),
    linear-gradient(135deg, #08284a 0%, #123c69 48%, #04182d 100%);
}

.rebuild-proof > .container,
.rebuild-flow > .container,
.rebuild-location__grid--compact {
  inline-size: min(calc(100% - 2rem), 1120px);
}

.rebuild-proof__layout {
  gap: clamp(1.5rem, 5vw, 4.4rem);
}

@media (min-width: 900px) {
  .rebuild-proof__layout {
    grid-template-columns: minmax(15rem, 0.38fr) minmax(0, 0.62fr);
  }
}

.rebuild-proof__head .rebuild-section-head__kicker,
.rebuild-proof .rebuild-section-head__kicker {
  color: rgba(212, 232, 247, 0.92);
}

.rebuild-proof__head h2,
.rebuild-proof .rebuild-section-head h2 {
  max-inline-size: 10.5ch;
  color: #fff;
  text-wrap: balance;
}

.rebuild-proof__head p,
.rebuild-proof .rebuild-section-head p {
  max-inline-size: 38rem;
  color: rgba(241, 248, 252, 0.80);
}

.rebuild-proof__ledger {
  border-color: rgba(241, 248, 252, 0.20);
}

.rebuild-proof__ledger li {
  grid-template-columns: clamp(2.1rem, 5vw, 3rem) minmax(0, 1fr);
  border-color: rgba(241, 248, 252, 0.18);
}

.rebuild-proof__ledger span {
  color: #d4e8f7;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.rebuild-proof__ledger h3 {
  color: #fff;
  font-size: clamp(1.03rem, 1.3vw, 1.18rem);
}

.rebuild-proof__ledger p {
  color: rgba(241, 248, 252, 0.78);
}

.rebuild-flow {
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fbfd 100%);
}

@media (min-width: 920px) {
  .rebuild-flow > .container {
    grid-template-columns: minmax(14rem, 0.32fr) minmax(0, 0.68fr);
  }
}

.rebuild-flow__head h2,
.rebuild-location__copy h2,
.rebuild-photo-session__head h2 {
  color: var(--home-blue-deep);
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.rebuild-flow__head p,
.rebuild-location__copy p,
.rebuild-photo-session__head p {
  color: #4b6175;
}

.rebuild-flow__steps {
  position: relative;
  border-color: var(--home-line-strong);
}

.rebuild-flow__steps li,
.rebuild-flow__steps li:first-child,
.rebuild-flow__steps li:nth-child(2),
.rebuild-flow__steps li:nth-child(3),
.rebuild-flow__steps li:nth-child(4) {
  grid-template-columns: clamp(2.4rem, 5vw, 3.2rem) minmax(0, 1fr);
  padding-block: clamp(0.95rem, 2vw, 1.3rem);
  border-color: var(--home-line);
}

.rebuild-flow__steps span,
.rebuild-flow__steps li:first-child span {
  border: 1px solid rgba(18, 60, 105, 0.18);
  background: #fff;
  color: var(--home-blue);
  font-weight: 800;
}

.rebuild-flow__steps h3,
.rebuild-flow__steps li:first-child h3 {
  color: var(--home-blue-deep);
  font-size: clamp(1.02rem, 1.25vw, 1.15rem);
}

.rebuild-flow__steps p,
.rebuild-flow__steps li:first-child p {
  color: #53697b;
}

.rebuild-flow__meta,
.rebuild-flow__steps li:first-child .rebuild-flow__meta {
  gap: 0.45rem 0.65rem;
}

.rebuild-flow__meta small {
  color: var(--home-blue);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.rebuild-flow__meta strong,
.rebuild-flow__steps li:first-child .rebuild-flow__meta strong {
  color: #334b61;
  font-weight: 700;
}

.rebuild-photo-session {
  padding-block: clamp(3.4rem, 7vw, 6.4rem);
  background:
    radial-gradient(circle at 78% 0%, rgba(18, 60, 105, 0.13), transparent 22rem),
    linear-gradient(180deg, #f7fbfd 0%, #ffffff 100%);
}

.rebuild-photo-session__head {
  display: grid;
  gap: clamp(1rem, 3vw, 2rem);
  align-items: end;
  margin-block-end: clamp(1.35rem, 3.5vw, 2.5rem);
}

@media (min-width: 820px) {
  .rebuild-photo-session__head {
    grid-template-columns: minmax(0, 0.58fr) minmax(18rem, 0.42fr);
  }
}

.rebuild-photo-session__head h2 {
  max-inline-size: 13ch;
}

.rebuild-practice-wall {
  display: grid;
  gap: clamp(0.7rem, 1.8vw, 1rem);
  align-items: stretch;
}

@media (min-width: 760px) {
  .rebuild-practice-wall {
    grid-template-columns: minmax(0, 1.35fr) minmax(17rem, 0.85fr);
  }

  .rebuild-practice-wall__note {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1100px) {
  .rebuild-practice-wall {
    grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.55fr) minmax(14rem, 0.42fr);
  }

  .rebuild-practice-wall__note {
    grid-column: auto;
  }
}

.rebuild-practice-wall__side {
  display: grid;
  gap: inherit;
}

.rebuild-practice-wall__tile {
  position: relative;
  min-inline-size: 0;
  min-block-size: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(18, 60, 105, 0.12);
  border-radius: clamp(18px, 2vw, 26px);
  background: var(--home-blue-deep);
  box-shadow: 0 18px 54px rgba(8, 40, 74, 0.12);
}

.rebuild-practice-wall__tile--hero {
  min-block-size: clamp(20rem, 50vw, 36rem);
}

.rebuild-practice-wall__side .rebuild-practice-wall__tile {
  min-block-size: clamp(12rem, 24vw, 17.5rem);
}

.rebuild-practice-wall__tile img {
  display: block;
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  transform: scale(1.01);
}

.rebuild-practice-wall__tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(4, 24, 45, 0.58));
  pointer-events: none;
}

.rebuild-practice-wall__tile figcaption {
  position: absolute;
  inset-inline: clamp(0.75rem, 2vw, 1rem);
  inset-block-end: clamp(0.75rem, 2vw, 1rem);
  z-index: 1;
  display: inline-flex;
  width: fit-content;
  max-inline-size: calc(100% - 1.5rem);
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 999px;
  background: rgba(4, 24, 45, 0.62);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1;
  backdrop-filter: blur(12px);
}

.rebuild-practice-wall__tile figcaption span {
  color: #cfe5f4;
  letter-spacing: 0.12em;
}

.rebuild-practice-wall__note {
  display: grid;
  gap: 1rem;
  min-block-size: 100%;
  padding: clamp(0.7rem, 1.6vw, 0.9rem);
  border: 1px solid rgba(18, 60, 105, 0.12);
  border-radius: clamp(18px, 2vw, 26px);
  background:
    radial-gradient(circle at 90% 0%, rgba(82, 143, 190, 0.20), transparent 13rem),
    linear-gradient(180deg, #ffffff 0%, var(--home-surface-soft) 100%);
  box-shadow: 0 18px 54px rgba(8, 40, 74, 0.10);
}

.rebuild-practice-wall__note video {
  inline-size: 100%;
  aspect-ratio: 16 / 10;
  min-block-size: 0;
  border-radius: 18px;
  background: var(--home-blue-deep);
  object-fit: cover;
}

.rebuild-practice-wall__note div {
  display: grid;
  gap: 0.45rem;
  align-content: start;
  padding: 0.1rem clamp(0.25rem, 1vw, 0.45rem) clamp(0.25rem, 1vw, 0.45rem);
}

.rebuild-practice-wall__note span {
  color: var(--home-blue);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rebuild-practice-wall__note strong {
  color: var(--home-blue-deep);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.1;
}

.rebuild-practice-wall__note p {
  margin: 0;
  color: #52687a;
  font-size: var(--text-sm);
  line-height: 1.55;
}

.rebuild-location {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfd 100%);
}

.rebuild-location__grid--compact .rebuild-location__copy {
  border-color: rgba(18, 60, 105, 0.12);
  border-radius: clamp(20px, 2.4vw, 30px);
  background:
    radial-gradient(circle at 100% 0%, rgba(18, 60, 105, 0.08), transparent 16rem),
    #ffffff;
  box-shadow: 0 20px 60px rgba(8, 40, 74, 0.08);
}

@media (min-width: 900px) {
  .rebuild-location__grid--compact .rebuild-location__copy {
    grid-template-columns: minmax(0, 0.52fr) minmax(17rem, 0.48fr);
  }
}

.rebuild-location__facts {
  border-color: var(--home-line-strong);
}

.rebuild-location__facts div {
  grid-template-columns: minmax(5.8rem, 0.28fr) minmax(0, 1fr);
  border-color: var(--home-line);
}

.rebuild-location__facts dt {
  color: var(--home-blue);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rebuild-location__facts dd {
  color: #465d70;
  line-height: 1.45;
}

.rebuild-location__cards a,
.rebuild-location__cards a:first-child {
  border-color: rgba(18, 60, 105, 0.14);
}

.rebuild-location__cards a:first-child {
  background: var(--home-blue);
}

@media (max-width: 760px) {
  .rebuild-proof > .container,
  .rebuild-flow > .container,
  .rebuild-location__grid--compact {
    inline-size: min(calc(100% - 1.25rem), 1120px);
  }

  .rebuild-proof,
  .rebuild-flow,
  .rebuild-photo-session,
  .rebuild-location {
    padding-block: clamp(2.7rem, 10vw, 4rem);
  }

  .rebuild-proof__head h2,
  .rebuild-flow__head h2,
  .rebuild-location__copy h2,
  .rebuild-photo-session__head h2 {
    max-inline-size: 13ch;
    font-size: clamp(2rem, 9vw, 2.75rem);
  }

  .rebuild-proof__ledger li,
  .rebuild-flow__steps li,
  .rebuild-flow__steps li:first-child,
  .rebuild-flow__steps li:nth-child(2),
  .rebuild-flow__steps li:nth-child(3),
  .rebuild-flow__steps li:nth-child(4) {
    column-gap: 0.85rem;
  }

  .rebuild-practice-wall {
    inline-size: min(calc(100% - 1.25rem), 1120px);
  }

  .rebuild-practice-wall__tile--hero,
  .rebuild-practice-wall__side .rebuild-practice-wall__tile {
    min-block-size: auto;
    aspect-ratio: 4 / 3;
  }

  .rebuild-practice-wall__note {
    gap: 0.75rem;
  }
}

@media (max-width: 430px) {
  .rebuild-proof__ledger li,
  .rebuild-flow__steps li,
  .rebuild-flow__steps li:first-child,
  .rebuild-flow__steps li:nth-child(2),
  .rebuild-flow__steps li:nth-child(3),
  .rebuild-flow__steps li:nth-child(4) {
    grid-template-columns: 1fr;
    grid-template-areas:
      "step"
      "title"
      "copy"
      "meta";
    gap: 0.45rem;
  }

  .rebuild-proof__ledger span {
    margin-block-end: 0.05rem;
  }

  .rebuild-flow__steps span,
  .rebuild-flow__steps li:first-child span {
    inline-size: fit-content;
    min-inline-size: 2.25rem;
  }

  .rebuild-location__facts div {
    grid-template-columns: 1fr;
    gap: 0.22rem;
  }
}

/* Homepage GODMODE architecture: command center, treatment board, journey rail. */
[data-page='home-rebuild'] {
  --god-blue: #123c69;
  --god-blue-2: #1a568c;
  --god-ink: #04182d;
  --god-ink-2: #092642;
  --god-soft: #f4f8fb;
  --god-line: rgba(18, 60, 105, 0.14);
  --god-line-strong: rgba(18, 60, 105, 0.22);
  --god-muted: #516678;
  --god-shadow: 0 24px 70px rgba(8, 40, 74, 0.12);
  background: #ffffff;
}

.rebuild-command,
.rebuild-treatment,
.rebuild-journey {
  position: relative;
  isolation: isolate;
  overflow: clip;
}

.rebuild-command {
  margin-block-start: -1px;
  padding-block: clamp(3.2rem, 7vw, 6rem);
  color: #ffffff;
  background:
    radial-gradient(circle at var(--glow-x, 70%) var(--glow-y, 20%), rgba(120, 185, 230, 0.22), transparent 24rem),
    linear-gradient(135deg, #0a2b4f 0%, #123c69 48%, #04182d 100%);
}

.rebuild-command::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.36;
  background-image:
    linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 50% 20%, #000 0%, transparent 68%);
}

.rebuild-command__grid {
  display: grid;
  gap: clamp(1rem, 2.4vw, 1.5rem);
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 980px) {
  .rebuild-command__grid {
    grid-template-columns: minmax(16rem, 0.72fr) minmax(20rem, 1fr);
    align-items: stretch;
  }

  .rebuild-command__routes {
    grid-column: 1;
  }

  .rebuild-command__assurance {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}

.rebuild-command__intro {
  display: grid;
  align-content: end;
  gap: 0.8rem;
  max-inline-size: 42rem;
}

.rebuild-command__intro .rebuild-section-head__kicker,
.rebuild-command__assurance .rebuild-section-head__kicker {
  color: #d7ebf8;
}

.rebuild-command__intro h2 {
  max-inline-size: 12ch;
  margin: 0;
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.rebuild-command__intro p {
  max-inline-size: 42rem;
  margin: 0;
  color: rgba(244, 250, 253, 0.78);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.75;
}

.rebuild-command__routes {
  display: grid;
  gap: 0.7rem;
}

.rebuild-command__routes a {
  display: grid;
  grid-template-columns: clamp(2.8rem, 6vw, 3.5rem) minmax(0, 1fr) auto;
  grid-template-areas:
    "num title action"
    "num copy action";
  gap: 0.25rem clamp(0.8rem, 2vw, 1.2rem);
  align-items: center;
  min-block-size: clamp(5.8rem, 10vw, 7.4rem);
  padding: clamp(0.95rem, 2vw, 1.25rem);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(18px);
}

.rebuild-command__routes a.is-primary {
  background:
    radial-gradient(circle at 100% 0%, rgba(215, 235, 248, 0.22), transparent 10rem),
    rgba(255, 255, 255, 0.16);
}

.rebuild-command__routes span {
  grid-area: num;
  display: grid;
  place-items: center;
  inline-size: clamp(2.5rem, 5vw, 3rem);
  block-size: clamp(2.5rem, 5vw, 3rem);
  border-radius: 50%;
  background: rgba(215, 235, 248, 0.14);
  color: #d7ebf8;
  font-weight: 900;
}

.rebuild-command__routes strong {
  grid-area: title;
  color: #fff;
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
  line-height: 1.15;
}

.rebuild-command__routes em {
  grid-area: action;
  justify-self: end;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  background: #ffffff;
  color: var(--god-blue);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.rebuild-command__routes small {
  grid-area: copy;
  max-inline-size: 42ch;
  color: rgba(244, 250, 253, 0.70);
  font-size: var(--text-sm);
  line-height: 1.45;
}

.rebuild-command__assurance {
  display: grid;
  align-content: stretch;
  gap: clamp(1rem, 2.5vw, 1.4rem);
  min-block-size: 100%;
  padding: clamp(1rem, 2.5vw, 1.5rem);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.14), transparent 14rem),
    rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(20px);
}

.rebuild-command__assurance h3 {
  max-inline-size: 12ch;
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.9rem, 3vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.035em;
}

.rebuild-command__assurance ol {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  border-block-start: 1px solid rgba(255, 255, 255, 0.16);
}

.rebuild-command__assurance li {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  gap: 0.2rem 0.85rem;
  padding-block: clamp(0.85rem, 1.6vw, 1rem);
  border-block-end: 1px solid rgba(255, 255, 255, 0.14);
}

.rebuild-command__assurance li span {
  grid-row: span 2;
  color: #d7ebf8;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.rebuild-command__assurance li strong {
  color: #ffffff;
}

.rebuild-command__assurance li small {
  color: rgba(244, 250, 253, 0.70);
  line-height: 1.45;
}

.rebuild-treatment {
  padding-block: clamp(3.6rem, 7vw, 6.6rem);
  background:
    radial-gradient(circle at 8% 0%, rgba(18, 60, 105, 0.08), transparent 20rem),
    linear-gradient(180deg, #ffffff 0%, #f7fbfd 100%);
}

.rebuild-treatment__grid {
  display: grid;
  gap: clamp(1.4rem, 4vw, 3.2rem);
  align-items: start;
}

@media (min-width: 980px) {
  .rebuild-treatment__grid {
    grid-template-columns: minmax(17rem, 0.36fr) minmax(0, 0.64fr);
  }
}

.rebuild-treatment__copy {
  display: grid;
  gap: 1rem;
}

.rebuild-treatment__copy h2 {
  max-inline-size: 12ch;
  margin: 0;
  color: var(--god-ink);
  font-size: clamp(2.2rem, 4.4vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.rebuild-treatment__copy p {
  max-inline-size: 42rem;
  margin: 0;
  color: var(--god-muted);
  line-height: 1.75;
}

.rebuild-treatment__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.rebuild-treatment__badges span {
  padding: 0.48rem 0.7rem;
  border: 1px solid var(--god-line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--god-blue);
  font-size: 0.78rem;
  font-weight: 800;
}

.rebuild-treatment__board {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 760px) {
  .rebuild-treatment__board {
    grid-template-columns: minmax(0, 1.1fr) minmax(15rem, 0.75fr);
  }
}

.rebuild-treatment__featured,
.rebuild-treatment__list a {
  border: 1px solid var(--god-line);
  border-radius: 26px;
  background: #ffffff;
  color: var(--god-ink);
  box-shadow: var(--god-shadow);
}

.rebuild-treatment__featured {
  display: grid;
  align-content: start;
  gap: 1rem;
  padding: clamp(1rem, 2.6vw, 1.6rem);
  background:
    radial-gradient(circle at 100% 0%, rgba(18, 60, 105, 0.11), transparent 14rem),
    #ffffff;
}

.rebuild-treatment__featured > div:first-child {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: space-between;
  align-items: center;
}

.rebuild-treatment__featured span,
.rebuild-treatment__list span {
  color: var(--god-blue);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.rebuild-treatment__featured > div:first-child strong {
  padding: 0.45rem 0.65rem;
  border-radius: 999px;
  background: var(--god-soft);
  color: var(--god-blue);
  font-size: 0.82rem;
}

.rebuild-treatment__featured h3 {
  max-inline-size: 12ch;
  margin: 0;
  color: var(--god-ink);
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.rebuild-treatment__featured p {
  margin: 0;
  color: var(--god-muted);
  line-height: 1.65;
}

.rebuild-treatment__featured ul {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rebuild-treatment__featured li {
  position: relative;
  padding-inline-start: 1.25rem;
  color: #42586a;
  font-size: var(--text-sm);
}

.rebuild-treatment__featured li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 0.6em;
  inline-size: 0.45rem;
  block-size: 0.45rem;
  border-radius: 50%;
  background: var(--god-blue);
}

.rebuild-treatment__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-block-start: 0.2rem;
}

.rebuild-treatment__actions a {
  display: inline-grid;
  place-items: center;
  min-block-size: 42px;
  padding-inline: 0.9rem;
  border: 1px solid var(--god-line);
  border-radius: 999px;
  color: var(--god-blue);
  font-weight: 800;
  text-decoration: none;
}

.rebuild-treatment__actions a:first-child {
  background: var(--god-blue);
  color: #ffffff;
}

.rebuild-treatment__list {
  display: grid;
  gap: 0.85rem;
}

.rebuild-treatment__list a {
  display: grid;
  gap: 0.35rem;
  min-block-size: 8rem;
  padding: clamp(0.95rem, 2vw, 1.15rem);
  text-decoration: none;
  box-shadow: 0 14px 46px rgba(8, 40, 74, 0.08);
}

.rebuild-treatment__list strong {
  color: var(--god-ink);
  font-size: clamp(1.12rem, 1.7vw, 1.35rem);
  line-height: 1.1;
}

.rebuild-treatment__list em {
  color: var(--god-muted);
  font-size: var(--text-sm);
  font-style: normal;
}

.rebuild-journey {
  padding-block: clamp(3.6rem, 7vw, 6.4rem);
  background:
    radial-gradient(circle at 90% 10%, rgba(18, 60, 105, 0.10), transparent 18rem),
    linear-gradient(180deg, #f7fbfd 0%, #ffffff 100%);
}

.rebuild-journey__grid {
  display: grid;
  gap: clamp(1rem, 2.8vw, 1.6rem);
}

@media (min-width: 1040px) {
  .rebuild-journey__grid {
    grid-template-columns: minmax(16rem, 0.34fr) minmax(0, 0.39fr) minmax(18rem, 0.27fr);
    align-items: start;
  }
}

.rebuild-journey__head {
  display: grid;
  gap: 1rem;
}

.rebuild-journey__head h2 {
  max-inline-size: 10ch;
  margin: 0;
  color: var(--god-ink);
  font-size: clamp(2.2rem, 4.1vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.rebuild-journey__head p {
  margin: 0;
  color: var(--god-muted);
  line-height: 1.7;
}

.rebuild-journey__steps {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  border-block-start: 1px solid var(--god-line-strong);
}

.rebuild-journey__steps li {
  display: grid;
  grid-template-columns: 2.7rem minmax(0, 1fr);
  gap: 0.75rem;
  padding-block: clamp(0.9rem, 1.8vw, 1.15rem);
  border-block-end: 1px solid var(--god-line);
}

.rebuild-journey__steps span {
  display: grid;
  place-items: center;
  inline-size: 2.25rem;
  block-size: 2.25rem;
  border: 1px solid var(--god-line);
  border-radius: 50%;
  background: #ffffff;
  color: var(--god-blue);
  font-size: 0.75rem;
  font-weight: 900;
}

.rebuild-journey__steps h3 {
  margin: 0;
  color: var(--god-ink);
  font-size: clamp(1.02rem, 1.35vw, 1.18rem);
  line-height: 1.2;
}

.rebuild-journey__steps p {
  margin: 0.3rem 0 0;
  color: var(--god-muted);
  font-size: var(--text-sm);
  line-height: 1.55;
}

.rebuild-journey__steps small {
  display: inline-flex;
  margin-block-start: 0.55rem;
  color: var(--god-blue);
  font-weight: 800;
}

.rebuild-journey__location {
  display: grid;
  gap: 0.9rem;
  padding: clamp(1rem, 2.4vw, 1.35rem);
  border: 1px solid var(--god-line);
  border-radius: 26px;
  background:
    radial-gradient(circle at 100% 0%, rgba(18, 60, 105, 0.12), transparent 12rem),
    #ffffff;
  box-shadow: var(--god-shadow);
}

.rebuild-journey__location h3 {
  max-inline-size: 12ch;
  margin: 0;
  color: var(--god-ink);
  font-size: clamp(1.7rem, 2.6vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.035em;
}

.rebuild-journey__location p {
  margin: 0;
  color: var(--god-muted);
  font-size: var(--text-sm);
  line-height: 1.65;
}

.rebuild-journey__location dl {
  display: grid;
  margin: 0;
  border-block-start: 1px solid var(--god-line);
}

.rebuild-journey__location dl div {
  display: grid;
  gap: 0.2rem;
  padding-block: 0.75rem;
  border-block-end: 1px solid var(--god-line);
}

.rebuild-journey__location dt {
  color: var(--god-blue);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rebuild-journey__location dd {
  margin: 0;
  color: #44596b;
  font-size: var(--text-sm);
  line-height: 1.45;
}

.rebuild-journey__location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.rebuild-journey__location-actions a {
  display: inline-grid;
  place-items: center;
  min-block-size: 40px;
  padding-inline: 0.85rem;
  border: 1px solid var(--god-line);
  border-radius: 999px;
  color: var(--god-blue);
  font-weight: 800;
  text-decoration: none;
}

.rebuild-journey__location-actions a:first-child {
  background: var(--god-blue);
  color: #ffffff;
}

@media (max-width: 760px) {
  .rebuild-command__routes a {
    grid-template-columns: 2.7rem minmax(0, 1fr);
    grid-template-areas:
      "num title"
      "num copy"
      "action action";
  }

  .rebuild-command__routes em {
    justify-self: stretch;
    text-align: center;
  }

  .rebuild-command__intro h2,
  .rebuild-treatment__copy h2,
  .rebuild-journey__head h2 {
    font-size: clamp(2.15rem, 10vw, 3.2rem);
  }
}

@media (max-width: 440px) {
  .rebuild-command__assurance li,
  .rebuild-journey__steps li {
    grid-template-columns: 1fr;
  }

  .rebuild-command__routes a {
    min-block-size: auto;
  }
}

/* Final calm pass: compact hero, white page body, clean photo-only carousel. */
[data-page='home-rebuild'] {
  --god-blue: #123c69;
  --god-blue-2: #1a568c;
  --god-ink: #04182d;
  --god-soft: #f6f9fb;
  --god-card: #ffffff;
  --god-line: rgba(18, 60, 105, 0.13);
  --god-line-strong: rgba(18, 60, 105, 0.20);
  --god-muted: #526779;
  --god-shadow: 0 18px 52px rgba(8, 40, 74, 0.08);
}

.rebuild-hero {
  min-block-size: auto;
  padding-block: clamp(5.6rem, 8vw, 7rem) clamp(2.2rem, 4vw, 3.2rem);
}

.rebuild-hero__inner {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  gap: clamp(1.25rem, 4vw, 3rem);
}

.rebuild-hero__content {
  gap: clamp(0.9rem, 2vw, 1.25rem);
}

.rebuild-hero h1 {
  max-inline-size: 13ch;
  font-size: clamp(2.6rem, 5.3vw, 4.9rem);
}

.rebuild-hero__lead {
  max-inline-size: 48ch;
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  line-height: 1.62;
}

.rebuild-hero__signals {
  max-inline-size: 37rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rebuild-hero__signals span {
  min-block-size: 54px;
  padding: 0.65rem 0.78rem;
}

.rebuild-hero__actions {
  margin-block-start: 0;
}

.rebuild-hero__media-card {
  inline-size: min(100%, 390px);
}

.rebuild-hero__media {
  aspect-ratio: 4 / 3.35;
}

.rebuild-home-nav {
  display: none;
}

.rebuild-command {
  margin-block-start: 0;
  padding-block: clamp(2.5rem, 5.5vw, 4.6rem);
  color: var(--god-ink);
  background:
    radial-gradient(circle at 100% 0%, rgba(18, 60, 105, 0.07), transparent 20rem),
    linear-gradient(180deg, #ffffff 0%, var(--god-soft) 100%);
}

.rebuild-command::before {
  display: none;
}

.rebuild-command__grid {
  gap: clamp(1rem, 2vw, 1.35rem);
}

@media (min-width: 980px) {
  .rebuild-command__grid {
    grid-template-columns: minmax(18rem, 0.36fr) minmax(0, 0.64fr);
  }

  .rebuild-command__intro {
    grid-column: 1;
  }

  .rebuild-command__routes {
    grid-column: 2;
    grid-row: 1;
  }

  .rebuild-command__assurance {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}

.rebuild-command__intro .rebuild-section-head__kicker,
.rebuild-command__assurance .rebuild-section-head__kicker {
  color: var(--god-blue);
}

.rebuild-command__intro h2 {
  max-inline-size: 11ch;
  color: var(--god-ink);
  font-size: clamp(2.05rem, 3.5vw, 3.8rem);
}

.rebuild-command__intro p {
  color: var(--god-muted);
}

.rebuild-command__routes a,
.rebuild-command__routes a.is-primary {
  min-block-size: 96px;
  border-color: var(--god-line);
  background: var(--god-card);
  color: var(--god-ink);
  box-shadow: var(--god-shadow);
  backdrop-filter: none;
}

.rebuild-command__routes a.is-primary {
  border-color: rgba(18, 60, 105, 0.24);
  background:
    radial-gradient(circle at 100% 0%, rgba(18, 60, 105, 0.09), transparent 9rem),
    #ffffff;
}

.rebuild-command__routes span {
  background: var(--god-soft);
  color: var(--god-blue);
}

.rebuild-command__routes strong {
  color: var(--god-ink);
}

.rebuild-command__routes em {
  background: var(--god-blue);
  color: #ffffff;
}

.rebuild-command__routes small {
  color: var(--god-muted);
}

.rebuild-command__assurance {
  grid-template-columns: minmax(15rem, 0.34fr) minmax(0, 0.66fr);
  align-items: start;
  padding: clamp(1rem, 2.4vw, 1.35rem);
  border-color: var(--god-line);
  background: #ffffff;
  color: var(--god-ink);
  box-shadow: var(--god-shadow);
  backdrop-filter: none;
}

.rebuild-command__assurance h3 {
  color: var(--god-ink);
  font-size: clamp(1.75rem, 2.7vw, 2.75rem);
}

.rebuild-command__assurance ol {
  border-color: var(--god-line-strong);
}

.rebuild-command__assurance li {
  border-color: var(--god-line);
}

.rebuild-command__assurance li span,
.rebuild-command__assurance li strong {
  color: var(--god-blue);
}

.rebuild-command__assurance li small {
  color: var(--god-muted);
}

.rebuild-treatment,
.rebuild-journey,
.rebuild-photo-session {
  padding-block: clamp(2.8rem, 5.5vw, 5rem);
  background: #ffffff;
}

.rebuild-treatment__featured,
.rebuild-treatment__list a,
.rebuild-journey__location {
  border-color: var(--god-line);
  border-radius: 22px;
  box-shadow: var(--god-shadow);
}

.rebuild-treatment__list a {
  min-block-size: 112px;
}

.rebuild-journey {
  background: linear-gradient(180deg, var(--god-soft) 0%, #ffffff 100%);
}

.rebuild-journey__grid {
  gap: clamp(1.2rem, 2.6vw, 1.8rem);
}

.rebuild-photo-session {
  background:
    linear-gradient(180deg, #ffffff 0%, var(--god-soft) 100%);
}

.rebuild-photo-session__head {
  max-inline-size: 1040px;
}

.rebuild-photo-carousel-wrap {
  inline-size: min(calc(100% - 2rem), 1080px);
}

.rebuild-photo-carousel.hd-carousel {
  inline-size: 100%;
  max-inline-size: 1080px;
  padding: clamp(0.5rem, 1.4vw, 0.8rem);
  overflow: visible;
  border: 1px solid var(--god-line);
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 20px 64px rgba(8, 40, 74, 0.11);
}

.rebuild-photo-carousel.hd-carousel .hd-carousel__viewport {
  aspect-ratio: 16 / 9.5;
  min-block-size: 300px;
  max-block-size: 560px;
  overflow: hidden;
  border-radius: 20px;
  background: var(--god-ink);
}

.rebuild-photo-carousel.hd-carousel .hd-carousel__slide {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: inherit;
  background: var(--god-ink);
}

.rebuild-photo-carousel.hd-carousel .hd-carousel__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 58%, rgba(4, 24, 45, 0.48));
  pointer-events: none;
}

.rebuild-photo-carousel.hd-carousel img {
  filter: none;
}

.rebuild-photo-carousel.hd-carousel figcaption {
  position: absolute;
  inset-inline-start: 0.9rem;
  inset-block-end: 0.9rem;
  z-index: 2;
  width: fit-content;
  max-inline-size: calc(100% - 1.8rem);
  padding: 0.48rem 0.68rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(4, 24, 45, 0.62);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
  backdrop-filter: blur(12px);
}

.rebuild-photo-carousel.hd-carousel .hd-carousel__arrow {
  opacity: 1;
  inline-size: 42px;
  block-size: 42px;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(4, 24, 45, 0.58);
  color: #ffffff;
  box-shadow: none;
}

.rebuild-photo-carousel.hd-carousel .hd-carousel__arrow:hover,
.rebuild-photo-carousel.hd-carousel .hd-carousel__arrow:focus-visible {
  background: rgba(4, 24, 45, 0.78);
}

.rebuild-photo-carousel.hd-carousel .hd-carousel__dots {
  inset-block-end: -2.5rem;
  display: flex;
  gap: 0.42rem;
  padding: 0.45rem 0.6rem;
  border: 1px solid var(--god-line);
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(8, 40, 74, 0.10);
}

.rebuild-photo-carousel.hd-carousel .hd-carousel__dot {
  inline-size: 1.35rem;
  block-size: 0.35rem;
  border-radius: 999px;
  background: rgba(18, 60, 105, 0.18);
}

.rebuild-photo-carousel.hd-carousel .hd-carousel__dot[aria-current='true'] {
  background: var(--god-blue);
  transform: none;
}

.rebuild-photo-session + .rebuild-faq {
  padding-block-start: clamp(4.4rem, 8vw, 6rem);
}

@media (max-width: 900px) {
  .rebuild-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(210px, 300px);
  }

  .rebuild-command__assurance {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .rebuild-hero {
    padding-block: calc(64px + 1.8rem) 2.2rem;
  }

  .rebuild-hero__inner {
    grid-template-columns: 1fr;
  }

  .rebuild-hero h1 {
    max-inline-size: 12ch;
    font-size: clamp(2.15rem, 10vw, 3rem);
  }

  .rebuild-hero__signals {
    grid-template-columns: 1fr;
  }

  .rebuild-hero__media-card {
    inline-size: 100%;
  }

  .rebuild-command__routes a {
    grid-template-columns: 2.65rem minmax(0, 1fr);
    grid-template-areas:
      "num title"
      "num copy"
      "action action";
    min-block-size: auto;
  }

  .rebuild-command__routes em {
    justify-self: stretch;
    text-align: center;
  }

  .rebuild-photo-carousel.hd-carousel .hd-carousel__viewport {
    aspect-ratio: 4 / 3;
    min-block-size: 230px;
  }

  .rebuild-photo-carousel.hd-carousel .hd-carousel__arrow {
    display: none;
  }
}

/* Compact hero correction: keep it sharp, let the white content arrive sooner. */
.rebuild-hero {
  padding-block: clamp(5rem, 6.5vw, 6rem) clamp(1.5rem, 3vw, 2.25rem);
}

.rebuild-hero__inner {
  align-items: center;
}

.rebuild-hero h1 {
  max-inline-size: 12.5ch;
  font-size: clamp(2.35rem, 4.4vw, 4.05rem);
  line-height: 1.02;
}

.rebuild-hero__lead {
  max-inline-size: 44ch;
}

.rebuild-hero__signals {
  max-inline-size: 33rem;
}

.rebuild-hero__signals span {
  min-block-size: 48px;
}

.rebuild-hero__media-card {
  inline-size: min(100%, 360px);
}

.rebuild-hero__media {
  aspect-ratio: 4 / 3;
}

.rebuild-hero__media-info {
  margin: -1.8rem 0.8rem 0;
  padding: 0.82rem;
}

@media (max-width: 900px) {
  .rebuild-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(190px, 260px);
  }

  .rebuild-hero h1 {
    font-size: clamp(2.1rem, 6.5vw, 3.2rem);
  }
}

@media (max-width: 680px) {
  .rebuild-hero {
    padding-block: calc(64px + 1.35rem) 1.35rem;
  }

  .rebuild-hero__content {
    gap: 0.85rem;
  }

  .rebuild-hero h1 {
    max-inline-size: 11.5ch;
    font-size: clamp(2rem, 9vw, 2.7rem);
  }

  .rebuild-hero__lead {
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .rebuild-hero__signals,
  .rebuild-hero__note {
    display: none;
  }

  .rebuild-hero__actions {
    gap: 0.65rem;
  }

  .rebuild-hero__actions .btn {
    min-block-size: 48px;
  }

  .rebuild-hero__media-card {
    display: none;
  }
}

/* Final surface pass: colored cards without turning the page into a dark block. */
.rebuild-command,
.rebuild-treatment {
  --surface-blue-1: #edf6fc;
  --surface-blue-2: #dceef8;
  --surface-blue-3: #cbe7f5;
  --surface-mint: #e8f7f2;
  --surface-cream: #fff6e7;
  --surface-rose: #fff0ef;
  --surface-ink: #08294a;
  --surface-line: rgba(18, 60, 105, 0.16);
}

.rebuild-command {
  background:
    radial-gradient(circle at 96% 4%, rgba(35, 126, 184, 0.10), transparent 20rem),
    linear-gradient(180deg, #ffffff 0%, #f4f9fc 100%);
}

.rebuild-command__routes {
  align-self: stretch;
}

.rebuild-command__routes a,
.rebuild-command__routes a.is-primary {
  position: relative;
  min-block-size: clamp(6.6rem, 9vw, 7.8rem);
  overflow: hidden;
  border-color: var(--surface-line);
  background:
    radial-gradient(circle at 96% 0%, rgba(255, 255, 255, 0.82), transparent 8rem),
    linear-gradient(135deg, var(--surface-blue-1), var(--surface-blue-2));
  color: var(--surface-ink);
  box-shadow: 0 18px 54px rgba(8, 40, 74, 0.10);
}

.rebuild-command__routes a:nth-child(2) {
  background:
    radial-gradient(circle at 96% 0%, rgba(255, 255, 255, 0.80), transparent 8rem),
    linear-gradient(135deg, #eef8fb, var(--surface-mint));
}

.rebuild-command__routes a:nth-child(3) {
  background:
    radial-gradient(circle at 96% 0%, rgba(255, 255, 255, 0.82), transparent 8rem),
    linear-gradient(135deg, #f2f7fb, #e7edf7);
}

.rebuild-command__routes a::after {
  content: "";
  position: absolute;
  inset: auto -18% -42% auto;
  inline-size: 9rem;
  aspect-ratio: 1;
  border-radius: 999px;
  background: rgba(18, 60, 105, 0.08);
  pointer-events: none;
}

.rebuild-command__routes span {
  background: rgba(8, 41, 74, 0.92);
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.rebuild-command__routes strong {
  color: var(--surface-ink);
}

.rebuild-command__routes em {
  border: 1px solid rgba(8, 41, 74, 0.12);
  background: rgba(255, 255, 255, 0.72);
  color: var(--god-blue);
  box-shadow: 0 8px 22px rgba(8, 40, 74, 0.08);
}

.rebuild-command__routes small {
  color: #3f5d73;
}

.rebuild-command__assurance {
  border-color: rgba(18, 60, 105, 0.15);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.72), transparent 15rem),
    linear-gradient(135deg, #f1f8fc 0%, #e8f3fa 52%, #f7fbfd 100%);
  box-shadow: 0 20px 64px rgba(8, 40, 74, 0.11);
}

.rebuild-command__assurance ol {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  border-block-start: 0;
}

.rebuild-command__assurance li {
  grid-template-columns: 1fr;
  gap: 0.45rem;
  min-block-size: 8.8rem;
  padding: 0.95rem;
  border: 1px solid rgba(18, 60, 105, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 10px 28px rgba(8, 40, 74, 0.06);
}

.rebuild-command__assurance li:nth-child(1) {
  background: linear-gradient(145deg, #ffffff 0%, var(--surface-blue-1) 100%);
}

.rebuild-command__assurance li:nth-child(2) {
  background: linear-gradient(145deg, #ffffff 0%, var(--surface-mint) 100%);
}

.rebuild-command__assurance li:nth-child(3) {
  background: linear-gradient(145deg, #ffffff 0%, var(--surface-cream) 100%);
}

.rebuild-command__assurance li:nth-child(4) {
  background: linear-gradient(145deg, #ffffff 0%, #eaf0fb 100%);
}

.rebuild-command__assurance li span {
  grid-row: auto;
  inline-size: fit-content;
  padding: 0.28rem 0.46rem;
  border-radius: 999px;
  background: rgba(8, 41, 74, 0.92);
  color: #ffffff;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.rebuild-command__assurance li strong {
  color: var(--surface-ink);
  font-size: 1rem;
  line-height: 1.18;
}

.rebuild-command__assurance li small {
  color: #4c6577;
}

.rebuild-treatment {
  background:
    radial-gradient(circle at 8% 0%, rgba(35, 126, 184, 0.08), transparent 18rem),
    linear-gradient(180deg, #ffffff 0%, #f6fafc 100%);
}

.rebuild-treatment__badges span {
  border-color: rgba(18, 60, 105, 0.16);
  background: linear-gradient(135deg, var(--surface-blue-1), var(--surface-blue-2));
  color: var(--surface-ink);
  box-shadow: 0 9px 22px rgba(8, 40, 74, 0.07);
}

.rebuild-treatment__badges span:nth-child(2) {
  background: linear-gradient(135deg, #fffaf0, var(--surface-cream));
}

.rebuild-treatment__badges span:nth-child(3) {
  background: linear-gradient(135deg, #f2fbf7, var(--surface-mint));
}

.rebuild-treatment__featured {
  border-color: rgba(18, 60, 105, 0.18);
  background:
    radial-gradient(circle at 100% 0%, rgba(124, 190, 232, 0.24), transparent 15rem),
    linear-gradient(145deg, #123c69 0%, #0d3157 48%, #08294a 100%);
  color: #ffffff;
  box-shadow: 0 26px 76px rgba(8, 40, 74, 0.20);
}

.rebuild-treatment__featured span {
  color: #cfeaf8;
}

.rebuild-treatment__featured > div:first-child strong {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.rebuild-treatment__featured h3,
.rebuild-treatment__featured p,
.rebuild-treatment__featured li {
  color: #ffffff;
}

.rebuild-treatment__featured p,
.rebuild-treatment__featured li {
  color: rgba(244, 250, 253, 0.82);
}

.rebuild-treatment__featured li::before {
  background: #8bd4f0;
}

.rebuild-treatment__actions a {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.10);
  color: #ffffff;
}

.rebuild-treatment__actions a:first-child {
  background: #ffffff;
  color: var(--god-blue);
}

.rebuild-treatment__list a {
  border-color: rgba(18, 60, 105, 0.14);
  background:
    radial-gradient(circle at 100% 0%, rgba(255,255,255,0.72), transparent 7rem),
    linear-gradient(135deg, var(--surface-blue-1), #f8fcfd);
  box-shadow: 0 16px 44px rgba(8, 40, 74, 0.09);
}

.rebuild-treatment__list a:nth-child(2) {
  background:
    radial-gradient(circle at 100% 0%, rgba(255,255,255,0.74), transparent 7rem),
    linear-gradient(135deg, #f1fbf7, var(--surface-mint));
}

.rebuild-treatment__list a:nth-child(3) {
  background:
    radial-gradient(circle at 100% 0%, rgba(255,255,255,0.74), transparent 7rem),
    linear-gradient(135deg, #f5f8fc, #e6edf8);
}

.rebuild-treatment__list span,
.rebuild-treatment__list strong {
  color: var(--surface-ink);
}

.rebuild-treatment__list em {
  color: #4c6577;
}

@media (max-width: 980px) {
  .rebuild-command__assurance {
    grid-template-columns: 1fr;
  }

  .rebuild-command__assurance ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .rebuild-command__routes a,
  .rebuild-command__routes a.is-primary {
    min-block-size: auto;
    border-radius: 20px;
  }

  .rebuild-command__assurance ol {
    grid-template-columns: 1fr;
  }

  .rebuild-command__assurance li {
    min-block-size: auto;
  }

  .rebuild-treatment__featured {
    border-radius: 22px;
  }
}

/* Surface refinement v2: calmer palette, stronger hierarchy, less loose-card feeling. */
.rebuild-command {
  padding-block: clamp(3rem, 6.2vw, 5.4rem);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0 18%, transparent 18%),
    radial-gradient(circle at 86% 12%, rgba(87, 168, 218, 0.16), transparent 22rem),
    linear-gradient(180deg, #ffffff 0%, #f5f9fc 100%);
}

.rebuild-command__grid {
  align-items: start;
}

.rebuild-command__intro {
  position: relative;
  padding: clamp(1rem, 2vw, 1.25rem);
  border-inline-start: 3px solid rgba(18, 60, 105, 0.32);
}

.rebuild-command__intro h2 {
  max-inline-size: 10.5ch;
}

.rebuild-command__intro p {
  max-inline-size: 34rem;
}

.rebuild-command__routes {
  counter-reset: route-card;
  gap: 0.82rem;
}

.rebuild-command__routes a,
.rebuild-command__routes a.is-primary {
  isolation: isolate;
  grid-template-columns: 3.35rem minmax(0, 1fr) auto;
  min-block-size: clamp(7rem, 9vw, 8.15rem);
  padding: clamp(1rem, 2vw, 1.28rem);
  border-radius: 24px;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.rebuild-command__routes a:hover,
.rebuild-command__routes a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(18, 60, 105, 0.28);
  box-shadow: 0 22px 64px rgba(8, 40, 74, 0.14);
}

.rebuild-command__routes a.is-primary {
  background:
    linear-gradient(90deg, rgba(18, 60, 105, 0.10), transparent 0.7rem),
    radial-gradient(circle at 104% 50%, rgba(18, 60, 105, 0.16), transparent 8rem),
    linear-gradient(135deg, #d9eef8 0%, #edf7fc 100%);
}

.rebuild-command__routes a:nth-child(2) {
  background:
    linear-gradient(90deg, rgba(34, 121, 104, 0.10), transparent 0.7rem),
    radial-gradient(circle at 104% 50%, rgba(34, 121, 104, 0.14), transparent 8rem),
    linear-gradient(135deg, #e7f7f2 0%, #f4fbf8 100%);
}

.rebuild-command__routes a:nth-child(3) {
  background:
    linear-gradient(90deg, rgba(74, 101, 151, 0.10), transparent 0.7rem),
    radial-gradient(circle at 104% 50%, rgba(74, 101, 151, 0.14), transparent 8rem),
    linear-gradient(135deg, #e9eff8 0%, #f7f9fc 100%);
}

.rebuild-command__routes span {
  inline-size: 3.05rem;
  block-size: 3.05rem;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent),
    #103a65;
  font-size: 0.9rem;
}

.rebuild-command__routes a:nth-child(2) span {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), transparent),
    #1d7768;
}

.rebuild-command__routes a:nth-child(3) span {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), transparent),
    #405e94;
}

.rebuild-command__routes strong {
  font-size: clamp(1.12rem, 1.65vw, 1.42rem);
}

.rebuild-command__routes em {
  padding: 0.62rem 0.82rem;
  background: rgba(255, 255, 255, 0.82);
}

.rebuild-command__routes small {
  max-inline-size: 46ch;
  font-size: 0.92rem;
}

.rebuild-command__assurance {
  gap: clamp(1rem, 2vw, 1.25rem);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(87, 168, 218, 0.18), transparent 18rem),
    linear-gradient(135deg, #eff7fc 0%, #f8fbfd 58%, #ffffff 100%);
}

.rebuild-command__assurance h3 {
  max-inline-size: 13ch;
}

.rebuild-command__assurance ol {
  align-items: stretch;
}

.rebuild-command__assurance li {
  position: relative;
  overflow: hidden;
  align-content: start;
  border-radius: 20px;
}

.rebuild-command__assurance li::before {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  inline-size: 5px;
  background: #123c69;
}

.rebuild-command__assurance li:nth-child(2)::before {
  background: #1d7768;
}

.rebuild-command__assurance li:nth-child(3)::before {
  background: #b2782d;
}

.rebuild-command__assurance li:nth-child(4)::before {
  background: #405e94;
}

.rebuild-command__assurance li span {
  background: transparent;
  color: rgba(8, 41, 74, 0.52);
  padding: 0;
  font-size: 0.76rem;
}

.rebuild-command__assurance li strong {
  font-size: 1.05rem;
}

.rebuild-treatment {
  padding-block: clamp(3.2rem, 6.6vw, 6rem);
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fbfd 48%, #ffffff 100%);
}

.rebuild-treatment__copy {
  position: relative;
  padding-block-start: 0.35rem;
}

.rebuild-treatment__badges {
  max-inline-size: 28rem;
}

.rebuild-treatment__badges span {
  min-block-size: 36px;
  display: inline-flex;
  align-items: center;
  border-radius: 14px;
}

.rebuild-treatment__board {
  gap: 1rem;
}

.rebuild-treatment__featured {
  position: relative;
  min-block-size: clamp(25rem, 38vw, 31rem);
  overflow: hidden;
  align-content: space-between;
  padding: clamp(1.2rem, 2.8vw, 1.8rem);
  border-radius: 30px;
}

.rebuild-treatment__featured::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: inherit;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.12), transparent 34%),
    radial-gradient(circle at 88% 14%, rgba(139, 212, 240, 0.24), transparent 14rem);
  pointer-events: none;
}

.rebuild-treatment__featured > div:first-child {
  align-items: start;
}

.rebuild-treatment__featured > div:first-child strong {
  padding: 0.55rem 0.72rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.rebuild-treatment__featured h3 {
  max-inline-size: 9.5ch;
  font-size: clamp(2rem, 3.6vw, 3.4rem);
}

.rebuild-treatment__featured ul {
  gap: 0.7rem;
  padding: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.rebuild-treatment__actions a {
  min-block-size: 46px;
  padding-inline: 1rem;
}

.rebuild-treatment__list {
  gap: 1rem;
}

.rebuild-treatment__list a {
  position: relative;
  overflow: hidden;
  align-content: center;
  min-block-size: clamp(8.2rem, 11vw, 9.6rem);
  padding: clamp(1rem, 2vw, 1.28rem);
  border-radius: 24px;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.rebuild-treatment__list a::before {
  content: "";
  position: absolute;
  inset-block: 1rem;
  inset-inline-start: 0;
  inline-size: 5px;
  border-radius: 999px;
  background: #123c69;
}

.rebuild-treatment__list a:nth-child(2)::before {
  background: #1d7768;
}

.rebuild-treatment__list a:nth-child(3)::before {
  background: #405e94;
}

.rebuild-treatment__list a:hover,
.rebuild-treatment__list a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(18, 60, 105, 0.26);
  box-shadow: 0 20px 58px rgba(8, 40, 74, 0.13);
}

.rebuild-treatment__list span {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
}

.rebuild-treatment__list strong {
  font-size: clamp(1.22rem, 1.9vw, 1.52rem);
}

@media (min-width: 980px) {
  .rebuild-command__assurance {
    grid-template-columns: minmax(14rem, 0.3fr) minmax(0, 0.7fr);
  }

  .rebuild-treatment__board {
    grid-template-columns: minmax(0, 1.04fr) minmax(15rem, 0.72fr);
  }
}

@media (max-width: 760px) {
  .rebuild-command__intro {
    padding-inline: 0;
    border-inline-start: 0;
  }

  .rebuild-command__routes a,
  .rebuild-command__routes a.is-primary {
    grid-template-columns: 3rem minmax(0, 1fr);
    grid-template-areas:
      "num title"
      "num copy"
      "action action";
    gap: 0.45rem 0.8rem;
  }

  .rebuild-command__routes em {
    justify-self: start;
    margin-block-start: 0.2rem;
  }

  .rebuild-treatment__featured {
    min-block-size: auto;
  }

  .rebuild-treatment__featured ul {
    padding: 0.75rem;
  }
}

/* Header/nav contrast fix: explicit readable colors in every homepage state. */
.rebuild-header.site-header {
  color: #ffffff;
  background: transparent;
}

.rebuild-header__nav {
  border-color: rgba(255, 255, 255, 0.20);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.075)),
    rgba(6, 30, 58, 0.54);
}

.rebuild-header__brand,
.rebuild-header__link,
.rebuild-header__ghost,
.rebuild-header__toggle {
  color: #ffffff;
}

.rebuild-header__link {
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.18);
}

.rebuild-header__brand span {
  color: #ffffff;
}

.rebuild-header__link:hover,
.rebuild-header__link:focus-visible,
.rebuild-header__group:focus-within .rebuild-header__link,
.rebuild-header__group:hover .rebuild-header__link {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.rebuild-header.is-scrolled .rebuild-header__nav,
.rebuild-header.is-open .rebuild-header__nav {
  border-color: rgba(18, 60, 105, 0.18);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(244, 249, 252, 0.90));
}

.rebuild-header.is-scrolled .rebuild-header__brand,
.rebuild-header.is-scrolled .rebuild-header__brand span,
.rebuild-header.is-scrolled .rebuild-header__link,
.rebuild-header.is-open .rebuild-header__brand,
.rebuild-header.is-open .rebuild-header__brand span,
.rebuild-header.is-open .rebuild-header__link {
  color: #08294a;
  text-shadow: none;
}

.rebuild-header.is-scrolled .rebuild-header__link:hover,
.rebuild-header.is-scrolled .rebuild-header__link:focus-visible,
.rebuild-header.is-open .rebuild-header__link:hover,
.rebuild-header.is-open .rebuild-header__link:focus-visible,
.rebuild-header.is-scrolled .rebuild-header__group:focus-within .rebuild-header__link,
.rebuild-header.is-open .rebuild-header__group:focus-within .rebuild-header__link {
  background: #e7f2fa;
  color: #123c69;
}

.rebuild-header__mega,
.rebuild-header__mega a,
.rebuild-header__mega strong {
  color: #08294a;
}

.rebuild-header__mega small {
  color: #516678;
}

.rebuild-header.is-open .rebuild-header__toggle,
.rebuild-header.is-scrolled .rebuild-header__toggle {
  border-color: rgba(18, 60, 105, 0.18);
  background: rgba(18, 60, 105, 0.07);
  color: #08294a;
}

.rebuild-mobile-menu {
  background:
    radial-gradient(circle at 100% 0%, rgba(87, 168, 218, 0.18), transparent 18rem),
    #061e3a;
  color: #ffffff;
}

.rebuild-mobile-menu__label {
  color: rgba(255, 255, 255, 0.78);
}

.rebuild-mobile-menu a {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.rebuild-mobile-menu a:hover,
.rebuild-mobile-menu a:focus-visible {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

@media (max-width: 820px) {
  .rebuild-header.site-header {
    background: rgba(5, 18, 38, 0.86);
  }
}

/* Homepage audit pass: photo-only carousel and tighter cross-device polish. */
.rebuild-photo-session {
  background:
    radial-gradient(circle at 8% 0%, rgba(87, 168, 218, 0.10), transparent 18rem),
    linear-gradient(180deg, #ffffff 0%, #f6fafc 100%);
}

.rebuild-photo-session__head {
  align-items: end;
  gap: clamp(1rem, 2.5vw, 2rem);
  padding-block-end: clamp(0.3rem, 1vw, 0.8rem);
}

.rebuild-photo-carousel-wrap {
  inline-size: min(calc(100% - 2rem), 1040px);
}

.rebuild-photo-carousel.hd-carousel {
  padding: clamp(0.45rem, 1vw, 0.65rem);
  border-color: rgba(18, 60, 105, 0.14);
  border-radius: clamp(20px, 3vw, 28px);
  background:
    linear-gradient(180deg, #ffffff, #f8fbfd);
  box-shadow:
    0 22px 70px rgba(8, 40, 74, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.rebuild-photo-carousel.hd-carousel .hd-carousel__viewport {
  aspect-ratio: 4 / 3;
  min-block-size: 0;
  max-block-size: 620px;
  border-radius: clamp(16px, 2.4vw, 22px);
  background: #eef6fb;
}

.rebuild-photo-carousel.hd-carousel .hd-carousel__track {
  block-size: 100%;
  background: #eef6fb;
}

.rebuild-photo-carousel.hd-carousel .hd-carousel__slide {
  block-size: 100%;
  background: #eef6fb;
}

.rebuild-photo-carousel.hd-carousel .hd-carousel__slide::after {
  display: none;
}

.rebuild-photo-carousel.hd-carousel img {
  block-size: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.98) contrast(1.02);
}

.rebuild-photo-carousel.hd-carousel figcaption {
  display: none;
}

.rebuild-photo-carousel.hd-carousel .hd-carousel__arrow {
  inline-size: 44px;
  block-size: 44px;
  border-color: rgba(18, 60, 105, 0.16);
  background: rgba(255, 255, 255, 0.86);
  color: #08294a;
  box-shadow: 0 12px 34px rgba(8, 40, 74, 0.14);
}

.rebuild-photo-carousel.hd-carousel .hd-carousel__arrow:hover,
.rebuild-photo-carousel.hd-carousel .hd-carousel__arrow:focus-visible {
  background: #123c69;
  color: #ffffff;
}

.rebuild-photo-carousel.hd-carousel .hd-carousel__dots {
  inset-block-end: -2.2rem;
  border-color: rgba(18, 60, 105, 0.12);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

.rebuild-photo-session + .rebuild-faq {
  padding-block-start: clamp(4rem, 7vw, 5.5rem);
}

.rebuild-section-head__kicker {
  letter-spacing: 0.10em;
}

.rebuild-command__routes a,
.rebuild-command__assurance li,
.rebuild-treatment__featured,
.rebuild-treatment__list a,
.rebuild-journey__steps li,
.rebuild-journey__location,
.rebuild-faq details {
  outline-offset: 4px;
}

.rebuild-command__routes a:focus-visible,
.rebuild-treatment__actions a:focus-visible,
.rebuild-treatment__list a:focus-visible,
.rebuild-journey__location-actions a:focus-visible,
.rebuild-final__actions a:focus-visible,
.rebuild-photo-carousel.hd-carousel:focus-visible {
  outline: 3px solid rgba(59, 130, 246, 0.35);
}

.rebuild-journey__steps li {
  background:
    linear-gradient(135deg, #ffffff 0%, #f5f9fc 100%);
}

.rebuild-journey__steps span {
  color: #123c69;
}

.rebuild-journey__location {
  background:
    radial-gradient(circle at 100% 0%, rgba(87, 168, 218, 0.12), transparent 14rem),
    linear-gradient(145deg, #ffffff, #f4f9fc);
}

.rebuild-faq {
  background:
    linear-gradient(180deg, #f6fafc 0%, #ffffff 100%);
}

.rebuild-faq details {
  border-color: rgba(18, 60, 105, 0.14);
  background:
    linear-gradient(135deg, #ffffff, #f8fbfd);
}

.rebuild-final {
  background:
    radial-gradient(circle at 50% 0%, rgba(87, 168, 218, 0.16), transparent 24rem),
    linear-gradient(180deg, #ffffff 0%, #eef6fb 100%);
}

.rebuild-final__inner {
  border: 1px solid rgba(18, 60, 105, 0.14);
  border-radius: clamp(24px, 4vw, 34px);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.20), transparent 14rem),
    linear-gradient(145deg, #123c69, #08294a);
  color: #ffffff;
  box-shadow: 0 28px 80px rgba(8, 40, 74, 0.18);
}

.rebuild-final__inner .rebuild-section-head__kicker,
.rebuild-final__inner h2,
.rebuild-final__inner p {
  color: #ffffff;
}

.rebuild-final__actions a:first-child {
  background: #ffffff;
  color: #08294a;
}

.rebuild-final__actions a:last-child {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.10);
  color: #ffffff;
}

@media (max-width: 760px) {
  .rebuild-photo-session__head {
    align-items: start;
  }

  .rebuild-photo-carousel-wrap {
    inline-size: min(calc(100% - 1.25rem), 1040px);
  }

  .rebuild-photo-carousel.hd-carousel {
    padding: 0.4rem;
  }

  .rebuild-photo-carousel.hd-carousel .hd-carousel__viewport {
    aspect-ratio: 4 / 3;
    min-block-size: 0;
    border-radius: 16px;
  }

  .rebuild-photo-carousel.hd-carousel .hd-carousel__dots {
    inset-block-end: -2rem;
  }

  .rebuild-faq details,
  .rebuild-journey__steps li,
  .rebuild-journey__location {
    border-radius: 18px;
  }
}

/* ==========================================================
   SITE POLISH SYSTEM · cross-page visible refinement pass
   Purpose: one consistent premium language for cards, forms,
   treatment routes, CTAs, FAQ blocks and mobile surfaces.
   ========================================================== */

:root {
  --polish-ink: #08294a;
  --polish-blue: #123c69;
  --polish-blue-2: #1d5f96;
  --polish-sky: #e9f5fb;
  --polish-sky-2: #d9edf8;
  --polish-mint: #e9f7f2;
  --polish-cream: #fff7e8;
  --polish-line: rgba(18, 60, 105, 0.14);
  --polish-line-strong: rgba(18, 60, 105, 0.24);
  --polish-shadow: 0 18px 56px rgba(8, 40, 74, 0.10);
  --polish-shadow-strong: 0 28px 86px rgba(8, 40, 74, 0.16);
  --polish-focus: 0 0 0 4px rgba(59, 130, 246, 0.20);
}

::selection {
  background: rgba(18, 60, 105, 0.18);
  color: var(--polish-ink);
}

:where(a, button, summary, input, textarea, select, [tabindex]):focus-visible {
  outline: 3px solid rgba(59, 130, 246, 0.34);
  outline-offset: 3px;
}

.section {
  position: relative;
  isolation: isolate;
}

.section--surface,
.section--muted {
  background:
    radial-gradient(circle at 88% 0%, rgba(87, 168, 218, 0.10), transparent 18rem),
    linear-gradient(180deg, var(--surface) 0%, var(--bg-soft) 100%);
}

.section-head {
  margin-block-end: clamp(var(--sp-8), 5vw, var(--sp-12));
}

.section-head__eyebrow,
.badge,
.treatment-card__sub,
.contact-card__label,
.price-overview__item span,
.stat__label {
  letter-spacing: 0.10em;
}

.section-head__title {
  color: var(--polish-ink);
  text-wrap: balance;
}

.section-head__lead {
  color: color-mix(in oklab, var(--text-soft) 86%, var(--polish-blue) 14%);
}

.card,
.treatment-card,
.process-step,
.city-tile,
.price-overview__item,
.contact-card,
.form-step,
.form-intro,
.accordion details,
.faq-item,
.cta-band {
  border-color: var(--polish-line);
}

.card,
.treatment-card,
.process-step,
.city-tile,
.price-overview__item,
.contact-card,
.form-step,
.form-intro {
  background:
    radial-gradient(circle at 100% 0%, rgba(87, 168, 218, 0.08), transparent 11rem),
    linear-gradient(145deg, #ffffff 0%, #f8fbfd 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.82) inset, 0 10px 34px rgba(8, 40, 74, 0.06);
}

.card--hover:hover,
.treatment-card:hover,
.city-tile:hover,
.price-overview__item:hover,
.contact-card:hover,
.process-step:hover {
  transform: translateY(-3px);
  border-color: var(--polish-line-strong);
  box-shadow: var(--polish-shadow);
}

.card--featured,
.treatment-card--featured {
  border-color: rgba(18, 60, 105, 0.30);
  background:
    radial-gradient(circle at 100% 0%, rgba(139, 212, 240, 0.18), transparent 13rem),
    linear-gradient(145deg, #123c69 0%, #08294a 100%);
  color: #ffffff;
  box-shadow: var(--polish-shadow-strong);
}

.card--featured :where(h2, h3, h4, p, li, small),
.treatment-card--featured :where(h2, h3, h4, p, li, small, span) {
  color: inherit;
}

.badge {
  min-block-size: 28px;
  border: 1px solid rgba(18, 60, 105, 0.10);
  background: linear-gradient(135deg, var(--polish-sky), #ffffff);
}

.badge--gold {
  background: linear-gradient(135deg, #fffaf0, var(--polish-cream));
}

.badge--success {
  background: linear-gradient(135deg, #f2fbf7, var(--polish-mint));
}

.page-hero {
  background:
    radial-gradient(circle at 84% 8%, rgba(87, 168, 218, 0.14), transparent 22rem),
    linear-gradient(180deg, #ffffff 0%, #eef6fb 100%);
}

.page-hero::after {
  opacity: 0.55;
}

.page-hero__eyebrow,
.section-head__eyebrow {
  color: var(--polish-blue);
}

.hero-dual__card {
  border-color: var(--polish-line);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.74), transparent 10rem),
    linear-gradient(135deg, var(--polish-sky), #ffffff);
}

.hero-dual__card:nth-child(2) {
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.74), transparent 10rem),
    linear-gradient(135deg, var(--polish-mint), #ffffff);
}

.btn {
  min-block-size: 46px;
  box-shadow: none;
}

.btn-primary {
  background:
    linear-gradient(180deg, color-mix(in oklab, var(--brand) 94%, #fff 6%), var(--brand-hover));
  box-shadow: 0 12px 30px rgba(8, 40, 74, 0.18);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 18px 44px rgba(8, 40, 74, 0.22);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.68);
  border-color: var(--polish-line-strong);
  color: var(--polish-ink);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: var(--polish-sky);
  color: var(--polish-blue);
  box-shadow: 0 10px 28px rgba(8, 40, 74, 0.08);
}

.treatment-card {
  min-block-size: 100%;
  border-radius: clamp(18px, 2vw, 24px);
}

.treatment-card:nth-of-type(3n + 1) {
  background:
    radial-gradient(circle at 100% 0%, rgba(87, 168, 218, 0.12), transparent 10rem),
    linear-gradient(145deg, #ffffff, var(--polish-sky));
}

.treatment-card:nth-of-type(3n + 2) {
  background:
    radial-gradient(circle at 100% 0%, rgba(34, 121, 104, 0.10), transparent 10rem),
    linear-gradient(145deg, #ffffff, var(--polish-mint));
}

.treatment-card:nth-of-type(3n) {
  background:
    radial-gradient(circle at 100% 0%, rgba(178, 120, 45, 0.10), transparent 10rem),
    linear-gradient(145deg, #ffffff, var(--polish-cream));
}

.treatment-card__for {
  border: 1px solid rgba(18, 60, 105, 0.09);
  background: rgba(255, 255, 255, 0.62);
}

.treatment-card__price {
  color: var(--polish-blue);
}

.treatment-card__list li::before {
  background: var(--polish-blue-2);
}

.price-overview {
  align-items: stretch;
}

.price-overview__item {
  min-block-size: 100%;
  transition:
    transform var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out);
}

.price-overview__item:focus-visible {
  box-shadow: var(--polish-shadow), var(--polish-focus);
}

.contact-card {
  border-inline-start-width: 5px;
}

.contact-card__label {
  color: var(--polish-blue);
}

.input,
.textarea,
.select {
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfdfe 100%);
  border-color: rgba(18, 60, 105, 0.24);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.92) inset;
}

.input:hover,
.textarea:hover,
.select:hover {
  border-color: rgba(18, 60, 105, 0.38);
}

.input:focus,
.textarea:focus,
.select:focus {
  border-color: var(--polish-blue);
  box-shadow: var(--polish-focus), 0 12px 28px rgba(8, 40, 74, 0.08);
}

.form__success {
  border-color: rgba(16, 185, 129, 0.24);
  color: var(--success-on-weak);
}

.form__error {
  font-weight: var(--fw-semi);
}

.process-step {
  overflow: hidden;
}

.process-step::before {
  opacity: 0.12;
}

.process-step__icon {
  background: var(--polish-sky);
  color: var(--polish-blue);
}

.timeline::before {
  background: linear-gradient(180deg, transparent, var(--polish-line-strong), transparent);
}

.timeline li::before {
  background: var(--polish-blue);
  box-shadow: 0 0 0 5px var(--bg), 0 0 0 6px rgba(18, 60, 105, 0.18);
}

.accordion details,
.faq-item {
  border-radius: var(--r-lg);
  padding-inline: clamp(var(--sp-4), 3vw, var(--sp-6));
  background:
    linear-gradient(145deg, #ffffff, #f8fbfd);
}

.accordion details + details,
.faq-item + .faq-item {
  margin-block-start: var(--sp-3);
}

.accordion summary,
.faq-item summary {
  min-block-size: 52px;
}

.accordion details[open],
.faq-item[open] {
  border-color: var(--polish-line-strong);
  box-shadow: var(--polish-shadow);
}

.cta-band {
  background:
    radial-gradient(circle at 50% 0%, rgba(87, 168, 218, 0.16), transparent 24rem),
    linear-gradient(180deg, #ffffff 0%, #eef6fb 100%);
}

.cta-band__actions .btn {
  min-inline-size: 12rem;
}

.stat-strip {
  border: 1px solid rgba(18, 60, 105, 0.10);
  background:
    radial-gradient(circle at 100% 0%, rgba(87, 168, 218, 0.12), transparent 16rem),
    linear-gradient(145deg, #ffffff, #eef6fb);
  box-shadow: var(--polish-shadow);
}

.stat__num {
  color: var(--polish-blue);
}

table {
  border-collapse: separate;
  border-spacing: 0;
}

:where(table:not(.unstyled-table)) {
  inline-size: 100%;
  border: 1px solid var(--polish-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
}

:where(table:not(.unstyled-table)) th {
  background: var(--polish-sky);
  color: var(--polish-ink);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

:where(table:not(.unstyled-table)) th,
:where(table:not(.unstyled-table)) td {
  padding: 0.85rem 1rem;
  border-block-end: 1px solid rgba(18, 60, 105, 0.08);
}

:where(table:not(.unstyled-table)) tr:last-child td {
  border-block-end: 0;
}

@media (max-width: 767px) {
  .section {
    padding-block: clamp(var(--sp-10), 12vw, var(--sp-16));
  }

  .section-head {
    text-align: start;
    margin-inline: 0;
  }

  .section-head__lead {
    margin-inline: 0;
  }

  .card,
  .treatment-card,
  .process-step,
  .contact-card,
  .form-step,
  .form-intro {
    border-radius: 18px;
    padding: var(--sp-5);
  }

  .btn,
  .btn-lg,
  .cta-band__actions .btn {
    inline-size: 100%;
  }

  .accordion details,
  .faq-item {
    border-radius: 16px;
    padding-inline: var(--sp-4);
  }
}

@media (prefers-reduced-motion: reduce) {
  .card,
  .treatment-card,
  .city-tile,
  .price-overview__item,
  .contact-card,
  .process-step,
  .btn {
    transition: none;
  }

  .card--hover:hover,
  .treatment-card:hover,
  .city-tile:hover,
  .price-overview__item:hover,
  .contact-card:hover,
  .process-step:hover,
  .btn-primary:hover,
  .btn-ghost:hover {
    transform: none;
  }
}

/* ==========================================================
   HOME OPERATING SYSTEM v3 · visible homepage architecture
   Keeps the hero compact, restores the mobile bleeder image,
   and gives each homepage surface one consistent premium logic.
   ========================================================== */

[data-page='home-rebuild'] {
  --home-blue-950: #061e3a;
  --home-blue-900: #08294a;
  --home-blue-800: #123c69;
  --home-blue-700: #1d5f96;
  --home-blue-200: #cfe8f6;
  --home-blue-100: #eaf6fc;
  --home-ice: #f6fafc;
  --home-mint: #e9f7f2;
  --home-warm: #fff7e8;
  --home-shadow-soft: 0 18px 54px rgba(8, 40, 74, 0.10);
  --home-shadow-lift: 0 28px 84px rgba(8, 40, 74, 0.16);
}

.rebuild-hero {
  min-block-size: clamp(520px, 70svh, 660px);
  background:
    radial-gradient(circle at 78% 12%, rgba(117, 190, 232, 0.24), transparent 23rem),
    radial-gradient(circle at 0% 20%, rgba(255, 255, 255, 0.08), transparent 20rem),
    linear-gradient(135deg, var(--home-blue-950) 0%, var(--home-blue-900) 44%, #174f91 100%);
}

.rebuild-hero__kicker,
.rebuild-hero__signals,
.rebuild-hero__media-badge {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.rebuild-hero__media-card {
  border-radius: 24px;
  filter: drop-shadow(0 24px 54px rgba(2, 16, 34, 0.24));
}

.rebuild-hero__media {
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.rebuild-hero__media img {
  filter: saturate(1.04) contrast(1.04);
}

.rebuild-hero__media-info {
  border: 1px solid rgba(255, 255, 255, 0.13);
  background:
    radial-gradient(circle at 100% 0%, rgba(117, 190, 232, 0.14), transparent 12rem),
    rgba(4, 20, 40, 0.94);
}

.rebuild-home-nav {
  border-block-end: 1px solid rgba(18, 60, 105, 0.08);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.rebuild-home-nav__inner a {
  border-radius: 14px;
}

.rebuild-home-nav__inner a:hover,
.rebuild-home-nav__inner a:focus-visible {
  background: var(--home-blue-100);
  color: var(--home-blue-800);
}

.rebuild-command {
  background:
    radial-gradient(circle at 84% 6%, rgba(117, 190, 232, 0.16), transparent 22rem),
    linear-gradient(180deg, #ffffff 0%, var(--home-ice) 100%);
}

.rebuild-command__intro {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0));
  border-radius: 22px;
}

.rebuild-command__routes a,
.rebuild-command__routes a.is-primary,
.rebuild-command__assurance li,
.rebuild-treatment__list a,
.rebuild-journey__steps li,
.rebuild-journey__location,
.rebuild-faq details {
  border-color: rgba(18, 60, 105, 0.14);
  box-shadow: var(--home-shadow-soft);
}

.rebuild-command__routes a,
.rebuild-command__routes a.is-primary {
  min-block-size: clamp(6.2rem, 8vw, 7.3rem);
}

.rebuild-command__routes a.is-primary {
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.72), transparent 8rem),
    linear-gradient(135deg, #d8edf8 0%, #eef8fd 100%);
}

.rebuild-command__routes a:nth-child(2) {
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.72), transparent 8rem),
    linear-gradient(135deg, var(--home-mint) 0%, #f7fcfa 100%);
}

.rebuild-command__routes a:nth-child(3) {
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.72), transparent 8rem),
    linear-gradient(135deg, #e7eef8 0%, #f7f9fd 100%);
}

.rebuild-command__routes em {
  border-color: rgba(18, 60, 105, 0.10);
  color: var(--home-blue-800);
  font-style: normal;
  font-weight: 800;
}

.rebuild-command__assurance {
  border: 1px solid rgba(18, 60, 105, 0.12);
  box-shadow: var(--home-shadow-soft);
}

.rebuild-command__assurance li {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.68));
}

.rebuild-treatment__badges span {
  border-color: rgba(18, 60, 105, 0.12);
  background: var(--home-blue-100);
  color: var(--home-blue-800);
}

.rebuild-treatment__badges span:nth-child(2) {
  background: var(--home-warm);
  color: #7b520f;
}

.rebuild-treatment__badges span:nth-child(3) {
  background: var(--home-mint);
  color: #176457;
}

.rebuild-treatment__featured {
  background:
    radial-gradient(circle at 88% 10%, rgba(117, 190, 232, 0.24), transparent 15rem),
    linear-gradient(145deg, var(--home-blue-800) 0%, var(--home-blue-950) 100%);
}

.rebuild-treatment__featured h3 {
  letter-spacing: 0;
}

.rebuild-treatment__featured ul {
  backdrop-filter: blur(14px);
}

.rebuild-treatment__list a {
  min-block-size: clamp(7rem, 9.5vw, 8.4rem);
}

.rebuild-journey {
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fbfd 45%, #ffffff 100%);
}

.rebuild-journey__steps li {
  grid-template-columns: 3.15rem minmax(0, 1fr);
  min-block-size: auto;
  background:
    linear-gradient(135deg, #ffffff 0%, #f7fbfd 100%);
}

.rebuild-journey__steps span {
  inline-size: 3rem;
  block-size: 3rem;
  border-radius: 16px;
  background: var(--home-blue-100);
}

.rebuild-journey__location dl div {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.66);
}

.rebuild-photo-session {
  border-block: 1px solid rgba(18, 60, 105, 0.08);
}

.rebuild-photo-carousel.hd-carousel {
  overflow: visible;
}

.rebuild-photo-carousel.hd-carousel .hd-carousel__viewport,
.rebuild-photo-carousel.hd-carousel .hd-carousel__track,
.rebuild-photo-carousel.hd-carousel .hd-carousel__slide {
  background: #f1f7fb;
}

.rebuild-photo-carousel.hd-carousel .hd-carousel__slide::before,
.rebuild-photo-carousel.hd-carousel .hd-carousel__slide::after {
  content: none;
  display: none;
}

.rebuild-photo-carousel.hd-carousel img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  object-position: center center;
}

.rebuild-faq details[open] {
  border-color: rgba(18, 60, 105, 0.24);
  background:
    radial-gradient(circle at 100% 0%, rgba(117, 190, 232, 0.12), transparent 12rem),
    #ffffff;
}

@media (min-width: 960px) {
  .rebuild-command__grid,
  .rebuild-treatment__grid,
  .rebuild-journey__grid {
    gap: clamp(1.75rem, 3vw, 3rem);
  }
}

@media (max-width: 900px) {
  .rebuild-hero {
    min-block-size: auto;
  }
}

@media (max-width: 680px) {
  .rebuild-hero {
    padding-block: calc(64px + 1.05rem) 1.15rem;
  }

  .rebuild-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(108px, 32vw);
    gap: 0.8rem;
    align-items: start;
  }

  .rebuild-hero__content {
    gap: 0.8rem;
  }

  .rebuild-hero__kicker {
    max-inline-size: 18rem;
    padding: 0.48rem 0.68rem;
    font-size: 0.68rem;
  }

  .rebuild-hero h1 {
    max-inline-size: 10.2ch;
    font-size: clamp(1.96rem, 8.5vw, 2.45rem);
  }

  .rebuild-hero__lead {
    max-inline-size: 25ch;
    font-size: 0.96rem;
  }

  .rebuild-hero__actions {
    display: grid;
  }

  .rebuild-hero__actions .btn {
    inline-size: min(100%, 13rem);
  }

  .rebuild-hero__media-card {
    display: block;
    inline-size: 100%;
    align-self: start;
    margin-block-start: 1.15rem;
    border-radius: 18px;
  }

  .rebuild-hero__media {
    aspect-ratio: 3 / 4;
    border-radius: 18px;
  }

  .rebuild-hero__media-badge {
    inset: 0.55rem auto auto 0.55rem;
    padding: 0.35rem 0.48rem;
    font-size: 0.58rem;
    letter-spacing: 0.08em;
  }

  .rebuild-hero__media-info {
    display: none;
  }

  .rebuild-home-nav {
    display: none;
  }

  .rebuild-command,
  .rebuild-treatment,
  .rebuild-journey,
  .rebuild-photo-session,
  .rebuild-faq,
  .rebuild-final {
    padding-block: clamp(2.6rem, 12vw, 4rem);
  }

  .rebuild-command__routes a,
  .rebuild-command__routes a.is-primary,
  .rebuild-command__assurance li,
  .rebuild-treatment__list a,
  .rebuild-journey__steps li,
  .rebuild-journey__location,
  .rebuild-faq details {
    border-radius: 18px;
    box-shadow: 0 12px 34px rgba(8, 40, 74, 0.09);
  }

  .rebuild-command__routes a,
  .rebuild-command__routes a.is-primary {
    min-block-size: auto;
    padding: 0.95rem;
  }

  .rebuild-command__assurance {
    border-radius: 22px;
    padding: 1rem;
  }

  .rebuild-command__assurance h3,
  .rebuild-command__intro h2,
  .rebuild-treatment__copy h2,
  .rebuild-journey__head h2,
  .rebuild-photo-session__head h2,
  .rebuild-faq h2 {
    max-inline-size: 13ch;
  }

  .rebuild-treatment__featured,
  .rebuild-treatment__list a {
    padding: 1rem;
  }

  .rebuild-treatment__featured h3 {
    max-inline-size: 12ch;
    font-size: clamp(1.85rem, 9vw, 2.5rem);
  }

  .rebuild-journey__steps li {
    grid-template-columns: 2.75rem minmax(0, 1fr);
    padding: 0.95rem;
  }

  .rebuild-journey__steps span {
    inline-size: 2.55rem;
    block-size: 2.55rem;
    border-radius: 14px;
  }

  .rebuild-photo-carousel.hd-carousel {
    border-radius: 18px;
    box-shadow: 0 14px 40px rgba(8, 40, 74, 0.11);
  }

  .rebuild-photo-carousel.hd-carousel .hd-carousel__viewport {
    min-block-size: 0;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
  }
}

/* ==========================================================
   HD UI SYSTEM v1 · reusable tools, gadgets and page rails
   Use these across service, pricing, booking, contact and
   location pages to keep the site useful without visual chaos.
   ========================================================== */

.hd-smart-strip {
  position: relative;
  z-index: 3;
  margin-block: clamp(-2.1rem, -3vw, -1.1rem) clamp(1.75rem, 4vw, 3rem);
}

.hd-smart-strip__grid {
  display: grid;
  gap: clamp(0.65rem, 1.5vw, 0.95rem);
}

@media (min-width: 760px) {
  .hd-smart-strip__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.hd-tool-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.72rem;
  min-block-size: 88px;
  padding: clamp(0.9rem, 1.8vw, 1.1rem);
  overflow: hidden;
  border: 1px solid rgba(18, 60, 105, 0.14);
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.78), transparent 8rem),
    linear-gradient(135deg, #e9f5fb 0%, #ffffff 100%);
  color: var(--polish-ink, #08294a);
  text-decoration: none;
  box-shadow: 0 18px 54px rgba(8, 40, 74, 0.10);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.hd-tool-card:nth-child(2) {
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.78), transparent 8rem),
    linear-gradient(135deg, #e9f7f2 0%, #ffffff 100%);
}

.hd-tool-card:nth-child(3) {
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.78), transparent 8rem),
    linear-gradient(135deg, #fff7e8 0%, #ffffff 100%);
}

.hd-tool-card:nth-child(4) {
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.78), transparent 8rem),
    linear-gradient(135deg, #e8eef8 0%, #ffffff 100%);
}

.hd-tool-card:hover,
.hd-tool-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(18, 60, 105, 0.26);
  box-shadow: 0 26px 72px rgba(8, 40, 74, 0.15);
}

.hd-tool-card::after {
  content: "→";
  position: absolute;
  inset-block-start: 0.75rem;
  inset-inline-end: 0.85rem;
  display: grid;
  place-items: center;
  inline-size: 1.8rem;
  block-size: 1.8rem;
  border-radius: 999px;
  background: rgba(18, 60, 105, 0.08);
  color: var(--polish-blue, #123c69);
  font-weight: 800;
}

.hd-tool-card__index {
  display: grid;
  place-items: center;
  inline-size: 2.65rem;
  block-size: 2.65rem;
  border-radius: 15px;
  background: linear-gradient(180deg, #1d5f96, #123c69);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.hd-tool-card:nth-child(2) .hd-tool-card__index {
  background: linear-gradient(180deg, #22886f, #176457);
}

.hd-tool-card:nth-child(3) .hd-tool-card__index {
  background: linear-gradient(180deg, #b2782d, #7b520f);
}

.hd-tool-card:nth-child(4) .hd-tool-card__index {
  background: linear-gradient(180deg, #405e94, #2c4676);
}

.hd-tool-card__body {
  display: grid;
  gap: 0.22rem;
  padding-inline-end: 2.25rem;
}

.hd-tool-card__label {
  color: rgba(8, 41, 74, 0.62);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hd-tool-card__title {
  color: var(--polish-ink, #08294a);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  font-weight: 850;
  line-height: 1.12;
}

.hd-tool-card__text {
  color: #516678;
  font-size: 0.88rem;
  line-height: 1.45;
}

.hd-signal-ledger {
  display: grid;
  gap: 0.78rem;
  padding: clamp(1rem, 2vw, 1.25rem);
  border: 1px solid rgba(18, 60, 105, 0.14);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(87, 168, 218, 0.13), transparent 16rem),
    linear-gradient(145deg, #ffffff, #f6fafc);
  box-shadow: 0 18px 54px rgba(8, 40, 74, 0.10);
}

@media (min-width: 760px) {
  .hd-signal-ledger {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.hd-signal-ledger__item {
  display: grid;
  gap: 0.28rem;
  padding: 0.88rem;
  border: 1px solid rgba(18, 60, 105, 0.10);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
}

.hd-signal-ledger__item span {
  color: var(--polish-blue, #123c69);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hd-signal-ledger__item strong {
  color: var(--polish-ink, #08294a);
  font-size: 1rem;
}

.hd-signal-ledger__item small {
  color: #516678;
  font-size: 0.84rem;
  line-height: 1.45;
}

.hd-next-panel {
  display: grid;
  gap: clamp(1rem, 2vw, 1.4rem);
  align-items: center;
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: clamp(22px, 3vw, 30px);
  background:
    radial-gradient(circle at 100% 0%, rgba(117, 190, 232, 0.20), transparent 18rem),
    linear-gradient(145deg, #123c69, #061e3a);
  color: #ffffff;
  box-shadow: 0 26px 82px rgba(8, 40, 74, 0.18);
}

@media (min-width: 820px) {
  .hd-next-panel {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

.hd-next-panel :where(h2, h3, p) {
  margin: 0;
  color: inherit;
}

.hd-next-panel h2,
.hd-next-panel h3 {
  max-inline-size: 14ch;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hd-next-panel p {
  max-inline-size: 58ch;
  color: rgba(255, 255, 255, 0.76);
}

.hd-next-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
}

.hd-next-panel__actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-block-size: 46px;
  padding-inline: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
}

.hd-next-panel__actions a:first-child {
  background: #ffffff;
  color: #08294a;
}

.hd-page-system-note {
  margin-block-start: clamp(1.25rem, 3vw, 2rem);
  color: #516678;
  font-size: var(--text-sm);
  text-align: center;
}

@media (max-width: 759px) {
  .hd-smart-strip {
    margin-block: -1.4rem 2rem;
  }

  .hd-tool-card {
    min-block-size: 76px;
    border-radius: 18px;
  }

  .hd-tool-card::after {
    inset-block-start: 0.7rem;
    inset-inline-end: 0.72rem;
    inline-size: 1.65rem;
    block-size: 1.65rem;
  }

  .hd-tool-card__body {
    padding-inline-end: 2rem;
  }

  .hd-tool-card__text {
    display: none;
  }

  .hd-signal-ledger,
  .hd-next-panel {
    border-radius: 20px;
  }

  .hd-next-panel__actions a {
    inline-size: 100%;
  }
}

/* ==========================================================
   HD HOME SYSTEM v2 · final visible unification pass
   Keeps the homepage premium, calmer and device-proof.
   ========================================================== */

[data-page='home-rebuild'] {
  --hd-brand-blue: #155284;
  --hd-brand-blue-deep: #092f55;
  --hd-brand-blue-ink: #061f39;
  --hd-brand-air: #f5f9fc;
  --hd-brand-surface: #ffffff;
  --hd-brand-line: rgba(21, 82, 132, 0.14);
  --hd-brand-line-strong: rgba(21, 82, 132, 0.24);
  --hd-brand-muted: #567085;
  --hd-brand-shadow: 0 18px 54px rgba(6, 31, 57, 0.10);
}

.rebuild-header.site-header {
  color: #ffffff;
}

.rebuild-header__nav {
  min-block-size: 64px;
}

.rebuild-header:not(.is-scrolled):not(.is-open) .rebuild-header__brand,
.rebuild-header:not(.is-scrolled):not(.is-open) .rebuild-header__brand span,
.rebuild-header:not(.is-scrolled):not(.is-open) .rebuild-header__link,
.rebuild-header:not(.is-scrolled):not(.is-open) .rebuild-header__ghost,
.rebuild-header:not(.is-scrolled):not(.is-open) .rebuild-header__toggle {
  color: rgba(255, 255, 255, 0.94);
}

.rebuild-header:not(.is-scrolled):not(.is-open) .rebuild-header__link:hover,
.rebuild-header:not(.is-scrolled):not(.is-open) .rebuild-header__link:focus-visible,
.rebuild-header:not(.is-scrolled):not(.is-open) .rebuild-header__group:hover .rebuild-header__link,
.rebuild-header:not(.is-scrolled):not(.is-open) .rebuild-header__group:focus-within .rebuild-header__link {
  background: rgba(255, 255, 255, 0.13);
  color: #ffffff;
}

.rebuild-header.is-scrolled .rebuild-header__nav,
.rebuild-header.is-open .rebuild-header__nav {
  border-color: rgba(21, 82, 132, 0.13);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 38px rgba(6, 31, 57, 0.10);
}

.rebuild-hero {
  min-block-size: auto;
  padding-block: clamp(5.15rem, 6.8vw, 6.35rem) clamp(1.35rem, 2.6vw, 2rem);
  background:
    radial-gradient(circle at 78% 16%, rgba(92, 174, 224, 0.22), transparent 24rem),
    linear-gradient(135deg, var(--hd-brand-blue) 0%, var(--hd-brand-blue-deep) 58%, #061a31 100%);
}

.rebuild-hero::before {
  opacity: 0.46;
}

.rebuild-hero__inner {
  grid-template-columns: minmax(0, 1fr) minmax(250px, 380px);
  gap: clamp(1rem, 3vw, 2.4rem);
  align-items: center;
}

.rebuild-hero__content {
  gap: clamp(0.78rem, 1.5vw, 1.05rem);
}

.rebuild-hero h1 {
  max-inline-size: 12.3ch;
  font-size: clamp(2.35rem, 4.35vw, 4.15rem);
  line-height: 1.01;
}

.rebuild-hero__lead {
  max-inline-size: 44ch;
  color: rgba(255, 255, 255, 0.78);
}

.rebuild-hero__signals {
  max-inline-size: 34rem;
  gap: 0.55rem;
}

.rebuild-hero__signals span {
  min-block-size: 48px;
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.075);
}

.rebuild-hero__media-card {
  inline-size: min(100%, 380px);
}

.rebuild-hero__media {
  aspect-ratio: 4 / 3.45;
  background: #eaf4fa;
}

.rebuild-hero__media img {
  filter: saturate(1.02) contrast(1.02);
}

.hd-smart-strip--home {
  margin-block: clamp(-1.6rem, -2.4vw, -0.9rem) 0;
  background: linear-gradient(180deg, transparent 0%, #ffffff 58%);
}

.hd-smart-strip--home .hd-tool-card {
  min-block-size: 92px;
  border-color: rgba(21, 82, 132, 0.14);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.76), transparent 8rem),
    linear-gradient(135deg, #e7f4fb 0%, #ffffff 100%);
  box-shadow: 0 18px 50px rgba(6, 31, 57, 0.12);
}

.rebuild-command,
.rebuild-treatment,
.rebuild-journey,
.rebuild-photo-session,
.rebuild-faq,
.rebuild-final {
  padding-block: clamp(3rem, 5.8vw, 5.6rem);
}

.rebuild-command {
  background:
    radial-gradient(circle at 92% 0%, rgba(92, 174, 224, 0.13), transparent 22rem),
    linear-gradient(180deg, #ffffff 0%, var(--hd-brand-air) 100%);
}

.rebuild-command__grid {
  gap: clamp(1rem, 2vw, 1.5rem);
}

.rebuild-command__intro h2,
.rebuild-treatment__copy h2,
.rebuild-journey__head h2,
.rebuild-photo-session__head h2,
.rebuild-faq h2,
.rebuild-final h2 {
  letter-spacing: -0.015em;
}

.rebuild-command__routes a,
.rebuild-command__routes a.is-primary {
  min-block-size: 104px;
  border-color: var(--hd-brand-line);
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0%, rgba(92, 174, 224, 0.11), transparent 10rem),
    #ffffff;
  box-shadow: var(--hd-brand-shadow);
}

.rebuild-command__routes a:nth-child(2) {
  background:
    radial-gradient(circle at 100% 0%, rgba(35, 136, 111, 0.10), transparent 10rem),
    #ffffff;
}

.rebuild-command__routes a:nth-child(3) {
  background:
    radial-gradient(circle at 100% 0%, rgba(178, 120, 45, 0.12), transparent 10rem),
    #ffffff;
}

.rebuild-command__routes span,
.rebuild-journey__steps span {
  background: linear-gradient(180deg, #e7f4fb, #d8edf8);
  color: var(--hd-brand-blue);
}

.rebuild-command__routes em {
  background: var(--hd-brand-blue);
}

.rebuild-command__assurance {
  border-color: var(--hd-brand-line);
  border-radius: 26px;
  background:
    radial-gradient(circle at 100% 0%, rgba(92, 174, 224, 0.10), transparent 18rem),
    #ffffff;
  box-shadow: var(--hd-brand-shadow);
}

.rebuild-command__assurance ol {
  border: 0;
  background: transparent;
}

.rebuild-command__assurance li {
  border-color: var(--hd-brand-line);
  border-radius: 18px;
  background: rgba(245, 249, 252, 0.88);
}

.rebuild-treatment {
  background: #ffffff;
}

.rebuild-treatment__badges span {
  border-color: rgba(21, 82, 132, 0.15);
  background: #eaf4fa;
  color: var(--hd-brand-blue-ink);
}

.rebuild-treatment__badges span:nth-child(2) {
  background: #eef7f3;
}

.rebuild-treatment__badges span:nth-child(3) {
  background: #f8f0e3;
}

.rebuild-treatment__featured {
  border-color: rgba(255, 255, 255, 0.16);
  background:
    radial-gradient(circle at 100% 0%, rgba(116, 190, 232, 0.22), transparent 17rem),
    linear-gradient(145deg, var(--hd-brand-blue) 0%, var(--hd-brand-blue-deep) 62%, #061a31 100%);
  box-shadow: 0 24px 76px rgba(6, 31, 57, 0.18);
}

.rebuild-treatment__featured ul {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
}

.rebuild-treatment__list a {
  border-color: var(--hd-brand-line);
  background:
    linear-gradient(135deg, #ffffff, #f5f9fc);
  box-shadow: var(--hd-brand-shadow);
}

.rebuild-treatment__decision {
  display: grid;
  gap: 0.72rem;
  margin-block-start: clamp(0.8rem, 1.6vw, 1rem);
}

@media (min-width: 720px) {
  .rebuild-treatment__decision {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.rebuild-treatment__decision div {
  display: grid;
  gap: 0.18rem;
  min-block-size: 88px;
  padding: 0.9rem;
  border: 1px solid rgba(21, 82, 132, 0.12);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(92, 174, 224, 0.10), transparent 9rem),
    #ffffff;
}

.rebuild-treatment__decision span {
  color: rgba(6, 31, 57, 0.58);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rebuild-treatment__decision strong {
  color: var(--hd-brand-blue-ink);
  font-size: 1.02rem;
  line-height: 1.12;
}

.rebuild-treatment__decision small {
  color: var(--hd-brand-muted);
  font-size: 0.82rem;
  line-height: 1.38;
}

.rebuild-journey {
  background:
    linear-gradient(180deg, var(--hd-brand-air) 0%, #ffffff 100%);
}

.rebuild-journey__grid {
  align-items: stretch;
}

.rebuild-journey__steps li,
.rebuild-journey__location {
  border-color: var(--hd-brand-line);
  border-radius: 22px;
  background:
    linear-gradient(135deg, #ffffff, #f6fafc);
  box-shadow: var(--hd-brand-shadow);
}

.rebuild-journey__location dl div {
  border: 1px solid rgba(21, 82, 132, 0.10);
  background: rgba(255, 255, 255, 0.78);
}

.rebuild-photo-session {
  border-block: 1px solid rgba(21, 82, 132, 0.08);
  background:
    radial-gradient(circle at 8% 0%, rgba(92, 174, 224, 0.11), transparent 20rem),
    linear-gradient(180deg, #ffffff 0%, var(--hd-brand-air) 100%);
}

.rebuild-photo-session__head {
  align-items: end;
}

.rebuild-photo-carousel.hd-carousel {
  overflow: visible;
  border: 1px solid var(--hd-brand-line);
  border-radius: clamp(20px, 3vw, 28px);
  background: #ffffff;
  box-shadow: 0 22px 66px rgba(6, 31, 57, 0.12);
}

.rebuild-photo-carousel.hd-carousel .hd-carousel__viewport,
.rebuild-photo-carousel.hd-carousel .hd-carousel__track,
.rebuild-photo-carousel.hd-carousel .hd-carousel__slide {
  background: #edf6fb;
}

.rebuild-photo-carousel.hd-carousel .hd-carousel__viewport {
  aspect-ratio: 16 / 10;
  min-block-size: 0;
  max-block-size: 600px;
}

.rebuild-photo-carousel.hd-carousel .hd-carousel__slide::before,
.rebuild-photo-carousel.hd-carousel .hd-carousel__slide::after {
  content: none;
  display: none;
}

.rebuild-photo-carousel.hd-carousel img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(1.01) contrast(1.015);
}

.rebuild-photo-carousel.hd-carousel .hd-carousel__arrow {
  background: rgba(255, 255, 255, 0.92);
  color: var(--hd-brand-blue-ink);
}

.rebuild-photo-carousel.hd-carousel .hd-carousel__dots {
  inset-block-end: -2.05rem;
  border-color: var(--hd-brand-line);
  background: rgba(255, 255, 255, 0.94);
}

.rebuild-photo-carousel.hd-carousel .hd-carousel__dot {
  background: rgba(21, 82, 132, 0.18);
}

.rebuild-photo-carousel.hd-carousel .hd-carousel__dot[aria-current='true'] {
  background: var(--hd-brand-blue);
}

.rebuild-faq {
  background:
    linear-gradient(180deg, var(--hd-brand-air) 0%, #ffffff 100%);
}

.rebuild-faq details {
  border-color: var(--hd-brand-line);
  background: #ffffff;
}

.rebuild-faq__advisor {
  display: grid;
  gap: 0.55rem;
  margin-block-start: clamp(1rem, 2vw, 1.35rem);
  padding: clamp(1rem, 2vw, 1.2rem);
  border: 1px solid rgba(21, 82, 132, 0.14);
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0%, rgba(92, 174, 224, 0.12), transparent 12rem),
    #ffffff;
  box-shadow: 0 16px 44px rgba(6, 31, 57, 0.08);
}

.rebuild-faq__advisor span {
  color: var(--hd-brand-blue);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rebuild-faq__advisor strong {
  color: var(--hd-brand-blue-ink);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.2;
}

.rebuild-faq__advisor p {
  margin: 0;
  color: var(--hd-brand-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.rebuild-faq__advisor a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  min-block-size: 40px;
  padding-inline: 0.9rem;
  border-radius: 999px;
  background: var(--hd-brand-blue);
  color: #ffffff;
  font-weight: 850;
  text-decoration: none;
}

.rebuild-final__inner {
  grid-template-columns: minmax(0, 1fr);
  justify-items: stretch;
  text-align: left;
  gap: clamp(1.3rem, 3vw, 2.2rem);
  padding: clamp(1.3rem, 4vw, 3rem);
  background:
    radial-gradient(circle at 100% 0%, rgba(116, 190, 232, 0.20), transparent 20rem),
    linear-gradient(145deg, var(--hd-brand-blue) 0%, var(--hd-brand-blue-deep) 64%, #061a31 100%);
}

@media (min-width: 860px) {
  .rebuild-final__inner {
    grid-template-columns: minmax(0, 0.58fr) minmax(17rem, 0.42fr);
    align-items: center;
  }
}

.rebuild-final__copy {
  display: grid;
  gap: 0.8rem;
}

.rebuild-final__copy h2 {
  max-inline-size: 13ch;
}

.rebuild-final__copy p {
  max-inline-size: 54ch;
}

.rebuild-final__signals {
  display: grid;
  gap: 0.72rem;
}

.rebuild-final__signals div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "num title"
    "num text";
  column-gap: 0.8rem;
  row-gap: 0.15rem;
  align-items: start;
  padding: 0.92rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.rebuild-final__signals span {
  grid-area: num;
  display: grid;
  place-items: center;
  inline-size: 2.45rem;
  block-size: 2.45rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 900;
}

.rebuild-final__signals strong {
  grid-area: title;
  color: #ffffff;
  line-height: 1.12;
}

.rebuild-final__signals small {
  grid-area: text;
  color: rgba(255, 255, 255, 0.70);
  line-height: 1.42;
}

@media (min-width: 980px) {
  .rebuild-command__assurance ol {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .rebuild-command__assurance {
    grid-template-columns: minmax(16rem, 0.26fr) minmax(0, 0.74fr);
  }
}

@media (max-width: 760px) {
  .rebuild-hero {
    padding-block: calc(64px + 1.05rem) 1rem;
  }

  .rebuild-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(106px, 31vw);
    gap: 0.82rem;
    align-items: start;
  }

  .rebuild-hero h1 {
    max-inline-size: 10.2ch;
    font-size: clamp(1.95rem, 8.6vw, 2.45rem);
  }

  .rebuild-hero__lead {
    max-inline-size: 25ch;
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .rebuild-hero__signals,
  .rebuild-hero__note {
    display: none;
  }

  .rebuild-hero__actions {
    display: grid;
    max-inline-size: 13.5rem;
  }

  .rebuild-hero__actions .btn {
    inline-size: 100%;
    min-block-size: 42px;
    padding-inline: 0.85rem;
  }

  .rebuild-hero__media-card {
    margin-block-start: 1.1rem;
  }

  .rebuild-hero__media {
    aspect-ratio: 3 / 4.15;
    border-radius: 17px;
  }

  .hd-smart-strip--home {
    margin-block: -0.45rem 0;
  }

  .hd-smart-strip--home .hd-tool-card {
    min-block-size: 74px;
  }

  .rebuild-command,
  .rebuild-treatment,
  .rebuild-journey,
  .rebuild-photo-session,
  .rebuild-faq,
  .rebuild-final {
    padding-block: clamp(2.75rem, 11vw, 4.1rem);
  }

  .rebuild-command__intro h2,
  .rebuild-treatment__copy h2,
  .rebuild-journey__head h2,
  .rebuild-photo-session__head h2,
  .rebuild-faq h2 {
    max-inline-size: 12.5ch;
  }

  .rebuild-faq__advisor {
    border-radius: 18px;
  }

  .rebuild-command__routes a,
  .rebuild-command__routes a.is-primary,
  .rebuild-command__assurance li,
  .rebuild-treatment__featured,
  .rebuild-treatment__list a,
  .rebuild-journey__steps li,
  .rebuild-journey__location,
  .rebuild-faq details {
    border-radius: 18px;
  }

  .rebuild-command__assurance {
    padding: 1rem;
  }

  .rebuild-command__assurance ol {
    gap: 0.62rem;
  }

  .rebuild-command__assurance li,
  .rebuild-journey__steps li {
    padding: 0.88rem;
  }

  .rebuild-treatment__decision div {
    min-block-size: auto;
    padding: 0.82rem;
    border-radius: 16px;
  }

  .rebuild-photo-carousel.hd-carousel {
    padding: 0.4rem;
    border-radius: 18px;
  }

  .rebuild-photo-carousel.hd-carousel .hd-carousel__viewport {
    aspect-ratio: 1 / 1;
    border-radius: 14px;
  }

  .rebuild-final__inner {
    text-align: left;
  }

  .rebuild-final__actions a {
    flex: 1 1 100%;
  }

  .rebuild-final__signals div {
    border-radius: 16px;
  }
}
