/* =========================================
   RESERVA.CSS - Estilos básicos para el sistema de reservas
   ========================================= */

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    background-color: #0E4B5A;
    color: white;
    padding: 1.5rem 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.hotel-logo {
    max-height: 50px;
    max-width: 150px;
    object-fit: contain;
}

.hotel-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    color: white;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 2rem;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 3rem 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 2.5rem;
    color: #0E4B5A;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.hero-description {
    font-size: 1rem;
    color: #888;
    margin-bottom: 2rem;
}

/* CTA Section */
.cta-section {
    margin-top: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #0E4B5A;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s;
    margin-bottom: 1rem;
}

.cta-button:hover {
    background-color: #0a3a46;
}

.cta-text {
    margin-top: 1rem;
    color: #666;
}

.cta-text a {
    color: #0E4B5A;
    text-decoration: none;
}

.cta-text a:hover {
    text-decoration: underline;
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
}

.feature-card h3 {
    color: #0E4B5A;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: #666;
}

/* Hotel Info */
.hotel-info {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.hotel-info h2 {
    color: #0E4B5A;
    margin-bottom: 1.5rem;
}

.info-item {
    margin-bottom: 1rem;
    padding: 0.75rem;
    background-color: #f9f9f9;
    border-radius: 5px;
}

.info-item strong {
    color: #0E4B5A;
    display: block;
    margin-bottom: 0.25rem;
}

.info-item a {
    color: #0E4B5A;
    text-decoration: none;
}

.info-item a:hover {
    text-decoration: underline;
}

/* Reservation Form */
.reservation-form {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.reservation-form h3 {
    color: #0E4B5A;
    margin-bottom: 1rem;
}

.placeholder-text {
    color: #666;
    margin-bottom: 0.5rem;
}

/* Error Section */
.error-section {
    text-align: center;
    padding: 3rem 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.error-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.error-section h2 {
    color: #d32f2f;
    margin-bottom: 1rem;
}

.error-message {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1rem;
}

.error-description {
    color: #888;
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 1.5rem;
    margin-top: auto;
}

.footer p {
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .main-content {
        padding: 1rem;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   MOTOR DE RESERVA (estructura desde SysHotel)
   Layout como reserva en duro: header y banner_hero al 100%; contenido en container.
   ========================================= */
body.motor-page { margin: 0; min-height: 100vh; background-color: #ffffff; max-width: 100%; }
.motor-container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; width: 100%; box-sizing: border-box; }

/* Header: ancho completo, fijo al hacer scroll (PC y móvil) */
.motor-header {
    position: sticky;
    top: 0;
    z-index: 10002;
    width: 100%;
    background-color: #0E4B5A;
    color: #fff;
    padding: 1rem 0;
    padding-left: max(0px, env(safe-area-inset-left));
    padding-right: max(0px, env(safe-area-inset-right));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    min-height: 64px;
    box-sizing: border-box;
}
/* Mismo ancho que .motor-container; padding 3rem = 1.5rem container + 1.5rem .motor-seccion para alinear con títulos de secciones */
.motor-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3rem;
    padding-left: max(3rem, env(safe-area-inset-left));
    padding-right: max(3rem, env(safe-area-inset-right));
    box-sizing: border-box;
    min-height: 64px;
}
.motor-header-brand { display: flex; align-items: center; flex-shrink: 0; }
.motor-header-brand-link { display: flex; align-items: center; text-decoration: none; color: inherit; }
.motor-header-brand-link:hover { opacity: 0.9; }
.motor-logo { max-height: 56px; max-width: 180px; height: auto; width: auto; object-fit: contain; display: block; }

.motor-sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.motor-skip-link {
    position: absolute !important;
    left: 12px;
    top: -100px !important;
    z-index: 10000;
    background: #0e4b5a;
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
}
.motor-skip-link:focus { top: 12px !important; }
.motor-icon {
    width: 1em;
    height: 1em;
    display: inline-block;
    vertical-align: -0.15em;
    flex-shrink: 0;
}
.motor-header-action-icon .motor-icon { width: 20px; height: 20px; }
.room-amenidad-item .motor-icon,
.motor-aside-badge .motor-icon { width: 17px; height: 17px; }
.motor-gallery-overlay-btn .motor-icon { width: 14px; height: 14px; }
.motor-footer-contacto-linea .motor-icon,
.motor-footer-red-link .motor-icon { width: 16px; height: 16px; }
.motor-room-carousel-btn .motor-icon { width: 16px; height: 16px; }
.motor-hotel-name { font-size: 1.35rem; font-weight: 700; margin: 0; color: #fff; }
.motor-header[data-header-custom="1"] .motor-hotel-name { color: inherit; }

/* Iconos idioma y moneda a la derecha */
.motor-header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}
.motor-header-action {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.motor-header-action-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255,255,255,0.15);
    color: inherit;
    flex-shrink: 0;
    transition: background 0.2s, color 0.2s;
}
.motor-header-action:hover .motor-header-action-icon {
    background: rgba(255,255,255,0.28);
}
.motor-header-action-icon svg {
    width: 18px;
    height: 18px;
}
.motor-header-lang-label,
.motor-header-currency-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.15);
    color: inherit;
    border: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    padding: 0;
}
.motor-header-lang-label:hover,
.motor-header-currency-label:hover {
    background: rgba(255,255,255,0.28);
}
.motor-header-lang-label svg,
.motor-header-currency-label svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}
/* Contenedor del widget Google Translate: 1×1 fijo (nunca left:-9999px: en iOS infla el documento) */
#google_translate_element {
    position: fixed !important;
    left: 0 !important;
    top: 0 !important;
    width: 1px !important;
    height: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    opacity: 0 !important;
    pointer-events: none !important;
    border: 0 !important;
}
#google_translate_element .skiptranslate {
    font-size: 0.9rem !important;
}
/* Ocultar la barra / iframe que Google Translate inyecta (hueco blanco infinito en móvil) */
.goog-te-banner-frame.skiptranslate,
.goog-te-banner-frame,
body > .skiptranslate,
body > iframe.skiptranslate {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    max-height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
}
body { top: 0 !important; }
/* Sobrescribir estilos del select de Google Translate para que coincida con el header */
.motor-header .goog-te-combo,
.motor-header select.goog-te-combo {
    margin: 0 !important;
    padding: 0.35rem 1.75rem 0.35rem 0.5rem !important;
    font-size: 0.9rem !important;
    background: rgba(255,255,255,0.2) !important;
    color: inherit !important;
    border: 1px solid rgba(255,255,255,0.3) !important;
    border-radius: 6px !important;
    cursor: pointer;
    min-height: 36px;
    max-width: 140px;
}
.motor-header .goog-te-combo option,
.motor-header select.goog-te-combo option {
    background: #0E4B5A;
    color: #fff;
}
/* Dropdown moneda */
.motor-header-currency-select {
    margin: 0;
    padding: 0.35rem 1.75rem 0.35rem 0.5rem;
    font-size: 0.9rem;
    background: rgba(255,255,255,0.2);
    color: inherit;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 6px;
    cursor: pointer;
    min-height: 36px;
    max-width: 120px;
    appearance: auto;
}
.motor-header-currency-select option {
    background: #0E4B5A;
    color: #fff;
}
.motor-header[data-header-custom="1"] .motor-header-action-icon,
.motor-header[data-header-custom="1"] .motor-header-lang-label,
.motor-header[data-header-custom="1"] .motor-header-currency-label,
.motor-header[data-header-custom="1"] .motor-header-currency-select { color: inherit; }
.motor-header[data-header-custom="1"] .motor-header-currency-select option { background: #333; color: #fff; }

/* Responsive header: después de reglas base para que no las pisen */
@media (max-width: 768px) {
    .motor-header {
        min-height: 56px;
        padding-top: 0.65rem;
        padding-bottom: 0.65rem;
    }
    .motor-header-inner {
        padding: 0 1.25rem;
        padding-left: max(1.25rem, env(safe-area-inset-left));
        padding-right: max(1.25rem, env(safe-area-inset-right));
        min-height: 56px;
        gap: 0.65rem;
    }
}
@media (max-width: 767px) {
    .motor-header-brand {
        min-width: 0;
        flex: 1 1 auto;
    }
    .motor-header-brand-link {
        min-width: 0;
        max-width: 100%;
    }
    .motor-logo {
        max-height: 44px;
        max-width: min(180px, calc(100vw - 7.5rem));
        width: auto;
    }
    .motor-hotel-name {
        font-size: 1.05rem;
        line-height: 1.2;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 100%;
    }
    .motor-header-actions {
        gap: 0.45rem;
        flex-shrink: 0;
    }
    .motor-header-action-icon {
        width: 40px;
        height: 40px;
    }
    .motor-header .goog-te-combo,
    .motor-header select.goog-te-combo {
        max-width: min(120px, 28vw);
        font-size: 0.8rem !important;
        padding: 0.3rem 1.5rem 0.3rem 0.4rem !important;
        min-height: 40px;
    }
    .motor-header-currency-select {
        max-width: min(110px, 26vw);
        font-size: 0.8rem;
        min-height: 40px;
        padding: 0.3rem 1.5rem 0.3rem 0.4rem;
    }
}
@media (max-width: 380px) {
    .motor-header-inner {
        padding-left: max(0.75rem, env(safe-area-inset-left));
        padding-right: max(0.75rem, env(safe-area-inset-right));
        gap: 0.4rem;
    }
    .motor-logo {
        max-height: 40px;
        max-width: min(150px, calc(100vw - 6rem));
    }
    .motor-hotel-name {
        font-size: 0.95rem;
    }
}

/* Banner hero: ancho completo (fuera del container) */
.motor-banner-hero {
    width: 100%;
    position: relative;
    min-height: 320px;
    background: #0E4B5A;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    border-radius: 0;
    overflow: hidden;
}
/* Video hero: mismo comportamiento que /reserva (hero en duro) */
.motor-banner-hero--video {
    min-height: 520px;
    overflow: hidden;
}
.motor-banner-hero-video-wrap.hero-media {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}
.motor-banner-hero-video-wrap .video-bg {
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
}
/* Igual que #app .video-bg iframe en reserva en duro (cover effect) */
.motor-banner-hero-video-wrap .video-bg iframe {
    position: absolute;
    top: 50%; left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.77vh;
    transform: translate(-50%, -50%);
    border: none;
    pointer-events: none;
}
/* Hero en modo carrusel: varias fotos con avance automático y flechas */
.motor-banner-hero--carrusel {
    min-height: 420px;
    overflow: hidden;
    border-radius: 0;
}
.motor-banner-hero-carrusel {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
}
.motor-banner-hero-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}
.motor-banner-hero-slide.active {
    opacity: 1;
    z-index: 1;
}
.motor-banner-hero-slide img,
.motor-banner-hero-lcp {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.motor-banner-hero--imagen {
    min-height: 420px;
}
.motor-banner-hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, opacity 0.2s ease;
    opacity: 0.85;
    padding: 0;
}
.motor-banner-hero-arrow:hover {
    background: rgba(255,255,255,0.45);
    opacity: 1;
}
.motor-banner-hero-arrow:focus {
    outline: 2px solid rgba(255,255,255,0.6);
    outline-offset: 2px;
}
.motor-banner-hero-arrow--prev { left: 12px; }
.motor-banner-hero-arrow--next { right: 12px; }
.motor-banner-hero-arrow span { display: block; }

.motor-banner-hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.25); z-index: 1; }
.motor-banner-hero-content { position: relative; z-index: 2; padding: 2rem; }
.motor-banner-hero-title { font-size: 2.2rem; margin-bottom: 0.5rem; text-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.motor-banner-hero-subtitle { font-size: 1.1rem; opacity: 0.95; }

.motor-seccion { padding: 2.5rem 1.5rem; background: #fff; margin-bottom: 1px; }
.motor-seccion-inner { max-width: 1000px; margin: 0 auto; }
.motor-seccion-titulo { font-size: 1.6rem; color: #0E4B5A; margin-bottom: 1.25rem; }
.motor-tipos-habitaciones .motor-room-type-booking-footer--solo-reservar {
    justify-content: stretch;
}
.motor-tipos-habitaciones .motor-room-type-booking-footer--solo-reservar .motor-btn-reservar {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}
.motor-sobre-texto { line-height: 1.7; color: #444; }
/* Contacto: título y datos centrados, ordenados */
.motor-contacto-inner { text-align: center; }
.motor-contacto-titulo {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 1.5rem;
    text-align: center;
}
.motor-contacto-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem 2rem;
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}
.motor-contacto-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 1rem 1.25rem;
    background: #f8fafc;
    border-radius: 10px;
    min-width: 160px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.motor-contacto-icono { font-size: 1.5rem; line-height: 1; }
.motor-contacto-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
}
.motor-contacto-valor {
    font-size: 1rem;
    font-weight: 500;
    color: #1e293b;
    line-height: 1.4;
}
.motor-contacto-valor a {
    color: #0E4B5A;
    text-decoration: none;
}
.motor-contacto-valor a:hover { text-decoration: underline; }

.motor-info-item { padding: 0.5rem 0; }
.motor-info-item a { color: #0E4B5A; text-decoration: none; }
.motor-info-item a:hover { text-decoration: underline; }

.motor-room-types { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.motor-room-type-card { border: 1px solid #e2e8f0; border-radius: 8px; overflow: hidden; background: #fafafa; }
.motor-room-type-img { width: 100%; height: 200px; object-fit: cover; display: block; }
.motor-room-type-nombre { font-size: 1.2rem; padding: 1rem 1rem 0; margin: 0; color: #0E4B5A; }
.motor-room-type-desc { padding: 0.5rem 1rem; color: #555; font-size: 0.95rem; }
.motor-room-type-precio { padding: 0 1rem 1rem; font-weight: 600; color: #0E4B5A; }

.motor-promos-list { display: grid; gap: 1rem; }
.motor-promo-card { border: 1px solid #e2e8f0; border-radius: 8px; padding: 1.25rem; background: #f9fafb; }
.motor-promo-title { font-size: 1.15rem; margin-bottom: 0.5rem; color: #0E4B5A; }
.motor-promo-desc, .motor-promo-precio { margin: 0.25rem 0; font-size: 0.95rem; color: #555; }

.motor-carrusel-inner { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.motor-carrusel-item img { width: 100%; height: 180px; object-fit: cover; border-radius: 6px; display: block; }
.motor-carrusel-caption { font-size: 0.9rem; margin-top: 0.35rem; color: #666; }

/* Galería mosaico (carrusel_imagenes_1): estilo cliente — 1 grande vertical + 4 pequeñas en bloque, asignación aleatoria, click = imagen completa */
.motor-galeria-mosaico-seccion { padding: 2rem 0; }
.motor-galeria-mosaico-seccion .motor-galeria-mosaico-inner { max-width: 100%; width: 100%; padding: 0; }
.motor-galeria-mosaico-titulo { margin-bottom: 1rem; text-align: center; color: #0E4B5A; padding: 0 1.5rem; }
.motor-galeria-mosaico-inner:has(.motor-galeria-mosaico-descripcion-seccion) .motor-galeria-mosaico-titulo { margin-bottom: 0.35rem; }
.motor-galeria-mosaico-descripcion-seccion {
    margin: 0.15rem 1.5rem 0.75rem;
    padding: 0;
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.4;
    white-space: pre-line;
}
.motor-galeria-mosaico {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: 150px;
    grid-auto-flow: dense;
    gap: 4px;
    width: 100%;
}
.motor-galeria-mosaico-item {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    cursor: pointer;
    padding: 0;
    border: none;
    background: #111;
    width: 100%;
    height: 100%;
    min-height: 0;
    display: block;
    transition: opacity 0.2s;
}
.motor-galeria-item--tall { grid-row: span 2; }
.motor-galeria-mosaico-item:hover { opacity: 0.95; }
.motor-galeria-mosaico-item:focus { outline: 3px solid #0E4B5A; outline-offset: -3px; }
.motor-galeria-mosaico-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.3s ease;
}
.motor-galeria-mosaico-item:hover img { transform: scale(1.06); }
.motor-galeria-mosaico-item-caption { display: none; }
/* Overlay al hover: título de cada foto (caption) arriba, descripción debajo; caption_color y descripcion_color desde settings */
.motor-galeria-mosaico-hover {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
    gap: 0.15rem;
    padding: 1rem;
    background: rgba(0,0,0,0.65);
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: left;
    z-index: 2;
    overflow: auto;
}
.motor-galeria-mosaico-item:hover .motor-galeria-mosaico-hover { opacity: 1; }
.motor-galeria-hover-caption {
    display: block;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.95rem;
    line-height: 1.25;
    margin: 0;
    letter-spacing: 0.02em;
    flex-shrink: 0;
}
.motor-galeria-hover-desc {
    display: block;
    font-size: 0.85rem;
    line-height: 1.45;
    opacity: 1;
    margin: 0;
    flex-shrink: 0;
    white-space: pre-line;
}
.motor-galeria-mosaico-item-zoom {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s;
    font-size: 1.1rem;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
    z-index: 3;
}
.motor-galeria-mosaico-item:hover .motor-galeria-mosaico-item-zoom { opacity: 1; }
@media (min-width: 640px) {
    .motor-galeria-mosaico {
        grid-auto-rows: 190px;
        gap: 5px;
    }
}
@media (min-width: 900px) {
    .motor-galeria-mosaico {
        grid-auto-rows: 220px;
        gap: 6px;
    }
}
@media (max-width: 639px) {
    .motor-galeria-mosaico {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 150px;
    }
    .motor-galeria-mosaico-item {
        grid-column: auto !important;
        grid-row: auto !important;
    }
    .motor-galeria-mosaico-item:last-child:nth-child(odd) {
        grid-column: 1 / -1 !important;
    }
}

/* Lightbox galería: anclado al viewport (vive en body, no dentro de .motor-ani) */
body.motor-lightbox-lock {
    overflow: hidden;
}
.motor-lightbox-galeria {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100%;
    height: 100%;
    height: 100dvh;
    margin: 0;
    padding: 0;
    transform: none !important;
    inset: 0;
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
}
.motor-lightbox-galeria[hidden] { display: none !important; }
.motor-lightbox-galeria.motor-lightbox-open { display: flex; }
.motor-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.88);
    cursor: pointer;
}
.motor-lightbox-panel {
    position: relative;
    z-index: 1;
    width: min(94vw, 1200px);
    height: min(92dvh, 920px);
    max-width: 94vw;
    max-height: 92dvh;
    margin: 0 auto;
    padding: 52px 16px 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    overflow: hidden;
}
.motor-lightbox-img-wrap {
    position: relative;
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.motor-lightbox-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center center;
    border-radius: 8px;
    box-shadow: 0 12px 48px rgba(0,0,0,0.5);
    display: block;
    margin: 0 auto;
}
.motor-lightbox-text {
    padding: 0 60px;
    max-width: 100%;
    text-align: center;
}
.motor-lightbox-caption {
    margin: 0 0 4px 0;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
}
.motor-lightbox-desc {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.5;
    white-space: pre-line;
    color: rgba(255,255,255,0.8);
}
.motor-lightbox-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    color: #fff;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.2s;
    z-index: 10004;
}
.motor-lightbox-close:hover { background: rgba(255,255,255,0.45); }
.motor-lightbox-prev,
.motor-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: rgba(0,0,0,0.55);
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 10003;
}
.motor-lightbox-prev { left: 16px; }
.motor-lightbox-next { right: 16px; }
.motor-lightbox-prev:hover,
.motor-lightbox-next:hover { background: rgba(0,0,0,0.8); }
@media (max-width: 768px) {
    .motor-lightbox-panel {
        width: 100vw;
        height: 100vh;
        max-width: 100vw;
        max-height: 100vh;
        padding: 56px 12px 16px;
    }
    .motor-lightbox-prev { left: 6px; width: 40px; height: 40px; font-size: 1.5rem; }
    .motor-lightbox-next { right: 6px; width: 40px; height: 40px; font-size: 1.5rem; }
    .motor-lightbox-close { top: 10px; right: 10px; }
    .motor-lightbox-text { padding: 0 8px; }
}

.motor-banner-franja { background: #0E4B5A; color: #fff; }
.motor-banner-franja-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.motor-banner-franja-texto { margin: 0; font-size: 1.1rem; }
.motor-banner-franja-cta { color: #fff; background: rgba(255,255,255,0.2); padding: 0.5rem 1rem; border-radius: 6px; text-decoration: none; }
.motor-banner-franja-cta:hover { background: rgba(255,255,255,0.3); }

/* Banner franja ancho completo (imagen + url) */
.motor-banner-franja--full {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
    overflow: hidden;
}
.motor-banner-franja--full .motor-banner-franja-link { display: block; line-height: 0; }
.motor-banner-franja--full .motor-banner-franja-img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
    vertical-align: middle;
}
.motor-banner-franja--full .motor-banner-franja-inner--solo-texto {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}
.motor-banner-franja--full .motor-banner-franja-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}
.motor-banner-franja--full .motor-banner-franja-overlay .motor-banner-franja-inner {
    max-width: 900px;
    margin: 0;
    color: #fff;
    text-align: center;
}
.motor-banner-franja--full .motor-banner-franja-overlay .motor-banner-franja-cta { color: #fff; }
.motor-banner-franja--full.motor-seccion { position: relative; }

/* Modal de anuncio (solo index del motor) */
.motor-modal-promo {
    padding: 1.25rem;
}
.motor-modal-promo .motor-modal-box.motor-modal-promo-box {
    max-width: min(1100px, 94vw);
    width: 100%;
    padding: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
    max-height: none;
}
.motor-modal-promo-close {
    position: absolute;
    top: -14px;
    right: -14px;
    z-index: 2;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: #fff;
    color: #334155;
    font-size: 1.65rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.motor-modal-promo-close:hover { background: #f1f5f9; color: #0f172a; }
.motor-modal-promo-link { display: block; line-height: 0; border-radius: 14px; overflow: hidden; box-shadow: 0 24px 70px rgba(0,0,0,0.4); }
.motor-modal-promo-img {
    display: block;
    width: 100%;
    height: auto;
    max-height: min(82vh, 900px);
    object-fit: contain;
    border-radius: 14px;
    background: #fff;
}
.motor-modal-promo .motor-modal-backdrop { background: rgba(15, 23, 42, 0.62); }
@media (max-width: 700px) {
    .motor-modal-promo .motor-modal-box.motor-modal-promo-box { max-width: 96vw; }
    .motor-modal-promo-close { top: -10px; right: -6px; width: 38px; height: 38px; }
}

/* Ubicación: título y descripción centrados y apegados */
.motor-ubicacion .motor-seccion-inner { text-align: center; }
.motor-ubicacion .motor-seccion-titulo { margin-bottom: 0.35rem; }
.motor-ubicacion-descripcion {
    margin: 0.2rem auto 0.75rem;
    max-width: 640px;
    text-align: center;
    color: #555;
    line-height: 1.5;
}
.motor-ubicacion-direccion { margin: 0 0 1rem; color: #555; }
/* Mapa ancho completo (como banner_hero), fuera del inner */
.motor-ubicacion-mapa--full {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: 1rem;
    overflow: hidden;
}
.motor-ubicacion-mapa--full iframe {
    display: block;
    width: 100%;
    height: 400px;
    border: none;
}
@media (min-width: 768px) {
    .motor-ubicacion-mapa--full iframe { height: 450px; }
}
/* Reconocimientos: todo centrado; el link solo al hacer clic en la tarjeta, nunca se muestra la URL */
.motor-reconocimientos .motor-seccion-inner { text-align: center; }
.motor-reconocimientos-descripcion { margin: 0 auto 1.25rem; max-width: 640px; color: #555; line-height: 1.5; text-align: center; }
.motor-reconocimientos-carrusel {
    display: flex;
    justify-content: center;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    padding-bottom: 0.5rem;
    margin: 0 auto;
}
.motor-reconocimientos-carrusel::-webkit-scrollbar { height: 6px; }
.motor-reconocimientos-carrusel::-webkit-scrollbar-track { background: #f0f0f0; border-radius: 3px; }
.motor-reconocimientos-carrusel::-webkit-scrollbar-thumb { background: #c0c0c0; border-radius: 3px; }
.motor-reconocimientos-track {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding: 0.5rem;
    width: max-content;
    margin: 0 auto;
}
.motor-recon-item {
    scroll-snap-align: start;
    flex-shrink: 0;
    width: 160px;
    text-align: center;
}
.motor-recon-link, .motor-recon-link--no-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #fafafa;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.motor-recon-link:hover { border-color: #0E4B5A; box-shadow: 0 2px 8px rgba(14,75,90,0.12); color: #0E4B5A; }
.motor-recon-link--no-link { cursor: default; }
.motor-recon-item img {
    width: 100%;
    max-height: 80px;
    object-fit: contain;
    display: block;
}
.motor-recon-caption {
    font-size: 0.8rem;
    line-height: 1.3;
    color: #555;
}
.motor-recon-link:hover .motor-recon-caption { color: #0E4B5A; }
@media (min-width: 768px) {
    .motor-recon-item { width: 180px; }
    .motor-recon-item img { max-height: 90px; }
    .motor-recon-caption { font-size: 0.85rem; }
}

.motor-footer-block {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
    line-height: 0;
}
.motor-footer-deco,
.motor-footer-deco-silhouette {
    transition: none !important;
    animation: none !important;
}
.motor-footer-deco {
    margin: 0;
    margin-bottom: -3px;
    line-height: 0;
    font-size: 0;
    position: relative;
    z-index: 1;
}
.motor-footer-deco-silhouette {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1200 / 220;
    max-height: 300px;
    vertical-align: bottom;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center bottom;
    mask-position: center bottom;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-mode: alpha;
    mask-mode: alpha;
}
@media (max-width: 768px) {
    .motor-footer-deco {
        margin-bottom: -5px;
    }
}
@media (max-width: 700px) {
    .motor-footer-deco-silhouette {
        max-height: 170px;
    }
}
.motor-footer { width: 100%; background: #2c3e50; color: #fff; text-align: center; padding: 0; position: relative; z-index: 0; line-height: 1.6; }
.motor-footer::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -6px;
    height: 8px;
    background-color: inherit;
    pointer-events: none;
}
.motor-footer-inner { max-width: 1100px; margin: 0 auto; }
.motor-footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px 24px;
    align-items: stretch;
    padding: 40px 48px 24px 48px;
    max-width: 1100px;
    margin: 0 auto;
}
.motor-footer-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.motor-footer-col-center {
    align-items: center;
    text-align: center;
    gap: 0;
    height: 100%;
}
.motor-footer-col-center .motor-footer-logo-wrap {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 0;
    margin: 0 0 1.75rem;
    padding: 0 8px;
}
.motor-footer-col-center .motor-footer-logo {
    max-height: 100%;
    max-width: min(100%, 280px);
    width: auto;
    height: auto;
    margin-bottom: 0;
    object-fit: contain;
}
.motor-footer-col-center .motor-footer-text {
    margin-top: 0;
    flex-shrink: 0;
    width: 100%;
    max-width: 360px;
}
.motor-footer-col-center .motor-footer-legal {
    margin-top: 0.85rem;
    flex-shrink: 0;
    width: 100%;
    max-width: 360px;
}
.motor-footer-col-center .motor-footer-credits {
    margin-top: 1.35rem;
    flex-shrink: 0;
    width: 100%;
    max-width: 360px;
}
.motor-footer-col-right {
    align-items: flex-end;
    text-align: right;
}
.motor-footer-col-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    opacity: 0.7;
    margin: 0 0 8px 0;
}
.motor-footer-contacto {
    font-size: 13px;
    line-height: 1.6;
    opacity: 0.9;
    text-align: left;
}
.motor-footer-contacto-linea {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 6px;
}
.motor-footer-contacto-linea:last-child {
    margin-bottom: 0;
}
.motor-footer-contacto-linea i {
    width: 18px;
    text-align: center;
    margin-top: 2px;
    flex-shrink: 0;
    opacity: 0.85;
}
.motor-footer-contacto-linea a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.motor-footer-contacto-linea a:hover {
    opacity: 0.92;
}
.motor-footer-redes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 4px;
}
.motor-footer-red-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.25);
    color: inherit;
    text-decoration: none;
    font-size: 16px;
    transition: background 0.2s, border-color 0.2s;
}
.motor-footer-red-link:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.5);
    color: inherit;
}
.motor-footer-titulo { margin: 0 0 0.75rem; font-size: 1.25rem; font-weight: 600; }
.motor-footer-desc { margin: 0; font-size: 0.95rem; line-height: 1.6; opacity: 0.95; text-align: left; }
.motor-footer-logo-wrap { margin: 0 0 0.5rem; }
.motor-footer-logo {
    max-height: 70px;
    max-width: 180px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 8px;
}
.motor-footer-text { margin: 0; font-size: 0.9rem; opacity: 0.9; }
.motor-footer-credits { margin: 1rem 0 0; font-size: 0.85rem; opacity: 0.85; }
@media (max-width: 768px) {
    .motor-footer-grid {
        grid-template-columns: 1fr;
        padding: 28px 20px 20px 20px;
        gap: 28px;
        align-items: center;
    }
    .motor-footer-col,
    .motor-footer-col-left,
    .motor-footer-col-center,
    .motor-footer-col-right {
        align-items: center;
        text-align: center;
        width: 100%;
        height: auto;
    }
    .motor-footer-col-title {
        text-align: center;
        width: 100%;
    }
    .motor-footer-contacto {
        text-align: center;
        width: 100%;
        max-width: 320px;
    }
    .motor-footer-contacto-linea {
        justify-content: center;
    }
    .motor-footer-desc {
        text-align: center;
        max-width: 320px;
    }
    .motor-footer-col-center .motor-footer-logo-wrap {
        flex: none;
        min-height: auto;
        margin-bottom: 1.25rem;
        justify-content: center;
    }
    .motor-footer-col-center .motor-footer-logo {
        max-height: 96px;
        max-width: 240px;
        margin-left: auto;
        margin-right: auto;
    }
    .motor-footer-col-center .motor-footer-text,
    .motor-footer-col-center .motor-footer-legal,
    .motor-footer-col-center .motor-footer-credits {
        margin-left: auto;
        margin-right: auto;
    }
    .motor-footer-legal {
        text-align: center;
    }
    .motor-footer-credits {
        text-align: center;
    }
    .motor-footer-credits-brand {
        margin-left: auto;
        margin-right: auto;
    }
    .motor-footer-redes {
        justify-content: center;
        width: 100%;
    }
}
.motor-footer-credits-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    color: #fff;
    text-decoration: none;
    vertical-align: middle;
}
.motor-footer-credits-brand:hover { opacity: 0.92; color: #fff; }
.motor-footer-credits-text { text-decoration: underline; text-underline-offset: 2px; }
.motor-footer-credits-logo {
    height: 60px;
    width: auto;
    max-width: 220px;
    display: block;
    object-fit: contain;
}
.motor-footer[data-footer-custom="1"] .motor-footer-credits-brand { color: inherit; }
.motor-footer[data-footer-custom="1"] .motor-footer-credits-brand:hover { opacity: 0.9; color: inherit; }
.motor-footer-legal { margin: 0.5rem 0 0; font-size: 0.85rem; opacity: 0.9; }
.motor-footer-legal-sep { margin: 0 0.5rem; opacity: 0.7; }
.motor-footer-legal-link { background: none; border: none; color: inherit; font: inherit; cursor: pointer; text-decoration: underline; padding: 0; }
.motor-footer-legal-link:hover { opacity: 0.9; }
.motor-footer[data-footer-custom="1"] .motor-footer-legal-link { color: inherit; }

/* =========================================
   Animaciones por sección (scroll reveal) — vista pública motor
   ========================================= */
.motor-ani {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.motor-ani.motor-in-view {
    opacity: 1;
    transform: translateY(0);
}
/* Efecto escalonado en hijos (títulos, cards, ítems de contacto) */
.motor-ani.motor-in-view .motor-seccion-titulo {
    transition: opacity 0.5s ease 0.1s, transform 0.5s ease 0.1s;
}
.motor-ani.motor-stagger .motor-room-type-card,
.motor-ani.motor-stagger .motor-promo-card,
.motor-ani.motor-stagger .motor-contacto-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}
.motor-ani.motor-in-view.motor-stagger .motor-room-type-card:nth-child(1),
.motor-ani.motor-in-view.motor-stagger .motor-promo-card:nth-child(1),
.motor-ani.motor-in-view.motor-stagger .motor-contacto-item:nth-child(1) { transition-delay: 0.1s; }
.motor-ani.motor-in-view.motor-stagger .motor-room-type-card:nth-child(2),
.motor-ani.motor-in-view.motor-stagger .motor-promo-card:nth-child(2),
.motor-ani.motor-in-view.motor-stagger .motor-contacto-item:nth-child(2) { transition-delay: 0.18s; }
.motor-ani.motor-in-view.motor-stagger .motor-room-type-card:nth-child(3),
.motor-ani.motor-in-view.motor-stagger .motor-promo-card:nth-child(3),
.motor-ani.motor-in-view.motor-stagger .motor-contacto-item:nth-child(3) { transition-delay: 0.26s; }
.motor-ani.motor-in-view.motor-stagger .motor-room-type-card:nth-child(4),
.motor-ani.motor-in-view.motor-stagger .motor-promo-card:nth-child(4),
.motor-ani.motor-in-view.motor-stagger .motor-contacto-item:nth-child(4) { transition-delay: 0.34s; }
.motor-ani.motor-in-view.motor-stagger .motor-room-type-card:nth-child(5),
.motor-ani.motor-in-view.motor-stagger .motor-contacto-item:nth-child(5) { transition-delay: 0.42s; }
.motor-ani.motor-in-view.motor-stagger .motor-room-type-card:nth-child(6),
.motor-ani.motor-in-view.motor-stagger .motor-contacto-item:nth-child(6) { transition-delay: 0.5s; }
.motor-ani.motor-in-view.motor-stagger .motor-room-type-card,
.motor-ani.motor-in-view.motor-stagger .motor-promo-card,
.motor-ani.motor-in-view.motor-stagger .motor-contacto-item {
    opacity: 1;
    transform: translateY(0);
}
/* Galería: ítems del mosaico con ligero stagger */
.motor-ani.motor-galeria-ani .motor-galeria-mosaico-item {
    opacity: 0;
    transform: scale(0.96);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.motor-ani.motor-in-view.motor-galeria-ani .motor-galeria-mosaico-item:nth-child(1) { transition-delay: 0.05s; }
.motor-ani.motor-in-view.motor-galeria-ani .motor-galeria-mosaico-item:nth-child(2) { transition-delay: 0.1s; }
.motor-ani.motor-in-view.motor-galeria-ani .motor-galeria-mosaico-item:nth-child(3) { transition-delay: 0.15s; }
.motor-ani.motor-in-view.motor-galeria-ani .motor-galeria-mosaico-item:nth-child(4) { transition-delay: 0.2s; }
.motor-ani.motor-in-view.motor-galeria-ani .motor-galeria-mosaico-item:nth-child(5) { transition-delay: 0.25s; }
.motor-ani.motor-in-view.motor-galeria-ani .motor-galeria-mosaico-item:nth-child(6) { transition-delay: 0.3s; }
.motor-ani.motor-in-view.motor-galeria-ani .motor-galeria-mosaico-item:nth-child(7) { transition-delay: 0.35s; }
.motor-ani.motor-in-view.motor-galeria-ani .motor-galeria-mosaico-item:nth-child(8) { transition-delay: 0.4s; }
.motor-ani.motor-in-view.motor-galeria-ani .motor-galeria-mosaico-item:nth-child(9) { transition-delay: 0.45s; }
.motor-ani.motor-in-view.motor-galeria-ani .motor-galeria-mosaico-item {
    opacity: 1;
    transform: scale(1);
}
/* Barra de búsqueda: entrada suave */
.motor-booking-search-wrap.motor-ani {
    transform: translateY(16px);
}
@keyframes motor-hero-enter {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
.motor-banner-hero-content .motor-banner-hero-title,
.motor-banner-hero-content .motor-banner-hero-subtitle {
    animation: motor-hero-enter 0.4s ease both;
}
.motor-banner-hero-content .motor-banner-hero-subtitle { animation-delay: 0.08s; }
.motor-banner-hero.motor-hero-ready .motor-banner-hero-title,
.motor-banner-hero.motor-hero-ready .motor-banner-hero-subtitle { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    .motor-ani,
    .motor-ani.motor-in-view,
    .motor-ani.motor-stagger .motor-room-type-card,
    .motor-ani.motor-stagger .motor-promo-card,
    .motor-ani.motor-stagger .motor-contacto-item,
    .motor-ani.motor-galeria-ani .motor-galeria-mosaico-item,
    .motor-banner-hero .motor-banner-hero-title,
    .motor-banner-hero .motor-banner-hero-subtitle,
    .motor-banner-hero-content .motor-banner-hero-title,
    .motor-banner-hero-content .motor-banner-hero-subtitle {
        animation: none;
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Modales footer (Políticas / Términos) */
.motor-modal {
    position: fixed;
    inset: 0;
    width: auto;
    height: auto;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    box-sizing: border-box;
}
.motor-modal[hidden] { display: none !important; }
.motor-modal.motor-modal-open { display: flex; }
.motor-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.55); cursor: pointer; }
.motor-modal-box {
    position: relative;
    z-index: 1;
    background: #fff;
    color: #333;
    border-radius: 14px;
    max-width: 580px;
    width: 100%;
    max-height: 85vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: motorModalIn 0.22s ease-out;
}
@keyframes motorModalIn {
    from { opacity: 0; transform: scale(0.96) translateY(12px); }
    to   { opacity: 1; transform: scale(1)    translateY(0);    }
}
.motor-modal-header { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; border-bottom: 1px solid #e2e8f0; background: #f8fafc; flex-shrink: 0; }
.motor-modal-title { margin: 0; font-size: 1.2rem; color: #0E4B5A; }
.motor-modal-close { background: none; border: none; font-size: 1.75rem; line-height: 1; color: #64748b; cursor: pointer; padding: 0 0.25rem; }
.motor-modal-close:hover { color: #334155; }
.motor-modal-body { padding: 1.25rem; overflow-y: auto; font-size: 0.95rem; line-height: 1.6; color: #444; }

/* Modales sutiles (idioma / moneda en header booking) */
.motor-modal-sutil .motor-modal-backdrop { background: rgba(0,0,0,0.35); }
.motor-modal-sutil .motor-modal-box {
    max-width: 320px;
    width: 100%;
    box-shadow: 0 12px 40px rgba(0,0,0,0.18);
    animation: motor-modal-sutil-in 0.2s ease-out;
}
@keyframes motor-modal-sutil-in {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}
.motor-modal-sutil .motor-modal-body { padding: 1rem 1.25rem; }
.motor-lang-widget { min-height: 40px; }
.motor-lang-widget .goog-te-combo { width: 100%; max-width: 100%; padding: 0.5rem; border-radius: 8px; border: 1px solid #e2e8f0; font-size: 0.95rem; }
.motor-lang-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.35rem; }
.motor-lang-option {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.65rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    color: #334155;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}
.motor-lang-option:hover { background: #f1f5f9; border-color: #0E4B5A; color: #0E4B5A; }
.motor-lang-option.selected { background: #e0f2f1; border-color: #0E4B5A; color: #0E4B5A; font-weight: 600; }
.motor-currency-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.35rem; }
.motor-currency-option {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.65rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    color: #334155;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}
.motor-currency-option:hover { background: #f1f5f9; border-color: #0E4B5A; color: #0E4B5A; }
.motor-currency-option.selected { background: #e0f2f1; border-color: #0E4B5A; color: #0E4B5A; font-weight: 600; }

/* WhatsApp flotante */
.motor-whatsapp-float {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: auto;
    z-index: 900;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.5);
    transition: transform 0.2s, box-shadow 0.2s;
}
.motor-whatsapp-float:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6);
    color: #fff;
}
.motor-whatsapp-float svg { flex-shrink: 0; }

/* Botón subir (scroll to top), fijo a la derecha */
.motor-scroll-top-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 900;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #0E4B5A;
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(14, 75, 90, 0.4);
    transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
    opacity: 0;
    pointer-events: none;
}
.motor-scroll-top-float.visible {
    opacity: 1;
    pointer-events: auto;
}
.motor-scroll-top-float:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(14, 75, 90, 0.5);
    color: #fff;
}
.motor-scroll-top-float svg { flex-shrink: 0; }

/* Ocultar flotantes cuando está abierto el calendario móvil del motor de reservas */
.motor-page.motor-mobile-calendar-open .motor-whatsapp-float,
.motor-page.motor-mobile-calendar-open .motor-scroll-top-float {
    display: none !important;
}

/* Calendario / popovers de búsqueda siempre por encima de WhatsApp */
.motor-page.motor-search-popover-open .motor-whatsapp-float,
.motor-page.motor-search-popover-open .motor-scroll-top-float {
    z-index: 1090;
}

/* Contenedor del carrusel hero */
.motor-banner-hero-section-wrap {
    padding: 0;
    margin-bottom: -1px;
}
@media (max-width: 700px) {
    .motor-banner-hero {
        border-radius: 0;
        min-height: 260px;
    }
    .motor-banner-hero--carrusel {
        min-height: 280px;
    }
}

/* ── Page Loader base ── */
#motor-page-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease;
}
#motor-page-loader.motor-loader-visible {
    opacity: 1;
    pointer-events: all;
}

/* ── Modo glass (desktop / mobile capaz) ── */
#motor-page-loader[data-tipo="glass"] {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
#motor-page-loader[data-tipo="glass"] .motor-loader-glass {
    display: flex;
    background: rgba(255, 255, 255, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 18px 26px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
#motor-page-loader[data-tipo="glass"] .motor-loader-bar { display: none; }

/* ── Modo bar (mobile básico / reduce-motion) ── */
#motor-page-loader[data-tipo="bar"] {
    display: block;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    inset: 0 0 auto 0;
    height: 3px;
}
#motor-page-loader[data-tipo="bar"] .motor-loader-glass { display: none; }
#motor-page-loader[data-tipo="bar"] .motor-loader-bar {
    display: block;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, #14b8a6, #0891b2);
    border-radius: 0 2px 2px 0;
    animation: motor-bar-progress 2.5s ease-out forwards;
}
#motor-page-loader[data-tipo="bar"].motor-loader-visible .motor-loader-bar {
    animation: motor-bar-progress 2.5s ease-out forwards;
}

/* ── Dots (glass) ── */
.motor-loader-dots {
    display: flex;
    gap: 7px;
    align-items: center;
}
.motor-loader-dots span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    animation: motor-dot-pulse 1.2s ease-in-out infinite;
}
.motor-loader-dots span:nth-child(2) { animation-delay: 0.2s; }
.motor-loader-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes motor-dot-pulse {
    0%, 80%, 100% { transform: scale(0.65); opacity: 0.35; }
    40%           { transform: scale(1);    opacity: 1;    }
}
@keyframes motor-bar-progress {
    0%   { width: 0%; }
    30%  { width: 55%; }
    70%  { width: 80%; }
    100% { width: 95%; }
}

/* ========== Ficha de habitación (modal Más información) ========== */
#motor-modal-rt-info.motor-modal-rt-sheet.motor-modal-open,
#motor-modal-rt-info.motor-modal-open {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 1rem;
}
#motor-modal-rt-info .motor-modal-backdrop {
    background: rgba(15, 23, 42, 0.52);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}
#motor-modal-rt-info .motor-modal-box-extra-info,
#motor-modal-rt-info .motor-modal-box {
    max-width: 720px;
    width: min(720px, 100%);
    max-height: min(92vh, 920px);
    height: auto;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #fff;
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.28);
}
#motor-modal-rt-info .motor-modal-extra-info-header,
#motor-modal-rt-info .motor-modal-header {
    display: flex !important;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.15rem 1rem 1.4rem;
    background: #fff;
    border-bottom: 1px solid #eef2f6;
    gap: 0.75rem;
}
#motor-modal-rt-info .motor-modal-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #12232a;
    letter-spacing: -0.015em;
    line-height: 1.3;
    padding-right: 0.25rem;
}
#motor-modal-rt-info .motor-modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f1f5f9;
    font-size: 1.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #475569;
}
#motor-modal-rt-info .motor-modal-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}
#motor-modal-rt-info .motor-modal-extra-info-body,
#motor-modal-rt-info .motor-modal-body {
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
    display: block;
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
    -webkit-overflow-scrolling: touch;
}
#motor-modal-rt-info .motor-modal-rt-scroll {
    overflow: visible;
    padding: 0 1.4rem 1.2rem;
    flex: none;
    min-height: 0;
    height: auto;
}
#motor-modal-rt-info .motor-modal-extra-info-grid,
#motor-modal-rt-info .motor-modal-extra-info-grid.motor-modal-extra-info-no-image {
    display: block !important;
    min-height: 0 !important;
    height: auto !important;
    grid-template-columns: none !important;
    overflow: visible !important;
}
#motor-modal-rt-info .motor-modal-extra-info-media-wrap {
    position: relative;
    margin: 1.1rem 0 1.15rem;
    border-radius: 14px;
    overflow: hidden;
    background: #f1f5f9;
    height: 240px;
    max-height: 240px;
    display: block;
}
#motor-modal-rt-info .motor-modal-extra-info-grid.motor-modal-extra-info-no-image .motor-modal-extra-info-media-wrap {
    display: none;
}
#motor-modal-rt-info .motor-modal-extra-info-media,
#motor-modal-rt-info .motor-modal-rt-carousel,
#motor-modal-rt-info .motor-modal-rt-carousel .motor-room-carousel-track,
#motor-modal-rt-info .motor-modal-rt-carousel .motor-room-carousel-slide {
    width: 100%;
    height: 100%;
}
#motor-modal-rt-info .motor-modal-extra-info-media {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
#motor-modal-rt-info .motor-room-carousel,
#motor-modal-rt-info .motor-modal-rt-carousel {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    overflow: hidden;
    height: 240px !important;
    min-height: 0 !important;
    max-height: 240px;
    border-radius: 12px !important;
    background: #f1f5f9;
}
#motor-modal-rt-info .motor-modal-rt-carousel .motor-room-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
#motor-modal-rt-info .motor-modal-extra-info-content {
    display: block !important;
    visibility: visible !important;
    padding: 0;
    overflow: visible !important;
    height: auto !important;
    min-width: 0;
    min-height: 0;
}
#motor-modal-rt-info .motor-modal-rt-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 0.9rem;
}
#motor-modal-rt-info .motor-modal-rt-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 11px;
    border-radius: 999px;
    background: #f3f6f5;
    color: #334155;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
}
#motor-modal-rt-info .motor-modal-rt-chip .motor-icon,
#motor-modal-rt-info .motor-modal-rt-chip i {
    width: 15px;
    height: 15px;
    color: #1a6b5e;
    flex-shrink: 0;
}
#motor-modal-rt-info .motor-modal-extra-info-desc {
    margin: 0;
    padding: 0;
    border: 0;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    word-break: break-word;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #3f4a55;
    text-align: left;
}
#motor-modal-rt-info .motor-modal-rt-amenidades,
#motor-modal-rt-info #motor-modal-rt-info-amenidades {
    margin-top: 1.2rem !important;
    padding-top: 1.1rem !important;
    border-top: 1px solid #eef2f6 !important;
}
#motor-modal-rt-info .motor-modal-rt-section-title,
#motor-modal-rt-info #motor-modal-rt-info-amenidades > p,
#motor-modal-rt-info #motor-modal-rt-info-amenidades > h3,
#motor-modal-rt-info #motor-modal-rt-info-amenidades > h4 {
    margin: 0 0 0.75rem;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #7a8794;
}
#motor-modal-rt-info .motor-modal-rt-amenidades-grid,
#motor-modal-rt-info #motor-modal-rt-info-amenidades-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
}
#motor-modal-rt-info .motor-modal-rt-amenidad,
#motor-modal-rt-info .motor-modal-amenidad-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #334155;
    min-width: 0;
    line-height: 1.35;
}
#motor-modal-rt-info .motor-modal-rt-amenidad .motor-icon,
#motor-modal-rt-info .motor-modal-rt-amenidad i,
#motor-modal-rt-info .motor-modal-amenidad-item .motor-icon,
#motor-modal-rt-info .motor-modal-amenidad-item i {
    width: 16px;
    height: 16px;
    color: #1a6b5e;
    flex-shrink: 0;
}
#motor-modal-rt-info .motor-modal-rt-amenidad span,
#motor-modal-rt-info .motor-modal-amenidad-item span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}
#motor-modal-rt-info .motor-modal-rt-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.95rem 1.4rem;
    border-top: 1px solid #eef2f6;
    background: #fff;
    flex: 0 0 auto;
}
#motor-modal-rt-info .motor-modal-rt-footer[hidden],
#motor-modal-rt-info .motor-modal-rt-chips[hidden],
#motor-modal-rt-info .motor-modal-rt-amenidades[hidden],
#motor-modal-rt-info .motor-modal-rt-price-block[hidden] {
    display: none !important;
}
#motor-modal-rt-info .motor-modal-rt-footer-desde {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #8a96a3;
    margin: 0 0 2px;
}
#motor-modal-rt-info .motor-modal-rt-footer-precio {
    font-size: 1.35rem;
    font-weight: 700;
    color: #12232a;
    line-height: 1.1;
    margin: 0;
}
#motor-modal-rt-info .motor-modal-rt-footer-noche {
    font-size: 12px;
    color: #8a96a3;
    margin: 2px 0 0;
}
#motor-modal-rt-info .motor-modal-rt-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 168px;
    padding: 12px 20px;
    background: #1a6b5e;
    color: #fff !important;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none !important;
    transition: background 0.2s ease;
    white-space: nowrap;
}
#motor-modal-rt-info .motor-modal-rt-cta:hover,
#motor-modal-rt-info .motor-modal-rt-cta:focus {
    background: #0f4d43;
    color: #fff !important;
}
@media (max-width: 640px) {
    #motor-modal-rt-info.motor-modal-open { padding: 0.6rem; }
    #motor-modal-rt-info .motor-modal-box-extra-info,
    #motor-modal-rt-info .motor-modal-box {
        width: 100%;
        max-height: 94vh;
        border-radius: 16px;
    }
    #motor-modal-rt-info .motor-modal-rt-scroll { padding: 0 1rem 1rem; }
    #motor-modal-rt-info .motor-modal-extra-info-media-wrap,
    #motor-modal-rt-info .motor-room-carousel,
    #motor-modal-rt-info .motor-modal-rt-carousel {
        height: 200px !important;
        max-height: 200px !important;
        margin-top: 0.9rem;
    }
    #motor-modal-rt-info .motor-modal-rt-amenidades-grid,
    #motor-modal-rt-info #motor-modal-rt-info-amenidades-grid {
        grid-template-columns: 1fr;
    }
    #motor-modal-rt-info .motor-modal-rt-footer {
        flex-direction: column;
        align-items: stretch;
        padding: 0.9rem 1rem 1rem;
    }
    #motor-modal-rt-info .motor-modal-rt-cta {
        width: 100%;
        min-width: 0;
        padding: 13px 16px;
    }
}
