/* ============================================
   CEO BUSINESS SCHOOL — Nano Private Equity
   Dark navy theme, electric blue accents
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #060d1a;
  --bg2: #0a1526;
  --bg3: #0f1f35;
  --border: #1a2e4a;
  --blue: #3b7ed4;
  --blue-light: #5b9bf0;
  --gold: #f0b429;
  --red: #ef4444;
  --green: #22c55e;
  --text: #e8edf5;
  --text-muted: #7a93b8;
  --font: 'Montserrat', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }

a { color: inherit; text-decoration: none; }
.highlight { color: var(--blue-light); }

/* ── HEADER ── */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6,13,26,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.brand { display: block; flex-shrink: 0; }
.brand-logo { height: 46px; width: auto; display: block; }

/* PILL NAV */
.pill-nav {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.pill-nav::-webkit-scrollbar { display: none; }
.pill-nav a {
  flex-shrink: 0;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg2);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.pill-nav a:hover { color: var(--text); border-color: var(--blue); background: var(--bg3); }

/* NAV TOGGLE (hamburguesa, solo móvil) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg2);
  cursor: pointer;
}
.nav-toggle-bar {
  width: 18px;
  height: 2px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.is-active .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle.is-active .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .header-inner { flex-wrap: nowrap; }
  .nav-toggle { display: flex; }
  .pill-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    overflow-x: visible;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 0.8rem 1.2rem 1.2rem;
    gap: 0.5rem;
  }
  .pill-nav.is-open { display: flex; }
  .pill-nav a { width: 100%; text-align: center; }
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: transform 0.15s, background 0.2s;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover { background: var(--blue-light); transform: translateY(-1px); }

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover { border-color: var(--blue); background: var(--bg3); transform: translateY(-1px); }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}
.cta-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* ── HERO ── */
.hero {
  padding: 4.5rem 0 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: url('hero-bg.jpg') center center / cover no-repeat;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(6,13,26,0.90) 0%,
    rgba(6,13,26,0.94) 60%,
    rgba(6,13,26,0.99) 100%);
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(59,126,212,0.2) 0%, transparent 70%);
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
  text-align: left;
}
.hero-content .cta-row { justify-content: flex-start; }
.hero-media { width: 100%; }
.hero-media .video-wrap { max-width: none; width: 100%; margin: 0; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 1.4rem; }
  .hero-content { display: contents; }
  .hero-content .tag { order: 1; }
  .hero-content h1 { order: 2; }
  .hero-content .subhead { order: 3; }
  .hero-content .cta-row { justify-content: center; order: 4; }
  .hero-media { order: 5; }
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(59,126,212,0.1);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 1.5rem;
}
h1 {
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
}
.subhead {
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--text);
  max-width: 600px;
  margin: 0 0 2rem;
}
@media (max-width: 900px) {
  .subhead { margin: 0 auto 2rem; }
}

/* VIDEO */
.video-wrap {
  max-width: 780px;
  margin: 0 auto 2.5rem;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg2);
  aspect-ratio: 16 / 9;
  position: relative;
}
.video-wrap iframe {
  width: 100%; height: 100%; border: none; display: block; position: absolute; inset: 0;
}
/* YOUTUBE FACADE (miniatura + botón de play, sin cargar YouTube hasta el clic) */
.yt-facade { cursor: pointer; }
.yt-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.yt-play-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}
.yt-facade:hover .yt-play-btn { background: var(--blue-light); transform: scale(1.06); }
.yt-play-btn .play-icon { transform: translateX(2px); }

/* REPRODUCTOR CON CONTROLES PROPIOS */
.yt-player-host { position: absolute; inset: 0; width: 100%; height: 100%; }
.yt-player-host iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; display: block; }
.yt-tap-catcher {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  z-index: 1;
}
.yt-controls {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.8rem;
  background: linear-gradient(to top, rgba(6,13,26,0.92), rgba(6,13,26,0.55) 70%, transparent);
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.yt-controls.is-visible {
  opacity: 1;
  pointer-events: auto;
}
/* El hover solo se activa en dispositivos con puntero fino (ratón):
   en táctil, :hover se queda "pegado" tras tocar y la barra nunca
   desaparecería durante la reproducción. */
@media (hover: hover) and (pointer: fine) {
  .video-wrap:hover .yt-controls {
    opacity: 1;
    pointer-events: auto;
  }
}
.yt-ctrl {
  flex-shrink: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 0.9rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
  transition: opacity 0.15s;
}
.yt-ctrl:hover { opacity: 1; }
.yt-ctrl-play { font-size: 0.75rem; }
.yt-progress {
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  height: 14px;
  margin: 0;
  background: transparent;
  cursor: pointer;
}
.yt-progress::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    var(--blue-light) 0%,
    var(--blue-light) var(--yt-progress-pct, 0%),
    rgba(255, 255, 255, 0.25) var(--yt-progress-pct, 0%),
    rgba(255, 255, 255, 0.25) 100%
  );
}
.yt-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  margin-top: -4px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(6, 13, 26, 0.35);
}
.yt-progress::-moz-range-track {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
}
.yt-progress::-moz-range-progress {
  height: 4px;
  border-radius: 999px;
  background: var(--blue-light);
}
.yt-progress::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: none;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(6, 13, 26, 0.35);
}
.yt-time {
  flex-shrink: 0;
  color: #fff;
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
  opacity: 0.9;
}

/* STATS */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 0;
  margin: 2.5rem auto 0;
  flex-wrap: wrap;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg2);
  max-width: 620px;
  overflow: hidden;
}
.stat {
  flex: 1;
  min-width: 160px;
  padding: 1.3rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }
.stat-num { font-size: 1.4rem; font-weight: 800; color: var(--blue-light); }
.stat-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-align: center;
}

/* Entrada del Hero al cargar la página */
@keyframes heroReveal {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero .tag, .hero h1, .hero .subhead, .hero-media .video-wrap, .hero .cta-row, .hero-stats {
  animation: heroReveal 0.6s ease-out both;
}
.hero .tag { animation-delay: 0s; }
.hero h1 { animation-delay: 0.08s; }
.hero .subhead { animation-delay: 0.16s; }
.hero-media .video-wrap { animation-delay: 0.2s; }
.hero .cta-row { animation-delay: 0.28s; }
.hero-stats { animation-delay: 0.36s; }

/* ── SECTIONS ── */
section.block {
  padding: 4rem 0;
  border-top: 1px solid var(--border);
}
/* El banner ya hace de separador visual, así que la sección siguiente
   no necesita además su propia línea divisoria. */
.community-banner + section.block { border-top: none; }

/* BANNER COMUNIDAD */
.community-banner {
  max-width: 900px;
  margin: 0 auto;
  padding: 1.2rem 1.8rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(240, 180, 41, 0.14), rgba(59, 126, 212, 0.08));
  border: 1px solid rgba(240, 180, 41, 0.4);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.community-banner-icon { font-size: 1.6rem; flex-shrink: 0; }
.community-banner-text {
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.5;
}
.community-banner-text strong { color: var(--gold); }
.community-banner-link {
  display: inline-block;
  margin-left: 0.4rem;
  color: var(--gold);
  font-weight: 700;
  white-space: nowrap;
}
.community-banner-link:hover { color: var(--blue-light); }
@media (max-width: 640px) {
  .community-banner { flex-direction: column; text-align: center; padding: 1.1rem 1.3rem; }
  .community-banner-link { margin-left: 0; margin-top: 0.3rem; }
}

/* COMUNIDAD */
.community-card {
  max-width: 900px;
  margin: 2rem auto 0;
  background: var(--bg2);
  border: 1px solid rgba(240, 180, 41, 0.35);
  border-radius: 16px;
  box-shadow: 0 0 40px rgba(240, 180, 41, 0.1);
  padding: 2.2rem 2.5rem;
}
.community-includes {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 2rem;
  text-align: left;
}
.community-includes li {
  font-size: 0.9rem;
  color: var(--text);
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.5;
}
.community-includes li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
@media (max-width: 640px) {
  .community-card { padding: 1.6rem 1.4rem; }
  .community-includes { grid-template-columns: 1fr; }
}
.section-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--blue);
  margin-bottom: 1rem;
  text-transform: uppercase;
  text-align: center;
}
section.block h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
  text-align: center;
}
.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 820px;
  line-height: 1.8;
  margin: 0 auto 1.1rem;
  text-align: center;
}
.section-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 1.5rem;
}

/* FRAMEWORK CARDS */
.framework-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
@media (max-width: 720px) { .framework-grid { grid-template-columns: 1fr; } }
.fw-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.6rem;
  transition: border-color 0.2s;
}
.fw-card:hover { border-color: var(--blue); }
.fw-num {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin-bottom: 0.6rem;
  display: block;
}
.fw-card h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 0.6rem; }
.fw-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* SYLLABUS */
.syllabus-meta {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2.5rem;
}
.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.mcard {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.2rem 1.3rem;
  transition: border-color 0.2s;
}
.mcard:hover { border-color: var(--blue); }
.mcard-num {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--blue);
  display: block;
  margin-bottom: 0.5rem;
}
.mcard h4 { font-size: 0.92rem; font-weight: 700; margin-bottom: 0.5rem; line-height: 1.35; }
.mcard p { font-size: 0.78rem; color: var(--text-muted); line-height: 1.55; }

/* METHODOLOGY */
.method-grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 2.5rem auto 0;
  align-items: start;
}
@media (max-width: 720px) { .method-grid-2x2 { grid-template-columns: 1fr; } }
.pill-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: border-color 0.2s;
}
.pill-card:hover { border-color: var(--blue); }
.pill-img {
  margin: -1.5rem -1.5rem 1.2rem;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--bg3);
}
.pill-img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.pill-img img.obj-top { object-position: top; }
.pill-card h4 { font-size: 1rem; font-weight: 800; margin-bottom: 0.6rem; color: var(--blue-light); }
.pill-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.65; }

.method-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 980px;
  margin: 1.5rem auto 0;
}
@media (max-width: 720px) { .method-gallery { grid-template-columns: 1fr; } }
.gallery-img {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.gallery-img img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* CAMPUS */
.campus-image-wrap {
  max-width: 980px;
  margin: 2.5rem auto 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.campus-image-wrap img { display: block; width: 100%; height: auto; }

/* FIT GRID */
.fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (max-width: 640px) { .fit-grid { grid-template-columns: 1fr; } }
.fit-card { border-radius: 12px; padding: 1.6rem; border: 1px solid var(--border); }
.fit-yes { background: rgba(34,197,94,0.06); border-color: rgba(34,197,94,0.3); }
.fit-no { background: rgba(239,68,68,0.06); border-color: rgba(239,68,68,0.3); }
.fit-card h3 { font-size: 0.95rem; margin-bottom: 1rem; }
.fit-card ul { list-style: none; }
.fit-card li {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.7rem;
  padding-left: 1.2rem;
  position: relative;
  line-height: 1.5;
}
.fit-card li::before { content: '→'; position: absolute; left: 0; }
.fit-yes li::before { color: var(--green); }
.fit-no li::before { color: var(--red); }

/* PRICE */
.price-box {
  background: var(--bg2);
  border: 1px solid var(--blue);
  border-radius: 16px;
  box-shadow: 0 0 40px rgba(59,126,212,0.12);
  padding: 2.5rem;
  max-width: 620px;
  margin: 2.5rem auto 0;
  text-align: center;
}
.price-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}
.price-amount { font-size: 3rem; font-weight: 800; line-height: 1; margin-bottom: 0.5rem; }
.price-amount span {
  display: block;
  margin-top: 0.4rem;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--text-muted);
  font-weight: 500;
}
.price-tagline { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 0.6rem; }
.price-installment {
  display: inline-block;
  background: rgba(59,126,212,0.1);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue-light);
  margin-bottom: 1.8rem;
}
.price-includes {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
}
.price-includes li {
  font-size: 0.86rem;
  color: var(--text);
  margin-bottom: 0.6rem;
  padding-left: 1.4rem;
  position: relative;
  line-height: 1.5;
}
.price-includes li::before { content: '✓'; position: absolute; left: 0; color: var(--blue-light); font-weight: 700; }
.price-includes-link { color: var(--gold); font-weight: 700; white-space: nowrap; }
.price-includes-link:hover { color: var(--blue-light); }

/* INSTRUCTOR */
.instructor-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
  max-width: 760px;
  margin: 2.5rem auto 0;
  position: relative;
  overflow: hidden;
}
.instructor-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
}
.instructor-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.instructor-photo {
  width: 180px;
  flex-shrink: 0;
  display: block;
}
.instructor-text { flex: 1; text-align: left; }
.instructor-label {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}
.instructor-card h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 0.6rem; }
.instructor-meta { color: var(--text-muted); font-size: 0.85rem; line-height: 1.7; }
.instructor-meta em { color: var(--blue-light); font-style: normal; }
@media (max-width: 640px) {
  .instructor-inner { flex-direction: column; text-align: center; }
  .instructor-text { text-align: center; }
  .instructor-photo { width: 140px; }
}

/* FINAL CTA */
.final-cta {
  text-align: center;
  padding: 4.5rem 0;
  border-top: 1px solid var(--border);
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(59,126,212,0.1) 0%, transparent 70%);
}
.final-cta .slogan {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 1rem;
}
.final-cta h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 800; margin-bottom: 1rem; }
.final-cta p.lede { color: var(--text-muted); margin-bottom: 2rem; }
.final-cta .cta-note { margin-top: 1rem; }

footer {
  text-align: center;
  padding: 2rem 1.5rem 3rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}
footer p { max-width: 780px; margin: 0 auto; }
footer a { color: var(--blue-light); }
footer a:hover { text-decoration: underline; }
.footer-legal {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.72rem;
}
.footer-legal a { color: var(--text-muted); }
.footer-legal a:hover { color: var(--blue-light); }

/* ── LEGAL PAGES ── */
.legal-container { max-width: 780px; margin: 0 auto; padding: 3rem 1.5rem 5rem; }
.legal-back { color: var(--blue-light); text-decoration: none; font-size: 0.9rem; }
.legal-container h1 { font-size: 1.8rem; font-weight: 800; margin: 1.5rem 0 0; }
.legal-container h2 { font-size: 1.15rem; font-weight: 700; color: var(--blue-light); margin-top: 2.2rem; margin-bottom: 0.6rem; }
.legal-container p, .legal-container li { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; }
.legal-container ul { padding-left: 1.2rem; margin-bottom: 1rem; }
.legal-container li { margin-bottom: 0.3rem; }
.legal-container strong { color: var(--text); }
.legal-updated {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 3rem;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

/* SCROLL REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
