/* =========================================================
   Olas del Mar · Santa Marta (en el Edificio Nautilus)
   Sistema: design-system/suite-nautilus/MASTER.md (estilo playero desde el 9 de octubre:
   arena, espuma, turquesa, coral y sol; Fraunces + Kaushan Script + Outfit)
   ========================================================= */

:root {
  /* Caribe: tinta de mar profundo, espuma, arena, turquesa, coral y sol.
     Los nombres viejos (marfil, oro, oceano) se conservan para no tocar cada regla. */
  --tinta: #0E3238;
  --tinta-suave: #4F686C;
  --oceano: #00646D;
  --oceano-profundo: #004A51;
  --marfil: #FFF6E6;
  --marfil-2: #F7DDAE;
  --oro: #FFCC5C;
  --oro-texto: #B8431C;
  --atardecer: #FF6B45;
  --turquesa: #007C85;
  --turquesa-clara: #4FE0D6;
  --coral: #FF6B45;
  --linea: rgba(18, 52, 59, .14);
  --linea-clara: rgba(255, 248, 236, .2);
  --sobre-oscuro: #F3EBDD;
  --sobre-oscuro-suave: #D3E7E5;

  /* Fraunces con "SOFT" al máximo: la alternativa libre más cercana a PP Pangaia, la letra
     de eaglesnest.sergesyutkin.com que pidió el cliente (PP Pangaia es de pago). */
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --guion: 'Kaushan Script', 'Brush Script MT', cursive;
  --versalitas: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --sans: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --ancho: 1240px;
  --margen: clamp(20px, 5vw, 56px);
  --bloque: clamp(88px, 12vw, 168px);
  --suave: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--marfil);
  color: var(--tinta);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-variation-settings: "SOFT" 100;
}

/* Grano de papel muy sutil: le da el tacto de carta impresa */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 100;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Sin esto, cualquier display del autor (grid en los paneles, inline-flex en los botones)
   le gana al display:none que el navegador da a [hidden] y lo "oculto" se ve igual. */
[hidden] { display: none !important; }

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; text-wrap: balance; }
p { margin: 0; }
ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; }

.icono { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }

:focus-visible { outline: 2px solid var(--oro-texto); outline-offset: 3px; }
.oscuro :focus-visible, .hero :focus-visible, .visor :focus-visible, .reproductor :focus-visible { outline-color: var(--oro); }

.sr, .visualmente-oculto {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.saltar {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--oceano); color: var(--marfil); padding: 10px 18px; text-decoration: none;
}
.saltar:focus { top: 16px; }

.contenedor { width: 100%; max-width: var(--ancho); margin-inline: auto; padding-inline: var(--margen); }

/* ---------- Tipografía editorial ---------- */
.num {
  font-family: var(--serif); font-size: 15px; letter-spacing: .12em;
  font-variant-numeric: lining-nums; /* en cursiva, el 0 de Playfair se leía como una "o" */
  color: var(--oro-texto); margin-bottom: 14px;
}
.num--claro { color: var(--oro); }

.ceja {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--versalitas); font-size: 14px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--oro-texto);
}
.ceja::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .7; }
.ceja--clara { color: var(--oro); }

.titulo {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(34px, 5.2vw, 64px); line-height: 1.08; letter-spacing: -.01em;
  margin-top: 18px; max-width: 16ch;
}
.titulo em, .hero__titulo em { font-style: italic; color: var(--oro-texto); }
.titulo--claro { color: var(--marfil); }
.titulo--claro em { color: var(--oro); }

.parrafo { margin-top: 24px; max-width: 54ch; color: var(--tinta-suave); font-size: 18px; }
.parrafo--claro { color: var(--sobre-oscuro-suave); }

.encabezado { margin-bottom: clamp(48px, 7vw, 80px); }
.encabezado--fila { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; }

/* ---------- Botones ---------- */
.boton {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 14px 28px;
  font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; border: 1px solid transparent; border-radius: 0; cursor: pointer;
  transition: color .35s var(--suave), border-color .35s var(--suave);
}
/* Relleno que entra de abajo hacia arriba al pasar el cursor */
.boton::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .45s var(--suave);
}
.boton:hover::before { transform: scaleY(1); }
.boton .icono { width: 18px; height: 18px; }

.boton--oro { background: var(--oro); color: var(--oceano-profundo); }
.boton--oro::before { background: var(--marfil); }

.boton--linea { border-color: var(--tinta); color: var(--tinta); }
.boton--linea::before { background: var(--tinta); }
.boton--linea:hover { color: var(--marfil); }

.boton--linea-clara { border-color: rgba(255, 248, 236, .55); color: var(--marfil); background: rgba(7, 55, 61, .12); }
.boton--linea-clara::before { background: var(--marfil); }
.boton--linea-clara:hover { color: var(--oceano); border-color: var(--marfil); }

.boton--ancho { width: 100%; }

.enlace {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 28px;
  font-weight: 600; font-size: 15px; color: var(--oro-texto); text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 3px;
}
.enlace .icono { width: 16px; height: 16px; }

/* ---------- Navegación ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  color: var(--marfil);
  transition: background-color .4s var(--suave), color .4s var(--suave), box-shadow .4s var(--suave);
}
.nav__fila { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.nav--solida {
  background: rgba(255, 248, 236, .92);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  color: var(--tinta);
  box-shadow: 0 1px 0 var(--linea);
}

/* Logo + nombre. Sobre la foto todo va en blanco; con el menú sólido, el sol y las olas a color. */
.marca { display: flex; align-items: center; gap: 12px; text-decoration: none; line-height: 1.1; --logo-sol: #fff; --logo-ola: #fff; }
.marca__textos { display: flex; flex-direction: column; }
.marca__logo { width: 52px; height: 39px; flex: none; }
.nav--solida .marca { --logo-sol: #FFC83D; --logo-ola: #1272B8; }
.marca--pie { --logo-sol: #FFC83D; --logo-ola: #6FD3E0; }
.marca--pie .marca__logo { width: 64px; height: 48px; }
.marca__nombre { font-family: var(--serif); font-style: italic; font-size: 28px; letter-spacing: .01em; }
.marca__sub { font-family: var(--versalitas); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; opacity: .8; margin-top: 4px; }

.nav__enlaces { display: none; }
.nav__enlaces a:not(.boton) {
  position: relative; text-decoration: none; font-size: 15px; font-weight: 500; letter-spacing: .02em;
  padding-block: 6px;
}
.nav__enlaces a:not(.boton)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--suave);
}
.nav__enlaces a:not(.boton):hover::after { transform: scaleX(1); transform-origin: left; }

.nav__acciones { display: flex; align-items: center; gap: 12px; }
.nav__reservar { display: none; }
.nav--solida .nav__reservar { border-color: var(--tinta); color: var(--tinta); background: transparent; }
.nav--solida .nav__reservar::before { background: var(--tinta); }
.nav--solida .nav__reservar:hover { color: var(--marfil); }

.nav__menu {
  display: grid; place-items: center; width: 48px; height: 48px;
  background: transparent; border: 1px solid currentColor; border-radius: 50%; cursor: pointer; opacity: .9;
}

/* Menú de celular: pantalla completa */
@media (max-width: 959.98px) {
  .nav__enlaces {
    position: fixed; inset: 0; z-index: -1;
    display: flex; flex-direction: column; justify-content: center; gap: 22px;
    padding: 120px var(--margen) 48px;
    background: var(--oceano-profundo); color: var(--marfil);
    opacity: 0; visibility: hidden;
    transition: opacity .45s var(--suave), visibility 0s linear .45s;
  }
  .nav__enlaces a:not(.boton) { font-family: var(--serif); font-size: clamp(32px, 9vw, 44px); font-weight: 400; }
  .nav__reservar-movil { margin-top: 18px; align-self: flex-start; }
  .nav--abierta .nav__enlaces { opacity: 1; visibility: visible; transition: opacity .45s var(--suave); }
  .nav--abierta { color: var(--marfil); background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (min-width: 960px) {
  .nav__enlaces { display: flex; align-items: center; gap: 34px; }
  .nav__reservar-movil { display: none; }
  .nav__reservar { display: inline-flex; min-height: 44px; padding: 11px 22px; }
  .nav__menu { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  color: var(--marfil); overflow: hidden; background: var(--oceano-profundo);
}
.hero__media { position: absolute; inset: 0; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; transform-origin: 50% 55%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  /* Tres velos: arriba para el menú, abajo para el texto y a la izquierda, donde va el título,
     para que el dorado no se pierda cuando el sol queda detrás */
  background:
    linear-gradient(180deg, rgba(7, 55, 61, .55) 0%, rgba(7, 55, 61, 0) 22%),
    linear-gradient(90deg, rgba(7, 55, 61, .62) 0%, rgba(7, 55, 61, .28) 50%, rgba(7, 55, 61, 0) 78%),
    linear-gradient(0deg, rgba(7, 55, 61, .88) 0%, rgba(7, 55, 61, .45) 38%, rgba(7, 55, 61, 0) 70%);
}
.hero__contenido { position: relative; padding-top: 140px; padding-bottom: clamp(72px, 11vh, 128px); }
.hero__titulo {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(46px, 8.4vw, 118px); line-height: .98; letter-spacing: -.02em;
  margin-top: 22px;
  text-shadow: 0 2px 28px rgba(7, 55, 61, .45);
}
.hero__titulo em { color: #FFD27A; }
.hero .ceja--clara { color: #FFE3A8; text-shadow: 0 1px 12px rgba(7, 55, 61, .6); }
.linea { display: block; overflow: hidden; padding-bottom: .06em; }
.linea > span { display: inline-block; }
.hero__lede { margin-top: 28px; max-width: 46ch; font-size: clamp(17px, 1.5vw, 19px); color: var(--sobre-oscuro); }
.hero__acciones { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero__bajar {
  position: absolute; right: var(--margen); bottom: 120px;
  width: 44px; height: 88px; display: none; justify-content: center;
}
.hero__bajar span { width: 1px; height: 100%; background: rgba(255, 248, 236, .3); position: relative; overflow: hidden; }
.hero__bajar span::after {
  content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--marfil);
}
@media (prefers-reduced-motion: no-preference) {
  .hero__bajar span::after { animation: gota 2.4s var(--suave) infinite; }
}
@keyframes gota { to { top: 100%; } }
@media (min-width: 760px) { .hero__bajar { display: flex; } }

/* Entrada del hero: solo se oculta si hay JS y movimiento permitido; GSAP la revela */
@media (prefers-reduced-motion: no-preference) {
  .js:not(.listo) .hero-anim { opacity: 0; }
  .js:not(.listo) .linea > span { transform: translateY(105%); }
}

/* ---------- Bloques ---------- */
.bloque { position: relative; padding-block: var(--bloque); overflow-x: clip; }
.bloque--alterno { background: var(--marfil-2); }
.oscuro { background: var(--oceano); color: var(--sobre-oscuro); }

/* ---------- 01 · Intro ---------- */
.intro__rejilla { display: grid; gap: 64px; align-items: center; }
/* Sello del premio: el dato que más distingue al edificio, a la vista antes del párrafo */
.premio {
  display: flex; align-items: center; gap: 18px; width: fit-content; max-width: 100%;
  margin-top: 30px; padding: 14px 26px 14px 14px;
  border: 1px solid var(--oro);
  background: linear-gradient(90deg, rgba(244, 178, 62, .14), rgba(244, 178, 62, 0) 85%);
}
.premio__sello {
  position: relative; flex: none; width: 60px; height: 60px; border-radius: 50%;
  border: 1px solid var(--oro); background: var(--marfil); color: var(--oro-texto);
  box-shadow: 0 0 0 5px rgba(244, 178, 62, .12);
}
/* Centrado con position y no con grid: en el iPhone el ícono quedaba arriba a la izquierda,
   por fuera del círculo. */
.premio__sello .icono { position: absolute; inset: 0; margin: auto; width: 28px; height: 28px; }
.premio strong { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(19px, 2vw, 24px); line-height: 1.2; }
.premio span { display: block; margin-top: 4px; font-family: var(--versalitas); font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--oro-texto); }
.parrafo strong { font-weight: 600; color: var(--tinta); }
.cita {
  margin-top: 40px; padding-left: 26px; border-left: 1px solid var(--oro);
  font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.35; color: var(--tinta);
  max-width: 24ch;
}
.intro__imagenes { position: relative; padding-bottom: 12%; }
.arco {
  position: relative; width: 78%; aspect-ratio: 4 / 5; overflow: hidden; margin-left: auto; background: var(--marfil-2);
  border: 10px solid #fff; border-radius: 22px; box-shadow: 0 30px 60px -28px rgba(10, 71, 78, .55); rotate: 2deg;
}
.parallax { position: absolute; inset: -8% 0; }
.parallax img, .parallax video, .arco img { width: 100%; height: 100%; object-fit: cover; display: block; }
.arco__pausa {
  position: absolute; z-index: 2; right: 14px; bottom: 14px;
  display: grid; place-items: center; width: 44px; height: 44px; cursor: pointer;
  border-radius: 50%; border: 1px solid rgba(255, 248, 236, .7); color: var(--marfil);
  background: rgba(7, 55, 61, .4); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background-color .3s var(--suave);
}
.arco__pausa:hover { background: rgba(7, 55, 61, .7); }
.arco__pausa .icono { width: 18px; height: 18px; }
.intro__secundaria { position: absolute; left: 0; bottom: 0; width: 44%; aspect-ratio: 1; rotate: -4deg; }
.intro__secundaria img {
  width: 100%; height: 100%; object-fit: cover; background: var(--marfil-2);
  border: 8px solid #fff; border-radius: 16px; box-shadow: 0 24px 48px -22px rgba(10, 71, 78, .5);
}

.cifras {
  display: grid; grid-template-columns: repeat(2, 1fr);
  margin-top: clamp(64px, 9vw, 112px); border-top: 1px solid var(--linea);
}
.cifras li { padding: 28px 8px 0; display: flex; flex-direction: column; gap: 4px; }
.cifras__icono { width: 28px; height: 28px; margin-bottom: 14px; color: var(--oro-texto); }
.cifras strong { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 5vw, 64px); line-height: 1; }
.cifras span:not([data-contar]) { font-family: var(--versalitas); font-size: 14px; letter-spacing: .18em; text-transform: uppercase; color: var(--tinta-suave); }
.cifras strong small { margin-left: .2em; font-size: .4em; font-style: italic; letter-spacing: .01em; }
/* Una palabra en lugar de un número: más chica y con el alto de línea ajustado para que su
   etiqueta quede a la misma altura que las demás. */
.cifras .cifras__palabra { font-style: italic; font-size: clamp(31px, 3.5vw, 45px); line-height: 1.42; }
.cifras li:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (min-width: 760px) {
  .cifras { grid-template-columns: repeat(5, 1fr); }
  .cifras li:last-child:nth-child(odd) { grid-column: auto; }
  .cifras li + li { border-left: 1px solid var(--linea); padding-left: 32px; }
}
@media (min-width: 960px) {
  .intro__rejilla { grid-template-columns: 1.05fr .95fr; gap: 96px; }
}

/* ---------- 02 · Suite ---------- */
/* Los dos niveles como dos experiencias: foto en arco y texto, alternando lados, unidos por
   la escalera. El arco del nivel de arriba mira hacia arriba; el de abajo, hacia abajo. */
.niveles { display: grid; }
.nivel { display: grid; gap: clamp(32px, 5vw, 80px); align-items: center; }
.nivel__foto {
  position: relative; width: min(100%, 460px); aspect-ratio: 1; margin: 0; justify-self: center; rotate: -2deg;
}
.nivel--abajo .nivel__foto { rotate: 2deg; }
.nivel__foto img {
  width: 100%; height: 100%; object-fit: cover; background: var(--marfil);
  border: 10px solid #fff; border-radius: 22px; box-shadow: 0 30px 60px -28px rgba(10, 71, 78, .5);
}
.nivel__num {
  display: flex; align-items: baseline; gap: 18px;
  font-family: var(--versalitas); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--oro-texto);
}
.nivel__num span {
  font-family: var(--serif); font-style: italic; font-size: clamp(60px, 7vw, 92px); line-height: .8;
  letter-spacing: 0; text-transform: none; color: var(--oro);
}
.nivel h3 { margin-top: 20px; font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 3.8vw, 48px); line-height: 1.1; }
.nivel__lista { margin-top: clamp(28px, 3vw, 40px); border-top: 1px solid var(--linea); }
.nivel__lista li { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--linea); color: var(--tinta-suave); }
.nivel__lista .icono { width: 22px; height: 22px; color: var(--oro-texto); }
.niveles__escalera {
  position: relative; justify-self: center; display: grid; place-items: center;
  width: 58px; height: 58px; margin-block: clamp(56px, 8vw, 96px);
  border: 1px solid var(--oro); border-radius: 50%; color: var(--oro-texto); background: var(--marfil-2);
}
.niveles__escalera .icono { width: 26px; height: 26px; }
.niveles__escalera::before, .niveles__escalera::after {
  content: ""; position: absolute; left: 50%; width: 1px; height: clamp(36px, 6vw, 72px); background: var(--oro); opacity: .6;
}
.niveles__escalera::before { bottom: 100%; }
.niveles__escalera::after { top: 100%; }
@media (min-width: 900px) {
  .nivel { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .nivel__foto { aspect-ratio: 4 / 5; }
  .nivel--abajo { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
  .nivel--abajo .nivel__foto { order: 2; }
}

.comodidades {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0;
  margin-top: clamp(56px, 7vw, 88px); border-top: 1px solid var(--linea);
}
.comodidades li {
  display: flex; align-items: center; gap: 14px; padding: 20px 8px 20px 0;
  border-bottom: 1px solid var(--linea); font-size: 16px;
}
.comodidades .icono { width: 22px; height: 22px; color: var(--oro-texto); }
@media (min-width: 760px) { .comodidades { grid-template-columns: repeat(3, 1fr); column-gap: 32px; } }
@media (min-width: 1100px) { .comodidades { grid-template-columns: repeat(4, 1fr); } }

/* ---------- 03 · Galería ---------- */
.filtros { display: flex; flex-wrap: wrap; gap: 8px; }
.filtro {
  min-height: 44px; padding: 10px 18px; cursor: pointer;
  background: transparent; border: 1px solid var(--linea); border-radius: 999px;
  font-size: 14px; font-weight: 500; color: var(--tinta-suave);
  transition: background-color .3s var(--suave), color .3s var(--suave), border-color .3s var(--suave);
}
.filtro:hover { border-color: var(--tinta); color: var(--tinta); }
.filtro[aria-pressed="true"] { background: var(--oceano); border-color: var(--oceano); color: var(--marfil); }

.mosaico {
  display: grid; gap: 10px;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 42vw; grid-auto-flow: dense;
}
.mosaico__item {
  position: relative; overflow: hidden; padding: 0; border: 0; cursor: zoom-in;
  background: var(--marfil-2);
}
.mosaico__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--suave), filter .6s var(--suave); }
.mosaico__item:hover img { transform: scale(1.06); }
.mosaico__item::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(7, 55, 61, .45), transparent 45%);
  opacity: 0; transition: opacity .5s var(--suave);
}
.mosaico__item:hover::after, .mosaico__item:focus-visible::after { opacity: 1; }

@media (min-width: 760px) {
  .mosaico { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 18vw; gap: 14px; }
}
@media (min-width: 1240px) { .mosaico { grid-auto-rows: 228px; } }
.galeria__pie { display: flex; justify-content: center; margin-top: 48px; }

/* ---------- 04 · Video ---------- */
.video__rejilla { display: grid; gap: 48px; align-items: center; }
/* El video corre en bucle y sin sonido; toda la tarjeta abre el reproductor con sonido. */
.video__tarjeta { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: var(--oceano); }
.video__bucle { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--suave); }
.video__tarjeta:hover .video__bucle { transform: scale(1.04); }
.video__abrir {
  position: absolute; inset: 0; z-index: 1; cursor: pointer; border: 0; padding: 20px 24px;
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 20px;
  background: linear-gradient(0deg, rgba(7, 55, 61, .72), rgba(7, 55, 61, 0) 50%);
  color: var(--marfil); text-align: left;
}
.video__abrir:focus-visible { outline-offset: -6px; }
.video__leyenda { font-size: 14px; letter-spacing: .02em; max-width: 36ch; }
.video__sonido {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  min-height: 44px; padding: 10px 18px; border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  background: rgba(255, 248, 236, .16); border: 1px solid rgba(255, 248, 236, .6);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background-color .4s var(--suave), color .4s var(--suave);
}
.video__sonido .icono { width: 18px; height: 18px; }
.video__abrir:hover .video__sonido { background: var(--oro); border-color: var(--oro); color: var(--oceano-profundo); }
.video__pausa {
  position: absolute; z-index: 2; top: 16px; right: 16px;
  display: grid; place-items: center; width: 44px; height: 44px; cursor: pointer;
  border-radius: 50%; border: 1px solid rgba(255, 248, 236, .6); color: var(--marfil);
  background: rgba(7, 55, 61, .35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background-color .3s var(--suave);
}
.video__pausa:hover { background: rgba(7, 55, 61, .6); }
.video__pausa .icono { width: 18px; height: 18px; }
@media (min-width: 960px) { .video__rejilla { grid-template-columns: .8fr 1.2fr; gap: 80px; } }

/* ---------- 05 · Experiencias ---------- */
.experiencias { overflow: hidden; }
.pestanas__lista {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  border-bottom: 1px solid var(--linea-clara); margin-bottom: 48px;
}
.pestanas__lista::-webkit-scrollbar { display: none; }
.pestanas__lista [role="tab"] {
  flex: none; display: inline-flex; align-items: baseline; gap: 10px;
  min-height: 52px; padding: 12px 18px 16px; cursor: pointer;
  background: transparent; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px;
  font-size: 16px; font-weight: 500; color: var(--sobre-oscuro-suave);
  transition: color .3s var(--suave), border-color .3s var(--suave);
}
.pestanas__lista [role="tab"]:hover { color: var(--marfil); }
.pestanas__lista [aria-selected="true"] { color: var(--marfil); border-bottom-color: var(--oro); }
.romano { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--oro); }

.panel { display: grid; gap: 48px; }
.panel:focus-visible { outline-offset: 12px; }
.agenda { display: grid; }
.agenda li { display: grid; grid-template-columns: 44px 1fr; gap: 18px; align-items: start; padding-block: 26px; border-top: 1px solid var(--linea-clara); }
.agenda li:last-child { border-bottom: 1px solid var(--linea-clara); }
.agenda__hora {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--versalitas); font-size: 14px; letter-spacing: .18em; text-transform: uppercase; color: var(--oro);
}
.agenda__hora .icono { width: 18px; height: 18px; }
.agenda h3 { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 28px); color: var(--marfil); }
.agenda p { margin-top: 6px; color: var(--sobre-oscuro-suave); max-width: 52ch; }
.panel__foto { overflow: hidden; aspect-ratio: 4 / 5; background: var(--oceano-profundo); }
.panel__foto img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 760px) {
  .agenda li { gap: 24px; }
}
@media (min-width: 960px) {
  .panel { grid-template-columns: 1.4fr .9fr; gap: 72px; align-items: start; }
  .panel__foto { position: sticky; top: 120px; }
}

.panel--escapadas { display: block; }
.escapadas { display: grid; gap: 1px; background: var(--linea-clara); border: 1px solid var(--linea-clara); }
.escapadas li { background: var(--oceano); padding: 30px 28px; display: flex; flex-direction: column; gap: 10px; transition: background-color .4s var(--suave); }
.escapadas li:hover { background: #0B5259; }
.escapadas h3 { font-family: var(--serif); font-size: 26px; color: var(--marfil); }
.escapadas p { color: var(--sobre-oscuro-suave); font-size: 16px; }
.escapadas span { margin-top: auto; padding-top: 10px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--oro); }
@media (min-width: 760px) { .escapadas { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .escapadas { grid-template-columns: repeat(3, 1fr); } }
.nota-clara { margin-top: 20px; font-size: 14px; color: var(--sobre-oscuro-suave); }

/* Tira de destinos: corre sola y despacio en bucle. El ancho del texto crece con el tamaño
   de letra, así que una duración fija da la misma velocidad de lectura en cualquier pantalla
   (~0,45 alturas de letra por segundo: 22 px/s en celular, 52 px/s en escritorio). */
.marquesina-zona { position: relative; margin-top: clamp(80px, 10vw, 140px); }
.marquesina { overflow: hidden; padding-block: .1em; }
.marquesina__pista {
  display: flex; width: max-content; white-space: nowrap;
  font-family: var(--serif); font-size: clamp(48px, 9vw, 128px); line-height: 1.1; letter-spacing: -.02em;
  color: rgba(255, 248, 236, .3);
}
.marquesina__pista p { flex: none; }
.marquesina__pista em { color: rgba(244, 178, 62, .8); }
@media (prefers-reduced-motion: no-preference) {
  .marquesina__pista { animation: tira 95s linear infinite; }
}
@keyframes tira { to { transform: translateX(-50%); } }
.marquesina:hover .marquesina__pista,
.marquesina--pausada .marquesina__pista { animation-play-state: paused; }
.marquesina__pausa {
  position: absolute; right: var(--margen); top: 50%; translate: 0 -50%;
  display: grid; place-items: center; width: 44px; height: 44px; cursor: pointer;
  border-radius: 50%; border: 1px solid rgba(255, 248, 236, .45); color: var(--marfil);
  background: rgba(7, 55, 61, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background-color .3s var(--suave);
}
.marquesina__pausa:hover { background: rgba(7, 55, 61, .8); }
.marquesina__pausa .icono { width: 18px; height: 18px; }
@media (prefers-reduced-motion: reduce) { .marquesina__pausa { display: none; } }

/* ---------- 06 · La carta ---------- */
.carta__marco {
  max-width: 880px; margin-inline: auto; padding: clamp(40px, 7vw, 88px) clamp(24px, 6vw, 80px);
  background: #FFFDF6; border: 1px solid var(--oro); outline: 1px solid var(--oro); outline-offset: -10px;
  box-shadow: 0 40px 80px -48px rgba(10, 71, 78, .45);
}
.carta__cabeza { text-align: center; }
.carta__cabeza .ceja::after { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .7; }
.carta__cabeza .titulo { margin-inline: auto; }
.carta__adorno { margin-top: 20px; color: var(--oro); font-size: 18px; }
.carta__columnas { display: grid; gap: 40px; margin-top: 48px; }
.carta__seccion h3 {
  font-family: var(--versalitas); font-size: 16px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--oro-texto); text-align: center; margin: 28px 0 18px;
}
.carta__seccion h3:first-child { margin-top: 0; }
.plato { display: flex; align-items: baseline; gap: 10px; padding-block: 9px; }
.plato dt { font-family: var(--serif); font-size: 20px; white-space: nowrap; }
.plato dt a { text-decoration: none; border-bottom: 1px solid var(--oro); }
/* Línea punteada entre el nombre y la descripción, como en una carta */
.plato::after { content: ""; order: 1; flex: 1; min-width: 20px; border-bottom: 1px dotted rgba(18, 52, 59, .35); transform: translateY(-5px); }
.plato dd { order: 2; font-size: 14px; color: var(--tinta-suave); text-align: right; }
.carta__casa { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--linea); text-align: center; }
.carta__casa h3 { font-family: var(--serif); font-style: italic; font-size: 22px; }
.carta__casa p { margin: 12px auto 0; max-width: 56ch; font-size: 16px; color: var(--tinta-suave); }
@media (min-width: 760px) { .carta__columnas { grid-template-columns: 1fr 1fr; gap: 56px; } }
@media (max-width: 479.98px) {
  .plato { flex-wrap: wrap; gap: 2px 10px; }
  .plato::after { display: none; }
  .plato dd { text-align: left; width: 100%; }
}

/* ---------- 07 · Reseñas ---------- */
.resenas__rejilla { display: grid; gap: 64px; }
.puntaje { font-family: var(--serif); font-size: clamp(96px, 13vw, 168px); line-height: .9; margin-top: 20px; letter-spacing: -.03em; }
.puntaje small { font-size: .28em; color: var(--tinta-suave); letter-spacing: 0; }
.puntaje__base { margin-top: 12px; color: var(--tinta-suave); }
.barras { display: grid; gap: 12px; margin-top: 36px; max-width: 420px; }
.barras li { display: grid; grid-template-columns: 120px 1fr 32px; align-items: center; gap: 14px; font-size: 15px; }
.barras b { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.barra { height: 2px; background: var(--linea); position: relative; }
.barra i { position: absolute; inset: 0; background: var(--oceano); transform-origin: left; transform: scaleX(var(--v)); }

.menciones { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.menciones li { padding: 8px 16px; border: 1px solid var(--linea); border-radius: 999px; font-size: 14px; }
.menciones b { font-weight: 600; color: var(--oro-texto); margin-left: 4px; }
.voz { padding-block: 28px; border-top: 1px solid var(--linea); }
.voz blockquote p { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.3vw, 30px); line-height: 1.3; }
.voz blockquote p::before { content: "«"; color: var(--oro); margin-right: .1em; }
.voz blockquote p::after { content: "»"; color: var(--oro); margin-left: .1em; }
.voz figcaption { margin-top: 12px; font-family: var(--versalitas); font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: var(--tinta-suave); }
.anfitrion { display: flex; align-items: center; gap: 10px; padding-top: 28px; border-top: 1px solid var(--linea); font-size: 15px; color: var(--tinta-suave); }
.anfitrion .icono { color: var(--oro-texto); }
@media (min-width: 960px) { .resenas__rejilla { grid-template-columns: .85fr 1.15fr; gap: 96px; } }

/* ---------- 08 · Ubicación ---------- */
.ubicacion__rejilla { display: grid; gap: 48px; }
.mapa { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--marfil-2); border: 1px solid var(--linea); }
.mapa iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.35) sepia(.18) contrast(.95); }
.llegar h3 { font-family: var(--serif); font-size: 28px; }
.tarifas { margin-top: 20px; border-top: 1px solid var(--linea); }
.tarifas li { display: flex; justify-content: space-between; gap: 16px; padding-block: 16px; border-bottom: 1px solid var(--linea); }
.tarifas b { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.nota { margin-top: 16px; font-size: 15px; color: var(--tinta-suave); }
.direccion { display: flex; gap: 10px; margin-top: 28px; font-size: 15px; color: var(--tinta-suave); }
.direccion .icono { color: var(--oro-texto); margin-top: 2px; }
@media (min-width: 960px) { .ubicacion__rejilla { grid-template-columns: 1.25fr .75fr; gap: 72px; align-items: start; } }

/* ---------- 09 · Bueno saber ---------- */
.saber__rejilla { display: grid; gap: 48px; }
.acordeon { border-top: 1px solid var(--linea); }
.acordeon details { border-bottom: 1px solid var(--linea); }
.acordeon summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 24px 48px 24px 0; font-family: var(--serif); font-size: clamp(19px, 1.8vw, 22px);
  transition: color .3s var(--suave);
}
.acordeon summary::-webkit-details-marker { display: none; }
.acordeon summary:hover { color: var(--oro-texto); }
.acordeon summary::before, .acordeon summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 1px; background: currentColor;
  transition: transform .4s var(--suave);
}
.acordeon summary::after { transform: rotate(90deg); }
.acordeon details[open] summary::after { transform: rotate(0deg); }
.acordeon details p { padding: 0 48px 26px 0; color: var(--tinta-suave); max-width: 64ch; }
@media (min-width: 960px) { .saber__rejilla { grid-template-columns: .8fr 1.2fr; gap: 96px; } }

/* ---------- 10 · Reservar ---------- */
.reservar { overflow: hidden; }
.reservar__fondo { position: absolute; inset: 0; }
.reservar__fondo img { width: 100%; height: 100%; object-fit: cover; opacity: .22; }
.reservar__fondo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, var(--oceano) 30%, rgba(10, 71, 78, .82)); }
.reservar__rejilla { position: relative; display: grid; gap: 56px; align-items: start; }
.garantias { display: grid; gap: 14px; margin-top: 36px; }
.garantias li { display: flex; align-items: center; gap: 12px; color: var(--sobre-oscuro); }
.garantias .icono { color: var(--oro); }

.formulario {
  background: rgba(7, 55, 61, .55); border: 1px solid var(--linea-clara);
  padding: clamp(24px, 4vw, 44px); display: grid; gap: 20px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.campos-fila { display: grid; gap: 20px; }
.campo { display: grid; gap: 8px; min-width: 0; }
.campo label { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--sobre-oscuro); }
.opcional { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--sobre-oscuro-suave); margin-left: 6px; }
.campo input, .campo select, .campo textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: inherit; font-size: 16px; color: var(--marfil);
  background: rgba(255, 248, 236, .06); border: 1px solid rgba(255, 248, 236, .28); border-radius: 0;
  color-scheme: dark;
  transition: border-color .3s var(--suave), background-color .3s var(--suave);
}
.campo select option { color: var(--tinta); }
.campo textarea { resize: vertical; min-height: 96px; }
.campo input::placeholder, .campo textarea::placeholder { color: var(--sobre-oscuro-suave); opacity: .8; }
.campo input:hover, .campo select:hover, .campo textarea:hover { border-color: rgba(255, 248, 236, .5); }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: 2px solid var(--oro); outline-offset: 1px; border-color: var(--oro); background: rgba(255, 248, 236, .1); }
.campo [aria-invalid="true"] { border-color: #E8A48A; }
.campo__error { font-size: 14px; color: #F0B9A4; min-height: 0; }
.campo__error:empty { display: none; }
.formulario__noches { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--oro); }
.formulario__noches:empty { display: none; }
.formulario__nota { font-size: 14px; color: var(--sobre-oscuro-suave); text-align: center; }
/* Airbnb como alternativa: visible pero en segundo plano, bajo el formulario */
.formulario__airbnb {
  padding-top: 16px; border-top: 1px solid var(--linea-clara);
  font-size: 13px; color: var(--sobre-oscuro-suave); text-align: center;
}
.formulario__airbnb a { color: var(--oro); text-underline-offset: 3px; }
.formulario__airbnb a:hover { color: var(--marfil); }
@media (min-width: 560px) { .campos-fila { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .reservar__rejilla { grid-template-columns: .9fr 1.1fr; gap: 88px; } }

/* ---------- Pie ---------- */
.pie { background: var(--oceano-profundo); color: var(--sobre-oscuro-suave); padding-top: 88px; }
.pie__rejilla { display: grid; gap: 40px; padding-bottom: 56px; }
.marca__nombre--pie { color: var(--marfil); font-size: 40px; }
.pie__texto { margin-top: 14px; max-width: 36ch; font-size: 15px; }
.redes { display: flex; gap: 10px; margin-top: 24px; }
.redes a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--linea-clara); color: var(--sobre-oscuro);
  transition: color .3s var(--suave), border-color .3s var(--suave);
}
.redes a:hover { color: var(--oro); border-color: var(--oro); }
.redes .icono { width: 19px; height: 19px; }
.pie__titulo { font-family: var(--versalitas); font-size: 14px; letter-spacing: .2em; text-transform: uppercase; color: var(--oro); margin-bottom: 16px; }
.pie__enlace { display: block; width: fit-content; padding-block: 6px; font-size: 15px; text-decoration: none; color: var(--sobre-oscuro); }
.pie__enlace:hover { color: var(--marfil); }
.pie__legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding-block: 24px 32px; border-top: 1px solid var(--linea-clara); font-size: 13px;
}
@media (min-width: 760px) { .pie__rejilla { grid-template-columns: 1.4fr 1fr 1fr; } }

/* ---------- WhatsApp flotante ---------- */
.wa-flotante {
  position: fixed; z-index: 40; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff; box-shadow: 0 14px 30px -10px rgba(7, 55, 61, .55);
  transition: transform .4s var(--suave);
}
.wa-flotante:hover { transform: translateY(-3px); }
.wa-flotante .icono { width: 30px; height: 30px; }

/* ---------- Visor de fotos ---------- */
.visor, .reproductor { padding: 0; border: 0; max-width: none; max-height: none; color: var(--marfil); }
.visor { width: 100vw; height: 100vh; height: 100dvh; background: rgba(4, 38, 42, .97); }
.visor::backdrop, .reproductor::backdrop { background: rgba(4, 38, 42, .9); }
.visor[open] { display: grid; place-items: center; }
.visor__figura { display: grid; justify-items: center; gap: 16px; padding: 72px 16px 24px; max-width: 100%; }
.visor__figura img { max-width: min(1400px, 100%); max-height: calc(100dvh - 160px); object-fit: contain; }
.visor figcaption { display: flex; gap: 24px; justify-content: space-between; width: 100%; max-width: 900px; font-size: 15px; color: var(--sobre-oscuro); }
.visor__contador { font-family: var(--serif); font-style: italic; color: var(--oro); white-space: nowrap; }
.visor__boton {
  display: grid; place-items: center; width: 52px; height: 52px; cursor: pointer;
  background: rgba(255, 248, 236, .08); border: 1px solid rgba(255, 248, 236, .3); border-radius: 50%; color: var(--marfil);
  transition: background-color .3s var(--suave);
}
.visor__boton:hover { background: rgba(255, 248, 236, .2); }
.visor__cerrar { position: absolute; top: 16px; right: 16px; }
.visor__ant, .visor__sig { position: absolute; top: 50%; translate: 0 -50%; }
.visor__ant { left: 16px; }
.visor__sig { right: 16px; }
@media (max-width: 759.98px) {
  .visor__ant, .visor__sig { top: auto; bottom: 20px; translate: none; }
  .visor__figura { padding-bottom: 90px; }
}

/* ---------- Reproductor de video ---------- */
.reproductor { width: min(1100px, calc(100vw - 32px)); background: transparent; }
.reproductor__caja { display: grid; gap: 14px; }
.reproductor__cabeza { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.reproductor__cabeza h2 { font-family: var(--serif); font-style: italic; font-size: 22px; font-weight: 400; }
.reproductor__marco { position: relative; aspect-ratio: 16 / 9; background: #000; }
.reproductor__marco iframe, .reproductor__marco video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* =========================================================
   Capa playera (9 de octubre)
   ========================================================= */

/* Títulos y marca */
.titulo { font-weight: 400; letter-spacing: -.015em; }
.hero__titulo { font-weight: 400; letter-spacing: -.025em; }
.marca__nombre { font-family: var(--guion); font-style: normal; font-size: 30px; letter-spacing: 0; }
.marca__nombre--pie { font-size: 46px; }
.marca__sub { font-weight: 500; }

/* La ceja va escrita a mano, con una ola en lugar de la raya */
.ceja {
  font-family: var(--guion); font-size: clamp(21px, 2vw, 25px); letter-spacing: 0; text-transform: none;
  color: var(--turquesa); gap: 12px;
}
.ceja::before {
  width: 30px; height: 12px; opacity: 1; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 10'%3E%3Cpath d='M1 6c3-4 5-4 8 0s5 4 8 0 5-4 8 0' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 10'%3E%3Cpath d='M1 6c3-4 5-4 8 0s5 4 8 0 5-4 8 0' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ceja--clara, .hero .ceja--clara { color: var(--turquesa-clara); }
.hero .ceja--clara { color: #FFE3A8; }
.carta__cabeza .ceja::after { display: none; }
.num { font-family: var(--sans); font-weight: 600; letter-spacing: .2em; color: var(--coral); }
.num--claro { color: var(--oro); }

/* Botones redondos, como cantos rodados */
.boton { border-radius: 999px; letter-spacing: .12em; }
.boton--oro { background: var(--oro); color: var(--tinta); box-shadow: 0 10px 24px -12px rgba(242, 119, 90, .8); }
.boton--oro::before { background: #fff; }
.filtro { font-family: var(--sans); }

/* Inicio: menos velo y en turquesa, para que el atardecer se vea vivo */
.hero__media::after {
  background:
    linear-gradient(180deg, rgba(7, 55, 61, .5) 0%, rgba(7, 55, 61, 0) 24%),
    linear-gradient(90deg, rgba(7, 55, 61, .5) 0%, rgba(7, 55, 61, .12) 55%, rgba(7, 55, 61, 0) 80%),
    linear-gradient(0deg, rgba(7, 55, 61, .82) 0%, rgba(7, 55, 61, .3) 40%, rgba(7, 55, 61, 0) 70%);
}
/* Ola de espuma al pie del inicio */
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(30px, 4.5vw, 64px); z-index: 2;
  background: var(--marfil); pointer-events: none;
  -webkit-mask: var(--ola-forma) 0 0 / 100% 100% no-repeat; mask: var(--ola-forma) 0 0 / 100% 100% no-repeat;
  transform: scaleY(-1);
}
.hero__bajar { bottom: 140px; }

/* ---------- Olas entre secciones ----------
   Cada sección con .ola recibe arriba el color de la anterior, con el borde ondulado. */
:root {
  --ola-forma: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 0H1440V30C1320 55 1200 55 1080 38S840 5 720 18 480 60 360 52 120 20 0 34Z'/%3E%3C/svg%3E");
}
.ola::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; z-index: 1; height: clamp(26px, 4vw, 56px);
  background: var(--ola-color); pointer-events: none;
  -webkit-mask: var(--ola-forma) 0 0 / 100% 100% no-repeat; mask: var(--ola-forma) 0 0 / 100% 100% no-repeat;
}
.ola--marfil { --ola-color: var(--marfil); }
.ola--arena { --ola-color: var(--marfil-2); }
.ola--oceano { --ola-color: var(--oceano); }
.pie { position: relative; }

/* Arena y hojas de palma de fondo en las secciones alternas */
.bloque--alterno { background: var(--marfil-2); overflow-x: clip; }
.bloque--alterno::after {
  content: ""; position: absolute; right: -60px; top: 12%; width: clamp(220px, 28vw, 420px); aspect-ratio: 200 / 210;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 210'%3E%3Cg fill='none' stroke='#0E5E66' stroke-linecap='round'%3E%3Cpath d='M18 192Q58 62 188 22' stroke-width='5'/%3E%3Cpath d='M26.9 166.9Q46.5 170.0 62.6 170.8' stroke-width='3.9'/%3E%3Cpath d='M26.9 166.9Q15.2 157.3 5.6 147.7' stroke-width='3.9'/%3E%3Cpath d='M32.2 154.6Q56.9 159.6 77.2 161.5' stroke-width='3.7'/%3E%3Cpath d='M32.2 154.6Q18.6 141.9 7.4 129.4' stroke-width='3.7'/%3E%3Cpath d='M38.1 142.7Q67.2 150.0 91.0 153.5' stroke-width='3.6'/%3E%3Cpath d='M38.1 142.7Q23.3 127.1 11.2 111.8' stroke-width='3.6'/%3E%3Cpath d='M44.4 131.3Q77.2 141.2 104.0 146.5' stroke-width='3.4'/%3E%3Cpath d='M44.4 131.3Q29.2 113.0 16.8 95.1' stroke-width='3.4'/%3E%3Cpath d='M51.2 120.5Q87.0 133.1 116.2 140.4' stroke-width='3.3'/%3E%3Cpath d='M51.2 120.5Q36.3 99.6 24.2 79.5' stroke-width='3.3'/%3E%3Cpath d='M58.5 110.1Q96.4 125.6 127.5 135.0' stroke-width='3.1'/%3E%3Cpath d='M58.5 110.1Q44.6 87.1 33.2 65.0' stroke-width='3.1'/%3E%3Cpath d='M66.2 100.2Q105.5 118.4 137.7 130.0' stroke-width='3.0'/%3E%3Cpath d='M66.2 100.2Q53.8 75.5 43.6 51.9' stroke-width='3.0'/%3E%3Cpath d='M74.5 90.7Q114.3 111.6 146.9 125.2' stroke-width='2.8'/%3E%3Cpath d='M74.5 90.7Q63.9 64.9 55.2 40.3' stroke-width='2.8'/%3E%3Cpath d='M83.2 81.8Q122.7 104.9 155.0 120.4' stroke-width='2.7'/%3E%3Cpath d='M83.2 81.8Q74.8 55.3 67.8 30.2' stroke-width='2.7'/%3E%3Cpath d='M92.5 73.4Q130.8 98.3 162.1 115.2' stroke-width='2.5'/%3E%3Cpath d='M92.5 73.4Q86.3 46.9 81.2 21.8' stroke-width='2.5'/%3E%3Cpath d='M102.2 65.4Q138.6 91.5 168.3 109.5' stroke-width='2.3'/%3E%3Cpath d='M102.2 65.4Q98.3 39.5 95.1 15.0' stroke-width='2.3'/%3E%3Cpath d='M112.4 57.9Q146.2 84.5 173.8 103.1' stroke-width='2.2'/%3E%3Cpath d='M112.4 57.9Q110.7 33.2 109.3 9.9' stroke-width='2.2'/%3E%3Cpath d='M123.1 50.9Q153.6 77.2 178.6 95.7' stroke-width='2.0'/%3E%3Cpath d='M123.1 50.9Q123.3 28.0 123.5 6.4' stroke-width='2.0'/%3E%3Cpath d='M134.3 44.4Q161.0 69.5 182.9 87.3' stroke-width='1.9'/%3E%3Cpath d='M134.3 44.4Q136.0 23.9 137.5 4.4' stroke-width='1.9'/%3E%3Cpath d='M145.9 38.4Q168.5 61.3 186.9 77.8' stroke-width='1.7'/%3E%3Cpath d='M145.9 38.4Q148.8 20.7 151.1 3.8' stroke-width='1.7'/%3E%3Cpath d='M158.1 32.9Q176.1 52.6 190.8 66.9' stroke-width='1.6'/%3E%3Cpath d='M158.1 32.9Q161.5 18.4 164.3 4.7' stroke-width='1.6'/%3E%3Cpath d='M170.7 27.9Q183.8 43.3 194.5 54.5' stroke-width='1.5'/%3E%3Cpath d='M170.7 27.9Q174.0 17.1 176.7 6.9' stroke-width='1.5'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  opacity: .13; pointer-events: none; transform: rotate(18deg);
}
.bloque--alterno:nth-of-type(even)::after { right: auto; left: -60px; transform: scaleX(-1) rotate(18deg); }
.bloque > .contenedor { position: relative; z-index: 1; }
/* Arena: granitos muy suaves */
.bloque--alterno {
  background-image: radial-gradient(rgba(180, 120, 60, .09) 1px, transparent 1.4px);
  background-size: 14px 14px;
}

/* Secciones de mar: un brillo turquesa, como agua con sol */
.oscuro {
  background:
    radial-gradient(60rem 30rem at 85% 0%, rgba(79, 224, 214, .3), transparent 60%),
    radial-gradient(40rem 26rem at 0% 100%, rgba(255, 204, 92, .12), transparent 60%), var(--oceano);
}

/* ---------- Fotos como polaroids ---------- */
.video__marco { position: relative; }
.video__tarjeta { border: 10px solid #fff; border-radius: 22px; box-shadow: 0 30px 60px -28px rgba(10, 71, 78, .55); rotate: -1.2deg; }
.panel__foto { border: 8px solid #fff; border-radius: 20px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5); rotate: 1.5deg; }
.mosaico__item { border-radius: 16px; }
.mapa { border: 8px solid #fff; border-radius: 20px; box-shadow: 0 30px 60px -32px rgba(10, 71, 78, .5); }
.formulario { border-radius: 24px; }
.campo input, .campo select, .campo textarea { border-radius: 12px; }
.escapadas { border-radius: 20px; overflow: hidden; }
.premio { border-radius: 18px; }
.carta__marco {
  position: relative; border-radius: 28px; border: 2px solid var(--turquesa); outline: 1px dashed rgba(14, 124, 134, .5); outline-offset: -12px;
  background: #FFFDF6;
}
.carta__adorno { color: var(--coral); }
.niveles__escalera { background: var(--marfil); color: var(--turquesa); }
.cifras__icono, .comodidades .icono, .nivel__lista .icono { color: var(--turquesa); }
.wa-flotante { box-shadow: 0 14px 30px -10px rgba(10, 71, 78, .6); }

/* ---------- Adornos que cuelgan de las fotos ----------
   Un hilo con su chinche y el adorno al final; se mecen una vez, despacio, al aparecer
   y otra vez al pasar el cursor. Con "reducir movimiento", quietos. */
.colgante {
  position: absolute; z-index: 4; top: -22px; right: 14%; width: clamp(46px, 5vw, 66px);
  pointer-events: none; transform-origin: 50% 0;
}
.colgante::before {
  content: ""; display: block; width: 1px; height: var(--hilo, 44px); margin-inline: auto;
  background: linear-gradient(rgba(184, 138, 58, .4), #B88A3A);
}
/* Argolla de latón donde se amarra el cordón */
.colgante::after {
  content: ""; position: absolute; top: -6px; left: 50%; width: 9px; height: 9px; margin-left: -4.5px;
  border-radius: 50%; border: 1.6px solid #B88A3A; background: var(--marfil);
}
.colgante svg { display: block; width: 100%; height: auto; margin-top: -2px; filter: drop-shadow(0 6px 10px rgba(0, 74, 81, .22)); }
.colgante--arco { right: 8%; top: -18px; --hilo: 54px; }
.colgante--estrella { left: 10%; right: auto; --hilo: 34px; }
.colgante--concha { left: 12%; right: auto; }
.colgante--ancla { right: 10%; top: -24px; --hilo: 40px; }
.colgante--carta { right: 7%; top: -20px; --hilo: 30px; width: clamp(54px, 5.5vw, 72px); }
@media (prefers-reduced-motion: no-preference) {
  .colgante { animation: mecer 3.6s ease-in-out 1 both; }
  .colgante--estrella, .colgante--concha { animation-delay: .4s; }
  .intro__imagenes:hover .colgante, .nivel__foto:hover .colgante, .video__marco:hover .colgante,
  .carta__marco:hover .colgante { animation: mecer-otra 1.8s ease-in-out 1; }
}
@keyframes mecer { 0%, 100% { rotate: 0deg; } 30% { rotate: 3.5deg; } 70% { rotate: -2.5deg; } }
@keyframes mecer-otra { 0%, 100% { rotate: 0deg; } 35% { rotate: -2.5deg; } 70% { rotate: 1.5deg; } }

/* =========================================================
   Ajustes del cliente (13 de octubre): Olas del Mar
   ========================================================= */

/* Inicio limpio: sin párrafo, texto en blanco y botones pequeños que dejan ver la foto */
.hero__titulo { font-size: clamp(42px, 6.6vw, 96px); }
.hero__titulo em, .hero .ceja--clara { color: #fff; }
.hero .ceja--clara::before { background: #fff; }
.hero__contenido { padding-bottom: clamp(80px, 12vh, 132px); }
.hero__acciones { gap: 10px; margin-top: 30px; }
.hero__nota {
  margin-top: 18px; font-size: 13px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: #fff;
  text-shadow: 0 1px 10px rgba(7, 55, 61, .6);
}
/* "Consultar fechas" en el menú: resaltado en amarillo también cuando el menú se vuelve claro */
.nav--solida .nav__reservar { background: var(--oro); border-color: var(--oro); color: var(--tinta); }
.nav--solida .nav__reservar::before { background: #fff; }
.nav--solida .nav__reservar:hover { color: var(--tinta); }
.boton--chico { min-height: 40px; padding: 9px 18px; font-size: 11.5px; letter-spacing: .12em; }
.boton--chico .icono { width: 15px; height: 15px; }
.boton--vidrio {
  border-color: rgba(255, 255, 255, .55); color: #fff; background: rgba(255, 255, 255, .1);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.boton--vidrio::before { background: #fff; }
.boton--vidrio:hover { color: var(--tinta); border-color: #fff; }
.hero::after { background: var(--oceano); }

/* Secciones de mar: dos tonos para que no se vean como un solo bloque */
.oscuro--profundo {
  background:
    radial-gradient(50rem 26rem at 10% 0%, rgba(79, 224, 214, .2), transparent 60%),
    radial-gradient(40rem 24rem at 100% 100%, rgba(255, 204, 92, .1), transparent 60%), var(--oceano-profundo);
}
.ola--profundo { --ola-color: var(--oceano-profundo); }

/* Descripción */
.descripcion__rejilla { display: grid; gap: 56px; align-items: center; }
.descripcion__datos { display: grid; gap: 14px; margin-top: 32px; }
.descripcion__datos li { display: flex; align-items: center; gap: 14px; color: var(--sobre-oscuro); font-size: 17px; }
.descripcion__datos .icono { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: var(--oro); }
.descripcion__boton { margin-top: 32px; }
.descripcion__foto { margin: 0; rotate: 2deg; }
.descripcion__foto img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border: 10px solid #fff; border-radius: 22px; box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .55);
}
@media (min-width: 960px) { .descripcion__rejilla { grid-template-columns: 1.05fr .95fr; gap: 88px; } }

/* Reservar: llamada directa, autorización de datos y Airbnb */
.llamar {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 32px; padding: 10px 22px 10px 10px;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, .35); color: var(--sobre-oscuro); text-decoration: none;
  transition: background-color .3s var(--suave), border-color .3s var(--suave);
}
.llamar:hover { background: rgba(255, 255, 255, .1); border-color: var(--oro); }
.llamar__icono { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--oro); color: var(--tinta); }
.llamar small { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--sobre-oscuro-suave); }
.llamar b { font-size: 19px; font-weight: 600; letter-spacing: .02em; }
.casilla { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; text-transform: none !important; letter-spacing: 0 !important; font-weight: 400 !important; font-size: 13.5px !important; line-height: 1.5; color: var(--sobre-oscuro-suave) !important; }
.casilla input { flex: none; width: 20px; height: 20px; min-height: 0; margin-top: 1px; accent-color: var(--oro); }
.formulario__airbnb { display: grid; justify-items: center; gap: 12px; }
.formulario__airbnb p { margin: 0; }

/* Galería en la plantilla de Reservar: todas del mismo tamaño, como polaroids sobre la mesa */
.oscuro .filtro { border-color: rgba(255, 255, 255, .3); color: var(--sobre-oscuro); }
.oscuro .filtro:hover { border-color: #fff; color: #fff; }
.oscuro .filtro[aria-pressed="true"] { background: var(--oro); border-color: var(--oro); color: var(--tinta); }
.mosaico { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; gap: clamp(14px, 2.4vw, 30px); padding: 8px; }
.mosaico__item {
  aspect-ratio: 1; padding: 0; border: 8px solid #fff; border-radius: 16px; background: #fff;
  box-shadow: 0 22px 40px -22px rgba(0, 0, 0, .6); rotate: -2deg;
  transition: rotate .45s var(--suave), translate .45s var(--suave), box-shadow .45s var(--suave);
}
.mosaico__item img { border-radius: 9px; }
.mosaico__item:nth-child(3n + 2) { rotate: 1.5deg; translate: 0 10px; }
.mosaico__item:nth-child(3n) { rotate: -.5deg; }
.mosaico__item:nth-child(4n) { rotate: 2.5deg; }
.mosaico__item:hover, .mosaico__item:focus-visible { rotate: 0deg; translate: 0 -6px; box-shadow: 0 30px 50px -24px rgba(0, 0, 0, .7); }
.mosaico__item::after { border-radius: 9px; }
@media (min-width: 760px) { .mosaico { grid-template-columns: repeat(3, 1fr); grid-auto-rows: auto; } }
@media (min-width: 1100px) { .mosaico { grid-template-columns: repeat(4, 1fr); grid-auto-rows: auto; } }

/* Recorrido en la plantilla de Reservar; el dije de olas se mueve un rato al aparecer */
.colgante--olas { left: 9%; right: auto; top: -24px; --hilo: 42px; }
@media (prefers-reduced-motion: no-preference) {
  .colgante__ola { animation: correr-ola 2.4s linear 3; }
  .colgante__ola--2 { animation-direction: reverse; }
  .video__marco:hover .colgante__ola { animation: correr-ola-otra 2.4s linear 2; }
}
@keyframes correr-ola { to { transform: translateX(-24px); } }
@keyframes correr-ola-otra { to { transform: translateX(-24px); } }

/* Experiencias: lugares por tema, sin días ni horas */
.pestanas__lista [role="tab"] { align-items: center; }
.pestanas__lista [role="tab"] .icono { width: 18px; height: 18px; color: var(--oro); }
.agenda__icono { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: var(--oro); }
.agenda__icono .icono { width: 20px; height: 20px; }

/* Preguntas frecuentes en la plantilla de Reservar */
.oscuro .acordeon, .oscuro .acordeon details { border-color: var(--linea-clara); }
.oscuro .acordeon summary { color: var(--marfil); }
.oscuro .acordeon summary:hover { color: var(--oro); }
.oscuro .acordeon details p { color: var(--sobre-oscuro-suave); }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  /* iteration-count: una animación infinita a .01ms parpadearía sin parar */
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
