/* SoulSync — sistema visual
   Verde bosque profundo, dorado suave para acciones y acentos, crema en
   las secciones claras y el salvia del logo. Newsreader ligera para
   titulares, Figtree para texto. Todo autoalojado. */

@font-face {
  font-family: "Newsreader";
  src: url(../fonts/newsreader.woff2) format("woff2");
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url(../fonts/newsreader-italic.woff2) format("woff2");
  font-weight: 300 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url(../fonts/figtree.woff2) format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --forest: #1f3a2e;
  --forest-2: #1a3228;
  --forest-3: #142820;
  --gold: #e3c27d;
  --gold-soft: #ecd39e;
  --cream: #f4efe4;
  --sand: #ebe3d2;
  --sage: #5e8a5b;
  --ink: #1c2b23;
  --muted: #5d6860;
  --line: #d9cfbc;
  --on-dark: #f4efe4;
  --on-dark-muted: rgba(244, 239, 228, .72);
  --line-dark: rgba(244, 239, 228, .16);

  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 56px);
  --section: clamp(88px, 11vw, 150px);
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 300; line-height: 1.08; letter-spacing: -0.012em; text-wrap: balance; }
em { font-style: italic; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 100; background: var(--gold); color: var(--ink); padding: 10px 16px; }
.skip:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Datos pendientes de confirmar con el cliente */
.tbd { background: rgba(227, 194, 125, .35); border-radius: 3px; padding: 0 4px; }

.eyebrow {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--sage);
}
.on-dark .eyebrow, .eyebrow.gold { color: var(--gold); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 50px; padding: 0 26px;
  border-radius: 3px;
  font-size: 15px; font-weight: 500; letter-spacing: .01em;
  text-decoration: none;
  transition: background-color .25s, color .25s, border-color .25s;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .25s; }
.btn:hover svg { transform: translateX(3px); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-line { border: 1px solid rgba(244, 239, 228, .7); color: var(--on-dark); }
.btn-line:hover { background: var(--on-dark); color: var(--ink); }
.btn-forest { background: var(--forest); color: var(--on-dark); }
.btn-forest:hover { background: var(--forest-3); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  color: var(--on-dark);
  transition: background-color .3s, box-shadow .3s;
}
.site-header.scrolled, .page-solid .site-header {
  background: var(--forest);
  box-shadow: 0 1px 0 var(--line-dark);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; }
.logo { display: block; flex: none; }
.logo img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); }
.nav-links { display: flex; gap: clamp(20px, 2.6vw, 38px); list-style: none; margin: 0; padding: 0; }
.nav-links a { font-size: 15px; text-decoration: none; color: var(--on-dark); opacity: .88; transition: opacity .2s, color .2s; }
.nav-links a:hover { opacity: 1; color: var(--gold); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.lang { display: flex; gap: 2px; font-size: 13px; font-weight: 600; letter-spacing: .08em; }
.lang a, .lang span { padding: 6px 7px; text-decoration: none; }
.lang span { color: var(--gold); }
.lang a { color: var(--on-dark-muted); }
.lang a:hover { color: var(--on-dark); }
.header-cta { min-height: 44px; padding: 0 20px; font-size: 14.5px; }
.menu-toggle { display: none; }

@media (max-width: 960px) {
  .nav-links { display: none; }
  .header-cta { display: none; }
  .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border: 0; background: none; color: var(--on-dark); cursor: pointer;
  }
  .nav.open .nav-links {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 84px; left: 0; right: 0;
    background: var(--forest); padding: 4px var(--gutter) 24px;
    box-shadow: 0 1px 0 var(--line-dark);
  }
  .nav.open .nav-links a { display: block; padding: 15px 0; font-size: 18px; border-bottom: 1px solid var(--line-dark); }
  .site-header:has(.nav.open) { background: var(--forest); }
  .logo img { height: 34px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--forest);
  color: var(--on-dark);
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(72%, 1100px);
  z-index: -2;
}
.hero-media video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 6% 50%; filter: saturate(.85); }
/* Funde la foto con el verde: sólido a la izquierda, abierto a la derecha */
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--forest) 0%, rgba(31, 58, 46, .82) 22%, rgba(31, 58, 46, .35) 52%, rgba(31, 58, 46, .1) 80%);
}
/* Sombras de arriba (para el menú) y de abajo (hacia la franja), a todo el ancho */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(0deg, var(--forest-2) 0%, rgba(26, 50, 40, 0) 38%),
    linear-gradient(180deg, rgba(20, 40, 32, .55) 0%, rgba(20, 40, 32, 0) 20%);
}
.hero-content {
  min-height: min(92vh, 860px);
  display: flex; flex-direction: column; justify-content: center;
  padding: 150px 0 72px;
}
.hero-text { max-width: 620px; }
.hero h1 { font-size: clamp(44px, 5.6vw, 78px); margin-top: 22px; }
.hero h1 em { color: var(--gold); }
.hero-rule { width: 64px; height: 1px; background: var(--gold); margin: 34px 0 30px; border: 0; }
.hero-lede { font-size: clamp(17px, 1.45vw, 19.5px); color: var(--on-dark-muted); max-width: 30em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

/* Franja de beneficios */
.benefits { background: var(--forest-2); border-top: 1px solid var(--line-dark); }
.benefits ul {
  list-style: none; margin: 0 auto; padding: 36px 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
}
.benefit { display: flex; gap: 18px; align-items: flex-start; padding: 4px 28px; }
.benefit:first-child { padding-left: 0; }
.benefit + .benefit { border-left: 1px solid var(--line-dark); }
.benefit-icon {
  flex: none; width: 54px; height: 54px; border-radius: 50%;
  border: 1px solid rgba(227, 194, 125, .45);
  display: grid; place-items: center; color: var(--gold);
}
.benefit-icon svg { width: 26px; height: 26px; }
.benefit h3 { font-family: var(--sans); font-size: 15.5px; font-weight: 500; letter-spacing: 0; line-height: 1.3; color: var(--on-dark); }
.benefit p { margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--on-dark-muted); }

@media (max-width: 1060px) {
  .benefits ul { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .benefit:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 760px) {
  /* En móvil la foto va arriba y el texto debajo, sobre el verde */
  .hero-media { width: 100%; bottom: auto; height: 460px; }
  .hero-media video { object-position: 30% 50%; }
  .hero-media::after {
    background: linear-gradient(0deg, var(--forest) 0%, rgba(31, 58, 46, .6) 30%, rgba(31, 58, 46, 0) 60%, rgba(20, 40, 32, .45) 100%);
  }
  .hero::before { display: none; }
  .hero-content { min-height: 0; padding: 360px 0 56px; }
  .benefits ul { grid-template-columns: 1fr; padding: 28px 0; row-gap: 22px; }
  .benefit, .benefit + .benefit { padding: 0; border-left: 0; }
}

/* ---------- Secciones ---------- */
.section { padding: var(--section) 0; }
.section-sand { background: var(--sand); }
.section-title { font-size: clamp(36px, 4.4vw, 58px); margin-top: 18px; }
.section-title em { color: var(--sage); }
.on-dark .section-title em { color: var(--gold); }

/* ---------- Enfoque ---------- */
.approach { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.approach-media { margin: 0; position: relative; }
.approach-media img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; object-position: 45% 50%; border-radius: var(--radius); }
.approach-media figcaption {
  position: absolute; left: 20px; bottom: 20px; right: 20px;
  display: inline-flex; width: fit-content; max-width: calc(100% - 40px);
  background: rgba(31, 58, 46, .88); color: var(--on-dark);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  padding: 12px 18px; border-radius: 3px; font-size: 14px;
}
.approach-body p { margin-top: 22px; font-size: 18px; color: var(--muted); }
.approach-body .lead { font-family: var(--serif); font-size: clamp(21px, 1.9vw, 25px); line-height: 1.45; color: var(--ink); margin-top: 28px; }
.pillars { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--line); }
.pillars li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 16.5px; }
.pillars p { margin: 0; font-size: 16.5px; color: var(--ink); }
.pillars svg { width: 22px; height: 22px; color: var(--sage); margin-top: 2px; }
.pillars strong { font-weight: 600; }
.pillars span { color: var(--muted); }
@media (max-width: 860px) {
  .approach { grid-template-columns: 1fr; }
  .approach-media img { aspect-ratio: 4 / 3; }
}

/* ---------- Programas ---------- */
.programs-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px clamp(32px, 6vw, 96px); align-items: end; }
@media (max-width: 860px) { .programs-head { grid-template-columns: 1fr; } }
.programs-head p { max-width: 30em; color: var(--muted); font-size: 17.5px; }
.programs { list-style: none; margin: clamp(48px, 6vw, 72px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.program-card { display: flex; flex-direction: column; }
.program-card .photo { overflow: hidden; border-radius: var(--radius); }
.program-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.program-card:hover img { transform: scale(1.04); }
.program-card h3 { font-size: 26px; margin-top: 22px; }
.program-card p { margin-top: 10px; font-size: 15.5px; color: var(--muted); }
@media (max-width: 1000px) { .programs { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; } }
@media (max-width: 520px) { .programs { grid-template-columns: 1fr; } .program-card img { aspect-ratio: 4 / 3; } }

/* ---------- Cursos Online Digitales (Animado & Interactivo) ---------- */
.digital-courses-card {
  margin-top: clamp(56px, 7vw, 84px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(135deg, var(--forest-3) 0%, var(--forest) 55%, var(--forest-2) 100%);
  color: var(--on-dark);
  border-radius: calc(var(--radius) * 2.5);
  border: 1px solid rgba(227, 194, 125, .25);
  box-shadow: 0 20px 50px rgba(20, 40, 32, .22), 0 0 0 1px rgba(244, 239, 228, .06) inset;
  padding: clamp(36px, 5vw, 64px) clamp(28px, 4.5vw, 60px);
}

/* Efectos de fondo: Auras de luz flotantes y ondas de respiración */
.digital-aura-1,
.digital-aura-2 {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .45;
  pointer-events: none;
  z-index: -1;
  animation: auraFloat 10s ease-in-out infinite alternate;
}
.digital-aura-1 {
  top: -80px;
  right: -60px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(227, 194, 125, .45) 0%, rgba(227, 194, 125, 0) 70%);
}
.digital-aura-2 {
  bottom: -100px;
  left: 5%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(94, 138, 91, .5) 0%, rgba(94, 138, 91, 0) 70%);
  animation-duration: 14s;
  animation-direction: alternate-reverse;
}

@keyframes auraFloat {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 25px) scale(1.12); }
  100% { transform: translate(25px, -20px) scale(0.95); }
}

/* Ondas concéntricas de sonido / meditación */
.sound-ripples {
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  width: 440px;
  height: 440px;
  pointer-events: none;
  z-index: -1;
  opacity: .18;
}
.sound-ripple-circle {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  animation: soundRipple 7s cubic-bezier(0.2, 0.8, 0.4, 1) infinite;
}
.sound-ripple-circle:nth-child(2) { animation-delay: 2.3s; }
.sound-ripple-circle:nth-child(3) { animation-delay: 4.6s; }

@keyframes soundRipple {
  0% { transform: scale(0.25); opacity: 0.8; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* Layout del contenido interior */
.digital-courses-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Columna izquierda: Información principal */
.digital-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(227, 194, 125, .12);
  border: 1px solid rgba(227, 194, 125, .35);
  color: var(--gold);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.pulse-beacon {
  position: relative;
  width: 8px;
  height: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
}
.pulse-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  animation: beaconPulse 2s ease-out infinite;
}
@keyframes beaconPulse {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

.digital-title {
  font-size: clamp(32px, 3.8vw, 48px);
  color: var(--on-dark);
  margin-top: 18px;
  line-height: 1.12;
}
.digital-title em {
  color: var(--gold);
  font-style: italic;
}

.digital-text {
  margin-top: 18px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--on-dark-muted);
  max-width: 34em;
}
.digital-text strong {
  color: var(--on-dark);
  font-weight: 600;
}

/* Visualizador interactivo de ondas sonoras / ecualizador zen */
.soundwave-visualizer {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  padding: 14px 20px;
  background: rgba(20, 40, 32, .45);
  border: 1px solid rgba(244, 239, 228, .1);
  border-radius: 10px;
  backdrop-filter: blur(8px);
  width: fit-content;
}
.soundwave-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: .02em;
}
.soundwave-label svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.soundwave-bars {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 24px;
  padding: 0 4px;
}
.soundwave-bar {
  width: 3.5px;
  background: var(--gold);
  border-radius: 4px;
  height: 6px;
  animation: soundwaveBounce 1.2s ease-in-out infinite alternate;
}
.soundwave-bar:nth-child(1) { animation-delay: 0.1s; height: 8px; }
.soundwave-bar:nth-child(2) { animation-delay: 0.4s; height: 16px; }
.soundwave-bar:nth-child(3) { animation-delay: 0.2s; height: 22px; }
.soundwave-bar:nth-child(4) { animation-delay: 0.6s; height: 14px; }
.soundwave-bar:nth-child(5) { animation-delay: 0.3s; height: 20px; }
.soundwave-bar:nth-child(6) { animation-delay: 0.7s; height: 10px; }
.soundwave-bar:nth-child(7) { animation-delay: 0.25s; height: 18px; }
.soundwave-bar:nth-child(8) { animation-delay: 0.5s; height: 12px; }
.soundwave-bar:nth-child(9) { animation-delay: 0.35s; height: 24px; }
.soundwave-bar:nth-child(10) { animation-delay: 0.15s; height: 15px; }

@keyframes soundwaveBounce {
  0% { transform: scaleY(0.3); opacity: 0.45; }
  100% { transform: scaleY(1); opacity: 1; }
}

/* Columna derecha: Tarjetas de práctica interactivas */
.digital-cards-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.digital-card-item {
  display: flex;
  gap: 18px;
  align-items: center;
  background: rgba(244, 239, 228, .05);
  border: 1px solid rgba(244, 239, 228, .12);
  border-radius: 12px;
  padding: 16px 20px;
  backdrop-filter: blur(10px);
  transition: transform .3s ease, background-color .3s ease, border-color .3s ease, box-shadow .3s ease;
  position: relative;
  overflow: hidden;
}
.digital-card-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(227, 194, 125, .15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .3s ease;
}
.digital-card-item:hover {
  transform: translateX(6px);
  background: rgba(244, 239, 228, .09);
  border-color: rgba(227, 194, 125, .45);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
}
.digital-card-item:hover::before {
  opacity: 1;
}

.digital-card-icon {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(227, 194, 125, .15);
  border: 1px solid rgba(227, 194, 125, .3);
  display: grid;
  place-items: center;
  color: var(--gold);
  transition: transform .3s ease, background-color .3s ease;
}
.digital-card-item:hover .digital-card-icon {
  transform: scale(1.08);
  background: var(--gold);
  color: var(--forest-3);
}
.digital-card-icon svg {
  width: 22px;
  height: 22px;
}

.digital-card-content h4 {
  font-family: var(--sans);
  font-size: 16.5px;
  font-weight: 600;
  color: var(--on-dark);
  margin: 0;
}
.digital-card-content p {
  margin-top: 3px;
  font-size: 13.5px;
  color: var(--on-dark-muted);
  line-height: 1.4;
}

/* Features pills en la base */
.digital-features-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.digital-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--on-dark-muted);
  background: rgba(20, 40, 32, .55);
  border: 1px solid rgba(244, 239, 228, .12);
  padding: 5px 14px;
  border-radius: 20px;
}
.digital-tag svg {
  width: 14px;
  height: 14px;
  color: var(--gold);
}

@media (max-width: 980px) {
  .digital-courses-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .sound-ripples {
    display: none;
  }
}
@media (max-width: 580px) {
  .digital-card-item:hover {
    transform: none;
  }
  .soundwave-visualizer {
    width: 100%;
    justify-content: space-between;
  }
}

/* ---------- Rasta Yogui ---------- */
/* Foto a sangre a la derecha fundida con el verde, igual que el hero original */
.feature {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--forest); color: var(--on-dark);
  padding: var(--section) 0;
  min-height: min(96vh, 900px);
  display: flex; align-items: center;
}
.feature > .wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); }
.feature-text-col { max-width: 560px; }
.feature-logo { width: 124px; height: 124px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; margin-top: 30px; }
.feature-logo img { width: 100px; }
.feature h2 { font-size: clamp(38px, 4.6vw, 62px); margin-top: 28px; }
.feature h2 em { color: var(--gold); }
.feature-text { margin-top: 24px; font-size: 18px; color: var(--on-dark-muted); max-width: 31em; }
.feature-tags { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.feature-tags li { border: 1px solid var(--line-dark); border-radius: 999px; padding: 7px 16px; font-size: 14px; color: var(--on-dark-muted); }
.feature .btn { margin-top: 40px; }
.feature-media { position: absolute; top: 0; right: 0; bottom: 0; width: min(72%, 1100px); z-index: -1; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: saturate(.82) contrast(1.02); }
.feature-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--forest) 0%, rgba(31, 58, 46, .82) 22%, rgba(31, 58, 46, .35) 52%, rgba(31, 58, 46, .1) 80%),
    linear-gradient(0deg, rgba(31, 58, 46, .7) 0%, rgba(31, 58, 46, 0) 30%),
    linear-gradient(180deg, rgba(31, 58, 46, .6) 0%, rgba(31, 58, 46, 0) 25%);
}
@media (max-width: 760px) {
  .feature { display: block; min-height: 0; padding-top: 400px; }
  .feature-media { width: 100%; bottom: auto; height: 480px; }
  .feature-media img { object-position: 58% 22%; }
  .feature-media::after {
    background: linear-gradient(0deg, var(--forest) 0%, rgba(31, 58, 46, .6) 30%, rgba(31, 58, 46, 0) 60%, rgba(31, 58, 46, .35) 100%);
  }
}

/* ---------- Footer / contacto ---------- */
.site-footer { background: var(--forest-3); color: var(--on-dark-muted); padding: clamp(72px, 9vw, 110px) 0 36px; font-size: 15px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 48px; }
.footer-brand img { height: 38px; width: auto; }
.footer-brand p { margin-top: 22px; max-width: 24em; }
.footer-col h3 { font-family: var(--sans); font-size: 12.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.footer-col ul { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.footer-col a { text-decoration: none; transition: color .2s; }
.footer-col a:hover { color: var(--on-dark); }
.footer-col address { font-style: normal; }
.footer-label { display: block; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: rgba(244, 239, 228, .45); margin-bottom: 2px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; margin-top: 72px; padding-top: 26px; border-top: 1px solid var(--line-dark); font-size: 13.5px; }
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Páginas legales ---------- */
.legal { padding: calc(84px + clamp(56px, 8vw, 96px)) 0 var(--section); }
.legal-wrap { width: min(100% - 2 * var(--gutter), 760px); margin-inline: auto; }
.legal h1 { font-size: clamp(42px, 5.4vw, 66px); margin-top: 20px; }
.legal .meta { margin-top: 18px; color: var(--muted); font-size: 15px; }
.legal .summary { margin-top: 40px; padding: 26px 0; border-top: 1px solid var(--forest); border-bottom: 1px solid var(--line); font-size: 17.5px; }
.legal .disclaimer { margin-top: 20px; padding: 22px 26px; background: var(--sand); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); }
.legal h2 { font-size: 28px; font-weight: 400; margin-top: 56px; }
.legal p, .legal li { color: #3b463f; }
/* Texto justificado; la división en sílabas evita huecos grandes entre palabras */
.legal p, .legal li { text-align: justify; hyphens: auto; -webkit-hyphens: auto; text-wrap: wrap; }
.legal .meta, .legal h1, .legal h2 { text-align: left; }
.legal p { margin-top: 16px; }
.legal ul { margin: 16px 0 0; padding-left: 20px; display: grid; gap: 8px; }
.legal a { color: var(--sage); text-underline-offset: 3px; }

/* ---------- Movimiento ---------- */
:root { --ease-out: cubic-bezier(.2, .7, .2, 1); }

@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}
@keyframes draw {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* Hero: entra en cascada al cargar, sin depender de JS */
.hero-text > * { animation: rise 1s var(--ease-out) both; }
.hero-text > .eyebrow { animation-delay: .15s; }
.hero-text > h1 { animation-delay: .3s; }
.hero-text > .hero-rule { animation: draw .9s var(--ease-out) .75s both; transform-origin: left; }
.hero-text > .hero-lede { animation-delay: .85s; }
.hero-text > .hero-actions { animation-delay: 1s; }
.hero-media { animation: fade 1.6s ease both; }
.benefit { animation: rise .9s var(--ease-out) both; }
.benefit:nth-child(1) { animation-delay: 1.15s; }
.benefit:nth-child(2) { animation-delay: 1.25s; }
.benefit:nth-child(3) { animation-delay: 1.35s; }
.benefit:nth-child(4) { animation-delay: 1.45s; }

/* Resto: aparece al entrar en pantalla. Solo se oculta si main.js activó
   .reveal-on, así sin JS todo se ve normal. */
.reveal-on [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.reveal-on [data-reveal].is-in { opacity: 1; transform: none; }
.reveal-on .approach-media[data-reveal] { transform: translateY(28px) scale(.98); }
.reveal-on .approach-media[data-reveal].is-in { transform: none; }
.reveal-on [data-reveal="1"] { transition-delay: .09s; }
.reveal-on [data-reveal="2"] { transition-delay: .18s; }
.reveal-on [data-reveal="3"] { transition-delay: .27s; }
.reveal-on [data-reveal="4"] { transition-delay: .36s; }
.reveal-on [data-reveal="5"] { transition-delay: .45s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal-on [data-reveal] { opacity: 1; transform: none; }
}
