/* ==========================================================
   Paleta y tipografía
   --ink, --ink-soft, --line, --panel y --accent los actualiza
   sky.js según la hora: oscuros de día, claros de noche.
   ========================================================== */
:root {
  --ink: #1f1d1a;
  --ink-soft: #605b52;
  --line: rgba(31, 29, 26, 0.12);
  --panel: rgba(250, 248, 244, 0.58);
  --panel-solid: rgba(250, 248, 244, 0.84);
  --accent: #a4805a;
  --white: #fff;

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 6px;
  --gutter: clamp(16px, 5vw, 80px);
  --max: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #1c5cb6;
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.1; margin: 0; }
h2 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); letter-spacing: -0.01em; }
h3 { font-size: 1.5rem; }
em { font-style: italic; color: var(--accent); }
p { margin: 0 0 1.2em; }

/* ---------- Cielo ---------- */
#sky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; display: block; }

.sky-clock {
  position: fixed; left: 20px; bottom: 20px; z-index: 40;
  display: flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  background: rgba(12, 18, 36, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  color: var(--white);
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}
#clockIcon { width: 16px; height: 16px; border-radius: 50%; transition: background 0.8s ease, box-shadow 0.8s ease; }
#clockIcon[data-phase="sun"] { background: #ffd56b; box-shadow: 0 0 10px #ffc94a; }
#clockIcon[data-phase="moon"] { background: transparent; box-shadow: inset -5px -2px 0 0 #e9ecf7; }

/* Panel translúcido: el cielo se ve a través del contenido */
.panel, .perks, .section, .footer {
  background: var(--panel);
  backdrop-filter: blur(10px) saturate(1.15);
  -webkit-backdrop-filter: blur(10px) saturate(1.15);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 40px 80px -50px rgba(0, 0, 0, 0.35);
}
/* El selector de fechas mantiene el panel opaco */
.section.booking {
  background: var(--panel-solid);
  backdrop-filter: blur(20px) saturate(1.15);
  -webkit-backdrop-filter: blur(20px) saturate(1.15);
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
}
.lead { color: var(--ink-soft); max-width: 520px; margin: 1.2rem auto 0; }

/* ---------- Botones ---------- */
.btn {
  display: inline-block;
  padding: 1rem 2.2rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--panel);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.4s var(--ease-out);
}
.btn::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease-out);
  z-index: -1;
}
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn-light { background: var(--white); color: #1f1d1a; }
.btn-light:hover { color: var(--white); }
.btn-small { padding: 0.7rem 1.4rem; font-size: 0.7rem; }

.link-arrow {
  display: inline-flex; gap: 0.6rem; align-items: center;
  font-weight: 500; font-size: 0.85rem; letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
}
.link-arrow span { transition: transform 0.4s var(--ease-out); }
.link-arrow:hover span { transform: translateX(6px); }

/* ---------- Cabecera ---------- */
.header {
  position: fixed; inset: 0 0 auto 0;
  z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.6rem var(--gutter);
  color: var(--white);
  transition: background 0.5s var(--ease-out), padding 0.5s var(--ease-out),
              color 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out),
              transform 0.5s var(--ease-out);
}
.header.scrolled {
  background: var(--panel-solid);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--ink);
  padding-block: 1rem;
  box-shadow: 0 1px 0 var(--line);
}
.header.hidden { transform: translateY(-100%); }
.logo { font-family: var(--serif); font-size: 1.7rem; letter-spacing: 0.02em; position: relative; z-index: 60; }
.logo em { color: inherit; }
.nav { display: flex; gap: 2.4rem; align-items: center; }
.nav a:not(.btn) {
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 400;
  position: relative;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -4px;
  width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}
.nav a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.header:not(.scrolled) .nav .btn { background: var(--white); color: #1f1d1a; }
.header:not(.scrolled) .nav .btn:hover { color: var(--white); }

.menu-toggle {
  display: none;
  background: none; border: 0; padding: 10px; cursor: pointer;
  width: 44px; height: 44px; position: relative; z-index: 60; color: inherit;
}
.menu-toggle span {
  position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor;
  transition: transform 0.4s var(--ease-out), top 0.4s var(--ease-out);
}
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 26px; }
.menu-open .menu-toggle span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .menu-toggle span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh; height: 100svh; min-height: 560px;
  display: grid; place-items: center;
  color: var(--white); text-align: center;
}
.hero-content { position: relative; padding: 0 var(--gutter); max-width: 900px; margin-top: -8vh; }
.hero-content, .cta-content { text-shadow: 0 2px 30px rgba(10, 20, 40, 0.35); }
.hero-title { font-size: clamp(3rem, 9vw, 7.5rem); margin-bottom: 1.6rem; }
.hero-title em { color: var(--white); }
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.hero-title .line > span {
  display: inline-block;
  transform: translateY(110%);
  animation: lineUp 1.2s var(--ease-out) forwards;
}
.hero-title .line:nth-child(1) > span { animation-delay: 0.35s; }
.hero-title .line:nth-child(2) > span { animation-delay: 0.5s; }
@keyframes lineUp { to { transform: translateY(0); } }
.hero .eyebrow { color: rgba(255,255,255,0.9); }
.hero-sub { font-size: 1.05rem; opacity: 0.95; margin-bottom: 2.4rem; }

.split-in { opacity: 0; transform: translateY(16px); animation: fadeUp 1s var(--ease-out) forwards; }
.hero .eyebrow.split-in { animation-delay: 0.2s; }
.hero-sub.split-in { animation-delay: 0.8s; }
.hero .btn.split-in { animation-delay: 0.95s; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

.scroll-hint {
  position: absolute; bottom: 2.2rem; left: 50%; translate: -50% 0;
  width: 1px; height: 60px; background: rgba(255,255,255,0.3); overflow: hidden;
}
.scroll-hint span {
  position: absolute; inset: 0; background: var(--white);
  animation: scrollLine 2.2s var(--ease-out) infinite;
}
@keyframes scrollLine {
  0% { transform: translateY(-100%); }
  60%, 100% { transform: translateY(100%); }
}

/* ---------- Secciones como paneles flotando en el cielo ---------- */
.perks, .section, .footer {
  width: min(var(--max), 100% - 32px);
  margin-inline: auto;
}
.perks {
  display: grid; grid-template-columns: repeat(3, 1fr);
  padding: 3.5rem var(--gutter);
  text-align: center;
}
.perk { padding: 0 1rem; }
.perk + .perk { border-left: 1px solid var(--line); }
.perk-num, .perk-unit { font-family: var(--serif); font-size: 3.4rem; line-height: 1; color: var(--accent); }
.perk p { margin: 0.6rem 0 0; color: var(--ink-soft); font-size: 0.9rem; }

.section {
  margin-block: clamp(14vh, 22vh, 260px);
  padding: clamp(3rem, 7vw, 6rem) clamp(20px, 5vw, 72px);
}
.section-head { text-align: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.split-reverse { grid-template-columns: 1fr 1.1fr; }
.split-media { aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; }
.split-text h2 { margin-bottom: 1.6rem; }
.split-text > p:not(.eyebrow) { color: var(--ink-soft); }

.specs {
  list-style: none; padding: 0; margin: 2.2rem 0 2.6rem;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
}
.specs li { padding: 1.2rem 0; text-align: center; font-size: 0.82rem; color: var(--ink-soft); }
.specs strong { display: block; font-family: var(--serif); font-size: 2rem; font-weight: 400; color: var(--ink); line-height: 1.1; }

.distances { list-style: none; padding: 0; margin: 2rem 0 0; }
.distances li {
  display: flex; justify-content: space-between;
  padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: 0.95rem;
}
.distances li span:last-child { font-family: var(--serif); font-size: 1.25rem; color: var(--accent); }
.map { aspect-ratio: 1 / 1; }
.map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Servicios ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service {
  padding: 2.4rem 2rem;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: background 0.5s var(--ease-out);
}
.service:hover { background: rgba(255, 255, 255, 0.08); }
.service svg {
  width: 34px; height: 34px; margin-bottom: 1.4rem;
  fill: none; stroke: var(--accent); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.6s var(--ease-out);
}
.service:hover svg { transform: translateY(-4px); }
.service h3 { margin-bottom: 0.6rem; }
.service p { color: var(--ink-soft); font-size: 0.92rem; margin: 0; }

/* ---------- Calendario de reservas ---------- */
.cal { position: relative; }
.cal-bar {
  position: absolute; inset: 0 0 auto 0; z-index: 2;
  display: flex; justify-content: space-between; align-items: center;
  pointer-events: none;
}
.cal-bar > * { pointer-events: auto; }
.cal-nav {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: transparent; border: 1px solid var(--line); color: var(--ink);
  cursor: pointer;
  transition: background 0.3s var(--ease-out), border-color 0.3s var(--ease-out), opacity 0.3s;
}
.cal-nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.cal-nav:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.cal-nav:disabled { opacity: 0.25; cursor: default; }
.cal-clear {
  background: none; border: 0; cursor: pointer; color: var(--ink-soft);
  font: 500 0.7rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase;
  padding: 8px; border-bottom: 1px solid transparent;
  transition: color 0.3s, border-color 0.3s;
}
.cal-clear:hover { color: var(--accent); border-color: var(--accent); }

.cal-months { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); }
.cal-title {
  font-size: 1.7rem; text-align: center; text-transform: capitalize;
  height: 42px; line-height: 42px; margin-bottom: 1.2rem;
}
.cal-title em { font-style: normal; color: var(--ink-soft); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 4px; }
.cal-dow {
  text-align: center; padding-bottom: 10px;
  font-size: 0.66rem; font-weight: 500; letter-spacing: 0.16em; color: var(--accent);
}
.cal-day {
  position: relative; isolation: isolate;
  aspect-ratio: 1; min-height: 44px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  background: none; border: 0; padding: 0; cursor: pointer;
  font: 400 0.95rem/1 var(--sans); color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.cal-day small { font-size: 0.6rem; color: var(--ink-soft); letter-spacing: 0.02em; transition: color 0.25s; }
/* Círculo del día */
.cal-day::before {
  content: ""; position: absolute; inset: 3px; z-index: -1; border-radius: 50%;
  transition: background 0.25s var(--ease-out), transform 0.35s var(--ease-out), box-shadow 0.25s;
}
.cal-day:not(:disabled):hover::before { box-shadow: inset 0 0 0 1px var(--accent); }
.cal-day.is-today span { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }
.cal-day:disabled { cursor: default; }
.cal-day.is-past { color: var(--ink-soft); opacity: 0.3; }
.cal-day.is-busy { color: var(--ink-soft); opacity: 0.45; }
.cal-day.is-busy span { text-decoration: line-through; text-decoration-color: currentColor; }
.cal-day.is-loading span { opacity: 0.35; animation: calPulse 1.2s ease-in-out infinite; }
@keyframes calPulse { 50% { opacity: 0.12; } }

/* Rango seleccionado: banda continua entre llegada y salida */
.cal-day.in-range::after, .cal-day.is-start::after, .cal-day.is-end::after {
  content: ""; position: absolute; top: 3px; bottom: 3px; z-index: -2;
  background: color-mix(in srgb, var(--accent) 20%, transparent);
}
.cal-day.in-range::after { left: 0; right: 0; }
.cal-day.is-start::after { left: 50%; right: 0; }
.cal-day.is-end::after { left: 0; right: 50%; }
/* Llegada sin salida todavía: sin banda */
.cal-day.is-start:not(.has-range)::after { display: none; }
.cal-day.is-start::before, .cal-day.is-end::before { background: var(--accent); }
.cal-day.is-start, .cal-day.is-end { color: #fff; }
.cal-day.is-start small, .cal-day.is-end small { color: rgba(255, 255, 255, 0.8); }
.cal-day.is-preview.in-range::after, .cal-day.is-preview.is-end::after { background: color-mix(in srgb, var(--accent) 11%, transparent); }
.cal-day.is-preview.is-end::before { background: color-mix(in srgb, var(--accent) 55%, transparent); }
/* Tras elegir la llegada, las salidas posibles se marcan con un punto */
.cal-day.is-checkout:not(.is-end):not(.in-range) span::after {
  content: ""; position: absolute; left: 50%; bottom: 6px; width: 3px; height: 3px;
  border-radius: 50%; background: var(--accent); translate: -50% 0;
}

/* Resumen */
.cal-summary {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.8rem; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr 1fr auto 1.2fr auto; gap: 1.5rem 2rem; align-items: end;
}
.sum-item { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.sum-label { font-size: 0.66rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
.sum-value { font-family: var(--serif); font-size: 1.45rem; line-height: 1.2; color: var(--ink); text-transform: capitalize; white-space: nowrap; }
.sum-total { align-items: flex-end; text-align: right; }
.sum-price { font-family: var(--serif); font-size: 2rem; line-height: 1; color: var(--ink); min-height: 1em; }
.stepper { display: flex; align-items: center; gap: 14px; }
.stepper button {
  width: 32px; height: 32px; border-radius: 50%;
  background: none; border: 1px solid var(--line); color: var(--ink);
  font-size: 1.1rem; line-height: 1; cursor: pointer;
  transition: border-color 0.3s, color 0.3s, opacity 0.3s;
}
.stepper button:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.stepper button:disabled { opacity: 0.3; cursor: default; }
.stepper .sum-value { min-width: 1.6ch; text-align: center; }
#bookBtn { transition: color 0.4s var(--ease-out), opacity 0.4s, transform 0.4s var(--ease-out); }
#bookBtn:disabled { opacity: 0.35; cursor: default; }
#bookBtn:disabled::before { display: none; }
#bookBtn:not(:disabled) { animation: bookReady 0.6s var(--ease-out); }
@keyframes bookReady { from { transform: translateY(6px); opacity: 0.4; } }
.cal-note { margin: 1rem 0 0; min-height: 1.4em; font-size: 0.85rem; color: var(--ink-soft); text-align: right; }

/* Ventana con el formulario de Smoobu */
.book-modal {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center; padding: 24px;
  background: rgba(8, 10, 20, 0);
  backdrop-filter: blur(0px); -webkit-backdrop-filter: blur(0px);
  transition: background 0.45s var(--ease-out), backdrop-filter 0.45s var(--ease-out);
}
/* Sin esto, display:grid anula el atributo hidden y la capa invisible bloquea los clics de toda la página */
.book-modal[hidden] { display: none; }
.book-modal.open { background: rgba(8, 10, 20, 0.5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.book-sheet {
  width: min(980px, 100%); height: min(860px, 100%);
  display: flex; flex-direction: column;
  background: #faf8f4; color: #1f1d1a;
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 50px 120px -30px rgba(0, 0, 0, 0.5);
  opacity: 0; transform: translateY(40px) scale(0.97);
  transition: opacity 0.45s var(--ease-out), transform 0.55s var(--ease-out);
}
.book-modal.open .book-sheet { opacity: 1; transform: none; }
.book-head {
  display: flex; align-items: center; gap: 1.5rem;
  padding: 18px 22px 14px 28px; border-bottom: 1px solid rgba(31, 29, 26, 0.08);
}
.book-head > div { flex: 1; min-width: 0; }
.book-head .eyebrow { margin: 0 0 2px; color: #a4805a; }
.book-dates { margin: 0; font-family: var(--serif); font-size: 1.35rem; text-transform: capitalize; }
.book-newtab { font-size: 0.78rem; color: #605b52; border-bottom: 1px solid currentColor; white-space: nowrap; }
.book-newtab:hover { color: #a4805a; }
.book-close {
  width: 40px; height: 40px; flex: none; border-radius: 50%;
  background: none; border: 1px solid rgba(31, 29, 26, 0.15); color: #1f1d1a;
  font-size: 1.4rem; line-height: 1; cursor: pointer; transition: transform 0.4s var(--ease-out), border-color 0.3s;
}
.book-close:hover { transform: rotate(90deg); border-color: #a4805a; }
#bookFrame { flex: 1; width: 100%; border: 0; background: #faf8f4; }

/* ---------- CTA nocturno ---------- */
.cta {
  min-height: 100vh; display: grid; place-items: center;
  text-align: center; color: var(--white);
}
.cta-content { padding: 0 var(--gutter); }
.cta .eyebrow { color: rgba(255, 255, 255, 0.75); }
.cta h2 { font-size: clamp(2.4rem, 6vw, 5rem); margin-bottom: 2.4rem; }
.cta em { color: #f3e3c6; }

/* ---------- Pie ---------- */
.footer {
  margin-bottom: 90px;
  padding: 3.5rem clamp(20px, 5vw, 72px) 1.6rem;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem;
}
.footer-col { display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.9rem; color: var(--ink-soft); }
.footer-col .logo { color: var(--ink); margin-bottom: 0.6rem; }
.footer-col h4 { margin: 0 0 0.6rem; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink); font-weight: 500; }
.footer-col a:not(.logo):hover { color: var(--accent); }
.footer-wa { display: inline-flex; align-items: center; gap: 0.5rem; }
.footer-wa svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; }
.footer-bottom { grid-column: 1 / -1; margin: 2.4rem 0 0; padding-top: 1.6rem; border-top: 1px solid var(--line); font-size: 0.8rem; color: var(--ink-soft); }

/* ==========================================================
   Animaciones de aparición al hacer scroll
   ========================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }

/* El recorte va en la imagen (no en el contenedor observado) para que IntersectionObserver lo detecte */
.reveal-img > img, .reveal-img > iframe {
  clip-path: inset(100% 0 0 0);
  transform: scale(1.2);
  transition: clip-path 1.4s var(--ease-out), transform 1.8s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.reveal-img.in > img, .reveal-img.in > iframe { clip-path: inset(0 0 0 0); transform: scale(1); }
.reveal-img > iframe { transform: none; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: 0;
    flex-direction: column; justify-content: center; gap: 2rem;
    background: #faf8f4; color: #1f1d1a;
    clip-path: circle(0 at calc(100% - 40px) 40px);
    transition: clip-path 0.7s var(--ease-out);
  }
  .nav a:not(.btn) { font-family: var(--serif); font-size: 2rem; text-transform: none; letter-spacing: 0; }
  .nav .btn, .header:not(.scrolled) .nav .btn { background: #1f1d1a; color: #fff; }
  .menu-open .nav { clip-path: circle(150% at calc(100% - 40px) 40px); }
  .menu-open .header { color: #1f1d1a; }

  .split, .split-reverse { grid-template-columns: 1fr; }
  .split-reverse .split-media { order: 2; }
  .split-media { aspect-ratio: 4 / 3; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .footer { grid-template-columns: 1fr 1fr; }
  .footer-col:first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .perks { grid-template-columns: 1fr; padding-block: 1.5rem; }
  .perk { padding: 1.4rem 0; }
  .perk + .perk { border-left: 0; border-top: 1px solid var(--line); }
  .specs { grid-template-columns: repeat(2, 1fr); }
  .services { grid-template-columns: 1fr; }
  .footer { grid-template-columns: 1fr; }
  .section { margin-block: 12vh; }
  .sky-clock { left: 12px; bottom: 12px; }
}

/* Calendario en pantallas estrechas: un solo mes y resumen apilado */
@media (max-width: 760px) {
  .cal-months { grid-template-columns: 1fr; }
  .cal-months > .cal-month:nth-child(2) { display: none; }
  .cal-clear { display: none; }
  .cal-summary { grid-template-columns: 1fr 1fr; }
  .sum-total { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: baseline; }
  #bookBtn { grid-column: 1 / -1; width: 100%; }
  .cal-note { text-align: left; }
  .book-modal { padding: 0; place-items: end stretch; }
  .book-sheet { height: 94svh; width: 100%; border-radius: 20px 20px 0 0; transform: translateY(100%); }
  .book-newtab { display: none; }
}

/* Respeta a quien prefiere menos movimiento */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal, .reveal-img > img, .reveal-img > iframe, .split-in, .hero-title .line > span { opacity: 1; transform: none; clip-path: none; }
}
