/* MedGarden · propuesta web
   Paleta: la de su marca (selva, salvia, crema y caramelo) + dos acentos de temperatura,
   rojo infrarrojo y azul frío, que solo aparecen donde hay calor o frío de verdad.
   Fuentes: Cabinet Grotesk (títulos), Satoshi (texto) e Instrument Serif itálica (acentos), alojadas en /fonts. */

@font-face { font-family: "Cabinet Grotesk"; src: url("fonts/cabinet-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cabinet Grotesk"; src: url("fonts/cabinet-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("fonts/satoshi-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("fonts/satoshi-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("fonts/satoshi-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("fonts/instrument-serif-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --selva: #13201a;
  --selva-2: #1a2c22;
  --selva-3: #0d1611;
  --salvia: #59765a;          /* el verde de su logo */
  --salvia-oscura: #3e5841;   /* para botones y texto sobre crema */
  --salvia-clara: #a9c7a3;    /* solo sobre fondos oscuros */
  --crema: #f4efe4;
  --crema-2: #ebe3d2;
  --blanco-roto: #fbf8f1;
  --caramelo: #d2ae74;        /* solo sobre fondos oscuros */
  --caramelo-fondo: #c9a46c;
  --caramelo-oscuro: #7a5a2b; /* el mismo acento, oscurecido para fondos claros */
  --tinta: #17221b;
  --tinta-suave: #4b564e;
  --calor: #ff6447;
  --frio: #5aa8ff;
  --g: clamp(1rem, 4vw, 4rem);
  --vertical: clamp(5rem, 10vw, 9rem);
  --radio: 24px;
  --fuente-titulo: "Cabinet Grotesk", "Arial Black", system-ui, sans-serif;
  --fuente-texto: "Satoshi", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fuente-acento: "Instrument Serif", Georgia, "Times New Roman", serif;
  --salir: cubic-bezier(.25, 1, .5, 1);
  --cruzar: cubic-bezier(.76, 0, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scrollbar-gutter: stable; -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--selva);
  color: var(--crema);
  font-family: var(--fuente-texto);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

:focus-visible { outline: 2px solid var(--caramelo); outline-offset: 3px; }
[data-tema="claro"] :focus-visible, [data-tema="caramelo"] :focus-visible { outline-color: var(--selva); }

.saltar { position: fixed; left: 1rem; top: -4rem; z-index: 600; background: var(--crema); color: var(--selva); padding: .7rem 1.1rem; border-radius: 999px; transition: top .2s; }
.saltar:focus { top: 1rem; }

/* ---------- Temas por sección ---------- */
[data-tema="claro"] { background: var(--crema); color: var(--tinta); }
[data-tema="oscuro"] { background: var(--selva); color: var(--crema); }
[data-tema="caramelo"] { background: var(--caramelo-fondo); color: var(--selva); }
section { position: relative; }
.seccion { padding: var(--vertical) 0; }
.envoltura { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--g); }

/* ---------- Logo (máscara del logo real, toma el color del texto) ---------- */
.logo-marca, .logo-completo {
  display: inline-block; background: currentColor;
  -webkit-mask: url("img/logo-marca.png") center / contain no-repeat;
  mask: url("img/logo-marca.png") center / contain no-repeat;
}
.logo-marca { width: 1.15em; aspect-ratio: 423 / 396; }
.logo-completo {
  width: 168px; aspect-ratio: 936 / 546;
  -webkit-mask-image: url("img/logo-completo.png"); mask-image: url("img/logo-completo.png");
}

/* ---------- Tipografía ---------- */
.etiqueta {
  font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--caramelo); margin-bottom: 1.2rem;
}
.etiqueta--oscura { color: var(--caramelo-oscuro); }
.titulo {
  font-family: var(--fuente-titulo); font-weight: 800;
  font-size: clamp(2.4rem, 5.4vw, 5rem); line-height: .98; letter-spacing: -.03em;
  text-wrap: balance;
}
.titulo--enorme { font-size: clamp(3rem, 8vw, 7.6rem); line-height: .92; }
.titulo em {
  font-family: var(--fuente-acento); font-style: italic; font-weight: 400;
  letter-spacing: -.01em; color: var(--salvia-oscura);
}
[data-tema="oscuro"] .titulo em { color: var(--salvia-clara); }
/* máscaras de SplitText con aire, para que no corten la "¿", las tildes ni las cursivas */
.palabra-t-mask, .letra-t-mask { padding: .14em .1em .22em; margin: -.14em -.1em -.22em; }
.linea-t-mask { padding-bottom: .16em; margin-bottom: -.16em; }

/* ---------- Botones ---------- */
.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .85rem 1.6rem; border-radius: 999px;
  background: var(--crema); color: var(--selva);
  font-weight: 700; font-size: 1rem; line-height: 1.2; text-align: center;
  border: 1.5px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background-color .25s ease, color .25s ease;
}
.boton--chico { min-height: 42px; padding: .55rem 1.15rem; font-size: .92rem; }
.boton--linea { background: transparent; color: currentColor; border-color: currentColor; }
.boton--salvia { background: var(--salvia-oscura); color: var(--crema); }
.boton--oscuro { background: var(--selva); color: var(--crema); }
@media (hover: hover) {
  .boton:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(244, 239, 228, .28); }
  .boton--linea:hover { transform: translateY(-1px); box-shadow: none; background: rgba(127, 127, 127, .12); }
  .boton--salvia:hover { box-shadow: 0 10px 24px rgba(62, 88, 65, .4); }
  .boton--oscuro:hover { box-shadow: 0 10px 24px rgba(19, 32, 26, .4); }
}
.enlace {
  display: inline-block; margin-top: .9rem; font-weight: 700; font-size: .95rem;
  border-bottom: 1.5px solid currentColor; padding-bottom: 2px;
}
.enlace--oscuro { color: var(--tinta); }

/* Servicios recomendados: botones de verdad que abren un globito con la descripción */
.servicios { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1.8rem; }
.servicio { position: relative; }
.servicio__boton {
  display: inline-flex; align-items: center; gap: .55rem; cursor: pointer;
  font-size: .92rem; font-weight: 700; line-height: 1.2; color: var(--salvia-oscura);
  padding: .5rem .55rem .5rem 1rem; border-radius: 999px;
  background: var(--blanco-roto); border: 1.5px solid rgba(62, 88, 65, .35);
  box-shadow: 0 2px 0 rgba(62, 88, 65, .18);
  transition: transform .2s ease, box-shadow .2s ease, background-color .25s ease, color .25s ease, border-color .25s ease;
}
.servicio__icono {
  position: relative; flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--salvia-oscura); transition: transform .35s var(--salir), background-color .25s ease;
}
.servicio__icono::before, .servicio__icono::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 2px; margin: -1px 0 0 -5px;
  background: var(--crema); border-radius: 2px;
}
.servicio__icono::after { transform: rotate(90deg); }
.servicio__boton[aria-expanded="true"] { background: var(--salvia-oscura); color: var(--crema); border-color: var(--salvia-oscura); }
.servicio__boton[aria-expanded="true"] .servicio__icono { transform: rotate(45deg); background: var(--crema); }
.servicio__boton[aria-expanded="true"] .servicio__icono::before,
.servicio__boton[aria-expanded="true"] .servicio__icono::after { background: var(--salvia-oscura); }
@media (hover: hover) {
  .servicio__boton:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(62, 88, 65, .22); border-color: var(--salvia-oscura); }
}
.servicio__globo {
  position: absolute; z-index: 20; left: var(--globo-x, 0px); top: calc(100% + 12px);
  width: max-content; max-width: min(290px, calc(100vw - 2 * var(--g)));
  padding: .85rem 1rem; border-radius: 16px; background: var(--selva); color: var(--crema);
  font-size: .92rem; line-height: 1.45; box-shadow: 0 18px 40px rgba(19, 32, 26, .3);
  animation: globo .3s var(--salir);
}
.servicio__globo::before {
  content: ""; position: absolute; top: -6px; left: var(--flecha-x, 24px); width: 12px; height: 12px;
  background: var(--selva); transform: rotate(45deg); border-radius: 2px;
}
@keyframes globo { from { opacity: 0; transform: translateY(-6px); } }

/* Lista simple (no parece botón): puntos y líneas finas */
.lista-simple { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.2rem; }
.lista-simple li {
  position: relative; padding: .55rem 0 .55rem 1.1rem; font-size: .95rem;
  border-bottom: 1px solid rgba(244, 239, 228, .16);
}
.lista-simple li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: 6px; height: 6px; border-radius: 50%; background: var(--salvia-clara); }
.estrellas { color: var(--caramelo); letter-spacing: .12em; }

/* ---------- Entrada ---------- */
.entrada { position: fixed; inset: 0; z-index: 500; display: flex; pointer-events: none; }
.entrada__hoja { flex: 1; background: var(--salvia); animation: entrada-hoja 1s var(--cruzar) 1.6s forwards; }
.entrada__hoja--calor { animation-name: entrada-izq; }
.entrada__hoja--frio { animation-name: entrada-der; }
.entrada__marca {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .9rem;
  color: var(--crema); animation: entrada-marca .5s ease 1.3s forwards;
}
.entrada__logo { width: 76px; }
.entrada__nombre { font-family: var(--fuente-titulo); font-weight: 800; font-size: 1.6rem; letter-spacing: -.02em; }
@keyframes entrada-izq { to { transform: translateY(-101%); } }
@keyframes entrada-der { to { transform: translateY(101%); } }
@keyframes entrada-marca { to { opacity: 0; } }

/* ---------- Cabecera ---------- */
.cabecera {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; gap: 1.5rem;
  padding: 1rem var(--g); color: var(--crema);
  transition: background-color .35s ease, color .35s ease, transform .45s var(--salir), padding .35s ease, box-shadow .35s ease;
}
.cabecera.is-solida { background: rgba(19, 32, 26, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-top: .7rem; padding-bottom: .7rem; }
.cabecera.is-clara { background: rgba(244, 239, 228, .9); color: var(--tinta); box-shadow: 0 1px 0 rgba(23, 34, 27, .08); }
.cabecera.is-escondida { transform: translateY(-110%); }
.cabecera__logo { display: flex; align-items: center; gap: .55rem; font-size: 1.6rem; margin-right: auto; }
@media (max-width: 420px) { .cabecera { gap: .6rem; } .cabecera__nombre { font-size: 1.15rem; } }
.cabecera__nombre { font-family: var(--fuente-titulo); font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em; }
.cabecera__nav { display: none; gap: 1.8rem; font-weight: 500; font-size: .96rem; }
.cabecera__nav a { position: relative; padding: .3rem 0; }
.cabecera__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s var(--salir); }
@media (hover: hover) { .cabecera__nav a:hover::after { transform: scaleX(1); transform-origin: left; } }
.cabecera.is-clara .cabecera__cta { background: var(--salvia-oscura); color: var(--crema); }
.cabecera__idioma {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 42px; padding: 0 .7rem;
  border-radius: 999px; border: 1.5px solid currentColor; font-weight: 700; font-size: .85rem; letter-spacing: .08em;
  transition: background-color .25s ease, color .25s ease;
}
@media (hover: hover) { .cabecera__idioma:hover { background: rgba(127, 127, 127, .16); } }
.cabecera__menu {
  width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid currentColor; background: transparent;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; cursor: pointer;
}
.cabecera__menu-raya { width: 18px; height: 1.5px; background: currentColor; transition: transform .3s var(--salir); }
.cabecera__menu[aria-expanded="true"] .cabecera__menu-raya:first-child { transform: translateY(3.75px) rotate(45deg); }
.cabecera__menu[aria-expanded="true"] .cabecera__menu-raya:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }
@media (min-width: 1000px) {
  .cabecera__nav { display: flex; }
  .cabecera__menu { display: none; }
}

.menu-movil {
  position: fixed; inset: 0; z-index: 90; background: var(--selva);
  padding: 7rem var(--g) 2rem; display: flex; flex-direction: column; justify-content: space-between;
}
.menu-movil nav { display: flex; flex-direction: column; gap: .3rem; }
.menu-movil nav a { font-family: var(--fuente-titulo); font-weight: 800; font-size: clamp(2rem, 9vw, 3rem); letter-spacing: -.03em; line-height: 1.15; }
.menu-movil__pie { color: var(--salvia-clara); font-size: .95rem; }
.menu-movil__pie a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh; display: grid; gap: 2.5rem; align-items: center;
  padding: 7rem var(--g) 3rem; max-width: 1480px; margin: 0 auto;
  background: transparent;
}
#inicio { background: var(--selva); max-width: none; }
.hero__texto { max-width: 680px; }
.hero__titulo {
  font-family: var(--fuente-titulo); font-weight: 800;
  font-size: clamp(3.3rem, 8.6vw, 8.4rem); line-height: .9; letter-spacing: -.045em;
  margin-bottom: 1.6rem;
}
.hero__palabra {
  display: block; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; text-align: left;
  font: inherit; letter-spacing: inherit; line-height: inherit;
  color: transparent; -webkit-text-stroke: 1.5px rgba(244, 239, 228, .38);
  transition: color .6s var(--salir), -webkit-text-stroke-color .6s var(--salir);
}
.hero__palabra.is-activa { -webkit-text-stroke-color: transparent; }
.hero__palabra[data-palabra="0"].is-activa { color: var(--caramelo); }
.hero__palabra[data-palabra="1"].is-activa { color: var(--frio); }
.hero__palabra[data-palabra="2"].is-activa { color: var(--salvia-clara); }
.hero__bajada { font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: rgba(244, 239, 228, .82); max-width: 33rem; margin-bottom: 2rem; }
.hero__botones { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2rem; }
.hero__resena { display: inline-flex; align-items: center; gap: .7rem; font-size: .95rem; color: rgba(244, 239, 228, .82); }
.hero__resena strong { color: var(--crema); }

.hero__marco {
  position: relative; width: 100%; max-width: 560px; justify-self: center;
  aspect-ratio: 4 / 5; max-height: 78svh; border-radius: 32px; overflow: hidden; background: var(--selva-2);
}
.hero__foto { position: absolute; inset: 0; clip-path: inset(100% 0 0 0); transition: clip-path 1.1s var(--cruzar); }
.hero__foto.is-activa { clip-path: inset(0 0 0 0); z-index: 2; }
.hero__foto.is-saliendo { clip-path: inset(0 0 0 0); z-index: 1; }
.hero__foto img { width: 100%; height: 100%; object-fit: cover; }
.hero__foto--entrena img { object-position: 50% 45%; }
.hero__foto figcaption {
  position: absolute; left: 1rem; bottom: 1.6rem; padding: .45rem .95rem; border-radius: 999px;
  background: rgba(13, 22, 17, .62); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: .88rem; font-weight: 500; color: var(--crema);
}
.hero__progreso { position: absolute; left: 1rem; right: 1rem; bottom: .8rem; height: 3px; border-radius: 3px; background: rgba(244, 239, 228, .25); z-index: 3; overflow: hidden; }
.hero__progreso span { display: block; height: 100%; width: 100%; background: var(--crema); transform: scaleX(0); transform-origin: left; }
/* En celular y tablet la foto va primero: así se ve que cambia con cada palabra. */
@media (max-width: 959px) {
  .hero { padding-top: 5.6rem; gap: 1.6rem; align-items: start; }
  .hero__marco { order: -1; aspect-ratio: 4 / 3; max-height: 40svh; max-width: none; border-radius: 24px; }
  .hero__titulo { margin-bottom: 1.2rem; }
}
@media (min-width: 960px) {
  .hero { grid-template-columns: 1.15fr .85fr; gap: 4rem; padding-top: 8rem; }
  .hero__marco { justify-self: end; }
}

/* ---------- Cinta ---------- */
.cinta { background: var(--salvia); color: var(--crema); overflow: hidden; padding: 1.15rem 0; }
.cinta__pista { display: flex; align-items: center; gap: 1.6rem; width: max-content; animation: cinta 46s linear infinite; }
.cinta__pista span { font-family: var(--fuente-titulo); font-weight: 800; font-size: clamp(1.4rem, 2.6vw, 2.2rem); letter-spacing: -.02em; white-space: nowrap; }
.cinta__pista i { font-size: 1.5rem; opacity: .75; }
@keyframes cinta { to { transform: translateX(-50%); } }

/* ---------- ¿Qué buscás hoy? ---------- */
.objetivos__cabeza { margin-bottom: 1.6rem; }
.objetivos__pista { display: flex; align-items: center; gap: .6rem; font-weight: 700; font-size: .95rem; color: var(--caramelo-oscuro); margin-bottom: .9rem; }
.objetivos__flecha { position: relative; width: 18px; height: 18px; animation: pista 1.6s ease-in-out infinite; }
.objetivos__flecha::before { content: ""; position: absolute; left: 50%; top: 0; width: 2px; height: 14px; margin-left: -1px; background: currentColor; border-radius: 2px; }
.objetivos__flecha::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 8px; height: 8px; margin-left: -5px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
@keyframes pista { 50% { transform: translateY(4px); } }
.objetivos__tabs { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-bottom: 2rem; }
.objetivos__tab {
  display: flex; align-items: center; justify-content: space-between; gap: .8rem;
  padding: .8rem .8rem .8rem 1.1rem; border-radius: 18px; border: 1.5px solid rgba(23, 34, 27, .16); background: var(--blanco-roto);
  font-weight: 700; font-size: .98rem; line-height: 1.25; text-align: left; cursor: pointer; color: var(--tinta);
  box-shadow: 0 3px 0 rgba(23, 34, 27, .1);
  transition: background-color .3s ease, color .3s ease, border-color .3s ease, transform .2s ease, box-shadow .2s ease;
}
.objetivos__tab-icono {
  position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--crema-2); transition: background-color .3s ease, transform .35s var(--salir);
}
/* flecha → dentro del círculo */
.objetivos__tab-icono::before { content: ""; position: absolute; left: 8px; top: 14px; width: 13px; height: 2px; background: var(--tinta); border-radius: 2px; }
.objetivos__tab-icono::after { content: ""; position: absolute; left: 13px; top: 10px; width: 7px; height: 7px; border-right: 2px solid var(--tinta); border-top: 2px solid var(--tinta); transform: rotate(45deg); }
.objetivos__tab[aria-selected="true"] { background: var(--selva); color: var(--crema); border-color: var(--selva); box-shadow: 0 10px 24px rgba(19, 32, 26, .25); }
.objetivos__tab[aria-selected="true"] .objetivos__tab-icono { background: var(--caramelo); transform: rotate(90deg); }
@media (hover: hover) {
  .objetivos__tab:hover { transform: translateY(-3px); border-color: var(--selva); box-shadow: 0 10px 22px rgba(23, 34, 27, .14); }
  .objetivos__tab:not([aria-selected="true"]):hover .objetivos__tab-icono { background: var(--selva); transform: translateX(3px); }
  .objetivos__tab:not([aria-selected="true"]):hover .objetivos__tab-icono::before { background: var(--crema); }
  .objetivos__tab:not([aria-selected="true"]):hover .objetivos__tab-icono::after { border-color: var(--crema); }
}
.objetivo { display: grid; gap: 2rem; align-items: center; }
.objetivo__foto { border-radius: var(--radio); overflow: hidden; aspect-ratio: 5 / 4; }
.objetivo__foto img { width: 100%; height: 100%; object-fit: cover; }
.objetivo__titulo { font-family: var(--fuente-titulo); font-weight: 800; font-size: clamp(1.8rem, 3.2vw, 2.8rem); line-height: 1.02; letter-spacing: -.03em; margin-bottom: 1rem; }
.objetivo__texto > p { color: var(--tinta-suave); max-width: 34rem; }
.objetivo__ayuda { font-weight: 500; letter-spacing: .02em; text-transform: none; color: var(--tinta-suave); }
.objetivo__sub { margin: 1.6rem 0 .7rem; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--caramelo-oscuro) !important; }
.tarjeta--color .objetivo__sub { color: #ecd4a4 !important; } /* caramelo aclarado: el normal no pasa AA sobre el verde */
@media (min-width: 760px) {
  .objetivos__tabs { display: flex; flex-wrap: wrap; }
  .objetivos__tab { border-radius: 999px; padding: .55rem .55rem .55rem 1.3rem; }
}
@media (min-width: 960px) {
  .objetivo { grid-template-columns: 1.05fr .95fr; gap: 4rem; }
}

/* ---------- Recovery Pack ---------- */
.pack { background: var(--selva-2); overflow: hidden; }
.pack__cabeza { display: grid; gap: 2rem; align-items: end; margin-bottom: 3.5rem; }
.pack__monto { font-family: var(--fuente-titulo); font-weight: 800; font-size: clamp(2.6rem, 5vw, 4.2rem); line-height: 1; letter-spacing: -.03em; color: var(--caramelo); }
.pack__nota { color: rgba(244, 239, 228, .78); margin: .4rem 0 1.4rem; }
.pack__pasos { display: grid; gap: 2.4rem; counter-reset: paso; }
.paso__foto { border-radius: var(--radio); overflow: hidden; aspect-ratio: 4 / 5; margin-bottom: 1.3rem; background: var(--selva); }
.paso__foto img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--salir); }
.paso--calor .paso__foto { box-shadow: 0 30px 70px -30px rgba(255, 100, 71, .65); }
.paso--frio .paso__foto { box-shadow: 0 30px 70px -30px rgba(90, 168, 255, .7); }
.paso__numero { font-family: var(--fuente-titulo); font-weight: 800; font-size: .95rem; color: var(--caramelo); letter-spacing: .08em; margin-bottom: .3rem; }
.paso--calor .paso__numero { color: var(--calor); }
.paso--frio .paso__numero { color: var(--frio); }
.paso__titulo { font-family: var(--fuente-titulo); font-weight: 800; font-size: 1.7rem; letter-spacing: -.02em; line-height: 1.05; margin-bottom: .5rem; }
.paso > p:last-child { color: rgba(244, 239, 228, .78); }
@media (hover: hover) { .paso:hover .paso__foto img { transform: scale(1.04); } }
@media (min-width: 760px) {
  .pack__cabeza { grid-template-columns: 1fr auto; }
  .pack__precio { text-align: right; }
  .pack__pasos { grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
  .paso:nth-child(2) { margin-top: 4rem; }
  .paso:nth-child(3) { margin-top: 8rem; }
}

/* ---------- Bath House ---------- */
/* Sin JS (o en celular): lista normal sobre un degradado de calor a frío. */
.bath {
  --bath-fondo: #2a0f0a;
  background: linear-gradient(180deg, #2c0f09 0%, #26150d 30%, #102331 70%, #061629 100%);
  padding: var(--vertical) 0;
}
.bath__fijo { max-width: 1360px; margin: 0 auto; padding: 0 var(--g); display: grid; gap: 3rem; }
.bath__al { font-family: var(--fuente-acento); font-style: italic; font-weight: 400; }
.bath .titulo em { color: var(--frio); }
.bath .etiqueta { color: var(--calor); }
.bath__bajada { color: rgba(244, 239, 228, .8); margin: 1.2rem 0 1.8rem; max-width: 26rem; }
.termometro { display: none; }
.bath__lista { display: grid; gap: 2.8rem; }
.estacion__foto { border-radius: var(--radio); overflow: hidden; aspect-ratio: 4 / 5; margin-bottom: 1.2rem; background: #000; }
.estacion__foto img { width: 100%; height: 100%; object-fit: cover; }
.estacion__foto--doble { display: grid; grid-template-columns: 1fr 1fr; }
.estacion__temp { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--calor); margin-bottom: .4rem; }
.estacion:nth-child(3) .estacion__temp { color: #ffb08f; }
.estacion:nth-child(4) .estacion__temp { color: #d7b3ff; }
.estacion:nth-child(5) .estacion__temp { color: var(--frio); }
.estacion__titulo { font-family: var(--fuente-titulo); font-weight: 800; font-size: clamp(1.9rem, 3vw, 2.8rem); letter-spacing: -.03em; line-height: 1; margin-bottom: .6rem; text-wrap: balance; }
.estacion__texto > p:last-child { color: rgba(244, 239, 228, .82); max-width: 30rem; }

/* Con JS en compu: la sección se queda fija y el scroll baja la temperatura. */
.bath.bath--fija { background: var(--bath-fondo); padding: 0; transition: none; }
.bath--fija .bath__fijo { height: 100vh; grid-template-columns: .75fr 1.25fr; align-items: center; gap: 4rem; padding-top: 4.5rem; }
.bath--fija .termometro { display: flex; align-items: center; gap: .9rem; margin-bottom: 2rem; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.termometro__fin:first-child { color: var(--calor); }
.termometro__fin:last-child { color: var(--frio); }
.termometro__tubo { position: relative; width: 220px; height: 6px; border-radius: 6px; background: rgba(244, 239, 228, .18); overflow: hidden; }
.termometro__nivel { position: absolute; inset: 0; background: linear-gradient(90deg, var(--calor), #d7b3ff 60%, var(--frio)); transform: scaleX(0); transform-origin: left; }
.bath--fija .bath__lista { position: relative; height: min(76vh, 760px); }
.bath--fija .estacion {
  position: absolute; inset: 0; display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.4rem; align-items: end;
  opacity: 0; visibility: hidden; transition: opacity .6s var(--salir), visibility 0s linear .6s;
}
.bath--fija .estacion.is-activa { opacity: 1; visibility: visible; transition: opacity .6s var(--salir), visibility 0s; }
.bath--fija .estacion__foto { height: 100%; aspect-ratio: auto; margin: 0; clip-path: inset(0 0 100% 0 round var(--radio)); transition: clip-path .9s var(--cruzar); }
.bath--fija .estacion.is-activa .estacion__foto { clip-path: inset(0 0 0 0 round var(--radio)); }
.bath--fija .estacion__texto { padding-bottom: 1rem; transform: translateY(18px); transition: transform .8s var(--salir); }
.bath--fija .estacion.is-activa .estacion__texto { transform: none; }

/* ---------- Clínica ---------- */
.clinica__cabeza { max-width: 860px; margin-bottom: 3rem; }
.clinica__bajada { color: var(--tinta-suave); margin-top: 1.3rem; max-width: 40rem; font-size: 1.1rem; }
.bento { display: grid; gap: 1rem; }
.tarjeta {
  background: var(--blanco-roto); border-radius: var(--radio); overflow: hidden; display: flex; flex-direction: column;
  border: 1px solid rgba(23, 34, 27, .07);
  transition: transform .25s ease, box-shadow .25s ease;
}
@media (hover: hover) { .tarjeta:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(23, 34, 27, .14); } }
.tarjeta__foto { aspect-ratio: 4 / 3; overflow: hidden; }
.tarjeta__foto img { width: 100%; height: 100%; object-fit: cover; }
.tarjeta__foto--rendimiento img { object-position: 50% 8%; }
.tarjeta__texto { padding: 1.4rem 1.5rem 1.6rem; }
.tarjeta h3 { font-family: var(--fuente-titulo); font-weight: 800; font-size: 1.55rem; letter-spacing: -.02em; line-height: 1.05; margin-bottom: .5rem; }
.tarjeta__texto > p { color: var(--tinta-suave); font-size: 1rem; }
.tarjeta .enlace { color: var(--salvia-oscura); }
.tarjeta--color { background: var(--salvia-oscura); color: var(--crema); border: 0; justify-content: center; }
.tarjeta--color .tarjeta__texto > p { color: rgba(244, 239, 228, .86); }
.clinica__cta { margin-top: 2.6rem; display: flex; justify-content: center; }
@media (min-width: 760px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tarjeta--grande { grid-column: span 2; }
  .tarjeta--grande .tarjeta__foto { aspect-ratio: 16 / 9; }
}
@media (min-width: 1100px) {
  .bento { grid-template-columns: 1.15fr 1fr 1fr; }
  .tarjeta--grande { grid-column: auto; grid-row: span 2; }
  .tarjeta--grande .tarjeta__foto { aspect-ratio: auto; flex: 1; min-height: 360px; }
}

/* ---------- Movimiento ---------- */
.movimiento__cabeza { margin-bottom: 3rem; }
.movimiento__grid { display: grid; gap: 2.4rem; }
.clase__foto { border-radius: var(--radio); overflow: hidden; aspect-ratio: 4 / 5; margin-bottom: 1.2rem; }
.clase__foto img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--salir); }
@media (hover: hover) { .clase:hover .clase__foto img { transform: scale(1.05); } }
.clase__titulo { font-family: var(--fuente-titulo); font-weight: 800; font-size: 1.7rem; letter-spacing: -.02em; margin-bottom: .4rem; }
.clase > p { color: rgba(244, 239, 228, .8); }
.movimiento__cta { margin-top: 3rem; display: flex; flex-wrap: wrap; gap: .8rem; }
@media (min-width: 760px) { .movimiento__grid { grid-template-columns: repeat(3, 1fr); gap: 1.6rem; } }

/* ---------- El lugar ---------- */
.lugar { padding: var(--vertical) 0; overflow: hidden; }
.lugar__cabeza { display: grid; gap: 1.4rem; margin-bottom: 2.6rem; }
.lugar__texto { color: var(--tinta-suave); max-width: 34rem; font-size: 1.08rem; }
.lugar__pista {
  display: flex; align-items: flex-end; gap: 1rem; padding: 0 var(--g) 1rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--g); scrollbar-width: thin;
}
.lugar__foto { flex: 0 0 auto; width: 74vw; max-width: 380px; scroll-snap-align: start; }
.lugar__foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radio); }
.lugar__foto--alta img { aspect-ratio: 4 / 5; }
.lugar__foto figcaption { margin-top: .7rem; font-size: .9rem; font-weight: 500; color: var(--tinta-suave); }
@media (min-width: 960px) {
  .lugar__cabeza { grid-template-columns: 1.2fr .8fr; align-items: end; gap: 4rem; }
}
/* Con JS en compu: la pista se mueve de lado con el scroll (recorrido). */
.lugar.lugar--fija { padding: 0; }
.lugar--fija .lugar__fijo { height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-top: 4rem; }
.lugar--fija .lugar__pista { overflow: visible; scroll-snap-type: none; padding-bottom: 0; width: max-content; }
.lugar--fija .lugar__foto { width: auto; max-width: none; }
.lugar--fija .lugar__foto img { height: 46vh; width: auto; }
.lugar--fija .lugar__foto--alta img { height: 56vh; }

/* ---------- Comunidad ---------- */
.comunidad__grid { display: grid; gap: 3rem; align-items: center; }
.comunidad__texto > p { color: rgba(244, 239, 228, .82); margin: 1.4rem 0 2rem; max-width: 34rem; }
.refugio { border: 1.5px dashed rgba(169, 199, 163, .55); border-radius: var(--radio); padding: 1.4rem 1.5rem; margin-bottom: 2rem; max-width: 30rem; }
.refugio__etiqueta { font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--salvia-clara); }
.refugio__titulo { font-family: var(--fuente-acento); font-style: italic; font-size: 2.2rem; line-height: 1.1; margin: .2rem 0 .3rem; }
.refugio__texto { color: rgba(244, 239, 228, .78); font-size: .98rem; }
.comunidad__fotos { position: relative; height: clamp(440px, 62vw, 680px); }
.comunidad__foto { position: absolute; border-radius: var(--radio); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.comunidad__foto img { width: 100%; height: 100%; object-fit: cover; }
.comunidad__foto--1 { left: 0; top: 0; width: 56%; aspect-ratio: 3 / 4; }
.comunidad__foto--2 { right: 0; top: 14%; width: 46%; aspect-ratio: 3 / 4; }
.comunidad__foto--3 { left: 18%; bottom: 0; width: 50%; aspect-ratio: 10 / 9; }
@media (min-width: 960px) { .comunidad__grid { grid-template-columns: .95fr 1.05fr; gap: 5rem; } }

/* ---------- Reseñas ---------- */
.resenas__grid { display: grid; gap: 3rem; }
.resenas__numero { font-family: var(--fuente-titulo); font-weight: 800; font-size: clamp(6rem, 14vw, 11rem); line-height: .85; letter-spacing: -.05em; }
.estrellas--grandes { color: var(--caramelo-oscuro); font-size: 1.6rem; margin: .8rem 0 .2rem; }
.resenas__fuente { font-weight: 700; }
.resenas__lista { display: grid; gap: 1rem; }
.cita { background: var(--blanco-roto); border-radius: var(--radio); padding: 1.6rem 1.7rem; border: 1px solid rgba(23, 34, 27, .07); }
.cita blockquote { font-family: var(--fuente-acento); font-style: italic; font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.25; }
.cita__autor { margin-top: .9rem; font-weight: 700; font-size: .92rem; color: var(--caramelo-oscuro); }
@media (min-width: 960px) {
  .resenas__grid { grid-template-columns: .7fr 1.3fr; gap: 5rem; align-items: start; }
  .resenas__nota { position: sticky; top: 8rem; }
}

/* ---------- Medworks ---------- */
.medworks { padding: 2.6rem 0; }
.medworks__grid { display: grid; gap: 1.4rem; align-items: center; }
.medworks__texto { font-size: 1.12rem; max-width: 46rem; }
.medworks__texto strong { font-family: var(--fuente-titulo); font-weight: 800; font-size: 1.3rem; letter-spacing: -.01em; }
@media (min-width: 760px) { .medworks__grid { grid-template-columns: 1fr auto; gap: 3rem; } }

/* ---------- Visitanos ---------- */
.visita__grid { display: grid; gap: 3rem; align-items: center; }
.datos { display: grid; gap: 1.2rem; margin: 2.4rem 0; }
.datos div { display: grid; gap: .15rem; padding-bottom: 1.1rem; border-bottom: 1px solid rgba(244, 239, 228, .14); }
.datos dt { font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--caramelo); }
.datos dd { font-size: 1.08rem; }
.datos a { border-bottom: 1px solid rgba(244, 239, 228, .4); }
.visita__botones { display: flex; flex-wrap: wrap; gap: .7rem; }
.visita__foto { border-radius: 32px; overflow: hidden; aspect-ratio: 3 / 4; max-height: 82vh; }
.visita__foto img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 960px) { .visita__grid { grid-template-columns: 1.1fr .9fr; gap: 5rem; } .datos { grid-template-columns: 1fr 1fr; } }

/* ---------- Pie ---------- */
.pie { background: var(--selva-3); padding: 4rem 0 2rem; }
.pie__arriba { display: grid; gap: 2rem; padding-bottom: 2.4rem; border-bottom: 1px solid rgba(244, 239, 228, .12); }
.pie__nav, .pie__redes { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; font-weight: 500; }
.pie__redes a, .pie__nav a { border-bottom: 1px solid transparent; transition: border-color .2s; }
@media (hover: hover) { .pie__redes a:hover, .pie__nav a:hover { border-color: currentColor; } }
.pie__abajo { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.6rem; font-size: .9rem; color: rgba(244, 239, 228, .7); }
.pie__credito { color: rgba(255, 255, 255, .46); font-size: 12px; letter-spacing: .06em; }
@media (min-width: 960px) { .pie__arriba { grid-template-columns: auto 1fr auto; align-items: center; gap: 4rem; } .pie__nav { justify-content: center; } }

/* ---------- Menos movimiento ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .entrada { display: none; }
  .cinta__pista { flex-wrap: wrap; width: auto; justify-content: center; padding: 0 var(--g); }
  .cinta__pista > :nth-child(n + 19) { display: none; }
}
