/* =========================================================================
   SilentCare Foundation - Design System
   Single shared stylesheet for every page. See DESIGN-SPEC.md.
   Contents:
     01 Tokens            02 Base + typography     03 Layout utilities
     04 Buttons           05 Eyebrow + gold dash   06 Header + navigation
     07 Home hero         08 Stats band            09 Card grid
     10 Maroon CTA band   11 Trust bar             12 Footer
     13 Inner-page hero + breadcrumb               14 Legal prose
     15 FAQ accordion     16 Checklist             17 Quote cards
     18 Registration cards + chips                 19 Gallery tiles
     20 Avatar cards      21 Forms                 22 Split CTA + teasers
     23 Motion + reveal utilities                  24 Accessibility helpers
   ========================================================================= */

/* ---------- 01 Tokens ---------- */
:root {
  /* Color */
  --maroon: #8B1E2E;
  --maroon-dark: #6E1421;
  --maroon-deep: #571019;
  --gold: #D9A426;
  --gold-dark: #C4921D;
  --gold-soft: #E8C97A;
  --cream: #FBF6EC;
  --cream-deep: #F5EDDD;
  --white: #FFFFFF;
  --ink: #2B2523;
  --ink-soft: #6B6059;
  --line: #EADFCC;
  /* Type */
  --font-head: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Nunito Sans', 'Segoe UI', sans-serif;
  /* Layout */
  --container: 1180px;
  --header-h: 76px;
  --radius-card: 14px;
  --radius-btn: 8px;
  --shadow-card: 0 14px 30px rgba(43, 37, 35, 0.08);
  --shadow-header: 0 2px 14px rgba(43, 37, 35, 0.07);
  --shadow-dropdown: 0 12px 28px rgba(43, 37, 35, 0.14);
}

/* ---------- 02 Base + typography ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); line-height: 1.15; font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--maroon); }
a:hover { color: var(--maroon-dark); }

strong { font-weight: 700; }
.accent { color: var(--maroon); }

img, svg { vertical-align: middle; }

address { font-style: normal; }

/* Bare-list reset for component lists */
.nav-list, .dropdown, .footer-links, .footer-legal,
.checklist, .faq-list, .chip-row, .breadcrumb-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.muted { color: var(--ink-soft); }
.lead { font-size: 1.0625rem; color: var(--ink-soft); }

/* ---------- 03 Layout utilities ---------- */
.container {
  max-width: calc(var(--container) + 48px);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding: 88px 0; }
.section--white { background: var(--white); }
.section--cream { background: var(--cream); }
.section--cream-deep { background: var(--cream-deep); }
.section--maroon { background: var(--maroon); color: var(--white); }
.section--tight { padding: 56px 0; }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 52px;
}
.section-head h2 { margin: 14px 0 0; }
.section-head .gold-dash { margin: 20px auto 0; }
.section-head .section-lead { margin: 18px auto 0; color: var(--ink-soft); }

.section-head--left { text-align: left; margin-left: 0; }
.section-head--left .gold-dash { margin-left: 0; }
.section-head--left .section-lead { margin-left: 0; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split--top { align-items: start; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.center { text-align: center; }
.mt-lg { margin-top: 44px; }
.mt-md { margin-top: 28px; }

.icon { width: 24px; height: 24px; flex: none; }

/* ---------- 04 Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1;
  padding: 14px 26px;
  border-radius: var(--radius-btn);
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease,
              transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.btn .icon { width: 18px; height: 18px; }

.btn-primary { background: var(--maroon); color: var(--white); }
.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--maroon-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(110, 20, 33, 0.25);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--maroon);
  color: var(--maroon);
  padding: 12.5px 24.5px;
}
.btn-outline:hover,
.btn-outline:focus-visible { background: var(--maroon); color: var(--white); }

.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover,
.btn-gold:focus-visible {
  background: var(--gold-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(196, 146, 29, 0.3);
}

/* White-outline button for maroon bands */
.btn-outline-light {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  color: var(--white);
  padding: 12.5px 24.5px;
}
.btn-outline-light:hover,
.btn-outline-light:focus-visible { background: var(--white); color: var(--maroon); }

.btn-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

/* ---------- 05 Eyebrow + gold dash ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--maroon);
}
.eyebrow::before,
.eyebrow::after {
  content: '';
  width: 24px;
  height: 2px;
  border-radius: 1px;
  background: var(--gold);
}
.eyebrow--bare::before,
.eyebrow--bare::after { content: none; }

.gold-dash {
  display: block;
  width: 56px;
  height: 3px;
  border-radius: 2px;
  background: var(--gold);
  margin-top: 18px;
}

/* ---------- 06 Header + navigation ---------- */
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 300;
  background: var(--maroon);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 12px 20px;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; color: var(--white); }

/* Top NAP Bar */
.top-nap-bar {
  background: var(--maroon-dark);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.82rem;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.top-nap-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.top-nap-address {
  display: flex;
  align-items: center;
  gap: 8px;
}
.top-nap-address .icon {
  width: 14px;
  height: 14px;
  color: var(--gold);
  flex-shrink: 0;
}
.top-nap-contacts {
  display: flex;
  align-items: center;
  gap: 16px;
}
.top-nap-contacts a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}
.top-nap-contacts a:hover {
  color: var(--gold);
}
.top-nap-contacts .icon {
  width: 14px;
  height: 14px;
  color: var(--gold);
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .top-nap-bar {
    padding: 5px 0;
    font-size: 0.74rem;
  }
  .top-nap-inner {
    gap: 4px 10px;
  }
  .top-nap-contacts {
    gap: 12px;
  }
}
@media (max-width: 480px) {
  .top-nap-address {
    font-size: 0.71rem;
    line-height: 1.35;
  }
  .top-nap-contacts {
    font-size: 0.73rem;
    width: 100%;
    justify-content: space-between;
    padding-top: 2px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: var(--shadow-header);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: var(--header-h);
}

/* Brand lockup */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  flex: none;
}
.brand:hover { color: var(--ink); }
.brand-logo { width: 44px; height: 44px; flex: none; }
.brand-logo-img {
  height: 72px;
  width: auto;
  display: block;
  flex: none;
  margin-top: -10px;
  margin-bottom: -10px;
  margin-left: -6px;
  margin-right: -6px;
}
.footer-logo-img {
  height: 64px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.92;
  margin: 0;
}
@media (max-width: 959.98px) {
  .brand-logo-img {
    height: 48px;
    max-width: 135px;
    object-fit: contain;
    margin: 0;
  }
}
@media (max-width: 380px) {
  .brand-logo-img {
    height: 42px;
    max-width: 115px;
  }
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.brand-name .brand-care { color: var(--maroon); }
.brand-sub {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.55rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: #A8862F;
}
.brand-sub::before,
.brand-sub::after {
  content: '';
  width: 10px;
  height: 1.5px;
  border-radius: 1px;
  background: var(--gold);
}

/* Nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-item { position: relative; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 11px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  background: none;
  border: 0;
  cursor: pointer;
  position: relative;
  transition: color 0.2s ease;
}
.nav-link:hover { color: var(--maroon); }
.nav-link .chev { width: 12px; height: 12px; transition: transform 0.25s ease; }
.drop-trigger[aria-expanded="true"] .chev { transform: rotate(180deg); }

/* Active page */
.nav-link[aria-current="page"],
.nav-link.is-active { color: var(--maroon); }
.nav-link[aria-current="page"]::after,
.nav-link.is-active::after {
  content: '';
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 2px;
  height: 3px;
  border-radius: 2px;
  background: var(--maroon);
}

/* Dropdowns */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 232px;
  padding: 8px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow-dropdown);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 90;
}
.drop-trigger[aria-expanded="true"] + .dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.dropdown-link {
  display: block;
  padding: 10px 14px;
  border-radius: 6px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--ink);
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.dropdown-link:hover,
.dropdown-link:focus-visible,
.dropdown-link[aria-current="page"] {
  background: var(--cream);
  color: var(--maroon);
}

.nav-donate { flex: none; }

/* Mobile Header Right Group (Register Now button + Hamburger) */
.header-mobile-actions {
  display: none;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  margin-left: auto;
  background: none;
  border: 0;
  cursor: pointer;
  border-radius: 8px;
}
.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 1px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
body.nav-open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Desktop: open dropdowns on hover / keyboard focus */
@media (min-width: 960px) {
  .has-dropdown:hover > .dropdown,
  .has-dropdown:focus-within > .dropdown {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
}

/* Mobile navigation (<960px): slide-down panel with accordion submenus */
@media (max-width: 959.98px) {
  :root { --header-h: 62px; }

  /* Header mobile right side actions */
  .header-mobile-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    flex-shrink: 0;
  }
  .btn-mobile-reg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--teal, #0f766e);
    color: var(--white, #ffffff) !important;
    font-family: var(--font-head);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    padding: 7px 12px;
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
    width: auto !important;
    flex: none !important;
    box-shadow: 0 2px 8px rgba(15, 118, 110, 0.28);
    transition: background-color 0.2s ease, transform 0.15s ease;
  }
  .btn-mobile-reg:hover,
  .btn-mobile-reg:active {
    background: #115e59;
    color: #ffffff !important;
    transform: translateY(-1px);
  }
  .btn-mobile-reg .icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
  }
  .nav-toggle {
    display: flex;
    flex: none;
    margin-left: 0;
    width: 40px;
    height: 40px;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid var(--line);
    background: var(--cream);
  }

  /* Fixed full-height mobile drawer */
  .site-nav {
    position: fixed;
    top: var(--header-actual-h, 118px);
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(100dvh - var(--header-actual-h, 118px));
    max-height: calc(100dvh - var(--header-actual-h, 118px));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 10px 20px 48px;
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
    z-index: 99;
  }
  body.nav-open {
    overflow: hidden;
  }
  body.nav-open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav-item {
    border-bottom: 1px solid var(--line);
  }
  .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 14px 4px;
    font-size: 0.94rem;
  }
  .nav-link[aria-current="page"]::after,
  .nav-link.is-active::after {
    left: 4px;
    right: auto;
    width: 28px;
    bottom: 8px;
  }
  .dropdown {
    position: static;
    min-width: 0;
    padding: 0 0 10px 16px;
    box-shadow: none;
    background: transparent;
    border-radius: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    transition: none;
  }
  .drop-trigger[aria-expanded="true"] + .dropdown {
    display: block;
  }
  .dropdown-link {
    padding: 10px 8px;
  }

  /* Nav actions inside drawer */
  .nav-actions {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 12px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
  }
  .nav-actions .btn {
    width: 100% !important;
    justify-content: center;
    text-align: center;
    padding: 13px 20px;
    font-size: 0.95rem;
    font-weight: 700;
  }
  .nav-donate {
    margin-top: 0;
    width: 100% !important;
  }
}

@media (max-width: 375px) {
  .header-mobile-actions {
    gap: 6px;
  }
  .btn-mobile-reg {
    padding: 6px 9px;
    font-size: 0.74rem;
    gap: 4px;
  }
  .btn-mobile-reg .icon {
    width: 13px;
    height: 13px;
  }
  .nav-toggle {
    width: 36px;
    height: 36px;
    padding: 7px;
  }
  .nav-toggle-bar {
    width: 20px;
  }
}

/* ---------- 07 Home hero ---------- */
.hero {
  background: var(--cream);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding: 64px 0 24px;
}
.hero-title { margin-bottom: 0; }
.hero-title .hero-line { display: block; }
.hero-lead {
  max-width: 560px;
  margin-top: 26px;
  color: var(--ink-soft);
}
.hero .btn-row { margin-top: 34px; }
.hero-art { max-width: 520px; margin-inline: auto; }
.hero-art svg { width: 100%; height: auto; }
.hero-camp-img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(43, 37, 35, 0.14);
  border: 1px solid var(--line);
  display: block;
}

/* Tagline moment */
.tagline-moment {
  max-width: 780px;
  margin: 36px auto 0;
  padding: 0 24px;
  text-align: center;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.5;
  color: var(--ink);
}
.tagline-moment .accent { font-weight: 700; }

/* Gold-to-maroon swoosh divider under the hero */
.hero-swoosh { display: block; width: 100%; height: 64px; margin-top: 28px; }

/* ---------- 08 Stats band (maroon) ---------- */
.stats-band {
  background: var(--maroon);
  color: var(--white);
  padding: 52px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 8px 24px;
}
.stat:not(:first-child) { border-left: 1px solid rgba(255, 255, 255, 0.2); }
.stat-icon {
  width: 44px;
  height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  color: var(--white);
}
.stat-icon .icon { width: 22px; height: 22px; }
.stat-body { display: flex; flex-direction: column; }
.stat-number {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.9rem;
  line-height: 1.15;
  color: var(--white);
}
.stat-label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--white);
}
.stat-sub {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 880px) {
  .stats-grid { grid-template-columns: 1fr 1fr; row-gap: 30px; }
  .stat { justify-content: flex-start; }
  .stat:not(:first-child) { border-left: 0; }
  .stat:nth-child(even) { border-left: 1px solid rgba(255, 255, 255, 0.2); }
}

/* ---------- 09 Card grid ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 32px 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.card-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--maroon);
  color: var(--white);
  margin-bottom: 20px;
}
.card-icon .icon { width: 26px; height: 26px; }
.card-title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink);
  margin: 0 0 14px;
}
.card-title::after {
  content: '';
  display: block;
  width: 32px;
  height: 3px;
  border-radius: 2px;
  background: var(--gold);
  margin-top: 10px;
}
.card-text {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin: 0;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--maroon);
  text-decoration: none;
}
.card-link:hover { color: var(--maroon-dark); text-decoration: underline; }
.card-link .icon { width: 16px; height: 16px; }

/* Centered variant (gallery-ish informational cards) */
.card--center { text-align: center; }
.card--center .card-icon { margin-inline: auto; }
.card--center .card-title::after { margin-inline: auto; }

/* ---------- 10 Maroon CTA band ---------- */
.cta-band {
  position: relative;
  background: var(--maroon);
  color: var(--white);
  padding: 60px 0;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 120' width='220' height='120'%3E%3Cpath d='M0 30c18-16 37-16 55 0s37 16 55 0 37-16 55 0 37 16 55 0' fill='none' stroke='%23FFFFFF' stroke-opacity='0.08' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M0 90c18-16 37-16 55 0s37 16 55 0 37-16 55 0 37 16 55 0' fill='none' stroke='%23FFFFFF' stroke-opacity='0.08' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: 220px 120px;
  pointer-events: none;
}
.cta-band-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 36px;
}
.cta-band-icon {
  flex: none;
  width: 78px;
  height: 78px;
  color: var(--white);
}
.cta-band-icon svg { width: 100%; height: 100%; }
.cta-band-text { flex: 1; }
.cta-band-title {
  color: var(--white);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  margin: 0 0 8px;
}
.cta-band-sub {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}
.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  flex: none;
}

@media (max-width: 880px) {
  .cta-band-inner { flex-direction: column; text-align: center; gap: 24px; }
  .cta-band-actions { justify-content: center; }
}

/* ---------- 11 Trust bar ---------- */
.trust-bar {
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 38px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 22px;
}
.trust-item:not(:first-child) { border-left: 1px solid var(--line); }
.trust-icon {
  width: 40px;
  height: 40px;
  flex: none;
  color: var(--maroon);
}
.trust-icon svg, .trust-icon.icon { width: 40px; height: 40px; }
.trust-title {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.3;
}
.trust-sub {
  display: block;
  font-size: 0.83rem;
  color: var(--ink-soft);
  line-height: 1.4;
}

@media (max-width: 880px) {
  .trust-grid { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .trust-item:not(:first-child) { border-left: 0; }
  .trust-item:nth-child(even) { border-left: 1px solid var(--line); }
}

/* ---------- 12 Footer ---------- */
.site-footer {
  background: var(--maroon-dark);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.35fr;
  gap: 44px;
  padding: 64px 0 52px;
}
.footer-brand .brand-name { color: var(--white); }
.footer-brand .brand-name .brand-care { color: var(--gold); }
.footer-brand .brand-sub { color: var(--gold-soft); }
.footer-mission {
  margin: 18px 0 22px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 300px;
}
.footer-social { display: flex; gap: 12px; }
.social-link {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  color: var(--white);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.social-link:hover,
.social-link:focus-visible { color: var(--gold); border-color: var(--gold); }
.social-link .icon { width: 18px; height: 18px; }

.footer-heading {
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  margin: 6px 0 20px;
}
.footer-heading::after {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  border-radius: 1px;
  background: var(--gold);
  margin-top: 10px;
}
.footer-links { display: grid; gap: 10px; }
.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-links a:hover,
.footer-links a:focus-visible { color: var(--gold); }

.footer-contact-line {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}
.footer-contact-line .icon { color: var(--gold); margin-top: 4px; }
.footer-contact-line a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.footer-contact-line a:hover { color: var(--gold); }
.footer-opd {
  margin-top: 18px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
}
.footer-opd strong { color: var(--white); }

.footer-bottom {
  background: var(--maroon-deep);
  padding: 18px 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}
.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
}
.footer-bottom p { margin: 0; }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
}
.footer-legal a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}
.footer-legal a:hover,
.footer-legal a:focus-visible { color: var(--gold); }
.footer-legal li:not(:last-child)::after {
  content: '\00B7';
  margin-left: 10px;
  color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 34px; padding: 48px 0 40px; }
  .footer-bottom-inner { justify-content: center; text-align: center; }
}

/* ---------- 13 Inner-page hero + breadcrumb ---------- */
.page-hero {
  position: relative;
  background: var(--cream-deep);
  border-bottom: 1px solid var(--line);
  padding: 58px 0 50px;
  min-height: 220px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.page-hero::after {
  /* faint giant ear line-art watermark, right side */
  content: '';
  position: absolute;
  right: -70px;
  top: 50%;
  transform: translateY(-50%);
  width: 430px;
  height: 400px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 240'%3E%3Cpath d='M176 22 C100 8 40 54 40 122 C40 182 82 216 124 222' fill='none' stroke='%238B1E2E' stroke-width='9' stroke-linecap='round'/%3E%3Cpath d='M166 48 C110 38 68 74 68 124 C68 168 96 194 126 198' fill='none' stroke='%238B1E2E' stroke-width='8' stroke-linecap='round'/%3E%3Cpath d='M186 102 C194 112 194 128 186 138' fill='none' stroke='%23D9A426' stroke-width='8' stroke-linecap='round'/%3E%3Cpath d='M204 92 C215 106 215 134 204 148' fill='none' stroke='%23D9A426' stroke-width='8' stroke-linecap='round'/%3E%3Cpath d='M222 82 C236 100 236 140 222 158' fill='none' stroke='%23D9A426' stroke-width='8' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;
  opacity: 0.06;
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { margin: 16px 0 0; }
.page-hero-intro {
  max-width: 640px;
  margin-top: 20px;
  color: var(--ink-soft);
}

.breadcrumb {
  margin-top: 24px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.85rem;
}
.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.breadcrumb a {
  color: var(--ink-soft);
  text-decoration: none;
}
.breadcrumb a:hover,
.breadcrumb a:focus-visible { color: var(--maroon); }
.breadcrumb .breadcrumb-sep { color: var(--gold); }
.breadcrumb [aria-current="page"] { color: var(--maroon); }

/* ---------- 14 Legal prose ---------- */
.legal-prose { max-width: 820px; }
.legal-prose h2 {
  font-size: 1.35rem;
  margin: 44px 0 14px;
}
.legal-prose h2:first-child { margin-top: 0; }
.legal-prose h3 { margin: 28px 0 10px; }
.legal-prose p, .legal-prose li { color: var(--ink-soft); }
.legal-prose ul, .legal-prose ol { margin: 0 0 1.2em; padding-left: 24px; }
.legal-prose li { margin-bottom: 6px; }
.legal-prose a { color: var(--maroon); }
.legal-updated {
  display: inline-block;
  margin-bottom: 28px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  font-family: var(--font-head);
  font-weight: 500;
}

/* ---------- 15 FAQ accordion ---------- */
.faq-list {
  max-width: 820px;
  margin-inline: auto;
  display: grid;
  gap: 14px;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}
.faq-item:has(.faq-question[aria-expanded="true"]) { box-shadow: var(--shadow-card); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
}
.faq-question:hover { color: var(--maroon); }
.faq-icon {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--maroon);
  transition: transform 0.3s ease;
}
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(180deg); }
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}
.faq-question[aria-expanded="true"] + .faq-answer { grid-template-rows: 1fr; }
.faq-answer-inner { overflow: hidden; }
.faq-answer-inner p {
  padding: 0 22px 20px;
  margin: 0;
  color: var(--ink-soft);
}

/* ---------- 16 Checklist (maroon circled check) ---------- */
.checklist { display: grid; gap: 13px; }
.checklist li {
  position: relative;
  padding-left: 36px;
  color: var(--ink-soft);
}
.checklist li strong { color: var(--ink); }
.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 22px;
  height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10.4' fill='none' stroke='%238B1E2E' stroke-width='1.8'/%3E%3Cpath d='m7.6 12.4 3 3 5.6-6.2' fill='none' stroke='%238B1E2E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.checklist--cols {
  grid-template-columns: 1fr 1fr;
  column-gap: 32px;
}
@media (max-width: 720px) {
  .checklist--cols { grid-template-columns: 1fr; }
}

/* ---------- 17 Quote cards ---------- */
.quote-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 30px 28px;
}
.quote-card::before {
  content: '\201C';
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 3.2rem;
  line-height: 0.7;
  color: var(--gold);
  margin-bottom: 18px;
}
.quote-text {
  font-style: italic;
  color: var(--ink-soft);
  margin: 0 0 18px;
}
.quote-name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  display: block;
}
.quote-role {
  display: block;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* ---------- 18 Registration cards + text chips ---------- */
.reg-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--maroon);
  border-radius: 12px;
  padding: 24px 24px 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.reg-icon {
  flex: none;
  width: 36px;
  height: 36px;
  color: var(--maroon);
  margin-top: 2px;
}
.reg-icon svg { width: 36px; height: 36px; }
.reg-title {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 4px;
}
.reg-sub {
  display: block;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-block;
  padding: 7px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* ---------- 19 Placeholder gallery tiles ---------- */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.tile {
  background: var(--cream-deep);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 20px;
  text-align: center;
  color: var(--maroon);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.tile .icon, .tile svg { width: 44px; height: 44px; }
.tile-caption {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
}
.tile-sub { font-size: 0.85rem; color: var(--ink-soft); }

/* ---------- 20 Avatar placeholder cards (governance) ---------- */
.avatar-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 32px 24px;
  text-align: center;
}
.avatar-initials {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--maroon);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
}
.avatar-name {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--ink);
}
.avatar-role {
  display: block;
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-top: 4px;
}

/* ---------- 21 Forms (contact page) ---------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 36px 32px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-field--full { grid-column: 1 / -1; }
.form-field label {
  display: block;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--ink);
  margin-bottom: 8px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--maroon);
  box-shadow: 0 0 0 3px rgba(139, 30, 46, 0.12);
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: 0.85rem; color: var(--ink-soft); margin-top: 14px; }
@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
}

/* Info card (address / OPD blocks) */
.info-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 28px 26px;
}
.icon-line {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
}
.icon-line:last-child { margin-bottom: 0; }
.icon-line .icon { color: var(--maroon); margin-top: 4px; }
.icon-line a { text-decoration: none; }
.icon-line a:hover { text-decoration: underline; }

/* ---------- 22 Split CTA + teaser panels ---------- */
.split-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.split-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 44px 40px;
}
.split-panel h2, .split-panel h3 { margin-top: 0; }
.split-panel .btn { margin-top: 22px; }
.split-panel--maroon {
  background: var(--maroon);
  border: 0;
  color: rgba(255, 255, 255, 0.85);
}
.split-panel--maroon h2,
.split-panel--maroon h3 { color: var(--white); }
.split-panel--maroon p { color: rgba(255, 255, 255, 0.85); }
.split-panel--maroon .gold-dash { background: var(--gold); }

.teaser-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.teaser-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 38px 34px;
}
.teaser-card h2, .teaser-card h3 { margin-top: 14px; }
.teaser-card .chip-row { margin: 20px 0 4px; }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--maroon);
  text-decoration: none;
}
.link-more:hover,
.link-more:focus-visible { color: var(--maroon-dark); text-decoration: underline; }
.link-more .icon { width: 16px; height: 16px; }

@media (max-width: 880px) {
  .split-cta, .teaser-grid { grid-template-columns: 1fr; }
}

/* ---------- 23 Motion + reveal utilities ---------- */
/* Reveal-on-scroll: only hides content when JS is running (html.js) */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s ease-out, transform 0.45s ease-out;
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-delay-1 { transition-delay: 0.08s; }
.js .reveal-delay-2 { transition-delay: 0.16s; }
.js .reveal-delay-3 { transition-delay: 0.24s; }

/* Orchestrated hero load: staggered fade-up lines */
@keyframes scf-fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.js .hero-fade {
  opacity: 0;
  animation: scf-fade-up 0.6s ease-out forwards;
}
.js .hero-fade--2 { animation-delay: 0.08s; }
.js .hero-fade--3 { animation-delay: 0.16s; }
.js .hero-fade--4 { animation-delay: 0.24s; }
.js .hero-fade--5 { animation-delay: 0.32s; }

/* Gold sound-wave arcs draw in once (paths carry pathLength="100") */
@keyframes scf-draw-wave {
  to { stroke-dashoffset: 0; }
}
.js .wave-draw {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: scf-draw-wave 1.1s ease-out 0.55s forwards;
}
.js .wave-draw--2 { animation-delay: 0.75s; }
.js .wave-draw--3 { animation-delay: 0.95s; }

/* Reduced motion: everything visible, nothing animates */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .js .hero-fade { opacity: 1; animation: none; }
  .js .wave-draw { stroke-dasharray: none; stroke-dashoffset: 0; animation: none; }
}

/* ---------- 24 Accessibility + responsive polish ---------- */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

main { display: block; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; padding: 44px 0 8px; gap: 36px; }
  .hero-art { max-width: 420px; }
}

@media (max-width: 720px) {
  .container { padding-inline: 16px; }
  .section { padding: 56px 0; }
  .section--tight { padding: 44px 0; }
  .section-head { margin-bottom: 38px; }
  .footer-grid { padding: 48px 0 40px; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { flex-direction: column; text-align: center; gap: 10px; padding: 8px 10px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item:nth-child(even) { border-left: 0; }
  .trust-item { justify-content: flex-start; padding: 8px 4px; }
  .btn:not(.btn-mobile-reg) { width: 100%; }
  .btn-row .btn { width: auto; flex: 1 1 auto; }
}

/* =========================================================================
   23. Free Hearing Aid Registration & Landing Page Popup Styles
   ========================================================================= */

:root {
  --teal: #0f766e;
  --teal-hover: #115e59;
  --teal-light: #f0fdfa;
  --teal-border: #99f6e4;
  --amber-bg: #fef3c7;
  --amber-border: #f59e0b;
  --amber-text: #92400e;
}

/* Button & Eyebrow Teals */
.btn-teal {
  background: var(--teal);
  color: var(--white);
  border: 1px solid var(--teal);
  font-weight: 600;
}
.btn-teal:hover {
  background: var(--teal-hover);
  border-color: var(--teal-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(15, 118, 110, 0.35);
}
.eyebrow--teal {
  color: var(--teal);
  background: var(--teal-light);
  border: 1px solid var(--teal-border);
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.accent-teal {
  color: var(--teal);
}

/* Nav registration button */
.nav-reg-btn {
  padding: 8px 16px;
  font-size: 0.88rem;
  border-radius: 6px;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Registration Hero */
.reg-hero {
  padding: 56px 0 40px;
  background: linear-gradient(180deg, #FDFBF7 0%, #FFFFFF 100%);
  border-bottom: 1px solid var(--line);
}
.reg-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}
.reg-hero-title {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.reg-hero-lead {
  font-size: 1.12rem;
  color: var(--ink-soft);
  margin-bottom: 24px;
  line-height: 1.5;
}
.reg-hero-disclaimer {
  display: flex;
  gap: 14px;
  background: var(--amber-bg);
  border: 1.5px solid var(--amber-border);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 28px;
}
.reg-hero-disclaimer-icon {
  flex-shrink: 0;
  color: #b45309;
}
.reg-hero-disclaimer-icon .icon {
  width: 24px;
  height: 24px;
}
.reg-hero-disclaimer-text strong {
  display: block;
  font-size: 0.88rem;
  color: #78350f;
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}
.reg-hero-disclaimer-text p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--amber-text);
}
.reg-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Hero Media Frame */
.reg-hero-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(43, 37, 35, 0.12);
  border: 4px solid var(--white);
}
.reg-hero-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
.reg-hero-badge-top {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--teal);
}
.reg-badge-script {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--teal);
}
.reg-hero-badge-top .icon {
  width: 15px;
  height: 15px;
  color: #e11d48;
}
.reg-hero-badge-bottom {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: var(--teal);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.86rem;
  box-shadow: 0 4px 14px rgba(15, 118, 110, 0.4);
}

/* 4 Pillars Ribbon */
.reg-pillars-ribbon {
  background: #0f3d3e;
  color: var(--white);
  padding: 14px 0;
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
}
.reg-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: center;
}
.reg-pillar-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}
.reg-pillar-icon {
  color: var(--gold);
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.reg-pillar-icon .icon {
  width: 18px;
  height: 18px;
}

/* 3-Step Process Section */
.reg-steps-section {
  padding: 56px 0;
}
.reg-steps-grid {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 16px;
  margin-top: 36px;
}
.reg-step-card {
  flex: 1;
  background: var(--cream);
  border: 1.5px solid var(--line);
  border-radius: 16px;
  padding: 24px 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.reg-step-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
  border-color: var(--teal);
}
.reg-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.reg-step-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  flex-shrink: 0;
}
.reg-step-icon .icon {
  width: 22px;
  height: 22px;
}
.reg-step-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.reg-step-content p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.45;
}
.reg-step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.reg-step-arrow .icon {
  width: 24px;
  height: 24px;
}

/* Eligibility & Terms 3 Cards */
.reg-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.reg-info-card {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 16px;
  padding: 24px 22px;
  box-shadow: 0 4px 16px rgba(43, 37, 35, 0.04);
  display: flex;
  flex-direction: column;
}
.reg-info-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.reg-info-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--teal-light);
  border: 1px solid var(--teal-border);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.reg-info-card-icon .icon {
  width: 20px;
  height: 20px;
}
.reg-info-card-icon--alert {
  background: #fef2f2;
  border-color: #fecaca;
  color: #dc2626;
}
.reg-info-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}
.reg-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.reg-check-list li {
  display: flex;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--ink);
  line-height: 1.45;
}
.check-icon {
  width: 18px;
  height: 18px;
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 2px;
}
.reg-docs-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.reg-doc-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.reg-doc-badge {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.reg-doc-badge .icon {
  width: 17px;
  height: 17px;
}
.reg-doc-info strong {
  display: block;
  font-size: 0.92rem;
  color: var(--ink);
}
.reg-doc-info span {
  display: block;
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-top: 2px;
}
.reg-doc-notice {
  margin-top: auto;
  padding-top: 14px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--teal);
  border-top: 1px dashed var(--line);
}
.reg-terms-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.reg-terms-list li {
  display: flex;
  gap: 10px;
  font-size: 0.87rem;
  color: var(--ink);
  line-height: 1.45;
}
.dot-icon {
  width: 10px;
  height: 10px;
  color: #d97706;
  flex-shrink: 0;
  margin-top: 6px;
}

/* 2-Column Main Registration Layout */
.reg-form-section {
  padding: 60px 0 80px;
}
.reg-layout-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 36px;
  align-items: start;
}
.reg-form-card {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 18px;
  padding: 32px 30px;
  box-shadow: 0 10px 30px rgba(43, 37, 35, 0.06);
}
.reg-form-header {
  margin-bottom: 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.reg-form-header-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--teal);
}
.reg-form-header-title .icon {
  width: 24px;
  height: 24px;
}
.reg-form-header-title h2 {
  font-size: 1.45rem;
  font-weight: 700;
  margin: 0;
  color: var(--ink);
}
.reg-form-header-sub {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin: 4px 0 0;
}
.form-row-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-row-grid--3 {
  grid-template-columns: 1.2fr 0.8fr 1fr;
}
.reg-field {
  margin-bottom: 18px;
}
.reg-field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.reg-field label .req {
  color: #dc2626;
  font-weight: 700;
}
.reg-field input,
.reg-field select,
.reg-field textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.reg-field input:focus,
.reg-field select:focus,
.reg-field textarea:focus {
  border-color: var(--teal);
  outline: none;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}
.reg-docs-upload-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}
.reg-upload-box {
  background: #f8fafc;
  border: 1.5px dashed var(--line);
  border-radius: 10px;
  padding: 12px 10px;
  text-align: center;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.reg-upload-box:hover {
  border-color: var(--teal);
  background: var(--teal-light);
}
.reg-upload-label {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.reg-upload-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink);
}
.reg-upload-dropzone {
  position: relative;
  overflow: hidden;
}
.reg-file-input {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.reg-upload-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 0;
}
.reg-upload-visual .upload-icon {
  width: 20px;
  height: 20px;
}
.reg-radio-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  display: block;
}
.reg-radio-group {
  display: flex;
  gap: 20px;
}
.reg-radio-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  color: var(--ink);
  cursor: pointer;
}
.reg-declaration-field {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  margin: 20px 0;
}
.reg-checkbox-label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.86rem;
  color: var(--ink);
  line-height: 1.45;
  cursor: pointer;
}
.reg-checkbox-label input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--teal);
  flex-shrink: 0;
}
.btn-submit-registration {
  width: 100%;
  padding: 14px;
  font-size: 1.05rem;
  border-radius: 8px;
}
.reg-privacy-guarantee {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  font-size: 0.78rem;
  color: var(--ink-soft);
  line-height: 1.4;
}
.lock-icon {
  width: 16px;
  height: 16px;
  color: #64748b;
  flex-shrink: 0;
}

/* Right Column: Sidebar */
.reg-sidebar-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.reg-side-card {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 16px;
  padding: 24px 22px;
  box-shadow: 0 6px 20px rgba(43, 37, 35, 0.04);
}
.reg-side-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--teal);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.reg-side-card-header .icon {
  width: 22px;
  height: 22px;
}
.reg-side-card-header h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}
.reg-timeline-list {
  position: relative;
  padding-left: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.reg-timeline-list::before {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 10px;
  width: 2px;
  background: #cbd5e1;
}
.reg-timeline-node {
  position: relative;
}
.reg-timeline-node > div[class*="reg-timeline-icon"] {
  position: absolute;
  left: -28px;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}
.reg-timeline-node > div[class*="reg-timeline-icon"] .icon {
  width: 12px;
  height: 12px;
}
.reg-timeline-body strong {
  display: block;
  font-size: 0.92rem;
  color: var(--ink);
}
.reg-timeline-body p {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin: 2px 0 0;
  line-height: 1.4;
}
.reg-side-card-text {
  font-size: 0.88rem;
  color: var(--ink);
  line-height: 1.5;
  margin: 0;
}
.reg-side-card--quote {
  background: linear-gradient(180deg, #F0FDFA 0%, #FFFFFF 100%);
  border-color: var(--teal-border);
  text-align: center;
}
.reg-quote-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 16px;
}
.heart-teal {
  width: 18px;
  height: 18px;
  color: var(--teal);
}
.reg-product-image-wrap {
  margin: 0 auto 16px;
  max-width: 220px;
}
.reg-product-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}
.reg-quote-footer {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin: 0;
}

/* Landing Page Popup Modal */
.reg-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(5px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.reg-popup-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}
.reg-popup-card {
  background: var(--white);
  border-radius: 20px;
  width: 100%;
  max-width: 540px;
  max-height: calc(100dvh - 36px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
  position: relative;
  border: 1px solid var(--line);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.reg-popup-overlay.is-active .reg-popup-card {
  transform: translateY(0) scale(1);
}
.reg-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  font-size: 1.4rem;
  line-height: 1;
  color: var(--ink-soft);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s ease, color 0.2s ease;
}
.reg-popup-close:hover {
  background: var(--maroon);
  color: var(--white);
}
.reg-popup-header {
  padding: 24px 26px 14px;
}
.reg-popup-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--teal-light);
  border: 1px solid var(--teal-border);
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 999px;
  margin-bottom: 8px;
}
.reg-popup-title {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  margin: 0;
}
.reg-popup-body {
  padding: 0 26px 20px;
}
.reg-popup-media {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 14px;
  max-height: 200px;
}
.reg-popup-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.reg-popup-img-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(15, 118, 110, 0.9);
  color: var(--white);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
}
.reg-popup-text {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0 0 12px;
}
.reg-popup-notice {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: #fef3c7;
  border: 1px solid #fcd34d;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
  color: #92400e;
  line-height: 1.4;
}
.reg-popup-notice .icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}
.reg-popup-actions {
  display: flex;
  gap: 12px;
  padding: 16px 26px 22px;
  background: #f8fafc;
  border-top: 1px solid var(--line);
}
.reg-popup-btn {
  flex: 1.5;
  padding: 12px 18px;
}
.reg-popup-dismiss {
  flex: 1;
  padding: 12px 14px;
}

/* Success Modal */
.reg-popup-card--success {
  text-align: center;
  padding: 36px 30px;
}
.reg-success-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.reg-success-icon .icon {
  width: 32px;
  height: 32px;
}
.reg-success-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.reg-success-desc {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-bottom: 20px;
}
.reg-success-details {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 24px;
}
.reg-app-id {
  font-size: 1.05rem;
  color: var(--teal);
  margin-bottom: 6px;
}
.reg-next-info {
  font-size: 0.84rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.45;
}

/* Mobile Responsiveness for Registration */
@media (max-width: 960px) {
  .reg-hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .reg-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .reg-steps-grid {
    flex-direction: column;
  }
  .reg-step-arrow {
    transform: rotate(90deg);
    padding: 6px 0;
  }
  .reg-info-grid {
    grid-template-columns: 1fr;
  }
  .reg-layout-grid {
    grid-template-columns: 1fr;
  }
  .reg-docs-upload-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .reg-pillars-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .reg-pillar-item {
    justify-content: flex-start;
  }
  .form-row-grid,
  .form-row-grid--3 {
    grid-template-columns: 1fr;
  }
  .reg-hero-disclaimer {
    padding: 12px 14px;
    gap: 10px;
  }
  .reg-hero-actions .btn {
    width: 100% !important;
  }
  .reg-popup-header {
    padding: 18px 18px 10px;
  }
  .reg-popup-title {
    font-size: 1.2rem;
  }
  .reg-popup-body {
    padding: 0 18px 14px;
  }
  .reg-popup-actions {
    flex-direction: column;
    padding: 12px 18px 18px;
    gap: 8px;
  }
  .reg-popup-actions .btn {
    width: 100% !important;
  }
}
