/* ============================================
   NATIONAL POWER ALLIANCE — DESIGN TOKENS + STYLES
   Brand: Navy (dominant) / Gold (dominant) / Pink (<=5% accent only)
   ============================================ */

:root {
  /* Type Scale */
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* BRAND COLORS */
  --navy:       #1C2B4A;
  --navy-light: #243556;
  --navy-mid:   #2E4168;
  --gold:       #A8842C;
  --gold-light: #C9A84E;
  --gold-pale:  #F5ECD6;
  /* TRUE PINK — reserved for <=5% tiny accents only (dot indicators, micro icons) */
  --pink-accent: #D76388;
  --pink-accent-soft: rgba(215, 99, 136, 0.14);
  /* PINK DEMOTION: the legacy --pink tokens now resolve to GOLD so all
     large/structural former-pink usages render as gold automatically. */
  --pink:       var(--gold);
  --pink-hover: var(--gold-light);
  --pink-glow:  rgba(168, 132, 44, 0.3);

  /* Semantic Mapping */
  --color-bg:           var(--navy);
  --color-bg-alt:       var(--gold-pale);
  --color-surface:      var(--navy-light);
  --color-surface-2:    var(--navy-mid);
  --color-text:         #F0EDE8;
  --color-text-muted:   rgba(240, 237, 232, 0.6);
  --color-text-faint:   rgba(240, 237, 232, 0.35);
  --color-text-dark:    var(--navy);
  --color-text-dark-muted: rgba(28, 43, 74, 0.65);
  --color-accent:       var(--gold);
  --color-accent-hover: var(--gold-light);
  --color-divider:      rgba(240, 237, 232, 0.1);

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.25rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.15);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.2);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.3);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;

  /* Fonts */
  --font-display: 'Cabinet Grotesk', 'Helvetica Neue', sans-serif;
  --font-body: 'Satoshi', 'Inter', sans-serif;
}

/* ============================================
   GLOBAL LAYOUT
   ============================================ */

html, body {
  overflow-x: hidden;
}

.container {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.container--narrow {
  max-width: var(--content-default);
}

/* ============================================
   NAVIGATION
   ============================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-4) 0;
  background: rgba(28, 43, 74, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-divider);
  transition: transform 0.3s var(--ease-out), background 0.3s var(--ease-out);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-text);
  /* audit fix: ensure 44px min touch height */
  min-height: 44px;
  padding: 4px 0;
}

.nav__logo svg {
  width: 40px;
  height: 40px;
}

.nav__logo-text {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.nav__logo-text span {
  display: block;
  color: var(--gold);
  font-weight: 500;
  font-size: 0.85em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  list-style: none;
}

.nav__links a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 500;
  transition: color var(--transition-interactive);
}

.nav__links a:hover {
  color: var(--color-text);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-5);
  background: var(--pink);
  color: #fff !important;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  transition: background var(--transition-interactive), transform var(--transition-interactive);
}

.nav__cta:hover {
  background: var(--pink-hover);
  transform: translateY(-1px);
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  /* audit fix: 44x44 min touch target */
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
}

@media (max-width: 768px) {
  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: var(--space-6);
    background: rgba(28, 43, 74, 0.97);
    backdrop-filter: blur(20px);
    gap: var(--space-4);
    border-bottom: 1px solid var(--color-divider);
  }

  .nav__links.active {
    display: flex;
  }

  .nav__hamburger {
    display: flex;
  }

  .nav__hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(5px);
  }
  .nav__hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .nav__hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-5px);
  }
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(95deg, rgba(20,31,54,0.92) 0%, rgba(20,31,54,0.78) 40%, rgba(20,31,54,0.45) 70%, rgba(20,31,54,0.3) 100%),
    linear-gradient(180deg, rgba(20,31,54,0.2) 0%, rgba(20,31,54,0.5) 100%);
}

/* Mobile: keep the photo as atmosphere, not a competing subject behind body copy. */
@media (max-width: 768px) {
  .hero__bg-image img {
    object-position: 70% bottom !important;
    opacity: 0.42 !important;
  }
  .hero__overlay {
    background:
      linear-gradient(180deg,
        rgba(20,31,54,0.88) 0%,
        rgba(20,31,54,0.82) 55%,
        rgba(20,31,54,0.92) 100%);
  }

  /* Premium legibility pass for hero typography on mobile.
     Each text element renders its own quiet glass pane via backdrop-filter,
     softening whatever sits beneath without changing image positioning,
     z-index, or markup. A navy-tinted text-shadow keeps glyph edges crisp.
     Higher-specificity selector (.hero .hero__headline) plus !important
     guards against later unconditional rules in this file or in npa.css. */
  .hero .hero__headline,
  .hero .hero__sub {
    -webkit-backdrop-filter: blur(14px) saturate(115%) !important;
    backdrop-filter: blur(14px) saturate(115%) !important;
    background: linear-gradient(180deg, rgba(20,31,54,0.18), rgba(20,31,54,0.10)) !important;
    border-radius: 14px !important;
    padding: 14px 16px !important;
    box-shadow:
      inset 0 0 0 1px rgba(255,255,255,0.04),
      0 1px 0 rgba(255,255,255,0.03) !important;
    width: fit-content !important;
    max-width: 100% !important;
  }

  .hero .hero__headline {
    text-shadow:
      0 1px 0 rgba(10,16,32,0.45),
      0 2px 14px rgba(10,16,32,0.55),
      0 0 1px rgba(28,43,74,0.6) !important;
  }

  .hero .hero__sub {
    text-shadow:
      0 1px 0 rgba(10,16,32,0.40),
      0 1px 6px rgba(10,16,32,0.35) !important;
  }

  /* Graceful fallback for browsers without backdrop-filter (older Firefox/Android WebView):
     the gradient background alone still provides a legibility shield. */
  @supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .hero .hero__headline,
    .hero .hero__sub {
      background: linear-gradient(180deg, rgba(20,31,54,0.65), rgba(20,31,54,0.55)) !important;
    }
  }
}

.hero__content {
  position: relative;
  z-index: 3;
  padding-top: 120px;
  padding-bottom: var(--space-16);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-4);
  border: 1px solid rgba(168, 132, 44, 0.45);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  color: var(--gold-light);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-6);
  background: rgba(168, 132, 44, 0.1);
}

.hero__badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink-accent); /* tiny pink accent (<=5%) */
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero__headline {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  line-height: 1.05;
  color: var(--color-text);
  max-width: 14ch;
  margin-bottom: var(--space-6);
  letter-spacing: -0.02em;
}

.hero__headline em {
  font-style: normal;
  color: var(--gold);
}

.hero__sub {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 46ch;
  line-height: 1.5;
  margin-bottom: var(--space-8);
}

/* Keep hero text column clear of the floating status cards on wide screens */
@media (min-width: 1024px) {
  .hero__headline,
  .hero__sub,
  .hero__ctas {
    max-width: min(46ch, 58%);
  }
  .hero__headline { max-width: min(14ch, 58%); }
}

.hero__ctas {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* Floating status cards in hero */
.hero__floats {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.float-card {
  background: rgba(28, 43, 74, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(240, 237, 232, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-width: 240px;
  animation: float-in 0.8s var(--ease-out) both;
}

.float-card:nth-child(1) { animation-delay: 1s; }
.float-card:nth-child(2) { animation-delay: 1.6s; }
.float-card:nth-child(3) { animation-delay: 2.2s; }

@keyframes float-in {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

.float-card__icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.float-card__icon--green {
  background: rgba(76, 175, 80, 0.15);
  color: #66BB6A;
}

.float-card__icon--blue {
  background: rgba(66, 165, 245, 0.15);
  color: #42A5F5;
}

.float-card__icon--pink {
  background: var(--pink-accent-soft); /* one small pink icon (<=5%) */
  color: var(--pink-accent);
}

.float-card__text {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}

.float-card__text span {
  display: block;
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--color-text-muted);
}

@media (max-width: 1024px) {
  .hero__floats { display: none; }
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  /* audit fix: 44px min touch height */
  min-height: 44px;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition-interactive),
              transform var(--transition-interactive),
              box-shadow var(--transition-interactive);
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--pink);
  color: #fff;
}
.btn--primary:hover {
  background: var(--pink-hover);
  box-shadow: 0 4px 20px var(--pink-glow);
}

.btn--outline {
  background: transparent;
  color: var(--color-text);
  border: 1px solid rgba(240, 237, 232, 0.25);
}
.btn--outline:hover {
  border-color: rgba(240, 237, 232, 0.5);
  background: rgba(240, 237, 232, 0.05);
}

.btn--outline-dark {
  background: transparent;
  color: var(--navy);
  border: 1px solid rgba(28, 43, 74, 0.25);
}
.btn--outline-dark:hover {
  border-color: var(--navy);
  background: rgba(28, 43, 74, 0.05);
}

/* audit fix: btn--gold was undefined — rendered transparent on transparent parent */
.btn--gold {
  background: linear-gradient(180deg, #C9A24B 0%, #A8842C 100%);
  color: #1C2B4A;
  border: 1px solid rgba(168, 132, 44, 0.6);
  box-shadow: 0 2px 10px rgba(168, 132, 44, 0.18);
}
.btn--gold:hover {
  background: linear-gradient(180deg, #D4B063 0%, #B9932F 100%);
  box-shadow: 0 4px 18px rgba(168, 132, 44, 0.28);
}

/* ============================================
   SECTIONS — GENERAL
   ============================================ */

.section {
  padding: clamp(var(--space-12), 8vw, var(--space-24)) 0;
}

.section--navy {
  background: var(--navy);
  color: var(--color-text);
}

.section--dark {
  background: var(--navy-light);
  color: var(--color-text);
}

.section--gold {
  background: var(--gold-pale);
  color: var(--navy);
}

.section__label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: var(--space-4);
}

.section__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}

.section__subtitle {
  font-size: var(--text-base);
  line-height: 1.6;
  max-width: 56ch;
  opacity: 0.7;
}

.section--gold .section__label { color: var(--pink); }
.section--gold .section__title { color: var(--navy); }
.section--gold .section__subtitle { color: var(--navy); opacity: 0.6; }

/* ============================================
   POWER STATEMENT
   ============================================ */

.power-statement {
  padding: clamp(var(--space-12), 8vw, var(--space-20)) 0;
  background: var(--navy);
  text-align: center;
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
}

.power-statement__text {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  max-width: 36ch;
  margin-inline: auto;
  line-height: 1.3;
}

.power-statement__text em {
  font-style: normal;
  color: var(--pink);
}

/* ============================================
   PROBLEM / SOLUTION
   ============================================ */

.problem-solution {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
}

@media (max-width: 768px) {
  .problem-solution { grid-template-columns: 1fr; }
}

.ps-card {
  border-radius: var(--radius-xl);
  padding: var(--space-8);
}

.ps-card--problem {
  background: rgba(240, 237, 232, 0.04);
  border: 1px solid rgba(240, 237, 232, 0.08);
}

.ps-card--solution {
  background: rgba(168, 132, 44, 0.06);
  border: 1px solid rgba(168, 132, 44, 0.15);
}

.ps-card__header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.ps-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ps-card--problem .ps-card__icon {
  background: rgba(240, 237, 232, 0.08);
  color: var(--color-text-muted);
}

.ps-card--solution .ps-card__icon {
  background: rgba(168, 132, 44, 0.15);
  color: var(--pink);
}

.ps-card__label {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
}

.ps-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.ps-card__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-base);
  line-height: 1.5;
}

.ps-card__list li svg {
  flex-shrink: 0;
  margin-top: 3px;
}

.ps-card--problem .ps-card__list li svg {
  color: rgba(240, 237, 232, 0.3);
}

.ps-card--solution .ps-card__list li svg {
  color: var(--pink);
}

/* ============================================
   RAPID REFERRAL / SPEED
   ============================================ */

.speed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-10);
}

@media (max-width: 768px) {
  .speed-grid { grid-template-columns: 1fr; }
}

.speed-card {
  background: rgba(240, 237, 232, 0.04);
  border: 1px solid rgba(240, 237, 232, 0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  text-align: center;
}

.speed-card__number {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--pink);
  margin-bottom: var(--space-2);
}

.speed-card__label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: 500;
}

/* ============================================
   HOW IT WORKS — PIPELINE
   ============================================ */

.pipeline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: var(--space-10);
  position: relative;
}

.pipeline__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  flex: 1;
  max-width: 220px;
  position: relative;
  z-index: 2;
}

.pipeline__circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--navy-light);
  border: 2px solid rgba(240, 237, 232, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  transition: all 0.5s var(--ease-out);
}

.pipeline__step.active .pipeline__circle {
  background: var(--pink);
  border-color: var(--pink);
  color: #fff;
  box-shadow: 0 0 24px var(--pink-glow);
}

.pipeline__label {
  font-size: var(--text-sm);
  font-weight: 600;
  text-align: center;
  color: var(--color-text);
}

.pipeline__sublabel {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-align: center;
}

.pipeline__connector {
  flex: 0.5;
  height: 2px;
  background: rgba(240, 237, 232, 0.1);
  position: relative;
  align-self: flex-start;
  margin-top: 32px;
}

.pipeline__connector-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--pink);
  transition: width 0.8s var(--ease-out);
}

@media (max-width: 768px) {
  .pipeline {
    flex-direction: column;
    gap: var(--space-6);
  }
  .pipeline__connector {
    width: 2px;
    height: 40px;
    margin-top: 0;
    align-self: center;
  }
  .pipeline__connector-fill {
    width: 100% !important;
    height: 0%;
  }
}

/* ============================================
   SPEED COMPARISON CHART
   ============================================ */

.comparison-chart {
  margin-top: var(--space-10);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.chart-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: center;
  gap: var(--space-4);
}

@media (max-width: 640px) {
  .chart-row { grid-template-columns: 1fr; }
}

.chart-row__label {
  font-size: var(--text-sm);
  font-weight: 600;
}

.chart-row__bars {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.chart-bar {
  height: 36px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  padding-left: var(--space-4);
  font-size: var(--text-xs);
  font-weight: 600;
  color: #fff;
  position: relative;
  overflow: visible;
  min-width: fit-content;
}

.chart-bar--traditional {
  background: rgba(240, 237, 232, 0.12);
  color: var(--color-text-muted);
}

.chart-bar--pip {
  background: linear-gradient(90deg, var(--pink), var(--pink-hover));
}

.chart-bar span {
  position: relative;
  z-index: 2;
  white-space: nowrap;
}

/* ============================================
   KPI DASHBOARD
   ============================================ */

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-10);
}

@media (max-width: 900px) {
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
  .kpi-grid { grid-template-columns: 1fr; }
}

.kpi-card {
  background: var(--navy-light);
  border: 1px solid rgba(240, 237, 232, 0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
}

.kpi-card__label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}

.kpi-card__value {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--pink);
  font-variant-numeric: tabular-nums;
}

.kpi-card__change {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  font-weight: 600;
  color: #66BB6A;
  margin-top: var(--space-2);
}

/* ============================================
   LEADERBOARD
   ============================================ */

.leaderboard {
  margin-top: var(--space-10);
  background: var(--navy-light);
  border: 1px solid rgba(240, 237, 232, 0.08);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.leaderboard__header {
  display: grid;
  grid-template-columns: 50px 1fr 120px 120px 120px;
  padding: var(--space-3) var(--space-5);
  background: rgba(240, 237, 232, 0.04);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}

.leaderboard__row {
  display: grid;
  grid-template-columns: 50px 1fr 120px 120px 120px;
  padding: var(--space-4) var(--space-5);
  border-top: 1px solid rgba(240, 237, 232, 0.05);
  align-items: center;
  font-size: var(--text-sm);
  transition: background var(--transition-interactive);
}

.leaderboard__row:hover {
  background: rgba(240, 237, 232, 0.03);
}

.leaderboard__row--top {
  background: rgba(168, 132, 44, 0.06);
  border-left: 3px solid var(--pink);
}

.leaderboard__rank {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-text-muted);
}

.leaderboard__row--top .leaderboard__rank {
  color: var(--pink);
}

.leaderboard__name {
  font-weight: 600;
}

.leaderboard__stat {
  font-variant-numeric: tabular-nums;
  color: var(--color-text-muted);
}

.leaderboard__row--top .leaderboard__stat {
  color: var(--color-text);
}

@media (max-width: 768px) {
  .leaderboard__header,
  .leaderboard__row {
    grid-template-columns: 40px 1fr 80px 80px;
  }
  .leaderboard__header > :last-child,
  .leaderboard__row > :last-child {
    display: none;
  }
}

/* ============================================
   USE CASES — CARD SYSTEM
   ============================================ */

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-10);
}

@media (max-width: 768px) {
  .use-cases-grid { grid-template-columns: 1fr; }
}

.use-case-card {
  background: #fff;
  border: 1px solid rgba(28, 43, 74, 0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  cursor: pointer;
  transition: transform var(--transition-interactive),
              box-shadow var(--transition-interactive),
              border-color var(--transition-interactive);
  box-shadow: 0 2px 8px rgba(28, 43, 74, 0.06);
}

.use-case-card:hover {
  transform: translateY(-2px);
  border-color: var(--pink);
  box-shadow: 0 8px 32px rgba(168, 132, 44, 0.12);
}

.use-case-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(168, 132, 44, 0.12);
  color: var(--pink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
}

.use-case-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--space-2);
}

.use-case-card__desc {
  font-size: var(--text-sm);
  color: var(--navy);
  opacity: 0.65;
  line-height: 1.5;
}

.use-case-card__result {
  display: none;
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(28, 43, 74, 0.1);
  font-size: var(--text-sm);
  color: var(--navy);
  opacity: 0.75;
  line-height: 1.6;
}

.use-case-card.expanded .use-case-card__result {
  display: block;
}

/* ============================================
   90-DAY TRANSFORMATION
   ============================================ */

.transform-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: var(--space-10);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

@media (max-width: 768px) {
  .transform-split { grid-template-columns: 1fr; }
}

.transform-side {
  padding: var(--space-8);
}

.transform-side--before {
  background: var(--gold-pale);
  color: var(--navy);
}

.transform-side--after {
  background: var(--navy);
  color: var(--color-text);
}

.transform-side__label {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-4);
  opacity: 0.5;
}

.transform-side__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-6);
}

.transform-side--after .transform-side__title {
  color: var(--pink);
}

.transform-side__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.transform-side__list li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
}

.transform-side--before .transform-side__list li svg {
  color: rgba(28, 43, 74, 0.3);
}

.transform-side--after .transform-side__list li svg {
  color: var(--pink);
}

/* ============================================
   WHO IT'S FOR
   ============================================ */

.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-10);
}

@media (max-width: 768px) {
  .audience-grid { grid-template-columns: 1fr; }
}

.audience-card {
  background: var(--navy-light);
  border: 1px solid rgba(240, 237, 232, 0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
}

.audience-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: rgba(168, 132, 44, 0.1);
  color: var(--pink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
}

.audience-card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.audience-card__desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ============================================
   SYSTEM OVERVIEW
   ============================================ */

.system-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-10);
}

@media (max-width: 900px) {
  .system-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
  .system-grid { grid-template-columns: 1fr; }
}

.system-card {
  background: rgba(240, 237, 232, 0.04);
  border: 1px solid rgba(240, 237, 232, 0.06);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}

.system-card__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(168, 132, 44, 0.1);
  color: var(--pink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-3);
}

.system-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-base);
  margin-bottom: var(--space-1);
}

.system-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ============================================
   REPORTING
   ============================================ */

.reporting-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-10);
}

@media (max-width: 768px) {
  .reporting-grid { grid-template-columns: 1fr; }
}

.reporting-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-5);
  background: #fff;
  border: 1px solid rgba(28, 43, 74, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 8px rgba(28, 43, 74, 0.06);
  color: #2A3556;
}

.reporting-item__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(168, 132, 44, 0.12);
  color: var(--gold, #A8842C);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.reporting-item__text {
  font-size: var(--text-sm);
  color: #4A5878;
  line-height: 1.6;
}

.reporting-item__text strong {
  display: block;
  font-weight: 700;
  margin-bottom: var(--space-1);
  color: var(--navy);
  font-size: 16px;
  line-height: 1.3;
}

/* ============================================
   NETWORK MAP
   ============================================ */

.network-visual {
  margin-top: var(--space-10);
  position: relative;
  height: 400px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--navy-light);
  border: 1px solid rgba(240, 237, 232, 0.06);
}

.network-visual canvas {
  width: 100%;
  height: 100%;
}

/* ============================================
   SCHEDULING FLOW
   ============================================ */

.schedule-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  margin-top: var(--space-10);
  flex-wrap: wrap;
}

.schedule-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}

.schedule-step__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--navy-light);
  border: 2px solid rgba(240, 237, 232, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: all 0.5s var(--ease-out);
}

.schedule-step.active .schedule-step__icon {
  background: rgba(168, 132, 44, 0.15);
  border-color: var(--pink);
  color: var(--pink);
}

.schedule-step__label {
  font-size: var(--text-sm);
  font-weight: 600;
}

.schedule-arrow {
  color: var(--color-text-faint);
}

@media (max-width: 640px) {
  .schedule-flow { flex-direction: column; }
  .schedule-arrow { transform: rotate(90deg); }
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
  padding: clamp(var(--space-16), 10vw, var(--space-32)) 0;
  background: var(--navy);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(168, 132, 44, 0.08) 0%, transparent 70%);
}

.cta-section__content {
  position: relative;
  z-index: 2;
}

.cta-section__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: var(--space-4);
  max-width: 24ch;
  margin-inline: auto;
}

.cta-section__sub {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
  max-width: 48ch;
  margin-inline: auto;
}

.cta-section__buttons {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  padding: var(--space-12) 0 var(--space-6);
  background: var(--navy);
  border-top: 1px solid var(--color-divider);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}

@media (max-width: 768px) {
  .footer__inner { flex-direction: column; }
}

.footer__brand {
  max-width: 280px;
}

.footer__brand-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  text-decoration: none;
  color: var(--color-text);
}

.footer__brand-logo svg {
  width: 36px;
  height: 36px;
}

.footer__brand-text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

.footer__links {
  display: flex;
  flex-wrap: wrap; /* audit fix: prevent 2px overshoot on iPhone SE 375px */
  gap: var(--space-12);
  min-width: 0;
}

.footer__col h4 {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

.footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer__col a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: var(--text-sm);
  transition: color var(--transition-interactive);
}

.footer__col a:hover {
  color: var(--color-text);
}

.footer__bottom {
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-divider);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

@media (max-width: 768px) {
  .footer__bottom { flex-direction: column; gap: var(--space-3); }
}

/* ============================================
   SCROLL REVEAL (CSS-only with fallback)
   ============================================ */

.reveal {
  opacity: 1;
}

@supports (animation-timeline: scroll()) {
  .reveal {
    opacity: 0;
    animation: reveal-fade linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 40%;
  }
}

@keyframes reveal-fade {
  to { opacity: 1; }
}

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */

.page-hero {
  padding-top: calc(70px + var(--space-8));
  padding-bottom: var(--space-16);
  position: relative;
  /* overflow removed — was clipping subtitle text on wrap */
}
@media (min-width: 768px) {
  .page-hero {
    padding-top: calc(74px + var(--space-10));
    padding-bottom: var(--space-20);
  }
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.page-hero > .container {
  position: relative;
  z-index: 1;
}

@media (min-width: 900px) {
  .page-hero > .container {
    max-width: 1280px;
  }
  .page-hero__title,
  .page-hero__sub,
  .page-hero .cta-section__buttons,
  .page-hero .section__label {
    max-width: 52%;
  }
  .page-hero__title { max-width: 14ch; }
  .page-hero__sub { max-width: 48ch; }
}

/* Hero content is above the fold — force visible (override later .reveal opacity:0) */
.page-hero .reveal,
.page-hero .reveal.revealed,
.page-hero .section__label,
.page-hero__title,
.page-hero__sub,
.page-hero .cta-section__buttons {
  opacity: 1 !important;
  transform: translateY(0) !important;
  animation: none !important;
}

.page-hero--compact {
  padding-bottom: var(--space-12);
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: var(--space-4);
  max-width: 20ch;
}

.page-hero__sub {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 52ch;
  line-height: 1.5;
}

.page-hero__image {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 48%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
  z-index: 0;
  mask-image: linear-gradient(to left, rgba(0,0,0,1) 35%, rgba(0,0,0,0.6) 65%, transparent 100%);
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 35%, rgba(0,0,0,0.6) 65%, transparent 100%);
  pointer-events: none;
}

@media (max-width: 768px) {
  .page-hero__image { display: none; }
}

/* ============================================
   SERVICES GRID
   ============================================ */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-10);
}

.services-grid--full {
  gap: var(--space-5);
}

@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  background: rgba(240, 237, 232, 0.04);
  border: 1px solid rgba(240, 237, 232, 0.06);
  transition: border-color var(--transition-interactive);
}

.service-item:hover {
  border-color: rgba(168, 132, 44, 0.2);
}

.service-item--large {
  padding: var(--space-6);
}

.service-item__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(168, 132, 44, 0.1);
  color: var(--pink);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-item__content strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-base);
  margin-bottom: var(--space-1);
}

.service-item__content span {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ============================================
   LOCATIONS GRID
   ============================================ */

.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-10);
}

@media (max-width: 900px) {
  .locations-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
  .locations-grid { grid-template-columns: 1fr; }
}

.location-region {
  background: rgba(240, 237, 232, 0.04);
  border: 1px solid rgba(240, 237, 232, 0.06);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}

.location-region__title {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--pink);
  margin-bottom: var(--space-4);
}

.location-region__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.location-region__list li {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding-left: var(--space-4);
  position: relative;
}

.location-region__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  transform: translateY(-50%);
}

.locations-cta {
  margin-top: var(--space-8);
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  background: rgba(168, 132, 44, 0.08);
  border: 1px solid rgba(168, 132, 44, 0.15);
  text-align: center;
}

.locations-cta p {
  font-size: var(--text-sm);
  color: var(--gold-light);
  font-weight: 500;
}

/* ============================================
   FLORIDA MAP IMAGE
   ============================================ */

.florida-map {
  margin-top: var(--space-10);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(240, 237, 232, 0.06);
}

.florida-map img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================
   TESTIMONIALS
   ============================================ */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-10);
}

.testimonials-grid--preview {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  .testimonials-grid,
  .testimonials-grid--preview { grid-template-columns: 1fr; }
}

.testimonial-card {
  background: #fff;
  border: 1px solid rgba(28, 43, 74, 0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: 0 2px 8px rgba(28, 43, 74, 0.06);
}

.testimonial-card__quote {
  font-size: var(--text-sm);
  color: var(--navy);
  line-height: 1.6;
  opacity: 0.8;
  margin-bottom: var(--space-4);
  font-style: italic;
}

.testimonial-card__author {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial-card__author strong {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--navy);
}

.testimonial-card__author span {
  font-size: var(--text-xs);
  color: var(--navy);
  opacity: 0.5;
}

/* ============================================
   ABOUT / TEAM
   ============================================ */

.about-content {
  margin-bottom: var(--space-10);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10);
  align-items: start;
}

@media (max-width: 768px) {
  .about-content {
    grid-template-columns: 1fr;
  }
}

.about-story {
  max-width: 72ch;
}

.about-story p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.about-story p:last-child {
  margin-bottom: 0;
}

.about-image {
  margin-bottom: var(--space-10);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(240, 237, 232, 0.08);
}

.about-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-10);
}

@media (max-width: 768px) {
  .about-stats { grid-template-columns: repeat(2, 1fr); }
}

.about-stat {
  text-align: center;
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  background: rgba(240, 237, 232, 0.04);
  border: 1px solid rgba(240, 237, 232, 0.06);
}

.about-stat__number {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--pink);
}

.about-stat__label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin-top: var(--space-1);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-10);
}

@media (max-width: 1024px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .team-grid { grid-template-columns: 1fr; }
}

.team-card {
  background: rgba(240, 237, 232, 0.04);
  border: 1px solid rgba(240, 237, 232, 0.06);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  text-align: center;
}

.team-card__avatar {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: rgba(168, 132, 44, 0.1);
  color: var(--pink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
  overflow: hidden;
  border: 2px solid rgba(240, 237, 232, 0.08);
}

.team-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.team-card__name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-1);
}

.team-card__title {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--pink);
  margin-bottom: var(--space-4);
}

.team-card__bio {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ============================================
   CONTACT GRID
   ============================================ */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-card {
  background: rgba(240, 237, 232, 0.04);
  border: 1px solid rgba(240, 237, 232, 0.06);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  text-align: center;
}

.contact-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: rgba(168, 132, 44, 0.1);
  color: var(--pink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
}

.contact-card__title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.contact-card__value {
  /* audit fix: 44px min touch target */
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 0;
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--gold-light);
  text-decoration: none;
  margin-bottom: var(--space-2);
}

.contact-card__value:hover {
  color: var(--gold);
}

.contact-card__note {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* Actionable contact cards: whole card clickable, hover + focus state */
.contact-card--action {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: background 200ms ease, border-color 200ms ease, transform 200ms ease;
}
.contact-card--action:hover,
.contact-card--action:focus-visible {
  background: rgba(168, 132, 44, 0.08);
  border-color: rgba(168, 132, 44, 0.35);
  transform: translateY(-2px);
  outline: none;
}
.contact-card--action:hover .contact-card__cta,
.contact-card--action:focus-visible .contact-card__cta {
  color: var(--gold);
  gap: 8px;
}
.contact-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid rgba(168, 132, 44, 0.18);
  width: 100%;
  justify-content: center;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gold-light);
  transition: color 200ms ease, gap 200ms ease;
}

/* ============================================
   PARTNER CTA
   ============================================ */

.partner-cta {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--space-8);
  align-items: center;
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  background: rgba(168, 132, 44, 0.06);
  border: 1px solid rgba(168, 132, 44, 0.12);
}

@media (max-width: 768px) {
  .partner-cta { grid-template-columns: 1fr; }
}

.partner-cta__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.partner-cta__desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-6);
}

.partner-cta__stats {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.partner-stat {
  text-align: center;
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  background: rgba(240, 237, 232, 0.04);
}

.partner-stat__number {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--pink);
}

.partner-stat__label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin-top: var(--space-1);
}

/* ============================================
   CTA CONTACT INFO
   ============================================ */

.cta-contact-info {
  display: flex;
  justify-content: center;
  gap: var(--space-8);
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
}

.cta-contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  /* audit fix: 44px min touch target */
  min-height: 44px;
  padding: 4px 0;
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 500;
}

a.cta-contact-item:hover {
  color: var(--color-text);
}

/* ============================================
   THREE-COLUMN AUDIENCE
   ============================================ */

.audience-grid--three {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  .audience-grid--three { grid-template-columns: 1fr; }
}

/* ============================================
   FOOTER ADDITIONS
   ============================================ */

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-4);
  margin-bottom: var(--space-4);
}

.footer__contact a,
.footer__contact span {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-interactive);
}

.footer__contact a:hover {
  color: var(--color-text);
}

.footer__social {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__social-label {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
}

.footer__social-link,
.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(197, 165, 91, 0.35);
  color: rgba(197, 165, 91, 0.9);
  transition: all 220ms ease;
}

.footer__social-link:hover,
.footer__social a:hover {
  color: #0f182c;
  background: #c5a55b;
  border-color: #c5a55b;
  transform: translateY(-2px);
}

.footer__bottom-links {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.footer__bottom-links a {
  color: var(--color-text-faint);
  text-decoration: none;
  transition: color var(--transition-interactive);
}

.footer__bottom-links a:hover {
  color: var(--color-text-muted);
}

/* ============================================
   NAV ACTIVE STATE
   ============================================ */

.nav__link--active {
  color: var(--color-text) !important;
}

/* ============================================
   LEGAL CONTENT (Privacy)
   ============================================ */

.legal-content h2 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.legal-content ul {
  list-style: none;
  padding-left: var(--space-4);
  margin-bottom: var(--space-4);
}

.legal-content ul li {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  position: relative;
  padding-left: var(--space-4);
  margin-bottom: var(--space-2);
}

.legal-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.legal-content a {
  color: var(--pink);
  text-decoration: none;
}

.legal-content a:hover {
  text-decoration: underline;
}

/* ============================================
   SECTION IMAGE HERO
   ============================================ */

.section-image {
  margin-top: var(--space-10);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(240, 237, 232, 0.06);
}

.section-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Testimonial section with bg image */
.section--testimonials-bg {
  position: relative;
}

.section--testimonials-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('./img/testimonials-bg.jpg') center/cover;
  opacity: 0.15;
  pointer-events: none;
}

.section--testimonials-bg > .container {
  position: relative;
  z-index: 1;
}

/* ============================================
   DATA FLOW BACKGROUND
   ============================================ */

.data-flow-bg {
  position: relative;
}

.data-flow-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(168, 132, 44, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(168, 132, 44, 0.04) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.data-flow-bg > .container {
  position: relative;
  z-index: 1;
}

/* ============================================
   ADVANCED UX — NEW COMPONENTS
   ============================================ */

/* ---- NAV INDICATOR (sliding gold underline) ---- */
.nav__indicator {
  position: absolute;
  bottom: -2px;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
  transition: left 0.35s cubic-bezier(0.16, 1, 0.3, 1), width 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s;
  opacity: 0;
  pointer-events: none;
}

.nav__links {
  position: relative;
}

.nav__link--scrolled {
  color: var(--gold) !important;
}

/* ---- REVEAL SYSTEM (CSS class-based) ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ---- PAGE TRANSITION CURTAIN ---- */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--navy);
  transform: translateY(0);
  transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
  pointer-events: none;
  /* Self-removing via CSS — don't depend on JS for initial hide */
  animation: curtain-lift 0.6s cubic-bezier(0.76, 0, 0.24, 1) 0.15s forwards;
}

@keyframes curtain-lift {
  to { transform: translateY(-100%); }
}

.page-transition.loaded {
  transform: translateY(-100%);
}

.page-transition.exiting {
  transform: translateY(0);
  transition: transform 0.35s cubic-bezier(0.76, 0, 0.24, 1);
}

/* ---- GRADIENT BLEEDS BETWEEN SECTIONS ---- */
.section--dark + .section--navy,
.section--navy + .section--dark {
  position: relative;
}

.section--dark + .section--navy::before,
.section--navy + .section--dark::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 0;
  right: 0;
  height: 80px;
  pointer-events: none;
  z-index: 1;
}

.section--dark + .section--navy::before {
  background: linear-gradient(to bottom, var(--navy-light), var(--navy));
}

.section--navy + .section--dark::before {
  background: linear-gradient(to bottom, var(--navy), var(--navy-light));
}

.section--navy + .section--gold::before,
.section--dark + .section--gold::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(168, 132, 44, 0.06));
  pointer-events: none;
  z-index: 1;
}

/* ---- FLOATING ACTION BUTTON (FAB) ---- */
.fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.fab__trigger {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--pink);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 20px rgba(168, 132, 44, 0.35), 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, background 0.3s ease;
}

.fab__trigger:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(168, 132, 44, 0.45), 0 3px 12px rgba(0, 0, 0, 0.25);
}

.fab__trigger svg {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.fab.is-open .fab__trigger svg {
  transform: rotate(45deg);
}

.fab.is-open .fab__trigger {
  background: var(--navy-mid);
}

.fab__panel {
  position: absolute;
  bottom: 68px;
  right: 0;
  width: 320px;
  background: var(--navy-light);
  border: 1px solid rgba(168, 132, 44, 0.2);
  border-radius: 16px;
  padding: 24px;
  opacity: 0;
  transform: translateY(12px) scale(0.95);
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.fab.is-open .fab__panel {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.fab__panel-title {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 700;
  font-size: var(--text-lg);
  margin-bottom: var(--space-4);
  color: var(--color-text);
}

.fab__panel-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: var(--space-4);
}

.fab__panel-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--color-text);
  text-decoration: none;
  font-size: var(--text-sm);
  transition: background 0.2s;
}

.fab__panel-links a:hover {
  background: rgba(168, 132, 44, 0.1);
}

.fab__panel-links a svg {
  flex-shrink: 0;
  color: var(--gold);
}

.fab__divider {
  height: 1px;
  background: rgba(240, 237, 232, 0.08);
  margin: var(--space-3) 0;
}

.fab__callback-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fab__callback-form label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: 500;
}

.fab__callback-form input {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(240, 237, 232, 0.1);
  border-radius: 8px;
  padding: 10px 12px;
  font-family: 'Satoshi', sans-serif;
  font-size: var(--text-sm);
  color: var(--color-text);
  outline: none;
  transition: border-color 0.2s;
}

.fab__callback-form input:focus {
  border-color: var(--gold);
}

.fab__callback-form input::placeholder {
  color: var(--color-text-faint);
}

.fab__callback-form button {
  margin-top: 4px;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--gold);
  color: #fff;
  border: none;
  cursor: pointer;
  font-family: 'Satoshi', sans-serif;
  font-weight: 600;
  font-size: var(--text-sm);
  transition: background 0.2s;
}

.fab__callback-form button:hover {
  background: var(--gold-light);
}

.fab__success {
  display: none;
  text-align: center;
  padding: var(--space-4);
  color: var(--gold-light);
  font-size: var(--text-sm);
  font-weight: 500;
}

.fab__success svg {
  display: block;
  margin: 0 auto var(--space-2);
  color: var(--gold);
}

/* ---- REFERRAL FORM STYLES ---- */
.referral-form-wrapper {
  max-width: 720px;
  margin: 0 auto;
  padding: var(--space-8) 0;
}

.referral-form__progress {
  margin-bottom: var(--space-8);
}

.referral-form__progress-list {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0;
}

.referral-form__progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  flex: 1;
  max-width: 160px;
}

.referral-form__progress-indicator {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-mid);
  border: 2px solid rgba(240, 237, 232, 0.12);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 2;
}

.referral-form__progress-number {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  transition: color 0.3s;
}

.referral-form__progress-check {
  display: none;
}

.referral-form__progress-step.is-active .referral-form__progress-indicator {
  border-color: var(--gold);
  background: rgba(168, 132, 44, 0.15);
  box-shadow: 0 0 16px rgba(168, 132, 44, 0.2);
}

.referral-form__progress-step.is-active .referral-form__progress-number {
  color: var(--gold);
}

.referral-form__progress-step.is-complete .referral-form__progress-indicator {
  border-color: var(--gold);
  background: rgba(168, 132, 44, 0.1);
}

.referral-form__progress-step.is-complete .referral-form__progress-number {
  display: none;
}

.referral-form__progress-step.is-complete .referral-form__progress-check {
  display: flex;
}

.referral-form__progress-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-2);
  text-align: center;
  transition: color 0.3s;
}

.referral-form__progress-step.is-active .referral-form__progress-label {
  color: var(--gold);
  font-weight: 600;
}

.referral-form__progress-connector {
  position: absolute;
  top: 19px;
  left: calc(50% + 24px);
  right: calc(-50% + 24px);
  height: 2px;
  background: rgba(240, 237, 232, 0.08);
  z-index: 1;
}

.referral-form__progress-step.is-complete .referral-form__progress-connector {
  background: var(--gold);
}

/* Form steps */
.referral-form__step {
  display: none;
}

.referral-form__step.is-active {
  display: block;
}

.referral-form__step-heading {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 700;
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
  color: var(--color-text);
}

.referral-form__step-subheading {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}

/* Radio cards */
.referral-form__radio-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.referral-form__radio-card {
  cursor: pointer;
}

.referral-form__radio-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.referral-form__radio-card-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 12px;
  border: 1px solid rgba(240, 237, 232, 0.08);
  background: rgba(0, 0, 0, 0.15);
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}

.referral-form__radio-card-inner:hover {
  border-color: rgba(168, 132, 44, 0.3);
  background: rgba(168, 132, 44, 0.05);
}

.referral-form__radio-input:checked + .referral-form__radio-card-inner {
  border-color: var(--gold);
  background: rgba(168, 132, 44, 0.1);
  box-shadow: 0 0 20px rgba(168, 132, 44, 0.12);
}

.referral-form__radio-card-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(168, 132, 44, 0.1);
  color: var(--gold);
}

.referral-form__radio-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.referral-form__radio-card-title {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--color-text);
}

.referral-form__radio-card-desc {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.4;
}

.referral-form__radio-card-check {
  flex-shrink: 0;
  color: rgba(240, 237, 232, 0.2);
  transition: color 0.25s;
}

.referral-form__radio-input:checked + .referral-form__radio-card-inner .referral-form__radio-card-check {
  color: var(--gold);
}

.referral-form__radio-card-check .check-path {
  opacity: 0;
  transition: opacity 0.25s;
}

.referral-form__radio-input:checked + .referral-form__radio-card-inner .check-path {
  opacity: 1;
}

/* Text inputs */
.referral-form__field-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.referral-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.referral-form__field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.referral-form__label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.referral-form__input,
.referral-form__textarea,
.referral-form__select {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(240, 237, 232, 0.1);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: 'Satoshi', sans-serif;
  font-size: var(--text-sm);
  color: var(--color-text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.referral-form__input:focus,
.referral-form__textarea:focus,
.referral-form__select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(168, 132, 44, 0.15);
}

.referral-form__input::placeholder,
.referral-form__textarea::placeholder {
  color: var(--color-text-faint);
}

.referral-form__input.is-error,
.referral-form__textarea.is-error,
.referral-form__select.is-error {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(168, 132, 44, 0.15);
}

.referral-form__textarea {
  resize: vertical;
  min-height: 80px;
}

.referral-form__select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23A8842C' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.referral-form__select option {
  background: var(--navy);
  color: var(--color-text);
}

/* Select wrapper with custom arrow */
.referral-form__select-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 320px;
}
.referral-form__select-wrapper .referral-form__select {
  width: 100%;
  padding-right: 40px;
  appearance: none;
  -webkit-appearance: none;
  background-image: none;  /* Remove duplicate bg chevron — arrow span handles it */
}
.referral-form__select-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--gold);
  display: flex;
  align-items: center;
}

/* Fieldset reset */
.referral-form__fieldset {
  border: none;
  padding: 0;
  margin: 0;
}
.referral-form__fieldset > legend {
  padding: 0;
  margin-bottom: 12px;
}

/* Role radio options */
.referral-form__role-options {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.referral-form__role-option {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 12px 20px;
  border-radius: 10px;
  border: 1.5px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
  transition: all 0.25s ease;
  flex: 1;
  min-width: 120px;
}
.referral-form__role-option:hover {
  border-color: rgba(168,132,44,0.4);
  background: rgba(168,132,44,0.06);
}
.referral-form__role-option .referral-form__radio-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.referral-form__role-option:has(.referral-form__radio-input:checked) {
  border-color: #A8842C;
  background: rgba(168,132,44,0.1);
  box-shadow: 0 0 0 1px rgba(168,132,44,0.2);
}
.referral-form__role-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.01em;
}
.referral-form__role-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(168,132,44,0.1);
  color: #A8842C;
  flex-shrink: 0;
}
.referral-form__role-option:has(.referral-form__radio-input:checked) .referral-form__role-icon {
  background: rgba(168,132,44,0.2);
  color: #C9A23E;
}

/* Navigation buttons */
.referral-form__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(240, 237, 232, 0.06);
}

.referral-form__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-family: 'Satoshi', sans-serif;
  font-weight: 600;
  font-size: var(--text-sm);
  cursor: pointer;
  border: none;
  transition: all 0.25s;
}

.referral-form__btn--next,
.referral-form__btn--submit {
  background: var(--gold);
  color: #fff;
  margin-left: auto;
}

.referral-form__btn--next:hover,
.referral-form__btn--submit:hover {
  background: var(--gold-light);
}

.referral-form__btn--back {
  background: transparent;
  border: 1px solid rgba(240, 237, 232, 0.12);
  color: var(--color-text-muted);
}

.referral-form__btn--back:hover {
  border-color: rgba(240, 237, 232, 0.25);
  color: var(--color-text);
}

/* Summary (step 4) */
.referral-form__summary {
  display: grid;
  gap: 12px;
}

.referral-form__summary-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.15);
  font-size: var(--text-sm);
}

.referral-form__summary-label {
  color: var(--color-text-muted);
}

.referral-form__summary-value {
  color: var(--color-text);
  font-weight: 500;
}

/* Success state */
.referral-form__success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-12) var(--space-8);
}

.referral-form__success.is-active {
  display: flex;
}

.referral-form__success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(168, 132, 44, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  color: var(--gold);
}

.referral-form__success-title {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 700;
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
}

.referral-form__success-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}

.referral-form__success-ref {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--gold);
  margin-bottom: var(--space-6);
}

/* ---- DASHBOARD TOGGLE GROUP ---- */
.dash-toggle-group {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(240, 237, 232, 0.06);
  margin-bottom: var(--space-6);
}

.dash-toggle {
  /* audit fix: 44px min touch target */
  min-height: 44px;
  padding: 10px 22px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  font-family: 'Satoshi', sans-serif;
  font-weight: 600;
  font-size: var(--text-xs);
  cursor: pointer;
  transition: all 0.25s;
}

.dash-toggle.active {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 2px 8px rgba(168, 132, 44, 0.3);
}

.dash-toggle:hover:not(.active) {
  color: var(--color-text);
  background: rgba(240, 237, 232, 0.05);
}

/* ---- LOGIN MODAL ---- */
.login-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.login-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.login-modal__card {
  width: 90%;
  max-width: 420px;
  background: var(--navy-light);
  border: 1px solid rgba(168, 132, 44, 0.2);
  border-radius: 20px;
  padding: var(--space-8);
  transform: translateY(16px) scale(0.96);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.login-modal.is-open .login-modal__card {
  transform: translateY(0) scale(1);
}

.login-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px; /* audit fix: 44px min */
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(240, 237, 232, 0.06);
  color: var(--color-text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.login-modal__close:hover {
  background: rgba(240, 237, 232, 0.12);
}

.login-modal__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: var(--space-6);
}

.login-modal__logo svg {
  width: 40px;
  height: 40px;
}

.login-modal__title {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 700;
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}

.login-modal__subtitle {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}

.login-modal__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: var(--space-4);
}

.login-modal__label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-muted);
}

.login-modal__input {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(240, 237, 232, 0.1);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: 'Satoshi', sans-serif;
  font-size: var(--text-sm);
  color: var(--color-text);
  outline: none;
  transition: border-color 0.2s;
}

.login-modal__input:focus {
  border-color: var(--gold);
}

.login-modal__input::placeholder {
  color: var(--color-text-faint);
}

.login-modal__submit {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  background: var(--gold);
  color: #fff;
  border: none;
  cursor: pointer;
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
  font-size: var(--text-base);
  margin-top: var(--space-2);
  transition: background 0.2s;
}

.login-modal__submit:hover {
  background: var(--gold-light);
}

.login-modal__footer {
  text-align: center;
  margin-top: var(--space-4);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

.login-modal__footer a {
  color: var(--gold);
  text-decoration: none;
}

/* ---- INTERACTIVE FLORIDA MAP CONTAINER ---- */
.florida-map-interactive {
  margin-top: var(--space-8);
  position: relative;
}

.florida-map-interactive__search {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: var(--space-6);
  max-width: 400px;
}

.florida-map-interactive__search input {
  flex: 1;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(240, 237, 232, 0.1);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: 'Satoshi', sans-serif;
  font-size: var(--text-sm);
  color: var(--color-text);
  outline: none;
  transition: border-color 0.2s;
}

.florida-map-interactive__search input:focus {
  border-color: var(--gold);
}

.florida-map-interactive__search input::placeholder {
  color: var(--color-text-faint);
}

.florida-map-interactive__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--space-6);
}

.florida-map-interactive__filter-btn {
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid rgba(240, 237, 232, 0.1);
  background: transparent;
  color: var(--color-text-muted);
  font-family: 'Satoshi', sans-serif;
  font-size: var(--text-xs);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.florida-map-interactive__filter-btn:hover {
  border-color: rgba(168, 132, 44, 0.3);
  color: var(--color-text);
}

.florida-map-interactive__filter-btn.active {
  background: rgba(168, 132, 44, 0.15);
  border-color: var(--gold);
  color: var(--gold);
}

#floridaMapInteractive {
  width: 100%;
  min-height: 500px;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 16px;
  border: 1px solid rgba(240, 237, 232, 0.06);
  overflow: hidden;
}

/* ---- COUNTUP SUPPORT ---- */
[data-countup] {
  font-variant-numeric: tabular-nums;
}

/* ---- ABOUT STATS COUNTUP ---- */
.about-stat__number[data-countup] {
  display: inline-block;
}

/* ---- Mobile Responsive for New Components ---- */
@media (max-width: 640px) {
  .fab__panel {
    width: calc(100vw - 48px);
    right: -12px;
  }

  .referral-form__field-row {
    grid-template-columns: 1fr;
  }

  .referral-form__progress-label {
    font-size: 0.75rem; /* audit fix: was 0.65rem = 10.4px */
  }

  .referral-form__progress-connector {
    left: calc(50% + 16px);
    right: calc(-50% + 16px);
  }

  .dash-toggle-group {
    flex-wrap: wrap;
  }

  .login-modal__card {
    padding: var(--space-6);
    margin: 0 var(--space-4);
  }

  #floridaMapInteractive {
    min-height: 350px;
  }

  .nav__indicator {
    display: none;
  }
}

/* ═══════════════════════════════════════════════════════
   HIPAA COMPLIANCE ELEMENTS
   ═══════════════════════════════════════════════════════ */

/* Notice of Privacy Practices Banner */
.hipaa-notice-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(168, 132, 44, 0.08);
  border: 1px solid rgba(168, 132, 44, 0.25);
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 32px;
  line-height: 1.5;
}
.hipaa-notice-banner svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--gold);
}
.hipaa-notice-banner p {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.85);
}

/* Privacy page contact blocks */
.privacy-contact-block {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 20px 24px;
  margin: 12px 0 24px;
}
.privacy-contact-block p {
  margin: 0 0 8px;
}
.privacy-contact-block ul {
  margin: 0;
  padding-left: 18px;
}
.privacy-contact-block a {
  color: var(--pink);
  text-decoration: none;
}
.privacy-contact-block a:hover {
  text-decoration: underline;
}

/* Contact card HIPAA note */
.contact-card__hipaa-note {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  color: rgba(168, 132, 44, 0.7);
  margin-top: 8px;
  letter-spacing: 0.01em;
  line-height: 1.3;
}
.contact-card__hipaa-note i {
  flex-shrink: 0;
  color: rgba(168, 132, 44, 0.6);
}

/* Footer HIPAA bar */
.footer__hipaa-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  margin-bottom: 8px;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  flex-wrap: wrap;
}
.footer__hipaa-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border: 1px solid rgba(168, 132, 44, 0.35);
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}
.footer__hipaa-badge svg {
  color: var(--gold);
}
.footer__hipaa-text {
  font-size: 0.78rem; /* audit fix: raise from 11.52px to 12.48px min */
  color: rgba(255,255,255,0.45);
  line-height: 1.45;
}

/* Referral form consent block */
.referral-form__consent-block {
  margin: 24px 0 16px;
}
.referral-form__consent-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  padding: 16px 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  transition: border-color 0.3s ease;
}
.referral-form__consent-label:hover {
  border-color: rgba(255,255,255,0.15);
}
.referral-form__consent-label.is-error {
  border-color: #e74c3c;
  background: rgba(231, 76, 60, 0.05);
  animation: shake-consent 0.4s ease;
}
@keyframes shake-consent {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-4px); }
  40% { transform: translateX(4px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(2px); }
}
.referral-form__consent-checkbox {
  /* Visually hidden but accessible */
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.referral-form__consent-checkmark {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: 4px;
  margin-top: 2px;
  position: relative;
  transition: all 0.2s ease;
  background: transparent;
}
.referral-form__consent-checkbox:checked + .referral-form__consent-checkmark {
  background: var(--gold);
  border-color: var(--gold);
}
.referral-form__consent-checkbox:checked + .referral-form__consent-checkmark::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 1px;
  width: 6px;
  height: 11px;
  border: solid #1C2B4A;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}
.referral-form__consent-checkbox:focus-visible + .referral-form__consent-checkmark {
  outline: 2px solid var(--pink);
  outline-offset: 2px;
}
.referral-form__consent-text {
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.6);
}
.referral-form__consent-text a {
  color: var(--pink);
  text-decoration: underline;
  text-decoration-color: rgba(168, 132, 44, 0.4);
  text-underline-offset: 2px;
}
.referral-form__consent-text a:hover {
  text-decoration-color: var(--pink);
}

/* HIPAA disclaimer under consent */
.referral-form__hipaa-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(168, 132, 44, 0.06);
  border: 1px solid rgba(168, 132, 44, 0.15);
  border-radius: 6px;
  margin-bottom: 24px;
}
.referral-form__hipaa-disclaimer svg {
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--gold);
}
.referral-form__hipaa-disclaimer span {
  font-size: 0.78rem; /* audit fix: was 0.72rem = 11.52px */
  line-height: 1.5;
  color: rgba(255,255,255,0.5);
}

/* Mobile adjustments for HIPAA elements */
@media (max-width: 768px) {
  .footer__hipaa-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .hipaa-notice-banner {
    padding: 16px;
  }
  .hipaa-notice-banner p {
    font-size: 0.75rem;
  }
  .referral-form__consent-label {
    padding: 14px 16px;
  }
}

/* ============================================
   BLOG — LISTING PAGE
   ============================================ */

.blog-controls {
  display: flex;
  gap: var(--space-4);
  align-items: center;
}

.blog-search {
  flex: 1;
  position: relative;
}

.blog-search__input {
  width: 100%;
  padding: var(--space-3) var(--space-4) var(--space-3) var(--space-12);
  background: var(--navy-light);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  outline: none;
  transition: border-color var(--transition-interactive);
}

.blog-search__input::placeholder {
  color: var(--color-text-faint);
}

.blog-search__input:focus {
  border-color: var(--gold);
}

.blog-sort__select {
  padding: var(--space-3) var(--space-6) var(--space-3) var(--space-4);
  background: var(--navy-light);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  outline: none;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23F0EDE8' stroke-width='2' stroke-linecap='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.blog-sort__select:focus {
  border-color: var(--gold);
}

/* Featured Article */
.blog-featured__card {
  display: block;
  background: var(--navy-light);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  text-decoration: none;
  transition: border-color var(--transition-interactive), transform var(--transition-interactive);
  position: relative;
  overflow: hidden;
}

.blog-featured__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--pink));
}

.blog-featured__card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.blog-featured__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.2;
  margin: var(--space-4) 0 var(--space-4);
}

.blog-featured__excerpt {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-6);
  max-width: 720px;
}

.blog-featured__read {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gold-light);
  transition: color var(--transition-interactive);
}

.blog-featured__card:hover .blog-featured__read {
  color: var(--gold);
}

/* Blog Card Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--space-6);
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--navy-light);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: border-color var(--transition-interactive), transform var(--transition-interactive);
  overflow: hidden;
}

.blog-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.blog-card__body {
  padding: var(--space-6) var(--space-6) var(--space-5);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  flex-wrap: wrap;
}

.blog-card__category {
  font-family: var(--font-body);
  font-size: 0.75rem; /* audit fix: raise from 11.2px to 12px min */
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-light);
  background: rgba(168, 132, 44, 0.12);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.blog-card__date {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

.blog-card__readtime {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

.blog-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.3;
  margin-bottom: var(--space-3);
}

.blog-card__excerpt {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-divider);
}

.blog-card__arrow {
  color: var(--color-text-faint);
  transition: color var(--transition-interactive), transform var(--transition-interactive);
}

.blog-card:hover .blog-card__arrow {
  color: var(--gold-light);
  transform: translateX(4px);
}

.blog-empty {
  text-align: center;
  padding: var(--space-16) 0;
}

/* ============================================
   BLOG — ARTICLE PAGE
   ============================================ */

.article-back {
  margin-bottom: var(--space-8);
}

.article-back__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  /* audit fix: 44px min touch target */
  min-height: 44px;
  padding: 6px 4px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-interactive);
}

.article-back__link:hover {
  color: var(--gold-light);
}

.article-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.15;
  margin-bottom: var(--space-4);
}

.article-excerpt {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-6);
}

.article-divider {
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--pink), transparent);
  border-radius: 1px;
  margin-bottom: var(--space-10);
}

.article-content {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: 1.8;
}

.article-content h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
}

.article-content h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
}

.article-content p {
  margin-bottom: var(--space-5);
  color: rgba(240, 237, 232, 0.85);
}

.article-content ul,
.article-content ol {
  margin-bottom: var(--space-5);
  padding-left: var(--space-6);
}

.article-content li {
  margin-bottom: var(--space-2);
  color: rgba(240, 237, 232, 0.85);
  line-height: 1.7;
}

.article-content li::marker {
  color: var(--gold);
}

.article-content a {
  color: var(--gold-light);
  text-decoration: underline;
  text-decoration-color: rgba(168, 132, 44, 0.3);
  text-underline-offset: 3px;
  transition: color var(--transition-interactive);
}

.article-content a:hover {
  color: var(--gold);
}

.article-content blockquote {
  border-left: 3px solid var(--gold);
  padding: var(--space-4) var(--space-6);
  margin: var(--space-6) 0;
  background: rgba(168, 132, 44, 0.06);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.article-content blockquote p {
  margin-bottom: 0;
  color: var(--color-text-muted);
  font-style: italic;
}

/* Blog mobile */
@media (max-width: 768px) {
  .blog-controls {
    flex-direction: column;
  }
  .blog-sort {
    width: 100%;
  }
  .blog-sort__select {
    width: 100%;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .blog-featured__card {
    padding: var(--space-6);
  }
  .blog-featured__title {
    font-size: var(--text-xl);
  }
  .article-title {
    font-size: var(--text-xl);
  }
}

/* ============================================================
   ATTORNEY PAGE — Pain points, Solve rows, Outcomes
   ============================================================ */
.pain-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
  margin-top:48px;
}
.pain-card{
  background:var(--color-surface, rgba(255,255,255,0.04));
  border:1px solid var(--color-border, rgba(255,255,255,0.1));
  border-radius:12px;
  padding:32px 28px;
  display:flex;
  flex-direction:column;
  gap:16px;
  transition:transform .2s ease, border-color .2s ease;
}
.pain-card:hover{
  transform:translateY(-2px);
  border-color:var(--color-primary, #d4a574);
}
.pain-card__icon{
  width:48px;
  height:48px;
  border-radius:12px;
  background:rgba(212,165,116,0.12);
  color:var(--color-primary, #d4a574);
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}
.pain-card__title{
  font-size:1.375rem;
  font-weight:600;
  line-height:1.25;
  margin:0;
  color:var(--color-text, #fff);
}
.pain-card__body{
  font-size:1rem;
  line-height:1.6;
  color:var(--color-text-muted, rgba(255,255,255,0.75));
  margin:0;
}

.solve-list{
  margin-top:48px;
  display:flex;
  flex-direction:column;
  gap:32px;
}
.solve-row{
  display:grid;
  grid-template-columns:220px 1fr;
  gap:32px;
  padding:32px 0;
  border-top:1px solid var(--color-border, rgba(255,255,255,0.1));
}
.solve-row:first-child{
  border-top:1px solid var(--color-border, rgba(255,255,255,0.1));
}
.solve-row__tag{
  display:inline-block;
  font-size:.75rem;
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--color-primary, #d4a574);
  background:rgba(212,165,116,0.1);
  border:1px solid rgba(212,165,116,0.3);
  padding:6px 14px;
  border-radius:999px;
}
.solve-row__title{
  font-size:1.5rem;
  font-weight:600;
  line-height:1.3;
  margin:0 0 12px;
  color:var(--color-text, #fff);
}
.solve-row__body p{
  font-size:1.0625rem;
  line-height:1.7;
  color:var(--color-text-muted, rgba(255,255,255,0.78));
  margin:0;
}

.outcomes__grid{
  display:grid;
  grid-template-columns:1fr 1.4fr;
  gap:64px;
  align-items:start;
}
.outcomes__body p{
  font-size:1.125rem;
  line-height:1.65;
  color:var(--color-text-muted, rgba(255,255,255,0.85));
  margin:0 0 20px;
}
.outcomes__body p:last-child{margin-bottom:0;}

@media (max-width:960px){
  .pain-grid{grid-template-columns:1fr; gap:16px;}
  .solve-row{grid-template-columns:1fr; gap:16px;}
  .outcomes__grid{grid-template-columns:1fr; gap:24px;}
}
