/* =============================================================
   1. Tokens — paleta playera luminosa
   ============================================================= */
:root {
  --sand: #f8f2e7;
  --sand-2: #fdfaf3;
  --paper: #ffffff;
  --ink: #123642;
  --ink-soft: #4a6b73;
  --sea: #0e7c8b;
  --sea-deep: #0b4a58;
  --sun: #f6a13c;
  --coral: #ff7a59;
  --gold: #ffd166;
  --line: rgba(18, 54, 66, 0.12);
  --wa: #22a95c;
  --grad-sun: linear-gradient(115deg, #ffd166, #ff7a59);
  --grad-sea: linear-gradient(115deg, #12a0af, #0b4a58);
  --display: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --nav-h: 74px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
::selection { background: var(--sun); color: #3a1f10; }
:focus-visible { outline: 2px solid var(--sea); outline-offset: 3px; border-radius: 6px; }
address { font-style: normal; }
section { scroll-margin-top: var(--nav-h); }

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: 0.6rem 1rem; background: var(--ink); color: var(--sand);
  z-index: 9999; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.container { width: min(1140px, 100% - 2 * var(--gutter)); margin-inline: auto; }

.grad-text {
  background: var(--grad-sun);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.dot {
  display: inline-block; width: 9px; height: 9px; border-radius: 50%;
  background: var(--grad-sun); margin-right: 0.6rem; vertical-align: middle;
}

/* =============================================================
   3. Barra de progreso
   ============================================================= */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 300; }
.progress span {
  display: block; height: 100%;
  background: var(--grad-sun);
  transform: scaleX(0); transform-origin: 0 50%; will-change: transform;
}

/* =============================================================
   4. Nav
   ============================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  transition: background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.nav.is-scrolled {
  background: rgba(248, 242, 231, 0.86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner {
  width: min(1220px, 100% - 2 * var(--gutter)); margin-inline: auto;
  display: flex; align-items: center; gap: 1.4rem;
  height: var(--nav-h); transition: height 0.4s var(--ease-out);
}
.nav.is-scrolled .nav-inner { height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; margin-right: auto; color: var(--coral); }
.brand-mark { width: 38px; height: 38px; transition: transform 0.4s var(--ease-out); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.05); }
.brand-name {
  font-family: var(--display); font-weight: 700; font-size: 1.3rem;
  letter-spacing: 0.02em; color: var(--ink);
}
.nav-links { display: none; gap: 1.7rem; font-size: 0.94rem; font-weight: 500; color: var(--ink-soft); }
.nav-links a { position: relative; padding-block: 0.3rem; transition: color 0.3s var(--ease-out); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--grad-sun); border-radius: 1px; transition: right 0.35s var(--ease-out);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { right: 0; }
.nav-cta { display: none; }

.nav-toggle { display: grid; gap: 5px; padding: 0.6rem; margin-right: -0.6rem; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 1px; transition: transform 0.35s var(--ease-out), opacity 0.25s; }
.nav.is-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 959px) {
  .nav-links {
    position: fixed; top: 0; left: 0; right: 0;
    padding: calc(var(--nav-h) + 1rem) var(--gutter) 2rem;
    display: grid; gap: 0.3rem;
    background: rgba(253, 250, 243, 0.98); border-bottom: 1px solid var(--line);
    transform: translateY(-105%); transition: transform 0.45s var(--ease-out); z-index: -1;
  }
  .nav-links a { font-family: var(--display); font-size: 1.5rem; color: var(--ink); padding-block: 0.5rem; }
  .nav.is-open .nav-links { transform: translateY(0); }
  .nav-cta { display: inline-flex; padding: 0.6rem 0.9rem; border-radius: 999px; }
  .nav-cta span { display: none; }
}
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* =============================================================
   5. Botones
   ============================================================= */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem; padding: 0.85rem 1.6rem; border-radius: 999px;
  font-family: var(--sans); font-weight: 600; font-size: 1rem; letter-spacing: 0.01em;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background 0.3s, color 0.3s, border-color 0.3s;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn-solid { background: var(--grad-sun); color: #3a1f10; box-shadow: 0 8px 22px -8px rgba(255, 122, 89, 0.6); }
.btn-solid:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(255, 122, 89, 0.7); }
.btn-ghost { border: 1.5px solid rgba(18, 54, 66, 0.22); color: var(--ink); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--sea); color: var(--sea); }
.btn-block { width: 100%; }
.btn-sm { padding: 0.6rem 1.1rem; font-size: 0.92rem; }
.nav-cta { padding: 0.55rem 1.15rem; font-size: 0.92rem; }
.nav-cta svg { width: 17px; height: 17px; }

/* =============================================================
   6. Hero
   ============================================================= */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-columns: minmax(0, 1fr); align-content: center;
  padding: calc(var(--nav-h) + 3rem) 0 6rem; overflow: clip;
  background: linear-gradient(180deg, #fef4dd 0%, #fde3c8 30%, #f7d9c4 55%, var(--sand) 100%);
}
.hero-scene { position: absolute; inset: 0; overflow: clip; pointer-events: none; }
.sun {
  position: absolute; top: 14%; right: 12%;
  width: clamp(120px, 20vw, 240px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, #fff2c4 0%, #ffd166 45%, rgba(255, 209, 102, 0) 72%);
  filter: blur(2px);
  animation: sun-breathe 7s var(--ease-soft) infinite;
}
@keyframes sun-breathe { 0%,100% { transform: scale(1); opacity: .95; } 50% { transform: scale(1.06); opacity: 1; } }

.waves { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: clamp(140px, 24vh, 240px); }
.wave { fill: var(--sea); }
.wave-1 { fill: #37b0bd; opacity: .35; animation: wave-move 9s ease-in-out infinite; }
.wave-2 { fill: #159bab; opacity: .55; animation: wave-move 7s ease-in-out infinite reverse; }
.wave-3 { fill: var(--sea); opacity: .9; }
@keyframes wave-move { 0%,100% { transform: translateX(0); } 50% { transform: translateX(-2.5%); } }

.parasols { position: absolute; left: 0; right: 0; bottom: clamp(70px, 13vh, 130px); width: 100%; height: 200px; }
.parasols .parasol path:first-child,
.parasols .parasol path:last-child { stroke: var(--sea-deep); stroke-width: 4; stroke-linecap: round; fill: none; }
.canopy { stroke: #fff; stroke-width: 1.5; }
.c-1 { fill: var(--coral); } .c-2 { fill: var(--sun); } .c-3 { fill: var(--sea); }
.parasol { transform-origin: bottom center; animation: sway 6s var(--ease-soft) infinite; }
.p-b { animation-delay: -1.5s; } .p-c { animation-delay: -3s; } .p-d { animation-delay: -4.5s; }
@keyframes sway { 0%,100% { transform: rotate(-1.5deg); } 50% { transform: rotate(1.5deg); } }

.hero-content { position: relative; width: min(1140px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.hero-kicker {
  display: inline-flex; align-items: center;
  font-weight: 600; font-size: 0.9rem; color: var(--sea-deep);
  background: rgba(255, 255, 255, 0.6); padding: 0.4rem 0.9rem; border-radius: 999px;
  margin-bottom: 1.3rem;
}
.hero-title { font-size: clamp(2.7rem, 8vw, 5.6rem); font-weight: 600; max-width: 15ch; margin-bottom: 1.3rem; }
.hero-sub { font-size: clamp(1.05rem, 2.4vw, 1.28rem); color: var(--ink-soft); max-width: 44ch; margin-bottom: 2.1rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.hero-scroll {
  position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1.5px solid rgba(18, 54, 66, 0.3); border-radius: 14px;
  display: grid; justify-content: center; padding-top: 8px; z-index: 2;
}
.hero-scroll span { width: 3px; height: 8px; border-radius: 2px; background: var(--coral); animation: scroll-hint 1.8s var(--ease-soft) infinite; }
@keyframes scroll-hint { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }

/* =============================================================
   7. Secciones comunes
   ============================================================= */
.section { padding-block: clamp(4rem, 9vw, 7rem); }
.section-head { margin-bottom: clamp(2rem, 5vw, 3.2rem); }
.section-kicker { display: inline-flex; align-items: center; font-weight: 600; font-size: 0.85rem; letter-spacing: 0.02em; color: var(--sea); margin-bottom: 0.8rem; text-transform: uppercase; }
.section-head h2 { font-size: clamp(2rem, 5.5vw, 3.4rem); margin-bottom: 0.7rem; }
.section-lead { color: var(--ink-soft); max-width: 52ch; }

/* =============================================================
   8. Servicio (features)
   ============================================================= */
.features { background: var(--sand-2); }
.cards { display: grid; gap: 1rem; }
.card {
  padding: 1.7rem 1.5rem; background: var(--paper); border: 1px solid var(--line); border-radius: 18px;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  box-shadow: 0 10px 30px -22px rgba(18, 54, 66, 0.5);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px -22px rgba(18, 54, 66, 0.4); }
.card-icon {
  width: 46px; height: 46px; margin-bottom: 1rem;
  fill: none; stroke: var(--sea); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
  transition: stroke 0.35s, transform 0.4s var(--ease-out);
}
.card:hover .card-icon { stroke: var(--coral); transform: translateY(-3px) rotate(-4deg); }
.card h3 { font-size: 1.28rem; margin-bottom: 0.4rem; }
.card p { font-size: 0.95rem; color: var(--ink-soft); }

/* =============================================================
   9. Plano de plazas (tipo cine)
   ============================================================= */
.plan { background: linear-gradient(180deg, var(--sand) 0%, #eaf6f4 100%); }
.plan-wrap {
  background: var(--paper); border: 1px solid var(--line); border-radius: 22px;
  padding: clamp(1.1rem, 3.5vw, 2rem);
  box-shadow: 0 24px 60px -34px rgba(11, 74, 88, 0.5);
}
.beach-top {
  text-align: center; margin-bottom: 1.1rem;
  background: linear-gradient(180deg, #bfeef0, rgba(191, 238, 240, 0)); border-radius: 14px 14px 40% 40% / 14px 14px 100% 100%;
  padding: 0.8rem 0 1.6rem;
}
.sea-label { font-weight: 600; color: var(--sea-deep); font-size: 0.9rem; letter-spacing: 0.08em; }

.plan-map { display: grid; gap: clamp(0.5rem, 1.6vw, 0.85rem); }
.plan-fallback { text-align: center; color: var(--ink-soft); padding: 1.4rem; }
.plan-fallback a { color: var(--sea); font-weight: 600; text-decoration: underline; }

.plan-row { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 0.6rem; }
.plan-row-label { font-weight: 700; color: var(--ink-soft); font-size: 0.82rem; width: 1.2rem; text-align: center; }
.plan-seats { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: clamp(0.35rem, 1.3vw, 0.7rem); }

.seat {
  position: relative; aspect-ratio: 1; border-radius: 11px;
  display: grid; place-items: center;
  background: #eaf3f2; border: 1.5px solid rgba(14, 124, 139, 0.28); color: var(--sea-deep);
  transition: transform 0.2s var(--ease-out), background 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.seat svg { width: 62%; height: 62%; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; opacity: .85; pointer-events: none; }
.seat-num { position: absolute; bottom: 3px; right: 5px; font-size: 0.6rem; font-weight: 700; opacity: .5; pointer-events: none; }
.seat:hover:not(.is-busy) { transform: translateY(-2px) scale(1.03); border-color: var(--sea); }
.seat.is-first { background: #fff4e3; border-color: rgba(246, 161, 60, 0.5); color: #b26a1e; }
.seat.is-first:hover { border-color: var(--sun); }
.seat.is-busy { background: repeating-linear-gradient(45deg, #e6e2da, #e6e2da 5px, #ded9cf 5px, #ded9cf 10px); border-color: transparent; color: #b3aa9b; cursor: not-allowed; }
.seat.is-selected {
  background: var(--grad-sun); border-color: #ff7a59; color: #3a1f10;
  box-shadow: 0 8px 18px -6px rgba(255, 122, 89, 0.65); transform: translateY(-2px);
}
.seat.is-selected svg { opacity: 1; }

.plan-legend {
  list-style: none; padding: 0; margin: 1.3rem 0 0;
  display: flex; flex-wrap: wrap; gap: 0.7rem 1.3rem; justify-content: center;
  font-size: 0.85rem; color: var(--ink-soft);
}
.plan-legend li { display: inline-flex; align-items: center; gap: 0.45rem; }
.swatch { width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid transparent; }
.s-free { background: #eaf3f2; border-color: rgba(14, 124, 139, 0.28); }
.s-first { background: #fff4e3; border-color: rgba(246, 161, 60, 0.5); }
.s-sel { background: var(--grad-sun); }
.s-busy { background: repeating-linear-gradient(45deg, #e6e2da, #e6e2da 4px, #ded9cf 4px, #ded9cf 8px); }

.plan-hint { text-align: center; color: var(--ink-soft); font-size: 0.9rem; margin-top: 1rem; }

.plan-bar {
  margin-top: 1.2rem; padding: 1rem 1.2rem;
  background: #eaf6f4; border: 1px solid rgba(14, 124, 139, 0.2); border-radius: 16px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.9rem;
  animation: bar-in 0.35s var(--ease-out);
}
@keyframes bar-in { from { opacity: 0; transform: translateY(8px); } }
.plan-summary { display: grid; gap: 0.1rem; }
.plan-count { font-family: var(--display); font-weight: 600; font-size: 1.15rem; color: var(--sea-deep); }
.plan-list { font-size: 0.88rem; color: var(--ink-soft); }
.plan-actions { display: flex; gap: 0.6rem; }

/* =============================================================
   9c. Flujo de reserva (demo)
   ============================================================= */
.reserva {
  background: var(--paper); border: 1px solid var(--line); border-radius: 22px;
  padding: clamp(1.2rem, 3.5vw, 2.2rem);
  box-shadow: 0 24px 60px -34px rgba(11, 74, 88, 0.5);
}
.steps {
  list-style: none; margin: 0 0 1rem; padding: 0;
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem;
  counter-reset: none;
}
.steps li {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.85rem; font-weight: 600; color: var(--ink-soft); opacity: 0.6;
  transition: opacity 0.3s, color 0.3s;
}
.steps li span {
  display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: #e7efee; color: var(--ink-soft); font-size: 0.8rem;
}
.steps li.is-active { opacity: 1; color: var(--ink); }
.steps li.is-active span { background: var(--grad-sun); color: #3a1f10; }
.steps li.is-done { opacity: 1; color: var(--sea); }
.steps li.is-done span { background: var(--sea); color: #fff; }

.demo-badge {
  display: inline-block; margin-bottom: 1.3rem; padding: 0.5rem 0.9rem;
  background: #fff4e3; border: 1px solid rgba(246, 161, 60, 0.4); border-radius: 10px;
  color: #a5641b; font-size: 0.82rem; font-weight: 500;
}

.step { animation: bar-in 0.4s var(--ease-out); }
.step[hidden] { display: none; } /* gana al display:grid de .step-done cuando está oculto */
.step-title { font-size: 1.5rem; margin-bottom: 1.1rem; }
.step-title .step-day { color: var(--sea); font-family: var(--sans); font-size: 1rem; font-weight: 600; }

/* Días */
.days { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 0.6rem; }
.day-chip {
  position: relative; display: grid; justify-items: center; gap: 0.1rem;
  padding: 0.7rem 0.4rem; border-radius: 13px;
  background: var(--sand-2); border: 1.5px solid var(--line); color: var(--ink);
  transition: transform 0.2s var(--ease-out), border-color 0.25s, background 0.25s;
}
.day-chip:hover { transform: translateY(-2px); border-color: var(--sea); }
.day-w { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-soft); }
.day-n { font-family: var(--display); font-weight: 700; font-size: 1.35rem; line-height: 1; }
.day-m { font-size: 0.72rem; color: var(--ink-soft); }
.day-tag {
  position: absolute; top: -8px; right: -6px; font-size: 0.6rem; font-weight: 700;
  background: var(--grad-sun); color: #3a1f10; padding: 0.1rem 0.35rem; border-radius: 6px;
}
.day-chip.is-active { background: var(--grad-sea); border-color: transparent; color: #fff; }
.day-chip.is-active .day-w, .day-chip.is-active .day-m { color: rgba(255,255,255,0.85); }
.days-other { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin-top: 1rem; font-size: 0.9rem; color: var(--ink-soft); }
.days-other input { padding: 0.55rem 0.8rem; border: 1.5px solid var(--line); border-radius: 10px; background: var(--sand-2); font: inherit; color: var(--ink); }

/* Nota de precios */
.price-note { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; align-items: center; margin-bottom: 1rem; font-size: 0.9rem; color: var(--ink-soft); }
.price-note span { display: inline-flex; align-items: center; gap: 0.4rem; }
.price-note strong { color: var(--ink); }
.price-unit { width: 100%; font-size: 0.8rem; opacity: 0.8; }

.step-nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.4rem; }
.step-nav [data-next], .step-nav [data-pay] { min-width: 9rem; }

/* Columnas datos/pago + resumen */
.reserva-cols { display: grid; gap: 1.4rem; }
.reserva-summary {
  align-self: start; background: #eaf6f4; border: 1px solid rgba(14, 124, 139, 0.2);
  border-radius: 16px; padding: 1.2rem;
}
.reserva-summary h4 { font-family: var(--sans); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--sea); margin-bottom: 0.5rem; }
.sum-day { font-family: var(--display); font-weight: 600; font-size: 1.1rem; margin-bottom: 0.6rem; text-transform: capitalize; }
.sum-list { list-style: none; padding: 0; margin: 0 0 0.6rem; display: grid; gap: 0.3rem; }
.sum-list li { display: flex; justify-content: space-between; font-size: 0.9rem; }
.sum-empty { color: var(--ink-soft); font-style: italic; }
.sum-total { display: flex; justify-content: space-between; border-top: 1px solid rgba(14, 124, 139, 0.25); padding-top: 0.6rem; font-family: var(--display); font-weight: 700; font-size: 1.2rem; color: var(--sea-deep); }

/* Pago */
.pay-intro { font-weight: 600; margin-bottom: 0.8rem; }
.pay-methods { display: grid; gap: 0.7rem; }
.pay-method {
  display: flex; align-items: center; gap: 0.8rem; padding: 0.9rem 1.1rem;
  border: 1.5px solid var(--line); border-radius: 13px; background: var(--sand-2);
  font-weight: 600; color: var(--ink); text-align: left;
  transition: border-color 0.25s, background 0.25s, transform 0.2s var(--ease-out);
}
.pay-method:hover { transform: translateY(-2px); }
.pay-method svg { width: 34px; height: 26px; fill: none; stroke: var(--sea); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.pay-method.is-active { border-color: var(--sea); background: #eaf6f4; box-shadow: 0 0 0 3px rgba(14, 124, 139, 0.12); }
.bizum-logo { display: grid; place-items: center; width: 34px; height: 26px; background: #00b1e6; color: #fff; border-radius: 6px; font-size: 0.7rem; font-weight: 800; letter-spacing: -0.02em; flex: none; }
.pay-secure { margin-top: 0.9rem; font-size: 0.8rem; color: var(--ink-soft); }

.spin { display: inline-block; width: 14px; height: 14px; border: 2px solid rgba(58,31,16,0.35); border-top-color: #3a1f10; border-radius: 50%; animation: spin 0.7s linear infinite; vertical-align: -2px; margin-right: 0.3rem; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Confirmación */
.step-done { text-align: center; display: grid; justify-items: center; gap: 0.5rem; padding-block: 0.5rem; }
.done-icon svg { width: 60px; height: 60px; color: var(--wa); }
.done-code { font-size: 0.95rem; color: var(--ink-soft); }
.done-code strong { font-family: var(--display); color: var(--ink); letter-spacing: 0.04em; }
.done-summary { text-align: left; max-width: 340px; width: 100%; }
.done-note { color: var(--ink-soft); max-width: 42ch; }
.done-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin-top: 0.4rem; }

@media (min-width: 720px) {
  .reserva-cols { grid-template-columns: 1.4fr 0.9fr; }
}

/* =============================================================
   10. Playa
   ============================================================= */
.beach { background: var(--sand-2); }
.beach-grid { display: grid; gap: 2.4rem; align-items: center; }
.beach-text > p { color: var(--ink-soft); margin-bottom: 1.2rem; max-width: 52ch; }
.beach-text strong { color: var(--ink); font-weight: 600; }
.beach-list { list-style: none; padding: 0; margin: 0 0 1.8rem; display: grid; gap: 0.55rem; }
.beach-list li { position: relative; padding-left: 1.7rem; color: var(--ink); }
.beach-list li::before {
  content: ""; position: absolute; left: 0; top: 0.35em; width: 12px; height: 12px; border-radius: 50%;
  background: var(--grad-sun);
}
.beach-photo {
  position: relative; margin: 0; border-radius: 20px; overflow: clip;
  border: 1px solid var(--line);
  box-shadow: 0 24px 54px -30px rgba(11, 74, 88, 0.55);
  aspect-ratio: 3 / 2;
}
.beach-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Galería */
.gallery { background: linear-gradient(180deg, #eaf6f4 0%, var(--sand) 100%); }
.gallery-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
.gallery-card {
  position: relative; margin: 0; border-radius: 16px; overflow: clip;
  border: 1px solid var(--line); aspect-ratio: 1; isolation: isolate;
  box-shadow: 0 14px 34px -24px rgba(11, 74, 88, 0.5);
}
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease-out); }
.gallery-card img[src*="galeria-ria"] { object-position: 50% 72%; }
.gallery-card:hover img { transform: scale(1.06); }
.gallery-card figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  padding: 1.5rem 1rem 0.9rem; color: #fff; font-weight: 600; font-size: 0.9rem;
  background: linear-gradient(0deg, rgba(11, 74, 88, 0.85), transparent);
}

/* =============================================================
   11. Contacto
   ============================================================= */
.contact-grid { display: grid; gap: 2.2rem; }
.contact-info { display: grid; gap: 1rem; align-content: start; }
.wa-card {
  display: grid; gap: 0.15rem; padding: 1.5rem; border-radius: 18px;
  background: linear-gradient(120deg, #1eb35f, #0f8b48); color: #fff;
  box-shadow: 0 14px 32px -14px rgba(34, 169, 92, 0.6);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}
.wa-card svg { width: 30px; height: 30px; fill: #fff; margin-bottom: 0.3rem; }
.wa-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -16px rgba(34, 169, 92, 0.7); }
.wa-label { font-size: 0.85rem; opacity: .9; }
.wa-num { font-family: var(--display); font-weight: 600; font-size: 1.9rem; }
.phone-card {
  display: grid; gap: 0.1rem; padding: 1.3rem 1.5rem; border-radius: 18px;
  background: var(--paper); border: 1px solid var(--line);
  transition: transform 0.35s var(--ease-out), border-color 0.35s;
}
.phone-card:hover { transform: translateY(-3px); border-color: rgba(14, 124, 139, 0.5); }
.phone-label { font-size: 0.82rem; color: var(--ink-soft); }
.phone-num { font-family: var(--display); font-weight: 600; font-size: 1.5rem; color: var(--sea); }
.contact-place { display: flex; align-items: center; gap: 0.6rem; color: var(--ink-soft); font-size: 0.95rem; padding: 0.3rem; }
.contact-place svg { width: 20px; height: 20px; flex: none; color: var(--coral); }

.contact-form { position: relative; padding: clamp(1.4rem, 4vw, 2rem); background: var(--paper); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 14px 40px -26px rgba(18, 54, 66, 0.5); }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 600; font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 0.35rem; }
.field input, .field textarea {
  width: 100%; padding: 0.8rem 1rem; background: var(--sand-2); border: 1px solid var(--line);
  border-radius: 11px; color: var(--ink); font: inherit; transition: border-color 0.3s, box-shadow 0.3s; resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(74, 107, 115, 0.55); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--sea); box-shadow: 0 0 0 3px rgba(14, 124, 139, 0.15); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--coral); }
.form-note { margin-top: 0.8rem; font-size: 0.8rem; color: var(--ink-soft); }

.form-ok {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 0.6rem;
  text-align: center; padding: 1.6rem; background: var(--paper); border-radius: 20px; animation: bar-in 0.5s var(--ease-out);
}
.form-ok[hidden] { display: none; }
.form-ok svg { width: 52px; height: 52px; color: var(--wa); }
.form-ok h3 { font-size: 1.6rem; }
.form-ok p { color: var(--ink-soft); max-width: 34ch; }
.form-again { margin-top: 0.2rem; font-size: 0.85rem; color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; }
.form-again:hover { color: var(--ink); }

/* =============================================================
   12. Footer
   ============================================================= */
.footer { border-top: 1px solid var(--line); padding-block: 2.6rem; background: var(--sand); }
.footer-inner { display: grid; gap: 1.1rem; justify-items: start; }
.footer .brand { color: var(--coral); }
.footer-data { color: var(--ink-soft); font-size: 0.92rem; display: grid; gap: 0.2rem; }
.footer-data a:hover { color: var(--sea); }
.footer-copy { font-size: 0.82rem; color: rgba(74, 107, 115, 0.75); }
.footer-credits { font-size: 0.72rem; color: rgba(74, 107, 115, 0.7); max-width: 60ch; }
.footer-credits a { color: var(--sea); text-decoration: underline; text-underline-offset: 2px; }

/* =============================================================
   13. WhatsApp flotante
   ============================================================= */
.wa-float {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 250;
  width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%;
  background: var(--wa); box-shadow: 0 10px 28px -8px rgba(34, 169, 92, 0.65);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.wa-float:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 16px 36px -10px rgba(34, 169, 92, 0.8); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* =============================================================
   14. Reveals
   ============================================================= */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); transition-delay: var(--r, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* =============================================================
   15. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 720px) {
  .contact-grid { grid-template-columns: 0.85fr 1.15fr; gap: 2rem; }
  .footer-inner { grid-template-columns: auto 1fr auto; align-items: center; }
  .footer-data { justify-self: center; text-align: center; }
  .footer-credits { grid-column: 1 / -1; text-align: center; justify-self: center; }
  .wa-float { right: 1.6rem; bottom: 1.6rem; }
}
@media (min-width: 960px) {
  .cards { grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
  .beach-grid { grid-template-columns: 1.05fr 0.95fr; gap: 3.4rem; }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}

/* =============================================================
   16. Reduced motion — solo lo intrusivo
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .sun, .wave-1, .wave-2, .parasol { animation: none; }
  .hero-scroll span { animation: none; }
}
