/* ============================================================
   Landings públicas de hotel (/h/{slug}) — mobile-first.
   Solo lo cargan las landings (layouts/landing.php).
   Las variables --primary/--accent/--bg/--text/--font-*
   las inyecta el layout desde el config JSON de la plantilla.
   La variación por plantilla se hace con body.theme-{slug}.
   ============================================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

body.landing {
    font-family: var(--font-body, Arial, sans-serif);
    background: var(--bg, #faf7f0);
    color: var(--text, #2b2b2b);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ---------- Banner de vista previa / aviso suscripción ---------- */
.preview-banner {
    position: sticky;
    top: 0;
    z-index: 60;
    background: #b45309;
    color: #fff;
    text-align: center;
    font-weight: 700;
    font-size: .85rem;
    letter-spacing: .05em;
    padding: .5rem 1rem;
}

.subscription-notice {
    background: #fef3c7;
    color: #92400e;
    text-align: center;
    font-size: .85rem;
    padding: .5rem 1rem;
}

/* ---------- Cabecera / hero ---------- */
.landing-hero {
    position: relative;
    min-height: 42vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary, #1f3a5f), var(--accent, #c9a227));
}

.landing-hero .hero-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: relative;
    width: 100%;
    padding: 2.5rem 1.25rem 1.75rem;
    background: linear-gradient(to top, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0));
    color: #fff;
}

.landing-hero.no-photo .hero-overlay { background: none; }

.hotel-name {
    font-family: var(--font-heading, Georgia, serif);
    font-size: clamp(1.6rem, 6vw, 2.6rem);
    line-height: 1.15;
}

/* Texto solo para lectores de pantalla (SEO/accesibilidad cuando hay logo) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Logo del hotel en el hero (sustituye al nombre en texto si existe) */
.hotel-logo {
    display: block;
    max-width: min(72vw, 340px);
    max-height: 120px;
    width: auto;
    height: auto;
    margin-bottom: .7rem;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .35));
}
/* Sin foto de fondo no hace falta la sombra (fondo claro del tema) */
.landing-hero.no-photo .hotel-logo { filter: none; }

.hotel-tagline {
    margin-top: .4rem;
    font-size: clamp(.95rem, 3.5vw, 1.15rem);
    opacity: .92;
}

/* ---------- Botones CTA (grandes, táctiles) ---------- */
.cta-block {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    padding: 1.25rem;
    max-width: 560px;
    margin: 0 auto;
    width: 100%;
}

.cta {
    display: block;
    width: 100%;
    padding: 1rem 1.25rem;
    border: none;
    border-radius: var(--radius, 10px);
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    min-height: 52px;
    transition: transform .12s ease, box-shadow .12s ease;
}

.cta:active { transform: scale(.98); }

.cta-primary {
    background: var(--primary, #1f3a5f);
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
}

.cta-secondary {
    background: transparent;
    color: var(--primary, #1f3a5f);
    border: 2px solid var(--primary, #1f3a5f);
}

/* ---------- Secciones ---------- */
.landing-section {
    padding: 1.75rem 1.25rem;
    max-width: 720px;
    margin: 0 auto;
    width: 100%;
}

.landing-section h2 {
    font-family: var(--font-heading, Georgia, serif);
    font-size: 1.35rem;
    margin-bottom: .75rem;
    color: var(--primary, #1f3a5f);
}

/* ---------- Amenidades ---------- */
.amenities-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
    gap: .75rem;
}

.amenity {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .35rem;
    text-align: center;
    font-size: .8rem;
    padding: .75rem .4rem;
    border-radius: var(--radius, 10px);
    background: rgba(127, 127, 127, .08);
}

.amenity svg {
    width: 28px;
    height: 28px;
    color: var(--accent, #c9a227);
}

/* ---------- Galería ---------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .5rem;
}

.gallery-item {
    display: block;
    border-radius: var(--radius, 10px);
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .2s ease;
}

.gallery-item:hover img { transform: scale(1.04); }

@media (min-width: 640px) {
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Sección de Mapa y Ubicación ---------- */
.landing-map {
    position: relative;
}

.map-address-card {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .85rem 1rem;
    background: rgba(0, 0, 0, .03);
    border-radius: var(--radius, 10px);
    margin-bottom: 1rem;
    font-size: .95rem;
    line-height: 1.4;
}

.map-icon {
    flex-shrink: 0;
    color: var(--primary, #1f3a5f);
}

.map-address-text {
    flex: 1;
    font-weight: 500;
}

.map-embed-wrapper {
    position: relative;
    width: 100%;
    border-radius: var(--radius, 10px);
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .08);
    background: #e2e8f0;
    margin-bottom: 1rem;
}

.map-embed-wrapper iframe {
    display: block;
    width: 100%;
    height: 280px;
    border: 0;
}

.map-actions {
    display: flex;
    justify-content: center;
    margin-top: .75rem;
}

.map-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1.4rem;
    font-size: .95rem;
    font-weight: 600;
}

/* El atributo hidden debe ganar a display:flex de modales/lightbox:
   sin esta regla, la clase (especificidad mayor que la regla UA de [hidden])
   deja el overlay oscuro visible desde que carga la página. */
.wifi-modal[hidden],
.lightbox[hidden],
.gdpr-modal[hidden] { display: none; }

/* ---------- Modal WiFi ---------- */
.wifi-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(0, 0, 0, .6);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}

.wifi-dialog {
    position: relative;
    background: var(--bg, #fff);
    color: var(--text, #2b2b2b);
    border-radius: var(--radius, 10px);
    padding: 1.75rem 1.5rem;
    width: 100%;
    max-width: 380px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .35);
}

.wifi-dialog h2 {
    font-family: var(--font-heading, Georgia, serif);
    color: var(--primary, #1f3a5f);
    margin-bottom: .75rem;
}

.wifi-ssid, .wifi-pass { margin-bottom: .5rem; }

.wifi-actions {
    display: flex;
    gap: .5rem;
    margin-top: 1rem;
}

.wifi-actions .cta { min-height: 44px; padding: .6rem .9rem; font-size: .9rem; }

.wifi-close {
    position: absolute;
    top: .4rem;
    right: .7rem;
    background: none;
    border: none;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    color: inherit;
}

/* ---------- Lightbox ---------- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(0, 0, 0, .9);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.lightbox img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: var(--radius, 10px);
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.2rem;
    cursor: pointer;
}

/* ---------- No disponible ---------- */
.landing-unavailable {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.25rem;
}

.unavailable-card {
    text-align: center;
    max-width: 420px;
}

.unavailable-card h1 {
    font-family: var(--font-heading, Georgia, serif);
    color: var(--primary, #1f3a5f);
    margin-bottom: .5rem;
}

/* ---------- Pie ---------- */
.landing-footer {
    margin-top: auto;
    text-align: center;
    padding: 1.5rem 1rem;
    font-size: .8rem;
    opacity: .75;
}

.landing-footer .lang-selector {
    display: flex;
    justify-content: center;
    gap: .75rem;
    margin-bottom: .5rem;
}

.landing-footer .lang-selector a {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
    opacity: .6;
}

.landing-footer .lang-selector a.active { opacity: 1; text-decoration: underline; }

/* ============================================================
   Variación por plantilla (body.theme-{slug})
   ============================================================ */

/* Clásico: tarjeta centrada, sobrio */
.theme-clasico { --radius: 6px; }
.theme-clasico .cta-block,
.theme-clasico .landing-section {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
}
.theme-clasico .cta-block { border-radius: var(--radius); margin-top: -1.5rem; position: relative; z-index: 5; }
.theme-clasico .landing-section { margin-top: 1rem; margin-bottom: 1rem; border-radius: var(--radius); }

/* Moderno: botones a todo ancho con esquinas muy redondeadas, aire */
.theme-moderno { --radius: 999px; }
.theme-moderno .cta { border-radius: 999px; }
.theme-moderno .cta-secondary { border-width: 0; background: rgba(14, 116, 144, .1); }
.theme-moderno .landing-hero { min-height: 50vh; }
.theme-moderno .hotel-logo { max-height: 140px; }
.theme-moderno .amenity,
.theme-moderno .gallery-item,
.theme-moderno .wifi-dialog,
.theme-moderno .lightbox img { border-radius: 16px; }

/* Elegante: cabecera centrada con serif, premium */
.theme-elegante { --radius: 4px; }
.theme-elegante .landing-hero {
    align-items: center;
    text-align: center;
    min-height: 55vh;
}
.theme-elegante .hero-overlay { padding-top: 4rem; padding-bottom: 2.5rem; }
.theme-elegante .hotel-logo { margin-left: auto; margin-right: auto; max-height: 160px; }
.theme-elegante .hotel-name { letter-spacing: .04em; }
.theme-elegante .hotel-tagline { font-style: italic; }
.theme-elegante .cta { text-transform: uppercase; letter-spacing: .08em; font-size: .95rem; }
.theme-elegante .cta-secondary { color: var(--accent, #d4af37); border-color: var(--accent, #d4af37); }

/* ------------------------------------------------------------
   Minimal: "lujo silencioso". Todo centrado y estrecho, mucho
   aire, foto del hero como avatar redondo sobre el título y
   galería en columna única (2 columnas en desktop).
   ------------------------------------------------------------ */
.theme-minimal { --radius: 14px; }
.theme-minimal .landing-hero {
    min-height: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.4rem;
    padding: 3.5rem 1.25rem 2rem;
    background: var(--bg, #fff);
}
.theme-minimal .hero-photo {
    position: relative;
    inset: auto;
    width: 132px;
    height: 132px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .12);
}
.theme-minimal .hero-overlay {
    background: none;
    color: var(--text, #4b5563);
    text-align: center;
    padding: 0 1.25rem;
}
.theme-minimal .hotel-name {
    font-weight: 400;
    letter-spacing: .02em;
    color: var(--primary, #1c1c1e);
}
/* El avatar redondo sigue siendo la foto; el logo solo sustituye al título */
.theme-minimal .hotel-logo {
    margin-left: auto;
    margin-right: auto;
    max-height: 110px;
    filter: none;
}
.theme-minimal .hotel-tagline { font-weight: 300; opacity: .8; }
.theme-minimal .cta-block { max-width: 420px; gap: .6rem; padding-top: .5rem; }
.theme-minimal .cta { font-weight: 500; min-height: 48px; }
.theme-minimal .cta-primary { box-shadow: none; }
.theme-minimal .landing-section { max-width: 560px; padding-top: 2.5rem; padding-bottom: 2.5rem; }
.theme-minimal .landing-section h2 {
    text-align: center;
    font-size: 1.05rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--text, #4b5563);
    margin-bottom: 1.25rem;
}
.theme-minimal .amenities-list { grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); }
.theme-minimal .amenity { background: none; }
.theme-minimal .gallery-grid { grid-template-columns: 1fr; gap: .9rem; }
.theme-minimal .gallery-item { aspect-ratio: 3 / 2; }
@media (min-width: 640px) {
    .theme-minimal .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ------------------------------------------------------------
   Urbano: tema oscuro de ciudad. Hero casi a pantalla completa
   con el título grande centrado sobre la foto, CTAs en grid 2x2
   a todo ancho, amenidades como chips oscuros y galería pegada
   sin márgenes.
   ------------------------------------------------------------ */
.theme-urbano { --radius: 0px; }
.theme-urbano .landing-hero {
    min-height: 88vh;
    align-items: stretch;
}
.theme-urbano .hero-overlay {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 1.25rem;
    background: linear-gradient(rgba(0, 0, 0, .45), rgba(0, 0, 0, .78));
}
.theme-urbano .landing-hero.no-photo .hero-overlay {
    background: linear-gradient(rgba(0, 0, 0, .35), rgba(0, 0, 0, .55));
}
.theme-urbano .hotel-name {
    font-size: clamp(2.4rem, 9vw, 4.6rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .03em;
    line-height: 1.05;
}
.theme-urbano .hotel-logo {
    margin-left: auto;
    margin-right: auto;
    max-height: 200px;
    max-width: min(80vw, 480px);
    margin-bottom: 1.2rem;
}
.theme-urbano .hotel-tagline { font-size: clamp(1rem, 4vw, 1.3rem); opacity: .85; }
.theme-urbano .cta-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    max-width: none;
    padding: 2px 0 0;
    background: var(--bg, #0c0c0e);
}
.theme-urbano .cta {
    border-radius: 0;
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.theme-urbano .cta-primary { color: #0c0c0e; box-shadow: none; }
.theme-urbano .cta-secondary {
    background: rgba(255, 255, 255, .07);
    border: 0;
    color: var(--text, #ececf1);
}
.theme-urbano .landing-section h2 {
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: 1.1rem;
    color: var(--text, #ececf1);
}
.theme-urbano .amenities-list {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}
.theme-urbano .amenity {
    flex-direction: row;
    gap: .5rem;
    padding: .55rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
}
.theme-urbano .amenity svg { width: 20px; height: 20px; }
.theme-urbano .gallery { max-width: none; padding: 0; }
.theme-urbano .gallery h2 { padding: 1.75rem 1.25rem .9rem; }
.theme-urbano .gallery-grid { gap: 2px; grid-template-columns: repeat(2, 1fr); }
.theme-urbano .gallery-item { border-radius: 0; }
@media (min-width: 640px) {
    .theme-urbano .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ------------------------------------------------------------
   Boutique: editorial asimétrico. Hero partido texto/foto en
   desktop (apilado en móvil), título con línea de acento
   vertical, "sobre nosotros" con capitular y dos columnas,
   CTAs como enlaces subrayados y galería en grid uniforme 4/5.
   ------------------------------------------------------------ */
.theme-boutique { --radius: 2px; }
.theme-boutique .landing-hero {
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg, #f6f1e8);
}
.theme-boutique .hero-photo {
    position: relative;
    inset: auto;
    width: 100%;
    height: 38vh;
    order: 1;
}
.theme-boutique .hero-overlay {
    order: 2;
    background: none;
    color: var(--text, #2b2723);
    padding: 2rem 1.5rem 1.5rem;
}
.theme-boutique .landing-hero.no-photo .hero-overlay { padding-top: 3rem; }
.theme-boutique .hotel-name {
    border-left: 4px solid var(--accent, #b08d57);
    padding-left: 1rem;
    line-height: 1.1;
}
/* Logo alineado a la izquierda, con la línea de acento del título */
.theme-boutique .hotel-logo {
    max-height: 130px;
    margin-bottom: .9rem;
    filter: none;
}
.theme-boutique .hotel-tagline { font-style: italic; opacity: .85; }
@media (min-width: 720px) {
    .theme-boutique .landing-hero {
        display: grid;
        grid-template-columns: 1fr 1fr;
        min-height: 62vh;
    }
    .theme-boutique .landing-hero.no-photo { display: flex; }
    /* Altura fija en desktop: sin ella la foto manda sobre la fila del grid
       y una imagen vertical disparaba el alto del hero */
    .theme-boutique .hero-photo {
        order: 2;
        height: 62vh;
        width: 100%;
        object-fit: cover;
        align-self: start;
    }
    .theme-boutique .hero-overlay {
        order: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 3rem;
    }
    .theme-boutique .hotel-name { font-size: clamp(2rem, 4vw, 3.2rem); }
}
.theme-boutique .cta-block { max-width: 640px; gap: .4rem; }
.theme-boutique .cta {
    background: none;
    border: 0;
    border-bottom: 2px solid var(--accent, #b08d57);
    border-radius: 0;
    color: var(--primary, #1c1a17);
    box-shadow: none;
    font-family: var(--font-heading, Georgia, serif);
    font-size: 1.15rem;
    font-weight: 400;
    letter-spacing: .04em;
    min-height: 0;
    padding: .8rem .25rem .45rem;
    text-align: left;
    width: fit-content;
}
.theme-boutique .cta-block { align-items: flex-start; }
.theme-boutique .landing-section { max-width: 880px; }
.theme-boutique .landing-section h2 {
    font-size: 1.5rem;
    font-weight: 400;
    border-left: 3px solid var(--accent, #b08d57);
    padding-left: .8rem;
}
.theme-boutique .about p::first-letter {
    float: left;
    font-family: var(--font-heading, Georgia, serif);
    font-size: 3.1em;
    line-height: .85;
    padding: .06em .12em 0 0;
    color: var(--accent, #b08d57);
}
@media (min-width: 720px) {
    .theme-boutique .about p { columns: 2; column-gap: 2.5rem; }
}
/* Galería uniforme (grid 4/5 editorial): todas las fotos salen al mismo
   tamaño sea cual sea su proporción original (object-fit: cover de la base) */
.theme-boutique .gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }
.theme-boutique .gallery-item { aspect-ratio: 4 / 5; margin-bottom: 0; }
.theme-boutique .gallery-item img { height: 100%; }
@media (min-width: 720px) {
    .theme-boutique .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
.theme-boutique .amenities-list { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
.theme-boutique .amenity { background: none; border: 1px solid rgba(127, 127, 127, .3); }

/* ------------------------------------------------------------
   Mediterráneo: luminoso, fresco y costero. Tonos azul cobalto,
   arena y blanco. Tarjetas con esquinas suaves y sutil sombra oceánica.
   ------------------------------------------------------------ */
.theme-mediterraneo { --radius: 14px; }
.theme-mediterraneo .landing-hero {
    min-height: 48vh;
    background: linear-gradient(135deg, #0284c7, #38bdf8);
}
.theme-mediterraneo .hero-overlay {
    background: linear-gradient(to top, rgba(15, 23, 42, .75), rgba(2, 132, 199, .15) 60%, transparent);
}
.theme-mediterraneo .hotel-name {
    font-weight: 700;
    letter-spacing: -.02em;
}
.theme-mediterraneo .cta-block,
.theme-mediterraneo .landing-section {
    background: #fff;
    border: 1px solid #e0f2fe;
    box-shadow: 0 8px 24px rgba(2, 132, 199, .06);
    border-radius: var(--radius);
}
.theme-mediterraneo .cta-primary {
    background: linear-gradient(135deg, #0284c7, #0369a1);
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(2, 132, 199, .35);
}
.theme-mediterraneo .cta-secondary {
    border-radius: 999px;
    border-color: #0284c7;
    color: #0284c7;
    background: #f0f9ff;
}
.theme-mediterraneo .amenity {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 12px;
}
.theme-mediterraneo .map-address-card {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
}

/* ------------------------------------------------------------
   Nórdico: minimalismo escandinavo, maderas claras, salvia y gris.
   Estructura sobria, esquinas precisas y alta legibilidad.
   ------------------------------------------------------------ */
.theme-nordico { --radius: 8px; }
.theme-nordico .landing-hero {
    min-height: 44vh;
    background: linear-gradient(135deg, #2d3748, #4a6b5d);
}
.theme-nordico .hero-overlay {
    background: linear-gradient(to top, rgba(45, 55, 72, .85), rgba(45, 55, 72, 0));
}
.theme-nordico .hotel-name {
    font-weight: 600;
    letter-spacing: -.01em;
}
.theme-nordico .cta-block,
.theme-nordico .landing-section {
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
    border-radius: var(--radius);
}
.theme-nordico .cta-primary {
    background: #2d3748;
    color: #f7f9f8;
    border-radius: 6px;
}
.theme-nordico .cta-secondary {
    background: #f7f9f8;
    border: 1px solid #cbd5e1;
    color: #2d3748;
    border-radius: 6px;
}
.theme-nordico .amenity {
    background: #f7f9f8;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
}
.theme-nordico .map-address-card {
    background: #f7f9f8;
    border: 1px solid #e2e8f0;
}

/* ------------------------------------------------------------
   Rústico & Eco: inspiración casas rurales, viñedos y montaña.
   Tonos terracota, verde oliva y pergamino cálido.
   ------------------------------------------------------------ */
.theme-rustico { --radius: 12px; }
.theme-rustico .landing-hero {
    min-height: 46vh;
    background: linear-gradient(135deg, #78350f, #2d5a27);
}
.theme-rustico .hero-overlay {
    background: linear-gradient(to top, rgba(41, 37, 36, .85), rgba(41, 37, 36, 0));
}
.theme-rustico .hotel-name {
    font-family: var(--font-heading, Georgia, serif);
    font-weight: 700;
    letter-spacing: .02em;
}
.theme-rustico .cta-block,
.theme-rustico .landing-section {
    background: #fffcf7;
    border: 1px solid #f0e6d6;
    box-shadow: 0 4px 16px rgba(120, 53, 15, .06);
    border-radius: var(--radius);
}
.theme-rustico .cta-primary {
    background: #b45309;
    color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(180, 83, 9, .25);
}
.theme-rustico .cta-secondary {
    background: #fdf6ec;
    border: 1px solid #d97706;
    color: #92400e;
    border-radius: 8px;
}
.theme-rustico .amenity {
    background: #fdf6ec;
    border: 1px solid #f5ebd9;
    border-radius: 8px;
}
.theme-rustico .map-address-card {
    background: #fdf6ec;
    border: 1px solid #f5ebd9;
}

/* ------------------------------------------------------------
   Gran Lujo Oro: fondo oscuro de alta gama, acentos oro pulido,
   detalles refinados para hoteles 5 estrellas y suites exclusivas.
   ------------------------------------------------------------ */
.theme-luxury-gold { --radius: 4px; }
.theme-luxury-gold {
    background: #0a0a0c;
    color: #f3f4f6;
}
.theme-luxury-gold .landing-hero {
    min-height: 52vh;
    background: linear-gradient(135deg, #18181b, #09090b);
}
.theme-luxury-gold .hero-overlay {
    background: linear-gradient(to top, rgba(10, 10, 12, .95), rgba(10, 10, 12, .2) 65%, transparent);
    text-align: center;
}
.theme-luxury-gold .hotel-name {
    color: #d4af37;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: clamp(1.8rem, 6vw, 3rem);
}
.theme-luxury-gold .hotel-tagline {
    color: #e5e7eb;
    letter-spacing: .05em;
}
.theme-luxury-gold .cta-block,
.theme-luxury-gold .landing-section {
    background: #121216;
    border: 1px solid rgba(212, 175, 55, .3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, .45);
    border-radius: var(--radius);
}
.theme-luxury-gold .landing-section h2 {
    color: #d4af37;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: 1.15rem;
}
.theme-luxury-gold .cta-primary {
    background: linear-gradient(135deg, #d4af37, #aa820a);
    color: #0a0a0c;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    border-radius: 4px;
    box-shadow: 0 4px 16px rgba(212, 175, 55, .3);
}
.theme-luxury-gold .cta-secondary {
    background: rgba(212, 175, 55, .08);
    border: 1px solid rgba(212, 175, 55, .5);
    color: #d4af37;
    letter-spacing: .06em;
    text-transform: uppercase;
    border-radius: 4px;
}
.theme-luxury-gold .amenity {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(212, 175, 55, .2);
    border-radius: 4px;
    color: #e5e7eb;
}
.theme-luxury-gold .amenity svg { stroke: #d4af37; }
.theme-luxury-gold .map-address-card {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(212, 175, 55, .2);
    color: #e5e7eb;
}
.theme-luxury-gold .map-icon { color: #d4af37; }
.theme-luxury-gold .wifi-dialog {
    background: #121216;
    border: 1px solid rgba(212, 175, 55, .4);
    color: #f3f4f6;
}
.theme-luxury-gold .wifi-dialog h2 { color: #d4af37; }

/* ============================================================
   Banner de cookies GDPR (fase 5): las landings no cargan app.css,
   así que los estilos del banner se duplican aquí (mismo aspecto).
   ============================================================ */
.gdpr-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 300;
    background: #0b3540;
    color: #e2e8f0;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.25);
    font-family: system-ui, -apple-system, Roboto, sans-serif;
}
.gdpr-banner-text { max-width: 640px; font-size: 0.92rem; }
.gdpr-policy-link { color: #7dd3fc; text-decoration: underline; }
.gdpr-banner-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.gdpr-banner .btn {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    border-radius: 10px;
    border: 2px solid transparent;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
}
.gdpr-banner .btn-primary { background: #0e7490; color: #fff; }
.gdpr-banner .btn-outline { border-color: #cbd5e1; color: #cbd5e1; background: transparent; }
.gdpr-modal {
    position: fixed;
    inset: 0;
    z-index: 310;
    background: rgba(15, 40, 55, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    font-family: system-ui, -apple-system, Roboto, sans-serif;
}
.gdpr-modal-box {
    background: #fff;
    border-radius: 10px;
    padding: 1.6rem;
    max-width: 480px;
    width: 100%;
    color: #1f2937;
}
.gdpr-modal-box h2 { font-size: 1.2rem; margin-bottom: 1rem; }
.gdpr-toggle { display: flex; align-items: center; gap: 0.6rem; padding: 0.6rem 0; border-bottom: 1px solid #e5e7eb; font-weight: 500; }
.gdpr-toggle input { width: 1.1rem; height: 1.1rem; }
.gdpr-modal-box .btn {
    margin-top: 1.2rem;
    padding: 0.6rem 1.4rem;
    border-radius: 10px;
    border: 2px solid transparent;
    font-weight: 600;
    cursor: pointer;
    background: #0e7490;
    color: #fff;
}

/* ---------- Accesibilidad: movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
    .cta,
    .gallery-item img {
        transition: none;
    }
    .gallery-item:hover img,
    .cta:active {
        transform: none;
    }
}

/* ============================================================
   RTL (árabe): el layout sirve <html dir="rtl"> cuando el idioma
   de la landing es ar. La dirección base del texto ya la hereda
   el navegador; aquí se voltean solo los detalles que rompen:
   botones de cierre, la línea de acento de Boutique, la capitular
   y la alineación de sus CTAs.
   ============================================================ */
[dir="rtl"] .wifi-close { right: auto; left: .7rem; }
[dir="rtl"] .lightbox-close { right: auto; left: 1.25rem; }

[dir="rtl"] .theme-boutique .hotel-name {
    border-left: none;
    border-right: 4px solid var(--accent, #b08d57);
    padding-left: 0;
    padding-right: 1rem;
}
[dir="rtl"] .theme-boutique .landing-section h2 {
    border-left: none;
    border-right: 3px solid var(--accent, #b08d57);
    padding-left: 0;
    padding-right: .8rem;
}
[dir="rtl"] .theme-boutique .about p::first-letter {
    float: right;
    padding: .06em 0 0 .12em;
}
[dir="rtl"] .theme-boutique .cta { text-align: right; }
[dir="rtl"] .theme-boutique .cta-block { align-items: flex-end; }
