/* ===================================
   AFTERSURFGUIDE — MAIN STYLES
   Mobile-First v3
   Base styles target mobile; min-width
   queries in responsive.css add tablet/desktop
   =================================== */

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:           #F5F1EB;
  --bg-dark:      #0B1C2D;
  --bg-darker:    #08131F;
  --ink:          #1C1917;
  --ink-mid:      #4A4540;
  --ink-light:    #665F57;
  --accent:       #E3B96A;
  --accent-soft:  #F0D9A6;
  --accent-deep:  #7A5220; /* dorado de texto sobre pastel — el accent claro no pasa WCAG AA sobre fondos claros */
  --sunset-coral: #E2703A;
  --sand-pastel:  #F2E4CE;
  --sky-pastel:   #C9DCE8;
  --coral-pastel: #F4C7B0;
  --border:       #DDD8D0;
  --white:        #FFFFFF;
  --font-serif:   'Petrona', Georgia, serif;
  --font-sans:    'Inter', system-ui, sans-serif;
  /* Escala funcional: evita que labels equivalentes acumulen medidas
     arbitrarias y mantiene legibilidad en uso exterior. */
  --text-micro:   0.75rem;
  --text-meta:    0.8125rem;
  --text-small:   0.875rem;
  --text-body:    1rem;
  --text-lead:    1rem;
  --radius-sm:    10px;
  --bnav-h:       4.5rem;
  --navbar-h-tablet: 4.25rem;
  --navbar-h-desktop: 4.75rem;
  --spots-drawer-peek: 72px;
  --spots-drawer-mid:  45vh;
  --spots-drawer-detail: 50vh;
  --spots-drawer-full: calc(100svh - 56px);
  --focus-ring:   var(--bg-darker);
  --color-error:      #B84A4A;
  --color-wa:         #25D366;
  --color-wa-hover:   #1ebe5d;
  --color-live:       #E07070;
  --bg-webcam-deep:   #02070C;
}

html { scroll-behavior: smooth; }

/* Scroll reveal: JS (IntersectionObserver) añade/quita .is-revealed */
.reveal-init {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.reveal-init.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 10000;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  background: var(--bg-darker);
  color: var(--white);
  border: 2px solid var(--white);
  transform: translateY(calc(-100% - 20px));
  transition: transform 160ms cubic-bezier(0.22, 1, 0.36, 1);
}
.skip-link:focus { transform: translateY(0); }

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 56px 0; }
.bg-paper { background: var(--bg); }

/* --- TYPOGRAPHY --- */
h1, h2, h3 { font-family: var(--font-serif); line-height: 1.15; }
h1 { font-size: clamp(2.125rem, 6vw, 4rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: 1.125rem; }

/* Logo mark: sized on all screens (including mobile footer) */
.logo-mark {
  height: 32px;
  width: auto;
  display: block;
}

/* Back/inline link used on 404 and similar views */
.hero-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-light);
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.hero-link:hover { color: var(--ink); border-color: var(--ink); }

.label {
  display: block;
  font-size: var(--text-micro);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

/* ===================================
   TOP NAVBAR — hidden on mobile,
   shown at 768px+ in responsive.css
   =================================== */
.navbar { display: none; }

/* ===================================
   MOBILE HEADER BAR
   Thin bar that fades in on scroll (mobile only)
   =================================== */
.mobile-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  pointer-events: none;
}
.mobile-header.scrolled {
  background: var(--bg-dark);
  box-shadow: 0 1px 0 rgba(227,185,106,0.1);
  pointer-events: auto;
}
.mobile-header a {
  pointer-events: auto;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.mobile-logo {
  height: 30px;
  width: auto;
  display: block;
}

/* ===================================
   BOTTOM NAVIGATION (mobile only)
   =================================== */
.bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--bg-darker);
  border-top: 1px solid rgba(227,185,106,0.12);
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.bottom-nav.bnav-hidden {
  transform: translateY(100%);
}

.bnav-track {
  display: flex;
  align-items: stretch;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  padding-left: env(safe-area-inset-left, 10px);
  padding-right: env(safe-area-inset-right, 10px);
}

.bnav-item {
  flex: 1;
  min-width: 0;
  min-height: var(--bnav-h);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: rgba(255,255,255,0.68);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s, transform 0.15s ease-out;
  padding: 8px 4px;
  text-align: center;
}
.bnav-item:active { transform: scale(0.96); }
.bnav-item span {
  max-width: 100%;
  line-height: 1.15;
  white-space: nowrap;
}
.bnav-item svg {
  width: 22px; height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  transition: stroke-width 0.15s;
}
.bnav-item svg,
.bnav-item svg * { fill: none; }
.bnav-item.active {
  color: var(--accent);
  position: relative;
  z-index: 3;
}
.bnav-item.active svg,
.bnav-item.active svg * {
  stroke: var(--accent);
  stroke-width: 1.75;
}

/* Margen inferior para que el contenido no quede oculto tras el bottom-nav fijo.
   Chrome iOS no suma env(safe-area-inset-bottom) automáticamente; Safari sí. */
#main-content {
  padding-bottom: calc(var(--bnav-h) + env(safe-area-inset-bottom, 0px));
}
body.page-spots      #main-content { padding-bottom: 0; }
body.page-home       #main-content { padding-bottom: 0; }
body.page-nosotros   #main-content { padding-bottom: 0; }
/* .exp-final-cta ya reserva su propio espacio frente a la bottom nav fija;
   sin este override se sumaba también el padding genérico de arriba. */
body.page-experiencia #main-content { padding-bottom: 0; }

/* ===================================
   HERO (home — mobile: centered, full-screen)
   =================================== */
.hero {
  min-height: 100dvh;
  background: var(--sand-pastel);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 28px calc(var(--bnav-h) + env(safe-area-inset-bottom, 0px) + 48px);
  position: relative;
  overflow: hidden;
}

/* video background — oculto en móvil/tablet, visible solo en desktop via responsive.css */
.hero-video-bg {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

/* atmospheric gradient — oro y coral de atardecer sobre la arena */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 55% at 50% 100%, rgba(227,185,106,0.16) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 8%, rgba(226,112,58,0.10) 0%, transparent 55%);
  pointer-events: none;
}

/* subtle wave lines (decorative) */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: repeating-linear-gradient(
    180deg,
    transparent,
    transparent 18px,
    rgba(184,118,62,0.05) 18px,
    rgba(184,118,62,0.05) 19px
  );
  pointer-events: none;
  mask-image: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 560px;
}

.hero-logo {
  height: 96px;
  width: auto;
  margin-bottom: 28px;
  opacity: 0.92;
  animation: hero-content-enter 680ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-eyebrow,
.hero-content h1,
.hero-sub,
.hero-actions {
  animation: hero-content-enter 720ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-eyebrow { animation-delay: 70ms; }
.hero-content h1 { animation-delay: 120ms; }
.hero-sub { animation-delay: 170ms; }
.hero-actions { animation-delay: 220ms; }

@keyframes hero-content-enter {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  font-size: var(--text-micro);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 18px;
}

.hero-content h1 {
  color: var(--ink);
  font-weight: 400;
  margin-bottom: 18px;
  font-size: clamp(2rem, 9vw, 3rem);
}
.hero-content h1 em {
  font-style: italic;
  color: var(--ink-light);
}

.hero-sub {
  color: var(--ink-mid);
  font-size: var(--text-lead);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 340px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 280px;
}

.hero-cta-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 15px 28px;
  background: var(--accent);
  color: var(--bg-darker);
  font-size: var(--text-meta);
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.12s;
  -webkit-tap-highlight-color: transparent;
  min-height: 50px;
}
.hero-cta-primary:active { transform: scale(0.97); }
.hero-cta-primary:hover { background: var(--accent-soft); }

.hero-cta-secondary {
  color: var(--ink-light);
  font-size: var(--text-meta);
  font-weight: 400;
  letter-spacing: 0.04em;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.hero-cta-secondary:hover { color: var(--ink); }

/* scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: calc(var(--bnav-h) + env(safe-area-inset-bottom, 0px) + 16px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 2;
}
.hero-scroll-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, rgba(227,185,106,0.7), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: 0.3; transform: scaleY(1); transform-origin: top; }
  50%      { opacity: 0.9; transform: scaleY(0.65); transform-origin: top; }
}

.hero-mountains {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  pointer-events: none;
  z-index: 0;
}
/* ===================================
   FEATURED EXP CARDS (home — snap-scroll)
   =================================== */
.featured-section {
  padding: 48px 0 52px;
  background: var(--bg);
}

.featured-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 0 20px;
  margin-bottom: 20px;
}
.featured-head .label {
  color: var(--accent-deep);
  margin-bottom: 0;
}
.carousel-section-title {
  font-family: var(--font-sans);
  font-size: var(--text-small);
  line-height: 1.35;
}
.featured-head-actions {
  display: flex;
  align-items: flex-end;
}
.carousel-nav-group,
.carousel-nav { display: none; }
/* Swiper carousel */
.exp-swiper {
  /* !important: swiper-bundle.min.css carga después y trae .swiper{padding:0}
     con la misma especificidad (una sola clase) — sin esto, gana el bundle
     y los puntos de paginación quedan sin espacio, solapados sobre la card. */
  padding-bottom: 52px !important;
  overflow: hidden;
}
.exp-swiper .swiper-wrapper {
  align-items: stretch;
}
.exp-swiper .swiper-slide {
  width: 82vw;
  max-width: 320px;
  height: auto;
}
.carousel-pagination {
  bottom: 8px;
}
.carousel-pagination .swiper-pagination-bullet {
  position: relative;
  width: 44px;
  height: 44px;
  margin: 0 !important;
  background: transparent;
  opacity: 1;
}
.carousel-pagination .swiper-pagination-bullet::after {
  content: '';
  position: absolute;
  inset: 50% auto auto 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(28,25,23,0.2);
  transform: translate(-50%, -50%);
  transition: background 0.2s, transform 0.2s;
}
.carousel-pagination .swiper-pagination-bullet-active::after {
  background: var(--accent);
  transform: translate(-50%, -50%) scale(1.3);
}

/* experience card */
.exp-card {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.exp-card:active { transform: scale(0.985); }
.exp-card:hover { border-color: rgba(227,185,106,0.5); }
.exp-card-link {
  display: flex;
  height: 100%;
  flex-direction: column;
  color: var(--ink);
  -webkit-tap-highlight-color: transparent;
}
.exp-card-link:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: -4px;
}
.exp-card-img {
  height: 185px;
  flex-shrink: 0;
  background-color: var(--sand-pastel);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  /* atmospheric fallback — visible when no bg image or while loading */
  background-image:
    radial-gradient(ellipse 90% 80% at 30% 110%, rgba(227,185,106,0.22) 0%, transparent 60%),
    linear-gradient(160deg, #F2E4CE 0%, #ECD9BC 100%);
}
.exp-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 35%, rgba(8,19,31,0.5));
}
.exp-card-img picture,
.exp-card-img img {
  width: 100%;
  height: 100%;
  display: block;
}
.exp-card-img img { object-fit: cover; }

.exp-card-cat {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 1;
  background: rgba(8,19,31,0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(227,185,106,0.28);
  border-radius: var(--radius-sm);
  color: var(--accent);
  font-size: var(--text-micro);
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 4px 9px;
}

.exp-card-body {
  padding: 18px 16px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.exp-card-body h3 {
  font-size: 1.08rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.25;
}
.exp-card-body p {
  font-size: var(--text-small);
  color: var(--ink-light);
  line-height: 1.62;
  flex: 1;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.exp-card-foot {
  display: flex;
  align-items: center;
  padding-top: 13px;
  border-top: 1px solid var(--border);
}
.exp-card-price {
  font-size: var(--text-meta);
  color: var(--ink-light);
}
.exp-card-price strong {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  color: var(--ink);
  font-weight: 400;
}


/* ===================================
   WHATSAPP CONTACT STRIP (home)
   =================================== */
.wa-contact {
  background: var(--bg-dark);
  border-top: 1px solid rgba(227,185,106,0.10);
  padding: 28px 24px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.wa-contact-note {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(0.85rem, 2.5vw, 0.95rem);
  color: rgba(255,255,255,0.72);
  line-height: 1.5;
  max-width: 320px;
}
.wa-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #25D366;
  font-size: var(--text-micro);
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  transition: opacity 0.18s;
  min-height: 44px;
}
.wa-contact-link svg { flex-shrink: 0; }
.wa-contact-link:hover  { opacity: 0.72; }
.wa-contact-link:active { opacity: 0.5; }

/* ===================================
   MAPA TEASER SECTION (home)
   =================================== */
.map-teaser {
  background: var(--sky-pastel);
  padding: 56px 0 48px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.map-teaser-shell {
  display: grid;
  grid-template-areas:
    'head'
    'carousel'
    'actions';
}
.map-teaser-head {
  grid-area: head;
  padding: 0 20px;
  margin-bottom: 24px;
}
.map-teaser-head .label {
  color: var(--accent-deep);
  display: block;
  margin-bottom: 12px;
}
.map-teaser-actions {
  grid-area: actions;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 20px;
  margin-top: 22px;
}
.map-teaser-carousel-frame {
  grid-area: carousel;
  width: 100%;
  min-width: 0;
  overflow: hidden;
}
.spot-swiper {
  width: 100%;
  padding-bottom: 52px !important;
  overflow: hidden;
}
.spot-swiper .swiper-wrapper { align-items: stretch; }
.spot-swiper .swiper-slide {
  width: 82vw;
  max-width: 328px;
  height: auto;
}
.spot-card {
  height: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.22s, transform 0.15s;
}
.spot-card-link {
  display: flex;
  height: 100%;
  flex-direction: column;
  color: var(--ink);
  -webkit-tap-highlight-color: transparent;
}
.spot-card-media {
  position: relative;
  aspect-ratio: 8 / 5;
  overflow: hidden;
  background: var(--sand-pastel);
}
.spot-card-media picture,
.spot-card-media img {
  display: block;
  width: 100%;
  height: 100%;
}
.spot-card-media img {
  object-fit: cover;
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}
.spot-card-pin {
  position: absolute;
  left: 14px;
  bottom: 12px;
  display: grid;
  width: 32px;
  height: 40px;
  place-items: center;
  color: var(--accent-deep);
  filter: drop-shadow(0 1px 2px rgba(8,19,31,0.18));
}
.spot-card-pin svg { width: 25px; height: 33px; overflow: visible; }
.spot-card-pin path {
  fill: currentColor;
  stroke: var(--white);
  stroke-width: 1.5;
}
.spot-card-pin circle { fill: var(--white); }
.spot-card--surf .spot-card-pin { color: var(--sky-pastel); }
.spot-card--beach .spot-card-pin { color: var(--accent); }
.spot-card--mountain .spot-card-pin { color: var(--accent-deep); }
.spot-card-body {
  min-height: 88px;
  padding: 15px 17px 17px;
}
.spot-card-meta {
  display: block;
  margin-bottom: 7px;
  color: var(--ink-light);
  font-size: var(--text-micro);
  font-weight: 600;
  letter-spacing: 0.11em;
  line-height: 1.3;
  text-transform: uppercase;
}
.spot-card h3 {
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 400;
  line-height: 1.25;
}
.spot-card-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  background: var(--cream);
  color: var(--accent-deep);
}
.spot-card-fallback > .spot-card-fallback-monogram {
  width: min(42%, 140px);
  height: auto;
  flex: 0 0 auto;
  object-fit: contain;
  opacity: 0.88;
}
.spot-card-fallback span {
  color: var(--ink-light);
  font-size: var(--text-micro);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.spot-card:active { transform: scale(0.985); }
.spot-card-link:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: -4px;
}
.map-teaser-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 28px;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  font-size: var(--text-meta);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  min-height: 50px;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.map-teaser-cta:hover { background: var(--ink); color: var(--white); }
.map-teaser-cta:active { transform: scale(0.97); }
.map-teaser-cta svg { flex-shrink: 0; }



/* ===================================
   PAGE HEADER (inner pages)
   =================================== */
.page-lead {
  background: var(--sand-pastel);
  padding: 88px 0 44px;
}
.page-lead .label {
  color: var(--accent-deep);
}
.page-lead h1 {
  color: var(--ink);
  font-weight: 400;
}
.page-lead p {
  color: var(--ink-mid);
  font-size: var(--text-body);
  margin-top: 12px;
  max-width: 420px;
  line-height: 1.75;
}


/* ===================================
   ABOUT PAGE
   =================================== */
.about-text-section {
  padding: 48px 0;
}
.about-text-section p {
  font-size: var(--text-body);
  color: var(--ink-mid);
  line-height: 1.88;
  max-width: 660px;
  margin-bottom: 20px;
}
.about-text-section p:last-child { margin-bottom: 0; }

.section-header { margin-bottom: 36px; }
.section-header h2 { margin-bottom: 10px; }
.section-header p {
  font-size: var(--text-small);
  color: var(--ink-light);
  max-width: 480px;
}
.values-section {
  padding: 0 0 56px;
}
.values-section .section-header { margin-bottom: 28px; }

.values-grid {
  border-top: 1px solid var(--border);
}
.value-item {
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
.value-item h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
}
.value-item p {
  font-size: 0.9375rem;
  color: var(--ink-light);
  line-height: 1.72;
}

/* ===================================
   FAMILIA ASG
   =================================== */
.familia-section {
  padding: 56px 0;
  background: var(--coral-pastel);
}
.familia-section .section-header { margin-bottom: 40px; }
.familia-section .section-header h2 { color: var(--ink); }
.familia-section .section-header .label { color: var(--accent-deep); }

.familia-founders {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--stone);
  margin-bottom: 40px;
}

.familia-item { text-align: center; }

.familia-avatar {
  position: relative;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid rgba(227, 185, 106, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  overflow: hidden;
}
.familia-avatar span {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  color: var(--accent-deep);
  user-select: none;
}
.familia-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.familia-avatar--lg {
  width: 104px;
  height: 104px;
}
.familia-avatar--lg span { font-size: 1.15rem; }

.familia-item h3 {
  font-family: 'Petrona', Georgia, serif;
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 4px;
}
.familia-role {
  display: block;
  font-size: var(--text-micro);
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 14px;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.familia-founders .familia-item p {
  font-size: 0.9375rem;
  color: var(--ink-mid);
  line-height: 1.72;
  max-width: 30ch;
  margin: 0 auto;
}

.familia-others {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px 28px;
  max-width: 100%;
}
.familia-others .familia-item {
  min-width: 0;
  max-width: 100%;
}
.familia-others .familia-item h3 { font-size: 0.95rem; }
.familia-others .familia-role { margin-bottom: 0; }

/* ===================================
   CONTACT PAGE
   =================================== */

/* ===================================
   FAQ (página general y sección por experiencia)
   =================================== */
.faq-list {
  display: flex;
  flex-direction: column;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child {
  border-top: 1px solid var(--border);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  min-height: 44px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--ink);
  -webkit-tap-highlight-color: transparent;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}
.faq-chevron {
  flex-shrink: 0;
  width: 13px;
  height: 8px;
  color: var(--accent-deep);
  transition: transform 0.2s cubic-bezier(0.23, 1, 0.32, 1);
}
.faq-item[open] .faq-chevron { transform: rotate(180deg); }

.faq-answer-wrapper {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s cubic-bezier(0.23, 1, 0.32, 1);
}
.faq-item[open] .faq-answer-wrapper { grid-template-rows: 1fr; }
@starting-style {
  .faq-item[open] .faq-answer-wrapper { grid-template-rows: 0fr; }
}
.faq-answer-inner { overflow: hidden; min-height: 0; }
.faq-answer-inner p {
  padding-bottom: 20px;
  max-width: 65ch;
  color: var(--ink-mid);
  line-height: 1.7;
}

@media (prefers-reduced-motion: reduce) {
  .faq-chevron,
  .faq-answer-wrapper {
    transition: none;
  }
}

/* Política de cookies */
.cookies-table-wrap {
  overflow-x: auto;
  margin: 8px 0 32px;
}
.cookies-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}
.cookies-table th,
.cookies-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.cookies-table th {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-light);
}
.cookies-table td:first-child { white-space: nowrap; font-weight: 500; }
.cookies-cell-label { display: none; }
.cookies-section { margin-bottom: 32px; }
.cookies-section h2 { margin-bottom: 10px; }
.cookies-section p { color: var(--ink-mid); line-height: 1.7; max-width: 65ch; }
.cookies-updated { color: var(--ink-light); font-size: 0.85rem; margin-bottom: 28px; }
.cookies-disclaimer {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  color: var(--ink-light);
  font-size: 0.85rem;
  font-style: italic;
}

/* En móvil, la misma tabla semántica se presenta como fichas legibles sin scroll lateral. */
@media (max-width: 639px) {
  .cookies-table-wrap {
    overflow: visible;
    margin-bottom: 32px;
  }
  .cookies-table,
  .cookies-table tbody {
    display: block;
    width: 100%;
  }
  .cookies-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .cookies-table tbody {
    display: grid;
    gap: 16px;
  }
  .cookies-table tr {
    display: block;
    padding: 10px 18px;
    background: var(--white);
    border: 1px solid var(--border);
  }
  .cookies-table td,
  .cookies-table td:first-child {
    display: grid;
    grid-template-columns: minmax(76px, 0.72fr) minmax(0, 1.45fr);
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    white-space: normal;
  }
  .cookies-table td:last-child { border-bottom: 0; }
  .cookies-cell-label {
    display: block;
    color: var(--ink-light);
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.45;
  }
  .cookies-cell-value {
    min-width: 0;
    color: var(--ink-mid);
    font-size: 0.875rem;
    line-height: 1.55;
    overflow-wrap: anywhere;
  }
  .cookies-table td:first-child .cookies-cell-value {
    color: var(--ink);
    font-weight: 600;
  }
}

/* ===================================
   FOOTER
   =================================== */
.footer {
  background: var(--bg-darker);
  padding: 40px 0 calc(28px + var(--bnav-h) + env(safe-area-inset-bottom, 0px));
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-bottom: 24px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(227,185,106,0.1);
}
.footer .logo {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.footer-contact {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
  min-width: 0;
  max-width: 100%;
}
.footer-contact a {
  color: rgba(255,255,255,0.82);
  transition: color 0.2s;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.footer-contact a:hover { color: var(--white); }
.footer-contact strong {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

/* footer nav hidden on mobile — bottom nav replaces it */
.footer-nav { display: none; }

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.72);
}

/* Único camino a faq.php en móvil, ya que .footer-nav está oculto y la bottom nav no tiene un 5º icono */
.footer-faq-mobile {
  margin-bottom: 8px;
}
.footer-faq-mobile a {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.footer-cookie-notice {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.72);
  margin-top: 8px;
}
.footer-cookie-notice a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ===================================
   EXPERIENCE DETAIL PAGE
   =================================== */
.exp-intro {
  padding: 40px 0 44px;
}
.exp-layout {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.exp-description {
  font-size: var(--text-body);
  color: var(--ink-mid);
  line-height: 1.88;
  margin-bottom: 18px;
}
.exp-description:last-of-type { margin-bottom: 0; }

.exp-sidebar-heading {
  font-family: var(--font-sans);
  font-size: var(--text-micro);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 8px;
  margin-top: 24px;
}
.exp-sidebar-heading:first-child { margin-top: 0; }
.exp-sidebar p,
.exp-sidebar li {
  font-size: 0.9375rem;
  color: var(--ink-mid);
  line-height: 1.72;
}
.exp-sidebar ul { padding-left: 0; }
.exp-sidebar li { margin-bottom: 5px; }
.exp-sidebar li::before {
  content: '— ';
  color: var(--ink-light);
}
.exp-price-block {
  padding: 18px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 22px;
}
.exp-price-label {
  font-size: var(--text-micro);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-light);
  display: block;
  margin-bottom: 4px;
}
.exp-price-amount {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--ink);
}
.exp-price-amount span {
  font-family: var(--font-sans);
  font-size: var(--text-meta);
  color: var(--ink-light);
  font-weight: 400;
  margin-left: 4px;
}

/* sidebar CTA — hidden on mobile, sidebar shown on desktop */
.exp-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  background: var(--accent);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-align: center;
  transition: background 0.2s;
  min-height: 48px;
}
.exp-cta:hover { background: var(--accent-soft); }

/* Sticky bottom CTA bar (mobile experience detail) */
.exp-sticky-cta {
  position: fixed;
  bottom: env(safe-area-inset-bottom, 0px);
  left: 0; right: 0;
  z-index: 800;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 11px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 -4px 20px rgba(8,19,31,0.09);
  --cta-nav-lift: calc(0px - var(--bnav-h));
  --cta-exit: 0px;
  transform: translateY(calc(var(--cta-nav-lift) + var(--cta-exit)));
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
body.bnav-is-hidden .exp-sticky-cta {
  --cta-nav-lift: 0px;
}
.exp-sticky-cta.hidden {
  --cta-exit: calc(100% + var(--bnav-h) + env(safe-area-inset-bottom, 0px));
}
.exp-sticky-price {
  flex: 1;
}
.exp-sticky-price em {
  display: block;
  font-style: normal;
  font-size: var(--text-micro);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 1px;
}
.exp-sticky-price strong {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--ink);
  font-weight: 400;
}
.exp-sticky-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  background: var(--accent);
  color: var(--bg-darker);
  font-size: var(--text-meta);
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.12s;
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
  min-height: 44px;
}
.exp-sticky-btn:active { transform: scale(0.96); }
.exp-sticky-btn:hover { background: var(--accent-soft); }

/* ===================================
   EXP NEIGHBOR NAV (desktop only — ver css/responsive.css ≥1100px)
   =================================== */
.exp-neighbor-nav { display: none; }

/* Navegación lineal de respaldo: permanece dentro del flujo en móvil y
   tablet, donde las tarjetas flotantes restarían espacio al contenido. */
.exp-sequence-nav {
  display: grid;
  margin: 0 20px 32px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.exp-sequence-link {
  min-height: 76px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  color: var(--ink);
  text-decoration: none;
}
.exp-sequence-link + .exp-sequence-link { border-top: 1px solid var(--border); }
.exp-sequence-link--next { text-align: right; }
.exp-sequence-link span {
  color: var(--accent-deep);
  font-size: var(--text-micro);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.exp-sequence-link strong {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.25;
}
.exp-sequence-link:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 4px;
}

.exp-final-cta {
  padding: 48px 0 calc(48px + var(--bnav-h) + env(safe-area-inset-bottom, 0px));
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.exp-final-cta h2 {
  max-width: 620px;
  margin-bottom: 12px;
}
.exp-final-cta p {
  max-width: 560px;
  color: var(--ink-light);
  font-size: var(--text-body);
  line-height: 1.78;
  margin-bottom: 24px;
}
.exp-final-cta .exp-cta {
  display: inline-flex;
  min-width: 200px;
}

/* Photo gallery */
.exp-gallery-section {
  padding: 0 0 56px;
}
.exp-gallery-section .label { margin-bottom: 20px; }

.exp-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
}
.exp-gallery-item {
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--bg);
  position: relative;
  cursor: pointer;
}
.exp-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.exp-gallery-item picture {
  width: 100%;
  height: 100%;
  display: block;
}
.exp-gallery-fallback-link {
  width: 100%;
  height: 100%;
  display: block;
}
.exp-gallery-item:hover img { transform: scale(1.04); }
.exp-gallery-item.wide {
  grid-column: span 2;
  aspect-ratio: 16/9;
}
.exp-gallery-item.media-missing {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: var(--sand-pastel);
}
.exp-gallery-item.media-missing::after {
  content: attr(data-fallback);
  color: var(--ink-light);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}
.exp-gallery-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}
.exp-gallery-more {
  min-height: 48px;
  padding: 10px 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--ink);
  font: 600 0.75rem/1.2 var(--font-sans);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.16s cubic-bezier(0.23, 1, 0.32, 1);
}
.exp-gallery-more svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}
.exp-gallery-more:hover { color: var(--accent-deep); }
.exp-gallery-more:active { transform: scale(0.98); }
.exp-gallery-more:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 4px;
}

/* Video hero */
.exp-video-hero {
  position: relative;
  width: 100%;
  height: 62vh;
  min-height: 300px;
  overflow: hidden;
  background: var(--sand-pastel);
}
.exp-video-hero video,
.exp-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.exp-video-hero > picture {
  position: absolute;
  inset: 0;
  display: block;
}
.exp-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 19, 31, 0);
  pointer-events: none;
}
.exp-video-logo {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.exp-video-logo img {
  width: clamp(130px, 38vw, 280px);
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.exp-media-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  z-index: 1;
}
.exp-video-hero:not(.media-missing) .exp-media-fallback { display: none; }
.exp-video-hero.media-missing .exp-video-overlay {
  background:
    linear-gradient(rgba(8,19,31,0.72), rgba(8,19,31,0.72)),
    radial-gradient(circle at 30% 35%, rgba(227,185,106,0.14), transparent 34%);
}

/* ===================================
   SPOTS MAP
   =================================== */

/* En móvil la página del mapa ocupa toda la pantalla */
body.page-spots .page-lead { display: none; }
body.page-spots .footer    { display: none; }
body.page-spots .mobile-header {
  background: var(--bg-darker);
  box-shadow: 0 1px 0 rgba(227,185,106,0.1);
  pointer-events: auto;
}
body.page-spots #main-content {
  margin-top: 56px;
  height: calc(100svh - 56px - var(--bnav-h) - env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Section: ocupa todo el espacio del main fijo */
.spots-section {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

/* Layout: caja que rellena la sección tras los filtros */
.spots-layout {
  position: relative;
  flex: 1;
  min-height: 0;
}

/* Mapa: rellena toda la sección en móvil */
.spots-map {
  position: absolute;
  inset: 0;
  z-index: 0;
  min-height: 0;
  min-width: 0;
}
.spots-map .leaflet-bottom {
  bottom: calc(var(--spots-drawer-peek) + 8px);
}
body.page-spots .spots-map .leaflet-control-zoom a {
  width: 44px;
  height: 44px;
  line-height: 44px;
}
/* Leaflet sube cuando el drawer sube */
.spots-section.drawer-mid    .spots-map .leaflet-bottom { bottom: calc(var(--spots-drawer-mid) + 8px); }
.spots-section.drawer-detail .spots-map .leaflet-bottom { bottom: calc(var(--spots-drawer-detail) + 8px); }
.spots-section.drawer-full   .spots-map .leaflet-bottom { bottom: calc(var(--spots-drawer-full) + 8px); }
.spots-map-status {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  color: var(--ink-light);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  z-index: 1000;
}
.spots-map-status[hidden] { display: none; }

/* Hint de dos dedos */
/* FAB de geolocalización */
.spots-geo-fab {
  position: absolute;
  bottom: calc(var(--spots-drawer-peek) + 16px);
  right: 16px;
  z-index: 20;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(227, 185, 106, 0.35);
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.12s;
  -webkit-tap-highlight-color: transparent;
}
.spots-geo-fab:active  { transform: scale(0.97); }
.spots-geo-fab:hover   { color: var(--accent); border-color: var(--accent); }
.spots-geo-fab.is-loading {
  color: var(--accent);
  border-color: var(--accent);
  animation: geo-pulse 1.2s ease-in-out infinite;
}
.spots-geo-fab.is-located {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(227, 185, 106, 0.12);
}
.spots-geo-fab.is-denied {
  color: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.1);
  cursor: not-allowed;
}
@keyframes geo-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(227, 185, 106, 0); }
  50%       { box-shadow: 0 0 0 6px rgba(227, 185, 106, 0.18); }
}
/* FAB sube con el drawer */
.spots-section.drawer-mid    .spots-geo-fab { bottom: calc(var(--spots-drawer-mid) + 16px); }
.spots-section.drawer-detail .spots-geo-fab { bottom: calc(var(--spots-drawer-detail) + 16px); }
.spots-section.drawer-full   .spots-geo-fab { bottom: calc(var(--spots-drawer-full) + 16px); }

.spots-panel-toggle { display: none; }

/* Cajón inferior (bottom drawer) */
.spots-drawer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 30;
  background: var(--bg);
  border-top: 1px solid var(--border);
  height: var(--spots-drawer-peek);
  transition: height 0.32s cubic-bezier(0.22, 0.61, 0.36, 1);
  display: flex;
  flex-direction: column;
}
.spots-drawer[data-state="mid"]    { height: var(--spots-drawer-mid); }
.spots-drawer[data-state="detail"] { height: var(--spots-drawer-detail); }
.spots-drawer[data-state="full"]   { height: 100%; }
.spots-drawer.is-dragging        { transition: none; }

/* Handle del cajón */
.spots-drawer-handle {
  flex-shrink: 0;
  height: var(--spots-drawer-peek);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: grab;
  border: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  touch-action: none;
  padding: 12px 20px 10px;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.spots-drawer-handle:active { cursor: grabbing; }
.spots-drawer[data-state="mid"]    .spots-drawer-handle,
.spots-drawer[data-state="detail"] .spots-drawer-handle,
.spots-drawer[data-state="full"]   .spots-drawer-handle {
  box-shadow: 0 2px 8px rgba(8, 19, 31, 0.08);
}

/* Barra visual de arrastre */
.spots-drawer-grip {
  width: 36px;
  height: 3px;
  background: var(--border);
  flex-shrink: 0;
}

/* Contador de spots */
.spots-drawer-count {
  font-size: var(--text-micro);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-light);
}

/* Sidebar dentro del cajón */
.spots-sidebar {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  background: var(--bg);
}
/* En peek: ocultar contenido para que no se filtre visualmente */
.spots-drawer[data-state="peek"] .spots-sidebar {
  overflow-y: hidden;
  pointer-events: none;
}
.spots-drawer[data-state="peek"] .spots-sidebar * { visibility: hidden; }

.spots-list {
  list-style: none;
  padding: 4px 0;
}
.spots-status {
  margin: 14px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--ink-light);
  font-size: 0.84rem;
  line-height: 1.62;
}
.spots-status[hidden] { display: none; }
.spot-item {
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
  min-height: 52px;
}
.spot-item:last-child { border-bottom: none; }
.spot-item:hover,
.spot-item.active { background: rgba(227,185,106,0.07); }
.spot-item-button {
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 20px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.spot-item-button:focus-visible {
  outline: 2px solid var(--bg-darker);
  outline-offset: -3px;
}
.spot-item-copy { min-width: 0; }
.spot-item-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(8, 19, 31, 0.12);
}
.spot-item strong {
  display: block;
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 2px;
}
.spot-item span {
  font-size: var(--text-meta);
  color: var(--ink-light);
}
.spot-item-dist {
  margin-left: auto;
  flex-shrink: 0;
  font-size: var(--text-micro);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent);
}
.spot-item-dist[hidden] { display: none; }

.spots-drawer.is-detail {
  background: var(--white);
}
.spots-drawer.is-detail .spots-drawer-count { color: var(--accent); }
.spots-drawer.is-detail .spots-drawer-handle {
  height: 58px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.spots-drawer.is-detail .spots-sidebar {
  overflow-y: auto;
  overscroll-behavior: contain;
}
.spots-sidebar.is-detail .spots-status,
.spots-sidebar.is-detail .spots-list { display: none; }
.spot-detail {
  display: none;
  background: var(--bg);
  min-height: 100%;
}
.spots-sidebar.is-detail .spot-detail { display: block; }
.spot-detail-back {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 12px 16px;
  padding: 8px 4px;
  border: 0;
  border-bottom: 1px solid var(--border);
  background: transparent;
  color: var(--ink-mid);
  font: 600 var(--text-meta)/1.2 var(--font-sans);
  letter-spacing: 0.05em;
  cursor: pointer;
}
.spot-detail-back:hover { color: var(--accent-deep); border-bottom-color: var(--accent-deep); }
.spot-detail-back:focus-visible { outline: 2px solid var(--bg-darker); outline-offset: 3px; }
.spot-detail-panel .spot-popup-body {
  padding: 18px 20px calc(28px + env(safe-area-inset-bottom, 0px));
}
.spot-detail-panel .spot-popup h3 {
  font-size: 1.18rem;
  line-height: 1.2;
}
.spot-detail-panel .spot-popup p {
  font-size: 0.9375rem;
  line-height: 1.68;
}
.spot-detail-panel .spot-popup-route {
  border-radius: 0;
  min-height: 44px;
}
.spot-detail-panel .spot-popup-link + .spot-popup-link { margin-left: 14px; }

/* Elementos exclusivos de escritorio (ocultos en móvil) */
.spots-sidebar-head  { display: none; }
.spots-detail-panel  { display: none; }

.spots-drawer[data-state="mid"] .spots-sidebar-head,
.spots-drawer[data-state="full"] .spots-sidebar-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
}
.spots-sidebar-summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.spots-legend {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.spots-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--ink-light);
  font-size: var(--text-micro);
  font-weight: 600;
  line-height: 1;
}
.spots-legend-item svg {
  width: 14px;
  height: 18px;
  overflow: visible;
}
.spots-legend-pin { fill: var(--sand-pastel); stroke: var(--white); stroke-width: 0.9; }
.spots-legend-item[data-marker-type="surf"] .spots-legend-pin { fill: var(--sky-pastel); }
.spots-legend-item[data-marker-type="beach"] .spots-legend-pin { fill: var(--accent); }
.spots-legend-item[data-marker-type="mountain"] .spots-legend-pin { fill: var(--accent-deep); }
.spots-legend-item[data-marker-type="experiencia"] .spots-legend-pin { fill: var(--coral-pastel); }
.spots-legend-dot { fill: var(--white); }

.spot-marker-icon {
  border: 0;
  background: transparent;
}
.spot-marker-pin {
  display: block;
  width: 28px;
  height: 36px;
  transform-origin: 50% 100%;
  transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1), filter 180ms ease;
  margin: 8px 8px 0;
}
.spot-marker-icon.is-active .spot-marker-pin {
  transform: scale(1.14);
  filter: drop-shadow(0 3px 3px rgba(8,19,31,0.24));
}
.spot-cluster-icon {
  display: grid !important;
  place-items: center;
  border: 2px solid var(--bg-darker);
  border-radius: 50%;
  background: var(--cream);
  color: var(--bg-darker);
  box-shadow: 0 0 0 2px rgba(245,241,235,0.9);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}
.spot-cluster-icon:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}
.spot-cluster-count { line-height: 1; }
@media (hover: hover) and (pointer: fine) {
  .spot-marker-icon:hover .spot-marker-pin { transform: scale(1.06); }
  .spot-marker-icon.is-active:hover .spot-marker-pin { transform: scale(1.14); }
}


/* Spot popup media gallery */
.spot-media-gallery {
  position: relative;
  height: 220px;
  background: var(--sand-pastel);
  overflow: hidden;
  cursor: pointer;
  isolation: isolate;
}
.spot-media-gallery::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8,19,31,0.08) 0%, rgba(8,19,31,0.28) 42%, rgba(8,19,31,0.86) 100%),
    linear-gradient(90deg, rgba(8,19,31,0.68) 0%, rgba(8,19,31,0.08) 62%);
}
.spot-media-track {
  height: 100%;
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.spot-media-track::-webkit-scrollbar { display: none; }
.spot-media-slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
  margin: 0;
  scroll-snap-align: start;
  background: var(--sand-pastel);
}
.spot-media-asset {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
video.spot-media-asset { background: var(--sand-pastel); }
.spot-video-play {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 3;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255,255,255,0.58);
  border-radius: 50%;
  background: rgba(8,19,31,0.42);
  color: var(--white);
  box-shadow: 0 8px 28px rgba(8,19,31,0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.spot-video-play[hidden] { display: none; }
.spot-video-play svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}
.spot-video-play:hover,
.spot-video-play:focus-visible {
  border-color: var(--accent);
  background: rgba(8,19,31,0.72);
  color: var(--accent);
  transform: translate(-50%, -50%) scale(1.06);
}
.spot-media-empty .spot-media-asset {
  background:
    radial-gradient(ellipse 90% 80% at 28% 108%, rgba(227,185,106,0.22) 0%, transparent 62%),
    linear-gradient(145deg, #F2E4CE 0%, #ECD9BC 100%);
}
.spot-media-overlay {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  color: var(--white);
  pointer-events: none;
}
.spot-media-kicker {
  display: block;
  margin-bottom: 7px;
  font-size: var(--text-micro);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.spot-popup .spot-media-overlay h3,
.spot-detail-panel .spot-media-overlay h3 {
  margin: 0;
  max-width: 9.5em;
  font-family: var(--font-serif);
  font-size: clamp(1.72rem, 9vw, 2.6rem);
  font-weight: 400;
  line-height: 0.98;
  color: var(--white);
  letter-spacing: 0;
}
.spot-media-hint,
.spot-media-caption {
  display: inline-flex;
  margin-top: 10px;
  color: rgba(255,255,255,0.66);
  font-size: var(--text-micro);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.spot-media-caption {
  position: absolute;
  right: 14px;
  bottom: 12px;
  z-index: 2;
  max-width: calc(100% - 28px);
  margin-top: 0;
  color: rgba(255,255,255,0.72);
}

/* Botón fullscreen de la galería */
.spot-media-fs {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 3;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 19, 31, 0.6);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.82);
  cursor: pointer;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background 0.15s, color 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.spot-media-fs:active { transform: scale(0.93); }
.spot-media-fs:hover  { background: rgba(8,19,31,0.85); color: #fff; }

/* PhotoSwipe — tema oscuro */
.pswp {
  --pswp-bg: #08131F;
  --pswp-placeholder-bg: #0B1C2D;
  --pswp-icon-color: rgba(255,255,255,0.82);
  --pswp-icon-color-secondary: rgba(255,255,255,0.35);
  --pswp-icon-stroke-color: transparent;
  --pswp-icon-stroke-width: 0;
}
.pswp__top-bar {
  background: linear-gradient(180deg, rgba(8,19,31,0.72) 0%, transparent 100%);
}
.pswp__counter {
  font-family: var(--font-sans, Inter, sans-serif);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.55);
  opacity: 1;
}
.pswp-video-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.pswp-video-wrap video {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  outline: none;
}
.spot-popup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 12px;
}
.spot-popup-actions .spot-popup-link { margin-top: 0; }

.spot-popup { font-family: var(--font-sans); }
.spot-popup-body { padding: 16px 18px; }
.spot-popup h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 7px;
}
.spot-popup p {
  font-size: 0.9375rem;
  color: var(--ink-mid);
  line-height: 1.6;
  margin-bottom: 11px;
}
.spot-popup-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 11px;
  border-top: 1px solid var(--border);
}
.spot-popup-meta span { font-size: var(--text-meta); color: var(--ink-light); }
.spot-popup-meta strong { color: var(--ink); font-weight: 500; }
.spot-popup-link {
  display: inline-block;
  margin-top: 11px;
  font-size: var(--text-meta);
  font-weight: 500;
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
  transition: opacity 0.2s;
}
.spot-popup-link:hover { opacity: 0.7; }
.spot-popup-route {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 14px;
  padding: 9px 14px;
  border: 1px solid var(--accent);
  border-radius: 0;
  color: var(--accent);
  font-size: var(--text-meta);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.18s, color 0.18s;
  white-space: nowrap;
}
.spot-popup-route:hover { background: var(--accent); color: var(--bg-dark); }
.spot-popup-route svg { flex-shrink: 0; }
.spot-webcam {
  margin: 14px 0 4px;
  border: 1px solid var(--border);
  background: var(--bg-darker);
  color: var(--white);
}
.spot-webcam-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 13px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.spot-webcam-header span {
  position: relative;
  padding-left: 13px;
  font-size: var(--text-micro);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.spot-webcam-header span::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--color-live);
  transform: translateY(-50%);
  box-shadow: 0 0 0 4px rgba(224,112,112,0.14);
}
.spot-webcam-header strong {
  color: rgba(255,255,255,0.7);
  font-size: var(--text-micro);
  font-weight: 600;
}
.spot-webcam-frame {
  aspect-ratio: 16/9;
  background: var(--bg-webcam-deep);
  overflow: hidden;
}
.spot-webcam-frame iframe,
.spot-webcam-frame img {
  display: block;
  width: 100%; height: 100%;
  border: 0;
  object-fit: cover;
}
.spot-webcam-frame a {
  display: block;
  width: 100%; height: 100%;
}
.spot-webcam-credit {
  display: block;
  padding: 9px 13px 11px;
  color: rgba(255,255,255,0.48);
  font-size: var(--text-micro);
  text-decoration: none;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.spot-webcam-credit:hover { color: var(--accent); }

/* ===================================
   ACCESSIBILITY
   =================================== */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 4px;
  box-shadow: 0 0 0 6px var(--white);
}
.form-group input:focus-visible,
.form-group select:focus-visible,
.form-group textarea:focus-visible {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(227, 185, 106, 0.28);
}

/* ===================================
   WHATSAPP BUILDER
   =================================== */
.wa-builder { max-width: 560px; }

/* Progress dots */
.wa-progress {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
}
.wa-dot {
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: var(--border);
  transition: background 0.25s, transform 0.2s;
}
.wa-dot.done   { background: var(--accent-deep); opacity: 0.72; }
.wa-dot.active { background: var(--accent); }
.wa-dot-num, .wa-dot-label { display: none; }

/* Step label */
.wa-step-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 14px;
}

/* Step heading */
.wa-step > h3 {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-style: italic;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 26px;
  line-height: 1.2;
}

.wa-step {
  transition: opacity 180ms cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 180ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.wa-step-exit-fwd   { opacity: 0; transform: translateX(-16px); }
.wa-step-exit-back  { opacity: 0; transform: translateX(16px); }
.wa-step-enter-fwd  { opacity: 0; transform: translateX(16px); }
.wa-step-enter-back { opacity: 0; transform: translateX(-16px); }

/* Chips */
.wa-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.wa-chip {
  padding: 9px 16px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 40px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.12s;
  -webkit-tap-highlight-color: transparent;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.wa-chip:hover          { border-color: var(--ink-mid); }
.wa-chip:active         { transform: scale(0.97); }
.wa-chip:focus-visible  { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.wa-chip.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
  font-weight: 600;
}

/* Next button */
.wa-next {
  display: inline-flex;
  align-items: center;
  padding: 12px 26px;
  background: var(--accent);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.12s;
  min-height: 48px;
}
.wa-next:disabled                 { opacity: 0.35; cursor: not-allowed; }
.wa-next:not(:disabled):hover     { background: var(--accent-soft); }
.wa-next:not(:disabled):active    { transform: scale(0.97); }
.wa-next:focus-visible            { outline: 2px solid var(--focus-ring); outline-offset: 3px; }

.wa-btn-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.wa-back {
  display: inline-flex;
  align-items: center;
  padding: 12px 20px;
  background: transparent;
  color: var(--soft);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, transform 0.12s;
  min-height: 48px;
}
.wa-back:hover       { color: var(--ink); border-color: var(--ink); }
.wa-back:active      { transform: scale(0.97); }
.wa-back:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 3px; }

/* Optional textarea */
.wa-extra-group { margin-bottom: 24px; }
.wa-extra-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 10px;
}
.wa-extra-group textarea {
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: 1.5px solid var(--border);
  background: transparent;
  border-radius: 0;
  padding: 10px 0;
  font-size: 0.92rem;
  color: var(--ink);
  width: 100%;
  resize: none;
  outline: none;
  transition: border-color 0.18s;
  font-family: var(--font-sans);
}
.wa-extra-group textarea:focus { border-color: var(--ink-mid); }
.wa-char-count {
  display: block;
  margin-top: 7px;
  color: var(--ink-light);
  font-size: 0.72rem;
  text-align: right;
}
.wa-optional {
  font-weight: 400;
  color: var(--ink-light);
  font-size: 0.85em;
  text-transform: none;
  letter-spacing: 0;
}

/* Steppers — carousel style (persons + date) */
.wa-stepper {
  display: flex;
  align-items: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 36px;
  user-select: none;
  min-height: 150px;
}
.wa-stepper-dec,
.wa-stepper-inc {
  flex-shrink: 0;
  width: 72px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  font-size: 1.9rem;
  color: var(--ink-light);
  cursor: pointer;
  transition: color 0.15s, transform 0.12s;
  -webkit-tap-highlight-color: transparent;
}
.wa-stepper-dec:disabled,
.wa-stepper-inc:disabled             { opacity: 0.12; cursor: not-allowed; }
.wa-stepper-dec:not(:disabled):hover,
.wa-stepper-inc:not(:disabled):hover { color: var(--ink); transform: scale(1.15); }
.wa-stepper-dec:focus-visible,
.wa-stepper-inc:focus-visible        { outline: 2px solid var(--focus-ring); outline-offset: -3px; }

.wa-stepper-display {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 8px;
  gap: 10px;
}
.wa-stepper-val {
  display: block;
  font-size: clamp(3.2rem, 13vw, 5rem);
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--ink);
  line-height: 1;
}
.wa-stepper-unit {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--ink-light);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.5;
}

/* Step 4 option chips — refined selector-list style */
.wa-chips-options {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 28px;
  border: 1px solid var(--border);
}
.wa-chip-option {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 20px 24px;
  border: none;
  border-bottom: 1px solid var(--border);
  background: transparent;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background 0.18s;
  -webkit-tap-highlight-color: transparent;
  min-height: 64px;
  letter-spacing: 0.01em;
  line-height: 1.45;
}
.wa-chip-option:last-child { border-bottom: none; }
.wa-chip-option::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  transition: background 0.18s, border-color 0.18s;
  background: transparent;
}
.wa-chip-option:hover { background: rgba(227,185,106,0.06); }
.wa-chip-option:hover::before { border-color: var(--ink-light); }
.wa-chip-option:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: -2px; }
.wa-chip-option.active {
  background: rgba(227,185,106,0.10);
  font-weight: 600;
}
.wa-chip-option.active::before {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: inset 0 0 0 3px rgba(255,255,255,0.55);
}

/* WA send button (step 4) */
.wa-send-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 17px 24px;
  background: var(--color-wa);
  color: var(--bg-darker);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.12s;
  min-height: 56px;
  -webkit-tap-highlight-color: transparent;
  margin-top: 8px;
}
.wa-send-btn:hover         { background: var(--color-wa-hover); }
.wa-send-btn[aria-disabled="true"] { cursor: wait; opacity: 0.78; }
.wa-send-btn:active        { transform: scale(0.98); }
.wa-send-btn:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 3px; }
.wa-btn-row .wa-send-btn   { margin-top: 0; min-height: 48px; padding: 12px 24px; }
.wa-noscript { margin-top: 20px; }
.wa-noscript a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  padding: 12px 0;
  color: var(--ink);
  border-bottom: 1px solid var(--accent-deep);
  font-size: 0.86rem;
  font-weight: 650;
}

/* Inline WA builder on experience pages */
.exp-wa-builder { margin-top: 24px; }

/* Selector de idioma compartido */
.lang-switch {
  display: flex;
  gap: 2px;
  align-items: center;
}
.lang-btn {
  position: relative;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  opacity: 0.58;
  transition: opacity 0.18s ease, transform 0.15s ease;
}
.lang-btn svg,
.lang-flag svg {
  display: block;
  width: 21px;
  height: 14px;
  border-radius: 1px;
}
.lang-btn--active {
  opacity: 1;
  cursor: default;
}
.lang-btn:focus-visible,
.lang-menu summary:focus-visible,
.lang-menu-list a:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 1px;
}
.lang-btn:not(.lang-btn--active):active { transform: scale(0.96); }
.nav-language-full { display: none; }
.lang-menu {
  position: relative;
  z-index: 3;
  color: var(--white);
  pointer-events: auto;
}
.lang-menu summary {
  min-width: 66px;
  height: 44px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgba(227,185,106,0.34);
  border-radius: 22px;
  background: rgba(8,19,31,0.86);
  color: var(--white);
  cursor: pointer;
  list-style: none;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu-chevron {
  width: 10px;
  height: 7px;
  transition: transform 0.18s ease;
}
.lang-menu[open] .lang-menu-chevron { transform: rotate(180deg); }
.lang-menu-list {
  position: absolute;
  top: calc(100% + 7px);
  right: 0;
  width: 152px;
  padding: 5px;
  background: var(--bg-dark);
  border: 1px solid rgba(227,185,106,0.28);
  border-radius: var(--radius-sm);
}
.lang-menu-list a,
.lang-menu-list > span {
  min-height: 44px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.72);
  font-size: 0.76rem;
}
.lang-menu-list > span {
  color: var(--white);
  border-left: 1px solid var(--accent);
}
.lang-menu-list a:hover { color: var(--white); }

.exp-final-cta .label,
.exp-gallery-section .label,
.values-section .label { color: var(--accent-deep); }

.exp-swiper:not(.swiper-initialized) {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.exp-swiper:not(.swiper-initialized) .swiper-slide { scroll-snap-align: center; }
.exp-swiper:not(.swiper-initialized) .swiper-pagination { display: none; }

.spot-swiper:not(.swiper-initialized) {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.spot-swiper:not(.swiper-initialized) .swiper-slide { scroll-snap-align: center; }

.keyboard-open .bottom-nav,
.keyboard-open .exp-sticky-cta { display: none !important; }

#experiencias,
#mapa,
#exp-final-cta { scroll-margin-top: 7rem; }

@media (max-width: 380px) {
  h1, h2, h3 { overflow-wrap: anywhere; }
  .page-lead { padding-inline: 4px; }
  .bnav-item {
    padding-inline: 0;
    letter-spacing: 0;
    line-height: 1.25;
  }
  .wa-btn-row { flex-wrap: wrap; }
}

/* La portada se recompone en móviles de poca altura. Reducir espacios y
   decoración conserva la promesa y los dos caminos principales en el primer
   pliegue, en vez de limitarse a escalar toda la composición. */
@media (max-width: 767px) and (max-height: 650px) {
  .hero {
    min-height: 100svh;
    padding: 56px 20px calc(var(--bnav-h) + env(safe-area-inset-bottom, 0px) + 12px);
  }
  .hero-logo {
    height: 56px;
    margin-bottom: 10px;
  }
  .hero-eyebrow { margin-bottom: 8px; }
  .hero-content h1 {
    margin-bottom: 10px;
    font-size: clamp(1.9rem, 8vw, 2.35rem);
  }
  .hero-sub {
    max-width: 38ch;
    margin-bottom: 14px;
    font-size: var(--text-small);
    line-height: 1.55;
  }
  .hero-actions { gap: 4px; }
  .hero-cta-primary { min-height: 46px; padding-block: 11px; }
  .hero-scroll { display: none; }
}

@media (min-width: 568px) and (max-width: 767px) and (max-height: 500px) and (orientation: landscape) {
  .hero {
    align-items: stretch;
    padding: 56px 32px calc(var(--bnav-h) + env(safe-area-inset-bottom, 0px) + 10px);
    text-align: left;
  }
  .hero-content {
    width: 100%;
    max-width: 900px;
    display: grid;
    grid-template-columns: minmax(220px, 0.9fr) minmax(260px, 1.1fr);
    grid-template-areas:
      'logo copy'
      'eyebrow copy'
      'title actions';
    align-items: end;
    gap: 6px 28px;
  }
  .hero-logo { grid-area: logo; justify-self: start; }
  .hero-eyebrow { grid-area: eyebrow; }
  .hero-content h1 { grid-area: title; margin-bottom: 0; }
  .hero-sub { grid-area: copy; align-self: end; margin: 0; }
  .hero-actions {
    grid-area: actions;
    max-width: none;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
  }
  .hero-cta-primary { width: auto; white-space: nowrap; }
}

/* En pantallas bajas el estado intermedio prioriza resultados. La leyenda sigue
   disponible al expandir el cajón por completo. */
@media (max-width: 767px) and (max-height: 620px) {
  :root {
    --spots-drawer-peek: 64px;
    --spots-drawer-mid: clamp(252px, 50svh, 310px);
    --spots-drawer-detail: clamp(280px, 56svh, 348px);
  }
  .spots-drawer-handle { height: var(--spots-drawer-peek); }
  .spots-drawer[data-state="mid"] .spots-sidebar-head {
    gap: 0;
    padding-block: 8px;
  }
  .spots-drawer[data-state="mid"] .spots-legend { display: none; }
}

@media (max-width: 767px) and (max-height: 500px) and (orientation: landscape) {
  :root {
    --spots-drawer-peek: 64px;
    --spots-drawer-mid: max(64px, calc(100svh - 56px - var(--bnav-h) - 180px));
    --spots-drawer-detail: max(96px, calc(100svh - 56px - var(--bnav-h) - 160px));
  }
  .spots-drawer-handle { height: var(--spots-drawer-peek); }
  .hero { min-height: 100svh; }
}

@media (forced-colors: active) {
  :where(a, button, input, select, textarea, [tabindex]):focus-visible {
    outline: 3px solid Highlight;
    box-shadow: none;
  }
  .bnav-item.active,
  .nav-links a.active,
  .lang-btn--active,
  .wa-chip-option.active,
  .wa-dot.active,
  .spot-item.active {
    color: Highlight;
    border-color: Highlight;
    text-decoration: underline;
    text-decoration-thickness: 2px;
  }
  .wa-chip-option.active::before {
    background: Highlight;
    border: 2px solid ButtonText;
    box-shadow: none;
  }
  .wa-send-btn,
  .wa-next,
  .exp-cta,
  .exp-sticky-btn { border: 2px solid ButtonText; }
  .exp-swiper .swiper-pagination-bullet-active::after {
    background: Highlight;
    outline: 2px solid ButtonText;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
