/* ═══════════════════════════════════════════════════════════════
   ATLANTIS — Excursiones en Barco · Blanes, Costa Brava
   Main Stylesheet  ·  Mobile-first refactor
═══════════════════════════════════════════════════════════════ */

/* ─── 1. LOCAL FONTS ────────────────────────────────────────── */
@font-face {
  font-family: 'General Sans';
  src: url('../fonts/GeneralSans-Regular.woff2') format('woff2'),
       url('../fonts/GeneralSans-Regular.woff')  format('woff');
  font-weight: 400;
  font-style:  normal;
  font-display: optional;
}

@font-face {
  font-family: 'General Sans';
  src: url('../fonts/GeneralSans-Semibold.woff2') format('woff2'),
       url('../fonts/GeneralSans-Semibold.woff')  format('woff');
  font-weight: 600;
  font-style:  normal;
  font-display: optional;
}

@font-face {
  font-family: 'Bebas Neue';
  src: url('../fonts/BebasNeue-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style:  normal;
  font-display: optional;
}

@font-face {
  font-family: 'Cinzel';
  src: url('../fonts/Cinzel-SemiBold.woff2') format('woff2');
  font-weight: 600 700;
  font-style:  normal;
  font-display: optional;
}

/* ─── 2. DESIGN TOKENS ─────────────────────────────────────── */
:root {
  /* ── New Palette ── */
  --sand:          #F5F0E8;
  --deep-teal:     #020A30;
  --teal-mid:      #061A55;
  --turquoise:     #4A90E8;
  --coral:         #F25C2C;
  --sand-gold:     #E8C98A;
  --white:         #FFFFFF;
  --text:          #1A2A30;
  --text-muted:    #4A6A9C;

  /* ── Legacy aliases (backward compat for old CSS/JS) ── */
  --azul-noche:        var(--deep-teal);
  --azul-profundo:     var(--teal-mid);
  --azul-mediterraneo: var(--turquoise);
  --azul-claro:        var(--turquoise);
  --azul-cielo:        #90E0EF;
  --blanco-nautico:    var(--sand);
  --blanco:            var(--white);
  --gris-suave:        #EAE6DE;
  --gris-medio:        #9AACB3;
  --dorado:            var(--sand-gold);
  --dorado-claro:      #F0C040;
  --dorado-oscuro:     #A07810;
  --madera:            #8B5E3C;
  --madera-clara:      #C4965A;
  --negro:             var(--text);

  /* ── Typography ── */
  --font-logo:    'Cinzel', serif;
  --font-display: 'Bebas Neue', sans-serif;
  --font-label:   'General Sans', sans-serif;
  --font-body:    'General Sans', sans-serif;

  /* ── Layout ── */
  --header-height: 60px;
  --max-width:     1280px;

  /* ── Spacing ── */
  --sp-1: 0.25rem;  --sp-2: 0.5rem;   --sp-3: 0.75rem;
  --sp-4: 1rem;     --sp-6: 1.5rem;   --sp-8: 2rem;
  --sp-12: 3rem;    --sp-16: 4rem;    --sp-24: 6rem;

  /* ── Radii ── */
  --r-sm: 4px;  --r-md: 8px;  --r-lg: 16px;
  --r-xl: 24px; --r-pill: 9999px;

  /* ── Shadows ── */
  --sh-sm:   0 1px 4px rgba(2,10,48,.1);
  --sh-md:   0 4px 16px rgba(2,10,48,.15);
  --sh-lg:   0 8px 32px rgba(2,10,48,.2);
  --sh-xl:   0 16px 64px rgba(2,10,48,.25);
  --sh-gold: 0 4px 28px rgba(232,201,138,.4);

  /* ── Transitions ── */
  --t-fast:   150ms ease;
  --t-base:   260ms ease;
  --t-slow:   420ms ease;
  --t-bounce: 420ms cubic-bezier(.34,1.56,.64,1);

  /* ── Z-index ── */
  --z-drop: 100; --z-over: 800; --z-head: 900;
}

/* Desktop: restore larger header height */
@media (min-width: 768px) {
  :root { --header-height: 72px; }
}

/* ─── 3. RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--negro);
  background: var(--blanco-nautico);
  line-height: 1.65;
  overflow-x: hidden;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

body.menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

img, svg { display: block; max-width: 100%; }
a, button, input, select, textarea, [role="button"] { touch-action: manipulation; }
a        { color: inherit; text-decoration: none; }
ul, ol   { list-style: none; }
button   { cursor: pointer; border: none; background: none; font-family: inherit; }

::selection { background: var(--azul-mediterraneo); color: #fff; }

:focus-visible {
  outline: 2px solid var(--turquoise);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 9999;
  padding: 12px 24px;
  background: var(--sand-gold);
  color: var(--deep-teal);
  font-weight: 600;
  border-radius: var(--r-md);
  text-decoration: none;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

/* ─── Widow prevention ───────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 { text-wrap: balance; }
p, li, blockquote, figcaption { text-wrap: pretty; }

/* ─── 4. KEYFRAME ANIMATIONS ────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes dotBlink {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.6); opacity: .5; }
}

/* Entrance helpers */
.anim { opacity: 0; animation: fadeInUp .85s ease forwards; }
.d1 { animation-delay: .1s; }
.d2 { animation-delay: .28s; }
.d3 { animation-delay: .46s; }
.d4 { animation-delay: .64s; }
.d5 { animation-delay: .82s; }

/* Above-the-fold: fade only (no translateY) to prevent CLS */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.hero .anim { animation-name: fadeIn; }

/* ─── 5. HEADER ─────────────────────────────────────────────── */
.header {
  position: fixed;
  inset: 0 0 auto;
  height: var(--header-height);
  z-index: var(--z-head);
  transition: box-shadow var(--t-base);
  padding-top: env(safe-area-inset-top, 0px);
}

/* Glass layer */
.header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(2,10,48,.85) 0%,
    rgba(2,10,48,.7) 100%
  );
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: background var(--t-base), border-color var(--t-base);
}

.header.scrolled::before {
  background: rgba(2,10,48,.97);
  border-bottom-color: rgba(212,160,23,.18);
}
.header.scrolled { box-shadow: 0 4px 36px rgba(2,10,48,.45); }

.nav-container {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  /* Mobile: narrower padding */
  padding: 0 var(--sp-6);
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--sp-8);
}

@media (min-width: 768px) {
  .nav-container { padding: 0 var(--sp-8); }
}

/* Logo */
.header-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex-shrink: 0;
  transition: opacity var(--t-fast);
}
.header-logo:hover { opacity: .82; }

.header-logo-img {
  height: 38px;
  width: auto;
}

@media (min-width: 768px) {
  .header-logo-img {
    height: 46px;
  }
}

.logo-text { display: flex; flex-direction: column; line-height: 1; }

.logo-name {
  font-family: var(--font-logo);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--blanco);
}

.logo-sub {
  display: none;
}

@media (min-width: 768px) {
  .logo-sub {
    display: block;
    font-size: clamp(0.65rem, 1.5vw, 0.72rem);
    font-weight: 500;
    letter-spacing: .18em;
    color: var(--dorado);
    text-transform: uppercase;
    margin-top: 1px;
  }
}

/* Desktop nav — hidden on mobile, shown at 1024px+ */
.header-nav {
  display: none;
}

@media (min-width: 1024px) {
  .header-nav {
    flex: 1;
    min-width: 0;
    display: flex;
    justify-content: center;
    gap: 0;
  }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .nav-container { gap: var(--sp-2); }
  .header-nav a { padding: var(--sp-2) var(--sp-2); font-size: .75rem; }
}

.header-nav a {
  display: block;
  position: relative;
  padding: var(--sp-2) var(--sp-4);
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: rgba(255,255,255,.82);
  border-radius: var(--r-md);
  transition: color var(--t-fast), background var(--t-fast);
}

.header-nav a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: calc(100% - 2rem);
  height: 1px;
  background: var(--dorado);
  transition: transform var(--t-base);
}
.header-nav a:hover { color: #fff; background: rgba(255,255,255,.06); }
.header-nav a:hover::after { transform: translateX(-50%) scaleX(1); }

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
}

/* ── Language selector — hidden mobile, visible 768px+ ── */
.lang-selector { position: relative; }

/* Mobile: hide lang selector and CTA button */
.btn-header-cta,
.lang-selector { display: none; }

@media (min-width: 1024px) {
  .btn-header-cta,
  .lang-selector { display: flex; }
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 14px;
  min-height: 44px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--r-pill);
  color: rgba(255,255,255,.88);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .06em;
  transition: background-color var(--t-fast), border-color var(--t-fast);
}
.lang-btn:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.28); }

.lang-globe { opacity: .65; }

.lang-code { font-family: var(--font-logo); font-size: .72rem; }

.lang-chevron {
  opacity: .55;
  transition: transform var(--t-fast);
}
.lang-selector.open .lang-chevron { transform: rotate(180deg); }

.lang-dropdown {
  position: absolute;
  top: calc(100% + 9px);
  right: 0;
  min-width: 158px;
  background: rgba(2,10,48,.97);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-lg);
  padding: var(--sp-2);
  box-shadow: var(--sh-xl);
  opacity: 0;
  transform: translateY(-10px) scale(.96);
  transform-origin: top right;
  pointer-events: none;
  transition: opacity var(--t-bounce), transform var(--t-bounce);
  z-index: var(--z-drop);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.lang-selector.open .lang-dropdown {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.lang-opt {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  width: 100%;
  padding: 8px 11px;
  border-radius: var(--r-md);
  font-size: .875rem;
  font-weight: 500;
  color: rgba(255,255,255,.78);
  transition: color var(--t-fast), background-color var(--t-fast);
  text-align: left;
}
.lang-opt:hover           { background: rgba(255,255,255,.08); color: #fff; }
.lang-opt.active          { color: var(--dorado-claro); background: rgba(212,160,23,.1); }
.lang-flag                { font-size: 1rem; line-height: 1; }

/* ── Header CTA ── */
.btn-header-cta {
  align-items: center;
  padding: 9px 20px;
  background: linear-gradient(135deg, var(--dorado) 0%, var(--dorado-claro) 100%);
  color: var(--negro);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .03em;
  border-radius: var(--r-pill);
  box-shadow: var(--sh-gold), 0 2px 8px rgba(0,0,0,.22);
  white-space: nowrap;
  transition: transform var(--t-bounce), box-shadow var(--t-bounce);
}
.btn-header-cta:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 36px rgba(212,160,23,.5), 0 4px 16px rgba(0,0,0,.25);
}
.btn-header-cta:active { transform: translateY(0) scale(.99); }

/* ── Hamburger — shown mobile, hidden at 1024px+ ── */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 48px; height: 48px;
  margin-left: auto;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-md);
}

@media (min-width: 1024px) {
  .hamburger { display: none; }
}

.ham-line {
  display: block;
  width: 20px; height: 1.5px;
  background: #fff;
  border-radius: 2px;
  transition: transform var(--t-base), opacity var(--t-base);
}
.hamburger.active .ham-line:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.active .ham-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active .ham-line:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Mobile menu ── */
.mobile-menu {
  position: fixed;
  inset: var(--header-height) 0 0;
  background: rgba(2,10,48,.99);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* Mobile: compact padding */
  padding: 1.5rem 1.25rem 2rem;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform var(--t-slow) cubic-bezier(.77,0,.175,1),
              visibility 0s var(--t-slow);
  z-index: var(--z-over);
  overflow-y: auto;
}

@media (min-width: 768px) {
  .mobile-menu { padding: var(--sp-12) var(--sp-8) var(--sp-16); }
}

.mobile-menu.open { transform: translateX(0); visibility: visible; transition: transform var(--t-slow) cubic-bezier(.77,0,.175,1); }

.mob-nav-list { display: flex; flex-direction: column; gap: var(--sp-1); }

.mob-nav-link {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 600;
  color: rgba(255,255,255,.82);
  padding: var(--sp-2) 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: color var(--t-fast), padding-left var(--t-base);
}
.mob-nav-link:hover { color: var(--dorado); padding-left: var(--sp-4); }

.mob-footer { display: flex; flex-direction: column; gap: var(--sp-6); }

.mob-lang-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-2);
}
.mob-lang-btn {
  padding: 9px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-md);
  font-size: .875rem;
  font-weight: 700;
  color: rgba(255,255,255,.72);
  letter-spacing: .05em;
  transition: color var(--t-fast), background-color var(--t-fast), border-color var(--t-fast);
}
.mob-lang-btn:hover,
.mob-lang-btn.active {
  background: rgba(212,160,23,.15);
  border-color: rgba(212,160,23,.4);
  color: var(--dorado-claro);
}

.btn-mob-cta {
  display: block;
  text-align: center;
  padding: 16px;
  background: linear-gradient(135deg, var(--dorado) 0%, var(--dorado-claro) 100%);
  color: var(--negro);
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--r-lg);
  letter-spacing: .04em;
}

/* ─── 6. HERO ─────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

/* Mobile: 100dvh minimum */
@media (min-width: 768px) {
  .hero { align-items: flex-end; min-height: 100svh; min-height: 100dvh; }
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg picture {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  object-position: 50% 40%;
  transform: scale(1.05);
}

@media (min-width: 480px) {
  .hero-photo {
    object-position: 50% 35%;
    transform: scale(1.1);
  }
}

@media (min-width: 768px) {
  .hero-photo {
    object-position: 50% 30%;
    transform: scale(1.05);
  }
}

@media (min-width: 1024px) {
  .hero-photo {
    object-position: 50% 30%;
    transform: scale(1.02);
  }
}

@media (min-width: 1280px) {
  .hero-photo {
    object-position: 50% 30%;
    transform: none;
  }
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  display: none;
}

@media (min-width: 768px) {
  .hero-video {
    display: block;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to top,
    rgba(2,10,48,.85) 0%,
    rgba(2,10,48,.5) 40%,
    rgba(2,10,48,.35) 100%
  );
}

/* Mobile base (was max-width:480px override) */
.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--sp-4) max(var(--sp-4), env(safe-area-inset-right, 0px)) max(var(--sp-6), env(safe-area-inset-bottom, 0px)) max(var(--sp-4), env(safe-area-inset-left, 0px));
  gap: var(--sp-6);
}

@media (min-width: 480px) {
  .hero-container { padding: var(--sp-6) max(var(--sp-6), env(safe-area-inset-right, 0px)) max(var(--sp-8), env(safe-area-inset-bottom, 0px)) max(var(--sp-6), env(safe-area-inset-left, 0px)); gap: var(--sp-8); }
}

@media (min-width: 768px) {
  .hero-container { padding: 0 max(var(--sp-6), env(safe-area-inset-right, 0px)) var(--sp-12) max(var(--sp-6), env(safe-area-inset-left, 0px)); }
}

@media (min-width: 1024px) {
  .hero-container {
    padding: 0 var(--sp-8) var(--sp-16);
    grid-template-columns: 1fr;
    padding-top: var(--sp-8);
    text-align: left;
  }
}

.hero-content {
  max-width: 640px;
}

.hero-label {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--font-label);
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--turquoise);
  margin-bottom: var(--sp-4);
}

.hero-label-line {
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--turquoise);
  flex-shrink: 0;
}

/* Mobile: smaller title */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 10vw, 64px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: .02em;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: var(--sp-6);
}

@media (min-width: 768px) {
  .hero-title { font-size: clamp(48px, 6.5vw, 80px); }
}

.hero-title em {
  font-style: normal;
  color: var(--turquoise);
}

.hero-sub {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255,255,255,.92);
  max-width: 480px;
  margin-bottom: var(--sp-4);
  border-left: 3px solid var(--turquoise);
  padding-left: var(--sp-4);
}

/* Hero trust badge (#6) */
.hero-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.18);
  padding: 8px 16px;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: .875rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: var(--sp-6);
}

/* Hero CTA guarantee (#14) */
.hero-cta-guarantee {
  display: block;
  font-family: var(--font-body);
  font-size: .75rem;
  color: rgba(255,255,255,.6);
  text-align: center;
  margin-top: var(--sp-1);
}
@media (min-width: 480px) {
  .hero-cta-guarantee { text-align: left; }
}

/* Mobile: stacked ctas */
.hero-ctas {
  display: flex;
  gap: var(--sp-4);
  flex-direction: column;
  align-items: stretch;
  flex-wrap: wrap;
}

.hero-ctas .btn-primary,
.hero-ctas .btn-ghost {
  width: 100%;
  justify-content: center;
}

@media (min-width: 480px) {
  .hero-ctas { flex-direction: row; align-items: flex-start; }
  .hero-ctas .btn-primary,
  .hero-ctas .btn-ghost { width: auto; justify-content: initial; }
}

@media (min-width: 1024px) {
  .hero-ctas { justify-content: flex-start; }
}

/* Mobile: stats stacked */
.hero-stats {
  flex-direction: column;
  gap: var(--sp-4);
}

.stat-div {
  width: 36px;
  height: 1px;
}

.float-badge { display: none; }

@media (min-width: 480px) {
  .hero-stats { flex-direction: row; gap: var(--sp-6); }
  .stat-div   { width: auto; height: auto; }
}

@media (min-width: 768px) {
  .hero-stats { gap: var(--sp-6); padding: var(--sp-3) var(--sp-6); }
  .stat-n     { font-size: 1.25rem; }
}

@media (min-width: 1024px) {
  .hero-badge,
  .hero-sub  { margin-left: auto; margin-right: auto; }
  .hero-stats { margin: 0 auto; }
  .float-badge { left: 0; bottom: -12px; }
}

/* ── Landscape iPhone support ── */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    height: 100svh;
    height: 100dvh;
  }
  .hero-title {
    font-size: clamp(32px, 8vw, 56px);
  }
  .hero-sub {
    display: none;
  }
  .hero-container {
    padding-bottom: var(--sp-4);
  }
}

/* Suppress removed hero elements just in case any remain in DOM */
.hero-gradient, .hero-glow, .hero-rays, .ray,
.hero-bubbles, .bubble, .nautical-grid,
.hero-wave, .hero-visual, .hero-stats,
.hero-badge, .float-badge, .compass,
.media-frame, .ph-icon, .ph-label, .ph-dim,
.hero-badge, .badge-dot { display: none; }

/* ─── 7. BUTTONS ─────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--dorado) 0%, var(--dorado-claro) 100%);
  color: var(--negro);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .025em;
  border-radius: var(--r-pill);
  box-shadow: var(--sh-gold), 0 4px 18px rgba(0,0,0,.28);
  transition: all var(--t-bounce);
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 44px rgba(212,160,23,.55), 0 6px 22px rgba(0,0,0,.28);
}
.btn-primary:active { transform: translateY(0) scale(.99); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 14px 24px;
  background: rgba(255,255,255,.08);
  border: 1.5px solid rgba(255,255,255,.24);
  color: rgba(255,255,255,.9);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--r-pill);
  backdrop-filter: blur(8px);
  transition: all var(--t-base);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.4);
  color: #fff;
  transform: translateY(-2px);
}

/* ─── 8. SECTION PLACEHOLDER ────────────────────────────────── */
.sections-placeholder {
  padding: var(--sp-16) var(--sp-8);
  text-align: center;
  background: var(--blanco-nautico);
  font-size: .75rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(2,62,138,.22);
  font-family: var(--font-body);
  font-weight: 600;
  border-top: 1px dashed rgba(2,62,138,.1);
}

/* ─── 9. STATS BAND ─────────────────────────────────────── */
.stats-band {
  background: var(--deep-teal);
  padding: var(--sp-6) var(--sp-4);
}

.stats-band-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
  align-items: center;
  justify-items: center;
  flex-wrap: nowrap;
  gap: var(--sp-2);
}

/* Mobile: hide dividers; shown at 640px+ */
.stats-band-div {
  display: none;
}

@media (min-width: 640px) {
  .stats-band {
    padding: var(--sp-8) var(--sp-8);
  }
  .stats-band-inner {
    display: flex;
    justify-content: space-around;
  }
  .stats-band-div {
    display: block;
    width: 1px;
    height: 48px;
    background: rgba(255,255,255,.12);
    flex-shrink: 0;
  }
  .stats-band-inner { gap: var(--sp-6); }
}

.stats-band-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
  flex: 1;
  min-width: 0;
}

.sbi-num {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 72px);
  line-height: 1;
  color: var(--turquoise);
  letter-spacing: .02em;
  white-space: nowrap;
}

.sbi-label {
  font-family: var(--font-label);
  font-size: clamp(0.55rem, 1.5vw, 0.8rem);
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  line-height: 1.2;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* ==========================================================================
   BOOKING SECTION
   ========================================================================== */

.booking-section {
  background: linear-gradient(to bottom, var(--white) 85%, var(--sand) 100%);
  /* Mobile: less padding */
  padding: 60px 0 80px;
  position: relative;
  overflow: clip;
  clip-path: polygon(0 40px, 100% 0, 100% 100%, 0 100%);
  margin-top: -40px;
  padding-top: calc(var(--sp-24) + 40px);
}

/* Intentional 640px breakpoint: booking form benefits from earlier desktop layout */
@media (min-width: 640px) {
  .booking-section { padding: calc(var(--sp-24) + 40px) 0 100px; }
}

.booking-section::before {
  content: '';
  position: absolute;
  top: -40px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(74,144,232,.07) 0%, transparent 70%);
  pointer-events: none;
}

.booking-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Header ─────────────────────────────────── */
.booking-header {
  text-align: center;
  margin-bottom: 40px;
}

.booking-badge-row {
  margin-bottom: 12px;
}

.booking-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(74,144,232,.12);
  color: var(--turquoise);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
}

.booking-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  color: var(--azul-noche);
  margin: 0 0 12px;
  line-height: 1.15;
}
.booking-secure-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: var(--sp-2);
}

.booking-subtitle {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #5a6a8a;
  margin: 0;
}

/* ── Social proof ────────────────────────────── */
.booking-social-proof {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 600;
  color: #5a6a8a;
}

/* ── Emotion banner ──────────────────────────── */
.booking-emotion-banner {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
  max-height: 160px;
}
.booking-emotion-banner img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}
@media (min-width: 640px) {
  .booking-emotion-banner { max-height: 200px; }
  .booking-emotion-banner img { height: 200px; }
}

/* ── Price anchor ────────────────────────────── */
.booking-price-anchor {
  text-align: center;
  font-family: var(--font-body);
  font-size: .9rem;
  color: #5a6a8a;
  margin-bottom: 20px;
  padding: 10px 16px;
  background: rgba(74,144,232,.06);
  border-radius: 8px;
  border: 1px solid rgba(74,144,232,.1);
}
.booking-price-anchor strong {
  color: var(--azul-noche);
  font-size: 1.1rem;
}

/* ── Guarantee badge ─────────────────────────── */
.booking-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px;
  margin-top: 8px;
  padding: 10px 16px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 600;
  color: #166534;
}
.booking-guarantee svg {
  color: #22c55e;
  flex-shrink: 0;
}

/* Micro-copy reassurance */
.b-micro-copy {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  margin: var(--sp-2) 0 0;
  font-style: italic;
  opacity: 0.85;
}

/* ── Progress ────────────────────────────────── */
.booking-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 16px;
}

/* Compact steps for 4-step layout */
.bp-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 48px;
}

@media (min-width: 640px) {
  .bp-step { min-width: 64px; }
}

.bp-circle {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid #cdd5e0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .9rem;
  color: #9aabbf;
  background: #fff;
  transition: border-color .3s, background .3s, color .3s;
}

/* Mobile: slightly larger label for readability */
.bp-label {
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 600;
  color: #6B7D8F;
  white-space: nowrap;
  transition: color .3s;
}

@media (min-width: 640px) {
  .bp-label { font-size: .65rem; }
}

/* Connector between steps */
.bp-connector {
  flex: 1;
  height: 2px;
  background: #cdd5e0;
  margin: 0 2px;
  margin-bottom: 22px;
  transition: background .3s;
  max-width: 28px;
}

@media (min-width: 640px) {
  .bp-connector { max-width: 60px; }
}

@media (max-width: 389px) {
  .bp-step { min-width: 36px; }
  .bp-label { display: none; }
  .bp-circle { width: 36px; height: 36px; font-size: 0.85rem; }
  .bp-connector { max-width: 20px; margin: 0 2px; }
}

/* Active and completed step styles */
.bp-step.bp-active .bp-circle {
  border-color: var(--azul-mediterraneo);
  background: var(--azul-mediterraneo);
  color: #fff;
}
.bp-step.bp-active .bp-label { color: var(--azul-noche); }

.bp-step.bp-done .bp-circle {
  border-color: #22c55e;
  background: #22c55e;
  color: #fff;
}
.bp-step.bp-done .bp-label { color: var(--azul-noche); }

.bp-connector.bp-done { background: var(--azul-mediterraneo); }

/* ── Card ─────────────────────────────────────── */
.booking-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(2,62,138,.10), 0 1px 4px rgba(0,0,0,.06);
  overflow: clip;
}

/* ── Step ─────────────────────────────────────── */
.booking-step {
  animation: bstep-in .3s ease;
}

@keyframes bstep-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes bstep-in-reverse {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.b-hidden { display: none !important; }

/* Mobile: compact inner padding */
.bstep-inner {
  padding: 16px 16px 8px;
}

@media (min-width: 640px) {
  .bstep-inner { padding: 20px 28px 8px; }
}

/* ── Form grid ────────────────────────────────── */
/* Mobile: single column */
.booking-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px 16px;
}

@media (min-width: 640px) {
  .booking-grid-2 { grid-template-columns: 1fr 1fr; }
}

/* Mobile: 2 columns */
.booking-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
  margin-top: 12px;
}

/* Intentional 640px breakpoint: booking grid 3-col benefits from earlier switch */
@media (min-width: 640px) {
  .booking-grid-3 { grid-template-columns: 1fr 1fr 1fr; }
}

.b-field { display: flex; flex-direction: column; gap: 6px; }
.b-field--full { grid-column: 1 / -1; margin-top: 4px; }

.b-label {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--azul-noche);
  letter-spacing: .3px;
}

@media (min-width: 768px) {
  .b-label { font-size: 0.9rem; }
}

/* iOS zoom prevention: font-size >= 1rem */
.b-input {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--azul-noche);
  background: #f5f8ff;
  border: 1.5px solid #dae2f0;
  border-radius: 10px;
  padding: 14px 16px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
  box-sizing: border-box;
}

.b-input:focus {
  border-color: var(--azul-mediterraneo);
  box-shadow: 0 0 0 3px rgba(74,144,232,.12);
  background: #fff;
}

.b-input--date { cursor: pointer; }

select.b-input {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M1.4 0L6 4.6 10.6 0 12 1.4l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

/* Phone prefix + number group */
.b-phone-group {
  display: flex;
  gap: 8px;
}
.b-phone-group select {
  width: 140px;
  flex-shrink: 0;
}
.b-phone-group input {
  flex: 1;
  min-width: 0;
}

.b-textarea {
  resize: vertical;
  min-height: 80px;
}

.b-input--counter {
  text-align: center;
  font-weight: 700;
  max-width: 48px;
  padding: 8px 4px;
  border-left: none;
  border-right: none;
  border-radius: 0;
}

.b-error {
  font-family: var(--font-body);
  font-size: .85rem;
  color: #e53e3e;
  min-height: 1em;
}

.b-input--error {
  border-color: #e53e3e;
  background: #fff5f5;
}

/* ── Counter buttons ──────────────────────────── */
.b-counter {
  display: flex;
  align-items: center;
}

/* Touch target: 44×44 minimum */
.counter-btn {
  width: 44px; height: 44px;
  background: #f0f4ff;
  border: 1.5px solid #dae2f0;
  color: var(--azul-noche);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, border-color .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.counter-btn:first-child { border-radius: 10px 0 0 10px; }
.counter-btn:last-child  { border-radius: 0 10px 10px 0; }

.counter-btn:hover {
  background: var(--azul-mediterraneo);
  border-color: var(--azul-mediterraneo);
  color: #fff;
}

.counter-btn--disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

/* ── Availability grid ────────────────────────── */
.avail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 8px;
  margin-top: 4px;
}

.avail-hint {
  grid-column: 1 / -1;
  font-family: var(--font-body);
  font-size: .85rem;
  color: #7a8da8;
  text-align: center;
  padding: 20px 0;
}

/* Touch target: min-height 44px */
.slot-card {
  background: #f5f8ff;
  border: 2px solid #dae2f0;
  border-radius: 12px;
  padding: 8px 12px;
  min-height: 44px;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s, background .2s, transform .15s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.slot-card:hover:not(.slot-full):not(.slot-disabled) {
  border-color: var(--azul-mediterraneo);
  background: #eef4ff;
  transform: translateY(-2px);
}

.slot-card.slot-selected {
  border-color: var(--azul-mediterraneo);
  background: rgba(74,144,232,.07);
  box-shadow: 0 0 0 3px rgba(74,144,232,.15);
}

.slot-card.slot-full {
  opacity: .55;
  cursor: not-allowed;
}

.slot-card.slot-disabled {
  opacity: .4;
  cursor: not-allowed;
}

.slot-icon { font-size: 1.1rem; }

.slot-name {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .85rem;
  color: var(--azul-noche);
}

.slot-time {
  font-family: var(--font-body);
  font-size: .85rem;
  color: #5a6a8a;
}

.slot-avail {
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 600;
  color: #22c55e;
  margin-top: 2px;
}

.slot-full-lbl, .slot-disabled-lbl {
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 600;
  color: #e53e3e;
  margin-top: 2px;
}

.slot-scarce-lbl {
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 600;
  color: #d97706;
  margin-top: 2px;
}

.slot-card.slot-scarce {
  border-color: #fde68a;
  background: #fffbeb;
}

.slot-card.slot-scarce:hover {
  border-color: #f59e0b;
  background: #fef3c7;
}

.scarce-warning {
  color: #d97706 !important;
  font-size: 1.1rem;
}

/* Slot descriptions */
.slot-desc {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: var(--sp-1);
  letter-spacing: 0.2px;
}
.slot-popular-badge {
  display: inline-block;
  background: var(--sand-gold);
  color: var(--deep-teal);
  font-size: 0.6rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--r-pill);
  letter-spacing: 0.8px;
  margin-top: var(--sp-1);
}
.slot-event-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--sand-gold), var(--dorado-claro));
  color: var(--deep-teal);
  font-size: 0.6rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--r-pill);
  letter-spacing: 0.5px;
  margin-top: var(--sp-1);
}
.slot-event-price {
  display: block;
  font-weight: 700;
  color: var(--turquoise);
  font-size: 0.85rem;
  margin-top: var(--sp-1);
}
.cal-event-dot {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sand-gold);
  margin: 2px auto 0;
}

/* Field group labels */
.b-fieldgroup {
  margin-bottom: var(--sp-4);
}
.b-fieldgroup-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-muted);
  margin-bottom: var(--sp-3);
  padding-bottom: var(--sp-2);
  border-bottom: 1px solid rgba(74, 144, 232, 0.15);
}

/* ── Price preview ────────────────────────────── */
.price-preview {
  background: linear-gradient(135deg, rgba(74,144,232,.06), rgba(74,144,232,.04));
  border: 1px solid rgba(74,144,232,.15);
  border-radius: 10px;
  padding: 12px 16px;
  margin-top: 16px;
  font-family: var(--font-body);
  font-size: .85rem;
  color: var(--azul-noche);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.price-preview:empty { display: none; }

.price-preview-label { color: #5a6a8a; }

.price-preview-amount {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--azul-noche);
}

/* ── Booking summary ──────────────────────────── */
.booking-summary {
  background: var(--deep-teal);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 24px;
  color: #fff;
}

.bs-title {
  font-family: 'Cinzel', Georgia, serif;
  font-size: .8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--dorado);
  margin: 0 0 12px;
}

/* Mobile: single column */
.bs-rows {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px 24px;
  margin-bottom: 14px;
}

@media (min-width: 640px) {
  .bs-rows { grid-template-columns: 1fr 1fr; }
}

.bs-row {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.bs-label {
  font-family: var(--font-body);
  font-size: .72rem;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  letter-spacing: .8px;
}

.bs-value {
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 600;
  color: #fff;
}

.bs-total-row {
  border-top: 1px solid rgba(255,255,255,.2);
  padding-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bs-total-label {
  font-family: var(--font-body);
  font-size: .82rem;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  letter-spacing: .8px;
}

.bs-total-amount {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 1.5rem;
  color: var(--dorado);
  font-weight: 600;
}

/* ── Payment title ────────────────────────────── */
.payment-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .82rem;
  color: var(--azul-noche);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 12px;
}

/* ── Payment grid ─────────────────────────────── */
/* Mobile: single column */
.payment-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 8px;
}

@media (min-width: 640px) {
  .payment-grid { grid-template-columns: 1fr 1fr; }
}

/* Touch target: min-height 44px */
.pay-card {
  background: #f5f8ff;
  border: 2px solid #dae2f0;
  border-radius: 12px;
  padding: 14px 14px 12px;
  min-height: 44px;
  cursor: pointer;
  text-align: left;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto;
  align-items: start;
  gap: 0 10px;
  transition: border-color .2s, background .2s, transform .15s;
  position: relative;
  width: 100%;
}

.pay-card:hover {
  border-color: var(--azul-mediterraneo);
  background: #eef4ff;
  transform: translateY(-1px);
}

.pay-card.pay-selected {
  border-color: var(--azul-mediterraneo);
  background: rgba(74,144,232,.07);
  box-shadow: 0 0 0 3px rgba(74,144,232,.13);
}

.pay-icon {
  font-size: 1.4rem;
  grid-row: 1 / 3;
  padding-top: 2px;
}

.pay-name {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .82rem;
  color: var(--azul-noche);
  display: block;
}

.pay-desc {
  font-family: var(--font-body);
  font-size: .72rem;
  color: #7a8da8;
  display: block;
}

.pay-check {
  grid-row: 1 / 3;
  color: var(--azul-mediterraneo);
  font-weight: 700;
  font-size: 1rem;
  opacity: 0;
  transition: opacity .2s;
  padding-top: 2px;
}

.pay-card.pay-selected .pay-check { opacity: 1; }

/* ── Privacy row ──────────────────────────────── */
.privacy-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0;
  cursor: pointer;
}

.privacy-check {
  width: 24px; height: 24px;
  min-width: 24px;
  margin-top: 1px;
  accent-color: var(--azul-mediterraneo);
  flex-shrink: 0;
  cursor: pointer;
  padding: 10px;
  box-sizing: content-box;
}

.privacy-text {
  font-family: var(--font-body);
  font-size: .8rem;
  color: #5a6a8a;
  line-height: 1.5;
}

/* ── Navigation buttons ───────────────────────── */
/* Mobile: compact padding */
.booking-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px 16px;
  border-top: 1px solid rgba(0,0,0,0.06);
  margin-top: 16px;
  position: sticky;
  bottom: 0;
  background: var(--white, #fff);
  z-index: 10;
  padding-top: 16px;
  padding-bottom: 16px;
}

@media (min-width: 640px) {
  .booking-nav { padding: 20px 40px 28px; }
}

.btn-booking-prev,
.btn-booking-next,
.btn-booking-submit {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .9rem;
  border-radius: 50px;
  cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
  border: none;
  outline: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 28px;
}

.btn-booking-prev {
  background: #f0f4fa;
  color: var(--azul-noche);
}
.btn-booking-prev:hover,
.btn-booking-prev:active {
  background: #dae2f0;
  transform: translateY(-1px);
}

.btn-booking-next {
  background: linear-gradient(135deg, var(--azul-mediterraneo), var(--azul-claro));
  color: #fff;
  box-shadow: 0 4px 14px rgba(74,144,232,.3);
}
.btn-booking-next:hover,
.btn-booking-next:active {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(74,144,232,.4);
}

.btn-booking-submit {
  background: linear-gradient(135deg, #023E8A, #0077B6);
  color: #fff;
  box-shadow: 0 4px 14px rgba(2,62,138,.35);
  min-width: 160px;
  min-height: 44px;
  justify-content: center;
}

@media (min-width: 640px) {
  .btn-booking-submit { min-width: 200px; }
}

.btn-booking-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2,62,138,.45);
}
.btn-booking-submit:disabled {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
}
.btn-booking-submit.btn-booking-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  box-shadow: 0 4px 14px rgba(37,211,102,.35);
  gap: 8px;
}
.btn-booking-submit.btn-booking-whatsapp:hover:not(:disabled) {
  box-shadow: 0 6px 20px rgba(37,211,102,.45);
}

/* ── Submit spinner ───────────────────────────── */
.submit-spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ── Success screen ───────────────────────────── */
/* Mobile: compact */
.booking-success {
  padding: 32px 20px 32px;
  text-align: center;
}

@media (min-width: 640px) {
  .booking-success { padding: 48px 40px 40px; }
}

.success-icon-wrap {
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.success-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(34,197,94,.35);
  animation: success-pop .5s cubic-bezier(.34,1.56,.64,1) both;
  position: relative;
  z-index: 1;
}
.success-icon svg { width: 36px; height: 36px; }

.success-icon-wrap::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(34,197,94,.25);
  animation: success-ring 1.2s ease-out .4s both;
}

@keyframes success-pop {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

@keyframes success-ring {
  from { transform: scale(.7); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.success-title {
  font-family: var(--font-logo);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--azul-noche);
  margin: 0 0 8px;
  letter-spacing: 0.01em;
}

.success-sub {
  font-family: var(--font-body);
  font-size: .92rem;
  color: #5a6a8a;
  margin: 0 0 28px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

/* ── Payment step testimonial ────────── */
.pay-testimonial {
  background: linear-gradient(135deg, #f8f6f1 0%, #f0ede5 100%);
  border-left: 3px solid var(--sand-gold);
  border-radius: var(--r-md);
  padding: var(--sp-4);
  margin: var(--sp-4) 0;
}
.pay-testimonial-quote {
  font-style: italic;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.6;
  margin: 0 0 var(--sp-2);
}
.pay-testimonial-author {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

/* ── Payment method selector (Step 3) ────────── */
.pay-methods { display: grid; gap: 8px; margin-bottom: 12px; }
.pay-method-card {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border: 2px solid #dae2f0; border-radius: var(--r-md);
  background: #f5f8ff; cursor: pointer; transition: border-color var(--t-fast), background var(--t-fast);
  text-align: left; width: 100%; font-family: var(--font-body);
}
.pay-method-card:hover:not(.pay-method-card--disabled) {
  border-color: var(--turquoise); background: #eef4ff;
}
.pay-method-card--selected {
  border-color: var(--turquoise); background: rgba(74,144,232,.07);
  box-shadow: 0 0 0 2px rgba(74,144,232,.18);
}
.pay-method-card--disabled {
  opacity: .5; cursor: not-allowed;
}
.pay-method-icon {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  background: var(--white); border-radius: var(--r-sm); flex-shrink: 0;
  border: 1px solid #dae2f0;
}
.pay-method-info { flex: 1; min-width: 0; }
.pay-method-name { font-weight: 600; font-size: 0.95rem; color: var(--text); display: flex; align-items: center; gap: 8px; }
.pay-method-desc { font-size: 0.82rem; color: var(--text-muted); margin-top: 2px; }
.pay-badge-soon {
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  background: var(--sand-gold); color: var(--deep-teal); padding: 2px 8px;
  border-radius: var(--r-pill); letter-spacing: 0.03em;
}
.pay-instructions {
  background: #f5f8ff; border: 1px solid #dae2f0; border-radius: var(--r-md);
  padding: 16px; margin-top: 12px; font-size: 0.9rem;
  animation: fadeIn .3s ease;
}
.pay-instructions dt { font-weight: 600; color: var(--text); margin-bottom: 2px; }
.pay-instructions dd { margin: 0 0 10px; color: var(--text-muted); word-break: break-all; }
.pay-instructions dd:last-child { margin-bottom: 0; }
.pay-instructions p { margin: 0; color: var(--text-muted); }
.pay-summary { margin-bottom: 20px; }
.pay-error { color: #e53e3e; font-size: 0.85rem; margin-bottom: 8px; }

/* ── Success summary — Boarding Pass ─────────── */
.success-summary {
  max-width: 400px;
  margin: 0 auto 24px;
}

.bp-card {
  background: var(--white);
  border: 1px solid #dae2f0;
  border-radius: var(--r-lg);
  overflow: hidden;
  text-align: left;
  box-shadow: 0 2px 16px rgba(2,10,48,.08);
  animation: success-card-in .5s ease .3s both;
}

.bp-ref {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--deep-teal);
  background: var(--sand-gold);
  padding: 5px 14px;
  border-radius: var(--r-pill);
  margin: 20px 22px 0;
}

.bp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 16px 22px 0;
}

.bp-cell {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 0;
}

.bp-cell-label {
  font-family: var(--font-body);
  font-size: .68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8a9ab5;
}

.bp-cell-value {
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  color: var(--azul-noche, #020A30);
  line-height: 1.3;
}

/* Perforated divider before boarding section */
.bp-boarding {
  position: relative;
  margin: 8px 0 0;
  padding: 16px 22px;
  background: #f8fafe;
  border-top: 2px dashed #d0dae8;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bp-boarding::before,
.bp-boarding::after {
  content: '';
  position: absolute;
  top: -9px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--sand, #F5F0E8);
}
.bp-boarding::before { left: -9px; }
.bp-boarding::after  { right: -9px; }

.bp-boarding-address {
  font-family: var(--font-body);
  font-size: .88rem;
  font-weight: 600;
  color: var(--azul-noche, #020A30);
  line-height: 1.4;
}

.bp-boarding-hint {
  font-family: var(--font-body);
  font-size: .78rem;
  color: #8a9ab5;
  line-height: 1.4;
}

.bp-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 22px;
  border-top: 1px solid #e8edf5;
  background: var(--white);
}

.bp-total .bp-cell-label {
  font-size: .75rem;
}

.bp-total-value {
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--turquoise, #4A90E8);
}

.bp-payment-id {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 22px;
  border-top: 1px solid #e8edf5;
  background: var(--white);
}

@media (max-width: 360px) {
  .bp-grid { grid-template-columns: 1fr; }
}

/* ── Success steps ───────────────────────────── */
.success-steps {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.success-step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 600;
  color: #5a6a8a;
}

.success-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--azul-mediterraneo);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 700;
}

/* ── Payment instructions ─────────────────────── */
.payment-instructions {
  background: #f5f8ff;
  border: 1px solid #dae2f0;
  border-radius: 12px;
  padding: 20px 24px;
  text-align: left;
  max-width: 420px;
  margin: 0 auto 24px;
}

.pi-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--azul-noche);
  margin: 0 0 14px;
}

.pi-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px solid #eef2f8;
  font-family: var(--font-body);
  font-size: .85rem;
}
.pi-row:last-child { border-bottom: none; }

.pi-key { color: #7a8da8; }
.pi-val { font-weight: 700; color: var(--azul-noche); word-break: break-all; }

.pi-text {
  font-family: var(--font-body);
  font-size: .85rem;
  color: #5a6a8a;
  line-height: 1.6;
  margin: 0;
}

/* ── QR ticket card ──────────────────────────── */
.success-qr:empty { display: none; }
.success-qr {
  max-width: 380px;
  margin: 0 auto var(--sp-8);
  background: linear-gradient(135deg, #020A30 0%, #061A55 100%);
  border-radius: var(--r-lg);
  padding: 24px;
  color: var(--white);
  box-shadow: 0 8px 32px rgba(2,10,48,.25);
  animation: success-card-in .5s ease .6s both;
}
@keyframes success-card-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.success-qr-top {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}
.success-qr #success-qr-code {
  flex-shrink: 0;
  width: 110px;
  height: 110px;
  background: var(--white);
  border-radius: var(--r-md);
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,.2);
}
.success-qr #success-qr-code img,
.success-qr #success-qr-code canvas {
  border-radius: 4px;
  width: 98px !important;
  height: 98px !important;
}
.success-qr-info {
  flex: 1;
  text-align: left;
  min-width: 0;
}
.success-qr-title {
  font-family: var(--font-logo);
  font-size: 1rem;
  color: var(--sand-gold);
  margin: 0 0 6px;
  letter-spacing: 0.04em;
}
.success-qr-hint {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: rgba(255,255,255,.65);
  margin: 0;
  line-height: 1.4;
}
.success-qr-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.btn-qr-download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 12px var(--sp-4);
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--t-fast), transform var(--t-fast);
  border: none;
  min-height: 48px;
  background: var(--sand-gold);
  color: var(--deep-teal);
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(232,201,138,.35);
  letter-spacing: 0.01em;
}
.btn-qr-download:hover {
  background: #f0d49a;
  transform: translateY(-1px);
}
.btn-qr-download:active { transform: scale(0.97); }

.btn-qr-share {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: none;
  border: none;
  color: rgba(255,255,255,.7);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  padding: 6px;
  transition: color var(--t-fast);
}
.btn-qr-share:hover { color: var(--white); }

/* Stack on very small screens */
@media (max-width: 360px) {
  .success-qr-top { flex-direction: column; text-align: center; }
  .success-qr-info { text-align: center; }
}

/* ── Success action buttons ───────────────────── */
.success-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: var(--sp-2);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #25D366;
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .82rem;
  padding: 9px 18px;
  min-height: 44px;
  border-radius: 50px;
  text-decoration: none;
  transition: background .2s, transform .15s;
}
.btn-whatsapp svg { width: 15px; height: 15px; }
.btn-whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-1px);
}

.btn-new-booking {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .82rem;
  color: #6b7d99;
  background: transparent;
  border: 1.5px solid #d0d8e4;
  border-radius: 50px;
  padding: 10px 18px;
  min-height: 44px;
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.btn-new-booking:hover {
  border-color: var(--azul-mediterraneo);
  color: var(--azul-mediterraneo);
}

/* ═══════════════════════════════════════════════════════════
   CONTENT SECTIONS — Shared utilities + Individual sections
   ═══════════════════════════════════════════════════════════ */

/* ── Shared section utilities ── */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-badge,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-label);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--turquoise);
  margin-bottom: var(--sp-3);
}

.section-badge::before,
.section-label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--turquoise);
}

.section-badge--light,
.section-label--light {
  color: rgba(255,255,255,.7);
}

.section-badge--light::before,
.section-label--light::before {
  background: rgba(255,255,255,.5);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: .02em;
  color: var(--text);
  text-transform: uppercase;
  margin-bottom: var(--sp-4);
}

.section-title--light {
  color: var(--white);
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
}

.section-subtitle--light {
  color: rgba(255,255,255,.65);
}

/* ── Intersection Observer animation ── */
.anim-fade {
  opacity: 0;
  transition: opacity .6s ease;
}

.anim-fade.is-visible {
  opacity: 1;
}

/* ══ Section 1: QUÉ INCLUYE ══ */
.incl-section {
  /* Mobile: reduced padding */
  padding: 3.5rem 0;
  background: var(--sand);
}

@media (min-width: 768px) {
  .incl-section { padding: 5rem 0; }
}

/* Mobile: single column */
.incl-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .incl-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .incl-grid { grid-template-columns: repeat(3,1fr); }
}

.incl-card {
  background: #fff;
  border: 1px solid rgba(3,4,94,.08);
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease;
}

.incl-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(3,4,94,.1);
}

.incl-icon {
  width: 48px;
  height: 48px;
  color: var(--turquoise);
  margin-bottom: var(--sp-4);
}

.incl-icon svg {
  width: 100%;
  height: 100%;
}

.incl-feat-name {
  font-family: 'Cinzel', serif;
  font-size: .95rem;
  font-weight: 600;
  color: var(--azul-noche);
  margin: 0 0 .5rem;
  letter-spacing: .03em;
}

.incl-feat-desc {
  font-family: var(--font-body);
  font-size: .9rem;
  color: #6b7280;
  line-height: 1.6;
  margin: 0;
}

/* Mobile: stacked price bar */
.incl-price-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  background: var(--azul-noche);
  border-radius: 1rem;
  padding: 1.75rem 2rem;
  flex-direction: column;
  text-align: center;
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .incl-price-bar {
    flex-direction: row;
    gap: 2rem;
    text-align: left;
  }
}

.ipb-badge {
  background: var(--dorado);
  color: #fff;
  font-family: 'Cinzel', serif;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .9rem;
  border-radius: 2rem;
}

.ipb-prices {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ipb-price {
  display: flex;
  align-items: baseline;
  gap: .35rem;
}

.ipb-amount {
  font-family: var(--font-logo);
  font-size: 2rem;
  font-weight: 600;
  color: #fff;
  line-height: 1;
}

.ipb-label {
  font-family: var(--font-body);
  font-size: .85rem;
  color: rgba(255,255,255,.65);
}

.ipb-sep {
  color: rgba(255,255,255,.35);
  font-size: 1.25rem;
}

/* ══ Section 2: SOBRE EL ATLANTIS ══ */
.sobre-section {
  /* Mobile: reduced padding */
  padding: 3.5rem 0;
  background: linear-gradient(to bottom, var(--sand) 0%, var(--white) 12%);
}

@media (min-width: 768px) {
  .sobre-section { padding: 5rem 0; }
}

/* Mobile: single column, visual on top */
.sobre-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .sobre-layout { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

.sobre-visual { position: relative; order: -1; }

@media (min-width: 768px) {
  .sobre-visual { order: 0; }
}

.sobre-p {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #4a5568;
  line-height: 1.75;
  margin: 0 0 1rem;
}

.sobre-stats {
  display: flex;
  align-items: center;
  margin-top: 2rem;
  background: var(--azul-noche);
  border-radius: .75rem;
  padding: 1.25rem 1.5rem;
}

.sobre-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  text-align: center;
}

.ss-value {
  font-family: var(--font-logo);
  font-size: 2rem;
  font-weight: 600;
  color: var(--dorado);
  line-height: 1;
}

.ss-label {
  font-family: var(--font-body);
  font-size: max(.8rem, 12px);
  color: rgba(255,255,255,.65);
  margin-top: .25rem;
}

.ss-div {
  width: 1px;
  height: 2.5rem;
  background: rgba(255,255,255,.15);
}

.sobre-img-frame {
  border-radius: 1.25rem;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--azul-profundo);
  border: 3px solid var(--dorado);
}

.sobre-img-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sobre-img-ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.5);
  font-family: var(--font-body);
  font-size: .9rem;
  text-align: center;
}

.sobre-img-ph span { font-size: 3rem; }

/* ══ Section 3: POR QUÉ ELEGIRNOS ══ */
.porque-section {
  /* Mobile: reduced padding */
  padding: 3.5rem 0;
  background: var(--deep-teal);
  clip-path: polygon(0 40px, 100% 0, 100% calc(100% - 40px), 0 100%);
  padding-top: calc(var(--sp-24) + 40px);
  padding-bottom: calc(var(--sp-24) + 40px);
}

@media (min-width: 768px) {
  .porque-section { padding: 5rem 0; }
}

.porque-content {
  max-width: 640px;
  margin: 0 auto;
  color: rgba(255,255,255,.85);
  font-size: .95rem;
  line-height: 1.7;
}

.porque-intro,
.porque-extra,
.porque-cierre { margin-bottom: var(--sp-4); }

.porque-pilares-intro {
  margin-bottom: var(--sp-3);
  color: rgba(255,255,255,.7);
}

.porque-pilares {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
  padding-left: var(--sp-2);
}

.porque-pilar {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
}

.porque-pilar-icon {
  color: var(--sand-gold);
  font-size: .75rem;
  margin-top: .35rem;
  flex-shrink: 0;
}

.porque-pilar strong {
  color: var(--sand-gold);
  display: block;
  font-size: 1rem;
  margin-bottom: 2px;
}

.porque-pilar span {
  color: rgba(255,255,255,.7);
  font-size: .9rem;
}

.porque-cierre {
  font-weight: 600;
  color: var(--white);
}

.porque-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* ══ Section 4: GALERÍA ══ */
.galeria-section {
  /* Mobile: reduced padding */
  padding: 3.5rem 0;
  background: var(--sand);
}

@media (min-width: 768px) {
  .galeria-section { padding: 5rem 0; }
}

/* Mobile: 2-column equal grid, all items same size */
/* Hide party-heavy photos from home gallery — they belong on /fiestas */
.galeria-item[data-index="1"],
.galeria-item[data-index="3"],
.galeria-item[data-index="4"],
.galeria-item[data-index="7"],
.galeria-item[data-index="8"],
.galeria-item[data-index="10"],
.galeria-item[data-index="11"],
.galeria-item[data-index="13"],
.galeria-item[data-index="17"],
.galeria-item[data-index="19"],
.galeria-item[data-index="21"] { display: none; }

.galeria-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  gap: 4px;
}

/* Mobile: no special spanning */
.galeria-item:nth-child(1),
.galeria-item:nth-child(4) {
  grid-column: span 1;
  grid-row: span 1;
}

/* Mobile: fixed height for consistency */
.galeria-item {
  overflow: hidden;
  cursor: pointer;
  position: relative;
  height: 200px;
}

@media (min-width: 640px) {
  .galeria-item { height: 240px; }
}

@media (min-width: 768px) {
  .galeria-grid { grid-template-columns: repeat(3, 1fr); }
  .galeria-item { height: 260px; }
}

@media (min-width: 1024px) {
  .galeria-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 280px);
  }
  .galeria-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
  }
  .galeria-item:nth-child(4) {
    grid-column: span 2;
    grid-row: span 1;
  }
  .galeria-item { height: auto; }
}

.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
  display: block;
}

.galeria-item:hover img {
  transform: scale(1.04);
}

.galeria-item--video {
  position: relative;
}

.galeria-play-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--white);
  background: rgba(0,0,0,.3);
  transition: background var(--t-fast);
  pointer-events: none;
}

.galeria-item--video:hover .galeria-play-icon {
  background: rgba(0,0,0,.15);
}

.galeria-social { text-align: center; margin-top: var(--sp-8); }

.galeria-instagram-btn {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  background: linear-gradient(135deg,#833ab4,#fd1d1d,#fcb045);
  color: #fff;
  border-radius: 2rem;
  padding: .75rem 1.75rem;
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity .25s, transform .25s;
}

.galeria-instagram-btn svg { fill: #fff; flex-shrink: 0; }
.galeria-instagram-btn:hover { opacity: .9; transform: translateY(-2px); }
.gal-ig-handle { font-weight: 400; opacity: .85; }

/* Lightbox */
.gallery-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.gallery-lightbox.lb-open { display: flex; }

.lb-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3,4,94,.92);
  backdrop-filter: blur(6px);
}

.lb-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  pointer-events: none;
}
.lb-close,
.lb-nav { pointer-events: auto; }

.lb-img-wrap {
  width: min(700px,90vw);
  aspect-ratio: 4/3;
  border-radius: 1rem;
  overflow: hidden;
  border: 2px solid rgba(212,160,23,.4);
}

.lb-ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg,var(--azul-profundo),var(--azul-mediterraneo));
  font-size: 5rem;
}

.lb-caption {
  margin-top: 1rem;
  font-family: var(--font-body);
  font-size: .95rem;
  color: rgba(255,255,255,.7);
  text-align: center;
}

/* Touch target: 48×48 */
.lb-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  font-size: 1.25rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}

.lb-close:hover { background: rgba(255,255,255,.2); }

.lb-nav {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.lb-prev, .lb-next {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}

.lb-prev:hover, .lb-next:hover,
.lb-prev:active, .lb-next:active { background: var(--azul-mediterraneo); }

/* ══ Section 5: RESEÑAS ══ */
.resenas-section {
  /* Mobile: reduced padding */
  padding: 3.5rem 0;
  background: linear-gradient(to bottom, var(--sand) 0%, var(--white) 12%, var(--white) 88%, var(--sand) 100%);
  overflow: hidden;
}

@media (min-width: 768px) {
  .resenas-section { padding: 5rem 0; }
}

.resenas-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  margin-top: .5rem;
  flex-wrap: wrap;
}

.resenas-stars {
  color: #f59e0b;
  font-size: 1.25rem;
  letter-spacing: .05em;
}

.resenas-score {
  font-family: var(--font-logo);
  font-size: 2rem;
  font-weight: 600;
  color: var(--azul-noche);
  line-height: 1;
}

.resenas-count {
  font-family: var(--font-body);
  font-size: .9rem;
  color: #6b7280;
}

.carousel-wrap {
  position: relative;
  overflow: hidden;
  margin-top: 2rem;
  padding-bottom: 3.5rem;
}

.carousel-track {
  display: flex;
  transition: transform .5s cubic-bezier(.25,.46,.45,.94);
  will-change: transform;
}

/* Mobile: minimal padding */
.carousel-slide {
  min-width: 100%;
  padding: 0 0.5rem;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .carousel-slide { padding: 0 3rem; }
}

.review-card {
  background: var(--blanco-nautico);
  border: 1px solid rgba(3,4,94,.07);
  border-radius: 1rem;
  padding: 2rem;
  max-width: 720px;
  margin: 0 auto;
}

/* ─── REVIEWS SCROLL ─────────────────────────────────────── */
.reviews-scroll {
  display: flex;
  gap: var(--sp-6);
  overflow-x: auto;
  padding-bottom: var(--sp-4);
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--turquoise) transparent;
  max-width: 100%;
}

.reviews-scroll::-webkit-scrollbar {
  height: 3px;
}

.reviews-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.reviews-scroll::-webkit-scrollbar-thumb {
  background: var(--turquoise);
}

/* Overflow fix: constrain card width to viewport-safe value */
.reviews-scroll .review-card {
  flex: 0 0 min(88vw, 320px);
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid var(--gris-suave);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.reviews-scroll .review-header {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.reviews-scroll .review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--deep-teal);
  color: var(--white);
  font-family: var(--font-label);
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .06em;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.reviews-scroll .review-name {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: .95rem;
  color: var(--text);
  display: block;
}

.review-origin {
  font-size: .78rem;
  color: var(--text-muted);
  font-family: var(--font-label);
}

.reviews-scroll .review-text {
  font-size: .925rem;
  line-height: 1.6;
  color: var(--text);
  font-style: italic;
  flex: 1;
}

.review-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.review-stars {
  color: var(--sand-gold);
  font-size: 1rem;
  letter-spacing: .04em;
}

.review-date {
  font-size: .75rem;
  color: var(--text-muted);
  font-family: var(--font-label);
}

/* Hide old carousel controls */
.carousel-btn,
.carousel-dots,
.carousel-dot { display: none; }

.review-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
}

.review-avatar {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--azul-mediterraneo);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cinzel', serif;
  font-size: .8rem;
  font-weight: 600;
  flex-shrink: 0;
}

.review-meta {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.review-name {
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  color: var(--azul-noche);
}

.review-country {
  font-family: var(--font-body);
  font-size: .8rem;
  color: #9ca3af;
}

.review-stars {
  color: #f59e0b;
  font-size: 1rem;
  letter-spacing: .05em;
}

.review-text {
  font-family: var(--font-body);
  font-size: .95rem;
  color: #374151;
  line-height: 1.7;
  margin: 0 0 1rem;
  font-style: italic;
}

.review-date {
  font-family: var(--font-body);
  font-size: .8rem;
  color: #9ca3af;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-60%);
  background: var(--azul-noche);
  color: #fff;
  border: none;
  font-size: 1.75rem;
  line-height: 1;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background .2s;
}

.carousel-btn:hover { background: var(--azul-mediterraneo); }
.carousel-prev { left: 0; }
.carousel-next { right: 0; }

@media (min-width: 480px) {
  .carousel-prev { left: -.25rem; }
  .carousel-next { right: -.25rem; }
}

.carousel-dots {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: .5rem;
  padding-top: 1.5rem;
}

.carousel-dot {
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: rgba(3,4,94,.2);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .2s, transform .2s;
}

.carousel-dot--active {
  background: var(--azul-mediterraneo);
  transform: scale(1.4);
}

.resenas-platforms {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.platform-badge {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--font-body);
  font-size: .85rem;
  color: #6b7280;
  font-weight: 600;
}

.platform-div { color: #d1d5db; }

/* ══ Section 6: CÓMO LLEGAR ══ */
.llegar-section {
  /* Mobile: reduced padding */
  padding: 3.5rem 0;
  background: var(--sand);
  overflow: hidden;
}

@media (min-width: 768px) {
  .llegar-section { padding: 5rem 0; }
}

/* Mobile: single column */
.llegar-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
  min-width: 0;
}

.llegar-layout > * {
  min-width: 0;
}

@media (min-width: 768px) {
  .llegar-layout { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

.llegar-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.llegar-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.llegar-icon,
.fci-icon {
  width: 20px;
  height: 20px;
  color: var(--turquoise);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.llegar-icon svg,
.fci-icon svg {
  width: 100%;
  height: 100%;
}

.llegar-key {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: .85rem;
  font-weight: 600;
  color: var(--azul-noche);
  letter-spacing: .04em;
  margin-bottom: .2rem;
}

.llegar-val {
  font-family: var(--font-body);
  font-size: .9rem;
  color: #4a5568;
  line-height: 1.6;
  margin: 0;
}

.llegar-map {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.llegar-map-ph {
  background: linear-gradient(135deg,var(--azul-profundo),var(--azul-mediterraneo));
  border-radius: 1rem;
  aspect-ratio: 16/9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  font-size: 3rem;
}

.llegar-map-label {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  color: #fff;
  margin: 0;
  font-weight: 600;
}

.llegar-map-sub {
  font-family: var(--font-body);
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  margin: 0;
}

.llegar-map-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background: var(--azul-noche);
  color: #fff;
  border-radius: .5rem;
  padding: .75rem 1.5rem;
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s;
}

.llegar-map-btn svg { fill: #fff; }
.llegar-map-btn:hover { background: var(--azul-mediterraneo); }

/* ══ FOOTER ══ */
.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/images/barco-piratas-world-lloret-de-mar-vista-aerea-800w.webp');
  background-size: 220%;
  background-position: center 62%;
  opacity: 0.075;
  pointer-events: none;
  z-index: 0;
}
.site-footer .footer-container { position: relative; z-index: 1; }

.site-footer {
  position: relative;
  background: #020315;
  padding: 4rem 0 0;
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
  border-top: 1px solid rgba(255,255,255,.06);
  overflow: hidden;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Mobile: single column footer */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .footer-col:first-child { grid-column: 1 / -1; }
}

@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr 1.5fr; gap: 2rem; }
}

.footer-logo-anchor {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: .75rem;
}

.footer-logo-img {
  height: 50px;
  width: auto;
}

.footer-logo-name {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dorado);
  letter-spacing: .08em;
}

.footer-tagline {
  font-family: var(--font-body);
  font-size: .85rem;
  color: rgba(255,255,255,.45);
  line-height: 1.6;
  margin: 0 0 1.25rem;
}

.footer-social {
  display: flex;
  gap: .75rem;
}

.footer-social-link {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}

.footer-social-link:hover { background: var(--azul-mediterraneo); }
.footer-social-link svg { fill: rgba(255,255,255,.6); transition: fill .2s; }
.footer-social-link:hover svg { fill: #fff; }

.footer-col-title {
  font-family: 'Cinzel', serif;
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255,255,255,.35);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 0 1.25rem;
}

.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.footer-nav-link {
  font-family: var(--font-body);
  font-size: .9rem;
  color: rgba(255,255,255,.5);
  text-decoration: none;
  transition: color .2s;
  padding: 8px 0;
  display: inline-block;
}

.footer-nav-link:hover { color: #fff; }

.footer-nav-link--cta {
  color: var(--dorado);
  font-weight: 700;
}

.footer-nav-link--cta:hover { color: var(--azul-claro); }

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
}

.footer-contact-link {
  font-family: var(--font-body);
  font-size: .85rem;
  color: rgba(255,255,255,.5);
  text-decoration: none;
  transition: color .2s;
  padding: 6px 0;
  display: inline-block;
}

.footer-contact-link:hover { color: #fff; }

.footer-contact-text {
  font-family: var(--font-body);
  font-size: .85rem;
  color: rgba(255,255,255,.45);
  line-height: 1.5;
}

.footer-info-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.footer-legal-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.footer-legal-link {
  font-family: var(--font-body);
  font-size: .85rem;
  color: rgba(255,255,255,.35);
  text-decoration: none;
  transition: color .2s;
  padding: 8px 0;
  display: inline-block;
}

.footer-legal-link:hover { color: rgba(255,255,255,.7); }

.footer-bottom {
  padding: 1.5rem 0 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
}

.footer-admin-link {
  color: rgba(255,255,255,.15);
  transition: color .2s;
  display: flex;
  align-items: center;
  line-height: 1;
}
.footer-admin-link:hover { color: rgba(255,255,255,.5); }

.footer-copyright {
  font-family: var(--font-body);
  font-size: .8rem;
  color: rgba(255,255,255,.2);
  margin: 0;
}

/* ── Cookie Consent Banner ────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: env(safe-area-inset-bottom, 0px);
  left: 0;
  right: 0;
  background: #020A30;
  border-top: 1px solid rgba(212,160,23,.3);
  z-index: 9999;
  transform: translateY(100%);
  transition: transform .4s cubic-bezier(.4,0,.2,1);
  visibility: hidden;
}
.cookie-banner.visible {
  visibility: visible;
  transform: translateY(0);
}
.cookie-banner-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 2rem;
  padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cookie-text {
  flex: 1;
  font-size: .88rem;
  color: rgba(255,255,255,.8);
  margin: 0;
  line-height: 1.5;
}
.cookie-link {
  color: #D4A017;
  text-decoration: underline;
}
.cookie-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}
.cookie-btn-accept {
  background: linear-gradient(135deg, #D4A017, #F0C040);
  color: #020A30;
  font-weight: 700;
  font-size: .875rem;
  padding: .6rem 1.5rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  min-height: 44px;
  transition: opacity .2s;
}
.cookie-btn-accept:hover { opacity: .88; }
.cookie-btn-info {
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  text-decoration: underline;
}
@media (max-width: 640px) {
  .cookie-banner-inner { padding: 1rem; gap: 1rem; }
  .cookie-actions { width: 100%; }
  .cookie-btn-accept { flex: 1; text-align: center; }
}

/* ── Consent block ──────────────────────────────── */
.consent-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(0,0,0,.08);
}
.privacy-link {
  color: var(--azul-mediterraneo);
  text-decoration: underline;
}
.required-mark {
  color: #e53e3e;
  margin-left: 2px;
}

/* ── Scroll to Top Button ─────────────────────────── */
.scroll-top-btn {
  position: fixed;
  bottom: max(calc(var(--sp-6) + 80px), calc(env(safe-area-inset-bottom, 0px) + 80px));
  right: var(--sp-6);
  z-index: var(--z-over);
  width: 44px;
  height: 44px;
  border: none;
  border-radius: var(--r-pill);
  background: var(--sand-gold);
  color: var(--deep-teal);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--sh-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--t-base), visibility var(--t-base), transform var(--t-base), background var(--t-fast);
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background: var(--dorado-claro);
  box-shadow: var(--sh-gold);
}

/* ── Calendar ─────────────────────────────────────────── */
.cal-wrap {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: var(--r-md);
  padding: 0.5rem;
  user-select: none;
}

.cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}

.cal-nav {
  width: 44px;
  height: 44px;
  border: none;
  background: none;
  font-size: 1.4rem;
  color: var(--text);
  cursor: pointer;
  border-radius: var(--r-sm);
  transition: background var(--t-fast), color var(--t-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cal-nav:hover {
  background: var(--turquoise);
  color: var(--white);
}

.cal-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.cal-nav:disabled:hover {
  background: none;
  color: var(--text);
}

.cal-month-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
}

.cal-legend {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 0.4rem;
  flex-wrap: wrap;
}

.cal-legend-item {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  font-size: 0.75rem;
  color: #4a6a94;
}

.cal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.cal-dot--available { background: #22c55e; }
.cal-dot--scarce    { background: #f59e0b; }
.cal-dot--full      { background: #ef4444; }
.cal-dot--closed    { background: #9ca3af; }

.cal-daynames {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: var(--sp-1);
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}

.cal-day {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 4px;
  height: 40px;
  min-height: 40px;
  border-radius: var(--r-sm);
  font-size: 0.85rem;
  font-weight: 500;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}

.cal-day--empty {
  cursor: default;
}

.cal-day--available {
  background: #dcfce7;
  color: #166534;
}

.cal-day--available:hover {
  background: #bbf7d0;
  border-color: #22c55e;
}

.cal-day--full {
  background: #fee2e2;
  color: #991b1b;
  cursor: not-allowed;
}

.cal-day--blocked,
.cal-day--out-of-season {
  background: #f3f4f6;
  color: #9ca3af;
  cursor: not-allowed;
}

.cal-day--past {
  color: #d1d5db;
  cursor: not-allowed;
}

.cal-day--selected {
  background: #2E70C8 !important;
  color: var(--white) !important;
  border-color: #2E70C8 !important;
}

.cal-day--scarce {
  background: #fef3c7;
  color: #92400e;
  cursor: pointer;
}

.cal-day--scarce:hover {
  background: #fde68a;
  border-color: #f59e0b;
}

.cal-day--today {
  box-shadow: inset 0 0 0 2px var(--sand-gold);
}

/* Calendar skeleton loading */
.cal-skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: var(--r-md);
  height: 40px;
  min-width: 36px;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.avail-summary {
  text-align: center;
  padding: 0.4rem 0;
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 500;
}

.avail-summary strong {
  color: #166534;
  font-size: 1.1rem;
}

@media (max-width: 480px) {
  .cal-day {
    font-size: 0.85rem;
  }
  /* cal-wrap padding already 0.5rem globally */
  .cal-legend {
    gap: var(--sp-2);
  }
}

@media (max-width: 389px) {
  .cal-wrap { padding: 0.25rem; }
  .cal-grid { gap: 2px; }
  .cal-day { height: 44px; min-height: 44px; font-size: 0.82rem; }
}

/* P16 — Show carousel dots on mobile */
@media (max-width: 768px) {
  .carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1rem;
  }
}

/* P11 — Booking grid: keep Adultos+Niños side by side, stack the rest */
@media (max-width: 479px) {
  .booking-grid-3 { grid-template-columns: 1fr 1fr; }
  .booking-grid-3 .b-field:nth-child(n+3) { grid-column: 1 / -1; }
}

/* ─── FAQ SECTION ─────────────────────────────────────────── */
.faq-section {
  background: var(--sand);
  padding: var(--sp-16) 0;
}
.faq-section .section-header {
  text-align: center;
  margin-bottom: var(--sp-8);
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-2);
  max-width: 900px;
  margin: 0 auto;
}
.faq-item {
  background: var(--white);
  border-radius: var(--r-md);
  border: 1px solid rgba(0,0,0,.08);
  overflow: hidden;
  transition: box-shadow var(--t-fast);
}
.faq-item[open] { box-shadow: var(--sh-md); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-4) var(--sp-6);
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  list-style: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--turquoise);
  transition: transform var(--t-fast);
  flex-shrink: 0;
  margin-left: var(--sp-4);
}
.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}
.faq-answer {
  padding: 0 var(--sp-6) var(--sp-4);
  color: var(--text);
  font-size: .95rem;
  line-height: 1.7;
  margin: 0;
}
/* Post-section CTAs (#9) */
.section-cta {
  text-align: center;
  padding: var(--sp-8) var(--sp-4) var(--sp-12);
}
.section-cta p {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--sp-4);
}
.section-cta .btn-primary { display: inline-flex; }
.section-cta-guarantee {
  display: block;
  font-family: var(--font-body);
  font-size: .75rem;
  color: var(--text-muted);
  margin-top: var(--sp-2);
}
/* Adapt CTA text color for dark sections */
.resenas-section .section-cta p,
.llegar-section .section-cta p { color: var(--text); }
.porque-section .section-cta p { color: rgba(255,255,255,.9); }

.faq-show-more-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  width: 100%;
  margin-top: var(--sp-4);
  padding: var(--sp-4);
  background: transparent;
  border: 1px dashed rgba(0,0,0,.15);
  border-radius: var(--r-md);
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 500;
  color: var(--turquoise);
  cursor: pointer;
  transition: background var(--t-fast), border-color var(--t-fast);
}
.faq-show-more-btn:hover {
  background: rgba(74,144,232,.06);
  border-color: var(--turquoise);
}

/* Hidden via CSS (not HTML hidden) so Google indexes all FAQs */
.faq-more-items { display: none; }
.faq-more-items.faq-more--open { display: block; }

@media (max-width: 479px) {
  .faq-question { padding: var(--sp-4) var(--sp-4); }
  .faq-question::after { margin-left: var(--sp-2); }
}

/* ── Blog Preview Section ────────────────────── */
.blog-preview-section {
  padding: var(--sp-16) 0;
  background: var(--sand);
}

.blog-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  margin-bottom: var(--sp-8);
}

.blog-preview-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--sh-sm);
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.blog-preview-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
}

.blog-preview-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.blog-preview-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.blog-preview-card:hover .blog-preview-img img {
  transform: scale(1.05);
}

.blog-preview-body {
  padding: var(--sp-4) var(--sp-4) var(--sp-6);
}

.blog-preview-cat {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--turquoise);
  margin-bottom: var(--sp-2);
}

.blog-preview-title {
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  margin: 0 0 var(--sp-2);
}

.blog-preview-excerpt {
  font-family: var(--font-body);
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.blog-preview-cta {
  text-align: center;
}

.btn-blog-all {
  font-family: var(--font-body);
  font-size: .88rem;
  font-weight: 600;
  color: var(--turquoise);
  text-decoration: none;
  transition: color var(--t-fast);
}
.btn-blog-all:hover {
  color: var(--deep-teal);
}

@media (max-width: 768px) {
  .blog-preview-grid { grid-template-columns: 1fr; gap: var(--sp-4); }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .blog-preview-grid { grid-template-columns: repeat(2, 1fr); }
}

/* WhatsApp booking fallback */
.booking-wa-fallback {
  text-align: center;
  margin-top: var(--sp-4);
}
.booking-wa-fallback a {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--t-fast);
}
.booking-wa-fallback a:hover {
  color: #25D366;
}
.booking-wa-fallback svg {
  flex-shrink: 0;
}

/* ─── FLOATING CTA ─────────────────────────────────── */
.floating-cta {
  display: block;
  position: fixed;
  bottom: max(var(--sp-4), env(safe-area-inset-bottom, 0px));
  left: var(--sp-4);
  right: var(--sp-4);
  z-index: var(--z-over);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity var(--t-base), visibility var(--t-base), transform var(--t-base);
  pointer-events: none;
}
.floating-cta.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.floating-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  background: var(--sand-gold);
  color: var(--deep-teal);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  text-decoration: none;
  min-height: 48px;
  letter-spacing: 0.02em;
}
.floating-cta a:active {
  transform: scale(0.97);
}
@media (min-width: 1024px) {
  .floating-cta {
    left: auto;
    right: 24px;
    bottom: 24px;
    width: auto;
    padding: 12px 28px;
    border-radius: var(--r-pill);
    box-shadow: var(--sh-lg);
  }
}

/* ── Exit-intent modal ─────────────────────────── */
.exit-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(2, 10, 48, 0.6);
  backdrop-filter: blur(4px);
  animation: exitFadeIn 0.3s ease;
}
.exit-modal-overlay--out {
  animation: exitFadeOut 0.3s ease forwards;
}
.exit-modal {
  position: relative;
  background: var(--white);
  border-radius: var(--r-lg);
  padding: var(--sp-8) var(--sp-6);
  max-width: 420px;
  width: 90%;
  text-align: center;
  box-shadow: var(--sh-xl);
  animation: exitSlideIn 0.3s ease;
}
.exit-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
}
.exit-modal-close:hover {
  color: var(--text);
}
.exit-modal-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  color: var(--deep-teal);
  margin: 0 0 var(--sp-4);
  letter-spacing: 0.5px;
}
.exit-modal-quote {
  font-style: italic;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 var(--sp-2);
}
.exit-modal-author {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0 0 var(--sp-6);
}
.exit-modal-cta {
  display: inline-block;
}

@keyframes exitFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes exitFadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}
@keyframes exitSlideIn {
  from { opacity: 0; transform: translateY(-20px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ─── Draft restored toast ─────────────────────────────────────── */
.draft-toast {
  position: fixed;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--deep-teal);
  color: var(--white);
  padding: var(--sp-3) var(--sp-6);
  border-radius: var(--r-pill);
  font-size: 0.85rem;
  z-index: 9998;
  transition: bottom var(--t-base) ease;
  box-shadow: var(--sh-md);
  white-space: nowrap;
}
.draft-toast--visible {
  bottom: 24px;
}
