/* ============================================================
   VENDO BOTE RD — Beach & Ocean Design System
   Estilo fresco, playero, blanco y azul caribe
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..900;1,9..144,300..900&family=Inter:wght@300;400;500;600;700&family=DM+Mono:wght@400;500&display=swap');

/* ── Custom Properties ── */
:root {
  --bg:          #FFFFFF;
  --bg-2:        #F0F9FF;
  --bg-card:     #FFFFFF;
  --bg-hover:    #E8F4FD;
  --navy:        #0F3460;
  --navy-2:      #1A4A8A;
  --text:        #0F2B4A;
  --text-2:      #2D5987;
  --text-muted:  #4A6C8C;
  --text-faint:  #4E7396;
  --danger:      #DC3545;
  --danger-2:    #C82333;
  --sky:         #0EA5E9;
  --sky-2:       #0369A1;
  --sky-3:       #075985;
  --sky-light:   #E0F2FE;
  --sky-lighter: #F0F9FF;
  --sand:        #F5A623;
  --sand-2:      #E8921A;
  --line:        rgba(14,165,233,0.13);
  --line-2:      rgba(14,165,233,0.22);
  --line-3:      rgba(14,165,233,0.38);

  /* ── Backward-compat aliases (used in inline styles on HTML pages) ── */
  --cream:   var(--text);
  --cream-2: var(--text-2);
  --cream-3: var(--text-muted);
  --cream-4: var(--text-faint);
  --gold:    var(--sky);
  --gold-2:  var(--sky-2);
  --ocean:   var(--sky);
  --ocean-2: var(--sky-2);
  --ocean-3: var(--sky-light);

  --serif:  'Fraunces', Georgia, serif;
  --sans:   'Inter', system-ui, sans-serif;
  --mono:   'DM Mono', monospace;

  --ease-soft: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out:  cubic-bezier(0.22, 1, 0.36, 1);

  --nav-h: 72px;
  --r: 16px;
  --r-sm: 10px;
  --shadow: 0 4px 24px rgba(14,165,233,0.10);
  --shadow-lg: 0 12px 48px rgba(14,165,233,0.18);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* ── Splash loader ── */
.splash {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--sky-lighter);
  display: grid; place-items: center;
  pointer-events: auto;
  transition: opacity 0.9s var(--ease-out), transform 1.2s var(--ease-out);
  animation: splashSafety 0.01s 4s forwards;
}
.splash.is-out { opacity: 0; pointer-events: none; transform: translateY(-100%); }
@keyframes splashSafety { to { opacity: 0; pointer-events: none; transform: translateY(-100%); } }
.splash-inner { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; text-align: center; padding: 0 1.5rem; max-width: 100%; }
.splash-logo-img { height: 200px; max-width: 100%; object-fit: contain; }
.splash-sub { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.25em; color: var(--text-muted); text-transform: uppercase; text-align: center; }
@media (max-width: 480px) {
  .splash-logo-img { height: 140px; }
  .splash-sub { font-size: 0.6875rem; letter-spacing: 0.16em; }
}
.splash-bar { width: 120px; height: 2px; background: var(--line-2); position: relative; overflow: hidden; border-radius: 2px; }
.splash-bar::after { content: ''; position: absolute; inset: 0; background: var(--sky); transform: translateX(-100%); animation: barFill 2.5s var(--ease-out) 0.3s forwards; border-radius: 2px; }
@keyframes barFill { to { transform: translateX(0); } }

/* ── Nav ── */
.nav {
  position: fixed; top: 0; inset-inline: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  background: rgba(255,255,255,0.9);
  transition: box-shadow 0.4s var(--ease-out), background 0.4s;
}
.nav.is-scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line), 0 4px 20px rgba(15,52,96,0.22);
}
.nav-logo-img { height: 72px; object-fit: contain; }
/* En desktop el nav tiene 3 elementos visibles (logo, links, botones) y "space-between"
   los reparte a partes iguales, dejando Rentar/Comprar flotando solos en el centro de
   la barra en vez de pegados al logo. El margin-right:auto absorbe el espacio libre acá
   y empuja Ingresar/Reservar al extremo derecho, dejando logo+links agrupados a la izquierda. */
.nav-links { display: flex; align-items: center; gap: 0.5rem; margin-left: 2rem; margin-right: auto; }
.nav-link { font-size: 0.9rem; font-weight: 600; letter-spacing: 0.02em; color: var(--text-2); position: relative; padding: 0.55rem 1.15rem; border-radius: 50px; border: 1.5px solid transparent; transition: color 0.25s, background 0.25s, border-color 0.25s, transform 0.25s var(--ease-soft); }
.nav-link::after { content: none; }

/* ── Nav dropdown ── */
.nav-dropdown { position: relative; display: flex; align-items: center; }
.nav-dropdown > .nav-link { display: flex; align-items: center; gap: 0.3rem; }
.nav-dropdown-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  padding-top: 12px;
  background: var(--bg-card); border: 1px solid var(--line-2);
  border-radius: var(--r-sm); padding: 0.45rem 0;
  min-width: 160px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.2s var(--ease-soft), transform 0.2s var(--ease-soft);
  transform: translateX(-50%) translateY(-4px);
  z-index: 200;
}
.nav-dropdown-menu::before {
  content: ''; position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  border: 6px solid transparent; border-bottom-color: var(--line-2);
  border-top: none;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(2px);
}
.nav-dropdown-item {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.55rem 1rem;
  font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.04em;
  color: var(--text-2); white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.nav-dropdown-item:hover { background: var(--sky-lighter); color: var(--sky-2); }
.nav-link:hover { color: var(--sky-2); background: var(--sky-lighter); border-color: var(--line-2); transform: translateY(-1px); }
.nav-dropdown:hover > .nav-link, .nav-dropdown:focus-within > .nav-link { color: var(--sky-2); background: var(--sky-lighter); border-color: var(--line-2); }
.nav-dropdown > .nav-link::after { content: ''; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); margin-left: 0.5rem; position: static; background: none; height: 6px; border-radius: 0; display: inline-block; }
.nav-link.active { color: var(--sky-2); background: var(--sky-light); border-color: var(--line-2); }
.nav-actions { display: flex; align-items: center; gap: 0.6rem; }
.nav-btn { font-size: 0.83rem; padding: 0.6rem 1.4rem; border-radius: 50px; transition: color 0.3s var(--ease-soft), background-color 0.3s var(--ease-soft), border-color 0.3s var(--ease-soft), box-shadow 0.3s var(--ease-soft), transform 0.3s var(--ease-soft), opacity 0.3s var(--ease-soft), width 0.3s var(--ease-soft); font-weight: 600; letter-spacing: 0.02em; }
.nav-btn-ghost { border: 1.5px solid var(--line-2); background: var(--sky-lighter); color: var(--text-2); }
.nav-btn-ghost:hover { border-color: var(--sky); color: var(--sky-2); background: var(--sky-light); transform: translateY(-2px); }
.nav-btn-primary {
  background: linear-gradient(135deg, var(--sky-2) 0%, var(--sky-3) 100%);
  color: white; box-shadow: 0 4px 16px rgba(15,52,96,0.22);
}
.nav-btn-primary:hover { background: linear-gradient(135deg, var(--sky-2) 0%, var(--sky-3) 100%); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(15,52,96,0.22); }

/* Mobile hamburger */
.nav-hamburger { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--text); transition: color 0.3s, background-color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s, opacity 0.3s, width 0.3s; border-radius: 2px; }
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  position: fixed; inset: 0; z-index: 90;
  background:
    radial-gradient(120% 90% at 15% 0%, rgba(14,165,233,0.35), transparent 55%),
    radial-gradient(120% 90% at 100% 100%, rgba(245,166,35,0.18), transparent 50%),
    linear-gradient(160deg, var(--navy) 0%, #0A2647 60%, #061A33 100%);
  color: #fff;
  display: grid; place-items: center;
  overflow-y: auto;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.65s var(--ease-soft);
}
.nav-mobile.is-open { clip-path: inset(0); }
.nav-mobile-links { display: flex; flex-direction: column; align-items: stretch; gap: 0.7rem; text-align: center; padding: 6.5rem 1.75rem 3rem; width: 100%; max-width: 380px; }
.nav-mobile-link {
  position: relative;
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(255,255,255,0.82);
  transition: color 0.25s, transform 0.25s, background 0.25s, border-color 0.25s;
  padding: 0.95rem 1.5rem;
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: var(--r);
  background: rgba(255,255,255,0.04);
  width: 100%;
}
.nav-mobile-link:hover, .nav-mobile-link:active { color: #fff; transform: translateX(2px); border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.09); }

/* Rentar / Comprar: acciones principales, en pill de color para que se vean vivas y "tocables" */
.nav-mobile-link-primary {
  font-style: normal; font-weight: 700; font-size: 1.05rem;
  color: #fff;
  background: linear-gradient(135deg, var(--sky-2), var(--sky-3));
  border: none;
  box-shadow: 0 8px 24px rgba(15,52,96,0.22);
}
.nav-mobile-link-primary:hover, .nav-mobile-link-primary:active {
  color: #fff; transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(15,52,96,0.22);
}

/* Ubicaciones: más discretas, texto plano sin caja */
.nav-mobile-link-loc {
  border: none; background: none; color: rgba(255,255,255,0.68);
  font-size: 1rem; padding: 0.6rem 1rem;
}
.nav-mobile-link-loc:hover, .nav-mobile-link-loc:active { color: var(--sand); background: none; transform: translateX(2px); }

.nav-mobile-divider { height: 1px; background: rgba(255,255,255,0.12); margin: 0.65rem 0.5rem; }

/* Ingresar / Panel Admin: acento dorado, es el cierre del menú */
.nav-mobile-cta {
  font-style: normal; font-weight: 700;
  color: var(--navy);
  background: linear-gradient(135deg, var(--sand), var(--sand-2));
  border: none;
  box-shadow: 0 8px 24px rgba(245,166,35,0.35);
}
.nav-mobile-cta:hover, .nav-mobile-cta:active {
  color: var(--navy); transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(245,166,35,0.45);
}

/* ── Hero ── */
.hero {
  position: relative;
  /* En pantallas anchas (desktop) 100svh combina bien con un video 16:9 — el
     recorte de "cover" es mínimo. En vertical (celular) esa misma altura vuelve
     al contenedor mucho más angosto que el video y "cover" tiene que recortar
     casi todo el ancho para cubrirlo. Se reduce la altura por rango de pantalla
     para que el contenedor se parezca más a la proporción real del video. */
  min-height: 100svh;
  max-height: 900px;
  display: grid; place-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: var(--navy);
  overflow: hidden;
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  animation: ambientZoom 32s ease-in-out infinite;
}
.hero-video {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center 42%;
  display: block;
}
@media (max-width: 1024px) {
  .hero { min-height: 78vh; max-height: none; }
}
@media (max-width: 640px) {
  .hero { min-height: 62vh; }
  .hero-video { object-position: 27% 38%; }
}
@media (max-width: 640px) and (orientation: landscape) {
  .hero { min-height: 100svh; }
}
@keyframes ambientZoom {
  0%, 100% { transform: scale(1.05) translate3d(0, 0, 0); }
  50%       { transform: scale(1.12) translate3d(-1%, -1%, 0); }
}
.hero-tint {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom, rgba(255,255,255,0.15) 0%, rgba(14,165,233,0.25) 50%, rgba(2,132,199,0.55) 100%);
}
.hero-mesh {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 70% 30%, rgba(14,165,233,0.25), transparent 60%),
    radial-gradient(ellipse 60% 50% at 20% 70%, rgba(255,255,255,0.15), transparent 60%);
  filter: blur(40px);
}
.hero-logo {
  display: block;
  margin: -3rem auto 1.75rem;
  max-width: clamp(220px, 42vw, 420px);
  width: 100%;
  filter:
    drop-shadow(0 0 30px rgba(255,255,255,1))
    drop-shadow(0 0 60px rgba(255,255,255,0.8))
    drop-shadow(0 0 90px rgba(255,255,255,0.5))
    drop-shadow(0 4px 20px rgba(0,0,0,0.5));
}
.hero-content {
  position: relative; z-index: 5;
  text-align: center;
  padding: clamp(6rem, 12vh, 10rem) clamp(1.5rem, 6vw, 4rem) clamp(3rem, 8vh, 6rem);
  max-width: 900px;
}
.hero-locations {
  display: flex; flex-direction: column; align-items: center;
  gap: 0.75rem; margin-bottom: 2rem; opacity: 0;
  animation: fadeUp 0.9s var(--ease-out) 0.5s forwards;
}
.hero-tagline {
  font-family: var(--serif);
  font-size: clamp(2rem, 5.5vw, 3.8rem);
  font-style: italic;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #ffffff;
  -webkit-text-stroke: 1.5px #0F3460;
  paint-order: stroke fill;
  text-shadow:
    0 0 40px rgba(15, 52, 96, 0.6),
    0 2px 12px rgba(15, 52, 96, 0.4),
    0 4px 32px rgba(0,0,0,0.5);
  filter: drop-shadow(0 2px 8px rgba(15,52,96,0.45));
}
.hero-loc-row {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 0.35rem 0.6rem;
}
.hero-loc-row span {
  font-family: var(--mono); font-size: clamp(0.65rem, 1.6vw, 0.82rem);
  font-weight: 500; color: rgba(255,255,255,0.85);
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
  letter-spacing: 0.18em; text-transform: uppercase; white-space: nowrap;
}
.hero-loc-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(255,255,255,0.7);
  box-shadow: 0 1px 6px rgba(0,0,0,0.4);
  flex-shrink: 0; display: inline-block !important;
  font-size: 0 !important; align-self: center;
}
.hero-kicker {
  font-family: var(--serif); font-size: clamp(1.3rem, 3.5vw, 2rem); font-style: italic; font-weight: 700; letter-spacing: 0.01em;
  color: #fff; text-transform: none; text-shadow: 0 2px 16px rgba(0,0,0,0.5);
  margin-bottom: 1.5rem; opacity: 0;
  animation: fadeUp 0.9s var(--ease-out) 0.5s forwards;
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 700; font-style: italic;
  line-height: 1.05; letter-spacing: -0.03em;
  color: white;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 30px rgba(0,0,0,0.2);
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 0.8s forwards;
}
.hero-title .sky-accent { color: #7DD3FC; }
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem); color: rgba(255,255,255,0.93);
  max-width: 540px; margin: 0 auto 2.5rem;
  font-weight: 400; line-height: 1.7;
  text-shadow: 0 2px 12px rgba(0,0,0,0.15);
  opacity: 0; animation: fadeUp 1s var(--ease-out) 1.1s forwards;
}
.hero-actions {
  display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap;
  opacity: 0; animation: fadeUp 1s var(--ease-out) 1.4s forwards;
}
/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 2rem; border-radius: 50px;
  font-size: 0.88rem; font-weight: 600; letter-spacing: 0.03em;
  transition: color 0.35s var(--ease-soft), background-color 0.35s var(--ease-soft), border-color 0.35s var(--ease-soft), box-shadow 0.35s var(--ease-soft), transform 0.35s var(--ease-soft), opacity 0.35s var(--ease-soft), width 0.35s var(--ease-soft);
  position: relative; overflow: hidden;
}
.btn-primary {
  background: var(--sky-2); color: white;
  box-shadow: 0 4px 20px rgba(3,105,161,0.35);
}
.btn-primary:hover { background: var(--sky-3); transform: translateY(-3px); box-shadow: 0 12px 32px rgba(15,52,96,0.22); }
/* CTA del hero: ámbar para que resalte sobre el video del mar */
.btn-cta {
  background: var(--sand); color: var(--text); font-weight: 700;
  box-shadow: 0 6px 24px rgba(245,166,35,0.45), 0 0 0 1px rgba(255,255,255,0.35) inset;
}
.btn-cta:hover { background: var(--sand-2); color: var(--text); transform: translateY(-3px); box-shadow: 0 14px 34px rgba(232,146,26,0.5); }
.btn-ghost {
  border: 2px solid rgba(255,255,255,0.85); color: white;
  background: rgba(15,52,96,0.28);
  backdrop-filter: blur(8px);
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}
.btn-ghost:hover { border-color: white; background: rgba(15,52,96,0.4); transform: translateY(-2px); }
.btn-ghost-dark {
  border: 1.5px solid var(--line-2); color: var(--text-muted);
  background: white;
}
.btn-ghost-dark:hover { border-color: var(--sky); color: var(--sky-2); transform: translateY(-2px); }
.btn-ocean { background: var(--navy); color: white; }
.btn-ocean:hover { background: var(--navy-2); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(15,52,96,0.3); }
.btn-sm { padding: 0.5rem 1.2rem; font-size: 0.8rem; }
.btn-lg { padding: 1.1rem 2.8rem; font-size: 1rem; }
.btn-danger { background: var(--danger); color: white; }
.btn-danger:hover { background: var(--danger-2); }
.btn-success { background: #198754; color: white; }
.btn-success:hover { background: #157347; }

/* ── Animations ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn  { from { opacity: 0; } to { opacity: 1; } }
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease-soft), transform 0.8s var(--ease-soft); }
[data-reveal].is-revealed { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal-delay="4"] { transition-delay: 0.4s; }
[data-reveal-delay="5"] { transition-delay: 0.5s; }

/* ── Section Layout ── */
.section { padding: clamp(2rem, 3.5vw, 2.75rem) clamp(1.5rem, 6vw, 4rem); }
.section-inner { max-width: 1280px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: clamp(1.5rem, 2.5vw, 2.25rem); }
.section-kicker { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.3em; color: var(--sky-2); text-transform: uppercase; margin-bottom: 1rem; }
.section-title { font-family: var(--serif); font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 700; font-style: italic; line-height: 1.15; letter-spacing: -0.02em; color: var(--navy); }
.section-title .accent { color: var(--sky-2); }
.section-sub { font-size: 1.05rem; color: var(--text-muted); max-width: 540px; margin: 1rem auto 0; line-height: 1.7; }

/* ── Cards ── */
.card {
  background: var(--bg-card);
  border: 1.5px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color 0.4s, box-shadow 0.4s, transform 0.5s var(--ease-soft);
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(15,52,96,0.22);
}
.card:hover {
  border-color: var(--sky);
  box-shadow: 0 20px 50px rgba(15,52,96,0.22), 0 0 0 1px rgba(14,165,233,0.2);
  transform: translateY(-6px);
}
.card-img {
  position: relative; overflow: hidden;
  background: var(--bg-2);
  aspect-ratio: 4/3;
}
.card-img img {
  width: 100%; height: 100%; display: block; object-fit: cover; object-position: center;
  transition: transform 0.9s var(--ease-soft), filter 0.6s;
}
.card-img video {
  width: 100%; height: 100%; display: block; object-fit: cover; object-position: center;
  pointer-events: none;
}
.card-track { display: flex; height: 100%; transition: transform 0.4s var(--ease-soft); }
.card-slide { flex: 0 0 100%; min-width: 0; height: 100%; }
.card-arrow {
  position: absolute; top: 50%; z-index: 3; width: 32px; height: 32px; margin-top: -16px;
  border-radius: 50%; display: grid; place-items: center; padding: 0 0 3px;
  font-size: 1.35rem; line-height: 1; color: #fff; background: rgba(15,52,96,0.22);
  backdrop-filter: blur(2px); opacity: 0.55; transition: opacity 0.25s, background 0.25s;
}
.card-arrow-prev { left: 0.6rem; }
.card-arrow-next { right: 0.6rem; }
.card-arrow:hover, .card-arrow:focus-visible { opacity: 1; background: rgba(15,52,96,0.5); }
.card-dots { position: absolute; bottom: 0.6rem; left: 0; right: 0; z-index: 3; display: flex; justify-content: center; gap: 5px; pointer-events: none; }
.card-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.5); transition: background 0.25s, transform 0.25s; }
.card-dot.active { background: #fff; transform: scale(1.25); }
.card:hover .card-img img { transform: scale(1.05); filter: saturate(1.1) brightness(1.03); }
/* ── Portada de video en tarjetas (catálogo/destacados): un cuadro estático en vez
   de reproducir el video completo apenas carga la página ── */
.card-video-wrap { position: relative; width: 100%; height: 100%; background: var(--bg-2); }
.card-video-poster { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; }
.card-video-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(15,52,96,0.55); backdrop-filter: blur(2px);
  color: #fff; font-size: 1.1rem; display: grid; place-items: center;
  padding-left: 3px; pointer-events: none;
}
.card-badge {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  font-family: var(--sans); font-size: 0.6875rem; letter-spacing: 0.04em;
  background: rgba(255,255,255,0.9); backdrop-filter: blur(8px);
  border-radius: 50px;
  padding: 0.3rem 0.75rem; color: var(--text-muted); text-transform: uppercase;
}
.card-badge.featured { background: var(--sky-2); color: white; }
.card-location {
  position: absolute; bottom: 1rem; left: 1rem; z-index: 2;
  font-family: var(--sans); font-size: 0.6875rem; letter-spacing: 0.04em;
  background: rgba(255,255,255,0.9); backdrop-filter: blur(6px);
  border-radius: 50px; padding: 0.3rem 0.75rem; color: var(--text-2);
  display: flex; align-items: center; gap: 0.35rem;
}
.card-body { padding: 1.4rem; }
.card-name { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--navy); margin-bottom: 0.4rem; line-height: 1.3; }
.card-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 1rem; }
.card-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; }
.card-specs { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.card-spec { font-family: var(--sans); font-size: 0.85rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.25rem; }
.card-price { text-align: right; }
.card-price-amount { font-family: var(--serif); font-size: 1.4rem; font-weight: 700; color: var(--sky-2); font-style: italic; }
.card-price-unit { font-size: 0.72rem; color: var(--text-faint); }

/* ── Boat Grid ── */
.boats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 1.5rem; }

/* ── Filters ── */
.filters {
  display: flex; align-items: center; flex-wrap: wrap; gap: 0.75rem;
  margin-bottom: 2.5rem;
  background: var(--bg-2); border: 1.5px solid var(--line);
  border-radius: var(--r); padding: 1.2rem 1.5rem;
}
.filter-group { display: flex; flex-direction: column; gap: 0.35rem; min-width: 150px; flex: 1; }
.filter-label { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.18em; color: var(--sky-2); text-transform: uppercase; }
.filter-select, .filter-input {
  background: white; border: 1.5px solid var(--line-2); border-radius: var(--r-sm);
  color: var(--text); padding: 0.6rem 0.9rem; font-size: 0.85rem;
  transition: border-color 0.3s;
  -webkit-appearance: none; appearance: none;
}
.filter-select:focus, .filter-input:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(15,52,96,0.22); }
.filter-select option { background: white; }
.filter-btn { align-self: flex-end; flex-shrink: 0; }

/* ── Location tabs (legacy) ── */
.location-tabs { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.location-tab {
  padding: 0.5rem 1.25rem; border-radius: 50px;
  font-size: 0.82rem; font-weight: 500;
  border: 1.5px solid var(--line-2); color: var(--text-muted);
  transition: color 0.3s, background-color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s, opacity 0.3s, width 0.3s; background: white;
}
.location-tab:hover { border-color: var(--sky); color: var(--sky-2); }
.location-tab.active { background: var(--sky-2); border-color: var(--sky-2); color: white; }

/* ── Location filter bar ── */
.loc-filter-bar {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 1rem 0;
}
.loc-filter-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  padding: 0 2rem;
  overflow-x: auto; scrollbar-width: none;
}
.loc-filter-inner::-webkit-scrollbar { display: none; }
.loc-btn {
  display: flex; align-items: center; gap: 0.4rem;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  border: 1.5px solid var(--navy);
  background: transparent;
  color: var(--navy);
  font-size: 0.82rem; font-weight: 500;
  white-space: nowrap; flex-shrink: 0;
  cursor: pointer;
  transition: color 0.2s, background-color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s, opacity 0.2s, width 0.2s;
}
.loc-btn:hover { background: rgba(15,52,96,0.08); }
.loc-btn.active { background: var(--navy); color: #fff; font-weight: 700; }
.loc-btn-icon { font-size: 0.95rem; line-height: 1; }
.loc-btn-name { font-size: 0.82rem; }
.loc-btn-sub { display: none; }

/* ── Marquee ── */
.marquee {
  overflow: hidden; min-height: 4.6rem;
  background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  position: relative;
}
.marquee::before, .marquee::after { content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg-2), transparent); }
.marquee::after  { right: 0; background: linear-gradient(270deg, var(--bg-2), transparent); }
@media (max-width: 600px) {
  .marquee::before, .marquee::after { width: 32px; }
}
.marquee-track { position: absolute; top: 0; left: 0; height: 100%; display: flex; align-items: center; gap: 3rem; flex-shrink: 0; will-change: transform; }
.marquee-item {
  font-family: var(--serif); font-size: clamp(1rem, 2vw, 1.35rem); font-style: italic; color: var(--text-muted);
  display: flex; align-items: center; gap: 0.9rem; white-space: nowrap; line-height: 1.3;
  text-decoration: none; cursor: pointer; transition: color 0.2s;
}
.marquee-item:hover { color: var(--sky-3); }
.marquee-item:hover .accent { color: var(--sky-2); }
.marquee-item .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--sky); flex-shrink: 0; }
.marquee-item .accent { color: var(--sky-2); transition: color 0.2s; }

/* ── How it works ── */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2.5rem; }
.step { display: flex; flex-direction: column; gap: 0.75rem; padding: 1.5rem; background: var(--bg-card); border: 1.5px solid var(--line-2); border-radius: var(--r); box-shadow: var(--shadow); transition: box-shadow 0.25s; }
.step:hover { box-shadow: var(--shadow-lg); }
.step-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.step-num { font-family: var(--serif); font-size: 2rem; font-weight: 700; font-style: italic; color: var(--navy); line-height: 1; }
.step-icon { width: 46px; height: 46px; border-radius: var(--r-sm); background: var(--sky-lighter); border: 1.5px solid var(--line-2); display: grid; place-items: center; font-size: 1.25rem; flex-shrink: 0; }
.step-title { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: var(--navy); }
.step-desc { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; }

/* ── Payment section ── */
.payment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.payment-text { display: flex; flex-direction: column; gap: 0; }
.payment-check-list { display: flex; flex-direction: column; gap: 0.85rem; list-style: none; margin-top: 1.5rem; }
.payment-check-list li {
  display: flex; gap: 0.75rem; align-items: flex-start;
  font-size: 0.9rem; color: var(--text-2); line-height: 1.6;
}
.payment-check-list li .check-icon {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--sky-lighter); border: 1.5px solid var(--line-2);
  color: var(--sky-2); display: grid; place-items: center;
  font-size: 0.7rem; flex-shrink: 0; margin-top: 0.1rem; font-weight: 700;
}
@media (max-width: 768px) {
  .payment-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ── Bank info box ── */
.bank-box {
  background: white; border: 1.5px solid var(--line-2);
  border-radius: var(--r); padding: 2rem;
  border-top: 1.5px solid var(--line-2);
  box-shadow: var(--shadow);
}
.bank-box-title { font-family: var(--serif); font-size: 1.1rem; font-style: italic; color: var(--navy); margin-bottom: 1.25rem; }
.bank-box-tab { display: flex; gap: 0; border-bottom: 1.5px solid var(--line); margin-bottom: 1.25rem; }
.bank-box-tab-btn { flex: 1 1 auto; padding: 0.6rem 0.5rem; font-size: 0.82rem; font-weight: 500; color: var(--text-muted); border-bottom: 2px solid transparent; margin-bottom: -1.5px; transition: color 0.25s, background-color 0.25s, border-color 0.25s, box-shadow 0.25s, transform 0.25s, opacity 0.25s, width 0.25s; white-space: nowrap; text-align: center; }
.bank-box-tab-btn.active { color: var(--sky-2); border-bottom-color: var(--sky-2); }
.bank-panel { display: none; }
.bank-panel.active { display: block; }
.bank-row {
  display: flex; justify-content: space-between; align-items: center;
  gap: 0.75rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line);
}
.bank-row:last-child { border-bottom: none; }
.bank-key { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.04em; color: var(--text-muted); text-transform: uppercase; white-space: nowrap; flex-shrink: 0; }
.bank-val { font-size: 0.9rem; color: var(--text); font-weight: 600; white-space: nowrap; }
@media (max-width: 480px) {
  .bank-box { padding: 1.25rem; }
  .bank-box-tab-btn { font-size: 0.72rem; padding: 0.6rem 0.25rem; }
  .bank-row { flex-direction: column; align-items: flex-start; gap: 0.4rem; }
  .bank-val { font-size: 0.85rem; }
}
.bank-copy { font-family: var(--sans); font-size: 0.6875rem; color: var(--sky-2); cursor: pointer; padding: 0.2rem 0.6rem; border: 1.5px solid var(--line-2); border-radius: 6px; transition: color 0.2s, background-color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s, opacity 0.2s, width 0.2s; }
.bank-copy:hover { background: var(--sky-lighter); border-color: var(--sky); }

/* ── Forms ── */
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-label { font-family: var(--sans); font-size: 0.6875rem; letter-spacing: 0.04em; color: var(--sky-2); text-transform: uppercase; font-weight: 500; }
.form-input, .form-select, .form-textarea {
  background: white; border: 1.5px solid var(--line-2);
  border-radius: var(--r-sm); color: var(--text);
  padding: 0.85rem 1.1rem; font-size: 0.9rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  -webkit-appearance: none; appearance: none; width: 100%;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(15,52,96,0.22);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-faint); }
.form-select option { background: white; }
.form-textarea { resize: vertical; min-height: 100px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-error { font-size: 0.78rem; color: var(--danger); margin-top: 0.25rem; }
.form-success { font-size: 0.85rem; color: #198754; margin-top: 0.25rem; }

/* ── Calendar ── */
.calendar-wrapper {
  background: white; border: 1.5px solid var(--line-2);
  border-radius: var(--r); padding: 1.5rem; user-select: none;
  box-shadow: var(--shadow);
  max-width: 440px; margin: 0 auto;
}
/* En pantallas grandes (laptop/desktop) el calendario aprovecha todo el ancho
   disponible del wizard (antes quedaba encogido en un cuadro angosto aunque
   sobrara espacio a los lados) — inspirado en la grilla amplia del calendario
   del panel admin. En el teléfono se queda en su tamaño compacto actual. */
@media (min-width: 900px) {
  .calendar-wrapper { max-width: 100%; padding: 2rem 2.25rem; }
  .calendar-title { font-size: 1.5rem; }
  .calendar-nav { width: 44px; height: 44px; font-size: 1.2rem; }
  .calendar-day-name { font-size: 0.8rem; }
  .cal-day-name { font-size: 0.6875rem; margin-bottom: 4px; }
  .cal-day-num { font-size: 1.3rem; }
  .calendar-days, .calendar-days-header { gap: 8px; }
  .calendar-day { border-radius: 12px; }
  .calendar-day:not(.empty) { aspect-ratio: auto; min-height: 68px; }
}
.calendar-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.25rem; padding-bottom: 1rem;
  border-bottom: 1.5px solid var(--line);
}
.calendar-title { font-family: var(--serif); font-size: 1.1rem; font-style: italic; color: var(--navy); font-weight: 600; }
.calendar-nav {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid var(--line-2); color: var(--text-muted);
  display: grid; place-items: center; font-size: 1rem; transition: color 0.2s, background-color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s, opacity 0.2s, width 0.2s;
  flex-shrink: 0;
}
.calendar-nav:hover { border-color: var(--sky); color: var(--sky-2); background: var(--sky-lighter); }
.calendar-days-header {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 2px; margin-bottom: 4px;
}
.calendar-day-name {
  text-align: center; font-family: var(--mono); font-size: 0.6875rem;
  color: var(--text-faint); letter-spacing: 0.08em;
  padding: 0.4rem 0; text-transform: uppercase;
}
.calendar-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.calendar-day {
  aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  border-radius: 8px; color: var(--text-2); min-width: 0;
  transition: color 0.18s, background-color 0.18s, border-color 0.18s, box-shadow 0.18s, transform 0.18s, opacity 0.18s, width 0.18s; cursor: pointer; font-weight: 400;
}
.cal-day-name { font-size: 0.6875rem; font-family: var(--mono); letter-spacing: 0.05em; text-transform: uppercase; opacity: 0.7; line-height: 1; margin-bottom: 1px; }
.cal-day-num  { font-size: 0.78rem; line-height: 1; font-weight: 500; }
.calendar-day.selected .cal-day-name,
.calendar-day.selected .cal-day-num { color: white; }
.calendar-day:hover:not(.disabled):not(.blocked):not(.past) { background: var(--sky-lighter); color: var(--sky-2); font-weight: 500; }
.calendar-day.today { border: 1.5px solid var(--sky); color: var(--sky-2); font-weight: 700; }
.calendar-day.selected { background: var(--sky-2); color: white; font-weight: 700; border-radius: 8px; }
.calendar-day.in-range { background: var(--sky-light); color: var(--sky-2); border-radius: 0; }
.calendar-day.range-start { background: var(--sky-2); color: white; font-weight: 700; border-radius: 8px 0 0 8px; }
.calendar-day.range-end   { background: var(--sky-2); color: white; font-weight: 700; border-radius: 0 8px 8px 0; }
.calendar-day.blocked { background: #FEE2E2; color: #FCA5A5; cursor: not-allowed; text-decoration: line-through; font-size: 0.8rem; }
.calendar-day.past { color: var(--text-faint); opacity: 0.32; cursor: not-allowed; pointer-events: none; }
.calendar-day.empty { pointer-events: none; }
.calendar-legend {
  display: flex; gap: 1rem; margin-top: 1rem; padding-top: 1rem;
  border-top: 1.5px solid var(--line); flex-wrap: wrap; justify-content: center;
}
.calendar-legend-item { display: flex; align-items: center; gap: 0.4rem; font-family: var(--mono); font-size: 0.6875rem; color: var(--text-muted); }
.calendar-legend-dot { width: 10px; height: 10px; border-radius: 3px; flex-shrink: 0; }
.calendar-legend-dot.available { background: var(--sky-light); border: 1px solid var(--line-2); }
.calendar-legend-dot.blocked   { background: #FEE2E2; }
.calendar-legend-dot.selected  { background: var(--sky-2); }

.panel-subheading { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.18em; color: var(--sky-2); text-transform: uppercase; margin-bottom: 0.6rem; }

/* ── Adicionales ── */
.additionals-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem;
}
.additional-item {
  display: flex; align-items: center; gap: 0.6rem;
  border: 1.5px solid var(--line-2); border-radius: var(--r-sm);
  padding: 0.65rem 0.75rem; cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  background: var(--bg-card);
}
/* Solo en dispositivos con mouse real: en touch, :hover se queda "pegado" tras
   el toque (no hay cursor que se aleje) y se confundía con el estado marcado. */
@media (hover: hover) and (pointer: fine) {
  .additional-item:hover { border-color: var(--sky); background: var(--sky-lighter); }
}
.additional-item input[type="checkbox"] { display: none; }
.additional-check { margin-left: auto; flex-shrink: 0; width: 26px; height: 26px; border-radius: 8px; border: 2px solid var(--line-2); background: #fff; display: grid; place-items: center; transition: background 0.2s, border-color 0.2s, transform 0.2s; }
.additional-check::after { content: ''; width: 6px; height: 12px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); opacity: 0; margin-top: -3px; transition: opacity 0.2s; }
.additional-item:has(input:checked) .additional-check { background: var(--sky-2); border-color: var(--sky-2); }
.additional-item:has(input:checked) .additional-check::after { opacity: 1; }
.additional-item:has(input:checked) { border-color: var(--sky); background: var(--sky-lighter); }
.additional-icon { font-size: 1.3rem; flex-shrink: 0; }
.additional-info { display: flex; flex-direction: column; }
.additional-name { font-size: 0.8rem; font-weight: 600; color: var(--text); }
.additional-price { font-family: var(--sans); font-size: 0.6875rem; color: var(--sky-2); font-weight: 500; }

/* ── Schedule / Turnos ── */
.schedule-btn {
  display: flex; flex-direction: column; align-items: center; gap: 0.2rem;
  background: var(--bg-card); border: 1.5px solid var(--line-2);
  border-radius: var(--r-sm); padding: 0.85rem 0.5rem;
  cursor: pointer; transition: color 0.2s, background-color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s, opacity 0.2s, width 0.2s; text-align: center; width: 100%;
}
.schedule-btn:hover:not(:disabled) {
  border-color: var(--sky-2); background: rgba(90,184,224,0.06);
}
.schedule-btn.slot-selected {
  border-color: var(--sky-2); background: rgba(90,184,224,0.12);
  box-shadow: 0 0 0 2px rgba(90,184,224,0.25);
}
.schedule-btn.slot-booked {
  opacity: 0.45; cursor: not-allowed;
}
.slot-icon { font-size: 1.4rem; line-height: 1; }
.slot-label { font-family: var(--sans); font-size: 0.6875rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--cream-3); }
.slot-time { font-family: var(--serif); font-style: italic; font-size: 0.88rem; color: var(--cream); font-weight: 600; }
.slot-status { font-family: var(--sans); font-size: 0.6875rem; letter-spacing: 0.08em; }

/* ── Booking summary ── */
.booking-summary {
  background: white; border: 1.5px solid var(--line-2);
  border-radius: var(--r); padding: 1.75rem;
  box-shadow: var(--shadow);
  margin-bottom: 2.5rem;
}
.booking-summary-title { font-family: var(--serif); font-size: 1.1rem; font-style: italic; color: var(--navy); margin-bottom: 1.25rem; }
.booking-line { display: flex; justify-content: space-between; align-items: center; padding: 0.6rem 0; border-bottom: 1px solid var(--line); }
.booking-line:last-of-type { border-bottom: none; }
.booking-line.total { border-top: 1.5px solid var(--line-2); margin-top: 0.5rem; padding-top: 1rem; }
.booking-line-label { font-size: 0.85rem; color: var(--text-muted); }
.booking-line-val { font-size: 0.9rem; color: var(--text); }
.booking-line.total .booking-line-val { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; font-style: italic; color: var(--sky-2); }

/* ── Tabs ── */
.tabs { display: flex; gap: 0; border-bottom: 1.5px solid var(--line); margin-bottom: 2rem; overflow-x: auto; }
.tab-btn { padding: 0.85rem 1.5rem; font-size: 0.85rem; color: var(--text-muted); border-bottom: 2px solid transparent; transition: color 0.3s, background-color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s, opacity 0.3s, width 0.3s; white-space: nowrap; margin-bottom: -1.5px; }
.tab-btn:hover { color: var(--sky-2); }
.tab-btn.active { color: var(--sky-2); border-bottom-color: var(--sky); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── Admin Panel ── */
.admin-layout { display: grid; grid-template-columns: 260px 1fr; min-height: 100svh; }
.admin-sidebar {
  background: var(--navy); border-right: none;
  padding: 2rem 1.5rem; position: sticky; top: 0; height: 100svh;
  overflow-y: auto; display: flex; flex-direction: column; gap: 0.5rem;
}
.admin-sidebar-brand { display: block; }
.admin-sidebar-logo-img { height: 85px; object-fit: contain; filter: brightness(0) invert(1); margin-bottom: 2rem; }
.admin-sidebar-label { font-family: var(--mono); font-size: 0.6875rem; color: rgba(255,255,255,0.4); letter-spacing: 0.2em; text-transform: uppercase; margin-top: -1.5rem; margin-bottom: 1.5rem; }
.admin-nav-items { display: flex; flex-direction: column; gap: 0.5rem; }
.admin-sidebar-footer { display: flex; flex-direction: column; gap: 0.5rem; margin-top: auto; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.12); }
.admin-nav-item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem 1rem; border-radius: var(--r-sm);
  font-size: 0.85rem; color: rgba(255,255,255,0.65);
  transition: color 0.2s, background-color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s, opacity 0.2s, width 0.2s; cursor: pointer;
}
.admin-nav-item:hover { background: rgba(255,255,255,0.1); color: white; }
.admin-nav-item.active { background: rgba(14,165,233,0.25); color: #7DD3FC; }
.admin-nav-icon { font-size: 1rem; width: 20px; text-align: center; }
.admin-main { padding: 2.5rem 2rem; overflow-y: auto; background: var(--bg-2); }
.admin-header { margin-bottom: 2.5rem; }
.admin-title { font-family: var(--serif); font-size: 2rem; font-style: italic; font-weight: 700; color: var(--navy); }
.admin-subtitle { color: var(--text-muted); font-size: 0.88rem; margin-top: 0.35rem; }

/* ── Admin Stats cards ── */
.admin-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; margin-bottom: 2.5rem; }
.stat-card { background: white; border: 1.5px solid var(--line); border-radius: var(--r); padding: 1.5rem; box-shadow: var(--shadow); }
.stat-card-label { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.2em; color: var(--text-muted); text-transform: uppercase; margin-bottom: 0.75rem; }
.stat-card-num { font-family: var(--serif); font-size: 2.2rem; font-style: italic; font-weight: 700; color: var(--sky-2); line-height: 1; }
.stat-card-sub { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.4rem; }

/* ── Admin filter bar ── */
.admin-filter-bar { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 1.5rem; align-items: center; }
.admin-filter-bar-actions { display: flex; gap: 0.6rem; margin-left: auto; }
@media (max-width: 640px) {
  .admin-filter-bar { flex-direction: column; align-items: stretch; }
  .admin-filter-bar .filter-select { width: 100%; }
  .admin-filter-bar-actions { margin-left: 0; }
  .admin-filter-bar-actions .btn { flex: 1; }
}

/* ── Table ── */
.data-table { width: 100%; border-collapse: collapse; }
.data-table th { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.15em; color: var(--text-muted); text-transform: uppercase; padding: 0.75rem 1rem; border-bottom: 1.5px solid var(--line-2); text-align: left; white-space: nowrap; background: var(--bg-2); }
.data-table td { padding: 1rem; border-bottom: 1px solid var(--line); font-size: 0.85rem; color: var(--text-2); vertical-align: middle; background: white; }
.data-table tr:hover td { background: var(--sky-lighter); }
.data-table tr:last-child td { border-bottom: none; }
.table-wrap { overflow-x: auto; border: 1.5px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }

/* ── Admin tables (boats, reservas) → stacked cards nativas en móvil ── */
@media (max-width: 768px) {
  .boats-admin-table.data-table, .boats-admin-table.data-table tbody, .boats-admin-table.data-table tr, .boats-admin-table.data-table td,
  .admin-mobile-table.data-table, .admin-mobile-table.data-table tbody, .admin-mobile-table.data-table tr, .admin-mobile-table.data-table td {
    display: block; width: 100%;
  }
  .boats-admin-table.data-table thead, .admin-mobile-table.data-table thead { display: none; }
  .boats-admin-table.data-table tr, .admin-mobile-table.data-table tr {
    border: 1.5px solid var(--line); border-radius: var(--r);
    margin: 0 0 0.9rem; box-shadow: var(--shadow); overflow: hidden;
    background: var(--bg-card);
  }
  .boats-admin-table.data-table td, .admin-mobile-table.data-table td {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: 0.7rem 1.1rem; border-bottom: 1px solid var(--line); text-align: right;
    white-space: normal; background: transparent;
  }
  .boats-admin-table.data-table td:last-child, .admin-mobile-table.data-table td:last-child { border-bottom: none; }
  .boats-admin-table.data-table td[data-label]::before, .admin-mobile-table.data-table td[data-label]::before {
    content: attr(data-label);
    font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.1em;
    color: var(--text-muted); text-transform: uppercase; text-align: left;
    flex-shrink: 0;
  }
  .boats-admin-table.data-table td[data-label="Embarcación"],
  .admin-mobile-table.data-table td[data-label="Embarcación"],
  .admin-mobile-table.data-table td[data-label="Cliente"] { flex-direction: column; align-items: flex-start; gap: 0.3rem; }
  .boats-admin-table.data-table td[data-label="Embarcación"]::before,
  .admin-mobile-table.data-table td[data-label="Embarcación"]::before,
  .admin-mobile-table.data-table td[data-label="Cliente"]::before { margin-bottom: 0.15rem; }
  .boats-admin-table.data-table td[data-label="Acciones"], .admin-mobile-table.data-table td[data-label="Acciones"] { flex-direction: column; align-items: stretch; gap: 0.5rem; }
  .boats-admin-table.data-table td[data-label="Acciones"]::before, .admin-mobile-table.data-table td[data-label="Acciones"]::before { margin-bottom: 0.15rem; }
  .boats-admin-table.data-table td[data-label="Acciones"] .btn, .admin-mobile-table.data-table td[data-label="Acciones"] .btn { width: 100%; justify-content: center; }
  .table-wrap:has(.boats-admin-table), .table-wrap:has(.admin-mobile-table) { border: none; box-shadow: none; overflow-x: visible; background: transparent; }

  /* Ref/Referencia y nombre de embarcación: encabezado visual de la tarjeta */
  .admin-mobile-table.data-table td[data-label="Ref"],
  .admin-mobile-table.data-table td[data-label="Referencia"] {
    background: var(--sky-lighter); font-family: var(--mono); font-weight: 700; color: var(--navy);
  }
  .boats-admin-table.data-table td[data-label="Embarcación"] {
    background: linear-gradient(135deg, var(--sky-lighter), var(--bg-card) 80%);
    padding-top: 0.9rem; padding-bottom: 0.9rem;
  }
  .boats-admin-table.data-table td[data-label="Embarcación"] > *:first-child {
    font-family: var(--serif); font-size: 1.05rem; font-weight: 700; font-style: italic; color: var(--navy);
  }
}

/* ── Badges ── */
.badge { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.25rem 0.7rem; border-radius: 50px; font-family: var(--sans); font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; }
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.badge-pending  { background: #FEF9C3; color: #A16207; }
.badge-submitted{ background: #DBEAFE; color: #1D4ED8; }
.badge-confirmed{ background: #DCFCE7; color: #15803D; }
.badge-cancelled{ background: #FEE2E2; color: #B91C1C; }
.badge-verified { background: #DCFCE7; color: #15803D; }
.badge-rejected { background: #FEE2E2; color: #B91C1C; }

/* ── Modal ── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(15,52,96,0.5); backdrop-filter: blur(8px);
  display: grid; place-items: center; padding: 1rem;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.modal-overlay.is-open { opacity: 1; pointer-events: auto; }
.modal {
  background: white; border: 1.5px solid var(--line-2);
  border-radius: var(--r); padding: 2.5rem; max-width: 560px; width: 100%;
  transform: translateY(20px); transition: transform 0.4s var(--ease-soft);
  max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-lg);
  position: relative;
}
.modal-overlay.is-open .modal { transform: none; }
.modal-title { font-family: var(--serif); font-size: 1.5rem; font-style: italic; color: var(--navy); margin-bottom: 1.5rem; }
.modal-close { position: absolute; top: 1.5rem; right: 1.5rem; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; font-size: 0.9rem; color: var(--text-muted); transition: color 0.2s, background-color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s, opacity 0.2s, width 0.2s; }
.modal-close:hover { border-color: var(--sky); color: var(--sky-2); }

/* ── Toast ── */
#toast-container { position: fixed; bottom: 2rem; right: 2rem; z-index: 9998; display: flex; flex-direction: column; gap: 0.5rem; }
.toast { background: white; border: 1.5px solid var(--line-2); border-radius: var(--r-sm); padding: 0.85rem 1.25rem; font-size: 0.85rem; color: var(--text); box-shadow: 0 8px 32px rgba(15,52,96,0.22); display: flex; align-items: center; gap: 0.75rem; min-width: 280px; max-width: 380px; transform: translateX(120%); transition: transform 0.4s var(--ease-soft); }
.toast.is-in { transform: none; }
.toast.success { border-left: 3px solid #198754; }
.toast.error   { border-left: 3px solid var(--danger); }
.toast.info    { border-left: 3px solid var(--sky); }
.toast-icon { font-size: 1rem; flex-shrink: 0; }
.toast-msg { flex: 1; line-height: 1.5; }

/* ── Image Gallery ── */
/* Galería: sin marco. La foto o el video se muestran COMPLETOS, centrados, con esquinas redondeadas y sombra suave */
.gallery { --gal-h: clamp(260px, 42vw, 480px); height: var(--gal-h); overflow: visible; background: none; border: 0; }
.gallery-main { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; cursor: zoom-in; box-sizing: border-box; }
.gallery-media { position: relative; display: block; max-width: 100%; line-height: 0; }
/* La foto se muestra tal cual: tamaño y proporción originales, sin recorte, sin bordes ni efectos.
   Solo se reduce (misma proporción) cuando es más grande que el espacio disponible. */
.gallery-media img, .gallery-media video { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(var(--gal-h) - 16px); }
.gallery-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 68px; height: 68px; border-radius: 50%;
  display: grid; place-items: center; padding-left: 4px; font-size: 1.4rem; color: var(--navy);
  background: rgba(255,255,255,0.92); box-shadow: 0 6px 24px rgba(15,52,96,0.35); pointer-events: none;
}
.gallery-bg { display: none; }

/* Flechas */
.gallery-nav {
  position: absolute; top: calc(50% - 21px); z-index: 6; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; padding: 0 0 3px; font-size: 1.7rem; line-height: 1;
  background: rgba(15,52,96,0.72); color: #fff; box-shadow: 0 3px 14px rgba(15,52,96,0.25);
  opacity: 0.9; transition: opacity 0.2s, transform 0.2s;
}
.gallery-nav:hover { opacity: 1; transform: scale(1.08); }
.gallery-nav-prev { left: 0.9rem; }
.gallery-nav-next { right: 0.9rem; }

/* Miniaturas: chips uniformes (la foto completa se ve arriba) */
.gallery-strip { display: flex; gap: 0.55rem; overflow-x: auto; width: fit-content; max-width: min(100% - 2 * clamp(1.5rem, 6vw, 4rem), 1100px); margin: 0 auto; padding: 0.5rem 6px 0.5rem; scrollbar-width: none; -ms-overflow-style: none; }
.gallery-strip::-webkit-scrollbar { display: none; }
.gallery-strip:empty { display: none; }
.gallery-thumb-btn {
  position: relative; flex: 0 0 auto; width: 76px; height: 54px; border-radius: 10px; overflow: hidden; padding: 0;
  border: 0; opacity: 0.6; cursor: pointer; background: #eef3f8;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
}
.gallery-thumb-btn:hover { opacity: 1; transform: translateY(-2px); }
.gallery-thumb-btn.active { opacity: 1; box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--sky-2); }
.gallery-thumb-btn img, .gallery-thumb-btn video { width: 100%; height: 100%; object-fit: contain; display: block; pointer-events: none; }
.gallery-thumb-play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 0.9rem; background: rgba(15,52,96,0.3); }
.gallery-more {
  position: absolute; inset: 0; background: rgba(15,52,96,0.55);
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 1.5rem; font-style: italic; color: white;
}

/* Lightbox */
.lightbox-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(15,52,96,0.95);
  display: grid; place-items: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.lightbox-overlay.is-open { opacity: 1; pointer-events: auto; }
.lightbox-img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: var(--r-sm); }
.lightbox-close { position: fixed; top: 2rem; right: 2rem; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.15); backdrop-filter: blur(8px); display: grid; place-items: center; font-size: 1.2rem; color: white; transition: background 0.2s; }
.lightbox-close:hover { background: rgba(255,255,255,0.25); }
.lightbox-nav { position: fixed; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; background: rgba(255,255,255,0.15); backdrop-filter: blur(8px); border-radius: 50%; display: grid; place-items: center; color: white; font-size: 1.1rem; transition: background 0.2s; }
.lightbox-nav:hover { background: rgba(255,255,255,0.25); }
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }
.lightbox-counter { position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: 0.75rem; color: rgba(255,255,255,0.7); }

/* ── Footer ── */
.footer {
  background: var(--navy);
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 6vw, 4rem) 2rem;
}
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-logo-img { height: 100px; object-fit: contain; filter: brightness(0) invert(1); margin-bottom: 0.75rem; }
.footer-tagline { font-size: 0.85rem; color: rgba(255,255,255,0.55); line-height: 1.6; max-width: 260px; }
.footer-col-title { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.2em; color: #7DD3FC; text-transform: uppercase; margin-bottom: 1.25rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-link { font-size: 0.85rem; color: rgba(255,255,255,0.55); transition: color 0.3s; }
.footer-link:hover { color: white; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); flex-wrap: wrap; gap: 1rem; }
.footer-copy { font-family: var(--sans); font-size: 0.7rem; color: rgba(255,255,255,0.4); }
.footer-social { display: flex; gap: 0.75rem; }
.footer-social-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); display: grid; place-items: center; font-size: 0.85rem; color: rgba(255,255,255,0.55); transition: color 0.3s, background-color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s, opacity 0.3s, width 0.3s; }
.footer-social-btn:hover { border-color: var(--sky); color: var(--sky); }

/* Firma de desarrollo, integrada con la paleta del sitio. */
.footer-credit { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 1.25rem; margin-top: 1rem; padding: 1rem 4.5rem 0 0; border-top: 1px solid rgba(255,255,255,0.12); }
.footer-credit-brand { display: inline-flex; align-items: center; gap: 1rem; color: white; border-radius: 6px; }
.footer-credit-label { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.22em; text-transform: uppercase; color: #B4CBE0; }
.footer-credit-logo { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 0.6875rem; font-weight: 700; line-height: 1.2; letter-spacing: 0.02em; }
.footer-credit-logo img { object-fit: contain; }
.footer-credit-logo > span > span { color: #7DD3FC; }
.footer-credit-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0.65rem; padding-left: 1.25rem; border-left: 1px solid rgba(255,255,255,0.18); }
.footer-credit-link { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 44px; padding: 0.6rem 1rem; border: 1px solid rgba(125,211,252,0.25); border-radius: 999px; color: #E0F2FE; font-size: 0.8rem; font-weight: 600; transition: color 0.2s, background 0.2s, border-color 0.2s; }
.footer-credit-link svg { width: 19px; height: 19px; flex-shrink: 0; color: #7DD3FC; }
.footer-credit-link:hover { color: white; background: rgba(14,165,233,0.15); border-color: #7DD3FC; }
.footer-credit a:focus-visible { outline: 2px solid #7DD3FC; outline-offset: 5px; }
@media (max-width: 640px) {
  .footer-credit { justify-content: center; gap: 0.75rem; padding: 1rem 0 0; }
  .footer-credit-links { padding-right: 3.5rem; }
  .footer-credit-links { width: 100%; justify-content: center; padding-left: 0; border-left: 0; }
}

/* Sección redes sociales */
.social-section { text-align: center; background: var(--bg-2); border-top: 1px solid var(--line); }
.social-reserve-grid { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.social-reserve-copy { text-align: left; }
.social-reserve-intro { margin-top: 1.25rem; font-size: 1.05rem; line-height: 1.8; color: var(--text-muted); }
.social-reserve-services { margin-top: 1.25rem; font-size: 0.9rem; line-height: 1.8; color: var(--text-muted); }
.social-reserve-services strong { color: var(--navy); font-weight: 600; }
.social-reserve-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.social-reserve-whatsapp { background: #25D366; color: white; box-shadow: 0 4px 20px rgba(37,211,102,0.2); }
.social-reserve-grid .instagram-profile { width: 100%; margin: 0 auto; }
@media (max-width: 900px) {
  .social-reserve-grid { grid-template-columns: 1fr; gap: 2rem; }
  .social-reserve-copy { max-width: 600px; margin: 0 auto; text-align: center; }
  .social-reserve-actions { justify-content: center; }
}
.instagram-profile { position: relative; max-width: 520px; margin: 2rem auto 0; padding: 1.5rem 1.75rem; border: 1px solid rgba(15,52,96,0.09); border-radius: 24px; background: white; box-shadow: 0 16px 48px rgba(15,52,96,0.08); overflow: hidden; text-align: left; }
.instagram-profile-header { display: flex; align-items: center; gap: 0.5rem; color: var(--navy); font-weight: 600; font-size: 0.9rem; }
.instagram-profile-header svg { color: #C13584; }
.instagram-profile-category { margin-left: auto; font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.12em; color: var(--text-muted); }
.instagram-profile-main { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.instagram-avatar { display: block; flex-shrink: 0; width: 88px; height: 88px; padding: 3px; border-radius: 50%; background: linear-gradient(35deg, #FCAF45, #F56040 30%, #E1306C 55%, #833AB4); }
.instagram-avatar > span { display: grid; place-items: center; width: 100%; height: 100%; border: 3px solid white; border-radius: 50%; background: var(--bg-2); overflow: hidden; }
.instagram-avatar img { width: 70px; height: 70px; object-fit: contain; }
.instagram-profile-info { min-width: 0; display: flex; flex-direction: column; gap: 0.3rem; }
.instagram-handle { font-size: 1.1rem; font-weight: 700; color: var(--navy); }
.instagram-profile-info > span { font-size: 0.75rem; color: var(--text-muted); }
.instagram-stat { margin: 1.5rem 0; padding: 1.5rem 1rem; border: 1px solid rgba(193,53,132,0.09); border-radius: 18px; background: linear-gradient(115deg, #fff8f2, #fff4f8 55%, #f6f3ff); text-align: center; }
.instagram-stat strong { display: block; font-family: var(--sans); font-size: clamp(3rem, 7vw, 4rem); line-height: 1.1; font-weight: 800; letter-spacing: -0.055em; color: #B52C79; }
.instagram-stat strong > span { font-size: 0.6em; font-weight: 600; letter-spacing: -0.03em; }
.instagram-stat-label { display: block; margin-top: 0.65rem; font-size: 0.85rem; font-weight: 600; color: var(--navy); }
.instagram-stat-detail { display: block; margin-top: 0.3rem; font-size: 0.72rem; color: var(--text-muted); }
.instagram-follow { display: flex; justify-content: center; align-items: center; gap: 0.75rem; min-height: 46px; border-radius: 12px; background: linear-gradient(100deg, #CC3D56, #B62B82, #793DC2); color: white; font-size: 0.9rem; font-weight: 600; transition: box-shadow 0.2s; }
.instagram-follow:hover { box-shadow: 0 5px 18px rgba(182,43,130,0.25); }
.instagram-profile a:focus-visible { outline: 2px solid var(--sky-2); outline-offset: 4px; }
.instagram-updated { margin-top: 0.85rem; font-size: 0.6875rem; color: var(--text-muted); text-align: center; }
@media (max-width: 480px) {
  .instagram-profile { padding: 1.25rem; border-radius: 20px; }
  .instagram-profile-category { font-size: 0.48rem; letter-spacing: 0.06em; }
  .instagram-profile-main { gap: 0.75rem; }
  .instagram-avatar { width: 68px; height: 68px; }
  .instagram-avatar img { width: 54px; height: 54px; }
  .instagram-handle { font-size: 0.95rem; }
  .instagram-profile-info > span { font-size: 0.6875rem; }
  .instagram-stat { padding: 1.25rem 0.5rem; }
}

/* ── Page layouts ── */
.page { padding-top: var(--nav-h); min-height: 100svh; }
.page-hero {
  background: linear-gradient(135deg, var(--sky-lighter) 0%, var(--bg-2) 100%);
  padding: clamp(1.75rem, 3.5vw, 2.75rem) clamp(1.5rem, 6vw, 4rem);
  border-bottom: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(14,165,233,0.1), transparent 60%);
}
.page-hero-inner { max-width: 1280px; margin: 0 auto; position: relative; }
.page-title { font-family: var(--serif); font-size: clamp(1.75rem, 4vw, 2.75rem); font-style: italic; font-weight: 700; color: var(--navy); line-height: 1.2; }
.page-subtitle { font-size: 0.95rem; color: var(--text-muted); margin-top: 0.5rem; }

/* La sección justo después de la barra de ubicaciones no necesita el padding-top completo de .section */
.loc-filter-bar + .section { padding-top: clamp(1.5rem, 3vw, 2.25rem); }

/* ── Auth page ── */
.auth-page { min-height: 100svh; display: grid; place-items: center; padding: 2rem; background: linear-gradient(135deg, var(--sky-lighter) 0%, var(--bg-2) 50%, white 100%); position: relative; overflow: hidden; }
.auth-page::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(14,165,233,0.08), transparent 60%); pointer-events: none; }
.auth-card { background: white; border: 1.5px solid var(--line-2); border-radius: var(--r); padding: clamp(2rem, 5vw, 3rem); max-width: 480px; width: 100%; position: relative; box-shadow: var(--shadow-lg); }
.auth-logo-img { height: 130px; object-fit: contain; display: block; margin: 0 auto 0.5rem; }
.auth-tagline { text-align: center; font-size: 0.82rem; color: var(--text-muted); margin-bottom: 2rem; }
.auth-tabs { display: flex; border-bottom: 1.5px solid var(--line); margin-bottom: 2rem; }
.auth-tab { flex: 1; padding: 0.75rem; text-align: center; font-size: 0.85rem; font-weight: 500; color: var(--text-muted); border-bottom: 2px solid transparent; margin-bottom: -1.5px; transition: color 0.3s, background-color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s, opacity 0.3s, width 0.3s; }
.auth-tab.active { color: var(--sky-2); border-bottom-color: var(--sky); }

/* ── Dashboard ── */
.dashboard-grid { display: grid; grid-template-columns: 280px 1fr; gap: 2rem; max-width: 1280px; margin: 0 auto; align-items: start; }
.dashboard-sidebar { background: white; border: 1.5px solid var(--line); border-radius: var(--r); padding: 1.5rem; position: sticky; top: calc(var(--nav-h) + 1rem); box-shadow: var(--shadow); }
.dashboard-avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--sky-light); border: 2px solid var(--line-2); display: grid; place-items: center; font-family: var(--serif); font-size: 1.5rem; font-style: italic; color: var(--sky-2); margin-bottom: 1rem; }
.dashboard-name { font-family: var(--serif); font-size: 1.1rem; font-style: italic; color: var(--navy); margin-bottom: 0.25rem; }
.dashboard-email { font-family: var(--sans); font-size: 0.72rem; color: var(--text-muted); }
.dashboard-nav { display: flex; flex-direction: column; gap: 0.25rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.dashboard-nav-item { display: flex; align-items: center; gap: 0.6rem; padding: 0.65rem 0.75rem; border-radius: var(--r-sm); font-size: 0.85rem; color: var(--text-muted); transition: color 0.2s, background-color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s, opacity 0.2s, width 0.2s; cursor: pointer; }
.dashboard-nav-item:hover { background: var(--sky-lighter); color: var(--sky-2); }
.dashboard-nav-item.active { background: var(--sky-light); color: var(--sky-2); font-weight: 500; }

/* ── Booking card (dashboard) ── */
.booking-card {
  background: white; border: 1.5px solid var(--line);
  border-radius: var(--r); overflow: hidden; display: flex;
  transition: border-color 0.3s, box-shadow 0.3s;
  box-shadow: 0 2px 12px rgba(15,52,96,0.22);
}
.booking-card:hover { border-color: var(--sky); box-shadow: var(--shadow); }
.booking-card-img { width: 200px; flex-shrink: 0; object-fit: cover; }
.booking-card-body { padding: 1.5rem; flex: 1; }
.booking-card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 0.75rem; }
.booking-card-name { font-family: var(--serif); font-size: 1.1rem; font-style: italic; color: var(--navy); }
.booking-card-ref { font-family: var(--mono); font-size: 0.6875rem; color: var(--text-muted); margin-top: 0.2rem; }
.booking-card-dates { display: flex; gap: 0.5rem; align-items: center; margin: 0.75rem 0; }
.booking-card-date-item { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 0.4rem 0.75rem; }
.booking-card-date-label { font-family: var(--sans); font-size: 0.6875rem; color: var(--text-muted); letter-spacing: 0.04em; text-transform: uppercase; }
.booking-card-date-val { font-size: 0.82rem; color: var(--text); font-weight: 500; margin-top: 0.15rem; }
.booking-card-arrow { color: var(--text-faint); font-size: 0.75rem; }
.booking-card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); flex-wrap: wrap; gap: 0.75rem; }
.booking-card-price { font-family: var(--serif); font-size: 1.3rem; font-style: italic; font-weight: 700; color: var(--sky-2); }
.booking-card-location { font-family: var(--sans); font-size: 0.6875rem; color: var(--text-muted); }

/* ── Boat detail ── */
.boat-detail-grid { max-width: 1100px; margin: 0 auto; }

/* ── Flujo de reserva paso a paso ── */
.booking-wizard { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 3rem; }
.wizard-step {
  background: var(--bg-card); border: 1.5px solid var(--line-2); border-radius: var(--r);
  padding: 1.5rem 1.75rem; box-shadow: var(--shadow);
  transition: opacity 0.3s var(--ease-soft), border-color 0.3s;
}
.wizard-step.is-locked { opacity: 0.5; box-shadow: none; }
.wizard-step.is-locked .wizard-step-body { display: none; }
.wizard-step.is-complete { border-color: var(--sky-light); }
.wizard-step-head { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.wizard-step-num {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  background: var(--sky-lighter); color: var(--sky-2);
  display: grid; place-items: center;
  font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 1.05rem;
  transition: background 0.3s, color 0.3s;
}
.wizard-step.is-complete .wizard-step-num { background: var(--sky-2); color: #fff; }
.wizard-step-headtext { flex: 1; min-width: 160px; }
.wizard-step-title { font-family: var(--serif); font-size: 1.15rem; font-style: italic; font-weight: 700; color: var(--navy); }
.wizard-step-sub { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.15rem; }
.wizard-step-price { display: flex; align-items: baseline; gap: 0.4rem; flex-shrink: 0; }
.wizard-step-price #panel-price { font-family: var(--serif); font-size: 1.6rem; font-style: italic; font-weight: 700; color: var(--sky-2); }
.wizard-step-price-unit { font-family: var(--sans); font-size: 0.6875rem; color: var(--text-muted); }
.wizard-step-body { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.wizard-next-hint {
  display: flex; align-items: flex-start; gap: 0.6rem; margin-top: 1.25rem;
  background: var(--sky-lighter); border: 1px solid var(--sky-light); border-radius: var(--r-sm);
  padding: 0.85rem 1rem; font-size: 0.8rem; color: var(--text-2); line-height: 1.5;
}
@media (max-width: 600px) {
  .wizard-step { padding: 1.25rem 1.1rem; }
  .wizard-step-price { width: 100%; justify-content: flex-end; }
}
.boat-detail-specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1rem; }
.boat-spec-item {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.6rem;
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--sky-lighter) 160%);
  border: 1.5px solid var(--line); border-radius: var(--r);
  padding: 1.5rem 1rem 1.35rem;
  transition: border-color 0.25s var(--ease-soft), transform 0.25s var(--ease-soft), box-shadow 0.25s var(--ease-soft);
}
.boat-spec-item:hover { border-color: var(--sky); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.boat-spec-icon {
  font-size: 1.5rem; width: 56px; height: 56px; flex-shrink: 0; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--sky-light), var(--sky-lighter));
  border: 1px solid var(--sky-light);
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(15,52,96,0.22), inset 0 1px 0 rgba(255,255,255,0.6);
}
.boat-spec-label { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.14em; color: var(--text-muted); text-transform: uppercase; }
.boat-spec-val { font-size: 1rem; color: var(--navy); font-weight: 800; }

/* ── Gallery floating actions (estilo Airbnb) ── */
.gallery-section { position: relative; width: min(100% - 2 * clamp(1.5rem, 6vw, 4rem), 1100px); margin: 1rem auto 0; }
.gallery-fabs {
  position: absolute; top: 1rem; left: 1.25rem; right: 1.25rem; z-index: 6;
  display: flex; align-items: center; justify-content: space-between; pointer-events: none;
}
.gallery-fabs-right { display: flex; gap: 0.6rem; pointer-events: auto; }
.gallery-fab {
  width: 44px; height: 44px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  color: var(--navy); font-size: 1.05rem; display: grid; place-items: center;
  box-shadow: 0 2px 12px rgba(15,52,96,0.2); transition: transform 0.2s, background 0.2s;
  pointer-events: auto;
}
.gallery-fab:hover { transform: scale(1.08); background: #fff; }
.gallery-badge-count {
  position: absolute; bottom: 1rem; left: 1.25rem; z-index: 6;
  background: rgba(15,52,96,0.72); color: #fff; font-family: var(--sans); font-size: 0.72rem;
  padding: 0.35rem 0.8rem; border-radius: 50px; display: none; align-items: center; gap: 0.3rem;
}
.gallery-dots { position: absolute; bottom: 1.1rem; left: 50%; transform: translateX(-50%); z-index: 6; display: none; gap: 0.4rem; }
.gallery-dot { width: 6px; height: 6px; border-radius: 3px; background: rgba(15,52,96,0.25); cursor: pointer; transition: color 0.25s, background-color 0.25s, border-color 0.25s, box-shadow 0.25s, transform 0.25s, opacity 0.25s, width 0.25s; box-shadow: 0 1px 3px rgba(0,0,0,0.3); }
.gallery-dot.active { width: 18px; background: var(--navy); }
@media (max-width: 768px) {
  .gallery-badge-count, .gallery-dots { display: flex; }
}

/* ── Sticky booking bar (mobile) ── */
.sticky-book-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
  background: var(--bg-card); border-top: 1.5px solid var(--line);
  padding: 0.85rem 1.25rem; align-items: center; justify-content: space-between; gap: 1rem;
  box-shadow: 0 -6px 24px rgba(15,52,96,0.22);
}
.sticky-book-price { display: flex; flex-direction: column; line-height: 1.25; }
.sticky-book-price span:first-child { font-family: var(--serif); font-size: 1.35rem; font-style: italic; font-weight: 700; color: var(--sky-2); }
.sticky-price-unit { font-family: var(--sans); font-size: 0.6875rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.sticky-book-bar .btn { padding: 0.75rem 1.75rem; flex-shrink: 0; }
@media (max-width: 768px) {
  .sticky-book-bar { display: flex; }
  #boat-page { padding-bottom: 5.5rem; }
  #boat-page ~ .chatbot-toggle { bottom: 5.75rem; }
}
.feature-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.feature-tag { padding: 0.4rem 0.9rem; background: var(--sky-lighter); border: 1.5px solid var(--line-2); border-radius: 50px; font-size: 0.78rem; color: var(--sky-2); }

/* ── Loading skeleton ── */
.skeleton { background: linear-gradient(90deg, var(--bg-2) 25%, var(--sky-lighter) 50%, var(--bg-2) 75%); background-size: 200% 100%; animation: skeleton 1.5s infinite; border-radius: var(--r); }
@keyframes skeleton { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ── Empty state ── */
.empty-state { text-align: center; padding: 4rem 2rem; }
.empty-state-icon { font-size: 3rem; margin-bottom: 1.5rem; opacity: 0.4; }
.empty-state-title { font-family: var(--serif); font-size: 1.5rem; font-style: italic; color: var(--navy); margin-bottom: 0.75rem; }
.empty-state-desc { color: var(--text-muted); font-size: 0.88rem; max-width: 360px; margin: 0 auto 2rem; }

/* ── Utility ── */
.text-sky { color: var(--sky-2); }
.text-navy { color: var(--navy); }
.text-muted { color: var(--text-muted); }
.text-mono { font-family: var(--mono); }
.text-serif { font-family: var(--serif); font-style: italic; }
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.w-full { width: 100%; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ── Scroll progress ── */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200; background: transparent; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--sky), var(--navy)); transform-origin: 0 0; transform: scaleX(0); transition: transform 0.08s linear; }

/* ── Chatbot ── */
.chatbot-toggle {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 800;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--sky); color: white;
  display: grid; place-items: center; font-size: 1.5rem;
  box-shadow: 0 8px 32px rgba(15,52,96,0.22);
  transition: color 0.3s var(--ease-soft), background-color 0.3s var(--ease-soft), border-color 0.3s var(--ease-soft), box-shadow 0.3s var(--ease-soft), transform 0.3s var(--ease-soft), opacity 0.3s var(--ease-soft), width 0.3s var(--ease-soft);
  border: none; cursor: pointer;
}
.chatbot-toggle:hover { background: var(--sky-2); transform: scale(1.08); }
.chatbot-toggle.is-open { background: var(--navy); }

.chatbot-panel {
  position: fixed; bottom: 5.5rem; right: 2rem; z-index: 799;
  width: 360px; max-width: calc(100vw - 2rem);
  max-height: calc(100vh - 7rem);
  background: var(--bg-card); border: 1.5px solid var(--line-2);
  border-radius: var(--r); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; overflow: hidden;
  transform: translateY(20px) scale(0.95); opacity: 0; pointer-events: none;
  transition: color 0.35s var(--ease-soft), background-color 0.35s var(--ease-soft), border-color 0.35s var(--ease-soft), box-shadow 0.35s var(--ease-soft), transform 0.35s var(--ease-soft), opacity 0.35s var(--ease-soft), width 0.35s var(--ease-soft);
  transform-origin: bottom right;
}
.chatbot-panel.is-open { transform: none; opacity: 1; pointer-events: auto; }

.chatbot-header {
  background: var(--sky); padding: 1.1rem 1.25rem;
  display: flex; align-items: center; gap: 0.75rem;
  flex-shrink: 0;
}
.chatbot-avatar { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.25); display: grid; place-items: center; font-size: 1.1rem; flex-shrink: 0; }
.chatbot-title { color: white; font-weight: 600; font-size: 0.9rem; }
.chatbot-status { color: rgba(255,255,255,0.8); font-size: 0.72rem; margin-top: 0.1rem; }
.chatbot-wa-btn {
  margin-left: auto; background: #25D366; color: white;
  padding: 0.35rem 0.8rem; border-radius: 50px; font-size: 0.75rem;
  font-weight: 600; display: flex; align-items: center; gap: 0.4rem;
  transition: background 0.2s; text-decoration: none; white-space: nowrap;
}
.chatbot-wa-btn:hover { background: #1DA851; }

/* Scrollable middle area */
.chatbot-scroll {
  flex: 1; overflow-y: auto; min-height: 0;
  display: flex; flex-direction: column;
}
.chatbot-body { padding: 1rem 1.25rem; display: flex; flex-direction: column; gap: 0.65rem; }
.chatbot-msg { padding: 0.7rem 0.9rem; border-radius: 12px; font-size: 0.85rem; line-height: 1.55; max-width: 88%; }
.chatbot-msg.bot { background: var(--bg-2); color: var(--text); border-bottom-left-radius: 4px; align-self: flex-start; }
.chatbot-msg.user { background: var(--sky-2); color: white; border-bottom-right-radius: 4px; align-self: flex-end; }

.chatbot-faqs { padding: 0 1.25rem 0.75rem; display: flex; flex-direction: column; gap: 0.35rem; }
.chatbot-faq-btn {
  text-align: left; background: var(--sky-lighter); border: 1.5px solid var(--line);
  border-radius: var(--r-sm); padding: 0.6rem 0.85rem;
  font-size: 0.8rem; color: var(--sky-2); transition: color 0.2s, background-color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s, opacity 0.2s, width 0.2s;
  cursor: pointer;
}
.chatbot-faq-btn:hover { background: var(--sky-light); border-color: var(--sky); }

.chatbot-footer {
  padding: 0.65rem 1.25rem 1rem;
  border-top: 1px solid var(--line);
  flex-shrink: 0;
}
.chatbot-footer-wa {
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  background: #25D366; color: white; border-radius: 50px;
  padding: 0.7rem; font-size: 0.85rem; font-weight: 600;
  transition: background 0.2s; text-decoration: none; width: 100%;
}
.chatbot-footer-wa:hover { background: #1DA851; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .admin-layout { grid-template-columns: 1fr; }
  /* El sidebar vertical no cabe en pantalla en móvil/tablet: se convierte en una
     barra de pestañas horizontal fija arriba, como una app nativa, para que el
     usuario SIEMPRE vea a la vez dónde está parado y el contenido del módulo. */
  .admin-sidebar {
    position: sticky; top: 0; z-index: 40; height: auto;
    flex-direction: row; align-items: center; flex-wrap: nowrap;
    gap: 0; padding: 0.65rem 0.85rem;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  }
  .admin-sidebar-brand { flex-shrink: 0; margin-right: 0.6rem; }
  .admin-sidebar-logo-img { height: 34px; margin-bottom: 0; }
  .admin-sidebar-label { display: none; }
  .admin-nav-items { flex-direction: row; gap: 0.4rem; flex-shrink: 0; }
  .admin-nav-item {
    flex-direction: column; gap: 0.2rem; flex-shrink: 0;
    padding: 0.4rem 0.7rem; font-size: 0.6875rem; text-align: center;
    white-space: nowrap; border-radius: 10px;
  }
  .admin-nav-icon { font-size: 1.05rem; width: auto; }
  .admin-sidebar-footer {
    flex-direction: row; gap: 0.4rem; flex-shrink: 0;
    margin-top: 0; margin-left: 0.5rem; padding-top: 0; padding-left: 0.6rem;
    border-top: none; border-left: 1px solid rgba(255,255,255,0.15);
  }
  .admin-sidebar-footer .admin-nav-item { flex-direction: column; }
  .boat-detail-grid { grid-template-columns: 1fr; }
  .booking-summary { position: static; max-height: none; overflow-y: visible; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .dashboard-sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .nav-hamburger { display: flex; }
  .hero-content { padding: calc(var(--nav-h) + 1rem) clamp(1.25rem, 6vw, 4rem) 2.5rem; }
  .hero-logo { margin: 0 auto 1rem; max-width: clamp(150px, 34vw, 200px); }
  .hero-actions .btn { padding: 0.85rem 1.8rem; font-size: 0.88rem; }
  .hero-locations { margin-bottom: 1.25rem; }
  .hero-tagline { font-size: clamp(1.6rem, 7vw, 2.4rem); }
  .gallery-nav { width: 36px; height: 36px; font-size: 1.4rem; }
  .gallery-thumb-btn { width: 64px; height: 46px; }
  .form-grid { grid-template-columns: 1fr; }
  .booking-card { flex-direction: column; }
  .booking-card-img { width: 100%; height: 200px; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .boats-grid { grid-template-columns: 1fr; }
  .admin-main { padding: 1.5rem 1rem; }
  .chatbot-panel { width: calc(100vw - 1.5rem); right: 0.75rem; max-height: calc(100vh - 6.5rem); }
  .chatbot-toggle { right: 1rem; bottom: 1.5rem; width: 52px; height: 52px; font-size: 1.3rem; }
  .chatbot-header { padding: 0.85rem 1rem; gap: 0.6rem; }
  .chatbot-avatar { width: 32px; height: 32px; font-size: 0.95rem; }
  .chatbot-title { font-size: 0.82rem; }
  .chatbot-status { font-size: 0.6875rem; }
  .chatbot-wa-btn span { display: none; }
  .chatbot-wa-btn { padding: 0.5rem; border-radius: 50%; }
  .chatbot-body { padding: 0.85rem 1rem; }
  .chatbot-msg { font-size: 0.8rem; padding: 0.6rem 0.8rem; max-width: 92%; }
  .chatbot-faqs { padding: 0 1rem 0.6rem; }
  .chatbot-faq-btn { font-size: 0.76rem; padding: 0.55rem 0.75rem; }
  .chatbot-footer { padding: 0.6rem 1rem 0.85rem; }
  .chatbot-footer-wa { font-size: 0.78rem; padding: 0.6rem; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
}

/* ── Preguntas frecuentes (SEO / FAQPage) ── */
.seo-faq { display: grid; gap: 0.75rem; }
.seo-faq-item { background: var(--bg-card, #fff); border: 1px solid var(--line); border-radius: var(--r-sm, 10px); padding: 1rem 1.25rem; }
.seo-faq-item summary { cursor: pointer; font-weight: 600; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.seo-faq-item summary::-webkit-details-marker { display: none; }
.seo-faq-item summary::after { content: '+'; font-size: 1.2rem; line-height: 1; color: var(--accent, #0EA5E9); }
.seo-faq-item[open] summary::after { content: '−'; }
.seo-faq-item p { margin-top: 0.75rem; color: var(--text-muted); line-height: 1.8; font-size: 0.95rem; }

/* ═══════════════════════════════════════════════════════════════
   Página de embarcación: galería a la izquierda + reserva a la derecha,
   todo compacto para ver la información de renta sin hacer scroll.
   ═══════════════════════════════════════════════════════════════ */
.boat-top {
  max-width: 1280px; margin: 0 auto; padding: 10px clamp(1rem, 3vw, 2rem) 0;
  display: grid; grid-template-columns: minmax(0, 1fr) 392px; gap: 22px; align-items: start;
}
.boat-top-left { min-width: 0; }
.boat-top-right { position: sticky; top: calc(var(--nav-h) + 8px); }
.boat-headline { margin-bottom: 0.4rem; }
.boat-headline h1 { font-size: clamp(1.35rem, 2.3vw, 1.85rem) !important; line-height: 1.15 !important; }
.boat-headline > div { margin-bottom: 0.35rem !important; gap: 0.5rem !important; }
.boat-headline #boat-rating-badge { padding: 0.25rem 0.7rem !important; }
.boat-top .gallery-section { width: 100%; margin: 0; }
.boat-top .gallery { --gal-h: clamp(300px, calc(100vh - 300px), 520px); }
.boat-top .gallery-strip { max-width: 100%; padding-top: 0.45rem; padding-bottom: 0.2rem; }

/* Panel de reserva compacto (una sola tarjeta, sin pasos bloqueados) */
.boat-top .booking-wizard { gap: 0; margin: 0; padding: 12px 14px 14px; background: #fff; border: 1.5px solid var(--line-2); border-radius: 18px; box-shadow: var(--shadow); }
.boat-top .wizard-step { background: none; border: 0; border-radius: 0; box-shadow: none; padding: 0; opacity: 1; }
.boat-top .wizard-step.is-locked { opacity: 1; }
.boat-top .wizard-step.is-locked .wizard-step-body { display: block; }
.boat-top .wizard-step-body { margin: 0; padding: 0; border: 0; }
.boat-top .wizard-step + .wizard-step { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.boat-top .wizard-step-num, .boat-top .wizard-step-sub, .boat-top .wizard-next-hint { display: none; }
.boat-top #wizard-step-2 .wizard-step-head, .boat-top #wizard-step-3 .wizard-step-head { display: none; }
.boat-top #wizard-step-1 .wizard-step-head { margin-bottom: 6px; gap: 0.5rem; flex-wrap: nowrap; }
.boat-top .wizard-step-headtext { min-width: 0; }
.boat-top .wizard-step-title { font-size: 1rem; }
.boat-top .wizard-step-price { width: auto; }
.boat-top .wizard-step-price #panel-price { font-size: 1.25rem; }

/* Calendario compacto */
.boat-top .calendar-wrapper { padding: 4px 2px 0; border: 0; box-shadow: none; max-width: 100%; border-radius: 0; }
.boat-top .calendar-header { margin-bottom: 4px; padding-bottom: 4px; }
.boat-top .calendar-title { font-size: 1rem; }
.boat-top .calendar-nav { width: 28px; height: 28px; font-size: 0.9rem; }
.boat-top .calendar-days-header { margin-bottom: 0; gap: 2px; }
.boat-top .calendar-day-name { font-size: 0.6875rem; padding: 0.15rem 0; }
.boat-top .calendar-days { gap: 2px; }
.boat-top .calendar-day { border-radius: 8px; }
.boat-top .calendar-day:not(.empty) { aspect-ratio: auto; min-height: 36px; }
.boat-top .cal-day-name { display: none; }
.boat-top .cal-day-num { font-size: 0.85rem; }
.boat-top .calendar-legend { margin-top: 4px; gap: 0.7rem; padding-top: 4px; }
.boat-top .calendar-legend-item { font-size: 0.6875rem; }

/* Turnos en dos columnas, bajos */
.boat-top #schedule-section { margin-top: 6px !important; }
.boat-top #schedule-section .panel-subheading { margin-bottom: 4px; font-size: 0.6875rem; }
.boat-top #schedule-options { grid-template-columns: 1fr 1fr !important; gap: 6px !important; }
.boat-top .schedule-btn { padding: 0.4rem 0.3rem; gap: 0.1rem; }
.boat-top .slot-icon, .boat-top .slot-label { display: none; }
.boat-top .slot-time { font-size: 0.78rem; }

/* Paso 2: personas + combo + incluido */
.boat-top #wizard-step-2 .form-group { margin-bottom: 6px !important; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; }
.boat-top #wizard-step-2 .form-label { margin: 0; font-size: 0.78rem; }
.boat-top #wizard-step-2 .form-group > div:first-of-type { gap: 0.4rem !important; }
.boat-top #guests-input { max-width: 56px !important; padding: 0.3rem 0.2rem; font-size: 0.9rem; }
.boat-top #wizard-step-2 .calendar-nav { width: 28px; height: 28px; }
.boat-top #daybased-section { margin-bottom: 6px !important; }
.boat-top #daybased-section .additional-item { padding: 0.4rem 0.6rem; }
.boat-top #daybased-section .additional-icon { font-size: 1.05rem; }
.boat-top #daybased-section .additional-check { width: 22px; height: 22px; }
.boat-top #birthday-items { font-size: 0.6875rem !important; line-height: 1.45 !important; margin-top: 0.3rem !important; }
.boat-top #included-block { margin-bottom: 0 !important; }
.boat-top #included-block .panel-subheading { margin-bottom: 2px; font-size: 0.6875rem; }
.boat-top #included-text { font-size: 0.6875rem !important; line-height: 1.45 !important; }
.boat-top #package-section, .boat-top #extra-hours-section, .boat-top #meal-addons-section { margin-bottom: 6px !important; }

/* Paso 3: resumen y botón */
.boat-top .booking-line { padding: 0.18rem 0; }
.boat-top .booking-line-label { font-size: 0.78rem; }
.boat-top .booking-line-val { font-size: 0.82rem; }
.boat-top .booking-line.total { margin-top: 0.2rem; padding-top: 0.4rem; }
.boat-top .booking-line.total .booking-line-val { font-size: 1.25rem; }
.boat-top #btn-reserve { margin-top: 0.4rem !important; padding: 0.7rem 1rem; }
.boat-top #wizard-step-3 .wizard-step-body > p { margin-top: 0.4rem !important; font-size: 0.6875rem !important; }

/* Pantallas con poca altura: aún más compacto */
@media (min-width: 1001px) and (max-height: 860px) {
  .boat-top .calendar-day:not(.empty) { min-height: 30px; }
  .boat-top .calendar-legend { display: none; }
  .boat-top .gallery { --gal-h: clamp(280px, calc(100vh - 280px), 440px); }
}

/* Tablet / teléfono: una sola columna */
@media (max-width: 1000px) {
  .boat-top { grid-template-columns: 1fr; gap: 14px; }
  .boat-top-right { position: static; }
  .boat-top .gallery { --gal-h: clamp(240px, 56vw, 420px); }
  .boat-top .calendar-day:not(.empty) { min-height: 40px; }
}

/* — ajustes de altura del panel de reserva — */
.boat-top .calendar-day:not(.empty) { min-height: 32px; }
.boat-top .calendar-legend { display: none; }
.boat-top #wizard-step-2 .form-group { flex-wrap: nowrap; }
.boat-top #wizard-step-2 .form-group > div:first-of-type { margin-left: auto; }
.boat-top #wizard-step-2 #overage-hint { position: absolute; }
.boat-top #wizard-step-2 .form-label { white-space: nowrap; text-align: left; letter-spacing: 0; text-transform: none; font-size: 0.82rem; font-weight: 600; font-family: inherit; }
.boat-top #daybased-section:has(#birthday-cb:checked) #birthday-items { display: none; }
.boat-top #guests-max-label { font-size: 0.6875rem !important; }
/* resumen en 2 columnas */
.boat-top #booking-lines { display: grid; grid-template-columns: 1fr 1fr; column-gap: 10px; }
.boat-top #booking-lines .booking-line { flex-direction: column; align-items: flex-start; gap: 0; border-bottom: 0; padding: 0.15rem 0; }
.boat-top #booking-lines .booking-line-label { font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.06em; }
.boat-top #booking-lines .booking-line-val { font-size: 0.8rem; text-align: left; line-height: 1.25; }
.boat-top #booking-lines .booking-line.total { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
.boat-top #booking-lines .booking-line.total .booking-line-label { text-transform: none; font-size: 0.8rem; letter-spacing: 0; }
.boat-top #booking-lines #sum-additionals-line { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: baseline; }
.boat-top #booking-lines #sum-additionals-line { grid-column: auto; flex-direction: column; align-items: flex-start; }
.boat-top #booking-lines .booking-line:nth-child(3), .boat-top #booking-lines .booking-line:nth-child(4) { min-width: 0; }
.boat-top #guests-input { height: 30px; min-height: 0; line-height: 1; }
.boat-top #wizard-step-2 .form-group { min-height: 0; }
.boat-top .schedule-btn { padding: 0.28rem 0.3rem; }
.boat-top #booking-lines[style*="block"] { display: grid !important; }
.boat-top #wizard-step-2 .form-label { width: auto !important; flex: 0 0 auto; display: inline-block; }
.boat-top #wizard-step-2 .form-group > div:first-of-type { flex: 0 0 auto; margin-left: auto; }
@media (min-width: 1001px) { .boat-top .calendar-day:not(.empty) { min-height: 29px; } }
.boat-top #wizard-step-2 .form-group { flex-direction: row; }
.boat-top #schedule-options { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)) !important; }
.boat-top #schedule-options > div { padding: 0.45rem 0.6rem !important; font-size: 0.74rem !important; line-height: 1.35; }
/* Si aun así la pantalla es muy baja, el panel se desplaza por dentro (la página no) */
.boat-top-right { max-height: calc(100vh - var(--nav-h) - 16px); overflow-y: auto; scrollbar-width: thin; border-radius: 18px; }
@media (max-width: 1000px) { .boat-top-right { max-height: none; overflow: visible; } }

/* ═══ Catálogo: barra de filtros compacta ═══ */
.cat-toolbar { background: #fff; border-bottom: 1px solid var(--line); padding: 0.75rem 0 0.8rem; }
.cat-toolbar-inner { max-width: 1280px; margin: 0 auto; padding: 0 clamp(1rem, 3vw, 2rem); display: flex; flex-direction: column; gap: 0.6rem; }
.cat-chips { display: flex; gap: 0.4rem; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin: 0 calc(-1 * clamp(1rem, 3vw, 2rem)); padding: 0 clamp(1rem, 3vw, 2rem); }
.cat-chips::-webkit-scrollbar { display: none; }
.cat-chip {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.38rem 0.85rem; border-radius: 999px;
  border: 1px solid var(--line-2); background: #fff; color: var(--text-2); font-size: 0.8rem; font-weight: 600; white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.cat-chip:hover { border-color: var(--navy); }
.cat-chip.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.cat-chip-n { font-size: 0.6875rem; font-weight: 700; opacity: 0.6; }
.cat-chip-n:empty { display: none; }
.cat-row { display: flex; gap: 0.45rem; align-items: stretch; }
.cat-search { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 0.5rem; padding: 0 0.8rem; border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg-2); color: var(--text-muted); }
.cat-search:focus-within { border-color: var(--sky-2); background: #fff; }
.cat-search input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; padding: 0.55rem 0; font-size: 0.85rem; color: var(--text); }
.cat-btn {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 0.4rem; padding: 0 0.8rem; border: 1px solid var(--line-2); border-radius: 12px;
  background: #fff; color: var(--text-2); font-size: 0.8rem; font-weight: 600; cursor: pointer;
}
.cat-btn:hover, .cat-btn.is-open { border-color: var(--navy); color: var(--navy); }
.cat-sort { appearance: none; -webkit-appearance: none; padding-right: 0.8rem; max-width: 128px; }
.cat-badge { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--sky-2); color: #fff; font-size: 0.6875rem; display: inline-grid; place-items: center; }
.cat-panel { display: flex; flex-wrap: wrap; gap: 0.7rem 1.6rem; align-items: flex-end; padding: 0.7rem 0.1rem 0.1rem; border-top: 1px dashed var(--line-2); }
.cat-group-label { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.35rem; }
.cat-opts { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.cat-opt { padding: 0.3rem 0.7rem; border-radius: 8px; border: 1px solid var(--line-2); background: #fff; font-size: 0.78rem; font-weight: 600; color: var(--text-2); }
.cat-opt.active { background: var(--sky-lighter); border-color: var(--sky-2); color: var(--sky-2); }
.cat-clear { margin-left: auto; font-size: 0.78rem; font-weight: 600; color: var(--sky-2); text-decoration: underline; padding: 0.3rem 0; }
.cat-chip[hidden], .cat-panel[hidden], .cat-badge[hidden], .cat-clear[hidden] { display: none !important; }
.cat-toolbar + .section { padding-top: clamp(1.25rem, 3vw, 2rem); }
@media (max-width: 520px) {
  .cat-sort { max-width: 104px; font-size: 0.74rem; padding: 0 0.5rem; }
  .cat-btn { padding: 0 0.6rem; }
  .cat-panel { gap: 0.6rem 1rem; }
  .cat-clear { margin-left: 0; }
}

/* Hero en celular: botones compactos, en una sola fila, para no tapar el video */
@media (max-width: 480px) {
  .hero-actions { flex-direction: row; flex-wrap: nowrap; align-items: center; justify-content: center; gap: 0.5rem; }
  .hero-actions .btn { padding: 0.55rem 0.95rem; font-size: 0.76rem; justify-content: center; white-space: nowrap; flex: 0 1 auto; }
  .hero-actions .btn-ghost { border-width: 1.5px; }
  .hero-content { padding-bottom: 1.5rem; }
}
@media (max-width: 340px) { .hero-actions { flex-wrap: wrap; } }

/* ═══ Página de embarcación — v3: panel fijo + tipografía unificada ═══ */
/* El panel ya no se mueve: sin sticky ni scroll interno; arranca a la altura de la foto */
.boat-top-right { position: static !important; max-height: none !important; overflow: visible !important; }
.boat-headline { margin: 0.7rem 0 0; }
.boat-headline h1 { font-size: clamp(1.25rem, 2.2vw, 1.7rem) !important; }

/* Tipografía del panel (una sola familia y escala) */
.boat-top .booking-wizard, .boat-top .booking-wizard * { font-family: var(--sans) !important; font-style: normal !important; letter-spacing: 0; }
.boat-top .wizard-step-title { font-size: 0.98rem; font-weight: 700; color: var(--navy); }
.boat-top .wizard-step-price #panel-price { font-size: 1.25rem; font-weight: 700; color: var(--sky-2); }
.boat-top .wizard-step-price-unit { font-size: 0.7rem; font-weight: 500; color: var(--text-muted); }
.boat-top .calendar-title { font-size: 0.95rem; font-weight: 700; color: var(--navy); }
.boat-top .calendar-day-name { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.04em; color: var(--text-muted); }
.boat-top .cal-day-num { font-size: 0.85rem; font-weight: 600; }
/* etiquetas de sección */
.boat-top .panel-subheading, .boat-top #included-block .panel-subheading {
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px;
}
/* etiquetas de control y textos de apoyo */
.boat-top #wizard-step-2 .form-label { font-size: 0.85rem; font-weight: 600; color: var(--navy); text-transform: none; }
.boat-top #included-text, .boat-top #birthday-items, .boat-top #guests-max-label, .boat-top #overage-hint {
  font-size: 0.76rem !important; font-weight: 400; line-height: 1.45 !important; color: var(--text-muted) !important; letter-spacing: 0;
}
.boat-top .additional-name { font-size: 0.85rem; font-weight: 600; color: var(--navy); }
.boat-top .additional-price { font-size: 0.74rem; font-weight: 600; color: var(--sky-2); }
.boat-top #guests-input { font-size: 0.95rem; font-weight: 600; color: var(--navy); }

/* Turnos: emoji + horario en UNA línea */
.boat-top .schedule-btn { flex-direction: row; justify-content: center; gap: 0.4rem; padding: 0.5rem 0.4rem; white-space: nowrap; }
.boat-top .slot-icon { display: inline; font-size: 1rem; line-height: 1; }
.boat-top .slot-time { font-size: 0.8rem; font-weight: 600; color: var(--navy); }
.boat-top .slot-status { font-size: 0.6875rem; font-weight: 600; color: var(--text-muted); }
.slot-dot { width: 7px; height: 7px; border-radius: 50%; background: #22a06b; flex-shrink: 0; }
.boat-top #schedule-options > div { font-size: 0.78rem !important; }

/* Resumen: cada dato en una línea (etiqueta izquierda, valor derecha) */
.boat-top #booking-lines, .boat-top #booking-lines[style*="block"] { display: block !important; }
.boat-top #booking-lines .booking-line, .boat-top #booking-lines #sum-additionals-line {
  display: flex; flex-direction: row !important; align-items: baseline; justify-content: space-between; gap: 0.75rem;
  padding: 0.28rem 0; border-bottom: 0; grid-column: auto;
}
.boat-top #booking-lines .booking-line-label { font-size: 0.8rem; font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--text-muted); white-space: nowrap; }
.boat-top #booking-lines .booking-line-val { font-size: 0.85rem; font-weight: 600; color: var(--navy); text-align: right; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.boat-top #booking-lines .booking-line.total { border-top: 1px solid var(--line-2); margin-top: 0.25rem; padding-top: 0.5rem; }
.boat-top #booking-lines .booking-line.total .booking-line-label { font-size: 0.9rem; font-weight: 600; color: var(--navy); }
.boat-top #booking-lines .booking-line.total .booking-line-val { font-size: 1.2rem; font-weight: 800; color: var(--sky-2); }
.boat-top #btn-reserve { font-size: 0.95rem; font-weight: 700; }
.boat-top #wizard-step-3 .wizard-step-body > p { font-size: 0.6875rem !important; font-weight: 400; color: var(--text-muted) !important; line-height: 1.4 !important; }

/* Celular: todo cómodo y proporcionado */
@media (max-width: 1000px) {
  .boat-top { padding-top: 6px; }
  .boat-top .booking-wizard { padding: 14px 14px 16px; }
  .boat-top .calendar-day:not(.empty) { min-height: 42px; }
  .boat-top .cal-day-num { font-size: 0.95rem; }
  .boat-top .calendar-nav { width: 34px; height: 34px; }
  .boat-top .slot-time { font-size: 0.82rem; }
  .boat-top .schedule-btn { padding: 0.6rem 0.4rem; }
  .boat-top #booking-lines .booking-line-val { white-space: normal; text-align: right; }
}
@media (max-width: 380px) { .boat-top .slot-time { font-size: 0.74rem; } .boat-top .schedule-btn { gap: 0.25rem; } }
@media (max-width: 420px) { .boat-top #guests-max-label { display: none; } }

/* ═══ Calendario: aspecto original (tarjeta con borde, título en cursiva, nombre del día en cada casilla, leyenda) ═══ */
.boat-top .calendar-wrapper { padding: 1rem 1.1rem 0.9rem; border: 1.5px solid var(--line-2); border-radius: var(--r); box-shadow: var(--shadow); background: #fff; max-width: 100%; }
.boat-top .calendar-header { margin-bottom: 0.7rem; padding-bottom: 0.7rem; border-bottom: 1.5px solid var(--line); }
.boat-top .booking-wizard .calendar-title { font-family: var(--serif) !important; font-style: italic !important; font-size: 1.15rem; font-weight: 600; color: var(--navy); }
.boat-top .calendar-nav { width: 34px; height: 34px; font-size: 1rem; }
.boat-top .booking-wizard .calendar-day-name { font-family: var(--mono) !important; font-size: 0.6875rem; font-weight: 400; letter-spacing: 0.08em; color: var(--text-faint); padding: 0.3rem 0; text-transform: uppercase; }
.boat-top .calendar-days, .boat-top .calendar-days-header { gap: 3px; }
.boat-top .calendar-day { border-radius: 10px; }
.boat-top .calendar-day:not(.empty) { aspect-ratio: auto; min-height: 44px; }
.boat-top .cal-day-name { display: block; }
.boat-top .booking-wizard .cal-day-name { font-family: var(--mono) !important; font-size: 0.6875rem; letter-spacing: 0.05em; text-transform: uppercase; opacity: 0.7; margin-bottom: 2px; font-weight: 400; }
.boat-top .cal-day-num { font-size: 0.95rem; font-weight: 500; }
.boat-top .calendar-legend { display: flex; margin-top: 0.7rem; padding-top: 0.6rem; gap: 0.9rem; }
.boat-top .booking-wizard .calendar-legend-item { font-family: var(--mono) !important; font-size: 0.6875rem; }
@media (min-width: 1001px) and (max-height: 860px) { .boat-top .calendar-day:not(.empty) { min-height: 36px; } .boat-top .calendar-legend { display: none; } }
@media (min-width: 1025px) {
  .boat-top .calendar-wrapper { padding: 0.8rem 1rem 0.7rem; }
  .boat-top .calendar-header { margin-bottom: 0.5rem; padding-bottom: 0.5rem; }
  .boat-top .calendar-day:not(.empty) { min-height: 38px; }
  .boat-top .calendar-days, .boat-top .calendar-days-header { gap: 2px; }
  .boat-top .calendar-legend { margin-top: 0.45rem; padding-top: 0.4rem; }
}

/* ═══ Accesibilidad: movimiento reducido ═══
   Quien lo pide ve el mismo contenido y los mismos cambios de estado (color, borde, fondo),
   pero sin desplazamientos, zoom ambiental ni animaciones de entrada. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero-locations, .hero-kicker, .hero-title, .hero-sub, .hero-actions { opacity: 1; animation: none; transform: none; }
  .hero-bg img, .hero-video { animation: none; }
  .skeleton { animation: none; }
  .btn:hover, .nav-btn:hover, .card:hover, .gallery-nav:hover, .gallery-thumb-btn:hover, .social-card:hover, .cat-chip:hover { transform: none; }
  .card:hover .card-img img { transform: none; }
  .card-track { transition: none; }
}

/* Zonas táctiles cómodas en celular */
@media (max-width: 1000px) {
  .boat-top .calendar-nav { width: 40px; height: 40px; }
  .cat-chip { padding: 0.55rem 0.95rem; }
  .cat-opt { padding: 0.5rem 0.85rem; }
  .cat-btn, .cat-search { min-height: 42px; }
  .gallery-nav { width: 40px; height: 40px; }
  .gallery-thumb-btn { width: 70px; height: 50px; }
}

/* Contador de fotos en la tarjeta (cuando son muchas, en vez de decenas de puntos) */
.card-count { padding: 0.2rem 0.6rem; border-radius: 999px; background: rgba(15,52,96,0.62); color: #fff; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.04em; }

/* Home en celular: las embarcaciones destacadas se deslizan en horizontal (se ve la siguiente asomando) */
@media (max-width: 700px) {
  #featured-boats {
    display: flex; gap: 0.85rem; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    margin-inline: calc(-1 * clamp(1.5rem, 6vw, 4rem)); padding: 4px clamp(1.5rem, 6vw, 4rem) 14px; scrollbar-width: none;
    scroll-padding-inline: clamp(1.5rem, 6vw, 4rem);
  }
  #featured-boats::-webkit-scrollbar { display: none; }
  #featured-boats > .card, #featured-boats > .skeleton { flex: 0 0 82%; scroll-snap-align: start; min-width: 0; }
}

/* Pie de página compacto en celular */
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem; margin-bottom: 1.75rem; }
  .footer-grid > :first-child, .footer-grid > :last-child { grid-column: 1 / -1; }
  .footer-col-title { margin-bottom: 0.75rem; }
  .footer-links { gap: 0.45rem; }
  .footer-bottom { padding-top: 1.25rem; gap: 0.75rem; }
}
.card-dots:has(.card-count) { justify-content: flex-end; padding-right: 0.7rem; }

/* ═══ Home en celular: pasos y datos bancarios compactos ═══ */
.bank-fold > summary { list-style: none; }
.bank-fold > summary::-webkit-details-marker { display: none; }
.bank-fold-summary { display: none; }
@media (max-width: 700px) {
  .bank-fold-summary {
    display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; cursor: pointer;
    padding: 0.85rem 1.1rem; border: 1.5px solid var(--line-2); border-radius: var(--r); background: #fff;
    font-weight: 600; font-size: 0.9rem; color: var(--navy);
  }
  .bank-fold-summary::after { content: '+'; font-size: 1.3rem; line-height: 1; color: var(--sky-2); }
  .bank-fold[open] > .bank-fold-summary::after { content: '–'; }
  .bank-fold[open] > .bank-fold-summary { margin-bottom: 0.75rem; }
  .steps-grid { grid-template-columns: 1fr; gap: 0.75rem; }
  .step { display: grid; grid-template-columns: auto 1fr; column-gap: 0.9rem; row-gap: 0.2rem; align-items: start; padding: 1rem; }
  .step-head { grid-row: 1 / span 2; flex-direction: column-reverse; align-items: center; justify-content: flex-end; gap: 0.35rem; }
  .step-num { font-size: 1.1rem; }
  .step-icon { width: 40px; height: 40px; font-size: 1.1rem; }
  .step-title { font-size: 1.02rem; align-self: end; }
  .step-desc { font-size: 0.82rem; line-height: 1.5; }
}

/* Turnos: el punto de "disponible" va dentro de la esquina, sin empujar ni salirse del botón */
.boat-top .schedule-btn { position: relative; padding: 0.55rem 1.1rem; gap: 0.45rem; min-width: 0; }
.boat-top .schedule-btn .slot-dot { position: absolute; top: 7px; right: 7px; width: 6px; height: 6px; }
.boat-top .schedule-btn .slot-time { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.boat-top .schedule-btn .slot-status { position: absolute; top: 5px; right: 8px; font-size: 0.6875rem; }
.boat-top .schedule-btn { padding: 0.55rem 0.4rem; gap: 0.35rem; }
.boat-top .schedule-btn .slot-time { overflow: visible; text-overflow: clip; font-size: 0.78rem; }
.boat-top .schedule-btn .slot-dot { top: 5px; right: 5px; }
.boat-top .schedule-btn .slot-status { top: 3px; right: 6px; }
@media (max-width: 1000px) { .boat-top .schedule-btn .slot-time { font-size: 0.82rem; } .boat-top .schedule-btn { padding: 0.65rem 0.4rem; } }
@media (max-width: 380px) { .boat-top .schedule-btn .slot-time { font-size: 0.72rem; } .boat-top .schedule-btn .slot-icon { font-size: 0.9rem; } }

/* Compartir y favoritos: juntos, abajo a la derecha de la galería (volver queda arriba a la izquierda) */
.gallery-fabs { top: 1rem; bottom: 1rem; align-items: flex-start; }
.gallery-fabs-right { align-self: flex-end; }

/* Firma de Neuralab en celular: compacta (marca en una línea y dos enlaces pequeños lado a lado) */
@media (max-width: 700px) {
  .footer-credit { flex-direction: column; align-items: center; justify-content: center; gap: 0.7rem; padding: 0.9rem 0 3.6rem; margin-top: 0.75rem; }
  .footer-credit-brand { flex-direction: row; gap: 0.6rem; }
  .footer-credit-logo { flex-direction: row; gap: 0.4rem; align-items: center; }
  .footer-credit-logo img { width: 30px; height: 26px; }
  .footer-credit-links { width: auto; flex-wrap: nowrap; justify-content: center; gap: 0.5rem; padding: 0; border-left: 0; }
  .footer-credit-link { min-height: 40px; padding: 0.35rem 0.85rem; gap: 0.4rem; font-size: 0.78rem; }
  .footer-credit-link svg { width: 16px; height: 16px; }
}

/* Botones de la galería: más pequeños y discretos; compartir encima de favoritos */
.gallery-fab { width: 34px; height: 34px; font-size: 0.85rem; box-shadow: 0 1px 6px rgba(15,52,96,0.18); background: rgba(255,255,255,0.94); }
.gallery-fabs-right { flex-direction: column; gap: 0.45rem; }
.gallery-nav { width: 32px; height: 32px; font-size: 1.25rem; padding-bottom: 2px; background: rgba(15,52,96,0.55); box-shadow: none; opacity: 0.9; }
.gallery-nav-prev { left: 0.6rem; }
.gallery-nav-next { right: 0.6rem; }
.gallery-badge-count { font-size: 0.6875rem; padding: 0.22rem 0.6rem; bottom: 1rem; left: 1rem; background: rgba(15,52,96,0.6); }
.gallery-dots { display: none !important; }
@media (max-width: 768px) {
  .gallery-fab { width: 32px; height: 32px; font-size: 0.8rem; }
  .gallery-nav { width: 30px; height: 30px; font-size: 1.15rem; }
  .gallery-fabs { left: 0.75rem; right: 0.75rem; }
}

/* Calendario: el día de la semana va solo en el encabezado; las celdas solo muestran el número */
.boat-top .cal-day-name, .boat-top .booking-wizard .cal-day-name { display: none; }
.boat-top .calendar-day:not(.empty) { min-height: 38px; }
.boat-top .cal-day-num { font-size: 1rem; }
@media (min-width: 1001px) { .boat-top .calendar-day:not(.empty) { min-height: 34px; } }
@media (max-width: 1000px) { .boat-top .calendar-day:not(.empty) { min-height: 42px; } }

.slot-icon svg { display: block; width: 20px; height: 20px; }
.boat-top .slot-icon { display: inline-flex; align-items: center; }

/* Información de la embarcación en la columna izquierda (junto al panel de reserva), sin huecos */
.boat-info { margin-top: 1.1rem; }
.boat-info .boat-detail-specs { grid-template-columns: repeat(3, 1fr); gap: 0.6rem; margin-bottom: 1.4rem !important; }
.boat-info .boat-spec-item { flex-direction: row; justify-content: flex-start; text-align: left; align-items: center; gap: 0.7rem; padding: 0.7rem 0.85rem; border-radius: 14px; }
.boat-info .boat-spec-icon { width: 36px; height: 36px; font-size: 1.05rem; flex-shrink: 0; }
.boat-info .boat-spec-label { font-size: 0.6875rem; }
.boat-info .boat-spec-val { font-size: 0.9rem; }
.boat-info > div { margin-bottom: 1.5rem !important; }
.boat-info h3 { font-size: 1.1rem !important; margin-bottom: 0.6rem !important; }
@media (max-width: 520px) {
  .boat-info .boat-detail-specs { grid-template-columns: 1fr; }
}

/* Tablet/celular: primero la reserva, y la información detallada después */
@media (max-width: 1000px) {
  .boat-top { display: flex; flex-direction: column; gap: 14px; }
  .boat-top-left { display: contents; }
  .boat-top .gallery-section { order: 1; }
  .boat-top .gallery-strip { order: 2; }
  .boat-top .boat-headline { order: 3; }
  .boat-top .boat-top-right { order: 4; }
  .boat-top .boat-info { order: 5; }
}

/* Lo incluido en el precio: chips con emoji (el combo de cumpleaños solo aparece si se elige) */
.inc-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.inc-chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; background: var(--bg-2, #F0F9FF); border: 1px solid var(--line-2, #D6E8F5); font-family: var(--sans); font-size: 0.78rem; font-weight: 500; color: var(--cream, #0F2B4A); line-height: 1.3; }
.inc-chip.is-combo { background: #FFF7E6; border-color: #F5D9A0; }
.inc-combo-title { flex-basis: 100%; margin-top: 4px; font-family: var(--sans); font-size: 0.75rem; font-weight: 700; color: #92400E; }

/* Galería en celular: fotos verticales más grandes, flechas casi transparentes, sin etiqueta de conteo */
.gallery-badge-count { display: none !important; }
@media (max-width: 768px) {
  .boat-top .gallery.is-portrait { --gal-h: clamp(420px, min(135vw, 80vh), 680px); }
  .gallery-nav { background: rgba(15,52,96,0.28); opacity: 0.85; }
}

/* Turnos: el horario siempre cabe en una línea; el tamaño de letra se ajusta al ancho real de cada botón */
.boat-top .schedule-btn { container-type: inline-size; }
.boat-top .schedule-btn .slot-time { white-space: nowrap; font-size: clamp(0.6rem, calc(9.6cqi - 3.5px), 0.85rem); letter-spacing: -0.01em; }
.boat-top .schedule-btn { padding-left: 0.35rem; padding-right: 0.35rem; gap: 0.3rem; }
.boat-top .schedule-btn .slot-icon svg { width: 18px; height: 18px; }

/* Mi perfil: tarjetas por tema */
.profile-stack { display: flex; flex-direction: column; gap: 1rem; max-width: 640px; }
.profile-card { background: var(--bg-card); border: 1px solid var(--line-2); border-radius: var(--r); padding: 1.25rem 1.5rem; display: flex; flex-direction: column; gap: 0.85rem; }
.profile-card-title { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--navy); margin: 0; }
.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem 1rem; }
.profile-card .form-group { margin: 0; }
.profile-card .btn { align-self: flex-start; }
.profile-hint { font-size: 0.78rem; color: var(--text-muted); line-height: 1.5; margin: 0; }
.profile-photo-row, .profile-id-row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.profile-photo { width: 84px; height: 84px; font-size: 1.8rem; flex-shrink: 0; }
.profile-photo-actions { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.dashboard-avatar { overflow: hidden; }
.dashboard-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 560px) { .profile-grid { grid-template-columns: 1fr; } .profile-card { padding: 1rem 1.1rem; } }

/* Fotos y videos verticales: marco más alto también en tablet y computadora, para dejar menos espacio vacío a los lados */
@media (min-width: 769px) and (max-width: 1000px) { .boat-top .gallery.is-portrait { --gal-h: clamp(460px, 80vh, 700px); } }
@media (min-width: 1001px) { .boat-top .gallery.is-portrait { --gal-h: clamp(440px, calc(100vh - 180px), 660px); } }

/* Conversión a pesos en el pago */
.pay-dop { margin-top: 0.75rem; border-top: 1px dashed var(--line-2); padding-top: 0.7rem; }
.pay-dop-main { display: flex; justify-content: space-between; align-items: baseline; gap: 0.75rem; flex-wrap: wrap; }
.pay-dop-main span { font-size: 0.85rem; color: var(--text-muted); }
.pay-dop-main strong { font-size: 1.25rem; color: var(--sky-3); font-family: var(--serif); font-style: italic; }
.pay-dop-note { font-size: 0.75rem; color: var(--text-muted); line-height: 1.5; margin-top: 0.25rem; }

/* Reservas del admin: cada dato en una sola línea, con foto de la embarcación */
.res-table th, .res-table td { white-space: nowrap; }
.res-table td { padding: 0.7rem 0.9rem; }
.res-code { display: inline-block; font-family: var(--mono); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.04em; color: var(--sky-3); background: var(--sky-lighter, #EAF6FE); border: 1px solid var(--line-2); border-radius: 8px; padding: 0.2rem 0.55rem; }
.res-boat { display: flex; align-items: center; gap: 0.65rem; }
.res-thumb { width: 52px; height: 40px; border-radius: 8px; overflow: hidden; background: var(--bg-2, #F0F6FF); border: 1px solid var(--line-2); display: grid; place-items: center; flex-shrink: 0; font-size: 1.1rem; }
.res-thumb img, .res-thumb video { width: 100%; height: 100%; object-fit: cover; display: block; }
.res-boat-name { font-weight: 600; color: var(--navy); }
.res-client { display: inline-block; max-width: 190px; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; }
.res-nowrap { white-space: nowrap; }
.res-actions { display: flex; gap: 0.4rem; flex-wrap: nowrap; }
.res-del { color: #B91C1C; }
@media (max-width: 900px) {
  .res-table, .res-table tbody, .res-table tr, .res-table td { display: block; width: 100%; }
  .res-table thead { display: none; }
  .res-table tr { border: 1px solid var(--line-2); border-radius: var(--r); padding: 0.6rem 0.9rem; margin-bottom: 0.75rem; background: var(--bg-card); }
  .res-table td { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.45rem 0; border-bottom: 1px solid var(--line); white-space: normal; }
  .res-table td:last-child { border-bottom: none; }
  .res-table td[data-label]::before { content: attr(data-label); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; }
  .res-table .res-actions { flex-wrap: wrap; justify-content: flex-end; }
  .table-wrap:has(.res-table) { border: none; box-shadow: none; background: none; overflow-x: visible; }
}

/* Tarjeta de reserva compartida (cliente y admin): sin fecha de salida */
.booking-list { display: flex; flex-direction: column; gap: 1rem; }
.booking-card-img-empty { background: var(--bg-2); display: flex; align-items: center; justify-content: center; font-size: 2rem; min-height: 160px; }
.booking-card-badges { display: flex; gap: 0.4rem; flex-wrap: wrap; justify-content: flex-end; }
.booking-card-client { font-size: 0.82rem; color: var(--text-2); margin-top: 0.35rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.booking-card-dates { flex-wrap: wrap; }
.booking-card-date-item { min-width: 190px; }
.booking-card-meta { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.1rem; }
.booking-card-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.booking-card-location { font-size: 0.8rem; margin-top: 0.25rem; }

/* Botones secundarios en fondos claros (paneles): texto oscuro y borde visible */
.admin-main .btn-ghost, .booking-card .btn-ghost, .profile-card .btn-ghost, .dashboard-grid .btn-ghost, .modal .btn-ghost { background: #fff; color: var(--navy); border: 1.5px solid var(--line-2); text-shadow: none; backdrop-filter: none; }
.admin-main .btn-ghost:hover, .booking-card .btn-ghost:hover, .profile-card .btn-ghost:hover, .dashboard-grid .btn-ghost:hover, .modal .btn-ghost:hover { background: var(--sky-lighter, #EAF6FE); border-color: var(--sky); color: var(--sky-3); }

/* Datos de la embarcación: cada uno en una sola línea */
.boat-spec-item .boat-spec-label, .boat-spec-item .boat-spec-val { white-space: nowrap; }

/* Datos de la embarcación: ícono a la izquierda y, al lado, la etiqueta sobre el valor; cada uno en una sola línea */
.boat-info .boat-spec-item { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 0.7rem; row-gap: 0; align-items: center; }
.boat-info .boat-spec-icon { grid-row: 1 / span 2; width: 34px; height: 34px; }
.boat-info .boat-spec-label { align-self: end; letter-spacing: 0.1em; }
.boat-info .boat-spec-val { align-self: start; font-size: 0.95rem; }

/* Resumen de la reserva (ventana Confirmar y pagar): filas limpias, cada dato en una línea */
.sum-card { background: var(--bg-2, #F0F9FF); border: 1px solid var(--line-2); border-radius: var(--r); padding: 1rem 1.1rem 0.9rem; margin-bottom: 1.25rem; }
.sum-head { display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem; padding-bottom: 0.7rem; border-bottom: 1px solid var(--line-2); }
.sum-boat { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sum-loc { font-size: 0.8rem; color: var(--text-muted); white-space: nowrap; flex-shrink: 0; }
.sum-rows { padding: 0.35rem 0; }
.sum-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 0.42rem 0; font-size: 0.9rem; }
.sum-row span { color: var(--text-muted); font-size: 0.82rem; flex-shrink: 0; }
.sum-row strong { color: var(--navy); font-weight: 600; text-align: right; white-space: nowrap; }
.sum-extra strong { color: var(--sky-3); }
.sum-total { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 0.75rem; border-top: 1px solid var(--line-2); }
.sum-total span { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; }
.sum-total strong { font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--sky-3); white-space: nowrap; }
@media (max-width: 520px) {
  .modal-overlay .modal { padding: 1.4rem 1.1rem; }
  .modal-title { font-size: 1.3rem; margin-bottom: 1rem; padding-right: 2.5rem; }
  .modal-close { top: 0.9rem; right: 0.9rem; width: 38px; height: 38px; }
  .sum-card { padding: 0.9rem 0.9rem 0.8rem; }
  .sum-boat { font-size: 1.15rem; }
  .sum-row { font-size: 0.86rem; }
}
.sum-extra span { flex-shrink: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Hero: ubicaciones arriba, título justo encima de la bandera de la embarcación y botones más abajo */
.hero-content { align-self: stretch; width: 100%; max-width: 900px; display: flex; flex-direction: column; align-items: center; padding-top: calc(var(--nav-h, 72px) + 6.5vh); padding-bottom: clamp(2.5rem, 9vh, 5.5rem); }
.hero-locations { gap: 0.55rem; margin-bottom: 0; }
.hero-loc-row { order: -1; }
.hero-actions { margin-top: auto; }
@media (max-width: 1024px) {
  .hero-content { padding-top: calc(var(--nav-h, 72px) + 1.2rem); padding-bottom: 2rem; }
}
@media (max-width: 640px) {
  .hero-content { padding-top: calc(var(--nav-h, 72px) + 0.8rem); padding-bottom: 1.4rem; }
  .hero-locations { gap: 0.4rem; }
  .hero-loc-row span { letter-spacing: 0.14em; }
}
@media (max-width: 640px) and (orientation: landscape) { .hero-content { padding-top: calc(var(--nav-h, 72px) + 0.5rem); } }

/* Filtros de reservas: búsqueda + selectores que se aplican al instante */
.book-search { flex: 1 1 260px; min-width: 200px; max-width: 360px; }
.book-count { font-size: 0.82rem; color: var(--text-muted); white-space: nowrap; }
.admin-filter-bar-actions { align-items: center; }
@media (max-width: 900px) { .book-search { max-width: none; } .admin-filter-bar-actions { justify-content: space-between; } }

/* Reservas en el teléfono: tarjeta compacta, cada texto en una sola línea */
.booking-card-img { object-fit: cover; }
.booking-card-date-val .d-short { display: none; }
@media (max-width: 640px) {
  .booking-card { flex-direction: column; border-radius: 16px; }
  .booking-card-img { width: 100%; height: 128px; }
  .booking-card-body { padding: 0.8rem 0.9rem 0.9rem; min-width: 0; }
  .booking-card-header { flex-direction: column; align-items: stretch; gap: 0.4rem; margin-bottom: 0.45rem; }
  .booking-card-header > div:first-child { display: flex; align-items: baseline; gap: 0.55rem; min-width: 0; }
  .booking-card-name { font-size: 1.05rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  .booking-card-ref { margin: 0; flex-shrink: 0; font-size: 0.72rem; letter-spacing: 0.04em; color: var(--sky-3); font-weight: 700; }
  .booking-card-badges { justify-content: flex-start; flex-wrap: nowrap; gap: 0.35rem; }
  .booking-card-badges .badge { font-size: 0.625rem; padding: 0.22rem 0.55rem; letter-spacing: 0.04em; white-space: nowrap; }
  .booking-card-location, .booking-card-client { font-size: 0.78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 0.15rem; }
  .booking-card-dates { display: grid; grid-template-columns: 1fr 1fr; gap: 0.45rem; margin: 0.6rem 0 0.2rem; }
  .booking-card-date-item { min-width: 0; padding: 0.4rem 0.55rem; }
  .booking-card-date-label { font-size: 0.6rem; white-space: nowrap; }
  .booking-card-date-val { font-size: 0.78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .booking-card-date-val .d-long { display: none; }
  .booking-card-date-val .d-short { display: inline; }
  .booking-card-footer { display: grid; grid-template-columns: 1fr; gap: 0.6rem; margin-top: 0.65rem; padding-top: 0.65rem; }
  .booking-card-footer > div:first-child { display: flex; align-items: baseline; justify-content: space-between; gap: 0.5rem; }
  .booking-card-price { font-size: 1.2rem; white-space: nowrap; }
  .booking-card-meta { margin: 0; white-space: nowrap; }
  .booking-card-actions { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0.4rem; }
  .booking-card-actions .btn { width: 100%; justify-content: center; padding: 0.5rem 0.4rem; font-size: 0.78rem; white-space: nowrap; }
  /* Filtros del admin: compactos, en dos columnas */
  .admin-filter-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-bottom: 1rem; }
  .admin-filter-bar .book-search { grid-column: 1 / -1; max-width: none; }
  .admin-filter-bar #book-filter-boat { grid-column: 1 / -1; }
  .admin-filter-bar .filter-select, .admin-filter-bar .filter-input { width: 100%; min-width: 0; padding: 0.55rem 0.7rem; font-size: 0.85rem; }
  .admin-filter-bar-actions { grid-column: 1 / -1; margin: 0; display: flex; justify-content: space-between; align-items: center; }
  .admin-filter-bar-actions .btn { flex: 0 0 auto; }
}

/* Panel del cliente en el teléfono: menú en una fila y filtros compactos, para ver las reservas enseguida */
.booking-filters { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
@media (max-width: 760px) {
  .dashboard-sidebar { padding: 0.45rem; margin-bottom: 0.25rem; }
  .dashboard-sidebar #sidebar-avatar, .dashboard-sidebar #sidebar-name, .dashboard-sidebar #sidebar-email { display: none; }
  .dashboard-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.3rem; margin: 0; padding: 0; border-top: 0; }
  .dashboard-nav > div { margin: 0 !important; padding: 0 !important; border: 0 !important; }
  .dashboard-nav-item { justify-content: center; gap: 0.35rem; padding: 0.55rem 0.3rem; font-size: 0.8rem; white-space: nowrap; width: 100%; }
  .booking-filters { flex-wrap: nowrap; overflow-x: auto; gap: 0.4rem; margin-bottom: 1rem; padding-bottom: 0.2rem; scrollbar-width: none; }
  .booking-filters::-webkit-scrollbar { display: none; }
  .booking-filters .location-tab { flex: 0 0 auto; padding: 0.4rem 0.85rem; font-size: 0.8rem; white-space: nowrap; }
  #tab-bookings > div:first-child { margin-bottom: 0.9rem !important; flex-wrap: nowrap !important; gap: 0.5rem !important; }
  #tab-bookings > div:first-child h2 { font-size: 1.25rem !important; white-space: nowrap; }
  #tab-bookings > div:first-child .btn { white-space: nowrap; padding: 0.5rem 0.9rem; font-size: 0.78rem; }
}

/* Acciones de las reservas: se acomodan en filas cuando son varias */
.booking-card-actions { flex-wrap: wrap; }
@media (max-width: 640px) { .booking-card-actions { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); } }

/* Evita que filtros o tarjetas ensanchen la página en el teléfono */
.dashboard-grid > * { min-width: 0; }
.dashboard-grid { max-width: 100%; }

/* Panel admin (escritorio): logo centrado y más grande */
@media (min-width: 1025px) {
  .admin-sidebar-brand { display: flex; justify-content: center; }
  .admin-sidebar-logo-img { height: 140px; max-width: 100%; margin-bottom: 0.4rem; }
  .admin-sidebar-label { text-align: center; margin-top: 0; margin-bottom: 1.5rem; }
}

/* Reservas en el teléfono — versión compacta: miniatura a la izquierda, datos en líneas cortas, acciones abajo */
@media (max-width: 640px) {
  .booking-card { display: grid; grid-template-columns: 84px 1fr; column-gap: 0.75rem; row-gap: 0.15rem; padding: 0.75rem; border-radius: 16px; align-items: start; }
  .booking-card-body, .booking-card-header { display: contents; }
  .booking-card-img { grid-column: 1; grid-row: 1 / span 4; width: 84px; height: 84px; border-radius: 12px; object-fit: cover; align-self: start; }
  .booking-card-img-empty { min-height: 0; font-size: 1.6rem; }
  .booking-card-header > div:first-child { grid-column: 2; display: block; min-width: 0; }
  .booking-card-name { display: block; font-size: 1.02rem; line-height: 1.25; }
  .booking-card-ref { display: block; margin-top: 0.05rem; font-size: 0.7rem; }
  .booking-card-location { grid-column: 2; margin: 0; font-size: 0.78rem; }
  .booking-card-client { grid-column: 2; margin: 0; font-size: 0.78rem; }
  .booking-card-dates { grid-column: 2; display: flex; flex-wrap: nowrap; gap: 0; margin: 0; min-width: 0; }
  .booking-card-date-item { background: none; border: 0; padding: 0; min-width: 0; border-radius: 0; }
  .booking-card-date-item + .booking-card-date-item::before { content: '·'; margin: 0 0.35rem; color: var(--text-faint); }
  .booking-card-date-item:first-child { flex: 0 0 auto; }
  .booking-card-date-item:last-child { flex: 1 1 auto; min-width: 0; }
  .booking-card-date-label { display: none; }
  .booking-card-date-item { display: flex; align-items: baseline; }
  .booking-card-date-val { font-size: 0.78rem; font-weight: 600; color: var(--navy); }
  .booking-card-badges { grid-column: 1 / -1; order: 5; margin-top: 0.55rem; display: flex; gap: 0.35rem; flex-wrap: wrap; }
  .booking-card-footer { grid-column: 1 / -1; order: 6; display: grid; gap: 0.5rem; margin-top: 0.45rem; padding-top: 0.55rem; border-top: 1px solid var(--line); }
  .booking-card-price { font-size: 1.1rem; }
  .booking-card-actions { grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); gap: 0.35rem; }
  .booking-card-actions .btn { padding: 0.42rem 0.3rem; font-size: 0.74rem; min-height: 34px; }
}

@media (max-width: 640px) {
  .booking-card-dates { flex-direction: column; gap: 0.05rem; }
  .booking-card-date-item + .booking-card-date-item::before { content: none; margin: 0; }
  .booking-card-date-item::before { margin-right: 0.35rem; font-size: 0.8rem; }
  .booking-card-date-item:first-child::before { content: '📅'; }
  .booking-card-date-item:last-child::before { content: '🕒'; }
  .booking-card-date-item:last-child { flex: none; }
  .booking-card-actions:has(.btn:nth-child(4)) { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) { .booking-card-dates { align-items: flex-start; } }

.inc-note { flex-basis: 100%; font-size: 0.74rem; color: var(--text-muted); margin-top: 2px; }
