/* GyC Laguna Resort · demo
   Identidad tomada de sus piezas reales:
   - Logo: el de su perfil de Instagram, en línea y de un solo verde (vectorizado fiel en scripts/logo.py).
   - Colores medidos en sus publicaciones: verde #1C4342 (logo y fondos de tarifas), hueso #F4EDDF (fondo de sus
     piezas), ocre #C9853F (sus etiquetas y ondas) y oliva #495739 / #878B50 (sus círculos y bandas).
   - Tipografía: Archivo, una sola familia variable. Ancha y firme en los títulos, angosta en los precios y cifras
     (como la cartelería de un parque), normal para leer. La serif queda solo en el logo.
   - Fotos reales en alta (ficha de Google en tamaño original) como protagonistas. Rectángulos y líneas finas, sin
     píldoras ni tarjetas con íconos. El movimiento orienta y se apaga con "reducir movimiento". */

@font-face { font-family: 'Archivo'; src: url('../fonts/archivo.woff2') format('woff2'); font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; }
@font-face { font-family: 'Archivo respaldo'; src: local('Arial'), local('ArialMT'); size-adjust: 104%; ascent-override: 88%; descent-override: 22%; line-gap-override: 0%; }

:root {
  --verde: #1c4342;
  --verde-2: #143433;
  --verde-3: #0e2726;
  --oliva: #495739;
  --oliva-2: #878b50;
  --hueso: #f4eddf;
  --arena: #e8e0c8;
  --papel: #fbf7ee;
  --ocre: #c9853f;
  --ocre-claro: #e0a865;
  --ocre-osc: #8a521d;
  --tinta: #1d2620;
  --tinta-2: #55604f;
  --letra: 'Archivo', 'Archivo respaldo', Arial, sans-serif;
  --margen: clamp(16px, 4.4vw, 80px);
  --ancho: 1520px;
  --enc: 72px;
  --banda: 30px;
  --curva: cubic-bezier(0.22, 1, 0.36, 1);
  --curva-2: cubic-bezier(0.65, 0, 0.35, 1);
  --vh: 1svh;
  --flecha: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1 8h13M9 3l5 5-5 5' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E");
  /* Colores de la sección actual */
  --fondo: var(--hueso);
  --texto: var(--tinta);
  --texto-2: var(--tinta-2);
  --linea: rgba(28, 67, 66, 0.16);
  --acento: var(--ocre-osc);
}

@supports not (height: 1svh) { :root { --vh: 1vh; } }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--enc) + 24px); background: var(--hueso); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; background: var(--hueso); color: var(--tinta); font: 400 17px/1.6 var(--letra); font-stretch: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--ocre); outline-offset: 3px; }
::selection { background: var(--ocre-claro); color: var(--tinta); }
.visualmente-oculto { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.saltar { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--verde); color: var(--hueso); padding: 12px 16px; border-radius: 4px; transition: top 0.2s; }
.saltar:focus { top: 12px; }
.contenedor { width: 100%; max-width: var(--ancho); margin-inline: auto; padding-inline: var(--margen); }
.contenedor--angosto { max-width: 1100px; }

/* ---------- Secciones ---------- */
.s { position: relative; padding-block: clamp(76px, 9vw, 150px); background: var(--fondo); color: var(--texto); }
.s--arena { --fondo: var(--arena); --linea: rgba(28, 67, 66, 0.2); }
.s--papel { --fondo: var(--papel); }
.s--verde, .verde { --fondo: var(--verde); --texto: var(--hueso); --texto-2: rgba(244, 237, 223, 0.74); --linea: rgba(244, 237, 223, 0.18); --acento: var(--ocre-claro); background: var(--fondo); color: var(--texto); }
.s--oscuro { --fondo: var(--verde-2); --texto: var(--hueso); --texto-2: rgba(244, 237, 223, 0.72); --linea: rgba(244, 237, 223, 0.16); --acento: var(--ocre-claro); }
.cabeza { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 72px); max-width: 52rem; }
.cabeza p { margin: 0; color: var(--texto-2); font-size: clamp(17px, 1.2vw, 19px); max-width: 38rem; }
.cabeza--fila { max-width: none; }
@media (min-width: 900px) { .cabeza--fila { grid-template-columns: 1fr auto; align-items: end; } }

/* ---------- Tipografía ---------- */
.t1, .t2, .t3, .cabecera h1, .portada h1 { font-stretch: 112%; font-weight: 620; letter-spacing: -0.03em; line-height: 0.98; text-wrap: balance; }
.t1 { font-size: clamp(2.75rem, 1.5rem + 5vw, 6.4rem); }
.t2 { font-size: clamp(2.1rem, 1.3rem + 2.9vw, 4.1rem); }
.t3 { font-size: clamp(1.4rem, 1.1rem + 0.9vw, 1.9rem); letter-spacing: -0.02em; line-height: 1.08; }
.num { font-stretch: 68%; font-weight: 640; letter-spacing: -0.01em; font-variant-numeric: lining-nums tabular-nums; line-height: 0.9; }
.marca-chica { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; font-stretch: 112%; color: var(--texto-2); }
.texto { color: var(--texto-2); max-width: 40rem; }
.nota { font-size: 14px; color: var(--texto-2); }
.nota a { color: inherit; }
.enlace { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; transition: gap 0.4s var(--curva), color 0.3s; }
.enlace::after { content: ''; width: 15px; height: 15px; background: currentColor; -webkit-mask: var(--flecha) center / contain no-repeat; mask: var(--flecha) center / contain no-repeat; }
.enlace:hover { gap: 16px; color: var(--acento); }
.a-confirmar { display: inline-block; margin-left: 6px; padding: 2px 6px; border: 1px solid currentColor; border-radius: 3px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; vertical-align: 2px; color: var(--acento); }

/* ---------- Botones ---------- */
.boton { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 24px; border: 1px solid transparent; border-radius: 4px; background: var(--verde); color: var(--hueso); font-weight: 600; font-size: 16px; font-stretch: 104%; text-decoration: none; cursor: pointer; white-space: nowrap; overflow: hidden; isolation: isolate; transition: color 0.35s var(--curva), border-color 0.35s, transform 0.2s; }
.boton::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--tinta); transform: translateY(101%); transition: transform 0.45s var(--curva); }
.boton:hover::before { transform: none; }
.boton:active { transform: scale(0.98); }
.boton svg { width: 20px; height: 20px; flex: none; }
.boton .flecha { width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--flecha) center / contain no-repeat; mask: var(--flecha) center / contain no-repeat; transition: transform 0.4s var(--curva); }
.boton:hover .flecha { transform: translateX(4px); }
.boton--ocre { background: var(--ocre); color: var(--tinta); }
.boton--ocre::before { background: var(--ocre-claro); }
.boton--linea { background: transparent; color: inherit; border-color: currentColor; }
.boton--linea::before { background: currentColor; }
.boton--linea:hover { color: var(--fondo); }
.boton--claro { background: var(--hueso); color: var(--verde); }
.boton--claro::before { background: #fff; }
.boton--chico { min-height: 44px; padding: 0 18px; font-size: 15px; }
.botones { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Estado: abierto ahora / cerrado (un punto de estado real, nada decorativo) ---------- */
.estado { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; }
.estado i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.estado--abierto i { background: #6fcf7a; box-shadow: 0 0 0 0 rgba(111, 207, 122, 0.6); animation: late 2.2s infinite; }
.estado--pronto i { background: var(--ocre-claro); }
.estado--cerrado i { background: #d9765a; }
@keyframes late { 70% { box-shadow: 0 0 0 7px rgba(111, 207, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(111, 207, 122, 0); } }

/* ---------- Encabezado ---------- */
.enc { position: fixed; inset: 0 0 auto; z-index: 100; color: var(--tinta); transition: transform 0.5s var(--curva); }
.enc--oculto { transform: translateY(calc(-1 * var(--banda) - var(--enc))); }
.demo-banda { height: var(--banda); display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-inline: var(--margen); background: var(--verde-3); color: rgba(244, 237, 223, 0.82); font-size: 12.5px; }
.demo-banda p { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-banda .estado { font-size: 12.5px; color: var(--hueso); white-space: nowrap; }
@media (max-width: 640px) { .demo-banda__largo { display: none; } }
.enc__barra { height: var(--enc); display: flex; align-items: center; gap: 24px; padding-inline: var(--margen); background: rgba(244, 237, 223, 0.94); border-bottom: 1px solid var(--linea); transition: background 0.4s, border-color 0.4s, color 0.4s; }
@supports (backdrop-filter: blur(1px)) { .enc__barra { background: rgba(244, 237, 223, 0.86); backdrop-filter: blur(14px); } }
.enc--sobre:not(.enc--solido) .enc__barra { background: linear-gradient(rgba(10, 30, 29, 0.5), rgba(10, 30, 29, 0)); backdrop-filter: none; border-color: transparent; color: var(--hueso); }
.marca { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--verde); flex: none; transition: color 0.4s; }
.enc--sobre:not(.enc--solido) .marca { color: var(--hueso); }
.marca .logo-emblema { height: 46px; width: auto; }
.marca .logo-gyc { height: 26px; width: auto; }
.enc__nav { display: none; gap: 26px; margin-left: auto; }
.enc__nav a { position: relative; padding: 8px 0; font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.enc__nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.45s var(--curva); }
.enc__nav a:hover::after, .enc__nav a[aria-current='page']::after { transform: scaleX(1); transform-origin: left; }
.enc__der { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.enc__nav + .enc__der { margin-left: 0; }
.enc__contactar { min-height: 44px; }
.enc__menu { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px 0 10px; border: 0; background: none; cursor: pointer; font-weight: 600; font-size: 15px; }
.enc__lineas { position: relative; width: 22px; height: 12px; }
.enc__lineas::before, .enc__lineas::after { content: ''; position: absolute; left: 0; right: 0; height: 1.6px; background: currentColor; transition: transform 0.45s var(--curva), top 0.45s var(--curva); }
.enc__lineas::before { top: 0; }
.enc__lineas::after { top: 10px; }
.menu-abierto .enc__lineas::before { top: 5px; transform: rotate(45deg); }
.menu-abierto .enc__lineas::after { top: 5px; transform: rotate(-45deg); }
@media (min-width: 1240px) { .enc__nav { display: flex; } .enc__menu { display: none; } }
@media (max-width: 520px) { .marca .logo-gyc { display: none; } .enc__contactar { padding: 0 14px; } }
.menu-abierto .enc__barra { background: var(--verde-2); color: var(--hueso); border-color: transparent; backdrop-filter: none; }
.menu-abierto .marca { color: var(--hueso); }
.menu { position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; justify-content: space-between; padding: calc(var(--banda) + var(--enc) + 24px) var(--margen) calc(24px + env(safe-area-inset-bottom)); background: var(--verde-2); color: var(--hueso); clip-path: inset(0 0 100% 0); transition: clip-path 0.7s var(--curva-2); }
.menu.esta-abierto { clip-path: inset(0); }
.menu ol { list-style: none; display: grid; }
.menu li { border-bottom: 1px solid rgba(244, 237, 223, 0.14); overflow: hidden; }
.menu a { display: block; padding: 12px 0; font-size: clamp(1.7rem, 7vw, 2.6rem); font-stretch: 112%; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; text-decoration: none; transform: translateY(105%); transition: transform 0.7s var(--curva) calc(0.12s + var(--i, 0) * 0.045s), color 0.3s; }
.menu.esta-abierto a { transform: none; }
.menu a[aria-current='page'] { color: var(--ocre-claro); }
.menu__pie { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 20px; }

/* ---------- Intro: el logo se dibuja y el telón sube (una vez por visita, solo en Inicio) ---------- */
.intro { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; background: var(--hueso); color: var(--verde); cursor: pointer; transition: transform 1s var(--curva-2) 0.1s; }
.intro__logo { width: min(46vw, 250px); }
.intro__logo svg { width: 100%; height: auto; overflow: visible; }
.intro .lg-agua { clip-path: inset(0 100% 0 0); animation: intro-agua 0.9s var(--curva) 0.15s forwards; }
.intro .lg-sol { clip-path: inset(0 0 0 0); transform: translateY(16%); opacity: 0; animation: intro-sol 1s var(--curva) 0.55s forwards; }
.intro .lg-palmera { clip-path: inset(100% 0 0 0); animation: intro-palmera 1s var(--curva) 0.75s forwards; }
.intro .lg-aves { opacity: 0; transform: translate(-14px, 8px); animation: intro-aves 0.9s var(--curva) 1.05s forwards; }
.intro .lg-gyc, .intro .lg-bajada { opacity: 0; transform: translateY(14px); animation: intro-letras 0.9s var(--curva) 1.15s forwards; }
.intro .lg-bajada { animation-delay: 1.3s; }
@keyframes intro-agua { to { clip-path: inset(0 0 0 0); } }
@keyframes intro-sol { to { transform: none; opacity: 1; } }
@keyframes intro-palmera { to { clip-path: inset(0 0 0 0); } }
@keyframes intro-aves { to { opacity: 1; transform: none; } }
/* Dos pájaros cruzan la intro: el avance es parejo (como un vuelo real) y la ola y el giro van aparte */
.intro { overflow: hidden; }
.intro__ave { position: absolute; left: 0; top: 17%; width: clamp(50px, 7vw, 104px); color: var(--verde); translate: -16vw 0; scale: 0.8; animation: ave-cruza 2.7s linear 0.15s forwards; }
.intro__ave svg { display: block; width: 100%; height: auto; overflow: visible; animation: ave-ola 2.7s ease-in-out 0.15s forwards; }
.intro__ave--2 { top: 25%; width: clamp(36px, 4.8vw, 70px); animation-duration: 2.55s; animation-delay: 0.42s; }
.intro__ave--2 svg { animation-duration: 2.55s; animation-delay: 0.42s; animation-name: ave-ola-2; }
@keyframes ave-cruza { to { translate: 112vw 0; scale: 1.12; } }
@keyframes ave-ola {
  0% { transform: translateY(5vh) rotate(-9deg); }
  32% { transform: translateY(-2vh) rotate(3deg); }
  62% { transform: translateY(2vh) rotate(-1deg); }
  100% { transform: translateY(-13vh) rotate(-13deg); }
}
@keyframes ave-ola-2 {
  0% { transform: translateY(8vh) rotate(-11deg); }
  38% { transform: translateY(0) rotate(4deg); }
  70% { transform: translateY(3vh) rotate(-2deg); }
  100% { transform: translateY(-9vh) rotate(-10deg); }
}
@keyframes intro-letras { to { opacity: 1; transform: none; } }
.intro__saltar { position: absolute; bottom: calc(24px + env(safe-area-inset-bottom)); left: 0; right: 0; margin: 0; text-align: center; font-size: 13px; color: var(--tinta-2); }
.intro--sale { transform: translateY(-100%); }

/* ---------- Apariciones ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--curva) calc(var(--d, 0) * 1s), transform 1s var(--curva) calc(var(--d, 0) * 1s); }
.js [data-reveal].visto { opacity: 1; transform: none; }
.pal { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.pal > span { display: inline-block; }
.js [data-lineas] .pal > span { transform: translateY(105%); transition: transform 0.9s var(--curva) calc(var(--i, 0) * 0.04s); }
.js [data-lineas].visto .pal > span { transform: none; }
/* Foto que se descubre de abajo hacia arriba, con un zoom que se asienta */
.foto { position: relative; overflow: hidden; border-radius: 4px; background: var(--arena); }
.foto img, .foto video { width: 100%; height: 100%; object-fit: cover; }
/* Video sobre su cuadro fijo: aparece cuando empieza a correr */
.foto video { position: absolute; inset: 0; opacity: 0; transition: opacity 0.8s var(--curva); }
.foto video.corre { opacity: 1; }
.foto > .pausa { right: 10px; bottom: 10px; }
/* El recorte va en la imagen y no en la caja: con clip-path en la caja, el IntersectionObserver no la ve nunca */
.js .foto[data-reveal] { opacity: 1; transform: none; background: transparent; }
.js .foto[data-reveal] img, .js .foto[data-reveal] video { clip-path: inset(100% 0 0 0); scale: 1.12; transition: clip-path 1.2s var(--curva-2) calc(var(--d, 0) * 1s), scale 1.6s var(--curva) calc(var(--d, 0) * 1s), opacity 0.8s; }
.js .foto[data-reveal].visto img, .js .foto[data-reveal].visto video { clip-path: inset(0); scale: 1; }
button.foto { display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; transition: transform 0.25s var(--curva); }
button.foto img { transition: scale 1.6s var(--curva), filter 0.4s; }
button.foto:hover img { scale: 1.04 !important; }
button.foto:active { transform: scale(0.985); }
/* "Se puede ampliar": el ícono aparece al pasar el mouse */
button.foto::after { content: ''; position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%; background: rgba(244, 237, 223, 0.92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c4342' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M14 4h6v6M10 20H4v-6M20 4l-7 7M4 20l7-7'/%3E%3C/svg%3E") center / 17px no-repeat; opacity: 0; transform: scale(0.7); transition: opacity 0.3s, transform 0.4s var(--curva); pointer-events: none; }
button.foto:hover::after, button.foto:focus-visible::after { opacity: 1; transform: none; }

/* ---------- Portada (Inicio) ---------- */
.portada { position: relative; min-height: max(620px, calc(94 * var(--vh))); display: flex; align-items: flex-end; color: var(--hueso); background: var(--verde-3); overflow: hidden; }
.portada__fondo, .portada__fondo img, .portada__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.portada__fondo img { animation: asienta 2.4s var(--curva) both; }
@keyframes asienta { from { scale: 1.08; } to { scale: 1; } }
.portada__video { opacity: 0; transition: opacity 1s; }
.portada__video.corre { opacity: 1; }
.portada::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 30, 29, 0.38) 0%, rgba(10, 30, 29, 0) 28%, rgba(10, 30, 29, 0) 42%, rgba(10, 30, 29, 0.82) 100%); pointer-events: none; }
.portada__texto { position: relative; z-index: 2; width: 100%; padding: 0 var(--margen) clamp(36px, 6vw, 84px); max-width: var(--ancho); margin-inline: auto; }
.portada__lugar { margin: 0 0 18px; font-size: 14px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; font-stretch: 112%; color: rgba(244, 237, 223, 0.86); }
.portada h1 { font-size: clamp(2.9rem, 1.4rem + 6vw, 7.4rem); max-width: 12ch; }
.portada__bajada { margin: 22px 0 30px; max-width: 34rem; font-size: clamp(17px, 1.3vw, 20px); color: rgba(244, 237, 223, 0.9); }
.portada__ventana { display: none; }
@media (min-width: 900px) {
  .portada__video { display: none; }
  .portada__ventana { position: absolute; right: var(--margen); bottom: clamp(36px, 6vw, 84px); z-index: 2; display: block; width: clamp(190px, 15vw, 250px); margin: 0; }
  .portada__ventana .foto { aspect-ratio: 9 / 16; border-radius: 4px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55); }
  .portada__ventana figcaption { margin-top: 10px; font-size: 13px; color: rgba(244, 237, 223, 0.8); }
}
.pausa { position: absolute; z-index: 3; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(244, 237, 223, 0.5); border-radius: 4px; background: rgba(10, 30, 29, 0.45); color: var(--hueso); cursor: pointer; }
.pausa svg { width: 13px; height: 13px; }
.portada > .pausa { right: var(--margen); top: calc(var(--banda) + var(--enc) + 16px); }
@media (min-width: 900px) { .portada > .pausa { display: none; } .portada__ventana .pausa { right: 10px; bottom: 10px; } }

/* ---------- Hoy en GyC (banda debajo de la portada) ---------- */
.hoy { background: var(--verde); color: var(--hueso); }
.hoy__fila { display: grid; gap: 0; padding-block: 8px; }
.hoy__titulo { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 22px 0 14px; border-bottom: 1px solid rgba(244, 237, 223, 0.16); }
.hoy__titulo h2 { font-size: 15px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; font-stretch: 112%; }
.hoy__lista { list-style: none; display: grid; grid-template-columns: 1fr; }
.hoy__lista li { display: grid; gap: 2px; padding: 18px 0; border-bottom: 1px solid rgba(244, 237, 223, 0.12); }
.hoy__lista small { font-size: 13px; color: rgba(244, 237, 223, 0.66); }
.hoy__lista strong, .hoy__lista .estado { font-size: clamp(19px, 1.5vw, 23px); font-weight: 600; font-stretch: 104%; }
.hoy__lista [data-estado-sub], .hoy__lista .sub { font-size: 14px; color: rgba(244, 237, 223, 0.74); }
@media (min-width: 760px) { .hoy__lista { grid-template-columns: repeat(2, 1fr); column-gap: 32px; } }
@media (min-width: 1100px) { .hoy__lista { grid-template-columns: repeat(4, 1fr); } .hoy__lista li { border-bottom: 0; padding: 22px 24px 26px 0; } .hoy__lista li + li { padding-left: 24px; border-left: 1px solid rgba(244, 237, 223, 0.14); } }
.hoy__aviso { margin: 0; padding-bottom: 16px; font-size: 14px; color: var(--ocre-claro); min-height: 0; }
.hoy__aviso:empty { display: none; }
.alternar { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0; border: 0; background: none; cursor: pointer; font-weight: 600; font-size: 15px; }
.interruptor { position: relative; width: 40px; height: 22px; border-radius: 11px; background: currentColor; opacity: 0.3; transition: opacity 0.3s; flex: none; }
.alternar, .residente { --punto: var(--fondo, #fff); }
.interruptor::after { content: ''; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--hueso); transition: transform 0.4s var(--curva); }
[aria-pressed='true'] > .interruptor { opacity: 1; background: var(--ocre); }
[aria-pressed='true'] > .interruptor::after { transform: translateX(18px); }
.hoy--simulado .hoy__lista strong { color: var(--ocre-claro); }

/* ---------- Planes (Inicio): lista grande con la foto que acompaña al mouse ---------- */
.planes { list-style: none; position: relative; border-top: 1px solid var(--linea); }
.planes li { border-bottom: 1px solid var(--linea); }
.plan { position: relative; display: grid; grid-template-columns: 92px 1fr; gap: 6px 18px; align-items: center; padding: 22px 0; text-decoration: none; }
.plan__foto { position: relative; grid-row: span 2; width: 92px; aspect-ratio: 4 / 5; border-radius: 3px; overflow: hidden; background: var(--arena); }
.plan__foto img, .plan__foto video { width: 100%; height: 100%; object-fit: cover; }
.plan__foto video { position: absolute; inset: 0; opacity: 0; transition: opacity 0.5s; }
.plan__foto video.corre { opacity: 1; }
.plan__nombre { font-size: clamp(1.9rem, 1rem + 4vw, 4.6rem); font-stretch: 112%; font-weight: 620; letter-spacing: -0.03em; line-height: 1; transition: transform 0.6s var(--curva), color 0.4s; }
.plan__dato { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; color: var(--texto-2); font-size: 15px; }
.plan__precio { font-size: 26px; color: var(--texto); }
.plan__ir { display: none; }
@media (min-width: 900px) {
  .plan { grid-template-columns: 1.4fr 1fr 52px; gap: 32px; padding: clamp(26px, 3vw, 40px) 0; }
  .plan__foto { position: absolute; z-index: 5; left: 0; top: 0; grid-row: auto; width: clamp(220px, 20vw, 300px); pointer-events: none; opacity: 0; scale: 0.86; rotate: -3deg; translate: var(--fx, 60vw) var(--fy, 0); transition: opacity 0.35s, scale 0.5s var(--curva), rotate 0.6s var(--curva); box-shadow: 0 30px 60px -24px rgba(14, 39, 38, 0.6); }
  .plan:hover .plan__foto { opacity: 1; scale: 1; rotate: 2deg; }
  .plan:hover .plan__nombre { transform: translateX(14px); color: var(--verde); }
  .plan__ir { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid var(--linea); border-radius: 50%; transition: background 0.4s, border-color 0.4s, color 0.4s; }
  .plan__ir::before { content: ''; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--flecha) center / contain no-repeat; mask: var(--flecha) center / contain no-repeat; transition: transform 0.4s var(--curva); }
  .plan:hover .plan__ir { background: var(--verde); border-color: var(--verde); color: var(--hueso); }
  .plan:hover .plan__ir::before { transform: rotate(-45deg); }
}
.planes__nota { margin-top: 18px; }

/* ---------- Banda de foto a pantalla completa con texto (Música Cero, la noche) ---------- */
.banda-foto { --texto: var(--hueso); --texto-2: rgba(244, 237, 223, 0.84); --linea: rgba(244, 237, 223, 0.22); --acento: var(--ocre-claro); position: relative; min-height: max(560px, calc(92 * var(--vh))); display: flex; align-items: flex-end; color: var(--hueso); background: var(--verde-3); overflow: hidden; }
.banda-foto > picture, .banda-foto > picture img, .banda-foto > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banda-foto::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 30, 29, 0.1), rgba(10, 30, 29, 0.25) 45%, rgba(10, 30, 29, 0.86)); }
.banda-foto .contenedor { position: relative; z-index: 2; padding-block: clamp(56px, 8vw, 120px); display: grid; gap: 28px; }
@media (min-width: 1000px) { .banda-foto .contenedor { grid-template-columns: 1.2fr 0.8fr; align-items: end; } }
.banda-foto .t1 { max-width: 11ch; }
.banda-foto p { color: rgba(244, 237, 223, 0.88); max-width: 32rem; font-size: 18px; }
.banda__lado { display: grid; gap: 24px; align-content: end; }
.banda__clip { width: min(250px, 56vw); margin: 0; }
.banda__clip .foto { aspect-ratio: 4 / 5; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55); }
/* La frase central de la banda: cada palabra se enciende al bajar */
.banda-foto .encender { margin: 0; max-width: 30rem; font-size: clamp(22px, 1rem + 1.1vw, 31px); font-weight: 500; font-stretch: 104%; line-height: 1.3; letter-spacing: -0.01em; color: var(--hueso); }
.js .luz { opacity: 0.28; transition: opacity 0.45s var(--curva); }
.js .luz.on { opacity: 1; }
.escuchar { display: grid; gap: 8px; justify-items: start; }
.escuchar__ahora { margin: 0; font-size: 14px; min-height: 1.4em; color: var(--ocre-claro); }
.onda { opacity: 0.35; }
[aria-pressed='true'] .onda { animation: onda 1.2s infinite; }
[aria-pressed='true'] .onda--2 { animation-delay: 0.3s; }
@keyframes onda { 50% { opacity: 1; } }

/* ---------- Cifras ---------- */
.cifras { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--linea); }
.cifras li { display: grid; gap: 10px; padding: 26px 18px 30px 0; border-bottom: 1px solid var(--linea); }
.cifras li:nth-child(odd) { border-right: 1px solid var(--linea); }
.cifras li:nth-child(even) { padding-left: 18px; }
.cifras strong { font-size: clamp(4.6rem, 2rem + 9vw, 10rem); color: var(--verde); }
.cifras span { font-size: 15px; color: var(--texto-2); max-width: 15rem; }
@media (min-width: 1000px) { .cifras { grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--linea); } .cifras li { border-bottom: 0; border-right: 1px solid var(--linea); padding: 34px 24px 36px; } .cifras li:first-child { padding-left: 0; } .cifras li:last-child { border-right: 0; } }

/* ---------- Tira de fotos con desplazamiento ---------- */
.tira { display: flex; gap: clamp(10px, 1.4vw, 20px); overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--margen) 18px; scrollbar-width: thin; scrollbar-color: var(--linea) transparent; }
.tira > * { flex: none; scroll-snap-align: start; }
.tira figure { margin: 0; width: clamp(240px, 28vw, 420px); }
.tira figure:nth-child(3n + 2) { width: clamp(280px, 38vw, 560px); }
.tira .foto { aspect-ratio: 4 / 5; }
.tira figure:nth-child(3n + 2) .foto { aspect-ratio: 5 / 4; }
.tira figcaption { margin-top: 10px; font-size: 14px; color: var(--texto-2); }
.tira__pie { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 18px; }
.flechas { display: flex; gap: 8px; }
.flechita { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--linea); border-radius: 50%; background: none; color: var(--texto); cursor: pointer; transition: background 0.35s, color 0.35s, border-color 0.35s, transform 0.2s; }
.flechita svg { width: 17px; height: 17px; }
.flechita:hover:not(:disabled) { background: var(--texto); color: var(--fondo); border-color: var(--texto); }
.flechita:active:not(:disabled) { transform: scale(0.92); }
.flechita:disabled { opacity: 0.3; cursor: default; }

/* ---------- Opiniones y libro de visitas ---------- */
.opiniones { display: grid; gap: 56px; }
@media (min-width: 1100px) { .opiniones { grid-template-columns: 0.7fr 1.3fr; gap: clamp(48px, 5vw, 96px); align-items: center; } }
.puntaje { display: grid; gap: 6px; margin: 26px 0 28px; text-decoration: none; }
.puntaje__num { font-size: clamp(6rem, 3rem + 7vw, 9.5rem); color: var(--verde); }
.puntaje__texto { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.puntaje__texto svg { width: 18px; height: 18px; }
.puntaje:hover .puntaje__texto { text-decoration: underline; }
.estrellas { --n: 5; position: relative; display: inline-block; font-size: 15px; letter-spacing: 2px; line-height: 1; color: rgba(28, 67, 66, 0.2); }
.estrellas::before { content: '★★★★★'; }
.estrellas::after { content: '★★★★★'; position: absolute; left: 0; top: 0; width: calc(var(--n) / 5 * 100%); overflow: hidden; color: var(--ocre); white-space: nowrap; }
.resenar { display: grid; gap: 14px; justify-items: start; padding-top: 24px; border-top: 1px solid var(--linea); }
.resenar p { margin: 0; color: var(--texto-2); }
.libro { position: relative; }
.libro__lista { list-style: none; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
.libro__lista > li { flex: 0 0 min(86vw, 420px); scroll-snap-align: start; }
.libro.armado .libro__lista { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); }
.libro__tapa { position: relative; margin: 0 auto; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.libro__tapa::before { content: ''; position: absolute; inset: -14px -14px -18px; border-radius: 6px; background: linear-gradient(135deg, #245150, var(--verde) 45%, var(--verde-3)); box-shadow: 0 30px 60px -18px rgba(14, 39, 38, 0.6); }
.libro__tapa::after { content: ''; position: absolute; inset: -8px -8px -12px; border: 1px solid rgba(224, 168, 101, 0.55); border-radius: 3px; pointer-events: none; }
.libro__tapa--doble { width: min(100%, 980px); aspect-ratio: 1.56; }
.libro__tapa--simple { width: min(100%, 440px); height: clamp(480px, 132vw, 560px); }
.libro__tapa--simple::before { inset: -10px -10px -14px; }
.libro__tapa--simple::after { inset: -5px -5px -9px; }
.libro__base, .hoja { position: absolute; top: 0; bottom: 0; z-index: 1; }
.libro__tapa--doble .libro__base--izq { left: 0; width: 50%; }
.libro__tapa--doble .libro__base--der, .libro__tapa--doble .hoja { left: 50%; width: 50%; }
.libro__tapa--simple .libro__base--der, .libro__tapa--simple .hoja { left: 0; width: 100%; }
.libro__base { background: var(--papel); }
.libro__base--izq { box-shadow: inset -22px 0 26px -20px rgba(14, 39, 38, 0.28); }
.libro__base--der { box-shadow: inset 22px 0 26px -20px rgba(14, 39, 38, 0.28); }
.libro__tapa--simple .libro__base--der { box-shadow: none; }
.hoja { transform-origin: 0 50%; transform-style: preserve-3d; transform: perspective(2400px) rotateY(var(--giro, 0deg)); cursor: grab; }
.hoja.suelta { transition: transform 0.8s cubic-bezier(0.3, 0.7, 0.2, 1); }
.libro__tapa--simple .hoja.pasada { visibility: hidden; transition: transform 0.8s cubic-bezier(0.3, 0.7, 0.2, 1), visibility 0s 0.5s; }
.hoja__cara { position: absolute; inset: 0; -webkit-backface-visibility: hidden; backface-visibility: hidden; overflow: hidden; background: var(--papel); }
.hoja__cara--dorso { transform: rotateY(180deg); }
.hoja__cara::after { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(90deg, rgba(14, 39, 38, 0.13), rgba(14, 39, 38, 0) 8%); }
.hoja__cara--dorso::after { background: linear-gradient(270deg, rgba(14, 39, 38, 0.13), rgba(14, 39, 38, 0) 8%); }
.hoja__cara::before { content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: rgb(14, 39, 38); opacity: calc(var(--sombra, 0) * 0.18); }
.hoja__cara:not(.hoja__cara--dorso) > .pagina::before { content: ''; position: absolute; right: 0; bottom: 0; width: 30px; height: 30px; background: linear-gradient(315deg, var(--ocre) 0 50%, rgba(14, 39, 38, 0.14) 50%, transparent 74%); }
.pagina { position: absolute; inset: 0; display: flex; flex-direction: column; padding: clamp(24px, 3vw, 40px) clamp(22px, 3vw, 40px) 48px; color: var(--tinta); }
.pagina__num { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; font-size: 13px; color: #8a907f; }
.resena { display: flex; flex-direction: column; gap: 12px; height: 100%; color: #202124; }
.libro__lista .resena { padding: 22px; background: var(--papel); border-radius: 4px; }
.resena__cabeza { display: grid; grid-template-columns: 40px 1fr 22px; gap: 12px; align-items: center; }
.resena__avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--c, #5f6368); color: #fff; font-size: 18px; font-weight: 500; }
.resena__autor { margin: 0; font-weight: 700; font-size: 15px; line-height: 1.25; }
.resena__meta { margin: 2px 0 0; font-size: 12.5px; color: #5f6368; }
.resena__g { width: 22px; height: 22px; align-self: start; }
.resena__linea { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; font-size: 13px; color: #5f6368; }
.resena__linea .estrellas { color: #dadce0; font-size: 14px; letter-spacing: 1px; }
.resena__linea .estrellas::after { color: #e8a317; }
.resena__plan { font-weight: 700; font-size: 12px; color: var(--verde); }
.resena__plan::before { content: '· '; color: #5f6368; font-weight: 400; }
.resena__texto { margin: 0; font-size: clamp(15px, 1.15vw, 16.5px); line-height: 1.6; color: #3c4043; overflow: hidden; }
.resena__respuesta { margin: 0; padding: 10px 12px; border-left: 2px solid var(--ocre); background: rgba(201, 133, 63, 0.1); font-size: 13.5px; color: #3c4a44; }
.resena__respuesta b { display: block; font-size: 12px; color: var(--verde); }
.resena__ver { margin-top: auto; font-size: 12.5px; color: #5f6368; text-decoration: none; }
.resena__ver:hover { text-decoration: underline; color: var(--verde); }
.libro__portada, .libro__fin { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: clamp(28px, 4vw, 52px); color: var(--tinta); }
.libro__portada p, .libro__fin p { margin: 0; }
.libro__emblema { width: 84px; color: var(--verde); }
.titulo-libro, .fin-titulo { font-size: clamp(28px, 2.8vw, 42px); font-stretch: 112%; font-weight: 620; letter-spacing: -0.03em; line-height: 1.02; color: var(--verde); }
.libro__portada small, .libro__fin small { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tinta-2); }
.libro__fin { align-items: flex-start; }
.libro__controles { display: flex; justify-content: center; align-items: center; gap: 22px; margin-top: 40px; }
.libro__cuenta { font-size: 15px; color: var(--texto-2); min-width: 5ch; text-align: center; font-variant-numeric: tabular-nums; }
.libro__ayuda { text-align: center; margin: 14px 0 0; font-size: 13.5px; color: var(--texto-2); transition: opacity 0.5s; }
.libro__ayuda.usada { opacity: 0; }

/* ---------- Preguntas ---------- */
.dos-col { display: grid; gap: 32px; }
@media (min-width: 1000px) { .dos-col { grid-template-columns: 0.42fr 1fr; gap: clamp(40px, 6vw, 110px); } .dos-col > :first-child { position: sticky; top: calc(var(--enc) + 60px); align-self: start; } }
.acordeon { border-top: 1px solid var(--linea); }
.pregunta { border-bottom: 1px solid var(--linea); }
.pregunta[hidden] { display: none; }
.pregunta h3 { margin: 0; font: inherit; }
.pregunta__boton { display: grid; grid-template-columns: 1fr 28px; gap: 18px; align-items: center; width: 100%; padding: 22px 0; border: 0; background: none; cursor: pointer; text-align: left; font-size: clamp(18px, 1.4vw, 21px); font-weight: 600; font-stretch: 104%; line-height: 1.3; transition: color 0.3s; }
.pregunta__boton:hover { color: var(--acento); }
.pregunta__signo { position: relative; width: 28px; height: 28px; }
.pregunta__signo::before, .pregunta__signo::after { content: ''; position: absolute; left: 50%; top: 50%; width: 16px; height: 1.6px; margin: -0.8px 0 0 -8px; background: currentColor; transition: transform 0.5s var(--curva); }
.pregunta__signo::after { transform: rotate(90deg); }
.pregunta__boton[aria-expanded='true'] .pregunta__signo::after { transform: rotate(0deg); }
.pregunta__respuesta { overflow: hidden; transition: height 0.55s var(--curva); }
.pregunta__respuesta > div { padding: 0 48px 24px 0; color: var(--texto-2); max-width: 44em; }
.pregunta__respuesta p { margin: 0 0 10px; }
.pregunta__respuesta a { color: var(--texto); font-weight: 600; }
.pregunta mark { background: rgba(224, 168, 101, 0.5); color: inherit; padding: 0 2px; border-radius: 2px; }
.faq { display: grid; gap: clamp(48px, 6vw, 88px); }
.faq__grupo { display: grid; gap: 18px; }
@media (min-width: 900px) { .faq__grupo { grid-template-columns: 0.36fr 1fr; gap: clamp(32px, 5vw, 96px); } .faq__grupo > h2 { position: sticky; top: calc(var(--enc) + 60px); align-self: start; } }
.faq__grupo[hidden] { display: none; }
.faq__grupo > h2 { font-size: clamp(26px, 2.4vw, 36px); font-stretch: 112%; font-weight: 620; letter-spacing: -0.025em; line-height: 1.05; }
.faq__grupo > h2 small { display: block; margin-top: 10px; font-size: 13px; font-weight: 500; letter-spacing: 0; color: var(--texto-2); }
.faq__vacio { padding: 20px 0 40px; }
.faq__vacio[hidden] { display: none; }
.faq__vacio p:first-child { font-size: clamp(22px, 2vw, 30px); font-weight: 600; margin-bottom: 18px; }
.faq__cuenta { margin: 14px 0 0; min-height: 1.4em; color: var(--texto-2); }
.buscador { position: relative; max-width: 760px; }
.buscador input { width: 100%; min-height: 62px; padding: 0 58px 0 52px; border: 1px solid var(--linea); border-radius: 4px; background: var(--papel); font-size: 18px; transition: border-color 0.3s, box-shadow 0.3s; }
.buscador input::-webkit-search-cancel-button { display: none; }
.buscador input:focus { outline: none; border-color: var(--verde); box-shadow: 0 0 0 3px rgba(28, 67, 66, 0.18); }
.buscador > svg { position: absolute; left: 20px; top: 50%; width: 20px; height: 20px; margin-top: -10px; color: var(--tinta-2); pointer-events: none; }
.buscador__limpiar { position: absolute; right: 9px; top: 50%; width: 44px; height: 44px; margin-top: -22px; border: 0; border-radius: 4px; background: none; cursor: pointer; font-size: 18px; }
.buscador__limpiar:hover { background: var(--arena); }
.buscador__limpiar[hidden] { display: none; }
.temas, .filtros, .opciones-fila { display: flex; flex-wrap: wrap; gap: 6px; }
.temas { margin-top: 18px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--linea); border-radius: 4px; background: none; cursor: pointer; font-size: 14.5px; font-weight: 500; text-decoration: none; transition: background 0.3s, color 0.3s, border-color 0.3s; }
.chip:hover { border-color: var(--texto); }
.chip[aria-pressed='true'] { background: var(--verde); border-color: var(--verde); color: var(--hueso); }
.s--verde .chip[aria-pressed='true'], .s--oscuro .chip[aria-pressed='true'] { background: var(--hueso); border-color: var(--hueso); color: var(--verde); }

/* ---------- Cómo llegar (resumen en Inicio y página) ---------- */
.llegar-corto, .llegada { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) { .llegar-corto { grid-template-columns: 0.85fr 1.15fr; gap: clamp(48px, 6vw, 110px); align-items: center; } .llegada { grid-template-columns: 0.9fr 1.1fr; gap: clamp(48px, 6vw, 110px); } .llegada__mapa-caja { position: sticky; top: calc(var(--enc) + 60px); } }
.distancias { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); margin: 30px 0; border-top: 1px solid var(--linea); }
.distancias li { display: grid; gap: 6px; padding: 18px 12px 0 0; }
.distancias strong { font-size: clamp(3rem, 2rem + 3vw, 4.8rem); color: var(--verde); }
.distancias strong small { font-size: 0.36em; margin-left: 4px; letter-spacing: 0; }
.distancias span { font-size: 14px; color: var(--texto-2); }
.llegada__mapa-caja { margin: 0; }
.llegada__mapa { width: 100%; height: auto; border-radius: 4px; background: #ece4cc; }
.mapa-pie { margin-top: 10px; font-size: 13px; color: var(--texto-2); }
.mapa-pie a { color: inherit; }
.pasos { list-style: none; counter-reset: paso; border-top: 1px solid var(--linea); }
.pasos li { display: grid; grid-template-columns: 64px 1fr; gap: 4px 18px; padding: 22px 0; border-bottom: 1px solid var(--linea); counter-increment: paso; }
.pasos li::before { content: counter(paso); grid-row: span 2; font-size: 44px; font-stretch: 68%; font-weight: 640; line-height: 0.9; color: var(--ocre-osc); }
.pasos strong { font-size: clamp(19px, 1.5vw, 22px); font-weight: 600; }
.pasos p { margin: 0; color: var(--texto-2); }
.direccion { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 30px 0 0; }
.direccion__texto { font-size: 20px; font-weight: 600; }
.direccion__texto small { display: block; margin-top: 2px; font-size: 14px; font-weight: 400; color: var(--texto-2); }
.copiar { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid var(--linea); border-radius: 4px; background: none; cursor: pointer; font-size: 14px; font-weight: 600; transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.2s; }
.copiar svg { width: 16px; height: 16px; }
.copiar:hover { border-color: var(--texto); }
.copiar:active { transform: scale(0.96); }
.copiar.copiado { background: var(--verde); color: var(--hueso); border-color: var(--verde); }
.ll-campo { fill: #ece4cc; }
.ll-laguna, .ll-agua path { fill: #a9c4c0; stroke: none; }
.ll-calle path { fill: none; stroke: #d9cdb0; stroke-width: 1.6; }
.ll-tierra path { fill: none; stroke: #d0c1a0; stroke-width: 1.6; stroke-dasharray: 4 4; }
.ll-enlace path { fill: none; stroke: #c1ae8a; stroke-width: 3; }
.ll-ruta path { fill: none; stroke: #bfa983; stroke-width: 4.5; stroke-linecap: round; }
.ll-autovia path { fill: none; stroke: #8a948c; stroke-width: 8; stroke-linecap: round; }
.ll-camino { fill: none; stroke: var(--ocre); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.6s var(--curva); }
.dibujado .ll-camino { stroke-dashoffset: 0; }
.ll-rotonda circle { fill: var(--papel); stroke: var(--verde); stroke-width: 3; }
.ll-etiqueta { font: 700 12.5px var(--letra); fill: var(--tinta-2); letter-spacing: 0.1em; paint-order: stroke; stroke: #ece4cc; stroke-width: 5px; }
.ll-etiqueta--chica { font-size: 11px; }
.ll-agua-nombre { font: 600 22px var(--letra); fill: #3f6a66; letter-spacing: 0.02em; }
.ll-flecha text { font: 500 13px var(--letra); fill: var(--tinta-2); }
.ll-destino circle { fill: var(--verde); stroke: var(--papel); stroke-width: 3; }
.ll-destino .ll-destino__halo { fill: none; stroke: var(--ocre); stroke-width: 4; opacity: 0.9; animation: halo 2.4s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes halo { 0% { transform: scale(0.6); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.ll-destino text { font: 700 26px var(--letra); fill: var(--verde); paint-order: stroke; stroke: #ece4cc; stroke-width: 7px; }
.origenes { display: grid; gap: 36px; }
@media (min-width: 900px) { .origenes { grid-template-columns: 1fr 0.8fr; gap: clamp(48px, 6vw, 110px); align-items: center; } }
.origenes__botones { margin: 10px 0 28px; }
.origenes__rotulo { margin: 20px 0 10px; font-size: 14px; font-weight: 600; color: var(--texto-2); }
/* Dos mapas superpuestos: al elegir una ciudad del interior, el del AMBA se aleja y aparece el del país */
.origenes__mapas { display: grid; align-items: center; overflow: clip; border-radius: 4px; }
.origenes__mapas > svg { grid-area: 1 / 1; transition: opacity 0.7s var(--curva), transform 1s var(--curva); }
.origenes__mapa:not(.origenes__mapa--pais) { transform-origin: 79% 96%; }
.origenes__mapa--pais { opacity: 0; transform: scale(2.2); transform-origin: 81% 57%; pointer-events: none; }
.origenes--lejos .origenes__mapa:not(.origenes__mapa--pais) { opacity: 0; transform: scale(0.3); pointer-events: none; }
.origenes--lejos .origenes__mapa--pais { opacity: 1; transform: none; pointer-events: auto; }
.or-tierra--pais { fill: #ece4cc; stroke: #a3b9b4; stroke-width: 0.8; }
.or-punto--ref circle { fill: var(--tinta-2); stroke: none; }
.or-punto--ref text { font-size: 13px; font-weight: 600; fill: var(--tinta-2); }
.origenes__resultado { margin: 0 0 10px; font-size: clamp(7rem, 4rem + 10vw, 14rem); color: var(--verde); }
.origenes__resultado small { font-size: 0.24em; margin-left: 0.1em; letter-spacing: 0; color: var(--ocre-osc); }
.origenes__detalle { font-size: 19px; margin: 0 0 8px; }
.origenes__mapa { width: 100%; max-height: 680px; }
.or-tierra { fill: #ece4cc; }
.or-agua { fill: #c2d3cf; }
.or-orilla { fill: none; stroke: #a3b9b4; stroke-width: 1; }
.or-laguna { fill: #a9c4c0; stroke: #a3b9b4; stroke-width: 0.6; }
.or-rio { font: 600 15px var(--letra); fill: #4f7570; letter-spacing: 0.04em; }
.or-ciudad, .or-autovia { font: 700 11px var(--letra); fill: var(--tinta-2); letter-spacing: 0.12em; }
.or-ruta { fill: none; stroke: #d0c19f; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.3s; }
.or-ruta.activa { stroke: var(--ocre); stroke-width: 4; stroke-dasharray: var(--largo); stroke-dashoffset: var(--largo); animation: traza-ruta 1.8s var(--curva) forwards; }
@keyframes traza-ruta { to { stroke-dashoffset: 0; } }
.or-punto circle { fill: #ece4cc; stroke: var(--tinta); stroke-width: 2; }
.or-punto text { font: 700 15px var(--letra); fill: var(--tinta); paint-order: stroke; stroke: #ece4cc; stroke-width: 4px; }
.or-punto.activo circle { fill: var(--ocre); }
.or-destino circle { fill: var(--verde); stroke: var(--tinta); stroke-width: 2.5; }
.or-destino .or-destino__halo { fill: none; stroke: var(--ocre); stroke-width: 3; opacity: 0.8; }
.or-destino text { font: 700 20px var(--letra); fill: var(--tinta); paint-order: stroke; stroke: #ece4cc; stroke-width: 5px; }

/* ---------- Lista de definiciones con línea (reglas, servicios, qué hacer cerca) ---------- */
.lista-linea { list-style: none; display: grid; grid-template-columns: 1fr; column-gap: clamp(28px, 4vw, 64px); }
.lista-linea li { display: grid; gap: 6px; padding: 22px 0 24px; border-top: 1px solid var(--linea); }
.lista-linea strong { font-size: clamp(18px, 1.35vw, 21px); font-weight: 600; font-stretch: 104%; }
.lista-linea p, .lista-linea span { margin: 0; color: var(--texto-2); }
.lista-linea small { font-size: 12.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--acento); }
.lista-linea a { color: inherit; }
@media (min-width: 760px) { .lista-linea--2, .lista-linea--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .lista-linea--3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Contacto y pie ---------- */
.contacto { background: var(--verde-2); color: var(--hueso); --fondo: var(--verde-2); --texto: var(--hueso); --texto-2: rgba(244, 237, 223, 0.72); --linea: rgba(244, 237, 223, 0.16); --acento: var(--ocre-claro); padding-block: clamp(76px, 9vw, 140px); }
.contacto__grilla { display: grid; gap: 40px; }
.banda__clip figcaption, .con-media__foto figcaption { margin-top: 10px; font-size: 13.5px; color: var(--texto-2); }
@media (min-width: 900px) { .contacto__grilla { grid-template-columns: 1.1fr 1fr; column-gap: clamp(40px, 6vw, 110px); align-items: end; } }
.contacto .t1 { max-width: 10ch; }
.contacto__bajada { margin: 22px 0 30px; color: var(--texto-2); max-width: 30rem; font-size: 18px; }
.vias { list-style: none; border-top: 1px solid var(--linea); }
.vias li { border-bottom: 1px solid var(--linea); }
.via { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; align-items: center; padding: 18px 0; text-decoration: none; }
.via__nombre { font-size: 19px; font-weight: 600; }
.via__valor { grid-column: 1; font-size: 14.5px; color: var(--texto-2); }
.via::after { content: ''; grid-row: 1 / span 2; grid-column: 2; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--flecha) center / contain no-repeat; mask: var(--flecha) center / contain no-repeat; transition: transform 0.4s var(--curva); }
.via:hover::after { transform: translateX(5px); }
.via:hover .via__nombre { color: var(--ocre-claro); }
.pie { background: var(--verde-3); color: rgba(244, 237, 223, 0.8); padding-block: clamp(56px, 7vw, 96px) 28px; font-size: 15px; }
.pie__grilla { display: grid; gap: 36px; grid-template-columns: repeat(2, 1fr); }
.pie__logo { grid-column: 1 / -1; width: clamp(150px, 16vw, 210px); color: var(--hueso); }
/* El logo del pie se descubre de izquierda a derecha, como la línea del agua */
.js .pie__logo svg { clip-path: inset(0 100% 0 0); transition: clip-path 1.8s var(--curva-2) 0.2s; }
.js .pie__logo.visto svg { clip-path: inset(0); }
@media (min-width: 1000px) { .pie__grilla { grid-template-columns: 1.3fr 1fr 1fr 1fr; } .pie__logo { grid-column: auto; } }
.pie__titulo { margin: 0 0 12px; font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--hueso); }
.pie ul { list-style: none; display: grid; gap: 8px; }
.pie a { text-decoration: none; }
.pie a:hover { color: var(--hueso); text-decoration: underline; }
.pie__legal { display: grid; gap: 10px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(244, 237, 223, 0.14); font-size: 13px; color: rgba(244, 237, 223, 0.6); }
.pie__legal p { margin: 0; }
@media (min-width: 900px) { .pie__legal { grid-template-columns: 1fr auto; } }

/* ---------- Barra de acción (abajo) y hoja de contacto ---------- */
.flota { position: fixed; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 80; display: flex; gap: 6px; padding: 6px; border-radius: 6px; background: var(--verde-3); box-shadow: 0 18px 40px -14px rgba(0, 0, 0, 0.5); transform: translate(-50%, calc(100% + 30px)); transition: transform 0.6s var(--curva); }
.flota--visible { transform: translate(-50%, 0); }
.flota > * { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 16px; border: 0; border-radius: 3px; font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background 0.3s; }
.flota__contactar { background: rgba(244, 237, 223, 0.1); color: var(--hueso); }
.flota__contactar:hover { background: rgba(244, 237, 223, 0.2); }
.flota__contactar svg { width: 18px; height: 18px; }
.flota__accion { background: var(--ocre); color: var(--tinta); }
.flota__accion:hover { background: var(--ocre-claro); }
.flota__accion .flecha { width: 15px; height: 15px; background: currentColor; -webkit-mask: var(--flecha) center / contain no-repeat; mask: var(--flecha) center / contain no-repeat; }
@media (min-width: 1240px) { .flota { left: auto; right: var(--margen); transform: translateY(calc(100% + 30px)); } .flota--visible { transform: none; } }
.contactar { width: min(100% - 24px, 520px); max-height: calc(100 * var(--vh) - 24px); margin: auto auto 12px; padding: 0; border: 0; border-radius: 6px; background: var(--hueso); color: var(--tinta); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.5); }
.contactar::backdrop { background: rgba(14, 39, 38, 0.6); }
.contactar[open] { animation: hoja-sube 0.5s var(--curva); }
@keyframes hoja-sube { from { transform: translateY(30px); opacity: 0; } }
@media (min-width: 700px) { .contactar { margin: auto; } }
.contactar__caja { padding: 24px 24px 18px; }
.contactar__cabeza { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.contactar__titulo { margin: 0; font-size: 24px; font-weight: 620; font-stretch: 112%; letter-spacing: -0.02em; }
.contactar__cerrar { width: 44px; height: 44px; border: 1px solid var(--linea); border-radius: 4px; background: none; cursor: pointer; font-size: 16px; }
.contactar__nota { display: flex; flex-wrap: wrap; gap: 6px 12px; margin: 8px 0 14px; font-size: 14px; color: var(--tinta-2); }
.contactar .vias { border-top: 1px solid var(--linea); }
.via--grande { margin: 4px 0; padding: 16px 18px; border-radius: 4px; background: var(--verde); color: var(--hueso); }
.via--grande .via__valor { color: rgba(244, 237, 223, 0.76); }
.via--grande:hover .via__nombre { color: var(--ocre-claro); }

/* ---------- Cabecera de las páginas internas ---------- */
.cabecera { position: relative; min-height: max(560px, calc(84 * var(--vh))); display: flex; align-items: flex-end; color: var(--hueso); background: var(--verde-3); overflow: hidden; }
.cabecera__foto, .cabecera__foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cabecera__foto img { animation: asienta 2.4s var(--curva) both; }
.cabecera::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 30, 29, 0.55), rgba(10, 30, 29, 0) 62%), linear-gradient(180deg, rgba(10, 30, 29, 0.42) 0%, rgba(10, 30, 29, 0) 26%, rgba(10, 30, 29, 0.12) 46%, rgba(10, 30, 29, 0.84) 100%); pointer-events: none; }
.cabecera .contenedor { position: relative; z-index: 2; padding-bottom: clamp(36px, 5vw, 72px); }
.migas { display: flex; gap: 10px; margin: 0 0 16px; font-size: 14px; color: rgba(244, 237, 223, 0.8); }
.migas a { text-decoration: none; }
.migas a:hover { text-decoration: underline; }
.cabecera h1 { font-size: clamp(2.7rem, 1.4rem + 5.4vw, 6.6rem); max-width: 14ch; }
.cabecera__bajada { margin: 20px 0 0; max-width: 36rem; font-size: clamp(17px, 1.25vw, 20px); color: rgba(244, 237, 223, 0.9); }
.cabecera .botones { margin-top: 28px; }
.cabecera--media { min-height: max(460px, calc(62 * var(--vh))); }
/* Ficha de datos debajo de la portada */
.ficha { background: var(--papel); border-bottom: 1px solid var(--linea); }
.ficha dl { display: grid; grid-template-columns: repeat(2, 1fr); margin: 0; }
.ficha dl > div { display: grid; gap: 4px; padding: 20px 16px 22px 0; border-bottom: 1px solid var(--linea); }
.ficha dl > div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--linea); }
.ficha dt { font-size: 13px; color: var(--tinta-2); }
.ficha dd { margin: 0; font-size: clamp(17px, 1.3vw, 20px); font-weight: 600; font-stretch: 104%; line-height: 1.25; }
@media (min-width: 1000px) { .ficha dl { grid-template-columns: repeat(var(--n, 4), 1fr); } .ficha dl > div { border-bottom: 0; padding: 26px 24px 28px; } .ficha dl > div:first-child { padding-left: 0; } .ficha dl > div + div { border-left: 1px solid var(--linea); } }
/* Índice fijo de la página */
.indice { position: sticky; top: calc(var(--banda) + var(--enc)); z-index: 50; background: rgba(244, 237, 223, 0.94); border-bottom: 1px solid var(--linea); transition: top 0.5s var(--curva); }
@supports (backdrop-filter: blur(1px)) { .indice { background: rgba(244, 237, 223, 0.82); backdrop-filter: blur(14px); } }
.enc-oculto .indice { top: 0; }
.indice__fila { position: relative; display: flex; gap: 26px; overflow-x: auto; scrollbar-width: none; }
/* Una sola marca que se desliza hasta la parte actual, y el avance de la página arriba del índice */
.indice__marca { position: absolute; left: 0; bottom: 0; height: 2px; width: var(--w, 0); transform: translateX(var(--x, 0)); background: var(--verde); transition: transform 0.55s var(--curva), width 0.55s var(--curva); pointer-events: none; }
.indice--marca a::after { display: none; }
.indice::before { content: ''; position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: var(--ocre); transform: scaleX(var(--avance, 0)); transform-origin: left; pointer-events: none; }
.indice__fila::-webkit-scrollbar { display: none; }
.indice a { position: relative; flex: none; padding: 16px 0 14px; font-size: 15px; font-weight: 500; color: var(--tinta-2); text-decoration: none; transition: color 0.3s; }
.indice a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--verde); transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--curva); }
.indice a[aria-current='true'] { color: var(--tinta); }
.indice a[aria-current='true']::after { transform: scaleX(1); }

/* ---------- Precios + cotizador ---------- */
.decidir { display: grid; gap: 56px; }
@media (min-width: 1100px) { .decidir { grid-template-columns: 1fr minmax(430px, 0.86fr); gap: clamp(48px, 6vw, 110px); align-items: start; } .cotizador--fijo { position: sticky; top: calc(var(--enc) + 74px); } }
.residente { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 0; border: 0; background: none; cursor: pointer; font-weight: 600; }
.sello-dni { display: inline-flex; margin: 8px 0 0; font-size: 14px; color: var(--acento); font-weight: 600; }
.sello-dni[hidden] { display: none; }
.sello-dni.estampa { animation: estampa 0.5s var(--curva); }
@keyframes estampa { from { opacity: 0; transform: translateY(-6px); } }
.tarifas { list-style: none; border-top: 1px solid var(--linea); margin-top: 22px; }
.tarifas li { display: grid; grid-template-columns: 1fr auto; gap: 2px 20px; align-items: end; padding: 18px 0; border-bottom: 1px solid var(--linea); }
.tarifas strong { font-size: 18px; font-weight: 600; }
.tarifas small { grid-column: 1; font-size: 14px; color: var(--texto-2); }
.precio { grid-row: 1 / span 2; grid-column: 2; display: grid; justify-items: end; font-size: clamp(2.2rem, 1.6rem + 1.6vw, 3.2rem); font-stretch: 68%; font-weight: 640; line-height: 0.95; font-variant-numeric: lining-nums tabular-nums; color: var(--verde); }
.precio s { font-size: 0.42em; font-weight: 500; color: var(--texto-2); }
.precio s:empty { display: none; }
.tarifas__nota { margin: 14px 0 0; font-size: 14px; color: var(--texto-2); }
.subtitulo { margin: 48px 0 0; font-size: clamp(22px, 1.8vw, 28px); font-weight: 620; font-stretch: 112%; letter-spacing: -0.02em; }
.incluye { list-style: none; display: grid; gap: 0; margin-top: 30px; border-top: 1px solid var(--linea); }
.incluye li { position: relative; padding: 13px 0 13px 26px; border-bottom: 1px solid var(--linea); }
.incluye li::before { content: ''; position: absolute; left: 2px; top: 22px; width: 9px; height: 9px; background: var(--ocre); }
.cotizador { display: grid; gap: 22px; padding: clamp(24px, 3vw, 40px); border-radius: 6px; background: var(--verde); color: var(--hueso); --texto: var(--hueso); --texto-2: rgba(244, 237, 223, 0.72); --linea: rgba(244, 237, 223, 0.18); --fondo: var(--verde); --acento: var(--ocre-claro); }
.cotizador__titulo { font-size: clamp(28px, 2.4vw, 38px); font-weight: 620; font-stretch: 112%; letter-spacing: -0.03em; line-height: 1; }
.cotizador .residente { justify-self: start; }
.filas { display: grid; border-top: 1px solid var(--linea); }
.fila { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--linea); }
.fila b { display: block; font-weight: 600; }
.fila small { display: block; font-size: 13px; color: var(--texto-2); }
.contador { display: grid; grid-template-columns: 44px 52px 44px; align-items: center; }
.contador button { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--linea); border-radius: 4px; background: none; cursor: pointer; transition: background 0.25s, border-color 0.25s, transform 0.15s; }
.contador button svg { width: 15px; height: 15px; }
.contador button:hover:not(:disabled) { background: rgba(244, 237, 223, 0.12); border-color: rgba(244, 237, 223, 0.5); }
.contador button:active:not(:disabled) { transform: scale(0.9); }
.contador button:disabled { opacity: 0.3; cursor: default; }
.contador output { text-align: center; font-size: 30px; font-stretch: 68%; font-weight: 640; font-variant-numeric: tabular-nums; }
.contador output.salta { animation: salta 0.35s var(--curva); }
@keyframes salta { 40% { transform: translateY(-4px); } }
.campo { display: grid; gap: 10px; margin: 0; padding: 0; border: 0; min-width: 0; }
.campo legend, .campo > label { padding: 0; margin-bottom: 10px; font-size: 14px; font-weight: 600; color: var(--texto-2); }
.campo > label { margin-bottom: 0; }
.campo input[type='date'], .campo input:not([type]), .campo input[type='text'] { width: 100%; min-height: 50px; padding: 0 14px; border: 1px solid var(--linea); border-radius: 4px; background: rgba(244, 237, 223, 0.06); color: inherit; color-scheme: dark; }
.campo input:focus { outline: none; border-color: var(--ocre-claro); box-shadow: 0 0 0 3px rgba(224, 168, 101, 0.25); }
.campo__nota { margin: 0; font-size: 13px; color: var(--texto-2); }
.campo__nota:empty { display: none; }
.campo__error { margin: 0; font-size: 14px; color: #f0b49a; min-height: 0; }
.campo__error:empty { display: none; }
.campo--doble { display: grid; gap: 14px; }
@media (min-width: 520px) { .campo--doble { grid-template-columns: 1fr 1fr; } }
.opciones { display: flex; flex-wrap: wrap; gap: 6px; }
.opciones + .opciones { margin-top: 6px; }
.opciones label { position: relative; cursor: pointer; }
.opciones input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opciones span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--linea); border-radius: 4px; font-size: 15px; font-weight: 500; transition: background 0.25s, color 0.25s, border-color 0.25s; }
.opciones label:hover span { border-color: rgba(244, 237, 223, 0.5); }
.opciones input:checked + span { background: var(--hueso); border-color: var(--hueso); color: var(--verde); font-weight: 600; }
.opciones input:focus-visible + span { outline: 2px solid var(--ocre-claro); outline-offset: 2px; }
.opciones input:disabled + span { opacity: 0.4; cursor: not-allowed; }
.total { display: grid; gap: 6px; padding-top: 20px; border-top: 1px solid var(--linea); }
.total__etiqueta { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--texto-2); }
.total__monto { display: inline-flex; align-items: baseline; font-size: clamp(3.6rem, 2.4rem + 3vw, 5.4rem); font-stretch: 68%; font-weight: 660; line-height: 0.95; color: var(--ocre-claro); font-variant-numeric: lining-nums tabular-nums; }
.odo { display: inline-flex; overflow: hidden; height: 1em; line-height: 1; }
.odo__d { display: inline-block; height: 1em; overflow: hidden; }
.odo__tira { display: flex; flex-direction: column; transform: translateY(calc(var(--n, 0) * -1em)); transition: transform 0.9s var(--curva); }
.odo__tira span { height: 1em; }
.odo__sep { display: inline-block; }
.total__detalle { margin: 4px 0 0; font-size: 14px; color: var(--texto-2); line-height: 1.5; }
.total__detalle b { color: var(--hueso); font-weight: 600; }
.total__promo { justify-self: start; margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--ocre-claro); }
.total__promo[hidden] { display: none; }
.total.listo .total__monto { animation: listo 0.6s var(--curva); }
/* Cuando el total cambia, el botón de WhatsApp late una vez: el mensaje ya está listo */
.boton.late { animation: late-boton 0.9s var(--curva); }
@keyframes late-boton { from { box-shadow: 0 0 0 0 rgba(224, 168, 101, 0.6); } to { box-shadow: 0 0 0 16px rgba(224, 168, 101, 0); } }
@keyframes listo { 40% { transform: translateY(-3px); } }
.cotizador__acciones { display: grid; gap: 8px; }
@media (min-width: 560px) { .cotizador__acciones { grid-template-columns: 1fr 1fr; } }
.cotizador__acciones .boton { width: 100%; }
.cotizador__nota { margin: 0; font-size: 13.5px; color: var(--texto-2); }
.cotizador .copiar { color: var(--hueso); }

/* ---------- Un día en GyC (carrusel) ---------- */
.carrusel__pista { list-style: none; display: flex; gap: clamp(12px, 1.6vw, 24px); overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--margen) 8px; scroll-padding-inline: var(--margen); scrollbar-width: none; }
.carrusel__pista::-webkit-scrollbar { display: none; }
.carrusel__pista.arrastrando { scroll-snap-type: none; cursor: grabbing; }
.hora { flex: 0 0 clamp(250px, 24vw, 340px); scroll-snap-align: start; }
.hora .foto { aspect-ratio: 4 / 5; margin-bottom: 16px; }
.hora__tiempo { display: block; font-size: 30px; color: var(--acento); margin-bottom: 6px; }
.hora__titulo { font-size: 20px; font-weight: 600; margin-bottom: 6px; }
.hora p { margin: 0; color: var(--texto-2); font-size: 15.5px; }
.carrusel__pie { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 30px; }
.carrusel__progreso { position: relative; flex: 1; max-width: 360px; height: 1px; background: var(--linea); }
.carrusel__progreso::after { content: ''; position: absolute; left: 0; top: -1px; height: 3px; width: calc(var(--p, 0.2) * 100%); background: var(--verde); transition: width 0.3s; }

/* Lo que pasa en GyC: videos verticales con su título y su plan */
.carrusel--momentos .momento { flex: 0 0 clamp(250px, 23vw, 330px); scroll-snap-align: start; display: grid; gap: 6px; align-content: start; }
.momento .foto { aspect-ratio: 4 / 5; margin-bottom: 12px; }
.momento__titulo { font-size: 21px; font-weight: 600; font-stretch: 104%; }
.momento p { margin: 0; color: var(--texto-2); font-size: 15.5px; }
.momento .enlace { justify-self: start; margin-top: 8px; font-size: 15px; }

/* Tira de fotos que se corre de costado mientras se baja (Inicio) */
.deslizar { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; margin-top: clamp(44px, 5vw, 80px); }
.deslizar::-webkit-scrollbar { display: none; }
.deslizar__pista { list-style: none; display: flex; gap: clamp(12px, 1.6vw, 24px); width: max-content; padding-inline: var(--margen); }
.deslizar__pie { display: flex; justify-content: flex-end; margin-top: 14px; }
.deslizar__pausa { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--linea); border-radius: 4px; background: none; color: var(--tinta); cursor: pointer; }
.deslizar__pausa svg { width: 13px; height: 13px; }
.deslizar__pausa:hover { border-color: currentColor; }
.deslizar li { width: clamp(230px, 26vw, 400px); display: grid; gap: 4px; align-content: start; }
.deslizar li:nth-child(3n + 2) { width: clamp(300px, 40vw, 600px); }
.deslizar .foto { height: clamp(260px, 28vw, 420px); margin-bottom: 12px; }
.deslizar strong { font-size: 19px; font-weight: 600; }
.deslizar span { font-size: 15px; color: var(--texto-2); }
.deslizar--libre { overflow-x: auto; scrollbar-width: thin; }

/* Sección con una foto o un video al costado (reglas, "lo que pregunta la escuela", las aves) */
.con-media { display: grid; gap: 40px; }
.con-media__foto { order: 2; margin: 0; width: min(100%, 420px); }
.con-media__foto.foto, .con-media__foto .foto { aspect-ratio: 4 / 5; }
@media (min-width: 1000px) {
  .con-media { grid-template-columns: minmax(280px, 0.7fr) 1.3fr; gap: clamp(48px, 6vw, 110px); align-items: start; }
  .con-media__foto { order: 0; width: 100%; position: sticky; top: calc(var(--banda) + var(--enc) + 80px); }
}
@media (min-width: 900px) and (max-width: 1299px) {
  .aves--fila { grid-template-columns: 1fr; border-bottom: 0; }
  .aves--fila .ave, .aves--fila .ave:first-child { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--linea); }
}
.aves--fila .ave__nombre { font-size: clamp(2.6rem, 1.6rem + 2vw, 4rem); }

/* Sin auto: tren o micro, y el último tramo en remís */
.viaje { --hueco: clamp(24px, 3vw, 48px); list-style: none; display: grid; gap: 44px; }
@media (min-width: 1000px) { .viaje { grid-template-columns: repeat(3, 1fr); gap: var(--hueco); } }
.viaje__tramo { display: grid; gap: 6px; align-content: start; }
.viaje .foto, .cerca .foto { aspect-ratio: 4 / 3; margin-bottom: 8px; }
.viaje__como { position: relative; display: flex; align-items: center; gap: 10px; margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--acento); }
.viaje__como::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--ocre); flex: none; }
@media (min-width: 1000px) {
  .viaje__tramo:not(:last-child) .viaje__como::after { content: ''; position: absolute; left: 18px; top: 50%; width: calc(100% + var(--hueco) - 18px); border-top: 2px dashed var(--ocre); transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--curva) 0.4s; }
  .viaje__tramo.visto .viaje__como::after, .viaje__tramo:not([data-reveal]) .viaje__como::after { transform: none; }
  .viaje__tramo:not(:last-child) .viaje__como { width: 100%; }
}
.viaje strong, .cerca strong { font-size: 20px; font-weight: 600; font-stretch: 104%; line-height: 1.25; }
.viaje p, .cerca p { margin: 0; color: var(--texto-2); }
.credito { font-size: 12.5px; color: var(--texto-2); }
.credito a { color: inherit; }
.cerca { list-style: none; display: grid; gap: 40px clamp(20px, 3vw, 44px); }
@media (min-width: 700px) { .cerca { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cerca { grid-template-columns: repeat(3, 1fr); } }
.cerca li { display: grid; gap: 6px; align-content: start; }

/* ---------- Foto + texto ---------- */
.par-texto { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .par-texto { grid-template-columns: 1.05fr 0.95fr; gap: clamp(48px, 6vw, 110px); } .par-texto--der > .foto { order: 2; } }
.par-texto > .foto { aspect-ratio: 4 / 5; }
@media (min-width: 900px) { .par-texto > .foto { aspect-ratio: 5 / 6; } }
.par-texto .t2 { margin-bottom: 22px; }
.par-texto .lista-linea { margin-top: 28px; }

/* Mosaico de fotos (una grande y dos chicas) */
.mosaico { display: grid; gap: clamp(10px, 1.4vw, 20px); grid-template-columns: 1fr 1fr; }
.mosaico > :first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.mosaico > * { aspect-ratio: 4 / 5; }
.mosaico > .foto:first-child:has(video) { aspect-ratio: 4 / 5; } /* un video vertical no entra en un cuadro apaisado */
@media (min-width: 900px) { .mosaico { grid-template-columns: 1.6fr 1fr; grid-template-rows: repeat(2, clamp(220px, 21vw, 340px)); } .mosaico > :first-child { grid-column: 1; grid-row: 1 / span 2; } .mosaico > *, .mosaico > :first-child, .mosaico > .foto:first-child:has(video) { aspect-ratio: auto; } }
.mosaico--4 { grid-template-columns: 1fr 1fr; }
.mosaico--4 > :nth-child(4) { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
@media (min-width: 900px) { .mosaico--4 { grid-template-columns: 1.4fr 1fr 1fr; } .mosaico--4 > :first-child { grid-row: 1 / span 2; } .mosaico--4 > :nth-child(4) { grid-column: 2 / span 2; aspect-ratio: auto; } }

/* ---------- Qué traer ---------- */
.traer { display: grid; gap: 40px; }
@media (min-width: 1000px) { .traer { grid-template-columns: 0.8fr 1.2fr; gap: clamp(48px, 6vw, 110px); } }
.traer__lista { list-style: none; display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--linea); }
@media (min-width: 640px) { .traer__lista { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
.traer__lista li { border-bottom: 1px solid var(--linea); }
.tilde { display: flex; align-items: center; gap: 14px; min-height: 56px; cursor: pointer; }
.tilde input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tilde__caja { width: 24px; height: 24px; flex: none; display: grid; place-items: center; border: 1.5px solid var(--verde); border-radius: 3px; transition: background 0.25s; }
.tilde__caja svg { width: 16px; height: 16px; color: var(--hueso); stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 0.35s var(--curva); }
.tilde input:checked + .tilde__caja { background: var(--verde); }
.tilde input:checked + .tilde__caja svg { stroke-dashoffset: 0; }
.tilde input:checked ~ span:last-child { color: var(--texto-2); text-decoration: line-through; text-decoration-color: rgba(28, 67, 66, 0.4); }
.tilde input:focus-visible + .tilde__caja { outline: 2px solid var(--ocre); outline-offset: 2px; }
.traer__pie { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 22px; }
.traer__cuenta { font-size: 30px; color: var(--verde); }

/* ---------- Monoambientes: las tres aves ---------- */
.aves { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--linea); }
.ave { display: grid; gap: 10px; align-content: start; padding: 30px 0; border-bottom: 1px solid var(--linea); }
@media (min-width: 900px) { .aves { grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--linea); } .ave { border-bottom: 0; padding: 34px 28px 38px; } .ave:first-child { padding-left: 0; } .ave + .ave { border-left: 1px solid var(--linea); } }
.ave__nombre { font-size: clamp(3rem, 2rem + 3vw, 5rem); font-stretch: 112%; font-weight: 620; letter-spacing: -0.035em; line-height: 0.95; color: var(--verde); }
.ave__cientifico { margin: 0; font-size: 14px; font-style: italic; color: var(--texto-2); }
.ave p:not(.ave__cientifico) { margin: 0; }
.ave__vista { justify-self: start; font-size: 14px; font-weight: 600; color: var(--acento); }
.ave__canto { justify-self: start; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 6px; padding: 0 16px 0 12px; border: 1px solid var(--linea); border-radius: 4px; background: none; cursor: pointer; font-weight: 600; font-size: 15px; transition: background 0.3s, color 0.3s, border-color 0.3s; }
.ave__canto svg, .escuchar__boton svg { width: 20px; height: 20px; }
.ave__canto:hover, .ave__canto[aria-pressed='true'] { background: var(--verde); color: var(--hueso); border-color: var(--verde); }
.escuchar__boton { display: inline-flex; align-items: center; gap: 12px; min-height: 50px; padding: 0 20px 0 16px; border: 1px solid rgba(244, 237, 223, 0.5); border-radius: 4px; background: rgba(10, 30, 29, 0.3); color: var(--hueso); cursor: pointer; font-weight: 600; transition: background 0.3s, color 0.3s; }
.escuchar__boton:hover, .escuchar__boton[aria-pressed='true'] { background: var(--hueso); color: var(--verde); }

/* ---------- Pestañas (Grupos | Eventos) ---------- */
.pestanas { display: inline-flex; gap: 4px; padding: 4px; border-radius: 6px; background: rgba(10, 30, 29, 0.5); }
@supports (backdrop-filter: blur(1px)) { .pestanas { backdrop-filter: blur(10px); } }
.pestanas button { min-height: 48px; padding: 0 20px; border: 0; border-radius: 3px; background: none; color: var(--hueso); cursor: pointer; font-weight: 600; font-size: 15.5px; transition: background 0.3s, color 0.3s; }
.pestanas button[aria-selected='true'] { background: var(--hueso); color: var(--verde); }
.actividades { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(14px, 2vw, 28px); }
@media (min-width: 1000px) { .actividades { grid-template-columns: repeat(4, 1fr); } }
.actividad .foto { aspect-ratio: 4 / 5; margin-bottom: 14px; }
.actividad strong { display: block; font-size: 19px; font-weight: 600; }
.actividad span { font-size: 14.5px; color: var(--texto-2); }
.actividad--texto { display: grid; align-content: end; gap: 6px; padding: 22px; border-radius: 4px; background: var(--verde); color: var(--hueso); min-height: 220px; }
.actividad--texto span { color: rgba(244, 237, 223, 0.74); }

/* ---------- Plano del predio ---------- */
.plano { display: grid; gap: 28px; }
@media (min-width: 1000px) { .plano { grid-template-columns: 1.25fr 0.75fr; gap: clamp(32px, 4vw, 64px); align-items: start; } .plano__ficha { position: sticky; top: calc(var(--banda) + var(--enc) + 70px); } }
.plano__mapa { position: relative; border-radius: 4px; overflow: hidden; background: #ece4cc; }
.plano__mapa svg { width: 100%; height: auto; }
.plano__aviso { margin: 12px 0 0; font-size: 14px; color: var(--texto-2); }
.plano__aviso b { color: var(--texto); }
.pl-laguna { fill: #a9c4c0; }
.pl-laguna-2 { fill: #96b6b1; }
.pl-ola { fill: none; stroke: rgba(255, 255, 255, 0.55); stroke-width: 2.2; stroke-linecap: round; }
.pl-orilla { fill: none; stroke: #86a7a1; stroke-width: 2; stroke-dasharray: 3 6; }
.pl-pasto { fill: #e3dcc0; }
.pl-camino { fill: none; stroke: #cdbd96; stroke-width: 8; stroke-linecap: round; }
.pl-sendero { fill: none; stroke: #d8caa6; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 2 7; }
.pl-ruta { fill: none; stroke: #8a948c; stroke-width: 14; stroke-linecap: round; }
.pl-ruta-linea { fill: none; stroke: #ece4cc; stroke-width: 2; stroke-dasharray: 10 12; }
.pl-arbol { fill: #8a9b6c; opacity: 0.5; }
.pl-palmera { fill: none; stroke: var(--verde); stroke-width: 1.6; stroke-linecap: round; }
.pl-texto { font: 600 12px var(--letra); letter-spacing: 0.14em; fill: #4f6a5c; text-transform: uppercase; }
.pl-agua-nombre { font: 600 22px var(--letra); fill: #3f6a66; letter-spacing: 0.02em; }
.pl-zona { cursor: pointer; outline: none; }
.pl-zona .pl-forma { fill: rgba(28, 67, 66, 0.08); stroke: var(--verde); stroke-width: 1.6; stroke-dasharray: 5 5; transition: fill 0.4s var(--curva), stroke-dasharray 0.4s; }
.pl-zona .pl-pin { fill: var(--verde); transition: transform 0.45s var(--curva), fill 0.3s; transform-box: fill-box; transform-origin: center; }
.pl-zona .pl-pin-txt { font: 700 12px var(--letra); fill: var(--hueso); pointer-events: none; }
.pl-zona:hover .pl-forma, .pl-zona:focus-visible .pl-forma { fill: rgba(201, 133, 63, 0.28); stroke-dasharray: none; }
.pl-zona:hover .pl-pin, .pl-zona:focus-visible .pl-pin { transform: scale(1.18); }
.pl-zona[aria-pressed='true'] .pl-forma { fill: rgba(201, 133, 63, 0.45); stroke-dasharray: none; }
.pl-zona[aria-pressed='true'] .pl-pin { fill: var(--ocre-osc); transform: scale(1.25); }
.pl-zona:focus-visible .pl-forma { stroke-width: 3; }
.plano__ficha { display: grid; gap: 14px; }
.plano__foto { aspect-ratio: 4 / 3; border-radius: 4px; overflow: hidden; background: var(--arena); }
.plano__foto button { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.plano__foto img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.35s, clip-path 0.6s var(--curva-2); clip-path: circle(150% at var(--ox, 50%) var(--oy, 50%)); }
.plano__foto img.sale { opacity: 0.2; clip-path: circle(0% at var(--ox, 50%) var(--oy, 50%)); }
.plano__ficha h3 { font-size: clamp(26px, 2.2vw, 34px); font-weight: 620; font-stretch: 112%; letter-spacing: -0.025em; line-height: 1.05; }
.plano__ficha p { margin: 0; color: var(--texto-2); }
.plano__lista { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---------- Temporada (texto, sin barras) ---------- */
.epocas { display: grid; gap: 0; border-top: 1px solid var(--linea); }
@media (min-width: 900px) { .epocas { grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--linea); } .epoca + .epoca { border-left: 1px solid var(--linea); padding-left: clamp(24px, 3vw, 48px); } }
.epoca { padding: 28px clamp(0px, 2vw, 32px) 32px 0; border-bottom: 1px solid var(--linea); }
.epoca__foto { aspect-ratio: 16 / 10; margin-bottom: 24px; }
@media (min-width: 900px) { .epoca { border-bottom: 0; } }
.epoca h3 { font-size: clamp(24px, 2vw, 32px); font-weight: 620; font-stretch: 112%; letter-spacing: -0.025em; }
.epoca__fechas { margin: 6px 0 18px; color: var(--acento); font-weight: 600; }
.epoca ul { list-style: none; display: grid; gap: 10px; }
.epoca li { position: relative; padding-left: 22px; }
.epoca li::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 8px; height: 8px; background: var(--ocre); }
.epoca--ahora { position: relative; }
.epoca__hoy { display: inline-block; margin-left: 10px; padding: 3px 8px; border-radius: 3px; background: var(--verde); color: var(--hueso); font-size: 12px; font-weight: 600; vertical-align: 5px; letter-spacing: 0; }
.epoca__hoy[hidden] { display: none; }

/* ---------- Galería de fotos ---------- */
.muro { list-style: none; columns: 2; column-gap: clamp(8px, 1.2vw, 16px); }
@media (min-width: 760px) { .muro { columns: 3; } }
@media (min-width: 1200px) { .muro { columns: 4; } }
.muro li { break-inside: avoid; margin-bottom: clamp(8px, 1.2vw, 16px); }
.muro li[hidden] { display: none; }
.muro button { display: block; width: 100%; padding: 0; border: 0; border-radius: 3px; overflow: hidden; cursor: zoom-in; background: var(--arena); }
.muro img { width: 100%; transition: scale 1s var(--curva); }
.muro button:hover img { scale: 1.04; }
.filtros { margin-bottom: 26px; }

/* ---------- Enlaces (para la bio de Instagram) ---------- */
.enlaces { min-height: 100vh; min-height: 100svh; display: grid; place-items: start center; padding: 44px 18px 60px; background: var(--verde); color: var(--hueso); }
.enlaces__caja { width: min(100%, 460px); display: grid; gap: 14px; justify-items: center; text-align: center; }
.enlaces__logo { width: 150px; color: var(--hueso); margin-bottom: 10px; }
.enlaces__lista { list-style: none; display: grid; gap: 8px; width: 100%; margin-top: 12px; }
.enlaces__lista a { display: grid; grid-template-columns: 1fr 18px; gap: 2px 14px; align-items: center; min-height: 64px; padding: 12px 18px; border-radius: 4px; border: 1px solid rgba(244, 237, 223, 0.22); text-align: left; text-decoration: none; transition: background 0.3s, color 0.3s, border-color 0.3s; }
.enlaces__lista a::after { content: ''; grid-row: 1 / span 2; grid-column: 2; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--flecha) center / contain no-repeat; mask: var(--flecha) center / contain no-repeat; }
.enlaces__lista a:hover { background: var(--hueso); color: var(--verde); border-color: var(--hueso); }
.enlaces__lista b { font-size: 18px; font-weight: 600; }
.enlaces__lista small { font-size: 13.5px; opacity: 0.8; }
.enlaces__destacado a { background: var(--ocre); color: var(--tinta); border-color: var(--ocre); }

/* ---------- Visor de fotos ---------- */
.visor { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(10, 24, 23, 0.97); color: var(--hueso); --texto: var(--hueso); --fondo: var(--verde-3); --linea: rgba(244, 237, 223, 0.3); }
.visor::backdrop { background: rgba(10, 24, 23, 0.97); }
.visor[open] { display: grid; grid-template-rows: auto 1fr auto; animation: visor 0.4s var(--curva); }
@keyframes visor { from { opacity: 0; } to { opacity: 1; } }
.visor__barra { display: flex; justify-content: space-between; align-items: center; padding: 12px var(--margen); font-size: 13px; color: rgba(244, 237, 223, 0.7); }
.visor__cerrar { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px; border: 1px solid rgba(244, 237, 223, 0.35); border-radius: 4px; background: none; cursor: pointer; font-size: 14px; font-weight: 600; }
.visor__cerrar:hover { background: var(--hueso); color: var(--verde); }
.visor__foto { position: relative; display: grid; place-items: center; overflow: hidden; padding: 0 var(--margen); touch-action: pan-y; }
.visor__foto img { max-width: 100%; max-height: calc(100 * var(--vh) - 160px); width: auto; object-fit: contain; border-radius: 3px; transition: opacity 0.3s; }
.visor__foto img.cargando { opacity: 0.25; }
.visor__foto img.entra { animation: entra-foto 0.5s var(--curva); }
@keyframes entra-foto { from { opacity: 0; transform: translateX(calc(var(--dir, 1) * 36px)); } to { opacity: 1; transform: none; } }
.visor__carga { position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border: 2px solid rgba(244, 237, 223, 0.25); border-top-color: var(--ocre-claro); border-radius: 50%; opacity: 0; transition: opacity 0.2s; pointer-events: none; }
.visor__carga.si { opacity: 1; animation: gira 0.9s linear infinite; }
@keyframes gira { to { transform: rotate(360deg); } }
.visor__pie { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px var(--margen) calc(16px + env(safe-area-inset-bottom)); }
.visor__pie p { margin: 0; font-size: 15px; }

/* ---------- Movimiento atado al scroll (Chrome, Edge y Safari 26; en los demás todo queda quieto y visible) ----------
   - Portada y cabeceras: al bajar, la foto se queda atrás y el título se va más rápido (profundidad).
   - Bandas de foto: la foto se mueve más lento que la página (paralaje). */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .portada__fondo, .portada__video, .cabecera__foto { animation: queda-atras linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
    @keyframes queda-atras { to { transform: translateY(22vh) scale(1.06); } }
    .portada__texto, .cabecera .contenedor { animation: se-va linear both; animation-timeline: scroll(root); animation-range: 0 80vh; }
    @keyframes se-va { to { transform: translateY(-10vh); opacity: 0.15; } }
    .banda-foto > img, .banda-foto > picture { animation: paralaje linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
    @keyframes paralaje { from { transform: translateY(-9%) scale(1.2); } to { transform: translateY(9%) scale(1.2); } }
  }
}

/* ---------- Transición entre páginas: la foto del plan en el Inicio pasa a ser la portada de su página ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.45s; }
::view-transition-group(*) { animation-duration: 0.65s; animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1); }
.enc { view-transition-name: encabezado; }
/* En el Inicio, sitio.js le pone el nombre solo a la foto del plan que se tocó (plan-<data-vt>) */
[data-pag='dia'] .cabecera__foto { view-transition-name: plan-dia; }
[data-pag='acampar'] .cabecera__foto { view-transition-name: plan-acampar; }
[data-pag='mono'] .cabecera__foto { view-transition-name: plan-mono; }
[data-pag='grupos'] .cabecera__foto { view-transition-name: plan-grupos; }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js [data-lineas] .pal > span, .js .foto[data-reveal] img, .js .foto[data-reveal] video, .js .pie__logo svg { opacity: 1; transform: none; clip-path: none; scale: 1; }
  .js .luz { opacity: 1; }
  .intro { display: none !important; }
}

/* ---------- Impresión: la versión del grupo para la escuela ---------- */
.para-escuela { display: none; }
@media print {
  body * { visibility: hidden; }
  .para-escuela, .para-escuela * { visibility: visible; }
  .para-escuela { display: block !important; position: absolute; inset: 0; padding: 24px; color: #000; font: 12pt/1.5 Georgia, serif; }
  .para-escuela .esc-titulo { font-size: 22pt; margin-bottom: 8px; }
  .para-escuela h2 { font-size: 14pt; margin: 18px 0 6px; }
  .para-escuela ul { padding-left: 18px; }
}

/* ---------- Primer pantallazo: la portada entra sin esperar al scroll ---------- */
@keyframes entra { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.js .cabecera [data-reveal], .js .portada [data-reveal] { opacity: 1; transform: none; transition: none; animation: entra 1s calc(0.25s + var(--d, 0) * 1s) var(--curva) both; }
@keyframes palabra { from { transform: translateY(105%); } to { transform: none; } }
.js h1[data-lineas] .pal > span { transform: none; transition: none; animation: palabra 1s calc(0.1s + var(--i, 0) * 0.04s) var(--curva) both; }
.con-intro .portada [data-reveal], .con-intro h1[data-lineas] .pal > span, .con-intro .portada__fondo img { animation-play-state: paused; }
