/* ============================================================
   PREVAIL MOVEMENT — Shared Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;1,400;1,600&display=swap');

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:           #5a0e1e;
  --surface:      #6e1224;
  --surface-2:    #7d1629;
  --crimson:      #e01f38;
  --crimson-dark: #b8152c;
  --gold:         #e8c060;
  --text:         #ffffff;
  --text-muted:   rgba(255,255,255,0.65);
  --border:       rgba(255,255,255,0.15);
  /* white sections */
  --white-bg:     #ffffff;
  --white-surface: #f7f2f4;
  --white-text:   #1a0810;
  --white-muted:  #7a4055;
  --white-border: #e8d8df;
  --nav-h:        80px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── Typography helpers ── */
.bebas { font-family: 'Bebas Neue', cursive; letter-spacing: 0.04em; }
.playfair { font-family: 'Playfair Display', serif; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 40px;
  transition: background 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  background: rgba(80,10,25,0.97);
  box-shadow: 0 1px 0 rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
}

.nav__logo {
  display: block;
  width: 185px;
  height: 115px;          /* nav is 80px — 35px bleeds below bottom edge */
  overflow: hidden;
  flex-shrink: 0;
  align-self: flex-start; /* anchored at top of nav so overflow goes downward */
}
.nav__logo svg { height: 40px; width: auto; }

/* Logo: full Prevail wordmark image, zoomed past whitespace, bleeds below nav */
.nav__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 49.8%;  /* content sits at vertical center of canvas */
  transform: scale(1.2);   /* just enough to crop vertical whitespace, full wordmark visible */
  transform-origin: center;
}
.nav__logo-text {
  font-family: 'Bebas Neue', cursive;
  font-size: 26px;
  letter-spacing: 0.1em;
  color: #fff;
  display: none; /* hidden when real logo image is used */
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin-left: auto;
}
.nav__links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 6px 10px;
  border-radius: 4px;
  transition: color 0.2s;
}
.nav__links a:hover,
.nav__links a.active { color: #fff; }
.nav__links a.active { color: var(--crimson); }

.nav__cta {
  display: inline-flex;
  align-items: center;
  background: var(--crimson);
  color: #fff !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: 50px;
  transition: background 0.2s, transform 0.15s;
}
.nav__cta:hover {
  background: var(--crimson-dark);
  transform: translateY(-1px);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: all 0.25s;
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(80,10,25,0.97);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 20px 0 30px;
  z-index: 999;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 12px 28px;
  width: 100%;
  text-align: left;
  transition: color 0.2s;
}
.nav__mobile a:hover,
.nav__mobile a.active { color: #fff; }
.nav__mobile .nav__cta { margin-top: 12px; align-self: center; }

/* ── Dropdown nav ── */
.nav__dropdown { position: relative; }
.nav__dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 6px 10px;
  border-radius: 4px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: color 0.2s;
}
.nav__dropdown-toggle:hover { color: #fff; }
.nav__dropdown-toggle.active { color: var(--crimson); }
.nav__chevron {
  font-size: 10px;
  line-height: 1;
  display: inline-block;
  transition: transform 0.2s;
  opacity: 0.6;
}
.nav__dropdown:hover .nav__chevron,
.nav__dropdown:focus-within .nav__chevron { transform: rotate(90deg); }
.nav__dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: rgba(72,8,20,0.97);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 18px 8px 8px; /* top padding bridges the visual gap without creating a hover dead-zone */
  min-width: 210px;
  z-index: 1001;
  box-shadow: 0 20px 48px rgba(0,0,0,0.5);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
}
.nav__dropdown:hover .nav__dropdown-menu,
.nav__dropdown:focus-within .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav__dropdown-menu li a {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 10px 16px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.nav__dropdown-menu li a:hover { color: #fff; background: rgba(255,255,255,0.08); }
.nav__dropdown-menu li a.active { color: var(--crimson); }

/* Mobile accordion groups */
.nav__mobile-group { width: 100%; }
.nav__mobile-group-toggle {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  width: 100%;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 12px 28px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: color 0.2s;
}
.nav__mobile-group-toggle:hover { color: #fff; }
.nav__mobile-group-toggle.active { color: var(--crimson); }
.nav__mobile-group-chevron {
  font-size: 12px;
  transition: transform 0.2s;
  opacity: 0.6;
}
.nav__mobile-group-toggle.open .nav__mobile-group-chevron { transform: rotate(90deg); }
.nav__mobile-group-items {
  display: none;
  flex-direction: column;
  align-items: stretch;
  background: rgba(0,0,0,0.2);
  padding: 4px 0;
}
.nav__mobile-group-items.open { display: flex; }
.nav__mobile-group-items a { font-size: 13px; padding: 10px 28px 10px 44px; text-align: left; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  position: relative;
  height: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  margin-top: var(--nav-h);
  background: linear-gradient(160deg, #7d1a30 0%, #4a0c1a 60%);
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(224,31,56,0.3) 0%, transparent 70%);
}
.page-hero__eagle {
  position: absolute;
  opacity: 0.06;
  width: 500px;
  height: auto;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  display: block;
}
.page-hero__label {
  position: relative;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--crimson);
  margin-bottom: 12px;
}
.page-hero__title {
  position: relative;
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(52px, 8vw, 96px);
  line-height: 1;
  letter-spacing: 0.04em;
  color: #fff;
}
.page-hero__sub {
  position: relative;
  font-size: 15px;
  color: var(--text-muted);
  margin-top: 14px;
  max-width: 500px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.btn--crimson {
  background: var(--crimson);
  color: #fff;
}
.btn--crimson:hover {
  background: var(--crimson-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(192,21,42,0.3);
}
.btn--outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.3);
}
.btn--outline:hover {
  border-color: #fff;
  transform: translateY(-2px);
}
.btn--gold {
  background: var(--gold);
  color: #0a0a0a;
}
.btn--gold:hover {
  background: #b8943e;
  transform: translateY(-2px);
}
.btn--lg {
  font-size: 14px;
  padding: 18px 44px;
}
.btn--sm {
  font-size: 11px;
  padding: 10px 20px;
}
.btn--pill { border-radius: 50px; }
.btn--full { width: 100%; }

/* ── SHIMMER EFFECT ── */
@keyframes shimmer-sweep {
  0%   { transform: translateX(-160%) skewX(-14deg); }
  28%  { transform: translateX(460%) skewX(-14deg); }
  100% { transform: translateX(460%) skewX(-14deg); }
}
.btn--shimmer {
  position: relative;
  overflow: hidden;
}
.btn--shimmer::after {
  content: '';
  position: absolute;
  inset: 0;
  width: 50%;
  background: linear-gradient(
    105deg,
    transparent 15%,
    rgba(255,255,255,0.22) 50%,
    transparent 85%
  );
  transform: translateX(-160%) skewX(-14deg);
  animation: shimmer-sweep 3s infinite;
  pointer-events: none;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 72px 40px; }
.section--tight { padding: 44px 40px; }
.section--dark { background: var(--bg); }
.section--surface { background: var(--surface); }
/* White sections */
.section--white {
  background: var(--white-bg);
  color: var(--white-text);
}
.section--white .section-label { color: var(--crimson); }
.section--white .section-title { color: var(--white-text); }
.section--white .section-sub { color: var(--white-muted); }
.section--white .divider { background: var(--white-border); }
/* White cards */
.section--white .card,
.section--white .pillar-card,
.section--white .step-card {
  background: var(--white-surface);
  border-color: var(--white-border);
}
.section--white .card__title,
.section--white .pillar-card__title,
.section--white .step-card__title { color: var(--white-text); }
.section--white .card__text,
.section--white .pillar-card__text,
.section--white .step-card__text { color: var(--white-muted); }
.section--white .pillar-card__num { color: rgba(90,14,30,0.12); }
.section--white .stat-bar__number { color: var(--crimson); }
.section--white .stat-bar__label { color: var(--white-muted); }

.section--crimson {
  background: linear-gradient(135deg, #6e1224 0%, #9e1a34 50%, #6e1224 100%);
  position: relative;
  overflow: hidden;
}
.section--crimson::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(224,31,56,0.3) 0%, transparent 70%);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--crimson);
  margin-bottom: 16px;
}
.section-title {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: 0.04em;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 20px;
}
.section-sub {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
}

/* ============================================================
   STAT BAR
   ============================================================ */
.stat-bar {
  background: var(--white-bg);
  border-top: 1px solid var(--white-border);
  border-bottom: 1px solid var(--white-border);
  padding: 40px;
}
.stat-bar .stat-bar__number { color: var(--crimson); }
.stat-bar .stat-bar__label { color: var(--white-muted); }
.stat-bar .stat-bar__item { border-right-color: var(--white-border); }
.stat-bar__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-bar__item {
  text-align: center;
  padding: 20px;
  border-right: 1px solid var(--border);
}
.stat-bar__item:last-child { border-right: none; }
.stat-bar__number {
  font-family: 'Bebas Neue', cursive;
  font-size: 52px;
  line-height: 1;
  color: var(--gold);
  letter-spacing: 0.02em;
}
.stat-bar__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 6px;
}

/* ============================================================
   CARDS / GRIDS
   ============================================================ */
.card-grid {
  display: grid;
  gap: 24px;
}
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover {
  border-color: rgba(192,21,42,0.4);
  transform: translateY(-3px);
}
.card__body { padding: 28px; }
.card__icon {
  font-size: 28px;
  margin-bottom: 16px;
  color: var(--gold);
}
.card__title {
  font-family: 'Bebas Neue', cursive;
  font-size: 24px;
  letter-spacing: 0.04em;
  color: #fff;
  margin-bottom: 10px;
}
.card__text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Broker cards */
.broker-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
  text-align: center;
}
.broker-card:hover {
  border-color: rgba(255,255,255,0.4);
  transform: translateY(-4px);
}
.broker-card__photo {
  aspect-ratio: 3/4;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.broker-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.broker-card__photo-placeholder {
  font-size: 48px;
  opacity: 0.2;
}
.broker-card__name {
  padding: 16px 12px;
  font-family: 'Bebas Neue', cursive;
  font-size: 18px;
  letter-spacing: 0.06em;
  color: #fff;
  line-height: 1.2;
}
.broker-card__name span {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 4px;
}

/* Appointment cards */
.appt-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.2s, transform 0.2s;
}
.appt-card:hover {
  border-color: var(--crimson);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(192,21,42,0.15);
}
.appt-card__duration {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--crimson);
}
.appt-card__title {
  font-family: 'Bebas Neue', cursive;
  font-size: 36px;
  letter-spacing: 0.04em;
  color: #fff;
  line-height: 1;
}
.appt-card__desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
}

/* Pillar cards */
.pillar-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 36px 28px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}
.pillar-card:hover {
  border-color: rgba(201,168,76,0.4);
  transform: translateY(-3px);
}
.pillar-card__num {
  font-family: 'Bebas Neue', cursive;
  font-size: 64px;
  line-height: 1;
  color: rgba(201,168,76,0.15);
  margin-bottom: -10px;
}
.pillar-card__title {
  font-family: 'Bebas Neue', cursive;
  font-size: 26px;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin-bottom: 12px;
}
.pillar-card__text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Video grid */
.video-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
  cursor: pointer;
}
.video-card:hover {
  border-color: rgba(192,21,42,0.4);
  transform: translateY(-3px);
}
.video-card__thumb {
  aspect-ratio: 16/9;
  background: var(--surface-2);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.video-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-card__play {
  position: absolute;
  width: 54px;
  height: 54px;
  background: rgba(192,21,42,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, background 0.2s;
}
.video-card:hover .video-card__play {
  transform: scale(1.1);
  background: var(--crimson);
}
.video-card__play svg {
  width: 18px;
  height: 18px;
  fill: #fff;
  margin-left: 3px;
}
.video-card__duration {
  position: absolute;
  bottom: 8px; right: 10px;
  background: rgba(0,0,0,0.8);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 3px;
}
.video-card__body { padding: 16px 18px; }
.video-card__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.45;
}

/* Presentation rows */
.pres-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s;
  margin-bottom: 2px;
}
.pres-row:hover { border-color: rgba(192,21,42,0.3); }
.pres-row__thumb {
  aspect-ratio: 16/9;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.pres-row__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pres-row__thumb-placeholder {
  font-size: 40px;
  opacity: 0.2;
}
.pres-row__body {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.pres-row__title {
  font-family: 'Bebas Neue', cursive;
  font-size: 24px;
  letter-spacing: 0.04em;
  color: #fff;
}
.pres-row__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Licensing steps */
.step-card {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.2s;
}
.step-card:hover { border-color: rgba(192,21,42,0.3); }
.step-card__num {
  font-family: 'Bebas Neue', cursive;
  font-size: 52px;
  line-height: 1;
  color: var(--crimson);
  opacity: 0.6;
  flex-shrink: 0;
  width: 50px;
}
.step-card__title {
  font-family: 'Bebas Neue', cursive;
  font-size: 22px;
  letter-spacing: 0.04em;
  color: #fff;
  margin-bottom: 8px;
}
.step-card__text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #3a0a14;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 60px 40px 40px;
}
.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}
.footer__brand {}
.footer__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer__logo svg { height: 36px; width: auto; }
.footer__logo img {
  display: block;
  width: 140px;
  height: 32px;
  object-fit: cover;
  object-position: center 42%;
}
.footer__logo-text {
  font-family: 'Bebas Neue', cursive;
  font-size: 24px;
  letter-spacing: 0.1em;
  color: #fff;
}
.footer__tagline {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 260px;
  font-style: italic;
}
.footer__col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer__links a:hover { color: #fff; }
.footer__bottom {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}
.footer__php {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer__php-badge {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}
.footer__legal {
  display: flex;
  gap: 16px;
}
.footer__legal a {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color 0.3s;
}
.footer__legal a:hover { color: rgba(255,255,255,0.7); }

/* ============================================================
   FADE-IN ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in--delay-1 { transition-delay: 0.1s; }
.fade-in--delay-2 { transition-delay: 0.2s; }
.fade-in--delay-3 { transition-delay: 0.3s; }
.fade-in--delay-4 { transition-delay: 0.4s; }

/* ============================================================
   DIVIDER
   ============================================================ */
.divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ── Compact desktop links (1025px–1200px) ── */
@media (min-width: 1025px) and (max-width: 1200px) {
  .nav { padding: 0 28px; }
  .nav__links { gap: 2px; }
  .nav__links a { padding: 6px 8px; font-size: 12px; }
  .nav__dropdown-toggle { padding: 6px 8px; font-size: 12px; }
  .nav__cta { padding: 9px 18px; font-size: 11px; }
}

/* ── Switch to hamburger (≤1024px) ── */
@media (max-width: 1024px) {
  .nav__links { display: none; }
  .nav__cta.desktop { display: none; }
  .nav__hamburger { display: flex; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 36px; }
}

/* ── Tablet (769px–1024px) ── */
@media (min-width: 769px) and (max-width: 1024px) {
  .nav { padding: 0 36px; }
  .nav__logo { width: 172px; height: 102px; } /* ~22px bleed */
  .section { padding: 60px 36px; }
  .section--tight { padding: 40px 36px; }
  .stat-bar { padding: 36px 36px; }
  .footer { padding: 52px 36px 36px; }
  .nav__hamburger span { width: 26px; height: 2.5px; }
}

/* ── Mobile (≤768px) ── */
@media (max-width: 768px) {
  .nav { padding: 0 24px; }
  .nav__logo { width: 158px; height: 92px; }  /* ~12px bleed */
  .section { padding: 52px 24px; }
  .section--tight { padding: 36px 24px; }
  .stat-bar { padding: 30px 24px; }
  .stat-bar__inner { grid-template-columns: repeat(2, 1fr); }
  .stat-bar__item { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-bar__item:nth-child(odd) { border-right: 1px solid var(--border); }
  .stat-bar__item:nth-last-child(-n+2) { border-bottom: none; }
  .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .card-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .card-grid--2 { grid-template-columns: 1fr; }
  .pres-row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 30px; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
  .page-hero { height: 260px; }
  .footer { padding: 50px 24px 30px; }
}

/* ── Small phone (≤480px) ── */
@media (max-width: 480px) {
  .nav { padding: 0 16px; }
  .nav__logo { width: 138px; height: 80px; }  /* flush with nav, no bleed */
  .nav__hamburger span { width: 22px; }
  .card-grid--4 { grid-template-columns: 1fr; }
  .card-grid--3 { grid-template-columns: 1fr; }
  .stat-bar__inner { grid-template-columns: 1fr; }
  .stat-bar__item { border-right: none; }
}

/* ── Very small phone (≤375px) ── */
@media (max-width: 375px) {
  .nav { padding: 0 14px; }
  .nav__logo { width: 118px; height: 72px; }  /* compact, no overflow */
  .nav__hamburger span { width: 20px; gap: 4px; }
  .section { padding: 40px 18px; }
  .section--tight { padding: 28px 18px; }
  .footer { padding: 40px 18px 24px; }
  .footer__inner { gap: 20px; }
  .btn { padding: 12px 22px; font-size: 12px; }
  .btn--lg { padding: 15px 22px; font-size: 12px; }
  .btn--sm { padding: 9px 16px; font-size: 10px; }
  .stat-bar { padding: 24px 18px; }
  .stat-bar__number { font-size: 40px; }
  .page-hero { height: 200px; }
  .page-hero__sub { font-size: 13px; padding: 0 10px; }
  .footer__bottom { font-size: 11px; gap: 8px; }
}

/* ── Large desktop (1440px–1919px) ── */
@media (min-width: 1440px) {
  :root { --nav-h: 88px; }
  .nav { padding: 0 64px; }
  .nav__logo { width: 210px; height: 132px; } /* ~44px bleed */
  .nav__links { gap: 8px; }
  .nav__links a { font-size: 13px; padding: 6px 12px; }
  .nav__dropdown-toggle { font-size: 13px; padding: 6px 12px; }
  .nav__cta { padding: 11px 26px; font-size: 12px; }
}

/* ── Wide screen (1920px–2559px) ── */
@media (min-width: 1920px) {
  :root { --nav-h: 96px; }
  .nav { padding: 0 max(64px, calc(50vw - 800px)); }
  .nav__logo { width: 244px; height: 154px; } /* ~58px bleed */
  .nav__links { gap: 10px; }
  .nav__links a { font-size: 14px; padding: 6px 14px; }
  .nav__dropdown-toggle { font-size: 14px; padding: 6px 14px; }
  .nav__cta { padding: 12px 30px; font-size: 13px; }
  .section { padding: 88px max(40px, calc(50vw - 680px)); }
  .section--tight { padding: 52px max(40px, calc(50vw - 680px)); }
  .stat-bar { padding: 48px max(40px, calc(50vw - 680px)); }
  .footer { padding: 72px max(40px, calc(50vw - 680px)) 48px; }
}

/* ── Ultra-wide (2560px+) ── */
@media (min-width: 2560px) {
  :root { --nav-h: 108px; }
  .nav { padding: 0 max(80px, calc(50vw - 1000px)); }
  .nav__logo { width: 292px; height: 184px; } /* ~76px bleed */
  .nav__links { gap: 14px; }
  .nav__links a { font-size: 15px; padding: 8px 16px; }
  .nav__dropdown-toggle { font-size: 15px; padding: 8px 16px; }
  .nav__cta { padding: 14px 36px; font-size: 14px; }
  .section { padding: 110px max(80px, calc(50vw - 960px)); }
  .section--tight { padding: 68px max(80px, calc(50vw - 960px)); }
}
