/* =========================================================
   Aqua Paraíso · estilos
   Todos los colores viven en variables: para cambiar la paleta
   solo edita el bloque :root (o elige una en el selector temporal).
   ========================================================= */

:root {
  /* Paleta A · "Logo clásico" */
  --c-primary: #009BC8;      /* Azul Aqua */
  --c-deep: #0A5C8C;         /* Azul Profundo */
  --c-yellow: #FFC80F;       /* Amarillo Paraíso */
  --c-cta: #F58A07;          /* Naranja Sol (botones) */
  --c-cta-ink: #0B2A40;      /* texto sobre el botón */
  --c-pool: #3FD0D4;         /* Turquesa Alberca */
  --c-green: #4E8A3A;        /* Verde Ahuehuete */
  --c-wood: #7A4B28;         /* Madera Letrero */
  --c-sand: #FFF6E0;         /* Arena */
  --c-ink: #0B2A40;          /* Tinta Noche (texto) */

  /* Acentos del estilo "póster de verano" (iguales en todas las paletas) */
  --c-sky: #1BA6E8;          /* azul cielo brillante */
  --c-pink: #EC1E8C;         /* rosa mexicano */
  --c-brush: #13235A;        /* azul marino de las brochas */

  --c-white: #ffffff;
  --c-whatsapp: #25D366;
  --c-whatsapp-ink: #073B1E;

  --font-display: "Baloo 2", "Trebuchet MS", system-ui, sans-serif;
  --font-poster: "Lilita One", "Baloo 2", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px -12px rgba(11, 42, 64, .35);
  --header-h: 72px;
}

/* Paleta D · "Clásico" (colores del sitio anterior y de las olas de la víbora) */
[data-palette="d"] {
  --c-primary: #088CD3;      /* azul exacto de las olas */
  --c-deep: #0D3E73;         /* azul marino (de Atardecer) */
  --c-yellow: #FFC10E;       /* amarillo exacto de la arena/víbora */
  --c-cta: #F7931E;          /* naranja del menú anterior */
  --c-cta-ink: #13233A;
  --c-pool: #8FC3DA;         /* azul claro de las olas */
  --c-green: #5A8F2E;
  --c-wood: #8A4F24;
  --c-sand: #FFF3D6;
  --c-ink: #13233A;
}

/* Paleta B · "Tropical turquesa" */
[data-palette="b"] {
  --c-primary: #00A9B5;
  --c-deep: #06606B;
  --c-yellow: #FFC80F;
  --c-cta: #FF6B4A;
  --c-cta-ink: #3A0E04;
  --c-pool: #8BE6E1;
  --c-green: #3E8E41;
  --c-wood: #7A4B28;
  --c-sand: #FFF8EC;
  --c-ink: #0E2F36;
}

/* Paleta C · "Atardecer en Atlixco" */
[data-palette="c"] {
  --c-primary: #1570C1;
  --c-deep: #0D3E73;
  --c-yellow: #FFC80F;
  --c-cta: #E8531C;
  --c-cta-ink: #FFFFFF;
  --c-pool: #4FC3DC;
  --c-green: #5A8F2E;
  --c-wood: #8A4F24;
  --c-sand: #FFEFD6;
  --c-ink: #13233A;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--c-ink);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-deep); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; margin: 0 0 .5em; }
p { margin: 0 0 1em; }

.container { width: min(1160px, 100% - 32px); margin-inline: auto; }

.section { padding: clamp(56px, 8vw, 96px) 0; position: relative; }
.section-sand { background: var(--c-sand); }
.section-sea { background: var(--c-sky); color: var(--c-brush); }
.section-sea-dark { background: var(--c-deep); color: var(--c-white); }
.section-forest { background: var(--c-green); color: var(--c-white); }

/* Etiqueta rosa tipo sticker sobre cada título */
.eyebrow {
  display: inline-block;
  font-family: var(--font-poster);
  font-size: 1rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--c-white);
  background: var(--c-pink);
  padding: .3em .9em .25em;
  border-radius: 8px;
  transform: rotate(-3deg);
  box-shadow: 0 3px 0 color-mix(in srgb, var(--c-pink) 60%, #000);
  margin-bottom: .6em;
}

/* Letras tipo póster: el elemento pinta contorno + sombra 3D en marino,
   y una copia encima (::after, con data-text) pinta el degradado amarillo-naranja */
.title, .hero-content > h1 {
  position: relative;
  font-family: var(--font-poster);
  font-weight: 400;
  letter-spacing: .02em;
  color: var(--c-brush);
  -webkit-text-stroke: .16em var(--c-brush);
  text-shadow: 0 .1em 0 var(--c-brush);
}
.title::after, .hero-content > h1::after {
  content: attr(data-text);
  position: absolute; inset: 0;
  -webkit-text-stroke: 0;
  text-shadow: none;
  background: linear-gradient(#FFE14D, var(--c-yellow) 50%, #FF8A00);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  pointer-events: none;
}
.title { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.25rem); line-height: 1.08; text-wrap: balance; }

/* Franja de brocha: la forma viene de una máscara SVG, el color de la variable */
.brush {
  display: inline-block;
  background: var(--c-brush);
  color: var(--c-white);
  font-family: var(--font-poster);
  padding: .45em 1.2em .5em;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 80' preserveAspectRatio='none'%3E%3Cpath d='M10 12C70 3 150 9 230 5s130-4 162 7l-7 17 11 14-12 13 10 15c-95 8-190 2-270 6S34 79 6 70l9-14L2 42l11-14z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 80' preserveAspectRatio='none'%3E%3Cpath d='M10 12C70 3 150 9 230 5s130-4 162 7l-7 17 11 14-12 13 10 15c-95 8-190 2-270 6S34 79 6 70l9-14L2 42l11-14z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.brush strong { color: var(--c-yellow); font-weight: 400; }
.sticker {
  display: inline-block;
  background: var(--c-pink); color: var(--c-white);
  font-family: var(--font-poster);
  padding: .35em .9em .3em;
  border-radius: 10px;
  transform: rotate(-4deg);
  box-shadow: 0 3px 0 color-mix(in srgb, var(--c-pink) 60%, #000);
}
.section-lead { max-width: 720px; font-size: 18px; opacity: .95; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  line-height: 1;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.btn i { font-size: 22px; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:focus-visible { outline: 3px solid var(--c-yellow); outline-offset: 3px; }
.btn-sm { padding: 9px 16px; font-size: 16px; }
.btn-sm i { font-size: 19px; }
.btn-sun { background: var(--c-cta); color: var(--c-cta-ink); }
.btn-light { background: var(--c-sand); color: var(--c-deep); }
.btn-whatsapp { background: var(--c-whatsapp); color: var(--c-whatsapp-ink); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--c-yellow);
  border-bottom: 6px solid var(--c-primary);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
/* El logo es más alto que el header y se sale hacia la foto, como en el sitio anterior */
.brand { align-self: flex-start; position: relative; z-index: 2; margin-top: 6px; }
.brand img {
  height: 118px; width: auto;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .25));
  transition: height .25s ease;
}
.site-header.is-scrolled .brand img { height: 64px; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a:not(.btn) {
  font-family: var(--font-display);
  font-weight: 600; font-size: 17px;
  color: var(--c-deep); text-decoration: none;
  padding: 6px 12px; border-radius: 999px;
}
.nav a:not(.btn):hover { background: var(--c-white); }
.nav-cta { margin-left: 8px; background: var(--c-primary); color: var(--c-white); }
.nav-toggle {
  display: none;
  background: none; border: 0; padding: 8px; cursor: pointer;
  font-size: 30px; color: var(--c-deep);
}

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--c-white);
    padding: 8px 16px 20px;
    box-shadow: var(--shadow);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 12px; font-size: 19px; border-radius: 10px; }
  .nav a:not(.btn):hover { background: var(--c-sand); }
  .site-header { --header-h: 64px; }
  .brand img { height: 84px; }
  .site-header.is-scrolled .brand img { height: 56px; }
  .nav-cta { margin: 12px 0 0; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: flex; align-items: center;
  color: var(--c-white);
  overflow: hidden;
  padding: 72px 0 clamp(90px, 14vw, 180px);
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, color-mix(in srgb, var(--c-deep) 88%, transparent) 0%, color-mix(in srgb, var(--c-deep) 55%, transparent) 55%, transparent 100%);
}
.hero-content { position: relative; z-index: 1; max-width: 1160px; }
.hero-content > * { max-width: 620px; }
/* Máximo 3.75rem (60px); balance reparte el texto en 2 renglones parejos */
.hero-content > h1 {
  max-width: 12em;
  font-size: clamp(2.25rem, 1.2rem + 3.6vw, 3.75rem);
  line-height: 1.05;
  text-wrap: balance;
  margin: .3em 0 .35em;
}
.hero-open { display: flex; flex-wrap: wrap; align-items: center; margin: 0 0 1.2em; }
.hero-open .brush { font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); transform: rotate(-1.5deg); }
.hero-open .sticker { font-size: clamp(.95rem, .85rem + .4vw, 1.15rem); margin-left: -.6em; margin-top: 1.6em; position: relative; }

/* ---------- Burbujas ---------- */
.bubbles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.bubbles span {
  position: absolute; bottom: -40px; left: var(--x);
  width: var(--s); height: var(--s); border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fff 0 12%, rgba(160, 220, 255, .55) 14% 55%, rgba(27, 143, 224, .55) 100%);
  border: 1px solid rgba(255, 255, 255, .6);
  animation: burbuja var(--t) linear var(--d) infinite;
}
@keyframes burbuja {
  0% { transform: translate(0, 0); opacity: 0; }
  10% { opacity: 1; }
  50% { transform: translate(18px, -420px); }
  90% { opacity: 1; }
  100% { transform: translate(-6px, -860px); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .bubbles { display: none; } }
.hero-lead { font-size: clamp(17px, 2vw, 20px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
/* ---------- Olas animadas ---------- */
.hero-waves {
  --waves-h: clamp(70px, 9vw, 130px);
  position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1;
  height: var(--waves-h);
  pointer-events: none;
}
.waves { position: absolute; inset: 0; width: 100%; height: 100%; }
.waves-layers > use { animation: ola 6s linear infinite; }
.waves-layers > .ola-1 { fill: var(--c-pool); animation-duration: 5s; }
.waves-layers > .ola-2 { fill: color-mix(in srgb, var(--c-pool) 55%, var(--c-deep)); animation-duration: 7s; animation-direction: reverse; }
.waves-layers > .ola-3 { fill: var(--c-primary); animation-duration: 4s; }
.waves-layers > .ola-4 { fill: var(--c-sand); animation-duration: 9s; animation-direction: reverse; }
/* Se desplaza exactamente una longitud de onda (50 unidades) para que el loop no brinque */
@keyframes ola {
  from { transform: translateX(0); }
  to { transform: translateX(-50px); }
}

/* La víbora de visor se asoma entre las olas y flota suavemente */
.hero-snake {
  position: absolute; right: 9%;
  bottom: calc(var(--waves-h) * .5);
  width: clamp(120px, 15vw, 230px);
  transform-origin: 40% 100%;
  animation: asoma 10s ease-in-out infinite;
}
/* Flota un rato, se sumerge detrás de las olas y vuelve a salir de un brinco */
@keyframes asoma {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  10% { transform: translateY(8%) rotate(-2deg); }
  20% { transform: translateY(0) rotate(1deg); }
  30% { transform: translateY(8%) rotate(-2deg); }
  40% { transform: translateY(0) rotate(0deg); animation-timing-function: ease-in; }
  48%, 62% { transform: translateY(120%) rotate(-6deg); animation-timing-function: cubic-bezier(.2, 1.6, .5, 1); }
  72% { transform: translateY(-6%) rotate(4deg); }
  80% { transform: translateY(4%) rotate(-1deg); }
  90% { transform: translateY(0) rotate(0deg); }
}
/* La víbora va detrás de las olas de enfrente */
.hero-snake { z-index: 0; }
.waves { z-index: 1; }

@media (prefers-reduced-motion: reduce) {
  .waves-layers > use, .hero-snake { animation: none; }
}

/* ---------- Víbora que repta (franjas generadas en main.js) ---------- */
.wiggle { animation: avanza 8s ease-in-out infinite alternate; }
.wiggle-strip {
  position: absolute; top: 0; height: 100%;
  overflow: hidden;
  animation: repta 1.4s ease-in-out infinite;
  animation-delay: calc(var(--i) * -.05s);
}
.wiggle-strip img { position: absolute; top: 0; height: 100%; max-width: none; }
@keyframes repta {
  0%, 100% { transform: translateY(calc(var(--amp) * -8%)); }
  50% { transform: translateY(calc(var(--amp) * 8%)); }
}
/* Avanza y retrocede un poco sobre el borde (usa "translate" para no pisar el transform del acomodo) */
@keyframes avanza {
  from { translate: 0 0; }
  to { translate: -40px 0; }
}

/* ---------- Intro ---------- */
.intro-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.intro-mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.intro-mosaic img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.intro-mosaic .mosaic-main { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.quick-facts { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.quick-facts li {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--c-white); padding: 8px 14px; border-radius: 999px;
  font-weight: 700; font-size: 15px;
  box-shadow: 0 1px 0 rgba(11, 42, 64, .08);
}
.quick-facts i { color: var(--c-primary); font-size: 20px; }
@media (max-width: 820px) { .intro-grid { grid-template-columns: 1fr; } }

/* ---------- Atracciones ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; margin-top: 28px; }
.card {
  background: var(--c-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s ease;
}
.card:hover { transform: translateY(-4px); }
.card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card-body { padding: 0 20px 20px; }
.card-body p { margin: 12px 0 0; }
.sign {
  display: inline-block;
  margin-top: -22px; position: relative;
  background: var(--c-wood); color: var(--c-white);
  font-family: var(--font-poster); font-weight: 400; font-size: 20px;
  text-transform: uppercase; letter-spacing: .03em;
  padding: 6px 16px; border-radius: 6px;
  transform: rotate(-2deg);
  box-shadow: 0 3px 0 rgba(0, 0, 0, .25);
}

/* ---------- Villas / carrusel ---------- */
.carousel { margin-top: 28px; }
.carousel-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 100%;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: var(--radius);
}
.carousel-track::-webkit-scrollbar { display: none; }
.room {
  scroll-snap-align: start;
  display: grid; grid-template-columns: 1.1fr 1fr;
  background: var(--c-white); color: var(--c-ink);
  border-radius: var(--radius);
  overflow: hidden;
}
.room-gallery { background: var(--c-deep); display: flex; flex-direction: column; }
.room-main { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; flex: 1; min-height: 0; }
.room-thumbs { display: flex; gap: 8px; padding: 10px; }
.room-thumbs button {
  flex: 1; padding: 0; border: 3px solid transparent; border-radius: 8px;
  overflow: hidden; cursor: pointer; background: none; opacity: .65;
  transition: opacity .15s ease, border-color .15s ease;
}
.room-thumbs button.is-active, .room-thumbs button:hover { opacity: 1; border-color: var(--c-yellow); }
.room-thumbs img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.room-info { padding: clamp(22px, 3.5vw, 40px); display: flex; flex-direction: column; }
.room-info h3 { font-size: clamp(26px, 3vw, 34px); color: var(--c-deep); margin-bottom: .15em; }
.room-tag {
  align-self: flex-start;
  background: var(--c-pink); color: var(--c-white);
  font-family: var(--font-poster); font-size: 14px; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 8px; margin-bottom: 10px;
  transform: rotate(-3deg);
}
.room-price { font-size: 17px; color: var(--c-ink); margin-bottom: 14px; }
.room-price strong { font-family: var(--font-display); font-size: 32px; color: var(--c-primary); }
.room-meta { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 8px 18px; font-weight: 700; }
.room-meta li, .amenities li { display: inline-flex; align-items: center; gap: 6px; }
.room-meta i { color: var(--c-primary); font-size: 21px; }
.amenities { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.amenities li { background: var(--c-sand); border-radius: 999px; padding: 5px 12px; font-size: 14px; font-weight: 700; }
.amenities i { color: var(--c-deep); font-size: 17px; }
.room-info .btn { margin-top: auto; align-self: flex-start; }

.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 20px; }
.carousel-btn {
  width: 48px; height: 48px; border-radius: 50%;
  border: 0; cursor: pointer;
  background: var(--c-yellow); color: var(--c-ink);
  font-size: 26px; display: grid; place-items: center;
  transition: transform .15s ease;
}
.carousel-btn:hover { transform: scale(1.08); }
.carousel-btn:focus-visible, .carousel-dots button:focus-visible { outline: 3px solid var(--c-white); outline-offset: 3px; }
.carousel-dots { display: flex; gap: 10px; }
.carousel-dots button {
  width: 12px; height: 12px; border-radius: 999px; padding: 0;
  border: 2px solid var(--c-white); background: transparent; cursor: pointer;
  transition: width .2s ease, background .2s ease;
}
.carousel-dots button[aria-current="true"] { width: 32px; background: var(--c-white); }
.room-note { margin: 22px 0 0; text-align: center; font-weight: 700; }
.room-note i { color: var(--c-yellow); vertical-align: -3px; font-size: 20px; }

@media (max-width: 820px) {
  .room { grid-template-columns: 1fr; }
  .room-info .btn { align-self: stretch; justify-content: center; }
}

/* ---------- Campamento ---------- */
.camp-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.camp-art { position: relative; padding-bottom: 60px; }
.camp-photo { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.camp-mascot { position: absolute; width: 70%; right: -4%; bottom: -8px; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .25)); }
@media (max-width: 820px) { .camp-grid { grid-template-columns: 1fr; } .camp-mascot { right: 0; } }

/* ---------- Tarifas ---------- */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; margin-top: 28px; align-items: start; }
.price-card { background: var(--c-white); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); border-top: 8px solid var(--c-primary); }
.price-card:nth-child(2) { border-top-color: var(--c-green); }
.price-card:nth-child(3) { border-top-color: var(--c-cta); }
.price-card h3 { display: flex; align-items: center; gap: 8px; font-size: 24px; color: var(--c-deep); }
.price-card h3 small { font-family: var(--font-body); font-size: 14px; font-weight: 600; color: var(--c-ink); opacity: .7; margin-left: auto; }
.price-card h3 i { color: var(--c-primary); font-size: 28px; }
.price-card table { width: 100%; border-collapse: collapse; }
.price-card th, .price-card td { padding: 9px 0; border-bottom: 1px dashed rgba(11, 42, 64, .15); font-size: 16px; }
.price-card tr:last-child th, .price-card tr:last-child td { border-bottom: 0; }
.price-card th { text-align: left; font-weight: 600; padding-right: 12px; }
.price-card td { text-align: right; font-family: var(--font-display); font-weight: 800; font-size: 19px; color: var(--c-deep); white-space: nowrap; }
.price-card td.free { color: var(--c-green); font-size: 16px; }
.price-note { margin: 12px 0 0; font-size: 14px; opacity: .8; }
.price-foot { margin: 22px 0 0; text-align: center; font-weight: 600; }

/* ---------- Servicios ---------- */
.services { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.services li {
  display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
  padding: 20px 12px; border-radius: var(--radius);
  background: var(--c-sand);
  font-weight: 700;
}
.services i {
  font-size: 30px; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--c-primary); color: var(--c-white);
}

/* ---------- Reglamento ---------- */
/* La víbora larga "se arrastra" sobre el borde superior de la sección */
.vibora-larga {
  position: absolute; right: 4%; top: 0; transform: translateY(-62%);
  width: min(620px, 70%);
  pointer-events: none;
}
.rules { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(145px, 1fr)); gap: 14px; }
.rules li {
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
  padding: 20px 12px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  font-weight: 700; font-size: 15px; line-height: 1.3;
}
.rules i {
  font-size: 32px; width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--c-white);
}
.rules .no i { color: #D93025; box-shadow: inset 0 0 0 4px #D93025; }
.rules .yes i { color: var(--c-primary); box-shadow: inset 0 0 0 4px var(--c-pool); }
.rules-note { margin: 26px auto 0; max-width: 760px; text-align: center; font-size: 15px; opacity: .9; }

/* ---------- FAQ ---------- */
.faq-wrap { position: relative; max-width: 880px; }
.faq { margin-top: 24px; display: grid; gap: 12px; }
.faq details { background: var(--c-white); border-radius: var(--radius-sm); box-shadow: 0 1px 0 rgba(11, 42, 64, .08); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 22px;
  font-family: var(--font-display); font-weight: 600; font-size: 19px; color: var(--c-deep);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none;
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--c-yellow); color: var(--c-ink);
  font-size: 22px; line-height: 1;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline: 3px solid var(--c-primary); outline-offset: 2px; border-radius: var(--radius-sm); }
.faq-body { padding: 0 22px 18px; }
.faq-body ul { margin: 0 0 1em; padding-left: 20px; }
.faq-body li { margin-bottom: 4px; }

/* ---------- Cómo llegar ---------- */
.address { display: flex; gap: 8px; align-items: flex-start; font-weight: 700; font-size: 18px; }
.address i { color: var(--c-primary); font-size: 24px; margin-top: 2px; }
.map-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; margin-top: 20px; align-items: start; }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3.4; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.routes h3 { display: flex; align-items: center; gap: 8px; font-size: 24px; color: var(--c-deep); margin-top: 6px; }
.routes h3 i { color: var(--c-primary); }
.routes h3:not(:first-child) { margin-top: 26px; }
.route-list { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 10px; }
.route-list a {
  display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 12px;
  padding: 12px 16px; border-radius: var(--radius-sm);
  background: var(--c-sand); color: var(--c-ink); text-decoration: none;
  transition: background .15s ease;
}
.route-list a:hover { background: color-mix(in srgb, var(--c-pool) 30%, var(--c-sand)); }
.route-list span { font-weight: 800; }
.route-list small { grid-column: 1; font-size: 14px; opacity: .8; }
.route-list i { grid-column: 2; grid-row: 1 / span 2; font-size: 26px; color: var(--c-primary); }
.route-detail { border-bottom: 1px solid rgba(11, 42, 64, .12); padding: 10px 0; }
.route-detail summary { cursor: pointer; font-weight: 700; color: var(--c-deep); }
.route-detail p, .route-detail ul { margin: 10px 0 4px; font-size: 16px; }
.route-detail ul { padding-left: 20px; }
@media (max-width: 860px) { .map-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { position: relative; color: var(--c-white); margin-top: 120px; }
.footer-wave { position: relative; z-index: 1; width: 100%; height: clamp(60px, 8vw, 120px); display: block; margin-bottom: -2px; }
.footer-wave .w1 { fill: var(--c-pool); }
.footer-wave .w2 { fill: color-mix(in srgb, var(--c-pool) 50%, var(--c-primary)); }
.footer-wave .w3 { fill: var(--c-primary); }
/* La víbora de sombrero se asoma detrás de las olas */
.footer-mascot {
  position: absolute; z-index: 0;
  right: 10%; top: -150px;
  width: clamp(100px, 11vw, 140px);
  transform-origin: 50% 100%;
  animation: mece 3.6s ease-in-out infinite alternate;
}
/* Se mece desde la base, como saludando */
@keyframes mece {
  from { transform: rotate(-5deg); }
  to { transform: rotate(5deg) translateY(-4px); }
}
@media (prefers-reduced-motion: reduce) { .footer-mascot { animation: none; } }
@media (max-width: 700px) { .footer-mascot { right: 6%; top: -120px; } }
.footer-body { position: relative; z-index: 1; background: linear-gradient(var(--c-primary), var(--c-deep) 140px); padding: 40px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
.footer-grid h3 { color: var(--c-yellow); font-size: 22px; }
.footer-logo { width: 170px; margin-bottom: 12px; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--c-white); text-decoration: none; }
.site-footer a:hover { color: var(--c-yellow); }
.contact-list a { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.contact-list i { font-size: 22px; color: var(--c-yellow); }
.footer-link { font-weight: 800; display: inline-flex; align-items: center; gap: 6px; }
.copyright { text-align: center; margin: 32px 0 0; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: 14px; opacity: .8; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--c-whatsapp); color: var(--c-white);
  font-size: 36px; text-decoration: none;
  box-shadow: 0 8px 22px -6px rgba(0, 0, 0, .45);
  transition: transform .15s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, .6);
  animation: wa-pulse 2.4s infinite;
}
@keyframes wa-pulse { 70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
@media (prefers-reduced-motion: reduce) { .wa-float::after { animation: none; } }

/* ---------- Selector de paleta (TEMPORAL: borrar al elegir) ---------- */
.palette-picker {
  position: fixed; left: 18px; bottom: 18px; z-index: 60;
  background: var(--c-white); color: var(--c-ink);
  border-radius: 14px; padding: 10px 12px;
  box-shadow: 0 8px 26px -8px rgba(0, 0, 0, .4);
  font-size: 13px; font-weight: 700;
}
.palette-picker p { margin: 0 0 6px; }
.palette-picker div { display: flex; gap: 6px; }
.palette-picker button {
  border: 2px solid transparent; border-radius: 8px; padding: 4px 8px; cursor: pointer;
  background: var(--c-sand); font: inherit; color: inherit;
  display: inline-flex; align-items: center; gap: 4px;
}
.palette-picker button[aria-pressed="true"] { border-color: var(--c-ink); }
.palette-picker span { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
@media (max-width: 600px) {
  .palette-picker { left: 10px; bottom: 10px; padding: 6px 8px; font-size: 12px; }
  .palette-picker p { display: none; }
  .palette-picker button { font-size: 0; gap: 2px; padding: 6px; }
}

/* ---------- Ajustes del estilo póster en celular ---------- */
@media (max-width: 700px) {
  /* Contorno más delgado para que las letras no se encimen en tamaños chicos */
  .title, .hero-content > h1 { -webkit-text-stroke-width: .11em; text-shadow: 0 .08em 0 var(--c-brush); letter-spacing: .03em; }
  .hero-open .sticker { margin: .5em 0 0 .4em; }
}

/* ---------- Sombra de las víboras con volumen ---------- */
/* El brillo ya viene "horneado" en las imágenes *-3d.webp; aquí solo va la sombra */
.hero-snake { filter: drop-shadow(0 10px 8px rgba(0, 30, 60, .4)); }
.footer-mascot { filter: drop-shadow(0 10px 8px rgba(0, 20, 50, .45)); }
