/* ===========================================================
   Xhandos Ajacuba — Balneario de Aguas Termales
   Hoja de estilos responsiva
   Paleta: turquesa termal + terracota/arena
   =========================================================== */

:root {
  /* Paleta de marca: naranja (logo/muros) + agua aqua claro + blanco */
  /* Tonos oscuros (texto/títulos/barras) */
  --teal-900: #2a2118;   /* café espresso oscuro */
  /* Agua / acentos aqua */
  --teal-700: #2c8174;   /* aqua oscuro (enlaces, precios) */
  --teal-500: #43ae9c;   /* aqua medio (acentos) */
  --teal-300: #86d0c4;   /* aqua claro */
  /* Fondos cálidos */
  --sand-100: #fdf9f3;
  --sand-200: #f7eee2;
  /* Naranja de marca */
  --terra-500: #ff8c00;  /* naranja principal (#FF8C00, fondo del logo) */
  --terra-600: #e67e00;  /* naranja oscuro (hover, acentos, bandas) */
  --ink: #2c241c;
  --muted: #6f655a;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(70, 50, 30, .10);
  --shadow-md: 0 10px 30px rgba(70, 50, 30, .16);
  --radius: 8px;
  --radius-sm: 5px;
  --container: 1440px;
  --header-h: 76px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--sand-100);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--teal-700); text-decoration: none; }
a:hover { color: var(--teal-500); }

h1, h2, h3 { line-height: 1.15; margin: 0 0 .4em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); color: var(--teal-900); }
h3 { font-size: 1.25rem; color: var(--teal-900); }

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

.section { padding: clamp(48px, 8vw, 96px) 0; }
.section--sand { background: var(--sand-200); }
.section--teal { background: var(--terra-600); color: var(--white); }
.section--teal h2 { color: var(--white); }

.eyebrow {
  display: inline-block;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: .78rem;
  font-weight: 700;
  color: var(--terra-600);
  margin-bottom: 10px;
}
.section--teal .eyebrow { color: rgba(255,255,255,.92); }

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 720px;
}
.section--teal .lead { color: rgba(255,255,255,.85); }

.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 6px;
  font-weight: 700;
  font-size: .98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--terra-500); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--terra-600); color: #fff; }
.btn--teal { background: #003366; color: #fff; }
.btn--teal:hover { background: #0a4d8c; color: #fff; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--ghost:hover { background: #fff; color: var(--teal-900); }
.btn--wa { background: #003366; color: #fff; }
.btn--wa:hover { background: #0a4d8c; color: #fff; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--terra-500);     /* naranja sólido */
  box-shadow: none;
}
/* onda en el borde inferior del encabezado */
.header-wave {
  position: absolute;
  top: 100%; left: 0; right: 0;
  height: 20px;
  line-height: 0;
  pointer-events: none;
}
.header-wave svg { display: block; width: 100%; height: 100%; }
.header-wave path { fill: var(--terra-500); }
.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr; /* logo | menú centrado | redes */
  align-items: center;
  height: var(--header-h);
}
.header .nav { max-width: none; padding-left: 60px; padding-right: 60px; } /* encabezado a todo lo ancho */
.nav-collapse { display: contents; } /* en escritorio: hijos van directo a la rejilla */
.brand { justify-self: start; }
.nav-links { justify-self: center; }
.nav-extras { justify-self: end; margin-left: 0; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 44px; width: auto; }
.brand small {
  display: block;
  font-size: .68rem;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,.85);
  text-transform: uppercase;
}
.brand strong { font-size: 1.05rem; color: #fff; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: block;
  padding: 9px 14px;
  border-radius: 6px;
  font-weight: 600;
  color: #fff;
  font-size: .96rem;
}
.nav-links a:hover, .nav-links a.active { background: rgba(255,255,255,.22); color: #fff; }
.nav-links .btn { color: #fff; }
.nav-links .btn:hover { color: #fff; }

/* Redes + teléfonos a la derecha del menú */
.nav-extras {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 14px;
  padding-left: 12px;
  border-left: 1px solid rgba(255,255,255,.4);
}
.nav-extras a { color: #fff; }
.nav-extras .ico {
  width: 36px; height: 36px;
  padding: 0;
  display: grid; place-items: center;
  border-radius: 50%;
}
.nav-extras .ico:hover { background: rgba(255,255,255,.22); color: #fff; }
.nav-extras .ico svg { width: 19px; height: 19px; fill: currentColor; }
.nav-extras .tel {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border-radius: 6px;
  font-weight: 600;
  font-size: .9rem;
  white-space: nowrap;
}
.nav-extras .tel:hover { background: rgba(255,255,255,.22); color: #fff; }
.nav-extras .tel svg { width: 17px; height: 17px; fill: currentColor; }

/* en pantallas medianas: teléfonos solo con icono para no saturar */
@media (max-width: 1040px) and (min-width: 761px) {
  .nav-extras .tel .num { display: none; }
  .nav-extras .tel { width: 36px; height: 36px; padding: 0; justify-content: center; border-radius: 50%; }
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  margin: 5px 0;
  transition: .3s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(580px, 90vh, 880px);
  display: flex;
  align-items: flex-start;        /* texto anclado arriba para misma altura en todas las páginas */
  color: #fff;
  text-align: center;
  background-size: cover;
  background-position: center;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(35,25,16,.15), rgba(35,25,16,.40));
}
.hero .container { position: relative; z-index: 3; padding-top: clamp(120px, 25vh, 270px); padding-bottom: 40px; }

/* Hero carousel slides */
.hero-slides { position: absolute; inset: 0; z-index: 0; overflow: hidden; }

/* Borde inferior ondulado REAL del hero: máscara que recorta la imagen y el velo
   (el contenido y el widget NO se recortan, quedan por encima de la onda) */
.hero-slides,
.hero::after {
  -webkit-mask:
    linear-gradient(#000 0 0) top/100% calc(100% - 49px) no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 50' preserveAspectRatio='none'%3E%3Cpath fill='%23000' d='M0 0 H1440 V26 C1200 44 1000 10 720 28 C440 44 240 10 0 26 Z'/%3E%3C/svg%3E") bottom/100% 50px no-repeat;
  mask:
    linear-gradient(#000 0 0) top/100% calc(100% - 49px) no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 50' preserveAspectRatio='none'%3E%3Cpath fill='%23000' d='M0 0 H1440 V26 C1200 44 1000 10 720 28 C440 44 240 10 0 26 Z'/%3E%3C/svg%3E") bottom/100% 50px no-repeat;
}
.hero--wave .carousel-dots { bottom: 72px; } /* subir los puntos por encima de la onda */
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity .8s ease;
}
.hero-slide.is-active { opacity: 1; }
.hero-slide.is-active { animation: kenburns 6s ease-out forwards; }
@keyframes kenburns {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}
.hero .eyebrow { color: #fff; text-transform: none; }
.hero h1 {
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
  margin-bottom: .25em;
}
.hero p {
  font-size: clamp(1rem, 2.5vw, 1.65rem);
  font-weight: 300;
  letter-spacing: .5px;
  max-width: 640px;
  margin: 0 auto 28px;
  text-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.page-hero {
  /* misma altura que el hero de inicio */
  min-height: clamp(580px, 90vh, 880px);
}

/* ---------- Grid helpers ---------- */
.grid { display: grid; gap: 28px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Feature cards ---------- */
.feature {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
  border: 1px solid rgba(12,91,84,.06);
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 14px;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feature h3 { margin: 0; align-self: center; }
.feature p { grid-column: 1 / -1; }
.feature .icon {
  width: 38px; height: 38px;
  align-self: center;
  color: #b6bfc0; /* gris claro minimalista */
}
.feature .icon svg {
  width: 100%; height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature p { color: var(--muted); margin: 14px 0 0; }

/* ---------- Price cards ---------- */
.price-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  transition: transform .2s ease, border-color .2s ease;
}
.price-card:hover { transform: translateY(-6px); border-color: var(--teal-300); }
.price-card .tag { font-weight: 600; color: var(--muted); }
.price-card .amount {
  font-size: 4rem;
  font-weight: 800;
  color: #003366;
  line-height: 1;
  margin: 8px 0 4px;
}
.price-card .unit { color: var(--muted); font-size: .92rem; }
.price-card .price-note { color: var(--muted); font-size: .82rem; line-height: 1.4; margin-top: 12px; }
.price-card.featured {
  background: #003366; /* azul marino */
  color: #fff;
}
.price-card.featured .amount { color: var(--terra-500); }
.price-card.featured .tag,
.price-card.featured .unit { color: rgba(255,255,255,.8); }

/* ---------- Notes / alerts ---------- */
.notes { display: grid; gap: 16px; grid-template-columns: repeat(2,1fr); margin-top: 36px; }
.note {
  background: #fff;
  border-left: 5px solid var(--teal-500);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  font-size: .96rem;
  color: var(--muted);
}
.note.warn { border-left-color: var(--terra-500); }
.note strong { color: var(--ink); }

/* ---------- Split (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; object-fit: cover; }
.split ul { padding-left: 0; list-style: none; margin: 18px 0 0; }
.split li { padding: 6px 0 6px 30px; position: relative; }
.split li::before {
  content: "✓";
  position: absolute; left: 0;
  color: var(--teal-500); font-weight: 800;
}

/* ---------- Room cards ---------- */
.room-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.room-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.room-card .thumb { aspect-ratio: 16/9; overflow: hidden; }
.room-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.room-card:hover .thumb img { transform: scale(1.06); }
.room-card .body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.room-card .body ul { list-style: none; padding: 0; margin: 10px 0 16px; font-size: .9rem; color: var(--muted); display: flex; flex-direction: column; gap: 8px; }
.room-card .body li { display: flex; align-items: center; gap: 9px; }
.room-card .body li svg {
  width: 17px; height: 17px; flex: none;
  fill: none; stroke: #9aa4a5; stroke-width: 1.3;
  stroke-linecap: round; stroke-linejoin: round;
}
.room-card .price {
  margin: auto -22px -22px;       /* pegado al fondo, a lo ancho de la tarjeta */
  padding: 14px 22px;
  background: var(--sand-200);     /* franja con color distinto para resaltar */
  border-top: 1px solid rgba(0,0,0,.06);
  display: flex;
  align-items: center;
  justify-content: center;         /* bloque del costo centrado en la tarjeta */
  gap: 10px;
  color: var(--terra-600);
}
.room-card .price .amount-num { font-size: 2.3rem; font-weight: 800; line-height: 1; color: var(--terra-500); }
.room-card .price span { font-size: .68rem; color: var(--muted); font-weight: 500; line-height: 1.35; text-align: left; }
.room-card .price .per-night { text-align: right; }

.cards-note {
  text-align: center;
  color: var(--muted);
  font-size: .85rem;
  font-style: italic;
  max-width: 820px;
  margin: 28px auto 0;
}

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.gallery a { display: block; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery a:hover img { transform: scale(1.08); }

/* ---------- Amenities chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  background: #fff;
  border-radius: 6px;
  padding: 10px 18px;
  box-shadow: var(--shadow-sm);
  font-size: .92rem;
  font-weight: 600;
  color: var(--teal-900);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.chip svg {
  width: 20px; height: 20px;
  flex: none;
  fill: none;
  stroke: #9aa4a5; /* gris minimalista, sin color */
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Tabla de horario ---------- */
/* Ondulaciones del cuadro naranja del horario (borde superior e inferior) */
#horario { position: relative; z-index: 1; }
#horario::before, #horario::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 38px;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  pointer-events: none;
}
#horario::before {
  top: -37px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 38' preserveAspectRatio='none'%3E%3Cpath fill='%23e67e00' d='M0,38 L1440,38 L1440,20 C1200,36 960,4 720,20 C480,36 240,4 0,20 Z'/%3E%3C/svg%3E");
}
#horario::after {
  bottom: -37px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 38' preserveAspectRatio='none'%3E%3Cpath fill='%23e67e00' d='M0,0 L1440,0 L1440,18 C1200,34 960,2 720,18 C480,34 240,2 0,18 Z'/%3E%3C/svg%3E");
}

.schedule-wrap {
  max-width: 760px;
  margin: 0 auto;
}
.schedule {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  color: #fff;
}
.schedule th, .schedule td { padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,.28); }
.schedule th {
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,.8);
  font-weight: 700;
}
.schedule tbody tr:last-child td { border-bottom: 0; }
.schedule td:first-child { font-weight: 700; }
.schedule .pools { font-weight: 800; color: #fff; white-space: nowrap; }
.schedule .closed td { color: rgba(255,255,255,.78); }
@media (max-width: 520px) {
  .schedule th, .schedule td { padding: 11px 10px; font-size: .9rem; }
}

/* ---------- Map ---------- */
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); line-height: 0; }
.map-wrap iframe { width: 100%; height: 420px; border: 0; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band .btn { margin: 6px; }

/* ---------- Footer ---------- */
.footer { background: #003366; color: rgba(255,255,255,.8); padding: 56px 0 24px; }
.footer h4 { color: #fff; margin: 0 0 14px; font-size: 1.05rem; }
.footer a { color: rgba(255,255,255,.8); }
.footer a:hover { color: var(--teal-300); }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { padding: 4px 0; }
.footer .brand img { height: 48px; filter: drop-shadow(0 2px 6px rgba(0,0,0,.3)); }
.footer .socials { display: flex; gap: 12px; margin-top: 14px; }
.footer .socials a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.12);
  display: grid; place-items: center;
  color: #fff;
}
.footer .socials a svg { width: 20px; height: 20px; fill: currentColor; }
.footer .cols li svg { width: 15px; height: 15px; fill: currentColor; vertical-align: -2px; margin-right: 7px; opacity: .85; }
.footer .socials a:hover { background: var(--teal-500); color: #fff; }
.footer .copy {
  margin-top: 36px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: .85rem; text-align: center;
  color: rgba(255,255,255,.55);
}

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 18px; bottom: 18px;
  z-index: 200;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Top contact bar (estilo original) ---------- */
.topbar {
  background: var(--teal-900);
  color: rgba(255,255,255,.9);
  font-size: .85rem;
}
.topbar .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 22px;
  padding-top: 7px;
  padding-bottom: 7px;
}
.topbar a { color: rgba(255,255,255,.9); }
.topbar a:hover { color: var(--teal-300); }
.topbar .tb-group { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; }
.topbar .tb-item { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Carousel arrows & dots ---------- */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,.85);
  color: var(--teal-900);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: grid; place-items: center;
  box-shadow: var(--shadow-sm);
  transition: background .2s ease, transform .2s ease;
}
.carousel-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.carousel-arrow.prev { left: 18px; }
.carousel-arrow.next { right: 18px; }

.carousel-dots {
  position: absolute;
  left: 0; right: 0; bottom: 20px;
  z-index: 4;
  display: flex; justify-content: center; gap: 10px;
}
.carousel-dots button {
  width: 11px; height: 11px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background .2s ease, transform .2s ease;
}
.carousel-dots button.is-active { background: #fff; transform: scale(1.2); }

/* ---------- Room card clickable (galería) ---------- */
.room-card .thumb { position: relative; cursor: pointer; }
.room-card .thumb .view-hint {
  position: absolute; inset: 0;
  background: rgba(0,51,102,.55);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  gap: 8px;
  font-weight: 700;
  opacity: 0;
  transition: opacity .25s ease;
}
.room-card .thumb:hover .view-hint { opacity: 1; }
.room-card .thumb .badge-count {
  position: absolute; right: 10px; bottom: 10px;
  background: rgba(0,0,0,.6); color: #fff;
  font-size: .78rem; font-weight: 700;
  padding: 4px 10px; border-radius: 999px;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0;
  z-index: 1000;
  background: rgba(0,22,51,.95);
  display: flex; align-items: center; justify-content: center;
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: 92vw; max-height: 82vh;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  user-select: none;
}
.lb-btn {
  position: absolute;
  background: rgba(255,255,255,.15);
  border: 0; color: #fff;
  width: 52px; height: 52px;
  border-radius: 50%;
  font-size: 2rem; line-height: 1;
  cursor: pointer;
  display: grid; place-items: center;
  transition: background .2s ease;
}
.lb-btn:hover { background: rgba(255,255,255,.3); }
.lb-prev { left: 3vw; top: 50%; transform: translateY(-50%); }
.lb-next { right: 3vw; top: 50%; transform: translateY(-50%); }
.lb-close { top: 18px; right: 18px; width: 46px; height: 46px; font-size: 1.6rem; }
.lb-counter {
  position: absolute; bottom: 22px; left: 0; right: 0;
  text-align: center; color: #fff; font-size: .9rem;
  letter-spacing: 1px;
}

/* ---------- Buscador de disponibilidad (hero hotel) ---------- */
.book-widget {
  margin: 30px auto 0;
  max-width: 720px;
  background: rgba(255,255,255,.96);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: center;
  gap: 14px;
}
/* estado flotante: se pega bajo el encabezado y se mete un poco detrás de él */
.book-widget--stuck {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 720px;
  margin: 0;
  z-index: 90; /* menor que el header (100) para quedar apenas detrás */
  box-shadow: 0 14px 34px rgba(12,91,84,.28);
}

.bw-field { display: flex; flex-direction: column; text-align: left; gap: 5px; }
.bw-field label {
  font-weight: 700;
  color: var(--teal-900);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.bw-field input {
  padding: 11px 12px;
  border: 1px solid #cdd6d6;
  border-radius: 8px;
  font-size: .95rem;
  min-width: 180px;
  color: var(--ink);
  background: #fff;
}
.bw-field input:focus { outline: 2px solid var(--teal-300); border-color: var(--teal-500); }
.check-availability {
  background: var(--terra-500);
  color: #fff;
  border: 0;
  padding: 13px 24px;
  border-radius: 6px;
  font-weight: 700;
  font-size: .98rem;
  cursor: pointer;
  transition: background .2s ease, transform .15s ease;
}
.check-availability:hover { background: var(--terra-600); transform: translateY(-2px); }
/* el calendario debe quedar por encima de todo */
.datepicker-container { z-index: 500 !important; }

@media (max-width: 620px) {
  .book-widget { flex-direction: column; align-items: stretch; gap: 12px; }
  .bw-field input { width: 100%; min-width: 0; }
  .check-availability { width: 100%; }
}

/* ---------- Booking widget ---------- */
.booking-wrap {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.booking-wrap iframe {
  width: 100%;
  min-height: 720px;
  border: 0;
  display: block;
}

/* ===========================================================
   Responsive
   =========================================================== */
@media (max-width: 980px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer .cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav { display: flex; justify-content: space-between; } /* móvil: vuelve a flex */
  .nav-toggle { display: block; }
  .nav-collapse {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    display: flex;
    flex-direction: column;
    background: var(--terra-500); /* naranja, igual que el encabezado */
    padding: 12px 16px 20px;
    box-shadow: var(--shadow-md);
    transform: translateY(-150%);
    transition: transform .3s ease;
  }
  .nav-collapse.open { transform: translateY(0); }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; justify-self: stretch; }
  .nav-links a { padding: 13px 14px; border-radius: var(--radius-sm); }
  .nav-links a:hover, .nav-links a.active { background: rgba(255,255,255,.22); }
  .nav-extras {
    flex-wrap: wrap;
    justify-content: center;
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,.3);
  }
  .nav-links .btn { justify-content: center; margin-top: 6px; }

  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split.reverse > div:first-child { order: 2; }
  .notes { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2,1fr); }
  .footer .cols { grid-template-columns: 1fr; gap: 28px; }
  .map-wrap iframe { height: 320px; }

  .topbar { font-size: .8rem; }
  .topbar .container { justify-content: center; }
  .carousel-arrow { width: 38px; height: 38px; font-size: 1.2rem; }
  .carousel-arrow.prev { left: 8px; }
  .carousel-arrow.next { right: 8px; }
  .booking-wrap iframe { min-height: 640px; }
}

@media (max-width: 420px) {
  .gallery { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* ===========================================================
   Submenú "Políticas" + páginas legales
   =========================================================== */
.has-submenu { position: relative; align-self: stretch; display: flex; align-items: center; }
.nav-links .nav-label {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 9px 14px; border-radius: 6px;
  font-weight: 600; color: #fff; font-size: .96rem; cursor: pointer;
}
.has-submenu:hover .nav-label,
.nav-label.active { background: rgba(255,255,255,.22); }
.nav-label .caret { font-size: .6rem; }
.submenu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  min-width: 250px;
  background: #fff; border-radius: 8px; box-shadow: var(--shadow-md);
  padding: 8px; list-style: none; margin: 0;
  display: none; z-index: 60;
}
.has-submenu:hover .submenu { display: block; }
.submenu a {
  display: block; padding: 10px 14px; border-radius: 6px;
  color: #968d82; white-space: nowrap; font-weight: 400; font-size: .92rem;
}
.submenu a:hover { background: var(--sand-200); color: var(--teal-900); }
.submenu .submenu-head {
  padding: 9px 14px 4px;
  font-size: .68rem; text-transform: uppercase; letter-spacing: 1px;
  font-weight: 700; color: var(--muted);
}
.submenu .submenu-head + li a { margin-top: 0; }
.submenu .submenu-head:not(:first-child) { border-top: 1px solid var(--sand-200); margin-top: 6px; }

.policy-banner { background: var(--sand-200); padding: 54px 0 42px; text-align: center; }
.policy-banner h1 { color: var(--teal-900); font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0; }

.legal { max-width: 860px; margin: 0 auto; }
.legal h2 { color: var(--teal-900); font-size: 1.45rem; margin: 36px 0 12px; }
.legal h2:first-of-type { margin-top: 0; }
.legal h3 { color: var(--teal-700); font-size: 1.1rem; margin: 22px 0 8px; }
.legal p { margin: 0 0 14px; }
.legal ul, .legal ol { margin: 0 0 18px; padding-left: 22px; }
.legal li { margin: 7px 0; }
.legal .updated { color: var(--muted); font-size: .9rem; margin-bottom: 26px; }
.legal strong { color: var(--teal-900); }

@media (max-width: 760px) {
  .has-submenu { flex-direction: column; align-items: stretch; }
  .nav-label { justify-content: space-between; }
  .submenu {
    position: static; transform: none; display: block;
    background: rgba(255,255,255,.10); box-shadow: none;
    min-width: 0; margin: 4px 0 0; padding: 4px 0 4px 10px; z-index: auto;
  }
  .submenu a { color: #fff; }
  .submenu a:hover { background: rgba(255,255,255,.18); color: #fff; }
  .submenu .submenu-head { color: rgba(255,255,255,.7); }
  .submenu .submenu-head:not(:first-child) { border-top-color: rgba(255,255,255,.25); }
}

/* ===== Contactos del encabezado (Informes / Reservaciones) ===== */
.nav-extras { border-left: 0; padding-left: 0; }
.nav-contact { display: flex; flex-direction: column; align-items: flex-start; text-align: left; line-height: 1.1; }
.nav-contact .nc-top { font-size: .52rem; text-transform: uppercase; letter-spacing: .5px; color: rgba(255,255,255,.75); }
.nav-contact .nc-row { display: flex; align-items: center; gap: 5px; margin: 1px 0; }
.nav-contact .nc-num { color: #fff; font-weight: 700; font-size: .9rem; text-shadow: 0 1px 2px rgba(0,0,0,.25); }
.nav-contact .nc-wa { display: inline-grid; place-items: center; }
.nav-contact .nc-wa svg { width: 14px; height: 14px; fill: #fff; }
.nav-contact .nc-wa:hover svg { fill: rgba(255,255,255,.75); }
.nav-contact .nc-label { font-size: .58rem; text-transform: uppercase; letter-spacing: .6px; color: #fff; font-weight: 700; padding-left: 19px; text-shadow: 0 1px 2px rgba(0,0,0,.25); }
.nav-contact + .nav-contact { margin-left: 26px; }
.nav-sep { width: 1px; height: 36px; background: rgba(255,255,255,.4); margin: 0 10px; flex: none; }
.footer h4 .h4-note { font-size: .72rem; font-weight: 500; color: rgba(255,255,255,.6); }

@media (max-width: 760px) {
  .nav-sep { display: none; }
  .nav-contact + .nav-contact { margin-left: 0; margin-top: 6px; }
}

/* Precios de inicio sin recuadro (sobre el fondo de la sección) */
#precios .price-card,
#precios .price-card.featured {
  background: transparent;
  box-shadow: none;
  border: 0;
  color: var(--ink);
}
#precios .price-card:hover { transform: none; border-color: transparent; }
#precios .price-card .tag,
#precios .price-card .unit,
#precios .price-card.featured .tag,
#precios .price-card.featured .unit { color: var(--muted); }

/* ===== Cinta de fotos (marquee) con bordes ondulados arriba y abajo ===== */
.marquee {
  overflow: hidden;
  width: 100%;
  -webkit-mask:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 26' preserveAspectRatio='none'%3E%3Cpath fill='%23000' d='M0,26 L1440,26 L1440,9 C1160,25 1000,1 720,12 C440,23 220,3 0,15 Z'/%3E%3C/svg%3E") top/100% 26px no-repeat,
    linear-gradient(#000 0 0) center/100% calc(100% - 50px) no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 26' preserveAspectRatio='none'%3E%3Cpath fill='%23000' d='M0,0 L1440,0 L1440,16 C1300,4 1180,24 980,13 C760,1 560,25 340,14 C200,6 90,20 0,12 Z'/%3E%3C/svg%3E") bottom/100% 26px no-repeat;
  mask:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 26' preserveAspectRatio='none'%3E%3Cpath fill='%23000' d='M0,26 L1440,26 L1440,9 C1160,25 1000,1 720,12 C440,23 220,3 0,15 Z'/%3E%3C/svg%3E") top/100% 26px no-repeat,
    linear-gradient(#000 0 0) center/100% calc(100% - 50px) no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 26' preserveAspectRatio='none'%3E%3Cpath fill='%23000' d='M0,0 L1440,0 L1440,16 C1300,4 1180,24 980,13 C760,1 560,25 340,14 C200,6 90,20 0,12 Z'/%3E%3C/svg%3E") bottom/100% 26px no-repeat;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 48s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img {
  height: 210px;
  width: auto;
  flex: none;
  display: block;
  object-fit: cover;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (max-width: 600px) {
  .marquee-track img { height: 150px; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* Ondulaciones arriba y abajo de la sección de la cinta de fotos */
#galeria { position: relative; z-index: 1; background: var(--sand-100); }
#galeria::before, #galeria::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 38px;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  pointer-events: none;
}
#galeria::before {
  top: -37px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 38' preserveAspectRatio='none'%3E%3Cpath fill='%23fdf9f3' d='M0,38 L1440,38 L1440,20 C1200,36 960,4 720,20 C480,36 240,4 0,20 Z'/%3E%3C/svg%3E");
}
#galeria::after {
  bottom: -37px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 38' preserveAspectRatio='none'%3E%3Cpath fill='%23fdf9f3' d='M0,0 L1440,0 L1440,16 C1260,2 1060,26 820,15 C600,5 360,25 0,14 Z'/%3E%3C/svg%3E");
}

/* Ondulación superior + tarjetas sin recuadro en "Lo que ofrecemos" */
#ofrecemos { position: relative; z-index: 1; }
#ofrecemos::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: -37px;
  height: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 38' preserveAspectRatio='none'%3E%3Cpath fill='%23f7eee2' d='M0,38 L1440,38 L1440,20 C1200,36 960,4 720,20 C480,36 240,4 0,20 Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  pointer-events: none;
}
#ofrecemos .feature { background: transparent; box-shadow: none; border: 0; }
#ofrecemos .feature:hover { transform: none; box-shadow: none; }


/* Mejor contraste del menú sobre el naranja */
.nav-links > li > a, .nav-label { text-shadow: 0 1px 2px rgba(0,0,0,.25); }

/* Aviso de precios para grupos */
.group-note {
  max-width: 760px;
  margin: 30px auto 0;
  text-align: center;
  background: rgba(255,140,0,.10);
  border: 1px solid rgba(255,140,0,.35);
  border-radius: 8px;
  padding: 14px 20px;
  color: var(--ink);
  font-size: .98rem;
}
.group-note strong { color: var(--terra-600); }
.group-note a { color: var(--terra-600); font-weight: 700; }

/* Menú para huéspedes (hotel) */
.menu-grid { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; margin-top: 30px; }
.menu-grid img { max-width: 360px; width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-md); cursor: pointer; transition: transform .2s ease; }
.menu-grid img:hover { transform: translateY(-4px); }

/* Tarjetas de menú para huéspedes */
.menu-cards { align-items: start; text-align: left; }
.menu-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,.05); overflow: hidden; }
.menu-card .mc-head { background: var(--terra-500); color: #fff; padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.menu-card .mc-kicker { display: block; font-size: .62rem; text-transform: uppercase; letter-spacing: 1px; opacity: .9; }
.menu-card .mc-head h3 { color: #fff; margin: 2px 0 0; font-size: 1.4rem; }
.menu-card .mc-price { text-align: right; font-size: 2.2rem; font-weight: 800; line-height: 1; white-space: nowrap; }
.menu-card .mc-price small { display: block; font-size: .58rem; font-weight: 600; opacity: .92; white-space: normal; max-width: 150px; margin-top: 5px; line-height: 1.3; }
.menu-card .mc-body { padding: 20px 22px; }
.menu-card .mc-body h4 { color: var(--teal-900); font-size: .78rem; text-transform: uppercase; letter-spacing: 1px; margin: 0 0 8px; }
.menu-card .mc-body ul { list-style: none; padding: 0; margin: 0 0 16px; }
.menu-card .mc-body ul li { position: relative; padding: 5px 0 5px 22px; color: var(--ink); }
.menu-card .mc-body ul li::before { content: ""; position: absolute; left: 2px; top: 12px; width: 7px; height: 7px; border-radius: 50%; background: var(--terra-500); }
.menu-card .mc-time { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--teal-900); margin: 0 0 14px; }
.menu-card .mc-time svg { width: 18px; height: 18px; fill: none; stroke: var(--terra-600); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.menu-card .mc-steps { background: var(--sand-200); border-radius: var(--radius-sm); padding: 12px 16px; margin: 0 0 14px; }
.menu-card .mc-steps strong { display: block; color: var(--teal-900); margin-bottom: 6px; font-size: .9rem; }
.menu-card .mc-steps ol { margin: 0; padding-left: 18px; color: var(--muted); font-size: .9rem; }
.menu-card .mc-steps li { margin: 3px 0; }
.menu-card .mc-note { font-size: .85rem; color: var(--muted); font-style: italic; margin: 0; }

.menu-card .mc-promo { background: rgba(255,140,0,.12); border-radius: var(--radius-sm); padding: 8px 12px; font-size: .85rem; color: var(--terra-600); font-weight: 700; margin: 0 0 14px; }
