/* ============================================================
   Tema «hotel» — hoja de estilos del embudo clásico.
   La paleta por defecto es la de hotelokms (teal/arena del logo
   faro); cada sitio puede pisarla desde SITE.palette (base.html
   inyecta las variables inline después de esta hoja).
   El header es SIEMPRE sólido (color exacto del fondo del logo
   dark) — sin variante transparente: evita de raíz el gotcha
   CON_HERO de cabañitas (menú ilegible sobre heros claros).
   ============================================================ */
:root {
  --teal: #0f5a66;          /* primario: enlaces, botones */
  --teal-dark: #10454d;     /* header/footer = fondo del logo dark */
  --teal-ink: #09454e;      /* titulares */
  --gold: #cfa672;          /* acento */
  --gold-dark: #a97f47;
  --sand: #e9dfcd;
  --sand-light: #f7f3ea;    /* fondo de página */
  --ink: #22333b;
  --muted: #6d7d88;
  --white: #ffffff;
  --danger: #a33b2e;
  --ok: #2e7d4f;
  --font-display: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
  /* Velo del hero: en variables para que un sitio con paleta clara no
     se coma un degradado teal ajeno (SITE.palette las redefine). */
  --veil-top: rgba(16,69,77,.30);
  --veil-bottom: rgba(16,69,77,.62);
  /* Piel de la caja de cookies (cookies.css la pide así para que el tema
     hijo `fincas` pueda darle la suya sin duplicar la hoja). */
  --cookie-bg: var(--teal-dark);
  --cookie-fg: var(--white);
  --cookie-accent: var(--gold);
  --cookie-accent-fg: var(--teal-ink);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--ink);
       background: var(--sand-light); line-height: 1.65; }
img { max-width: 100%; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 1.25rem; }
a { color: var(--teal); }
h1, h2, h3 { font-family: var(--font-display); color: var(--teal-ink);
             line-height: 1.25; font-weight: 600;
             letter-spacing: -.01em; }
h2 { font-size: 1.5rem; margin-bottom: 1.1rem; }
.muted { color: var(--muted); }

/* ---------- header ---------- */
.site-header { background: var(--teal-dark); position: sticky; top: 0;
               z-index: 50; box-shadow: 0 1px 6px rgba(0,0,0,.25); }
.header-inner { display: flex; align-items: center; gap: 1.2rem;
                padding: .45rem 1.25rem; max-width: 1120px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: .6rem;
         text-decoration: none; }
.brand-logo { height: 56px; display: block; }
.brand-mark { height: 46px; display: block;
              filter: brightness(0) invert(1); opacity: .95; }
.brand-word { font-family: var(--font-display); color: var(--white);
              font-size: 1.25rem; letter-spacing: .06em; line-height: 1.05;
              display: flex; flex-direction: column; }
.brand-word small { font-size: .62rem; letter-spacing: .38em;
                    color: var(--gold); font-family: var(--font-body); }
.footer-mark { height: 64px; filter: brightness(0) invert(1); opacity: .9; }
/* Logotipo que ya lleva el nombre dentro (SITE.logo_wordmark): va solo,
   sin texto al lado, y más ancho que un emblema cuadrado. */
/* Alto generoso a propósito: un logotipo de DOS líneas necesita más que
   un emblema cuadrado o la segunda línea se vuelve ilegible. */
.brand-wordmark { height: 54px; display: block;
                  filter: brightness(0) invert(1); opacity: .95; }
.footer-wordmark { height: 76px; filter: brightness(0) invert(1);
                   opacity: .9; }
.main-nav { margin-left: auto; display: flex; gap: 1.15rem;
            align-items: center; flex-wrap: wrap; }
.main-nav a { color: rgba(255,255,255,.88); text-decoration: none;
              font-size: .95rem; padding: .2rem 0;
              border-bottom: 2px solid transparent; }
.main-nav a:hover { color: var(--white); border-bottom-color: var(--gold); }
.main-nav .nav-cta { background: var(--gold); color: var(--teal-dark);
                     padding: .4rem 1.05rem; border-radius: 4px;
                     font-weight: 600; border-bottom: 0; }
.main-nav .nav-cta:hover { background: #dcb886; color: var(--teal-dark); }
.nav-burger { display: none; }

/* Selector de idioma (solo con SITE.locales): códigos de dos letras en
   fila, el actual en dorado. Discreto a propósito: es una utilidad, no
   un reclamo. */
.lang-nav { display: flex; gap: .15rem; align-items: center;
            margin-left: .6rem; }
.lang-nav a { color: rgba(255,255,255,.55); text-decoration: none;
              font-size: .72rem; letter-spacing: .06em; padding: .2rem .3rem;
              border-radius: 3px; display: inline-flex; align-items: center; }
.lang-nav a:hover { color: var(--white); background: rgba(255,255,255,.08); }
.lang-nav a.on { color: var(--gold); font-weight: 600; }
/* Banderas: las inactivas apagadas, la del idioma en curso a todo
   color y con el subrayado dorado del resto de la cabecera. */
.lang-nav img { display: block; width: 21px; height: 14px; object-fit: cover;
                border-radius: 2px; opacity: .55; transition: opacity .15s; }
.lang-nav a:hover img { opacity: 1; }
.lang-nav a.on img { opacity: 1; box-shadow: 0 0 0 1px var(--gold); }

.demo-ribbon { background: var(--gold-dark); color: #fff; text-align: center;
               font-size: .82rem; padding: .32rem .8rem; letter-spacing: .01em; }

/* ---------- hero ---------- */
.hero { position: relative; background-size: cover;
        background-position: center; min-height: 62vh;
        display: flex; align-items: center; }
.hero-veil { position: absolute; inset: 0;
             background: linear-gradient(180deg, var(--veil-top) 0%,
                                         var(--veil-bottom) 100%); }
.hero-inner { position: relative; color: var(--white);
              padding: 4rem 1.25rem; width: 100%; }
.hero h1 { color: var(--white); font-size: 2.5rem;
           text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.hero-claim { font-size: 1.25rem; margin-top: .4rem;
              text-shadow: 0 1px 8px rgba(0,0,0,.4); }

.search-box { display: flex; gap: 1rem; flex-wrap: wrap; align-items: flex-end;
              margin-top: 1.8rem; background: var(--white);
              padding: 1.1rem 1.2rem; border-radius: 10px;
              box-shadow: 0 8px 28px rgba(0,0,0,.28); max-width: 720px; }
.search-box label, .stay-bar label { display: flex; flex-direction: column;
              color: var(--ink); font-size: .78rem; font-weight: 600;
              gap: .25rem; text-transform: uppercase; letter-spacing: .04em; }
.search-box input, .search-box select,
.stay-bar input, .stay-bar select {
  padding: .5rem .6rem; border: 1px solid #cfc6b5; border-radius: 6px;
  font-size: 1rem; font-family: var(--font-body); background: var(--white);
  color: var(--ink); min-width: 7.5rem;
}

/* Aviso de alojamiento solo-adultos, junto al buscador. Sobre el hero va
   en blanco con sombra (el fondo es una foto); en /reservar/, en muted. */
.adults-only-note { margin-top: .7rem; font-size: .86rem; color: var(--muted); }
.adults-only-note.on-hero { color: rgba(255,255,255,.92);
                            text-shadow: 0 1px 6px rgba(0,0,0,.5); }

/* ---------- botones ---------- */
.btn { display: inline-block; border: 0; cursor: pointer;
       text-decoration: none; padding: .65rem 1.5rem; border-radius: 6px;
       font-size: 1rem; font-family: var(--font-body); font-weight: 600; }
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-dark); }
.btn-gold { background: var(--gold); color: var(--teal-dark); }
.btn-gold:hover { background: #dcb886; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
/* `.btn` fija `display`, que gana al `[hidden]{display:none}` del
   navegador: sin esto, un botón con `hidden` se seguiría viendo. */
.btn[hidden] { display: none; }

/* ---------- secciones ---------- */
section { padding: 2.8rem 0; }
.page-head { background: var(--teal-dark); padding: 2.2rem 0; }
.page-head h1 { color: var(--white); font-size: 1.85rem; }
.page-sub { color: var(--sand); margin-top: .3rem; }
.page-copy { color: rgba(255,255,255,.85); margin-top: .8rem; max-width: 46rem; }

.intro { background: var(--white); }
.intro-grid { display: grid; grid-template-columns: 1.15fr .85fr;
              gap: 2.2rem; align-items: center; }
.intro-text p { margin-bottom: .9rem; }
.intro-photo img { border-radius: 10px; display: block;
                   box-shadow: 0 6px 24px rgba(0,0,0,.15); }

/* ---------- antetítulo de sección (one-page) ---------- */
.kicker { font-family: var(--font-body); font-size: .74rem;
          text-transform: uppercase; letter-spacing: .22em;
          color: var(--gold-dark); margin-bottom: .45rem; }

/* ---------- reclamos cortos ---------- */
.feats { background: var(--sand-light); }
.feats-grid { display: grid; gap: 1.2rem 2rem;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.feat h3 { font-size: 1rem; margin-bottom: .2rem; }
.feat p { font-size: .9rem; color: var(--muted); }

/* ---------- relato de la casa ---------- */
.story { background: var(--white); }
.story-grid { display: grid; grid-template-columns: .85fr 1.15fr;
              gap: 2.2rem; align-items: center; }
.story-photo img { border-radius: 10px; display: block;
                   box-shadow: 0 6px 24px rgba(0,0,0,.15); }
.story-text p { margin-bottom: .9rem; }

/* ---------- servicios ---------- */
.svcs { background: var(--sand); }
.svcs-grid { list-style: none; display: grid; gap: .7rem;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); }
.svc { background: var(--white); border-radius: 8px;
       padding: .75rem 1rem; border-left: 3px solid var(--gold); }
.svc-name { font-weight: 600; }
.svc-note { display: block; font-size: .82rem; color: var(--muted); }
.svc-off { opacity: .62; border-left-color: #cfc6b5; }

/* Variante MOSAICO: tarjeta con foto de fondo y rótulo encima. El velo
   va en un ::before y no en la propia tarjeta para que el degradado no
   arrastre también al texto. */
.svcs-foto { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
             gap: 1.1rem; }
/* En una retícula de mosaicos, una tarjeta SIN foto se estiraría a la
   altura de las demás y quedaría un hueco blanco enorme: que se quede
   con su altura natural, arriba de su celda. */
.svcs-foto .svc:not(.svc-ph) { align-self: start; }
.svc-ph { position: relative; overflow: hidden; border-left: 0;
          border-radius: 10px; padding: 1.2rem;
          min-height: 300px; aspect-ratio: 76 / 100;
          background-size: cover; background-position: center;
          display: flex; flex-direction: column; justify-content: center;
          align-items: center; text-align: center; }
.svc-ph::before { content: ''; position: absolute; inset: 0;
                  background: linear-gradient(180deg, rgba(20,16,4,.30) 0%,
                                              rgba(20,16,4,.62) 100%); }
.svc-ph .svc-name, .svc-ph .svc-note { position: relative; z-index: 1;
                  color: var(--white);
                  text-shadow: 0 1px 8px rgba(0,0,0,.55); }
.svc-ph .svc-name { font-family: var(--font-display); font-size: 1.5rem;
                    font-weight: 400; line-height: 1.2; }
.svc-ph .svc-note { margin-top: .4rem; font-size: .84rem; opacity: .92; }
/* Un servicio no disponible se atenúa, pero sin desteñir el rótulo: se
   oscurece la foto, no la tarjeta entera. */
.svc-ph.svc-off { opacity: 1; }
.svc-ph.svc-off::before { background: linear-gradient(180deg,
                          rgba(20,16,4,.52) 0%, rgba(20,16,4,.76) 100%); }

/* ---------- entorno ---------- */
.around { background: var(--white); }
.around-in { max-width: 52rem; }
.around-in p { margin-bottom: .9rem; }
.around-cta { margin-top: 1.4rem; }

/* ---------- reseñas de Google (solo si la web define SITE.reviews;
   nace hidden y reviews.js la revela cuando la API responde) ---------- */
.reviews { background: var(--sand); }
.rev-head { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap;
            margin-bottom: 2rem; }
.rev-score { background: var(--white); border-radius: 10px;
             padding: 1.2rem 1.8rem; box-shadow: 0 6px 24px rgba(0,0,0,.1);
             text-align: center; flex: 0 0 auto; }
.rev-num { display: block; font-family: var(--font-display); font-size: 3rem;
           font-weight: 600; line-height: 1; color: var(--teal-ink); }
.rev-stars { display: block; color: var(--gold-dark); font-size: 1.15rem;
             letter-spacing: .08em; margin: .35rem 0 .25rem; }
.rev-total { display: block; font-size: .82rem; color: var(--muted); }
.rev-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 1.2rem; }
.rev-card { background: var(--white); border-radius: 10px;
            padding: 1.3rem 1.3rem 1.4rem;
            box-shadow: 0 6px 24px rgba(0,0,0,.08); }
.rev-who { display: flex; align-items: center; gap: .7rem;
           margin-bottom: .75rem; }
.rev-avatar { width: 42px; height: 42px; max-width: none; flex: 0 0 auto;
              border-radius: 999px; object-fit: cover; }
.rev-author { font-weight: 600; font-size: .95rem; color: var(--ink);
              text-decoration: none; }
a.rev-author:hover { text-decoration: underline; text-underline-offset: 3px; }
.rev-meta { display: flex; align-items: center; gap: .5rem; }
.rev-s { color: var(--gold-dark); font-size: .82rem; letter-spacing: .06em; }
.rev-when { font-size: .76rem; color: var(--muted); }
.rev-text { font-size: .92rem; color: var(--ink); line-height: 1.55;
            display: -webkit-box; -webkit-line-clamp: 9;
            -webkit-box-orient: vertical; overflow: hidden; }
.rev-actions { margin-top: 2rem; text-align: center; }
@media (max-width: 640px) { .rev-head { gap: 1.2rem; } }

/* ---------- contacto ---------- */
.contact { background: var(--sand-light); }
.contact-in { display: grid; grid-template-columns: 1fr 1fr;
              gap: 2.4rem; align-items: start; }
.contact-dl dt { font-size: .74rem; text-transform: uppercase;
                 letter-spacing: .14em; color: var(--gold-dark);
                 margin-top: 1rem; }
.contact-dl dt:first-child { margin-top: 0; }
.contact-dl dd { margin-top: .15rem; }
.contact-dl a { text-decoration: none; }
.contact-dl a:hover { text-decoration: underline; }

/* Accesos directos de teléfono (SITE.contact.phone_quick): cada número
   con sus iconitos de llamada y WhatsApp al lado. */
.tel-quick { display: flex; align-items: center; gap: .55rem;
             margin-bottom: .35rem; }
.tel-quick:last-child { margin-bottom: 0; }
.q-ico { display: inline-flex; align-items: center; justify-content: center;
         width: 32px; height: 32px; border-radius: 999px;
         border: 1px solid var(--gold-dark); color: var(--gold-dark); }
.q-ico:hover { background: var(--gold-dark); color: var(--white);
               text-decoration: none; }
.q-ico.q-wa { border-color: #25845e; color: #25845e; }
.q-ico.q-wa:hover { background: #25845e; color: var(--white); }

/* Mapa: fila entera bajo las dos columnas del contacto. */
.contact-map { grid-column: 1 / -1; position: relative; height: 320px;
               border-radius: 10px; overflow: hidden;
               box-shadow: 0 2px 14px rgba(16,69,77,.14); }
.contact-map .leaflet-container { width: 100%; height: 100%;
               background: var(--sand); font-family: var(--font-body); }
/* Capa que hace pulsable TODO el mapa. Va por encima de los paneles de
   teselas (z-index 400 en Leaflet) y por DEBAJO de los controles
   (1000): así no tapa la atribución de OSM/CARTO, que tiene que seguir
   siendo un enlace vivo. Por eso el <a> es una capa hermana y no
   envuelve al mapa — un <a> dentro de otro <a> no es HTML válido. */
.contact-map-go { position: absolute; inset: 0; z-index: 500;
                  display: flex; align-items: flex-start;
                  justify-content: flex-end; padding: .75rem;
                  text-decoration: none; }
.contact-map-go span { background: var(--white); color: var(--teal);
                  font-size: .78rem; font-weight: 600; letter-spacing: .02em;
                  padding: .4rem .7rem; border-radius: 999px;
                  box-shadow: 0 1px 6px rgba(0,0,0,.22);
                  transition: background .15s ease, color .15s ease; }
.contact-map-go:hover span { background: var(--teal); color: var(--white); }
.hm-pin { display: block; width: 100%; height: 100%; border-radius: 999px;
          background: var(--teal); border: 3px solid var(--white);
          box-shadow: 0 0 0 1px rgba(0,0,0,.18); }
.hm-tip { background: var(--teal-dark); color: var(--white); border: 0;
          border-radius: 8px; font-weight: 600; box-shadow: none; }
.hm-tip::before { border-top-color: var(--teal-dark) !important; }

/* ---------- redes sociales ---------- */
.social { display: flex; gap: .6rem; align-items: center;
          margin-top: .35rem; }
.social a { display: inline-flex; align-items: center; justify-content: center;
            width: 2.2rem; height: 2.2rem; border-radius: 50%;
            border: 1px solid currentColor; opacity: .75;
            text-decoration: none !important;
            transition: opacity .15s ease, background .15s ease; }
.social a:hover { opacity: 1; background: rgba(255,255,255,.10); }
.contact-dl .social a { color: var(--teal); }
.contact-dl .social a:hover { background: rgba(0,0,0,.05); }
.footer-links .social a { color: var(--sand-light); }

/* ---------- tarjetas ---------- */
.cards-grid { display: grid; gap: 1.4rem;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); }
.card { background: var(--white); border-radius: 10px; overflow: hidden;
        text-decoration: none; color: var(--ink);
        box-shadow: 0 2px 10px rgba(0,0,0,.08);
        transition: transform .15s ease, box-shadow .15s ease; }
.card:hover { transform: translateY(-3px);
              box-shadow: 0 8px 22px rgba(0,0,0,.14); }
.card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.card-body { padding: 1rem 1.1rem 1.2rem; }
.card-body h3 { font-size: 1.15rem; margin-bottom: .25rem; }
.card-meta { color: var(--muted); font-size: .88rem; margin-bottom: .5rem; }
.card-cta { color: var(--teal); font-weight: 600; font-size: .92rem; }

/* ---------- planes ---------- */
.plans-static { background: var(--sand); }
.plans-grid { display: grid; gap: 1.2rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.plan-card { background: var(--white); border-radius: 10px;
             padding: 1.15rem 1.25rem; border-top: 3px solid var(--gold); }
.plan-card h3 { font-size: 1.05rem; margin-bottom: .55rem; }
.plan-card ul { list-style: none; font-size: .88rem; color: var(--ink);
                display: flex; flex-direction: column; gap: .4rem; }
.plan-card li { padding-left: 1.1rem; position: relative; }
.plan-card li::before { content: '·'; color: var(--gold-dark);
                        font-weight: 700; position: absolute; left: .2rem; }
.plans-note { margin-top: 1rem; color: var(--muted); font-size: .88rem; }

/* ---------- galería ---------- */
.gallery { background: var(--white); }
.gallery-grid { display: grid; gap: 1.1rem;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.gallery-grid figure { background: var(--sand-light); border-radius: 8px;
                       overflow: hidden; }
.gallery-grid a { display: block; cursor: zoom-in; }
.gallery-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover;
                    display: block; transition: transform .2s ease; }
.gallery-grid a:hover img { transform: scale(1.03); }
.gallery-grid figcaption { padding: .5rem .75rem; font-size: .84rem;
                           color: var(--muted); }
.gallery-note { margin-top: 1.1rem; color: var(--muted); font-style: italic; }

/* lightbox */
.lb-overlay { position: fixed; inset: 0; background: rgba(9,30,34,.92);
              z-index: 200; display: flex; align-items: center;
              justify-content: center; flex-direction: column; padding: 2rem; }
.lb-overlay img { max-width: 92vw; max-height: 82vh; border-radius: 6px;
                  box-shadow: 0 10px 40px rgba(0,0,0,.5); }
.lb-caption { color: var(--sand); margin-top: .8rem; font-size: .95rem; }
.lb-close { position: absolute; top: 1rem; right: 1.4rem; background: none;
            border: 0; color: #fff; font-size: 2.2rem; cursor: pointer; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%);
            background: rgba(255,255,255,.12); border: 0; color: #fff;
            font-size: 2rem; width: 3rem; height: 3rem; border-radius: 50%;
            cursor: pointer; }
.lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,.25); }
.lb-prev { left: 1rem; } .lb-next { right: 1rem; }

/* ---------- estancias (casas) ---------- */
.rooms-list { background: var(--sand); }
.rooms-ul { list-style: none; display: grid; gap: .6rem;
            grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.rooms-ul li { background: var(--white); border-radius: 8px;
               padding: .7rem 1rem; }

/* ---------- calendario de dispo ---------- */
.dispo { background: var(--white); }
/* 2 meses a la vista con «‹ ›» a los lados (dispo-cal.js). Las flechas
   son hermanas del bloque de meses para que no se muevan al cambiar de
   mes; en móvil los meses se apilan y las flechas siguen a los lados. */
.dispo-cal { display: flex; align-items: center; gap: .6rem; }
.dispo-pick { color: var(--muted); font-size: .9rem; margin: -.4rem 0 1rem; }
.cal-months { flex: 1; display: grid; gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.cal-arrow { flex: 0 0 auto; width: 2rem; height: 2rem; line-height: 1;
  font-size: 1.3rem; border: 1px solid #d8d0c0; border-radius: 50%;
  background: var(--white); color: var(--teal-ink); cursor: pointer; }
.cal-arrow:hover:not(:disabled) { background: var(--sand-light); }
.cal-arrow:disabled { opacity: .3; cursor: default; }
.dispo-loading { color: var(--muted); }
.cal-month { background: var(--sand-light); border-radius: 10px;
             padding: .9rem 1rem 1.1rem; }
.cal-month h4 { text-align: center; font-family: var(--font-body);
                font-size: .92rem; color: var(--teal-ink);
                margin-bottom: .5rem; text-transform: capitalize; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr);
            gap: 2px; font-size: .8rem; text-align: center; }
.cal-dow { color: var(--muted); font-size: .68rem; text-transform: uppercase;
           padding: .15rem 0; }
.cal-day { padding: .3rem 0; border-radius: 4px; background: var(--white);
           display: block; }
.cal-day.free { background: #dbe6e8; color: var(--teal-ink); }
a.cal-day.free { text-decoration: none; font-weight: 600; cursor: pointer; }
a.cal-day.free:hover, a.cal-day.free:focus-visible {
                 background: var(--teal); color: var(--white); }
.cal-day.full { background: #e7d3cf; color: #9c5a4e;
                text-decoration: line-through; }
.cal-day.past { background: transparent; color: #c3bcae; }
.cal-day.empty { background: transparent; }
.dispo-legend { margin-top: 1rem; font-size: .84rem; color: var(--muted);
                display: flex; gap: 1.4rem; }
.dispo-legend .dot { display: inline-block; width: .8rem; height: .8rem;
                     border-radius: 3px; vertical-align: -1px;
                     margin-right: .35rem; }
/* Sin borde: con borde y fondo blanco se leía como un checkbox sin
   marcar, no como el color de un día libre. */
.dot-free { background: #dbe6e8; }
.dot-full { background: #e7d3cf; }
.dispo-cta { margin-top: 1.6rem; }

/* ---------- checkout (/reservar/) ---------- */
.booking { background: var(--white); min-height: 55vh; }
.stay-bar { display: flex; gap: 1rem; flex-wrap: wrap; align-items: flex-end;
            background: var(--sand-light); border-radius: 10px;
            padding: 1rem 1.2rem; margin-bottom: 1.8rem; }
.bk-step { margin-top: 1.4rem; }
.bk-msg { margin-top: 1.2rem; padding: .85rem 1.1rem; border-radius: 8px;
          background: #f6e3e0; color: var(--danger); }
.bk-msg.info { background: var(--sand); color: var(--ink); }

.bk-cards { display: grid; gap: 1.2rem;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.bk-card { background: var(--sand-light); border-radius: 10px;
           overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.07); }
/* La card entera elige (booking.js): que se note al pasar por encima,
   porque la foto es lo primero que la gente intenta pinchar. */
.bk-card.is-pick { cursor: pointer; transition: box-shadow .15s, transform .15s; }
.bk-card.is-pick:hover { box-shadow: 0 6px 18px rgba(0,0,0,.14);
                         transform: translateY(-2px); }
.bk-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover;
               display: block; }
.bk-card-body { padding: .95rem 1.1rem 1.15rem; }
.bk-card-body h3 { font-size: 1.02rem; margin-bottom: .15rem; }
.bk-card-meta { color: var(--muted); font-size: .85rem; margin-bottom: .6rem; }
.bk-price { font-size: 1.3rem; font-weight: 700; color: var(--teal-ink); }
.bk-price small { font-size: .8rem; color: var(--muted); font-weight: 400; }
.bk-free { font-size: .8rem; color: var(--ok); margin-top: .15rem; }

.bk-plans { display: flex; flex-direction: column; gap: .8rem;
            margin: 1rem 0 1.4rem; }
.bk-plan { display: flex; gap: .9rem; align-items: flex-start;
           background: var(--sand-light); border: 2px solid transparent;
           border-radius: 10px; padding: .9rem 1.1rem; cursor: pointer; }
.bk-plan input { margin-top: .3rem; flex: 0 0 auto; }
/* Nombre + condiciones. La base pequeña es lo que mantiene el radio A SU
   LADO por debajo de 780px: al envolver (`flex-wrap: wrap`), un ítem
   salta de línea según su tamaño BASE, no según lo que podría encogerse
   — con `auto` la base es el texto entero, no cabía junto al radio y se
   iba abajo dejando el radio solo en su línea. `min-width: 0` para que
   una palabra larga no lo vuelva a inflar. */
.bk-plan-body { flex: 1 1 12rem; min-width: 0; }
.bk-plan.sel { border-color: var(--teal); background: #eef4f2; }
.bk-plan-name { font-weight: 700; color: var(--teal-ink); display: block; }
.bk-plan-terms { font-size: .84rem; color: var(--muted); margin-top: .2rem; }
.bk-plan-price { margin-left: auto; text-align: right; white-space: nowrap; }
.bk-plan-price .tot { font-size: 1.15rem; font-weight: 700;
                      color: var(--teal-ink); }
.bk-plan-price .dep { font-size: .8rem; color: var(--muted); }
/* Colapso tras elegir tarifa: solo queda la elegida (entera, con sus
   condiciones — la política debe seguir a la vista) + el enlace
   "Cambiar tarifa" que pinta booking.js. El radio sobra si solo hay
   una card visible. */
.bk-plans.collapsed .bk-plan:not(.sel) { display: none; }
.bk-plans.collapsed .bk-plan input { display: none; }
.bk-plans-toggle { font-size: .84rem; margin: -.9rem 0 1.4rem; }
.bk-plans-toggle a { color: var(--muted); text-decoration: underline; }

.bk-extras { margin: 1.2rem 0; }
.bk-extra { display: flex; gap: .9rem; align-items: center;
            background: var(--sand-light); border-radius: 10px;
            padding: .7rem 1rem; margin-bottom: .7rem; }
.bk-extra img { width: 64px; height: 64px; object-fit: cover;
                border-radius: 8px; }
.bk-extra-name { font-weight: 600; }
.bk-extra-desc { font-size: .82rem; color: var(--muted); }
.bk-extra-price { margin-left: auto; white-space: nowrap; font-weight: 600; }
.bk-extra-qty { display: flex; align-items: center; gap: .45rem; }
.bk-extra-qty button { width: 1.9rem; height: 1.9rem; border-radius: 50%;
            border: 1px solid #cfc6b5; background: var(--white);
            font-size: 1.1rem; cursor: pointer; line-height: 1; }
.bk-extra-days { font-size: .8rem; color: var(--muted); width: 100%; }
.bk-extra-days .day-chip { display: inline-block; margin: .15rem .25rem 0 0;
            padding: .15rem .5rem; border: 1px solid #cfc6b5;
            border-radius: 999px; cursor: pointer; background: var(--white); }
.bk-extra-days .day-chip.sel { background: var(--teal); color: var(--white);
            border-color: var(--teal); }

.bk-form { background: var(--sand-light); border-radius: 10px;
           padding: 1.3rem 1.4rem; margin-top: 1.4rem; }
.bk-form h3 { margin-bottom: .9rem; }
.bk-form .frow { display: grid; gap: 1rem;
                 grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
                 margin-bottom: 1rem; }
.bk-form label { display: flex; flex-direction: column; gap: .25rem;
                 font-size: .78rem; font-weight: 600;
                 text-transform: uppercase; letter-spacing: .04em; }
.bk-form input { padding: .55rem .65rem; border: 1px solid #cfc6b5;
                 border-radius: 6px; font-size: 1rem; }
/* Teléfono: combobox custom de prefijo con banderas SVG (patrón del
   check-in de SES) + número nacional. .bf-field replica el estilo de
   los <label> del form (el combo no puede ir dentro de un label). */
.bk-form .bf-field { display: flex; flex-direction: column; gap: .25rem;
                     font-size: .78rem; font-weight: 600;
                     text-transform: uppercase; letter-spacing: .04em; }
.bf-phone-row { display: flex; gap: .4rem; }
.bf-phone-row input[type="tel"] { flex: 1; min-width: 0; }
.bf-tel-combo { position: relative; }
.bf-tel-btn { display: flex; align-items: center; gap: .35rem;
              padding: .55rem .55rem; border: 1px solid #cfc6b5;
              border-radius: 6px; background: var(--white);
              font-size: .95rem; cursor: pointer; }
.bf-tel-btn:hover, .bf-tel-btn:focus { border-color: var(--teal); }
.bf-flag { width: 21px; height: 16px; object-fit: cover;
           border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.bf-tel-dial { font-weight: 600; font-variant-numeric: tabular-nums; }
.bf-tel-chev { font-size: .7em; opacity: .6; }
.bf-tel-dd { position: absolute; z-index: 30; top: calc(100% + 4px);
             left: 0; width: 19rem; max-width: calc(100vw - 2rem);
             background: var(--white); border: 1px solid #cfc6b5;
             border-radius: 8px; box-shadow: 0 6px 22px rgba(0,0,0,.16);
             display: block; padding: .5rem; }
.bf-tel-dd[hidden] { display: none; }
.bf-tel-search { width: 100%; padding: .45rem .6rem; margin-bottom: .4rem;
                 border: 1px solid #cfc6b5; border-radius: 6px;
                 font-size: .9rem; font-weight: 400;
                 text-transform: none; letter-spacing: normal; }
.bf-tel-list { list-style: none; margin: 0; padding: 0;
               max-height: 15rem; overflow-y: auto; }
.bf-tel-item { display: flex; align-items: center; gap: .5rem;
               padding: .35rem .45rem; border-radius: 6px; cursor: pointer;
               font-size: .9rem; font-weight: 400; text-transform: none;
               letter-spacing: normal; }
.bf-tel-item:hover { background: var(--sand-light); }
.bf-tel-item[hidden] { display: none; }
.bf-tel-name { flex: 1; overflow: hidden; text-overflow: ellipsis;
               white-space: nowrap; }
.bf-tel-dialsm { color: var(--muted); font-variant-numeric: tabular-nums; }
.bk-form .cf-turnstile { margin: .2rem 0 .9rem; }
.bk-summary { background: var(--white); border-radius: 8px;
              padding: 1rem 1.2rem; margin: 1rem 0; font-size: .95rem; }
.bk-summary .line { display: flex; justify-content: space-between;
                    padding: .18rem 0; }
.bk-summary .line.total { border-top: 1px solid #e0d8c8; margin-top: .4rem;
                    padding-top: .5rem; font-weight: 700; font-size: 1.05rem; }

.tpv-test-box { background: #fdf3e3; border: 1px solid var(--gold);
                border-radius: 8px; padding: .9rem 1.1rem; margin: 1rem 0;
                font-size: .92rem; }
.tpv-test-box strong { color: var(--gold-dark); }
.tpv-test-box code { background: var(--white); padding: .1rem .45rem;
                     border-radius: 4px; font-size: .95em; }

/* ---------- gracias ---------- */
.thanks { background: var(--white); min-height: 50vh; }
.thanks-box { background: var(--sand-light); border-radius: 12px;
              padding: 2rem 2.2rem; max-width: 620px; }
.thanks-box h2 { margin-bottom: .7rem; }
.thanks-loc { font-size: 1.5rem; font-weight: 700; letter-spacing: .12em;
              color: var(--teal-ink); }
/* Cabecera de disponibilidad: la frase va ligera y en muted; las
   fechas y el nº de noches, en negrita teal con subrayado dorado. */
/* Cabecera del quote — la ficha de TU estancia. Un solo panel crema con
   la foto embutida a sangre en el lado derecho (nada de imagen suelta
   flotando), y dentro una jerarquía de tres alturas: nombre, fechas y
   matices. En móvil `wrap` lo apila y la foto cae DEBAJO del nombre, que
   es donde se quiere — por eso el texto va primero en el DOM y no hace
   falta jugar con `order`. */
.bk-quote-head { display: flex; align-items: stretch; flex-wrap: wrap;
                 background: var(--sand-light); border-radius: 12px;
                 overflow: hidden; }
.bk-quote-txt { flex: 1 1 300px; min-width: 0; padding: 1.5rem 1.7rem; }
.bk-quote-txt h2 { margin: 0; }
/* Las fechas en la serif de titulares: es el dato que se compra. Belleza
   viene en un solo peso, así que el énfasis NO puede ser negrita (saldría
   una falsa, sintetizada por el navegador) — lo da el tamaño, el color de
   tinta y el filete dorado, solo bajo las dos fechas. */
.bk-stay-dates { font-family: var(--font-display); font-size: 1.5rem;
                 line-height: 1.3; color: var(--muted); margin-top: .5rem; }
.bk-stay-dates .bk-d { color: var(--teal-ink); white-space: nowrap;
                       padding-bottom: .05em;
                       border-bottom: 2px solid var(--gold); }
/* Noches y huéspedes: versalitas discretas, el mismo idioma que los
   rótulos del buscador que está justo encima. */
.bk-stay-meta { margin-top: .85rem; font-size: .78rem; font-weight: 600;
                text-transform: uppercase; letter-spacing: .09em;
                color: var(--muted); }
/* `align-self: stretch` iguala la foto al alto del texto para que el
   panel quede a ras. El `aspect-ratio` NO es decorativo: sin él la
   miniatura impone su alto natural (son verticales — en las tarjetas del
   search no se nota porque allí se les fuerza 16/9) y estiraba el panel a
   más del doble. Con él, el alto hipotético es corto, manda el `stretch`
   y `object-fit: cover` recorta. */
.bk-quote-photo { flex: 0 0 264px; width: 264px; max-width: 100%;
                  align-self: stretch; aspect-ratio: 16/9; min-height: 100%;
                  object-fit: cover; display: block; }
.bk-avail { font-weight: 500; color: var(--muted); font-size: 1.3rem; }
.bk-hl { color: var(--teal-ink); font-weight: 700; white-space: nowrap;
         padding-bottom: .06em; border-bottom: 3px solid var(--gold); }

/* Resumen de la estancia en la pagina de gracias: separado del resto
   por una linea, para que se lea como "esto es lo que has reservado". */
.thanks-stay { margin: 1rem 0 1.1rem; padding: .85rem 0;
               border-top: 1px solid var(--sand);
               border-bottom: 1px solid var(--sand); }
.thanks-stay p { margin: 0; }
.thanks-stay-place { font-size: 1.15rem; }
.thanks-stay-dates { color: var(--muted); margin-top: .2rem !important; }

.thanks-cta { margin: 1.4rem 0 1.1rem; }
.thanks-state-paid { color: var(--ok); font-weight: 700; }
.thanks-state-hold { color: var(--gold-dark); font-weight: 700; }
.thanks-state-gone { color: var(--danger); font-weight: 700; }

/* ---------- legales ---------- */
.legal { background: var(--white); }
.legal-body { max-width: 46rem; }
.legal-body h2 { font-size: 1.25rem; margin: 1.4rem 0 .6rem; }
.legal-body p, .legal-body li { margin-bottom: .7rem; }
.legal-body ul { padding-left: 1.3rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--teal-dark); color: var(--sand-light);
               margin-top: 2.5rem; }
.footer-inner { display: flex; gap: 3rem; flex-wrap: wrap;
                padding: 2.4rem 1.25rem 1.6rem; max-width: 1120px;
                margin: 0 auto; }
.footer-brand { max-width: 300px; }
.footer-brand img { height: 74px; border-radius: 6px; }
.footer-brand p { font-size: .88rem; margin-top: .6rem; opacity: .8; }
.footer-links { display: flex; flex-direction: column; gap: .35rem; }
.footer-links h4 { color: var(--gold); font-family: var(--font-body);
                   font-size: .8rem; text-transform: uppercase;
                   letter-spacing: .08em; margin-bottom: .3rem; }
.footer-links a { color: var(--sand-light); text-decoration: none;
                  font-size: .9rem; opacity: .85; }
.footer-links a:hover { opacity: 1; text-decoration: underline; }
.footer-note { padding: 0 1.25rem 1.7rem; font-size: .78rem; opacity: .6;
               max-width: 1120px; margin: 0 auto; }

/* ---------- newsletter (captura de leads, home) ---------- */
.news { background: var(--teal-dark); color: var(--sand-light); }
.news h2 { color: var(--white); }
.news-in { display: grid; grid-template-columns: 1.05fr .95fr;
           gap: 2.4rem; align-items: center; }
.news-txt p { opacity: .85; max-width: 34rem; }
.news-form { background: var(--white); border-radius: 12px;
             padding: 1.5rem 1.6rem; color: var(--ink);
             box-shadow: 0 10px 28px rgba(0,0,0,.18); }
.news-lab { display: block; font-size: .78rem; font-weight: 600;
            text-transform: uppercase; letter-spacing: .06em;
            color: var(--muted); margin: .55rem 0 .2rem; }
.news-form input[type="text"],
.news-form input[type="email"] {
  width: 100%; padding: .55rem .7rem; border: 1px solid #cfd6da;
  border-radius: 8px; font-size: .95rem; background: var(--white);
}
.news-hp { position: absolute; left: -9999px; height: 0; width: 0;
           opacity: 0; }
.news-check { display: flex; gap: .5rem; align-items: flex-start;
              font-size: .84rem; margin: .8rem 0 1rem; color: var(--muted); }
.news-check input { margin-top: .22rem; }
.news-check a { color: var(--teal); }
.news-go { width: 100%; }
.news-sent { font-size: .92rem; margin-bottom: .8rem; }
.news-pin { text-align: center; font-size: 1.5rem; letter-spacing: .45em;
            font-family: var(--font-display); margin-bottom: .8rem; }
.news-back { background: none; border: 0; color: var(--muted);
             text-decoration: underline; cursor: pointer;
             display: block; margin: .7rem auto 0; font-size: .85rem; }
.news-ok { font-size: 1.05rem; font-weight: 600; color: var(--ok);
           text-align: center; padding: 1rem 0; }
.news-msg { font-size: .85rem; margin-top: .6rem; min-height: 1.2em; }
/* El error tiene que verse SÍ o SÍ: píldora roja + sacudida. La animación
   se re-dispara desde el JS (quitar clase + reflow + ponerla). */
.news-msg.bad { color: var(--white); background: var(--danger);
                font-weight: 600; padding: .5rem .75rem; border-radius: 8px;
                animation: news-shake .45s ease; }
@keyframes news-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-7px); }
  40% { transform: translateX(7px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

/* ---------- responsive ---------- */
@media (max-width: 780px) {
  .news-in { grid-template-columns: 1fr; gap: 1.4rem; }
  .main-nav { display: none; }
  .main-nav.open { display: flex; flex-direction: column; width: 100%;
                   align-items: flex-start; padding: .6rem 0; gap: .7rem; }
  .header-inner { flex-wrap: wrap; }
  .lang-nav { margin-left: auto; }
  .nav-burger { display: block; margin-left: .4rem; background: none;
                border: 0; color: var(--white); font-size: 1.6rem;
                cursor: pointer; }
  .hero h1 { font-size: 2rem; }
  .hero { min-height: 48vh; }
  .intro-grid { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; }
  .story-photo { order: 2; }
  .contact-in { grid-template-columns: 1fr; gap: 1.4rem; }
  .contact-map { height: 240px; }
  .search-box { width: 100%; }
  .search-box label { flex: 1 1 40%; }
  .bk-plan { flex-wrap: wrap; }
  .bk-plan-price { margin-left: 2rem; text-align: left; }
  /* La foto del quote pasa a banda a lo ancho del panel: a 264px dejaba
     un hueco crema feo a su derecha. */
  .bk-quote-txt { padding: 1.2rem 1.25rem; }
  .bk-quote-photo { flex: 1 1 100%; width: 100%; height: 170px;
                    min-height: 0; }
  .bk-stay-dates { font-size: 1.35rem; }
}

/* ---------- reserva multi-habitación (grupo) — MULTIROOM_PLAN.md §5 ---------- */
.bk-need-rooms { margin-top: 1.1rem; font-size: .9rem; }
.bk-need-rooms a { color: var(--teal-ink); text-decoration: underline; }
.bk-group { display: grid; gap: 1.4rem; grid-template-columns: minmax(0, 1fr) 360px;
            align-items: start; }
@media (max-width: 900px) { .bk-group { grid-template-columns: 1fr; } }
.bk-cards-group { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.bk-qty { margin-top: .6rem; }
.bk-qty select { padding: .35rem .5rem; border: 1px solid #cfc6b5; border-radius: 6px;
                 font-size: 1rem; margin-left: .3rem; }
.bk-cart { position: sticky; top: 1rem; background: var(--sand-light);
           border-radius: 10px; padding: 1rem 1.1rem 1.2rem; }
.bk-cart h3 { margin-bottom: .6rem; }
.bk-room { background: var(--white); border-radius: 8px; padding: .7rem .85rem;
           margin-bottom: .7rem; border: 1px solid #e6dfd2; }
.bk-room-head { display: flex; justify-content: space-between; gap: .6rem;
                align-items: baseline; }
.bk-room-rm { font-size: .8rem; color: var(--muted); text-decoration: underline;
              white-space: nowrap; }
.bk-room-pax { display: flex; gap: .8rem; margin-top: .45rem; font-size: .86rem; }
.bk-room-pax select, .bk-room-plan select { padding: .3rem .4rem; border: 1px solid #cfc6b5;
                 border-radius: 6px; font-size: .92rem; margin-left: .25rem; max-width: 100%; }
.bk-room-plan { margin-top: .45rem; }
.bk-room-plan select { width: 100%; margin-left: 0; }
.bk-line-terms { font-size: .78rem; color: var(--muted); margin-top: .3rem; }
.bk-room-foot { display: flex; justify-content: space-between; align-items: center;
                gap: .6rem; margin-top: .5rem; }
.bk-line-extras-toggle { font-size: .82rem; color: var(--teal-ink); text-decoration: underline; }
.bk-room-price { margin-left: auto; text-align: right; }
.bk-room-price small { display: block; }
.bk-line-err { color: var(--danger); font-size: .84rem; }
.bk-room-extras { margin-top: .5rem; }
.bk-room-extras .bk-extra { padding: .45rem 0; }
.bk-cart .bk-msg { margin-top: .6rem; padding: .6rem .8rem; font-size: .88rem; }
.bk-cart .bk-ok { background: #e6f2ea; color: var(--ok); }
.bk-cart .bk-summary { margin-top: .8rem; }
.thanks-rooms { margin: 1rem 0 1.1rem; padding: .6rem 0; border-top: 1px solid #e0d8c8;
                border-bottom: 1px solid #e0d8c8; }
.thanks-rooms > p { margin: 0 0 .4rem; }
.thanks-loc-sm { font-size: 1.1rem; }
.thanks-room { display: flex; justify-content: space-between; gap: 1rem;
               padding: .3rem 0; font-size: .95rem; flex-wrap: wrap; }
