/* Alma Pampa · demo
   Identidad sacada del lugar y de su marca:
   - El logo es un parche de cuero repujado con costura: la talabartería manda. Bandas de cuero con grano, la
     costura de pespunte como borde de botones, tarjetas y divisores, sellos estampados y el monograma A·L·M·A.
   - Los rebenques cruzados con la argolla son el símbolo (viñetas, cursor, avance de lectura).
   - La tranquera de madera en X entre pilares de piedra de la entrada: la intro se abre como ella.
   - Sus propios textos, "Las mañanas, las tardes, las noches": la web entera cambia de luz según la hora del
     visitante (html[data-momento]). A la noche, la web también es de noche.
   - Tipografía: Libre Caslon (la familia del Adobe Caslon que usa su web) y Jost, geométrica como el
     "CASAS DE CAMPO" del logo.
   El movimiento orienta y se apaga con "reducir movimiento". */

@font-face { font-family: 'Caslon Display'; src: url('../fonts/caslon-display.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Caslon'; src: url('../fonts/caslon-texto.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Caslon'; src: url('../fonts/caslon-italica.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Jost'; src: url('../fonts/jost.woff2') format('woff2'); font-weight: 300 700; font-style: normal; font-display: swap; }
/* Respaldos con medidas parecidas: mientras cargan las fuentes, el texto casi no salta */
@font-face { font-family: 'Caslon respaldo'; src: local('Georgia'); size-adjust: 94%; ascent-override: 92%; descent-override: 26%; line-gap-override: 0%; }
@font-face { font-family: 'Jost respaldo'; src: local('Arial'), local('ArialMT'); size-adjust: 96%; ascent-override: 102%; descent-override: 30%; line-gap-override: 0%; }

:root {
  /* Marca (fija) */
  --marca: #572600;
  --marron: #34190a;
  --marron-2: #4a2410;
  --cuero: #906d56;
  --cuero-osc: #795c49;
  --suela: #a47d61;
  --suela-clara: #c9a98c;
  --piedra: #b9a797;
  --hilo: #e9e0d2;
  --crema: #f6efe4;
  --tinta-fija: #2a1a10;
  --tinta-fija-2: #6a5444;
  /* Momento: mañana (por defecto). Cambian con html[data-momento] */
  --papel: #f6efe4;
  --papel-2: #ede2d0;
  --blanco: #fffcf7;
  --tinta: #2a1a10;
  --tinta-2: #6a5444;
  --acento: #b5531f;
  --acento-2: #e38a4e;
  --sobre-acento: #fffcf7;
  --cielo-a: #f3b27a;
  --cielo-b: #f6e3c8;
  --serif: 'Caslon', 'Caslon respaldo', Georgia, serif;
  --display: 'Caslon Display', 'Caslon respaldo', Georgia, serif;
  --sans: 'Jost', 'Jost respaldo', Arial, sans-serif;
  --margen: clamp(16px, 4.2vw, 72px);
  --ancho: 1560px;
  --enc: 68px;
  --banda: 30px;
  --curva: cubic-bezier(0.22, 1, 0.36, 1);
  --curva-2: cubic-bezier(0.65, 0, 0.35, 1);
  --vh: 1vh;
  --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");
  /* La argolla con los rebenques cruzados, para viñetas y máscaras */
  --argolla: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round'%3E%3Cpath d='M8 8l32 32M40 8 8 40'/%3E%3Ccircle cx='24' cy='24' r='8.5' fill='%23fff' fill-opacity='0'/%3E%3C/svg%3E");
  /* Grano del cuero: ruido fino, muy suave */
  --grano: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.05 0 0 0 0 0.02 0 0 0 0.55 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23g)'/%3E%3C/svg%3E");
  /* La tranquera: listones y la cruz en X */
  --tranquera: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 300' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='%23e9e0d2' stroke-opacity='0.16' stroke-width='3'%3E%3Cpath d='M0 40h400M0 150h400M0 260h400M20 40 380 260M380 40 20 260'/%3E%3C/g%3E%3C/svg%3E");
  /* Colores de la sección actual (los cambian .s--cuero y compañía) */
  --fondo: var(--papel);
  --texto: var(--tinta);
  --texto-2: var(--tinta-2);
  --linea: rgba(42, 26, 16, 0.15);
  --costura: rgba(87, 38, 0, 0.42);
  --marca-color: var(--acento);
}
/* La tarde: dorado de pasturas */
html[data-momento='tarde'] {
  --papel: #f3ecdc; --papel-2: #e9dfc6; --blanco: #fffbf2;
  --acento: #8a6416; --acento-2: #c99a3b; --cielo-a: #e7a85a; --cielo-b: #f1e2c0;
}
/* La noche: azul de cielo de campo y la luz cálida de las ventanas */
html[data-momento='noche'] {
  --papel: #0f1529; --papel-2: #151d37; --blanco: #121a33;
  --tinta: #efe6d8; --tinta-2: #b4adc2;
  --acento: #f2c46b; --acento-2: #f7d89a; --sobre-acento: #1a1305; --cielo-a: #1e2a52; --cielo-b: #0f1529;
  --linea: rgba(239, 230, 216, 0.14); --costura: rgba(242, 196, 107, 0.45);
  color-scheme: dark;
}
html { transition: background-color 0.9s var(--curva); }
body, .s, .enc__barra::before, .cabecera, .contacto, .filtros { transition: background-color 0.9s var(--curva), color 0.9s var(--curva); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--enc) + 16px); background: var(--papel); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; background: var(--papel); color: var(--tinta); font: 400 17.5px/1.6 var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
img, video, svg, canvas { 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: 400; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--acento); outline-offset: 3px; }
.s--cuero :focus-visible, .contacto :focus-visible, .pie :focus-visible, .menu :focus-visible, .portada :focus-visible { outline-color: var(--suela-clara); }
::selection { background: var(--suela); color: var(--marron); }
.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(--marron); color: var(--hilo); padding: 12px 16px; transition: top 0.2s; }
.saltar:focus { top: 12px; }
.contenedor { width: 100%; max-width: var(--ancho); margin-inline: auto; padding-inline: var(--margen); }

/* ---------- Secciones ---------- */
.s { position: relative; padding-block: clamp(80px, 10vw, 160px); background: var(--fondo); color: var(--texto); }
.s--blanco { --fondo: var(--blanco); }
.s--papel2 { --fondo: var(--papel-2); --linea: rgba(42, 26, 16, 0.17); }
html[data-momento='noche'] .s--papel2 { --linea: rgba(239, 230, 216, 0.15); }
/* Cuero: marrón profundo con grano y una costura que corre arriba y abajo */
.s--cuero, .cuero { --fondo: var(--marron); --texto: var(--hilo); --texto-2: #d2bfa9; --acento: var(--suela-clara); --linea: rgba(233, 224, 210, 0.16); --costura: rgba(233, 224, 210, 0.42); --marca-color: var(--suela-clara); --sobre-acento: var(--marron); background: var(--marron) var(--grano); color: var(--texto); }
html[data-momento='noche'] .s--cuero { --acento: #f2c46b; --marca-color: #f2c46b; }
.s--cuero::before, .s--cuero::after { content: ''; position: absolute; left: 0; right: 0; height: 0; border-top: 1.6px dashed var(--costura); pointer-events: none; }
.s--cuero::before { top: 12px; }
.s--cuero::after { bottom: 12px; }
.s--suela { --fondo: var(--suela); --texto: var(--marron); --texto-2: #3e2210; --acento: var(--marron); --linea: rgba(52, 25, 10, 0.24); --costura: rgba(52, 25, 10, 0.4); --marca-color: var(--marron); --sobre-acento: var(--hilo); background: var(--suela) var(--grano); }
.s--junta { padding-top: 0; }
.s__cabeza { display: grid; gap: 22px 64px; margin-bottom: clamp(40px, 6vw, 88px); }
@media (min-width: 900px) { .s__cabeza { grid-template-columns: 1.2fr 0.8fr; align-items: end; } .s__cabeza > :last-child { padding-bottom: 0.5em; } }

/* ---------- Tipografía ---------- */
.antetitulo { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 20px; font: 600 12.5px/1 var(--sans); letter-spacing: 0.24em; text-transform: uppercase; color: var(--texto-2); }
.antetitulo::before { content: ''; width: 15px; height: 15px; flex: none; background: var(--marca-color); -webkit-mask: var(--argolla) no-repeat center / contain; mask: var(--argolla) no-repeat center / contain; }
.antetitulo::after { content: ''; width: 34px; border-top: 1.5px dashed var(--costura); }
.titulo { font: 400 clamp(42px, 6.2vw, 100px)/0.98 var(--display); letter-spacing: -0.015em; text-wrap: balance; }
.titulo em, .display em, .frase em, .portada__titulo em { font-family: var(--serif); font-style: italic; color: var(--acento); }
.titulo--m { font-size: clamp(34px, 4.2vw, 64px); line-height: 1.02; }
.display { font: 400 clamp(58px, 10.5vw, 196px)/0.9 var(--display); letter-spacing: -0.02em; }
.bajada { font-size: clamp(17.5px, 1.35vw, 20.5px); line-height: 1.55; color: var(--texto-2); max-width: 38em; text-wrap: pretty; }
.texto { color: var(--texto-2); max-width: 40em; }
.dato { font: 500 13.5px/1.45 var(--sans); letter-spacing: 0.02em; color: var(--texto-2); }
.cita { margin: 0; }
.cita p { font: italic 400 clamp(21px, 2vw, 28px)/1.35 var(--serif); margin: 0 0 14px; text-wrap: pretty; }
.cita cite { font: 600 12px/1.3 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; font-style: normal; color: var(--texto-2); }
/* Divisor: una costura con la argolla en el medio */
.costura { display: flex; align-items: center; gap: 14px; margin: 0; color: var(--marca-color); }
.costura::before, .costura::after { content: ''; flex: 1; border-top: 1.6px dashed var(--costura); }
.costura svg { width: 26px; height: 26px; }

/* ---------- Enlaces y botones ---------- */
.enlace { position: relative; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; padding-bottom: 5px; }
.enlace::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; border-top: 1.6px dashed currentColor; transform-origin: right; transition: transform 0.6s var(--curva); }
.enlace:hover::after { transform: scaleX(0); }
.flecha { display: inline-block; width: 16px; height: 16px; flex: none; background: currentColor; -webkit-mask: var(--flecha) no-repeat center / contain; mask: var(--flecha) no-repeat center / contain; }
.enlace:hover .flecha, .boton:hover .flecha { animation: flecha 0.6s var(--curva); }
@keyframes flecha { 0% { transform: none; } 45% { transform: translateX(120%); opacity: 0; } 46% { transform: translateX(-120%); opacity: 0; } 100% { transform: none; opacity: 1; } }

/* Botón: una tira de cuero con su costura adentro. Al pasar, el cuero oscuro sube desde abajo */
.boton {
  --b-fondo: var(--marca); --b-texto: var(--hilo); --b-borde: var(--marca); --b-relleno: var(--marron); --b-texto-2: var(--hilo); --b-costura: rgba(233, 224, 210, 0.55);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 0 28px;
  border: 1.5px solid var(--b-borde); border-radius: 4px;
  background: var(--b-fondo); color: var(--b-texto);
  font: 600 14.5px/1.1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: color 0.5s var(--curva), border-color 0.5s var(--curva), transform 0.2s;
}
.boton::before { content: ''; position: absolute; inset: -2px; z-index: -1; background: var(--b-relleno); transform: translateY(102%); transition: transform 0.6s var(--curva); }
.boton::after { content: ''; position: absolute; inset: 5px; border: 1.3px dashed var(--b-costura); border-radius: 2px; pointer-events: none; transition: inset 0.5s var(--curva); }
@media (hover: hover) {
  .boton:hover { color: var(--b-texto-2); border-color: var(--b-relleno); }
  .boton:hover::before { transform: none; }
  .boton:hover::after { inset: 4px; }
}
.boton:active { transform: scale(0.97); color: var(--b-texto-2); border-color: var(--b-relleno); }
.boton:active::before { transform: none; }
html[data-momento='noche'] .boton:not(.boton--linea):not(.boton--claro) { --b-fondo: #f2c46b; --b-texto: #1a1305; --b-borde: #f2c46b; --b-relleno: #f7d89a; --b-texto-2: #1a1305; --b-costura: rgba(26, 19, 5, 0.4); }
.boton--linea { --b-fondo: transparent; --b-texto: var(--texto); --b-borde: currentColor; --b-relleno: var(--texto); --b-texto-2: var(--fondo); --b-costura: transparent; }
.boton--claro { --b-fondo: var(--hilo); --b-texto: var(--marron); --b-borde: var(--hilo); --b-relleno: var(--suela-clara); --b-texto-2: var(--marron); --b-costura: rgba(52, 25, 10, 0.35); }
.boton--chico { min-height: 46px; padding: 0 20px; font-size: 13px; }
.boton[disabled] { opacity: 0.4; cursor: default; }
.boton svg { width: 19px; height: 19px; flex: none; }
.botones { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Encabezado (banda de demo + barra) ---------- */
.enc { position: fixed; inset: 0 0 auto; z-index: 100; color: var(--tinta); transition: transform 0.6s var(--curva), color 0.4s; }
.enc--oculto { transform: translateY(-100%); }
.demo-banda { height: var(--banda); display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 0 var(--margen); background: var(--marron); color: #d2bfa9; font: 500 12px/1 var(--sans); letter-spacing: 0.03em; }
.demo-banda p { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-banda a { color: var(--suela-clara); font-weight: 600; text-decoration: none; white-space: nowrap; transition: color 0.3s var(--curva); }
.demo-banda a:hover { text-decoration: underline; color: var(--hilo); }
.demo-banda__largo { display: none; }
@media (min-width: 700px) { .demo-banda__largo { display: inline; } }
.enc__barra { position: relative; height: var(--enc); display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 var(--margen); }
.enc__barra::before { content: ''; position: absolute; inset: 0; z-index: -1; background: color-mix(in srgb, var(--papel) 92%, transparent); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 1px 0 var(--linea); transition: opacity 0.4s, background-color 0.9s; }
.enc--sobre:not(.enc--solido) { color: var(--hilo); }
.enc--sobre:not(.enc--solido) .enc__barra::before { opacity: 0; }
.marca { display: inline-flex; align-items: center; text-decoration: none; color: var(--tinta); transition: color 0.4s; }
.enc--sobre:not(.enc--solido) .marca { color: var(--hilo); }
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo__emblema { width: 46px; height: 46px; flex: none; transition: transform 0.8s var(--curva); }
.marca:hover .logo__emblema { transform: rotate(-12deg) scale(1.05); }
.logo__texto { display: grid; gap: 4px; }
.logo__nombre { font: 400 23px/0.9 var(--display); letter-spacing: 0.05em; text-transform: uppercase; }
.logo__bajada { font: 500 9.5px/1 var(--sans); letter-spacing: 0.34em; text-transform: uppercase; opacity: 0.85; }
/* El emblema (logo redibujado del original: círculo, costura, rebenques cruzados con la argolla y A·L·M·A) */
.emblema__fondo { fill: var(--marca); }
.emblema__costura { fill: none; stroke: var(--hilo); stroke-width: 1.2; stroke-dasharray: 2.2 1.8; opacity: 0.75; }
.emblema__rebenques { stroke: #fffaf2; stroke-width: 1.3; }
.emblema__letras { font: 400 17px var(--serif); fill: #fffaf2; }
.enc__nav { display: none; align-items: center; gap: clamp(18px, 2vw, 32px); font-size: 15px; font-weight: 500; letter-spacing: 0.02em; }
.enc__nav a:not(.boton) { position: relative; text-decoration: none; padding: 6px 0; }
.enc__nav a:not(.boton)::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; border-top: 1.6px dashed currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--curva); }
.enc__nav a:not(.boton):hover::after, .enc__nav a[aria-current='page']::after { transform: scaleX(1); transform-origin: left; }
.enc--sobre:not(.enc--solido) .enc__nav .boton { --b-fondo: transparent; --b-texto: var(--hilo); --b-borde: var(--hilo); --b-relleno: var(--hilo); --b-texto-2: var(--marron); --b-costura: rgba(233, 224, 210, 0.45); }
.enc__nav .boton { min-height: 44px; padding: 0 18px; font-size: 12.5px; }
.enc__der { display: flex; align-items: center; gap: 10px; }
.enc__menu { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 2px 0 12px; border: 0; border-radius: 4px; background: none; cursor: pointer; font: 600 13px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; transition: background 0.3s var(--curva), transform 0.2s; }
.enc__menu:hover { background: rgba(127, 127, 127, 0.12); }
.enc__menu:active { transform: scale(0.95); }
.enc__lineas { position: relative; width: 26px; height: 10px; }
.enc__lineas::before, .enc__lineas::after { content: ''; position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.5s var(--curva), top 0.5s var(--curva), left 0.5s var(--curva); }
.enc__lineas::before { top: 0; }
.enc__lineas::after { top: 8px; left: 8px; }
.enc__menu[aria-expanded='true'] .enc__lineas::before { top: 4px; transform: rotate(45deg); }
.enc__menu[aria-expanded='true'] .enc__lineas::after { top: 4px; left: 0; transform: rotate(-45deg); }
@media (min-width: 1180px) { .enc__nav { display: flex; } .enc__menu { display: none; } }
@media (max-width: 420px) { .logo__bajada { display: none; } .logo__nombre { font-size: 20px; } .logo__emblema { width: 40px; height: 40px; } }
.menu-abierto .enc { color: var(--hilo); }
.menu-abierto .enc .marca { color: var(--hilo); }
.menu-abierto .enc__barra::before { opacity: 0; }

/* Momento del día en la barra: tres botoncitos (sol que sale, sol, luna) */
.momentos { display: inline-flex; padding: 3px; gap: 2px; border: 1.3px dashed var(--costura); border-radius: 999px; }
.enc--sobre:not(.enc--solido) .momentos { border-color: rgba(233, 224, 210, 0.5); }
.momentos button { width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 50%; background: none; cursor: pointer; transition: background 0.4s var(--curva), color 0.4s, transform 0.2s; }
.momentos button svg { width: 18px; height: 18px; }
.momentos button:hover { background: rgba(127, 127, 127, 0.16); }
.momentos button:active { transform: scale(0.9); }
.momentos button[aria-pressed='true'] { background: var(--acento); color: var(--sobre-acento); }
.enc--sobre:not(.enc--solido) .momentos button[aria-pressed='true'] { background: var(--hilo); color: var(--marron); }
@media (max-width: 380px) { .momentos button { width: 30px; height: 30px; } }

/* En el celular el selector va en la portada, con nombres (en la barra no entra junto al logo y el menú) */
.momentos--portada { display: none; }
@media (max-width: 699px) {
  .enc .momentos { display: none; }
  .momentos--portada { display: inline-flex; margin: 0 0 20px; border-color: rgba(233, 224, 210, 0.5); }
  .momentos--portada button { width: auto; height: 40px; padding: 0 13px; gap: 7px; display: inline-flex; align-items: center; border-radius: 999px; color: var(--hilo); font: 500 13.5px/1 var(--sans); letter-spacing: 0.03em; }
  .momentos--portada button svg { width: 16px; height: 16px; }
  .momentos--portada button[aria-pressed='true'] { background: var(--hilo); color: var(--marron); }
}

/* Avance de lectura: la costura de la argolla se completa a medida que se baja */
.avance { position: relative; width: 34px; height: 34px; flex: none; display: none; }
@media (min-width: 700px) { .avance { display: block; } }
.avance svg { width: 100%; height: 100%; overflow: visible; }
.avance circle, .avance path { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; }
.avance .avance__base { opacity: 0.2; stroke-dasharray: 2 2.4; }
.avance .avance__aro { stroke-width: 2.2; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--p, 0)); transform: rotate(-90deg); transform-origin: 50% 50%; }
.avance .avance__cruz { opacity: calc(0.25 + var(--p, 0) * 0.75); }

/* Menú del celular: pantalla completa de cuero; los enlaces suben de a uno */
.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(28px + env(safe-area-inset-bottom)); background: var(--marron) var(--grano); color: var(--hilo); clip-path: inset(0 0 100% 0); transition: clip-path 0.8s var(--curva-2), visibility 0s 0.8s; visibility: hidden; overflow-y: auto; }
.menu::after { content: ''; position: absolute; inset: 12px; border: 1.6px dashed rgba(233, 224, 210, 0.3); border-radius: 6px; pointer-events: none; }
.menu.esta-abierto { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 0.8s var(--curva-2); }
.menu ol { list-style: none; }
.menu li { overflow: hidden; border-bottom: 1px solid rgba(233, 224, 210, 0.14); }
.menu li a { display: flex; align-items: baseline; gap: 16px; padding: 12px 0; font: 400 clamp(34px, 9.4vw, 54px)/1.05 var(--display); text-decoration: none; transform: translateY(105%); transition: transform 0.8s var(--curva), color 0.3s; }
.menu li a span { font: 600 12px/1 var(--sans); letter-spacing: 0.14em; color: #d2bfa9; }
.menu li a[aria-current='page'] { color: var(--suela-clara); }
.menu.esta-abierto li a { transform: none; transition-delay: calc(0.2s + var(--i, 0) * 0.05s); }
.menu__pie { position: relative; z-index: 1; display: grid; gap: 14px; margin-top: 32px; opacity: 0; transform: translateY(16px); transition: opacity 0.6s, transform 0.6s var(--curva); }
.menu.esta-abierto .menu__pie { opacity: 1; transform: none; transition-delay: 0.55s; }
.menu__pie p { margin: 0; color: #d2bfa9; font-size: 15px; }
.menu__pie a { color: var(--hilo); }
.menu__pie .boton { justify-self: start; }

/* ---------- Intro (una vez por visita, solo en Inicio) ----------
   El parche de cuero: la costura se cose alrededor, el monograma se estampa y la pantalla se abre en dos hojas
   como la tranquera de la entrada (giran sobre sus postes). */
.intro { position: fixed; inset: 0; z-index: 260; cursor: pointer; perspective: 1600px; }
.intro__hoja { position: absolute; top: 0; bottom: 0; width: 50.2%; background: var(--marron) var(--grano); transition: transform 1.3s var(--curva-2), opacity 1.3s; }
.intro__hoja::before { content: ''; position: absolute; inset: 0; background: var(--tranquera) no-repeat center / 100% 100%; opacity: 0; transition: opacity 0.5s 0.15s; }
.intro__hoja--izq { left: 0; transform-origin: 0 50%; box-shadow: inset -1px 0 0 rgba(233, 224, 210, 0.18); }
.intro__hoja--der { right: 0; transform-origin: 100% 50%; }
.intro__centro { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 24px; padding: 24px; text-align: center; color: var(--hilo); transition: opacity 0.45s, transform 0.8s var(--curva-2); }
.intro__parche { position: relative; width: clamp(150px, 26vw, 230px); }
.intro__parche .emblema { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.45)); }
.intro__parche .emblema__fondo { fill: #6b3410; }
.intro__parche .emblema__costura { stroke-dasharray: 1.4 1.2; stroke-dashoffset: 0; opacity: 1; clip-path: none; animation: cose 1.1s 0.15s var(--curva-2) both; }
@keyframes cose { from { stroke-dasharray: 0 100; } to { stroke-dasharray: 1.4 1.2; } }
.intro__parche .emblema__rebenques, .intro__parche .emblema__letras { opacity: 0; transform: scale(1.18); transform-origin: 60px 60px; animation: estampa 0.55s 0.95s cubic-bezier(0.3, 1.5, 0.5, 1) forwards; }
@keyframes estampa { to { opacity: 1; transform: none; } }
.intro__nombre { margin: 0; font: 400 clamp(30px, 6vw, 54px)/1 var(--display); letter-spacing: 0.14em; text-transform: uppercase; clip-path: inset(0 0 100% 0); animation: destapa 1s 1.15s var(--curva) forwards; }
@keyframes destapa { to { clip-path: inset(0 0 -4% 0); } }
.intro__bajada { margin: -8px 0 0; font: 500 12px/1 var(--sans); letter-spacing: 0.36em; text-transform: uppercase; color: rgba(233, 224, 210, 0.86); opacity: 0; animation: aparece 0.8s 1.4s forwards; }
.intro__saltar { position: absolute; left: 0; right: 0; bottom: calc(24px + env(safe-area-inset-bottom)); margin: 0; text-align: center; font-size: 13px; color: rgba(233, 224, 210, 0.7); opacity: 0; animation: aparece 0.6s 1.6s forwards; }
@keyframes aparece { to { opacity: 1; } }
.intro--sale { pointer-events: none; }
.intro--sale .intro__hoja::before { opacity: 1; }
.intro--sale .intro__hoja--izq { transform: rotateY(96deg); }
.intro--sale .intro__hoja--der { transform: rotateY(-96deg); }
.intro--sale .intro__centro { opacity: 0; transform: scale(0.92); }
.intro--sale .intro__saltar { opacity: 0 !important; animation: none; }

/* ---------- Cursor (escritorio): la argolla, que se agranda sobre lo que se toca ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 400; pointer-events: none; opacity: 0; transition: opacity 0.3s; }
.cursor--activo { opacity: 1; }
.cursor__anillo { position: absolute; left: -18px; top: -18px; width: 36px; height: 36px; border: 1.5px dashed var(--costura); border-radius: 50%; display: grid; place-items: center; transition: width 0.45s var(--curva), height 0.45s var(--curva), left 0.45s var(--curva), top 0.45s var(--curva), background 0.3s, border-color 0.3s; }
.cursor__punto { position: absolute; left: -3px; top: -3px; width: 6px; height: 6px; border-radius: 50%; background: var(--acento); transition: opacity 0.3s; }
.cursor__texto { position: relative; font: 600 11px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--marron); opacity: 0; transition: opacity 0.25s; text-align: center; }
.cursor--oscuro .cursor__anillo { border-color: rgba(233, 224, 210, 0.65); }
.cursor--oscuro .cursor__punto { background: var(--suela-clara); }
.cursor--enlace .cursor__anillo { left: -28px; top: -28px; width: 56px; height: 56px; background: color-mix(in srgb, var(--acento) 14%, transparent); border-style: solid; border-color: var(--acento); }
.cursor--etiqueta .cursor__anillo { left: -48px; top: -48px; width: 96px; height: 96px; background: var(--suela-clara); border-color: var(--suela-clara); border-style: solid; }
.cursor--etiqueta .cursor__texto { opacity: 1; }
.cursor--etiqueta .cursor__punto { opacity: 0; }
html.con-cursor, html.con-cursor a, html.con-cursor button, html.con-cursor label, html.con-cursor [data-cursor], html.con-cursor .pl-amb { cursor: none; }
html.con-cursor input, html.con-cursor textarea, html.con-cursor select { cursor: auto; }

/* ---------- Apariciones ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--curva), transform 1.1s var(--curva); transition-delay: 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.16em; margin-bottom: -0.16em; }
.pal > span { display: inline-block; }
.js [data-lineas] { opacity: 1; transform: none; }
.js [data-lineas] .pal > span { transform: translateY(110%); transition: transform 1.1s var(--curva); transition-delay: calc(var(--i, 0) * 0.035s + var(--d, 0) * 1s); }
.js [data-lineas].visto .pal > span { transform: none; }
.mascara { position: relative; overflow: hidden; background: var(--papel-2); display: block; }
.mascara > img, .mascara > video, .mascara > button > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* La foto se abre como una tranquera: de una rendija en el centro al cuadro entero */
.js .mascara[data-reveal] { opacity: 1; transform: none; background: none; }
.js .mascara[data-reveal] > * { clip-path: inset(0 49.5% 0 49.5%); transition: clip-path 1.3s var(--curva-2); transition-delay: calc(var(--d, 0) * 1s); }
.js .mascara[data-reveal] > img, .js .mascara[data-reveal] > button > img { scale: 1.16; transition: scale 1.8s var(--curva), transform 1.2s var(--curva), clip-path 1.3s var(--curva-2); }
.js .mascara[data-reveal].visto > * { clip-path: inset(0 0 0 0); }
.js .mascara[data-reveal].visto > img, .js .mascara[data-reveal].visto > button > img { scale: 1; }
.paralaje > img, .paralaje > button > img { height: 116% !important; top: -8%; }

/* ---------- Portada (Inicio) ----------
   Una capa por momento del día (foto y, en el celular, video). Se ve la del momento actual.
   Celular: la foto o el video a pantalla completa, con el título encima.
   Compu: el texto a la izquierda sobre el color del momento y la foto cuadrada a la derecha, en un marco de
   cuero cosido. */
.portada { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; color: var(--hilo); background: var(--marron); overflow: hidden; isolation: isolate; }
.portada__capas { position: absolute; inset: 0; z-index: -2; background: var(--marron); }
.capa { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s var(--curva); }
.capa img, .capa video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.capa video { opacity: 0; transition: opacity 1.2s; }
.capa video.corre { opacity: 1; }
html[data-momento='manana'] .capa--manana, html[data-momento='tarde'] .capa--tarde, html[data-momento='noche'] .capa--noche { opacity: 1; }
html:not([data-momento]) .capa--manana { opacity: 1; }
.js .capa img { animation: acerca 2.6s var(--curva) both; }
@keyframes acerca { from { transform: scale(1.1); } to { transform: scale(1); } }
.portada::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(20, 10, 4, 0.55) 0%, rgba(20, 10, 4, 0) 24%, rgba(20, 10, 4, 0.08) 36%, rgba(20, 10, 4, 0.72) 64%, rgba(20, 10, 4, 0.92) 100%); }
.portada__texto { padding: calc(var(--banda) + var(--enc) + 24px) var(--margen) 26px; }
.portada__kicker { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 16px; font: 600 12.5px/1 var(--sans); letter-spacing: 0.26em; text-transform: uppercase; color: rgba(233, 224, 210, 0.92); }
.portada__kicker::before { content: ''; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--argolla) no-repeat center / contain; mask: var(--argolla) no-repeat center / contain; }
.portada__titulo { margin: 0 0 18px; font: 400 clamp(50px, 13.4vw, 140px)/0.92 var(--display); letter-spacing: -0.02em; text-wrap: balance; }
.portada__titulo em { color: var(--acento-2); }
.portada__bajada { margin: 0 0 24px; max-width: 31em; font-size: clamp(17.5px, 1.35vw, 20.5px); line-height: 1.5; color: rgba(233, 224, 210, 0.94); }
.portada .boton--linea { --b-texto: var(--hilo); --b-relleno: var(--hilo); --b-texto-2: var(--marron); }
.portada .boton:not(.boton--linea) { --b-fondo: var(--hilo); --b-texto: var(--marron); --b-borde: var(--hilo); --b-relleno: var(--suela-clara); --b-texto-2: var(--marron); --b-costura: rgba(52, 25, 10, 0.35); }
.portada__datos { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 26px 0 0; padding-top: 18px; border-top: 1.5px dashed rgba(233, 224, 210, 0.32); font: 500 14px/1.3 var(--sans); letter-spacing: 0.02em; color: rgba(233, 224, 210, 0.92); }
.portada__datos li { display: inline-flex; align-items: center; gap: 8px; }
.portada__datos li::before { content: ''; width: 10px; height: 10px; background: var(--acento-2); -webkit-mask: var(--argolla) no-repeat center / contain; mask: var(--argolla) no-repeat center / contain; }
.portada__pausa { position: absolute; right: var(--margen); top: calc(var(--banda) + var(--enc) + 16px); z-index: 2; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(233, 224, 210, 0.55); border-radius: 50%; background: rgba(20, 10, 4, 0.3); color: var(--hilo); cursor: pointer; transition: background 0.3s var(--curva), transform 0.2s; }
.portada__pausa:hover { background: rgba(20, 10, 4, 0.55); }
.portada__pausa:active { transform: scale(0.92); }
.portada__pausa svg { width: 13px; height: 13px; }
.portada__pausa[hidden] { display: none; }
.portada__marco, .portada .portada__sello { display: none; }
@media (min-width: 1000px) {
  .portada { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); align-items: center; background: var(--papel); color: var(--tinta); min-height: max(680px, 100vh); }
  .portada::after { display: none; }
  .portada__capas { position: relative; inset: auto; z-index: 0; grid-column: 2; grid-row: 1; align-self: stretch; margin: calc(var(--banda) + var(--enc) + 20px) var(--margen) 28px 0; border-radius: 6px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(20, 10, 4, 0.55); }
  .portada__capas::after { content: ''; position: absolute; inset: 12px; border: 1.6px dashed rgba(233, 224, 210, 0.6); border-radius: 3px; pointer-events: none; z-index: 2; }
  .capa video { display: none; }
  .portada__texto { grid-column: 1; grid-row: 1; padding: calc(var(--banda) + var(--enc) + 40px) clamp(32px, 4vw, 80px) clamp(40px, 5vw, 72px) var(--margen); max-width: 900px; }
  .portada__kicker { color: var(--tinta-2); }
  .portada__titulo { font-size: clamp(66px, 7.2vw, 150px); color: var(--tinta); }
  .portada__titulo em { color: var(--acento); }
  .portada__bajada { color: var(--tinta-2); }
  .portada .boton:not(.boton--linea) { --b-fondo: var(--marca); --b-texto: var(--hilo); --b-borde: var(--marca); --b-relleno: var(--marron); --b-texto-2: var(--hilo); --b-costura: rgba(233, 224, 210, 0.55); }
  html[data-momento='noche'] .portada .boton:not(.boton--linea) { --b-fondo: #f2c46b; --b-texto: #1a1305; --b-borde: #f2c46b; --b-relleno: #f7d89a; --b-texto-2: #1a1305; --b-costura: rgba(26, 19, 5, 0.4); }
  .portada .boton--linea { --b-texto: var(--tinta); --b-relleno: var(--tinta); --b-texto-2: var(--papel); }
  .portada__datos { color: var(--tinta-2); border-top-color: var(--costura); }
  .portada__datos li::before { background: var(--acento); }
  .portada .portada__sello { display: grid; position: absolute; left: calc(52.6% - 82px); bottom: clamp(48px, 7vw, 96px); z-index: 3; }
  .portada__pausa { display: none; }
}
/* El sello: un parche de cuero repujado con su costura; el texto gira alrededor */
.sello { position: relative; width: 164px; height: 164px; border-radius: 50%; display: grid; place-items: center; text-decoration: none; color: var(--hilo); background: radial-gradient(circle at 35% 30%, #a0663c 0, #7a4420 48%, #4f2611 100%); box-shadow: 0 20px 40px -18px rgba(20, 10, 4, 0.7), inset 0 2px 0 rgba(255, 230, 200, 0.25), inset 0 -3px 6px rgba(0, 0, 0, 0.35); transition: transform 0.8s var(--curva); }
.sello::before { content: ''; position: absolute; inset: 7px; border-radius: 50%; border: 1.5px dashed rgba(233, 224, 210, 0.55); }
.sello:hover { transform: rotate(-8deg) scale(1.05); }
.sello__giro { position: absolute; inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); animation: gira 30s linear infinite; }
.sello__giro text { font: 600 9.6px var(--sans); letter-spacing: 0.24em; fill: var(--hilo); text-transform: uppercase; }
.sello__centro { display: grid; justify-items: center; gap: 2px; text-align: center; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.45), 0 1px 0 rgba(255, 230, 200, 0.18); }
.sello__nota { font: 400 44px/0.9 var(--display); }
.sello__nota small { font-size: 0.42em; }
.sello__fuente { font: 600 9.5px/1.2 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; }
@keyframes gira { to { transform: rotate(360deg); } }

/* ---------- Lo esencial (Inicio) ---------- */
.esencial { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1.5px dashed var(--costura); }
.esencial li { display: grid; grid-template-columns: 1fr; gap: 6px; align-content: start; padding: 20px 14px 20px 0; border-bottom: 1px solid var(--linea); }
.esencial li:nth-child(odd) { border-right: 1px solid var(--linea); }
.esencial li:nth-child(even) { padding-left: 14px; }
.esencial svg { width: 34px; height: 34px; color: var(--acento); margin-bottom: 4px; }
@media (min-width: 1000px) { .esencial li { grid-template-columns: 40px 1fr; gap: 4px 14px; align-items: center; } .esencial svg { grid-row: span 2; margin: 0; } }
.esencial strong { font: 400 clamp(20px, 1.6vw, 25px)/1.1 var(--serif); }
.esencial span { font-size: 14.5px; color: var(--texto-2); line-height: 1.35; }
@media (min-width: 1000px) { .esencial { grid-template-columns: repeat(4, minmax(0, 1fr)); } .esencial li, .esencial li:nth-child(even) { padding: 26px 22px; border-right: 1px solid var(--linea); } .esencial li:nth-child(4n + 1) { padding-left: 0; } .esencial li:nth-child(4n) { border-right: 0; } }

/* ---------- Las mañanas, las tardes, las noches (Inicio) ----------
   Tres paneles con sus textos originales; el del momento actual se agranda. */
.tres-mom { display: grid; gap: 14px; }
/* En el celular: una tira para deslizar, que arranca en el momento actual */
@media (max-width: 999px) {
  .tres-mom { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--margen) * -1); padding-inline: var(--margen); scroll-padding-inline: var(--margen); }
  .tres-mom::-webkit-scrollbar { display: none; }
  .mom { flex: 0 0 min(86%, 420px); scroll-snap-align: start; min-height: 580px; }
}
@media (min-width: 1000px) { .tres-mom { grid-template-columns: var(--c-manana, 1fr) var(--c-tarde, 1fr) var(--c-noche, 1fr); gap: 16px; transition: grid-template-columns 0.9s var(--curva); min-height: 640px; }
  html[data-momento='manana'] .tres-mom { --c-manana: 1.7fr; }
  html[data-momento='tarde'] .tres-mom { --c-tarde: 1.7fr; }
  html[data-momento='noche'] .tres-mom { --c-noche: 1.7fr; } }
.mom { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 520px; padding: clamp(22px, 2.4vw, 36px); border-radius: 6px; overflow: hidden; isolation: isolate; color: var(--hilo); background: var(--marron); text-align: left; }
.mom::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 10, 4, 0.12) 0%, rgba(20, 10, 4, 0.42) 34%, rgba(20, 10, 4, 0.9) 72%); }
.mom::after { content: ''; position: absolute; inset: 10px; border: 1.5px dashed rgba(233, 224, 210, 0.45); border-radius: 3px; pointer-events: none; }
.mom img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--curva); }
.mom:hover img { transform: scale(1.04); }
.mom__titulo { font: 400 clamp(40px, 4vw, 64px)/0.95 var(--display); margin: 0 0 14px; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45); }
.mom__texto { margin: 0; font: italic 400 clamp(17px, 1.3vw, 19.5px)/1.5 var(--serif); color: rgba(233, 224, 210, 0.94); max-width: 30em; }
.mom__dato { display: inline-flex; align-items: center; gap: 8px; margin: 18px 0 0; padding: 8px 12px; border-radius: 3px; background: rgba(20, 10, 4, 0.55); font: 500 13px/1.2 var(--sans); letter-spacing: 0.04em; }
.mom__dato svg { width: 16px; height: 16px; }
.mom__ahora { position: absolute; top: 24px; left: 24px; padding: 7px 12px; border-radius: 3px; background: var(--hilo); color: var(--marron); font: 600 11.5px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; opacity: 0; transform: translateY(-8px); transition: opacity 0.5s, transform 0.6s var(--curva); }
html[data-momento='manana'] .mom--manana .mom__ahora, html[data-momento='tarde'] .mom--tarde .mom__ahora, html[data-momento='noche'] .mom--noche .mom__ahora { opacity: 1; transform: none; }
.mom__elegir { margin-top: 18px; align-self: flex-start; }
.mom__fuente { margin-top: 24px; }

/* ---------- El cielo de hoy (sol y luna sobre Chascomús) ---------- */
.cielo { display: grid; gap: clamp(28px, 4vw, 64px); align-items: center; }
@media (min-width: 900px) { .cielo { grid-template-columns: 1.1fr 0.9fr; } }
.cielo__arco { position: relative; }
.cielo__arco svg { width: 100%; height: auto; overflow: visible; }
.ci-horizonte { stroke: var(--costura); stroke-width: 1.6; stroke-dasharray: 5 4; }
.ci-camino { fill: none; stroke: var(--linea); stroke-width: 2; }
.ci-hecho { fill: none; stroke: var(--acento); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--hecho, 0)); transition: stroke-dashoffset 1.6s var(--curva); }
.ci-sol { fill: var(--acento); }
.ci-sol-halo { fill: var(--acento); opacity: 0.22; }
.ci-txt { font: 600 13px var(--sans); fill: var(--texto-2); letter-spacing: 0.06em; }
.ci-hora { font: 400 30px var(--display); fill: var(--texto); }
.cielo__datos { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1.5px dashed var(--costura); }
.cielo__datos li { padding: 18px 12px 18px 0; border-bottom: 1px solid var(--linea); }
.cielo__datos small { display: block; margin-bottom: 6px; font: 600 11.5px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--texto-2); }
.cielo__datos strong { font: 400 clamp(28px, 2.6vw, 40px)/1 var(--display); font-weight: 400; }
.cielo__luna { display: flex; align-items: center; gap: 18px; margin-top: 22px; }
.cielo__luna svg { width: 64px; height: 64px; flex: none; }
.cielo__luna p { margin: 0; color: var(--texto-2); }
.cielo__luna strong { display: block; color: var(--texto); font: 400 22px/1.2 var(--serif); }
.lu-oscura { fill: color-mix(in srgb, var(--texto) 55%, var(--fondo)); }
.lu-clara { fill: #fff6dc; }
html[data-momento='noche'] .lu-oscura { fill: #2a3354; }
.lu-borde { fill: none; stroke: var(--costura); stroke-width: 1; stroke-dasharray: 2 2; }

/* ---------- Carrusel de momentos ---------- */
.carrusel { position: relative; }
.carrusel__pista { display: flex; gap: clamp(14px, 1.6vw, 26px); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; padding-inline: var(--margen); scroll-padding-inline: var(--margen); list-style: none; }
.carrusel__pista::-webkit-scrollbar { display: none; }
.carrusel__pista.arrastrando { scroll-snap-type: none; }
.carrusel__pista.arrastrando a { pointer-events: none; }
@media (min-width: 1700px) { .carrusel__pista { padding-inline: calc((100vw - var(--ancho)) / 2 + var(--margen)); scroll-padding-inline: calc((100vw - var(--ancho)) / 2 + var(--margen)); } }
.momento { flex: 0 0 clamp(260px, 78vw, 420px); scroll-snap-align: start; }
@media (min-width: 900px) { .momento { flex-basis: clamp(320px, 28vw, 440px); } }
.momento img { -webkit-user-drag: none; user-select: none; }
.momento__foto { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; background: var(--papel-2); }
.momento__foto::after { content: ''; position: absolute; inset: 8px; border: 1.3px dashed rgba(233, 224, 210, 0.5); border-radius: 2px; pointer-events: none; }
.momento__foto img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--curva); }
.momento:hover .momento__foto img { transform: scale(1.05); }
.momento__hora { position: absolute; left: 16px; top: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 3px; background: rgba(246, 239, 228, 0.94); color: var(--marron); font: 600 12px/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; }
.momento__hora svg { width: 14px; height: 14px; }
.momento__titulo { margin: 18px 0 8px; font: 400 clamp(26px, 2.4vw, 34px)/1.05 var(--display); }
.momento__texto { color: var(--texto-2); font-size: 16px; margin: 0; max-width: 30em; }
.momento__texto a { color: var(--texto); font-weight: 600; }
.carrusel__barra { display: flex; align-items: center; gap: 24px; margin-top: 34px; }
.carrusel__progreso { flex: 1; height: 2px; background: var(--linea); position: relative; overflow: hidden; border-radius: 2px; }
.carrusel__progreso i { position: absolute; inset: 0; background: var(--texto); transform-origin: left; transform: scaleX(var(--p, 0.2)); transition: transform 0.25s linear; }
.flechas { display: flex; gap: 10px; }
.flechita { width: 52px; height: 52px; display: grid; place-items: center; border: 1.5px dashed var(--costura); border-radius: 50%; background: none; color: var(--texto); cursor: pointer; transition: background 0.4s var(--curva), color 0.4s, border-color 0.4s, opacity 0.3s, transform 0.2s; }
.flechita svg { width: 18px; height: 18px; }
.flechita:hover:not(:disabled) { background: var(--texto); color: var(--fondo); border-color: var(--texto); border-style: solid; }
.flechita:active:not(:disabled) { transform: scale(0.94); }
.flechita:disabled { opacity: 0.3; cursor: default; }

/* ---------- Editorial (Inicio y Las casas) ---------- */
.editorial { display: grid; gap: clamp(64px, 9vw, 140px); }
.ed { display: grid; gap: 24px; align-items: center; }
.ed__foto { aspect-ratio: 4 / 5; border-radius: 4px; }
.ed__num { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 16px; font: 600 12px/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--texto-2); }
.ed__num b { font: 400 36px/1 var(--display); letter-spacing: 0; color: var(--acento); }
.ed h3 { font: 400 clamp(34px, 3.4vw, 56px)/1 var(--display); margin: 0 0 16px; text-wrap: balance; }
.ed .texto { margin-bottom: 22px; }
.ed__chica { display: none; }
@media (min-width: 900px) {
  .ed { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 48px); }
  .ed__fotos { grid-column: 1 / span 6; position: relative; }
  .ed__foto { aspect-ratio: 1; }
  .ed__texto { grid-column: 8 / span 5; }
  .ed--inv .ed__fotos { grid-column: 7 / span 6; order: 2; }
  .ed--inv .ed__texto { grid-column: 1 / span 5; }
  .ed__chica { display: block; position: absolute; right: -9%; bottom: -10%; width: 38%; aspect-ratio: 3 / 4; outline: 8px solid var(--fondo); border-radius: 4px; }
  .ed--inv .ed__chica { right: auto; left: -9%; }
}
@media (max-width: 899px) { .ed__texto { display: contents; } .ed__texto > .ed__num, .ed__texto > h3 { order: -2; } .ed__fotos { order: -1; } }
.tiene { list-style: none; margin: 4px 0 26px; border-top: 1.5px dashed var(--costura); }
.tiene li { display: flex; gap: 12px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--linea); color: var(--texto-2); font-size: 16px; }
.tiene li::before { content: ''; width: 11px; height: 11px; flex: none; background: var(--marca-color); -webkit-mask: var(--argolla) no-repeat center / contain; mask: var(--argolla) no-repeat center / contain; transform: translateY(1px); }

/* ---------- Néstor y Gabriela: la atención y el desayuno ---------- */
.anfitriones { display: grid; gap: clamp(40px, 6vw, 96px); align-items: start; }
@media (min-width: 1000px) { .anfitriones { grid-template-columns: 0.95fr 1.05fr; } }
/* Celular: el título antes que la foto */
@media (max-width: 999px) {
  .anfitriones { display: flex; flex-direction: column; gap: 0; }
  .anfitriones__texto { display: contents; }
  .anfitriones__texto > .antetitulo { order: 1; align-self: flex-start; }
  .anfitriones__texto > .titulo { order: 2; }
  .anfitriones__texto > .bajada { order: 3; }
  .anfitriones > .canasta { order: 4; margin-top: 34px; }
  .anfitriones__texto > .dichos { order: 5; }
  .anfitriones__texto > .desayuno { order: 6; }
  .anfitriones__texto > .dato { order: 7; }
}
.canasta { position: relative; }
.canasta__foto { aspect-ratio: 4 / 5; border-radius: 6px; }
.canasta__foto::after { content: ''; position: absolute; inset: 12px; border: 1.6px dashed rgba(233, 224, 210, 0.55); border-radius: 3px; pointer-events: none; z-index: 2; clip-path: none !important; }
.canasta__etiqueta { position: absolute; right: -10px; bottom: 28px; z-index: 3; max-width: 260px; padding: 18px 20px 16px; border-radius: 4px; background: var(--hilo); color: var(--marron); box-shadow: 0 20px 40px -18px rgba(20, 10, 4, 0.5); transform: rotate(-2.5deg); }
.canasta__etiqueta::before { content: ''; position: absolute; inset: 6px; border: 1.3px dashed rgba(87, 38, 0, 0.4); border-radius: 2px; }
.canasta__etiqueta strong { display: block; font: 400 24px/1.05 var(--display); margin-bottom: 6px; }
.canasta__etiqueta span { font-size: 14px; color: #5a3f2c; }
@media (max-width: 600px) { .canasta__etiqueta { right: 10px; bottom: 16px; max-width: 220px; } }
.dichos { list-style: none; display: grid; gap: 14px; margin-top: 34px; }
.dicho { position: relative; padding: 20px 22px 18px; border-radius: 4px; background: var(--blanco); box-shadow: inset 0 0 0 1px var(--linea); }
.dicho::before { content: '“'; position: absolute; left: 16px; top: 2px; font: 400 56px/1 var(--display); color: var(--acento); opacity: 0.4; }
.dicho p { position: relative; margin: 0 0 10px; padding-left: 26px; font: italic 400 clamp(18px, 1.5vw, 21px)/1.45 var(--serif); }
.dicho cite { padding-left: 26px; font: 600 11.5px/1.3 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; font-style: normal; color: var(--texto-2); }
.desayuno { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; }
.desayuno li { padding: 8px 12px; border: 1.3px dashed var(--costura); border-radius: 3px; font-size: 14.5px; }
@media (max-width: 600px) { .desayuno { gap: 6px; } .desayuno li { padding: 7px 10px; font-size: 13.5px; } }
.desayuno li.sin-tacc { border-style: solid; border-color: var(--acento); color: var(--acento); font-weight: 600; }

/* ---------- Opiniones: notas y libro de visitas ---------- */
.opiniones { display: grid; gap: 56px; }
@media (min-width: 1100px) { .opiniones { grid-template-columns: 0.72fr 1.28fr; gap: clamp(48px, 5vw, 96px); align-items: center; } }
.notas { display: grid; gap: 10px; margin: 34px 0; }
.nota { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; align-items: center; padding: 16px 20px; border: 1.5px dashed var(--costura); border-radius: 4px; text-decoration: none; transition: border-color 0.4s, background 0.4s; }
a.nota:hover { border-style: solid; border-color: var(--texto-2); background: color-mix(in srgb, var(--blanco) 50%, transparent); }
.nota__num { grid-row: span 2; font: 400 50px/1 var(--display); min-width: 2.2ch; }
.nota__num small { font-size: 0.4em; color: var(--texto-2); }
.nota__arriba { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.nota__arriba svg { width: 18px; height: 18px; flex: none; }
.nota__abajo { font-size: 14px; color: var(--texto-2); }
.estrellas { --n: 5; position: relative; display: inline-block; font-size: 15px; letter-spacing: 2px; line-height: 1; color: rgba(127, 110, 95, 0.3); }
.estrellas::before { content: '★★★★★'; }
.estrellas::after { content: '★★★★★'; position: absolute; left: 0; top: 0; width: calc(var(--n) / 5 * 100%); overflow: hidden; color: #e8a317; white-space: nowrap; }
.premios { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 0; }
.premios li { padding: 6px 9px; border-radius: 3px; background: #003580; color: #fff; font: 600 12px/1 var(--sans); letter-spacing: 0.02em; }
.premios li b { color: #febb02; font-weight: 700; }
.resenar { display: grid; gap: 14px; justify-items: start; padding-top: 28px; border-top: 1.5px dashed var(--costura); }
.resenar p { margin: 0; font: italic 400 22px/1.25 var(--serif); }

.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; }
/* Tapas de cuero cosido, como el parche del logo */
.libro__tapa::before { content: ''; position: absolute; inset: -14px -14px -18px; border-radius: 8px; background: var(--marca) var(--grano); box-shadow: 0 30px 60px -18px rgba(20, 10, 4, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.libro__tapa::after { content: ''; position: absolute; inset: -8px -8px -12px; border: 1.5px dashed rgba(233, 224, 210, 0.5); border-radius: 5px; 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: #fbf6ec; }
.libro__base--izq { box-shadow: inset -22px 0 26px -20px rgba(42, 26, 16, 0.35); }
.libro__base--der { box-shadow: inset 22px 0 26px -20px rgba(42, 26, 16, 0.35); }
.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: #fbf6ec; }
.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(42, 26, 16, 0.16), rgba(42, 26, 16, 0) 8%); }
.hoja__cara--dorso::after { background: linear-gradient(270deg, rgba(42, 26, 16, 0.16), rgba(42, 26, 16, 0) 8%); }
.hoja__cara::before { content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: rgb(42, 26, 16); opacity: calc(var(--sombra, 0) * 0.18); }
.hoja__cara:not(.hoja__cara--dorso) > .pagina::before { content: ''; position: absolute; right: 0; bottom: 0; width: 34px; height: 34px; background: linear-gradient(315deg, var(--marca) 0 50%, rgba(42, 26, 16, 0.18) 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-fija); }
.pagina__num { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; font: 400 14px/1 var(--serif); color: #8a7562; }
.resena { display: flex; flex-direction: column; gap: 12px; height: 100%; color: #202124; font-family: var(--sans); }
.libro__lista .resena { padding: 22px; background: #fbf6ec; border-radius: 6px; }
.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: 500 18px/1 var(--sans); }
.resena__autor { margin: 0; font-weight: 600; 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; align-items: center; gap: 10px; margin: 0; font-size: 13px; color: #5f6368; }
.resena__linea .estrellas { color: #dadce0; font-size: 14px; letter-spacing: 1px; }
.resena__texto { margin: 0; font-size: clamp(15px, 1.2vw, 16.5px); line-height: 1.6; color: #3c4043; overflow: hidden; }
.resena__respuesta { margin: 0; padding: 10px 12px; border-left: 3px solid var(--suela); background: rgba(164, 125, 97, 0.1); font-size: 13.5px; color: #4a3a2e; }
.resena__respuesta b { display: block; font-size: 12px; letter-spacing: 0.04em; color: #6a5444; }
.resena__ver { margin-top: auto; font-size: 12.5px; color: #5f6368; text-decoration: none; transition: color 0.3s var(--curva); }
.resena__ver:hover { text-decoration: underline; color: var(--marca); }
.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-fija); }
.libro__portada p, .libro__fin p { margin: 0; }
.titulo-libro { font: 400 clamp(34px, 3.4vw, 52px)/1 var(--display); }
.libro__portada small, .libro__fin small { font: 600 11.5px/1.4 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: #7a6552; }
.libro__portada .emblema { width: 64px; height: 64px; }
.libro__fin { align-items: flex-start; }
.fin-titulo { font: 400 clamp(28px, 3vw, 40px)/1.08 var(--display); }
.libro__fin .boton { --b-fondo: var(--marca); --b-texto: var(--hilo); --b-borde: var(--marca); --b-relleno: var(--marron); --b-texto-2: var(--hilo); --b-costura: rgba(233, 224, 210, 0.55); }
.libro__controles { display: flex; justify-content: center; align-items: center; gap: 22px; margin-top: 40px; }
.libro__cuenta { font: 400 18px/1 var(--serif); color: var(--texto-2); min-width: 5ch; text-align: center; }
.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; }

/* ---------- Mosaico de fotos (Inicio) ---------- */
.mosaico { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(8px, 1vw, 14px); list-style: none; }
.mosaico li { position: relative; }
.mosaico li:nth-child(1) { grid-column: span 2; }
.foto-boton { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 4px; background: var(--papel-2); cursor: zoom-in; overflow: hidden; }
.foto-boton img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--curva); }
.foto-boton:hover img { transform: scale(1.05); }
.mosaico img { aspect-ratio: 1; }
.mosaico li:nth-child(1) img { aspect-ratio: 16 / 10; }
.mosaico__mas { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 8px; border-radius: 4px; background: rgba(52, 25, 10, 0.62); color: var(--hilo); text-decoration: none; transition: background 0.5s var(--curva); }
.mosaico__mas::after { content: ''; position: absolute; inset: 8px; border: 1.3px dashed rgba(233, 224, 210, 0.5); border-radius: 2px; }
.mosaico__mas strong { font: 400 clamp(38px, 4vw, 66px)/1 var(--display); }
.mosaico__mas span { font: 600 12px/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; }
.mosaico__mas:hover { background: rgba(52, 25, 10, 0.8); }
@media (min-width: 900px) {
  .mosaico { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 15vw, 250px); }
  .mosaico img, .mosaico li:nth-child(1) img { aspect-ratio: auto; }
  .mosaico li:nth-child(1) { grid-column: 1 / span 3; grid-row: span 2; }
  .mosaico li:nth-child(2) { grid-column: 4 / span 2; grid-row: span 2; }
  .mosaico li:nth-child(3), .mosaico li:nth-child(4) { grid-column: 6; }
  .mosaico li:nth-child(5) { grid-column: 1 / span 2; }
  .mosaico li:nth-child(6) { grid-column: 3 / span 2; }
  .mosaico li:nth-child(7) { grid-column: 5 / span 2; }
}

/* ---------- Frase grande ---------- */
.frase { font: 400 clamp(42px, 6.6vw, 116px)/1 var(--display); text-align: center; max-width: 13em; margin: 0 auto; text-wrap: balance; }
.frase__fuente { text-align: center; margin: 24px 0 0; }

/* ---------- Contacto (al final de cada página) ---------- */
.contacto { position: relative; --fondo: var(--marron); --texto: var(--hilo); --texto-2: #d2bfa9; --linea: rgba(233, 224, 210, 0.16); --acento: var(--suela-clara); --marca-color: var(--suela-clara); --costura: rgba(233, 224, 210, 0.42); background: var(--marron) var(--grano); color: var(--texto); padding-block: clamp(80px, 10vw, 150px) clamp(56px, 7vw, 96px); }
html[data-momento='noche'] .contacto { --acento: #f2c46b; --marca-color: #f2c46b; }
.contacto::before { content: ''; position: absolute; left: 0; right: 0; top: 12px; border-top: 1.6px dashed var(--costura); }
.contacto__grilla { display: grid; gap: 40px; }
@media (min-width: 1000px) { .contacto__grilla { grid-template-columns: 0.9fr 1.1fr; gap: clamp(48px, 6vw, 110px); align-items: start; } }
.contacto__lista { list-style: none; border-top: 1.5px dashed var(--costura); }
.contacto__lista li { border-bottom: 1px solid var(--linea); }
.via { position: relative; display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 18px; padding: 22px 6px; text-decoration: none; overflow: hidden; isolation: isolate; transition: color 0.5s var(--curva), padding 0.6s var(--curva); }
.via::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--hilo); transform: scaleY(0); transform-origin: bottom; transition: transform 0.6s var(--curva); }
.via:hover { color: var(--marron); padding-inline: 18px; }
.via:hover::before { transform: none; }
.via:hover .via__valor { color: var(--tinta-fija-2); }
.via__icono { width: 26px; height: 26px; }
.via__nombre { display: block; font: 400 clamp(26px, 2.6vw, 38px)/1.05 var(--display); }
.via__valor { display: block; margin-top: 4px; font-size: 14.5px; color: var(--texto-2); transition: color 0.5s; word-break: break-word; }
.via .flecha { width: 20px; height: 20px; transform: rotate(-45deg); transition: transform 0.6s var(--curva); }
.via:hover .flecha { transform: rotate(0deg); animation: none; }
.contacto__consulta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; color: var(--texto-2); }
.contacto__consulta p { margin: 0; }
.contacto .boton { --b-fondo: var(--hilo); --b-texto: var(--marron); --b-borde: var(--hilo); --b-relleno: var(--suela-clara); --b-texto-2: var(--marron); --b-costura: rgba(52, 25, 10, 0.35); }
html[data-momento='noche'] .contacto .boton { --b-fondo: #f2c46b; --b-texto: #1a1305; --b-borde: #f2c46b; --b-relleno: #f7d89a; }

/* ---------- Pie ---------- */
.pie { background: #24110a; color: var(--hilo); padding: clamp(56px, 7vw, 96px) 0 calc(28px + env(safe-area-inset-bottom)); overflow: hidden; }
.pie__grilla { display: grid; gap: 36px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pie__firma { grid-column: 1 / -1; }
.pie__firma p:first-child { font: italic 400 clamp(24px, 2.4vw, 34px)/1.25 var(--serif); margin: 0 0 8px; max-width: 18em; }
.pie__firma p:last-child { margin: 0; font-size: 13.5px; color: #c4ad96; }
.pie__titulo { margin: 0 0 14px; font: 600 11.5px/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: #c4ad96; }
.pie ul { list-style: none; display: grid; gap: 8px; font-size: 15px; }
.pie ul a { text-decoration: none; }
.pie ul a:hover { text-decoration: underline; }
.pie p { font-size: 15px; }
@media (min-width: 900px) { .pie__grilla { grid-template-columns: 1.4fr repeat(3, minmax(0, 0.7fr)); } .pie__firma { grid-column: auto; } }
.pie__marca { display: flex; flex-direction: column; align-items: center; gap: 18px; margin: clamp(56px, 8vw, 110px) auto 0; text-align: center; color: var(--suela); }
.pie__marca .emblema { width: clamp(90px, 12vw, 150px); height: auto; }
.pie__marca .emblema__fondo { fill: #4a2410; }
.pie__palabra { font: 400 clamp(56px, 13vw, 220px)/0.85 var(--display); letter-spacing: 0.04em; text-transform: uppercase; color: #4a2410; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.6), 0 1px 0 rgba(255, 220, 190, 0.08); white-space: nowrap; }
.pie__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 36px; padding-top: 20px; border-top: 1.5px dashed rgba(233, 224, 210, 0.16); color: #c4ad96; }
.pie__legal p { margin: 0; font-size: 12.5px; }

/* ---------- Botones flotantes: WhatsApp directo y Consultar ---------- */
.flota { position: fixed; right: max(14px, env(safe-area-inset-right)); bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 80; display: flex; gap: 8px; align-items: center; transform: translateY(calc(100% + 30px)); transition: transform 0.6s var(--curva); }
.flota--visible { transform: none; }
.flota a { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; border-radius: 4px; font: 600 13px/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; box-shadow: 0 12px 30px rgba(20, 10, 4, 0.35); transition: background 0.3s, transform 0.2s; }
.flota a::after { content: ''; position: absolute; inset: 4px; border: 1.2px dashed rgba(233, 224, 210, 0.5); border-radius: 2px; pointer-events: none; }
.flota a:active { transform: scale(0.95); }
.flota__wa { width: 50px; background: #1f7a4f; color: #fff; }
.flota__wa:hover { background: #17643f; }
.flota__wa svg { width: 22px; height: 22px; }
.flota__consultar { padding: 0 20px 0 16px; background: var(--marca); color: var(--hilo); }
.flota__consultar:hover { background: var(--marron); }
.flota__consultar svg { width: 18px; height: 18px; transition: transform 0.8s var(--curva); }
.flota__consultar:hover svg { transform: rotate(90deg); }

/* ---------- Cabecera de páginas internas ---------- */
.cabecera { padding: calc(var(--banda) + var(--enc) + clamp(56px, 9vw, 140px)) 0 clamp(56px, 7vw, 110px); background: var(--papel); }
.cabecera .bajada { margin-top: 26px; }
.cabecera--foto { position: relative; min-height: min(90vh, 960px); display: flex; align-items: flex-end; color: var(--hilo); --texto: var(--hilo); --texto-2: rgba(233, 224, 210, 0.92); --linea: rgba(233, 224, 210, 0.25); --acento: var(--acento-2); --marca-color: var(--acento-2); --costura: rgba(233, 224, 210, 0.5); isolation: isolate; overflow: hidden; background: var(--marron); }
.cabecera__medio { position: absolute; inset: 0; z-index: -2; }
.cabecera__medio img { width: 100%; height: 100%; object-fit: cover; }
.cabecera--foto::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(20, 10, 4, 0.62) 0%, rgba(20, 10, 4, 0.3) 48%, rgba(20, 10, 4, 0) 75%), linear-gradient(180deg, rgba(20, 10, 4, 0.55), rgba(20, 10, 4, 0) 30%, rgba(20, 10, 4, 0.2) 52%, rgba(20, 10, 4, 0.86)); }
.cabecera--foto .display { text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35); }
.migas { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; font: 500 13px/1 var(--sans); letter-spacing: 0.04em; color: var(--texto-2); list-style: none; }
.migas li + li::before { content: '·'; margin-right: 8px; opacity: 0.7; }
.migas a { text-decoration: none; }
.migas a:hover { text-decoration: underline; }

/* ---------- Ficha (Las casas) ---------- */
.ficha { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; border-top: 1.5px dashed var(--costura); }
.ficha li { padding: 16px 0; border-bottom: 1px solid var(--linea); }
.ficha__k { display: block; margin-bottom: 8px; font: 600 11.5px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--texto-2); }
.ficha__v { font: 400 clamp(21px, 1.8vw, 27px)/1.15 var(--serif); }
@media (min-width: 900px) { .ficha { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; } }

/* ---------- Plano interactivo (Las casas y La chacra) ----------
   Dibujo visto desde arriba en dos vistas; cada lugar se toca (o se elige en la lista) y al costado aparecen su
   foto real y lo que tiene. */
.plano { display: grid; gap: 28px; }
.plano__vistas { display: flex; flex-wrap: wrap; gap: 8px; }
.plano__caja { display: grid; gap: 24px; align-items: start; }
@media (min-width: 1000px) { .plano__caja { grid-template-columns: 1.25fr 0.75fr; gap: clamp(32px, 4vw, 64px); } }
.plano__hoja { position: relative; padding: clamp(14px, 2vw, 28px); border-radius: 6px; background: #fbf6ec; box-shadow: inset 0 0 0 1px rgba(42, 26, 16, 0.12), 0 30px 60px -40px rgba(20, 10, 4, 0.5); color: var(--tinta-fija); }
.plano__hoja::after { content: ''; position: absolute; inset: 8px; border: 1.3px dashed rgba(87, 38, 0, 0.3); border-radius: 3px; pointer-events: none; }
.plano__hoja svg { width: 100%; height: auto; }
.plano__vista[hidden] { display: none; }
.plano__vista { animation: vista 0.6s var(--curva); }
@keyframes vista { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.plano__nota { margin: 12px 0 0; font-size: 13px; color: var(--texto-2); }
.pl-terreno { fill: #f1e8d6; }
.pl-pasto { fill: #e2dfc0; }
.pl-pasto-2 { fill: #d7d4ae; }
.pl-camino { fill: none; stroke: #d8c6a6; stroke-width: 14; stroke-linecap: round; stroke-linejoin: round; }
.pl-costanera { fill: none; stroke: #c9b89c; stroke-width: 22; }
.pl-laguna { fill: #a9c3cb; }
.pl-alambrado { fill: none; stroke: var(--cuero-osc); stroke-width: 2; stroke-dasharray: 8 5; }
.pl-arbol { fill: #9aa57a; stroke: #7f8a60; stroke-width: 1; }
.pl-muro { fill: none; stroke: var(--tinta-fija); stroke-width: 6; stroke-linejoin: round; }
.pl-muro--fino { stroke-width: 3; }
.pl-puerta { fill: none; stroke: var(--tinta-fija-2); stroke-width: 1.4; stroke-dasharray: 3 3; }
.pl-mueble { fill: none; stroke: rgba(42, 26, 16, 0.45); stroke-width: 1.6; }
.pl-mueble--lleno { fill: rgba(164, 125, 97, 0.25); }
.pl-techo { fill: #b5683e; stroke: #8e4e2b; stroke-width: 1.5; }
.pl-piedra { fill: #c9bba7; stroke: #a3927b; stroke-width: 1.2; }
.pl-agua { fill: #8fc3d0; stroke: #5f97a6; stroke-width: 2; }
.pl-deck { fill: #e9ddca; stroke: rgba(42, 26, 16, 0.3); stroke-width: 1.2; }
.pl-amb { cursor: pointer; outline: none; }
.pl-amb .pl-fondo { fill: rgba(164, 125, 97, 0.08); stroke: none; transition: fill 0.35s var(--curva); }
.pl-amb:hover .pl-fondo, .pl-amb:focus-visible .pl-fondo { fill: rgba(164, 125, 97, 0.3); }
.pl-amb[aria-pressed='true'] .pl-fondo { fill: rgba(164, 125, 97, 0.52); }
.pl-amb:focus-visible .pl-fondo { stroke: var(--marca); stroke-width: 3; }
.pl-nombre { font: 600 15px var(--sans); fill: var(--tinta-fija); letter-spacing: 0.03em; pointer-events: none; }
.pl-nombre--chico { font-size: 12.5px; font-weight: 500; fill: var(--tinta-fija-2); }
.pl-nombre--agua { font: italic 400 22px var(--serif); fill: #3f6670; }
.pl-num { pointer-events: none; }
.pl-num circle { fill: var(--marca); stroke: #fbf6ec; stroke-width: 2; transition: transform 0.4s var(--curva); transform-box: fill-box; transform-origin: center; }
.pl-num text { font: 600 13px var(--sans); fill: #fffaf2; }
.pl-amb:hover .pl-num circle, .pl-amb[aria-pressed='true'] .pl-num circle { transform: scale(1.25); }
.pl-norte text { font: 600 11px var(--sans); fill: var(--tinta-fija-2); letter-spacing: 0.12em; }
.plano__panel { position: relative; display: grid; gap: 16px; }
.plano__foto { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; background: var(--papel-2); }
.plano__foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.4s, transform 1s var(--curva); }
.plano__foto img.sale { opacity: 0; transform: scale(1.04); }
.plano__foto button { position: absolute; right: 12px; bottom: 12px; min-height: 40px; padding: 0 14px; border: 0; border-radius: 3px; background: rgba(246, 239, 228, 0.94); color: var(--marron); font: 600 12.5px/1 var(--sans); letter-spacing: 0.06em; cursor: zoom-in; transition: background 0.3s var(--curva), transform 0.2s; }
.plano__foto button:hover { background: var(--crema); }
.plano__foto button:active { transform: scale(0.95); }
.plano__titulo { font: 400 clamp(30px, 2.6vw, 40px)/1.05 var(--display); margin: 0; }
.plano__texto { margin: 0; color: var(--texto-2); }
.plano__lista { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.plano__lista[hidden] { display: none; }

/* ---------- Tres columnas (Las casas, La chacra) ---------- */
.tres { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; }
@media (min-width: 900px) { .tres { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); } }
.tres__col { scroll-margin-top: calc(var(--enc) + 24px); }
.tres__foto.foto-boton { height: auto; aspect-ratio: 4 / 3; border-radius: 4px; margin-bottom: 22px; }
.tres__col h3 { font: 400 clamp(28px, 2.2vw, 34px)/1.05 var(--display); margin: 0 0 16px; }

/* ---------- ¿Vienen en grupo? (Las casas y Consultar) ---------- */
.grupo { position: relative; display: grid; gap: clamp(28px, 4vw, 64px); align-items: center; padding: clamp(26px, 4vw, 56px); border-radius: 6px; }
@media (min-width: 900px) { .grupo { grid-template-columns: 1fr 1fr; } }
.grupo__casas { display: flex; gap: clamp(10px, 2vw, 22px); justify-content: center; }
.casita { position: relative; width: clamp(80px, 12vw, 140px); text-align: center; }
.casita svg { width: 100%; height: auto; overflow: visible; }
.casita__cuerpo { fill: none; stroke: var(--costura); stroke-width: 2; stroke-dasharray: 5 4; transition: fill 0.5s var(--curva), stroke 0.5s; }
.casita__techo { fill: none; stroke: var(--costura); stroke-width: 2; stroke-dasharray: 5 4; transition: fill 0.5s var(--curva), stroke 0.5s; }
.casita.ocupada .casita__cuerpo { fill: var(--suela-clara); stroke: var(--marca); stroke-dasharray: none; }
.casita.ocupada .casita__techo { fill: #b5683e; stroke: #8e4e2b; stroke-dasharray: none; }
.casita__gente { display: flex; justify-content: center; gap: 3px; margin-top: 10px; min-height: 14px; }
.casita__gente i { width: 10px; height: 14px; border-radius: 5px 5px 2px 2px; background: var(--acento); transform: scale(0); transition: transform 0.4s cubic-bezier(0.3, 1.6, 0.5, 1); transition-delay: calc(var(--k, 0) * 0.04s); }
.casita__gente i.si { transform: none; }
.casita__nombre { display: block; margin-top: 8px; font: 600 12px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--texto-2); }
.grupo__resultado { font: 400 clamp(30px, 3vw, 46px)/1.1 var(--display); margin: 18px 0 8px; }
.grupo__resultado em { font-family: var(--serif); font-style: italic; color: var(--acento); }
.grupo .contador { max-width: 260px; }
.s--cuero .contador { background: rgba(233, 224, 210, 0.08); border: 1.5px dashed var(--costura); }
.s--cuero .contador button:hover:not(:disabled) { background: rgba(233, 224, 210, 0.12); }
.grupo.s--cuero::before, .grupo.s--cuero::after { left: 12px; right: 12px; }

/* ---------- Quién te cruzás en la chacra ---------- */
.fauna { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 20px); }
@media (min-width: 900px) { .fauna { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.bicho { position: relative; display: flex; flex-direction: column; border-radius: 4px; background: var(--blanco); box-shadow: inset 0 0 0 1px var(--linea); overflow: hidden; }
.bicho__foto { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--papel-2); }
.bicho__foto img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--curva); }
.bicho:hover .bicho__foto img { transform: scale(1.05); }
.bicho__cuerpo { padding: 14px 16px 18px; display: grid; gap: 6px; }
.bicho__nombre { font: 400 clamp(21px, 1.7vw, 26px)/1.05 var(--display); margin: 0; }
.bicho__cuerpo p { margin: 0; font-size: 14.5px; color: var(--texto-2); line-height: 1.45; }
.bicho__cuando { font: 600 11px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--acento); }
.bicho__foto--canto { display: grid; place-items: center; background: var(--marron) var(--grano); }
.bicho__foto--canto::after { content: ''; position: absolute; inset: 8px; border: 1.4px dashed rgba(233, 224, 210, 0.42); border-radius: 2px; pointer-events: none; }
.bicho__marca { font: italic 400 clamp(30px, 3vw, 46px)/1 var(--serif); color: var(--suela-clara); text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.5); }
.canto { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px 0 10px; border: 0; border-radius: 3px; background: rgba(246, 239, 228, 0.94); color: var(--marron); font: 600 12px/1 var(--sans); letter-spacing: 0.06em; cursor: pointer; transition: background 0.3s, transform 0.2s; }
.canto:active { transform: scale(0.95); }
.canto svg { width: 16px; height: 16px; }
.canto__ondas { display: inline-flex; gap: 2px; align-items: center; height: 14px; }
.canto__ondas i { width: 2px; height: 30%; border-radius: 1px; background: currentColor; }
.canto[aria-pressed='true'] { background: var(--marca); color: var(--hilo); }
.canto[aria-pressed='true'] .canto__ondas i { animation: onda 0.9s ease-in-out infinite; animation-delay: calc(var(--k) * 0.12s); }
@keyframes onda { 0%, 100% { height: 25%; } 50% { height: 100%; } }
.creditos-cantos { margin-top: 22px; font-size: 12.5px; color: var(--texto-2); }
.creditos-cantos a { color: inherit; }

/* ---------- Qué traer ---------- */
.traer { display: grid; gap: 40px; }
@media (min-width: 900px) { .traer { grid-template-columns: 0.9fr 1.1fr; gap: clamp(48px, 6vw, 110px); align-items: start; } }
.traer__lista { list-style: none; border-top: 1.5px dashed var(--costura); }
.traer__lista li { border-bottom: 1px solid var(--linea); }
.traer__lista label { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: center; padding: 16px 4px; cursor: pointer; }
.traer__lista input { position: absolute; opacity: 0; pointer-events: none; }
.traer__caja { width: 30px; height: 30px; border: 1.5px dashed var(--texto-2); border-radius: 50%; display: grid; place-items: center; transition: background 0.3s, border-color 0.3s, transform 0.4s var(--curva); }
.traer__lista label:hover .traer__caja { border-color: var(--acento); }
.traer__lista label:active .traer__caja { transform: scale(0.9); }
.traer__caja svg { width: 16px; height: 16px; color: var(--hilo); stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 0.4s var(--curva) 0.05s; }
.traer__lista input:checked + .traer__caja { background: var(--marca); border-color: var(--marca); border-style: solid; transform: scale(1.06); }
.traer__lista input:checked + .traer__caja svg { stroke-dashoffset: 0; }
.traer__lista input:focus-visible + .traer__caja { outline: 2px solid var(--acento); outline-offset: 3px; }
.traer__item strong { display: block; font: 400 clamp(20px, 1.8vw, 24px)/1.2 var(--serif); }
.traer__item span { font-size: 14.5px; color: var(--texto-2); }
.traer__lista input:checked ~ .traer__item strong { text-decoration: line-through; text-decoration-color: var(--suela); text-decoration-thickness: 2px; color: var(--texto-2); }
.traer__acciones { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 22px; }
.traer__cuenta { font-size: 14px; color: var(--texto-2); }

/* ---------- Fotos: galería filtrable ---------- */
.filtros { position: sticky; top: calc(var(--banda) + var(--enc) - 1px); z-index: 20; background: var(--fondo); padding-block: 14px; border-bottom: 1px solid var(--linea); transition: top 0.6s var(--curva); }
.enc-oculto .filtros { top: 0; }
.filtros__fila { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.filtros__fila::-webkit-scrollbar { display: none; }
.filtro { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1.4px dashed var(--costura); border-radius: 3px; background: none; cursor: pointer; font: 500 14.5px/1 var(--sans); letter-spacing: 0.02em; white-space: nowrap; transition: background 0.4s var(--curva), color 0.4s, border-color 0.4s, transform 0.2s; }
.filtro small { font-size: 12px; color: var(--texto-2); transition: color 0.4s; }
.filtro:hover { border-color: var(--texto); }
.filtro:active { transform: scale(0.96); }
.filtro[aria-pressed='true'], .filtro[aria-selected='true'] { background: var(--texto); color: var(--fondo); border-color: var(--texto); border-style: solid; }
.filtro[aria-pressed='true'] small, .filtro[aria-selected='true'] small { color: inherit; opacity: 0.75; }
.muro { columns: 2; column-gap: clamp(8px, 1vw, 14px); margin-top: clamp(24px, 3vw, 40px); list-style: none; }
@media (min-width: 760px) { .muro { columns: 3; } }
@media (min-width: 1200px) { .muro { columns: 4; } }
.muro li { break-inside: avoid; margin-bottom: clamp(8px, 1vw, 14px); }
.muro li[hidden] { display: none; }
.muro figure { margin: 0; }
.muro button { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 4px; background: var(--papel-2); cursor: zoom-in; overflow: hidden; }
.muro img { width: 100%; transition: transform 1.2s var(--curva); }
.muro button:hover img { transform: scale(1.04); }
.muro figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 12px 10px; background: linear-gradient(transparent, rgba(20, 10, 4, 0.75)); color: var(--hilo); font-size: 13px; text-align: left; opacity: 0; transform: translateY(8px); transition: opacity 0.4s, transform 0.5s var(--curva); pointer-events: none; }
.muro button:hover figcaption, .muro button:focus-visible figcaption { opacity: 1; transform: none; }
@media (hover: none) { .muro figcaption { display: none; } }
.muro__cuenta { margin: 18px 0 0; }
::view-transition-group(*) { animation-duration: 0.55s; animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1); }

/* ---------- Chascomús y cómo llegar ---------- */
.pasos { list-style: none; counter-reset: paso; }
.pasos li { position: relative; padding: 0 0 32px 70px; counter-increment: paso; }
.pasos li::before { content: counter(paso); position: absolute; left: 0; top: -6px; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--fondo); color: var(--acento); font: 400 22px/1 var(--display); box-shadow: inset 0 0 0 1.5px var(--acento); outline: 1.3px dashed var(--costura); outline-offset: 3px; }
.pasos li::after { content: ''; position: absolute; left: 24px; top: 54px; bottom: 6px; border-left: 1.5px dashed var(--costura); }
.pasos li:last-child::after { display: none; }
.pasos strong { display: block; font: 400 clamp(23px, 2.2vw, 29px)/1.12 var(--display); margin-bottom: 8px; }
.pasos p { margin: 0; color: var(--texto-2); }
.llegada { display: grid; gap: 40px; }
@media (min-width: 900px) { .llegada { grid-template-columns: 0.9fr 1.1fr; gap: clamp(48px, 6vw, 110px); align-items: start; } .llegada__mapa-caja { position: sticky; top: calc(var(--enc) + 32px); } }
.llegada__mapa-caja { margin: 0; }
.llegada__mapa { width: 100%; height: auto; border-radius: 4px; background: #efe5d4; }
.mapa-pie { margin-top: 10px; }
.mapa-pie a { color: inherit; }
.aviso { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; margin-top: 34px; padding: 20px 22px; border-radius: 4px; background: var(--papel-2); border-left: 4px solid var(--acento); }
.aviso svg { width: 34px; height: 34px; color: var(--acento); }
.aviso strong { display: block; font: 400 22px/1.2 var(--display); margin-bottom: 4px; }
.aviso p { margin: 0; color: var(--texto-2); }
.direccion { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 26px 0 0; padding: 18px 0; border-block: 1.5px dashed var(--costura); }
.direccion__texto { font: 400 21px/1.2 var(--serif); }
.direccion__texto small { display: block; margin-top: 4px; font: 500 13.5px/1.3 var(--sans); color: var(--texto-2); }
.copiar { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border: 1.4px dashed var(--costura); border-radius: 3px; background: none; cursor: pointer; font: 600 13px/1 var(--sans); letter-spacing: 0.04em; transition: background 0.3s, color 0.3s, border-color 0.3s; }
.copiar svg { width: 15px; height: 15px; }
.copiar:hover { border-color: var(--texto); }
.copiar.copiado { background: var(--marca); color: var(--hilo); border-color: var(--marca); border-style: solid; }
.llegada__botones { margin-top: 24px; }
/* Mapa del último tramo (OpenStreetMap): colores fijos, es un objeto (no cambia con la noche) */
.ll-campo { fill: #efe5d4; }
.ll-laguna, .ll-agua path { fill: #b3cbd1; stroke: none; }
.ll-calle path { fill: none; stroke: #ddcdb4; stroke-width: 1.6; }
.ll-tierra path { fill: none; stroke: #d3c1a4; stroke-width: 1.6; stroke-dasharray: 4 4; }
.ll-enlace path { fill: none; stroke: #c5ad8c; stroke-width: 3; }
.ll-ruta path { fill: none; stroke: #c4a57f; stroke-width: 4.5; stroke-linecap: round; }
.ll-autovia path { fill: none; stroke: var(--suela); stroke-width: 8; stroke-linecap: round; }
.ll-camino { fill: none; stroke: var(--marca); 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: #fffaf2; stroke: var(--marca); stroke-width: 3; }
.ll-etiqueta { font: 600 13px var(--sans); fill: var(--tinta-fija-2); letter-spacing: 0.14em; paint-order: stroke; stroke: #efe5d4; stroke-width: 5px; }
.ll-etiqueta--chica { font-size: 11.5px; }
.ll-agua-nombre { font: italic 400 24px var(--serif); fill: #4c6e77; }
.ll-flecha text { font: 500 13px var(--sans); fill: var(--tinta-fija-2); }
.ll-destino circle { fill: var(--marca); stroke: #fffaf2; stroke-width: 3; }
.ll-destino .ll-destino__halo { fill: none; stroke: var(--marca); stroke-width: 2; opacity: 0.55; }
.ll-destino text { font: 400 26px var(--display); fill: var(--marron); paint-order: stroke; stroke: #efe5d4; stroke-width: 7px; }
/* ¿Desde dónde venís? */
.origenes { display: grid; gap: 36px; }
.origenes__botones { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.origen { min-height: 44px; padding: 0 16px; border: 1.4px dashed var(--costura); border-radius: 3px; background: none; cursor: pointer; font-weight: 500; font-size: 15px; transition: background 0.4s, color 0.4s, border-color 0.4s, transform 0.2s; }
.origen:hover { border-color: var(--texto); }
.origen:active { transform: scale(0.96); }
.origen[aria-pressed='true'] { background: var(--texto); color: var(--fondo); border-color: var(--texto); border-style: solid; }
.origenes__resultado { margin: 0 0 10px; font: 400 clamp(100px, 16vw, 220px)/0.85 var(--display); font-variant-numeric: lining-nums tabular-nums; }
.origenes__resultado small { font: italic 400 0.26em/1 var(--serif); margin-left: 0.12em; color: var(--acento); }
.origenes__detalle { font-size: 19px; margin: 0 0 8px; }
.origenes__mapa { width: 100%; max-height: 680px; }
.or-tierra { fill: #efe5d4; }
.or-agua { fill: #c3d3d3; }
.or-orilla { fill: none; stroke: #9fb4b4; stroke-width: 1; }
.or-laguna { fill: #b3cbd1; stroke: #9fb4b4; stroke-width: 0.6; }
.or-rio { font: italic 400 16px var(--serif); fill: #5f7a77; letter-spacing: 0.03em; }
.or-ciudad, .or-autovia { font: 600 11px var(--sans); fill: var(--tinta-fija-2); letter-spacing: 0.12em; }
.or-ruta { fill: none; stroke: #d2bc9c; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.3s; }
.or-ruta.activa { stroke: var(--marca); 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: #efe5d4; stroke: var(--tinta-fija); stroke-width: 2; }
.or-punto text { font: 600 15px var(--sans); fill: var(--tinta-fija); paint-order: stroke; stroke: #efe5d4; stroke-width: 4px; }
.or-punto.activo circle { fill: var(--marca); }
.or-destino circle { fill: var(--marca); stroke: var(--tinta-fija); stroke-width: 2.5; }
.or-destino .or-destino__halo { fill: none; stroke: var(--marca); stroke-width: 2; opacity: 0.6; }
.or-destino text { font: 400 22px var(--display); fill: var(--tinta-fija); paint-order: stroke; stroke: #efe5d4; stroke-width: 5px; }
@media (min-width: 900px) { .origenes { grid-template-columns: 1fr 0.8fr; gap: clamp(48px, 6vw, 110px); align-items: center; } }
.laguna { display: grid; gap: clamp(8px, 1vw, 14px); grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; }
.laguna li:first-child { grid-column: span 2; }
.laguna img { aspect-ratio: 4 / 5; }
.laguna li:first-child img { aspect-ratio: 16 / 11; }
@media (min-width: 900px) { .laguna { grid-template-columns: 1.6fr 1fr 1fr; } .laguna li:first-child { grid-column: auto; grid-row: span 2; } .laguna li:first-child img { aspect-ratio: auto; height: 100%; } .laguna img { aspect-ratio: 1; } }
.planes { list-style: none; counter-reset: plan; border-top: 1.5px dashed var(--costura); }
.planes li { display: grid; grid-template-columns: 56px 1fr; gap: 6px 18px; padding: 24px 0; border-bottom: 1px solid var(--linea); counter-increment: plan; }
.planes li::before { content: counter(plan, decimal-leading-zero); grid-row: span 2; font: 400 34px/1 var(--display); color: var(--acento); }
.planes strong { font: 400 clamp(23px, 2.2vw, 31px)/1.1 var(--display); }
.planes p { margin: 0; color: var(--texto-2); }

/* ---------- Preguntas frecuentes ---------- */
.buscador { position: relative; max-width: 760px; margin-top: 36px; }
.buscador input { width: 100%; min-height: 64px; padding: 0 58px 0 54px; border: 1.5px dashed var(--costura); border-radius: 4px; background: var(--blanco); color: var(--tinta); 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-style: solid; border-color: var(--tinta); box-shadow: 0 0 0 4px color-mix(in srgb, var(--acento) 25%, transparent); }
.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: 10px; top: 50%; width: 44px; height: 44px; margin-top: -22px; border: 0; border-radius: 50%; background: none; cursor: pointer; font-size: 20px; color: var(--tinta-2); transition: background 0.3s var(--curva), transform 0.2s; }
.buscador__limpiar:hover { background: var(--papel-2); }
.buscador__limpiar:active { transform: scale(0.9); }
.buscador__limpiar[hidden] { display: none; }
.temas { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.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) + 40px); align-self: start; } }
.faq__grupo[hidden] { display: none; }
.faq__grupo > h2 { font: 400 clamp(32px, 3vw, 46px)/1.05 var(--display); }
.faq__grupo > h2 small { display: block; margin-top: 10px; font: 500 13px/1 var(--sans); color: var(--texto-2); }
.acordeon { border-top: 1.5px dashed var(--costura); }
.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 40px; gap: 18px; align-items: center; width: 100%; padding: 22px 0; border: 0; background: none; cursor: pointer; text-align: left; font: 400 clamp(19px, 1.7vw, 23px)/1.3 var(--serif); transition: padding 0.5s var(--curva); }
.pregunta__boton:hover { padding-left: 8px; }
.pregunta__signo { position: relative; width: 40px; height: 40px; border: 1.4px dashed var(--costura); border-radius: 50%; transition: background 0.4s, border-color 0.4s, color 0.4s, transform 0.6s var(--curva); }
.pregunta__signo::before, .pregunta__signo::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; border-radius: 2px; background: currentColor; transition: transform 0.5s var(--curva); }
.pregunta__signo::after { transform: rotate(90deg); }
.pregunta__boton[aria-expanded='true'] .pregunta__signo { background: var(--texto); color: var(--fondo); border-color: var(--texto); border-style: solid; transform: rotate(180deg); }
.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 56px 26px 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: color-mix(in srgb, var(--acento) 32%, transparent); color: inherit; padding: 0 2px; border-radius: 2px; }
.a-confirmar { display: inline-block; margin-left: 4px; padding: 3px 7px; border: 1.2px dashed var(--acento); border-radius: 3px; color: var(--acento); font: 600 10.5px/1.2 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; vertical-align: 2px; }
.faq__vacio { padding: 20px 0 40px; }
.faq__vacio[hidden] { display: none; }
.faq__vacio p:first-child { font: 400 clamp(26px, 2.6vw, 36px)/1.2 var(--display); margin-bottom: 18px; }
.faq__cuenta { margin: 14px 0 0; min-height: 1.4em; }

/* ---------- Consultar ---------- */
.consulta { display: grid; gap: 56px; }
@media (min-width: 1000px) { .consulta { grid-template-columns: 1fr 0.82fr; gap: clamp(48px, 6vw, 110px); align-items: start; } .consulta__vista { position: sticky; top: calc(var(--enc) + 40px); } }
.form { display: grid; gap: 26px; }
.campo { display: grid; gap: 10px; border: 0; margin: 0; padding: 0; min-width: 0; }
.campo > label, .campo > legend { font: 600 12px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--texto-2); padding: 0; margin-bottom: 0; }
.campo > legend { margin-bottom: 0; padding-bottom: 12px; }
.campo input, .campo select, .campo textarea { width: 100%; min-height: 56px; padding: 14px 16px; background: var(--blanco); border: 1.5px solid var(--linea); border-radius: 4px; color: var(--tinta); font-size: 17px; transition: border-color 0.3s, box-shadow 0.3s; }
.campo textarea { min-height: 110px; resize: vertical; }
.campo input:hover, .campo select:hover, .campo textarea:hover { border-color: var(--tinta-2); }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--tinta); box-shadow: 0 0 0 4px color-mix(in srgb, var(--acento) 25%, transparent); }
.campo__error { color: #b4441b; font-size: 14px; margin: -12px 0 0; }
html[data-momento='noche'] .campo__error { color: #f5a07a; }
.campo__error:empty { display: none; }
.campo--doble { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.campo input[type='date'] { min-width: 0; padding-inline: 12px; font-size: 16px; }
.contador { display: grid; grid-template-columns: 56px 1fr 56px; border: 1.5px solid var(--linea); border-radius: 4px; overflow: hidden; background: var(--blanco); }
.contador button { min-height: 56px; border: 0; background: none; cursor: pointer; font-size: 22px; transition: background 0.3s; }
.contador button:hover:not(:disabled) { background: var(--papel-2); }
.contador button:disabled { opacity: 0.3; cursor: default; }
.contador output { display: grid; place-items: center; font: 400 28px/1 var(--display); font-variant-numeric: tabular-nums; }
.contador output.salta { animation: salta 0.4s var(--curva); }
@keyframes salta { 0% { transform: translateY(-6px); opacity: 0.4; } 100% { transform: none; opacity: 1; } }
.opciones { display: flex; flex-wrap: wrap; gap: 8px; }
.opciones label { position: relative; }
.opciones input { position: absolute; opacity: 0; pointer-events: none; }
.opciones span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 16px; border: 1.4px dashed var(--costura); border-radius: 3px; background: var(--blanco); cursor: pointer; font-weight: 500; transition: border-color 0.3s, background 0.3s, color 0.3s, transform 0.2s; }
.opciones label:hover span { border-color: var(--tinta-2); }
.opciones label:active span { transform: scale(0.96); }
.opciones input:checked + span { background: var(--tinta); color: var(--papel); border-color: var(--tinta); border-style: solid; }
.opciones input:focus-visible + span { outline: 2px solid var(--acento); outline-offset: 2px; }
/* Fines de semana largos: un toque y se cargan las fechas */
.findes { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.findes::-webkit-scrollbar { display: none; }
.finde { flex: none; display: grid; gap: 4px; min-height: 56px; padding: 9px 14px; border: 1.4px dashed var(--costura); border-radius: 3px; background: var(--blanco); text-align: left; cursor: pointer; transition: border-color 0.3s, background 0.3s, color 0.3s, transform 0.2s; }
.finde strong { font: 400 17px/1 var(--serif); }
.finde small { font-size: 12px; color: var(--texto-2); }
.finde:hover { border-color: var(--tinta-2); }
.finde:active { transform: scale(0.96); }
.finde[aria-pressed='true'] { background: var(--tinta); color: var(--papel); border-color: var(--tinta); border-style: solid; }
.finde[aria-pressed='true'] small { color: inherit; opacity: 0.8; }
.campo__nota { margin: 0; font-size: 12.5px; color: var(--texto-2); }
.resumen { margin: 0; padding: 16px 18px; border-radius: 4px; background: var(--papel-2); font: 400 19px/1.35 var(--serif); }
.resumen small { display: block; margin-top: 4px; font: 400 13.5px/1.4 var(--sans); color: var(--texto-2); }
.resumen--aviso { box-shadow: inset 4px 0 0 var(--acento); }
.form__nota { font-size: 14px; color: var(--texto-2); margin: -8px 0 0; }
.chat { background: #efeae2; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px rgba(20, 10, 4, 0.2), 0 0 0 8px var(--marron); }
.chat__cabeza { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #075e54; color: #fff; }
.chat__avatar { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; flex: none; background: #fff; }
.chat__avatar img { width: 100%; height: 100%; object-fit: cover; }
.chat__cabeza strong { display: block; font-size: 16px; font-weight: 600; }
.chat__cabeza span { font-size: 12.5px; opacity: 0.9; }
.chat__cuerpo { padding: 22px 16px 26px; min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; }
.chat__fecha { align-self: center; padding: 5px 10px; border-radius: 8px; background: #fff; color: #54656f; font-size: 12px; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08); }
.burbuja { align-self: flex-end; max-width: 90%; background: #d9fdd3; color: #111b21; padding: 9px 12px 22px; border-radius: 10px 0 10px 10px; position: relative; font-size: 15px; line-height: 1.45; white-space: pre-line; word-break: break-word; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1); }
.burbuja__hora { position: absolute; right: 10px; bottom: 5px; font-size: 11px; color: #4f5d66; display: flex; gap: 4px; align-items: center; }
.burbuja__tildes { color: #8696a0; transition: color 0.4s; }
.burbuja--enviada .burbuja__tildes { color: #53bdeb; }
.burbuja--enviada { animation: sale 0.6s var(--curva); }
@keyframes sale { 0% { transform: translateY(16px) scale(0.98); opacity: 0.4; } 100% { transform: none; opacity: 1; } }
.enviado { background: var(--marron); color: var(--hilo); padding: 16px 18px; font-size: 15px; margin-top: 22px; border-radius: 4px; border-left: 4px solid var(--suela-clara); }
.enviado[hidden] { display: none; }
.enviado a { color: var(--suela-clara); font-weight: 600; }
.postal { margin-top: 26px; }
.postal[hidden] { display: none; }
.postal canvas { width: 100%; max-width: 420px; height: auto; display: block; border-radius: 4px; box-shadow: 0 24px 50px rgba(20, 10, 4, 0.3); animation: postal 0.9s var(--curva); }
@keyframes postal { from { transform: translateY(24px) rotate(-2deg); opacity: 0; } to { transform: none; opacity: 1; } }
.postal__botones { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.directo { margin-top: 40px; padding-top: 28px; border-top: 1.5px dashed var(--costura); }
.directo .via::before { background: var(--marron); }
.directo .via:hover { color: var(--hilo); }
.directo .via:hover .via__valor { color: #d2bfa9; }
.directo h2 { font: 400 28px/1.1 var(--display); margin-bottom: 14px; }

/* ---------- 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(24, 11, 4, 0.97); color: var(--hilo); --texto: var(--hilo); --fondo: var(--marron); --linea: rgba(233, 224, 210, 0.3); --costura: rgba(233, 224, 210, 0.45); }
.visor::backdrop { background: rgba(24, 11, 4, 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: #d2bfa9; }
.visor__cerrar { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border: 1.4px dashed rgba(233, 224, 210, 0.4); border-radius: 3px; background: none; cursor: pointer; font-size: 14px; font-weight: 500; transition: background 0.3s, color 0.3s; }
.visor__cerrar:hover { background: var(--hilo); color: var(--marron); }
.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: 34px; height: 34px; margin: -17px 0 0 -17px; color: var(--suela-clara); opacity: 0; transition: opacity 0.2s; pointer-events: none; }
.visor__carga.si { opacity: 1; animation: gira 1.4s linear infinite; }
.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 reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::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 .mascara[data-reveal], .js .mascara[data-reveal] > *, .js .mascara[data-reveal] > img, .js .mascara[data-reveal] > button > img { opacity: 1; transform: none; clip-path: none; scale: 1; }
  .intro, .cursor { display: none !important; }
  .sello__giro { animation: none; }
}

/* ---------- Ajustes de página ---------- */
.con-intro .capa img { animation-play-state: paused; }
body[data-pag='propuesta'] .contacto, body[data-pag='propuesta'] .flota { display: none; }
@keyframes palabra { from { transform: translateY(110%); } to { transform: none; } }
.js h1[data-lineas]:not(.portada__titulo) .pal > span { transform: none; animation: palabra 1.1s calc(0.12s + var(--i, 0) * 0.04s) var(--curva) both; }
@keyframes entra { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.js .cabecera [data-reveal] { opacity: 1; transform: none; animation: entra 1s calc(0.35s + var(--d, 0) * 1s) var(--curva) both; }
/* Lo que está fuera de pantalla no se calcula hasta que hace falta (alivia la primera carga en celulares) */
main > section:nth-child(n + 4), .contacto, .pie { content-visibility: auto; contain-intrinsic-size: auto 900px; }
