/* ==========================================================================
   yamitim.com · Sobre mí (/about/)
   Carga después de base.css. Mobile first (375 px) → escritorio.

   Idea: "una vida en cifras". Cada capítulo abre con la cifra real de esa
   parte de la historia (13 → 24 → 9 años → +13 años) en Cormorant cursiva
   gigante, con contorno dorado que se llena al bajar. Todo lo demás, quieto
   y sobrio alrededor de esa firma.
   ========================================================================== */

:root {
  --wa-green: #25D366;
  --wa-green-hover: #1EBE5A;
  --topbar-h: 68px;   /* = --nav-h del menú compartido (sitio.css) */
  --r-photo: 18px;
}

/* ---------- Barra superior ---------- */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background-color .5s var(--ease), box-shadow .5s var(--ease);
}
.topbar__inner {
  max-width: calc(var(--maxw) + 4rem);
  margin-inline: auto;
  height: var(--topbar-h);
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.topbar__brand { display: flex; align-items: center; min-height: 44px; }
.topbar__sig { width: auto; height: 34px; }
.topbar.is-solid, .topbar.is-scrolled {
  background: rgba(244, 243, 239, .92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}

.btn--sm {
  min-height: 44px;
  padding: .6rem 1rem;
  font-size: .9375rem;
  letter-spacing: .01em;
}

/* ---------- La cifra (firma de la página) ---------- */
.num {
  --p: 1;   /* sin JS la cifra se ve llena */
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(8.5rem, 40vw, 15rem);
  line-height: .78;
  letter-spacing: -.04em;
  color: transparent;
  -webkit-text-stroke: 1.25px var(--gold);
  background-image: linear-gradient(var(--gold), var(--gold));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% calc(var(--p) * 100%);
  -webkit-background-clip: text;
  background-clip: text;
  padding: .06em .12em .14em 0;   /* que la cursiva no se corte */
  user-select: none;
}
.num small {
  font-size: .22em;
  letter-spacing: 0;
  margin-left: .15em;
  -webkit-text-stroke: 0;
  color: var(--gold-deep);
}

/* ---------- Portada ----------
   El fondo continúa el gris del estudio de la foto (medido en la foto:
   #ADACAB arriba → #B5B1B0 abajo). La foto se funde con él por los bordes. */
.hero {
  --studio: #ADACAB;
  position: relative;
  padding-top: var(--topbar-h);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
  overflow: hidden;
  isolation: isolate;
  --light: #FBFAF7;   /* Ivory claro: el tono más claro de la paleta */
  color: var(--ink);
}
/* El fondo va en una capa aparte que se desvanece al final, para fundirse con el
   papel de la página sin dejar una línea en el borde.
   Celular: gris del estudio detrás de la foto, que se aclara hasta Ivory claro
   donde empieza el texto. La luz del estudio es más clara a la izquierda. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  /* Degradado largo y suave (como una pared de estudio con luz lateral):
     el gris de la foto se va aclarando poco a poco, sin cortes */
  background: linear-gradient(170deg,
    #B3B1B0 0%,
    #B6B4B2 calc(var(--topbar-h) + 60vw),
    #C4C2BF calc(var(--topbar-h) + 110vw),
    #DAD8D4 calc(var(--topbar-h) + 165vw),
    #EEEDE9 calc(var(--topbar-h) + 230vw),
    var(--light) 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent 98%);
  mask-image: linear-gradient(180deg, #000 82%, transparent 98%);
}
@media (min-width: 900px) {
  /* Escritorio: degradado diagonal muy suave, del gris de la foto (izquierda)
     a Ivory claro (derecha), repartido en todo el ancho */
  .hero::before {
    background: linear-gradient(105deg,
      #B4B2B0 0%,
      #B8B6B4 22%,
      #C6C4C1 40%,
      #D7D5D1 56%,
      #E7E5E1 72%,
      #F3F2EE 87%,
      var(--light) 100%);
    -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 94%);
    mask-image: linear-gradient(180deg, #000 62%, transparent 94%);
  }
}
.hero__grid { display: grid; gap: 1.5rem; }

/* Foto en tres capas: foto completa · "Hola, soy Yami." · Yami recortada */
.hero__stage {
  position: relative;
  aspect-ratio: 2 / 3;
  margin-inline: calc(var(--gutter) * -1);
  container-type: inline-size;
}
.hero__photo, .hero__cut {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__photo {
  z-index: 1;
  /* Bordes que se funden con el fondo de la portada */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 16%, #000 70%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 8%, #000 76%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 16%, #000 70%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 8%, #000 76%, transparent 100%);
  mask-composite: intersect;
}
.hero__cut { z-index: 3; pointer-events: none; }
/* Celular: la foto es un poco más baja (se recorta abajo, donde ya se desvanece)
   para que la pregunta "¿Te imaginas…?" se alcance a ver en la primera pantalla */
/* Celular: la foto completa (sin cortar los zapatos), un poco más pequeña y con
   aire arriba, para que el saludo, la foto y la pregunta se vean de una mirada */
@media (max-width: 899px) {
  .hero__stage {
    aspect-ratio: 2 / 3;
    width: calc(100% + var(--gutter));   /* casi todo el ancho de la pantalla */
    margin: 3rem auto 0 calc(var(--gutter) * -1);
  }
  /* El saludo se queda arriba y la foto baja un poco: así el pelo no tapa "soy" */
  .hero__stage .hero__hello { font-size: 21cqi; left: 8%; top: -1.9rem; }
  .hero__grid { gap: .5rem; }
}
.hero__hello {
  position: absolute;
  z-index: 2;
  /* "Hola," en el espacio libre sobre su cabeza; "soy Yami." pasa por detrás
     de la parte alta del pelo, sin tapar las palabras */
  top: 0;
  left: 5%;
  margin: 0;
  max-width: none;
  white-space: nowrap;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 19vw;
  font-size: 19cqi;
  line-height: .66;
  letter-spacing: -.01em;
  color: var(--forest-2);
}
.hero__hello span { display: block; }
.hero__hello span + span { margin-left: .5em; }
.js .hero__hello { animation: hello-in 1.6s var(--ease) .35s both; }
@keyframes hello-in {
  from { opacity: 0; transform: translate3d(-8%, 0, 0); }
  to   { opacity: 1; transform: none; }
}

.hero__copy { position: relative; z-index: 4; }
.hero__title {
  text-align: right;
  font-size: clamp(1.75rem, 6.6vw, 2.9rem);
  line-height: 1.08;
  letter-spacing: -.03em;
  color: var(--ink);
}
.hero__answer {
  margin-top: .6rem;
  margin-left: auto;
  text-align: right;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.7rem, 6.4vw, 2.5rem);
  line-height: 1.1;
  /* En dorado por decisión de Yamitim (20 nov), aunque sobre este gris el contraste es bajo (1,9:1) */
  color: var(--gold-deep);
}
.hero__text { margin-top: clamp(1.75rem, 5vw, 2.5rem); }
.hero__text p { color: var(--ink); }
/* Espacio entre párrafos también cuando la frase incrustada queda entre ellos */
.hero__text p + .inset-quote + p { margin-top: 1.1em; }
.hero__text strong { font-weight: 600; }

/* Frase incrustada en el texto, como en una revista.
   (Sin uso por ahora: se guarda para más adelante. El HTML de ejemplo
   está en un comentario de index.html, dentro de .hero__text.) */
.inset-quote {
  margin: 1.75rem 0;
  padding: 1.6rem 0 1.4rem;
  border-top: 1px solid var(--gold-deep);
  border-bottom: 1px solid var(--gold-deep);
}
.prose .inset-quote p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.6rem, 6vw, 2.1rem);
  line-height: 1.12;
  color: var(--forest-2);
}
/* Comilla grande, el mismo estilo de "la pregunta" del taller:
   una sola “ en Cormorant cursiva, dorada y translúcida, sobre la frase */
.inset-quote .q {
  display: block;
  height: .5em;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(5.5rem, 18vw, 7.5rem);
  line-height: 1;
  color: var(--gold);
  opacity: .7;
  margin-bottom: .1rem;
}

.hero .more { justify-content: flex-end; padding-block: 2rem 0; }
.hero .more__btn { align-items: flex-end; }
.hero .more__btn i { border-color: var(--forest); }
.hero .more__btn:hover i { background: var(--forest); }
.hero .more__btn:hover i::before { border-color: var(--ivory); }

@media (min-width: 600px) {
  /* La frase se incrusta en el texto y el párrafo la rodea */
  .inset-quote { float: right; width: 52%; margin: .4rem 0 1rem 1.75rem; }
  .prose .inset-quote p { font-size: clamp(1.5rem, 2.1vw, 1.8rem); }
  .hero__text::after { content: ""; display: table; clear: both; }
}

@media (min-width: 900px) {
  .hero { padding-top: calc(var(--topbar-h) + 1rem); }
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: start;
  }
  /* La foto se sale un poco hacia la izquierda: el fondo continúa */
  .hero__stage { margin-inline: -10vw 0; }
  .hero__hello { font-size: 21cqi; left: 14%; }
  /* La foto baja un poco (el saludo se queda donde estaba, con su separación
     original): así la cabeza ya no tapa "soy" */
  .hero__stage { margin-top: 2.25rem; }
  .hero__hello { top: -2.25rem; }
  /* El título baja, para no competir con "Hola, soy Yami." */
  .hero__copy { padding-top: clamp(8.25rem, 13.5vw, 12rem); }
  .hero__title { font-size: clamp(2rem, 2.9vw, 2.75rem); }
}

/* ---------- Revelados de toda la página ----------
   Sin JS, o si el script falla, todo está visible. */
.js [data-r] {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-r].is-in { opacity: 1; transform: none; }

/* Cortina: la foto se descubre de abajo hacia arriba */
/* (el recorte va en la foto interior: si fuera en el marco, el navegador
   no detectaría que entró en pantalla) */
.js [data-r="curtain"] {
  opacity: 1;
  transform: none;
  box-shadow: none;
  transition: box-shadow 1.2s var(--ease) .6s;
}
.js [data-r="curtain"].is-in { box-shadow: 0 2px 4px rgba(16, 47, 39, .05), 0 30px 60px -30px rgba(16, 47, 39, .45); }
.js [data-r="curtain"] > .ph,
.js [data-r="curtain"] > img {
  clip-path: inset(100% 0 0 0);
  transform: scale(1.12);
  transition: clip-path 1.4s var(--ease), transform 1.8s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-r="curtain"].is-in > .ph,
.js [data-r="curtain"].is-in > img { clip-path: inset(0 0 0 0); transform: none; }

/* Líneas que suben desde una máscara */
.js [data-r="lines"] { opacity: 1; transform: none; }
.js [data-r="lines"] .line > span {
  transform: translate3d(0, 105%, 0);
  transition: transform 1.2s var(--ease);
  transition-delay: calc(var(--i, 0) * .12s);
}
.js [data-r="lines"].is-in .line > span { transform: none; }

/* Firma que se "escribe" de izquierda a derecha */
.js [data-r="sign"] { opacity: 1; transform: none; }
.js [data-r="sign"] img {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 2.2s cubic-bezier(.45, 0, .2, 1) .5s;
}
.js [data-r="sign"].is-in img { clip-path: inset(0 0 0 0); }

/* ---------- Piezas comunes ---------- */
.chapter { padding-block: var(--section); position: relative; }
.frame { margin: 0; border-radius: var(--r-photo); overflow: hidden; box-shadow: 0 2px 4px rgba(16, 47, 39, .05), 0 30px 60px -30px rgba(16, 47, 39, .45); }
.frame > .ph { width: 100%; height: 100%; border-radius: inherit; }
.ph { will-change: transform; }

.prose p { font-size: var(--fs-body); }
.prose strong { font-weight: 600; }
.prose--narrow { max-width: 38rem; }

.lead + p, .lead + .prose { margin-top: 1.1em; }

/* ---------- Inicio de la historia completa: foto con Hailie ---------- */
/* Menos espacio entre el botón del encabezado y el inicio de la historia */
.chapter.ch-pre { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.ch-pre__grid { display: grid; gap: 2.5rem; }
.ch-pre__photo { aspect-ratio: 1600 / 1457; width: 100%; max-width: 520px; }
.ch-pre__photo img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
/* El texto, igual que el del encabezado (texto base, verde bosque profundo) */
.ch-pre__text p { color: var(--ink); }
.ch-pre__text :focus { outline: none; }
/* Al abrir la historia: primero la foto, después el texto */
.js .fold.is-opening .ch-pre__text [data-r] { transition-delay: calc(var(--d, 0s) + .8s); }
/* "Pero hacerlo no fue fácil.": título intermedio */
.ch-pre__title {
  font-size: clamp(1.75rem, 6vw, 2.6rem);
  line-height: 1.08;
  letter-spacing: -.03em;
  color: var(--ink);
  margin-bottom: 1.25rem;
  max-width: 24ch;
  text-wrap: balance;   /* líneas parejas, sin dejar una palabra sola */
}
/* Frases que se leen juntas ("no fue fácil.", "que era “el éxito”:") no se parten */
.nobr { white-space: nowrap; }
/* Segundo título del bloque ("A los 24…"): con aire arriba */
.prose .ch-pre__title--next { margin-top: clamp(2.5rem, 6vw, 3.5rem); }
/* Celular: la foto va primero y la frase después del texto */
.ch-pre__side { display: contents; }
.ch-pre__quote { order: 3; }
@media (min-width: 900px) {
  /* Foto arriba y la frase debajo, en la columna derecha.
     (Sin quedarse fijas al bajar: juntas no caben en pantallas bajas) */
  .ch-pre__grid { align-items: start; }
  .ch-pre__side {
    display: grid;
    gap: clamp(1.5rem, 3vw, 2.25rem);
    justify-items: end;
  }
  .ch-pre__quote { width: 100%; max-width: 520px; }
}
@media (min-width: 900px) {
  /* Escritorio: texto a la izquierda, foto a la derecha */
  /* Más ancho que la columna normal: el texto empieza más a la izquierda,
     a la altura de la silla de la foto del encabezado */
  .ch-pre__grid {
    max-width: 1320px;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: clamp(3rem, 6vw, 5rem);
    align-items: start;   /* texto y foto empiezan a la misma altura */
  }
  .ch-pre__side { grid-column: 2; grid-row: 1; }
  .ch-pre__text { grid-column: 1; grid-row: 1; }
}

/* Botón "Leer mi historia completa" */
.more {
  display: flex;
  justify-content: center;
  padding-block: clamp(3rem, 8vw, 5rem) var(--section);
}
html:not(.js) .more { display: none; }
.more__btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: .9rem;
  min-height: 44px;
  padding: .5rem 1rem;
  border: 0;
  background: none;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--ink);
}
.more__btn span {
  background: linear-gradient(var(--gold), var(--gold)) 0 100% / 100% 1px no-repeat;
  padding-bottom: 4px;
  transition: background-size .5s var(--ease);
}
.more__btn i {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  position: relative;
  transition: background-color .4s var(--ease), transform .5s var(--ease);
}
.more__btn i::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 44%;
  width: 10px;
  height: 10px;
  border-right: 1.5px solid var(--forest);
  border-bottom: 1.5px solid var(--forest);
  transform: translate(-50%, -50%) rotate(45deg);
}
.more__btn:hover i { background: var(--gold); transform: translateY(4px); }
.more__btn:hover span { background-size: 0 1px; background-position: 100% 100%; }
/* Flecha hacia arriba cuando el botón sirve para ocultar */
.more__btn--up i::before { top: 58%; transform: translate(-50%, -50%) rotate(-135deg); }
.more__btn--up:hover i { transform: translateY(-4px); }
/* Final de la historia: enlace a "Descubre cómo puedo ayudarte" y, debajo,
   el botón "Ocultar mi historia" */
.less {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding-block: clamp(2.5rem, 7vw, 4rem);
  text-align: center;
}
.less__go { margin: 0; font-size: 1.0625rem; max-width: 34ch; color: var(--ink); }
.less__go .link { font-weight: 600; color: var(--ink); line-height: 1.7; }
@media (min-width: 600px) { .less__go { max-width: none; } }   /* en escritorio, en una sola línea */
/* Que el título de "Descubre cómo puedo ayudarte" no quede bajo la barra superior */
#caminos { scroll-margin-top: calc(var(--topbar-h) + 1rem); }

/* "¿Y si esta vez lo más importante fueras tú?": más grande que el texto,
   pero claramente más pequeña que el título "Tu historia quizás…" */
.prose .you__q {
  font-size: clamp(1.3rem, 4.6vw, 1.6rem);
  line-height: 1.25;
  letter-spacing: -.01em;
  margin-block: 1.4rem !important;
  max-width: 24ch;
}

/* "Se vale…" en Cormorant cursiva dorada, dentro del texto */
.vale-list { display: grid; gap: .35rem; margin-top: 1.25rem !important; max-width: none; }
.vale-list span {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.55rem, 5vw, 2rem);
  line-height: 1.15;
  color: var(--gold-deep);
}
html:not(.js) .less { display: none; }

/* La historia plegada: se abre con altura animada */
.js .fold { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 1.1s var(--ease); }
.js .fold.is-open { grid-template-rows: 1fr; }
/* "clip" (no "hidden") para que la foto fija (sticky) funcione dentro de la historia */
.fold__inner { min-height: 0; overflow: hidden; overflow: clip; }
.js .fold:not(.is-open) .fold__inner { visibility: hidden; }

.statement {
  font-size: clamp(1.3rem, 4.6vw, 2rem);
  line-height: 1.38;
  font-weight: 500;
  letter-spacing: -.01em;
  max-width: 34ch;
}
.statement:focus { outline: none; }

/* ---------- Encabezado de capítulo con cifra ---------- */
.ch-head { display: grid; gap: .5rem; margin-bottom: clamp(2.5rem, 7vw, 4rem); }
.ch-head__title { font-size: var(--fs-h2); max-width: 20ch; }
.ch-head .lead { margin-top: 1rem; font-size: clamp(1.2rem, 4vw, 1.5rem); }
@media (min-width: 900px) {
  .ch-head { grid-template-columns: auto 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: end; }
  .ch-head .num { font-size: clamp(12rem, 20vw, 17rem); }
  .ch-head__text { padding-bottom: 2rem; }
}

/* ---------- Capítulo II ---------- */
.ch2 { background: var(--ivory-2); }
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: clamp(2.5rem, 7vw, 4rem);
  border-radius: var(--r-photo);
  overflow: hidden;
  box-shadow: 0 30px 60px -36px rgba(16, 47, 39, .5);
}
.split__side {
  min-height: clamp(11rem, 44vw, 20rem);
  padding: clamp(1.25rem, 4vw, 2.5rem);
  display: flex;
  align-items: flex-end;
  max-width: none;
  margin: 0 !important;
}
.split__side span {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.55rem, 5.4vw, 2.6rem);
  line-height: 1.08;
}
@media (min-width: 900px) { .split__side { min-height: 13rem; } }
.split__side--out { background: var(--ivory-3); color: var(--gold-deep); }
.split__side--in { background: var(--forest); color: var(--ivory); }
.split__side--in span { color: var(--gold); }

/* Frase en franja verde */
.band { padding-block: clamp(3.5rem, 10vw, 6rem); position: relative; overflow: hidden; }
.band__quote p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2rem, 7.6vw, 4.2rem);
  line-height: 1.08;
  color: var(--ivory);
  max-width: none;
}
.band__quote .line:last-child > span { color: var(--gold); }

/* ---------- Capítulo III ---------- */
/* Mismo ancho y formato de texto que el bloque anterior */
.ch3__wrap { max-width: 1320px; }
.ch3__text { max-width: 44rem; }
.ch3__text p { color: var(--ink); }
.prose .ch3__title { margin-top: 0; }

/* Composición de fotos de India (como un collage de revista):
   celular → el Taj grande arriba, debajo la horizontal y dos más pequeñas */
.trip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  margin-block: clamp(1.75rem, 4vw, 2.5rem) clamp(2.5rem, 6vw, 3.5rem);
}
.trip__item { margin: 0; border-radius: 16px; }
.trip__item img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.trip__item--main  { grid-column: 1 / -1; order: -1; aspect-ratio: 4 / 5; }
.trip__item--left  { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.trip__item--small { aspect-ratio: 1 / 1; }
.trip__item--wide  { aspect-ratio: 1 / 1; }
.trip__item--main img  { object-position: 50% 30%; }
.trip__item--left img  { object-position: 50% 25%; }
.trip__item--small img { object-position: 50% 30%; }
.trip__item--wide img  { object-position: 50% 22%; }   /* las tres caras a la vista */

/* Escritorio: horizontal a la izquierda, el Taj alto al centro y,
   a la derecha, una pequeña arriba y una horizontal abajo */
@media (min-width: 900px) {
  .trip {
    grid-template-columns: 1.3fr 1fr .78fr;
    grid-template-rows: auto auto;
    gap: clamp(1rem, 2vw, 1.5rem);
    align-items: center;
  }
  .trip__item--main  { grid-column: 2; grid-row: 1 / 3; order: 0; aspect-ratio: 3 / 4; }
  .trip__item--left  { grid-column: 1; grid-row: 1 / 3; aspect-ratio: 4 / 3; }
  .trip__item--small { grid-column: 3; grid-row: 1; width: 52%; align-self: end; }
  .trip__item--wide  { grid-column: 3; grid-row: 2; aspect-ratio: 4 / 3; align-self: start; }
}
/* 25 nov: "Descubre cómo puedo ayudarte" igual que el home (copia final de home.css → .ways / .way) */
.ways .ways__title { max-width: 16ch; margin-inline: auto; text-align: center; }
.ways .way { gap: .6rem; }
.ways .way__cover {
  display: block;
  width: 64%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 4px;
  box-shadow:
    0 2px 4px rgba(16, 47, 39, .10),
    0 14px 24px -8px rgba(16, 47, 39, .35),
    0 30px 50px -24px rgba(16, 47, 39, .45);
}
.ways .way__sub { font-size: 1rem; font-weight: 600; letter-spacing: .01em; color: var(--ink); margin-top: -.25rem; }
.ways .way__sub + .way__text { margin-top: 0; }
.ways .way__facts { list-style: none; margin: .1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.ways .way__facts li {
  max-width: none;
  padding: .3rem .7rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: .9375rem;
  line-height: 1.35;
  color: var(--ink);
}
.ways .way__btn { align-self: flex-start; margin-top: auto; }
.ways .way > :nth-last-child(2) { margin-bottom: 1.1rem; }
.ways .way .way__btn { margin-top: auto; }
.ways .ways__note em { font-style: normal; }

/* 25 nov: composición más pequeña (unos 30 % menos), centrada */
.trip { max-width: 760px; margin-inline: auto; }
@media (max-width: 899px) {
  .trip { max-width: 80%; }
  .trip__item--main { aspect-ratio: 1 / 1; }
}

/* ---------- Tu historia ---------- */
/* Fondo Ivory (#F2EBDD), el tono claro siguiente, para separar este bloque */
.you { background: var(--ivory-2); }
.you__grid { display: grid; gap: 2.5rem; max-width: 1320px; }
.you__photo { aspect-ratio: 4 / 5; width: 100%; max-width: 460px; }
.you__photo img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.you__text p { color: var(--ink); }
@media (min-width: 900px) {
  /* Foto a la izquierda, texto a la derecha */
  .you__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(3rem, 6vw, 5rem); align-items: center; }
  .you__photo { justify-self: start; }
}

/* India: párrafos a la izquierda y, en el espacio de la derecha, la frase destacada */
.ch3__end { display: grid; gap: 2rem; }
.trip-quote { margin: 0; }
.trip-quote .q {
  display: block;
  height: .5em;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(5.5rem, 18vw, 7.5rem);
  line-height: 1;
  color: var(--gold);
  opacity: .7;
}
.trip-quote p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.7rem, 6vw, 2.4rem);
  line-height: 1.12;
  color: var(--gold-deep);
  max-width: 22ch;
}
@media (min-width: 900px) {
  .ch3__end { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(3rem, 6vw, 5rem); align-items: center; }
}
.you__big {
  font-size: clamp(1.9rem, 7vw, 3.6rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -.03em;
  max-width: 16ch;
  margin-bottom: 2rem;
}
.prose .you__bag {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.55rem, 5vw, 2rem);
  line-height: 1.2;
  color: var(--gold-deep);
  margin-top: 2rem !important;
}

/* Se vale: tres líneas que crecen */
.vale { padding-block: clamp(4rem, 12vw, 7rem); }
.vale__list { display: grid; gap: .4em; max-width: none; }
.vale__line {
  display: block;
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.05;
}
.vale__line em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.2em;
  letter-spacing: 0;
  color: var(--gold);
}
.vale__line:nth-child(1) { font-size: clamp(1.5rem, 5.6vw, 2.4rem); }
.vale__line:nth-child(2) { font-size: clamp(1.9rem, 7vw, 3.3rem); }
.vale__line:nth-child(3) { font-size: clamp(2.3rem, 8.6vw, 4.6rem); }

/* ---------- Galería: cinta de fotos pequeñas que avanza sin fin ---------- */
.gallery { padding-block: clamp(3rem, 7vw, 5rem); }
.gallery__viewport { overflow: hidden; }
.gallery__track {
  --gap: .9rem;
  display: flex;
  align-items: center;
  overflow-x: auto;      /* sin JS: se desliza con el dedo */
  padding: 1.5rem var(--gutter) 2.5rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__item {
  flex: none;
  margin: 0 var(--gap) 0 0;   /* margen (no "gap") para que las dos mitades midan igual */
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(16, 47, 39, .05), 0 18px 36px -22px rgba(16, 47, 39, .45);
  /* Cada foto conserva su proporción (--ar); la altura cambia según el tamaño */
  aspect-ratio: var(--ar, 4 / 5);
  width: auto;
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; }
.gallery__item--lg { height: 190px; }
.gallery__item--md { height: 155px; transform: translateY(-12px); }
.gallery__item--sm { height: 130px; transform: translateY(13px); }

/* Cinta sin fin ligada al scroll (about.js). La foto que pasa por el centro
   crece un poco, como el "clic" de una rueda; en el celular además vibra. */
.gallery { position: relative; }
.gallery.is-looping .gallery__track { padding-inline: 0; cursor: grab; touch-action: pan-x pan-y; }
.gallery.is-dragging .gallery__track { cursor: grabbing; }
.gallery.is-dragging .gallery__item { pointer-events: none; }
.gallery__item img { -webkit-user-drag: none; user-select: none; }
.gallery__item { transition: scale .35s var(--ease), box-shadow .35s var(--ease); }
.gallery__item.is-center {
  scale: 1.07;
  z-index: 1;
  box-shadow: 0 2px 4px rgba(16, 47, 39, .06), 0 26px 44px -22px rgba(16, 47, 39, .6);
}
/* Marca del centro, como la aguja de una ruleta */
.gallery__mark {
  position: absolute;
  left: 50%;
  top: clamp(1.75rem, 5vw, 3.25rem);
  width: 1px;
  height: 18px;
  background: var(--gold);
  transform: translateX(-50%);
  pointer-events: none;
}
html:not(.js) .gallery__mark { display: none; }

@media (min-width: 900px) {
  .gallery__track { --gap: 1.4rem; }
  .gallery__item--lg { height: 250px; }
  .gallery__item--md { height: 205px; transform: translateY(-17px); }
  .gallery__item--sm { height: 170px; transform: translateY(19px); }
}


/* ---------- Quién soy ---------- */
.who { background: var(--ivory-3); }   /* el tono más claro de la paleta (#FBFAF7) */
.who__grid { display: grid; gap: 2.5rem; }
.who__photo { aspect-ratio: 4 / 5; width: 100%; max-width: 380px; }
.who__photo img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.who__title { font-size: clamp(2.6rem, 10vw, 4.4rem); letter-spacing: -.035em; margin-bottom: 1.25rem; }
.who__copy .lead { margin-bottom: 1.1em; }
@media (min-width: 900px) {
  .who__grid { grid-template-columns: 5fr 6fr; gap: clamp(3rem, 7vw, 6rem); align-items: center; }
}

/* Cifras de "Quién soy": la misma presentación que en el taller
   (línea arriba, tres columnas, número en Open Sauce dorado y texto corto debajo) */
.creds {
  grid-column: 1 / -1;
  margin: .5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--forest);
  max-width: none;
}
.creds li {
  max-width: none;
  padding: 1.1rem .75rem 0 0;
  display: grid;
  align-content: start;
  gap: .3rem;
  font-size: .9375rem;
  line-height: 1.35;
  color: var(--ink-soft);
}
.creds li + li { padding-left: .9rem; border-left: 1px solid var(--line); }
.creds__n {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(1.6rem, 5.4vw, 2.2rem);
  letter-spacing: -.02em;
  line-height: 1;
  color: var(--gold-deep);
}
@media (min-width: 900px) {
  .creds { margin-top: 1rem; }
  .creds li { font-size: 1rem; }
}

/* Recuadro de cifras (versión anterior, sin uso) */
.facts {
  margin-top: clamp(3rem, 8vw, 5rem);
  border-radius: var(--r-photo);
  padding: clamp(2rem, 6vw, 3.25rem);
  display: grid;
  gap: 2rem;
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(24, 88, 68, .6), transparent 60%),
    var(--forest);
  box-shadow: 0 40px 70px -40px rgba(11, 36, 29, .8);
}
.facts__title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(1.15rem, 4vw, 1.4rem);
  line-height: 1.3;
  color: var(--ivory);
  max-width: 24ch;
}
.facts__title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.25em;
  color: var(--gold);
}
.facts__list { display: grid; gap: 1.75rem; }
.facts__item { border-top: 1px solid rgba(176, 138, 79, .45); padding-top: 1.25rem; }
.facts__n {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(3.4rem, 15vw, 5.6rem);
  font-variant-numeric: lining-nums;
  line-height: .95;
  color: var(--gold);
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 .25rem;
}
.facts__n small {
  font-family: var(--sans);
  font-style: normal;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--ivory);
}
.facts__item dd { margin-top: .75rem; color: var(--ivory-soft); font-size: 1rem; }
@media (min-width: 900px) {
  .facts { grid-template-columns: 1fr 2fr; align-items: end; }
  .facts__list { grid-template-columns: 1fr 1.4fr; gap: 3rem; }
}

/* ---------- Por qué combino ---------- */
.why__title { font-size: var(--fs-h2); max-width: 18ch; margin-bottom: clamp(2rem, 6vw, 3rem); }
.why__grid { display: grid; gap: 2.5rem; }
.why__no {
  font-size: clamp(1.5rem, 5.6vw, 2.2rem) !important;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.02em;
  margin-block: 1.5rem !important;
}
.why__no span { display: block; }
.why__no span + span { color: var(--emerald); }
.why__quote {
  padding-left: 1.5rem;
  border-left: 2px solid var(--gold);
  align-self: center;
}
.why__quote p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.7rem, 6.2vw, 2.6rem);
  line-height: 1.14;
  color: var(--ink);
}
.why__strong {
  margin-top: 1.5rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.6rem, 5.4vw, 2.2rem);
  color: var(--gold-deep);
}
@media (min-width: 900px) {
  .why__grid { grid-template-columns: 1fr 1fr; gap: clamp(3rem, 7vw, 6rem); }
}

/* De borroso a nítido */
.focus {
  --p: 1;
  margin-block: clamp(3.5rem, 10vw, 6rem);
  display: grid;
  gap: .6rem;
}
.focus p {
  max-width: none;
  margin: 0 !important;
  font-size: clamp(1.6rem, 6vw, 3.2rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.03em;
}
/* Las dos frases empiezan borrosas y se enfocan una tras otra (al final, las dos nítidas) */
.focus { --pa: 1; --pb: 1; }
.focus__a {
  filter: blur(calc((1 - var(--pa)) * 6px));
  opacity: calc(.3 + var(--pa) * .7);
}
.focus__b {
  filter: blur(calc((1 - var(--pb)) * 6px));
  opacity: calc(.3 + var(--pb) * .7);
  color: var(--emerald);
}
.why__grid--end { align-items: center; }
.why__photo { aspect-ratio: 4 / 5; width: 70%; justify-self: center; }
@media (min-width: 900px) { .why__photo { justify-self: end; } }
.why__photo .ph { height: 114%; margin-top: -7%; }
.why__photo img { display: block; width: 100%; height: 110%; margin-top: -5%; object-fit: cover; object-position: 50% 30%; }

/* ---------- Mi método ---------- */
.method-q {
  padding-block: clamp(4rem, 12vw, 7.5rem);
  background:
    radial-gradient(80% 90% at 0% 100%, rgba(24, 88, 68, .55), transparent 60%),
    var(--forest-2);
}
.method__title { font-size: var(--fs-h2); color: var(--ivory); }
.method__kick {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.15em;
  letter-spacing: 0;
  color: var(--gold);
  margin-bottom: .2rem;
}
.method__pre { margin-top: clamp(2rem, 6vw, 3rem); color: var(--ivory-soft); }
.method__question {
  margin-top: .75rem;
  max-width: 20ch;
  font-size: clamp(2rem, 7.8vw, 4.4rem);
  line-height: 1.06;
  letter-spacing: -.03em;
}
.method__question strong { font-weight: 700; }
.js .method__question .w { opacity: .18; transition: opacity .35s linear; }
.js .method__question .w.on { opacity: 1; }
.method__question .w--gold { color: var(--gold); }

.pillars {
  margin-top: clamp(2.5rem, 7vw, 4rem);
  display: grid;
  gap: 1.25rem;
  counter-reset: none;
}
.pillar {
  position: relative;
  background: var(--ivory-3);
  border: 1px solid rgba(16, 47, 39, .06);
  border-radius: 16px;
  padding: 1.75rem 1.5rem 1.75rem;
  box-shadow: 0 2px 4px rgba(16, 47, 39, .05), 0 18px 40px -18px rgba(16, 47, 39, .28);
  overflow: hidden;
  max-width: none;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.pillar::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(.18);
  transform-origin: left;
  transition: transform .8s var(--ease);
}
.pillar:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(16, 47, 39, .05), 0 28px 50px -20px rgba(16, 47, 39, .35); }
.pillar:hover::before, .pillar.is-in::before { transform: scaleX(1); }
.pillar__n {
  position: absolute;
  top: .5rem;
  right: 1.1rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 4rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold);
}
.pillar__icon {
  width: 44px;
  height: 44px;
  fill: none;
  stroke: var(--gold-deep);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 1.25rem;
}
.pillar__name {
  font-size: clamp(1.5rem, 5vw, 1.75rem);
  font-weight: 700;
  color: var(--emerald);
  margin-bottom: .5rem;
}
.pillar p { font-size: 1.0625rem; }
@media (min-width: 900px) {
  .pillars { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .pillar:nth-child(2) { margin-top: 2.5rem; }
  .pillar:nth-child(3) { margin-top: 5rem; }
}
.method__close {
  margin-top: clamp(3rem, 8vw, 5rem);
  font-size: clamp(1.4rem, 5vw, 2.2rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -.015em;
  max-width: 30ch;
}
.method__close em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 1.2em;
  color: var(--gold-deep);
}

/* Collage de 3 fotos en capas */
.collage {
  position: relative;
  margin-top: clamp(3rem, 9vw, 6rem);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
}
.collage > figure { margin: 0; }
.collage__a { grid-column: 1 / 10; grid-row: 1; aspect-ratio: 4 / 5; }
.collage__b { grid-column: 7 / 13; grid-row: 1; align-self: end; aspect-ratio: 1 / 1; margin-bottom: -18% !important; z-index: 2; border: 5px solid var(--paper); }
.collage__c { grid-column: 2 / 7; grid-row: 2; aspect-ratio: 3 / 4; margin-top: -10% !important; z-index: 3; border: 5px solid var(--paper); }
.collage__a .ph { height: 112%; margin-top: -6%; }
@media (min-width: 900px) {
  .collage { grid-template-columns: repeat(12, 1fr); }
  .collage__a { grid-column: 2 / 8; }
  .collage__b { grid-column: 8 / 12; align-self: start; margin-top: 18% !important; margin-bottom: 0 !important; margin-left: -12% !important; }
  .collage__c { grid-column: 6 / 9; grid-row: 1; align-self: end; margin-top: 0 !important; margin-bottom: -12% !important; }
}

/* ---------- Testimonios ---------- */
.voices { background: var(--ivory-2); }
.voices__title { font-size: var(--fs-h2); max-width: 18ch; margin-bottom: clamp(2.5rem, 7vw, 4rem); }
.voices__grid { display: grid; gap: 2.5rem; }
.voice { margin: 0; position: relative; padding-top: 2.5rem; }
.voice::before {
  content: "“";
  position: absolute;
  top: -1.2rem;
  left: -.2rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 6rem;
  line-height: 1;
  color: var(--gold);
}
.voice blockquote p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.45rem, 5vw, 1.85rem);
  line-height: 1.24;
  color: var(--ink);
}
.voice figcaption {
  margin-top: 1rem;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink);
}
.voice figcaption span {
  display: block;
  margin-top: .2rem;
  letter-spacing: .04em;
  text-transform: none;
  font-weight: 400;
  font-size: 1rem;
  color: var(--ink-soft);
}
@media (min-width: 900px) {
  .voices__grid { grid-template-columns: repeat(3, 1fr); gap: 3rem; }
  .voice:nth-child(2) { margin-top: 4rem; }
}

/* Fotos de las mujeres en los testimonios (21 nov): foto 4:5 arriba y las comillas pasan a la cita */
.voices .voice { padding-top: 0; }
.voices .voice::before { content: none; }
.voice__photo {
  display: block;
  width: 72%;
  max-width: 280px;
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 2px 4px rgba(16, 47, 39, .06), 0 22px 40px -20px rgba(16, 47, 39, .4);
  will-change: auto;
}
.voice blockquote { position: relative; margin-top: 1.25rem; padding-top: 2.5rem; }
.voice blockquote::before {
  content: "“";
  position: absolute;
  top: -1.2rem;
  left: -.2rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 6rem;
  line-height: 1;
  color: var(--gold);
}
@media (min-width: 900px) {
  .voice__photo { width: 100%; max-width: 300px; }
}
/* 22 nov: foto pequeña y redonda, centrada sobre el texto (como la referencia) */
.voices .voice__photo {
  width: 104px;
  max-width: none;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-position: 50% 30%;
  margin-inline: auto;
  box-shadow: 0 2px 4px rgba(16, 47, 39, .08), 0 12px 24px -12px rgba(16, 47, 39, .45);
}

/* ---------- Cómo puedo ayudarte ---------- */
.ways__title { font-size: var(--fs-h2); max-width: 16ch; margin-bottom: clamp(2.5rem, 7vw, 4rem); }
.ways__list { display: grid; gap: 1rem; }
.way {
  max-width: none;
  display: grid;
  gap: .75rem;
  padding: 1.75rem 1.5rem;
  border-radius: 16px;
  background: var(--ivory-3);
  border: 1px solid rgba(16, 47, 39, .08);
}
.way__name { font-size: clamp(1.35rem, 4.6vw, 1.7rem); font-weight: 700; }
.way__text { color: var(--ink-soft); }
.way__btn { justify-self: start; margin-top: .5rem; }
.way--main {
  padding: 2.25rem 1.5rem;
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(24, 88, 68, .6), transparent 60%),
    var(--forest);
  border: 0;
  box-shadow: 0 40px 70px -40px rgba(11, 36, 29, .8);
}
.way--main .way__name {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2.4rem, 9vw, 3.6rem);
  line-height: 1;
  letter-spacing: 0;
  color: var(--gold);
}
.way--main .way__text { color: var(--ivory-soft); }
.way .wa { flex: none; }
@media (min-width: 900px) {
  .ways__list { grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto; gap: 1.25rem; }
  .way--main { grid-row: span 2; align-content: end; padding: 3rem; min-height: 26rem; }
  .way { padding: 2rem; }
}
.ways__note { margin-top: 2.5rem; font-size: 1rem; color: var(--ink-soft); }

/* Tarjetas de servicios tipo "catálogo": recuadro con la portada arriba, nombre, texto y botón (21 nov) */
.ways__list { gap: clamp(2.5rem, 7vw, 3rem); }
.way {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  max-width: 420px;
}
.way__media {
  aspect-ratio: 5 / 6;
  border-radius: 10px;
  background: var(--ivory-2);
  display: grid;
  place-items: center;
  margin-bottom: .75rem;
}
.way__cover {
  width: 62%;
  aspect-ratio: 2 / 3;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(16, 47, 39, .08), 0 22px 40px -18px rgba(16, 47, 39, .45);
}
.way__name { font-size: clamp(1.25rem, 4.4vw, 1.4rem); font-weight: 600; line-height: 1.25; }
.way__text { font-size: 1.0625rem; color: var(--ink-soft); }
.way__btn { align-self: flex-start; margin-top: auto; }
.way__name + .way__btn { margin-top: .5rem; }
.way__text + .way__btn, .way__text + * + .way__btn { margin-top: 1rem; }
@media (min-width: 900px) {
  .ways__list { grid-template-columns: repeat(3, 1fr); grid-template-rows: none; gap: 1.75rem; align-items: stretch; }
  .way { padding: 0; max-width: none; }
}

/* ---------- Cierre ---------- */
.close {
  padding-block: clamp(4.5rem, 13vw, 8rem);
  text-align: center;
  background:
    radial-gradient(70% 80% at 50% 0%, rgba(24, 88, 68, .55), transparent 65%),
    var(--forest-2);
}
.close__wrap { display: grid; justify-items: center; }
.close__title {
  font-size: clamp(1.7rem, 6.4vw, 3.4rem);
  font-weight: 500;
  line-height: 1.12;
  max-width: 22ch;
}
.close__title em { font-size: 1.15em; }
.close__bye {
  margin-top: clamp(2.5rem, 7vw, 3.5rem);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.6rem;
  color: var(--ivory-soft);
}
.close__sig { margin-top: .25rem; }
.close__sig img { width: clamp(170px, 46vw, 260px); height: auto; }
.close__cta { margin-top: 2.5rem; }

/* Botón de WhatsApp con su verde oficial (texto oscuro por contraste) */
.btn--wa {
  --btn-bg: var(--wa-green);
  --btn-fg: #0B241D;
  --btn-fill: var(--wa-green-hover);
}
.btn--wa .wa { width: 22px; height: 22px; }

/* Pie: ahora es compartido, ver assets/css/pie.css */

/* ---------- Barra inferior (celular) ---------- */
.dock {
  position: fixed;
  z-index: 90;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  gap: .6rem;
  padding: .7rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom));
  background: rgba(244, 243, 239, .95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 -1px 0 var(--line), 0 -12px 30px -18px rgba(16, 47, 39, .4);
  transform: translateY(110%);
  transition: transform .6s var(--ease);
}
.dock.is-on { transform: none; }
.dock__btn { flex: 1; min-height: 52px; }
.dock__wa {
  flex: none;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--wa-green);
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(18, 140, 126, .7);
  transition: transform .3s var(--ease), background-color .3s;
}
.dock__wa:hover { background: var(--wa-green-hover); }
.dock__wa svg { width: 28px; height: 28px; }
html:not(.js) .dock { display: none; }
@media (min-width: 900px) {
  .dock {
    left: auto;
    right: 1.5rem;
    bottom: 1.5rem;
    padding: 0;
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    transform: translateY(calc(100% + 2rem));
  }
  .dock.is-on { transform: none; }
  .dock__btn { display: none; }
  .dock__wa { width: 60px; height: 60px; border-radius: 50%; }
  .dock__wa svg { width: 32px; height: 32px; }
  .dock__wa:hover { transform: scale(1.06); }
}

/* ---------- Celular pequeño: barra superior compacta ---------- */
@media (max-width: 379px) {
  .topbar__sig { height: 28px; }
  .btn--sm { padding-inline: .8rem; }
}

/* ---------- Movimiento reducido ----------
   Se apagan solo los efectos intrusivos: parallax, galería fija y el bucle de la flecha.
   Los fundidos y las cortinas se mantienen. */
@media (prefers-reduced-motion: reduce) {
  .hero__cue span { animation: none; }
  [data-par], [data-par-box] { translate: none !important; }
}

/* ---------- Una sola escala de títulos (21 nov) ----------
   Todos los títulos de sección miden lo mismo que la pregunta del encabezado
   "¿Te imaginas…?": unos 28 px en celular y unos 40 px en escritorio. */
.hero__title,
.ch-pre__title,
.who__title,
.why__title,
.method__title,
.voices__title,
.ways__title {
  font-size: clamp(1.75rem, 6.6vw, 2.9rem);
  line-height: 1.08;
  letter-spacing: -.03em;
}
@media (min-width: 900px) {
  .hero__title,
  .ch-pre__title,
  .who__title,
  .why__title,
  .method__title,
  .voices__title,
  .ways__title { font-size: clamp(2rem, 2.9vw, 2.75rem); }
}

/* ---------- Tres pilares en línea de pasos (como "Qué vas a vivir" del taller) ---------- */
.pillars-path {
  position: relative;
  background: #1A1612;
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(3.5rem, 9vw, 6.5rem);
}
.pillars-path__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 38%;
  filter: brightness(.7) saturate(.85);
}
.pillars-path__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(20, 17, 13, .6) 0%, rgba(20, 17, 13, .5) 50%, rgba(20, 17, 13, .72) 100%),
    linear-gradient(90deg, rgba(20, 17, 13, .5) 0%, rgba(20, 17, 13, .25) 100%);
}
.pillars-path__title,
.pillars-path .mstep__name,
.pillars-path .mstep p { text-shadow: 0 1px 2px rgba(0, 0, 0, .45), 0 2px 20px rgba(0, 0, 0, .4); }
.pillars-path__grid { display: grid; gap: clamp(2.5rem, 8vw, 5rem); }
.pillars-path__title {
  font-size: clamp(1.75rem, 6.6vw, 2.9rem);
  line-height: 1.12;
  letter-spacing: -.03em;
  color: var(--ivory);
  max-width: 16ch;
}

.pillars-path__kick {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(1.0625rem, 3.6vw, 1.2rem);
  color: var(--gold);
  margin: 0 0 1rem;
}
.pillars-path__brand {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 clamp(1.5rem, 4vw, 2.25rem);
  max-width: none;
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(1.35rem, 4.6vw, 1.7rem);
  color: var(--ivory);
}
.pillars-path__brand img { height: 1.35em; width: auto; margin-top: .12em; }
.pillars-path__lead { margin-top: clamp(1.25rem, 3vw, 1.75rem); font-size: clamp(1.0625rem, 2.4vw, 1.15rem); color: rgba(242, 235, 221, .88); text-shadow: 0 1px 2px rgba(0, 0, 0, .45); }
.pillars-path .pillars-path__title { max-width: 20ch; }
@media (min-width: 900px) {
  .pillars-path .pillars-path__grid { grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 5rem); }
}
.mpath { list-style: none; padding: 0; margin: 0; display: grid; gap: clamp(2rem, 6vw, 3rem); }
.mstep {
  --icon: 52px;
  --gap: clamp(2rem, 6vw, 3rem);
  position: relative;
  display: grid;
  grid-template-columns: var(--icon) 1fr;
  gap: 1.1rem;
  align-items: start;
}
/* Línea que une cada ícono con el siguiente; se llena de dorado cuando el siguiente se enciende */
.mstep:not(:last-child)::before,
.mstep:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(var(--icon) / 2);
  top: var(--icon);
  bottom: calc(var(--gap) * -1);
  width: 1px;
  background: rgba(242, 235, 221, .3);
}
.mstep:not(:last-child)::after {
  background: var(--gold);
  transform-origin: top;
  transform: scaleY(1);
  transition: transform .8s var(--ease);
}
.js .mstep:not(:last-child)::after { transform: scaleY(0); }
.js .mstep:has(+ .mstep.is-on)::after { transform: scaleY(1); }
.mstep__icon {
  width: var(--icon);
  height: var(--icon);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(20, 17, 13, .55);
  border: 1px solid var(--gold);
  position: relative;
  z-index: 1;
  transition: background-color .6s var(--ease), border-color .6s var(--ease);
}
.mstep__icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke .6s var(--ease);
}
.mstep.is-on .mstep__icon { background: var(--gold); border-color: var(--gold); }
.mstep.is-on .mstep__icon svg { stroke: var(--forest-2); }
.mstep__name {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(1.25rem, 4.4vw, 1.45rem);
  line-height: 1.2;
  color: var(--ivory);
  padding-top: .7rem;
}
.mstep p { margin-top: .4rem; font-size: clamp(1.0625rem, 2.4vw, 1.15rem); color: rgba(242, 235, 221, .88); }
.method--after { padding-top: clamp(3rem, 8vw, 5rem); }
.method--after .method__close { margin-top: 0; }
@media (min-width: 900px) {
  .pillars-path__grid { grid-template-columns: .8fr 1.2fr; gap: 5rem; align-items: center; }
  .pillars-path__title { font-size: clamp(2rem, 2.9vw, 2.75rem); }
}

/* Cormorant en cursiva sobre claro se mantiene en verde bosque; el carbón es solo para Open Sauce (21 nov 2026) */
.why__quote p,
.voices .voice blockquote p { color: var(--forest); }

/* ---------- Cifras de "Quién soy" en el recuadro verde (21 nov) ----------
   El recuadro verde de antes, con las cifras ordenadas como en el taller:
   número grande en dorado y, debajo, qué significa. */
.who__grid .facts {
  grid-column: 1 / -1;
  margin-top: clamp(1rem, 3vw, 2rem);
  display: block;
  padding: clamp(1.75rem, 5vw, 2.75rem) clamp(1.25rem, 4vw, 2.75rem);
}
.creds--dark { margin: 0; border-top: 0; }
.creds--dark li { padding-top: 0; color: var(--ivory-soft); }
.creds--dark li + li { border-left-color: var(--line-dark); }
.creds--dark .creds__n { color: var(--gold); font-size: clamp(1.75rem, 6vw, 2.9rem); }
@media (max-width: 899px) {
  .creds--dark { grid-template-columns: 1fr; gap: 0; }
  .creds--dark li { display: grid; grid-template-columns: 6.5rem 1fr; align-items: center; gap: 1rem; padding: 1rem 0; }
  .creds--dark li:first-child { padding-top: 0; }
  .creds--dark li:last-child { padding-bottom: 0; }
  .creds--dark li + li { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-dark); }
  .creds--dark .creds__n { font-size: 2rem; line-height: 1; }
}
@media (min-width: 900px) {
  .who__grid .facts { grid-template-columns: none; }
  .creds--dark li { padding-right: 1.5rem; }
  .creds--dark li + li { padding-left: 1.5rem; }
}

/* Por qué combino: frase en negrita a 21 px y tarjeta marfil (como la de las cifras) */
.prose .why__deep { font-size: 1.3125rem; line-height: 1.4; color: var(--ink); }
.focus--card {
  background: var(--ivory-2);
  border-radius: var(--r-photo);
  border: 1px solid rgba(16, 47, 39, .06);
  box-shadow: 0 2px 4px rgba(16, 47, 39, .05), 0 40px 70px -40px rgba(16, 47, 39, .35);
  padding: clamp(1.75rem, 5vw, 2.75rem) clamp(1.25rem, 4vw, 2.75rem);
  gap: 0;
}
.focus--card p { font-size: clamp(1.35rem, 5vw, 2rem); line-height: 1.2; letter-spacing: -.02em; color: var(--ink); }
.focus--card p + p { margin-top: 1rem !important; padding-top: 1rem; border-top: 1px solid var(--line); }
.focus--card .focus__b { color: var(--emerald); }
@media (min-width: 900px) {
  .focus--card p { white-space: nowrap; }
}
