:root {
    --primary-blue: #003366; 
    --accent-red: #fb2222;   
    --gold-light: #f3e5ab;
    --gold-dark: #d4af37;
    --dark: #111111;
    --white: #ffffff;
    --bg: #fdfdfd;
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body { 
    font-family: 'Montserrat', sans-serif; 
    background: var(--bg); 
    color: var(--dark); 
    line-height: 1.6; 
    overflow-x: hidden;
}

/* PANTALLA DE CARGA CON GIRO RÁPIDO TIPO RADIAL CON BLUR */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.preloader-logo {
    height: 100px;
    width: auto;
    /* Giro veloz de 0.8s simulando estela de movimiento */
    animation: fastBlurSpin 0.8s infinite linear; 
}

@keyframes fastBlurSpin {
    0% {
        transform: rotate(0deg);
        filter: blur(0px);
    }
    50% {
        transform: rotate(180deg);
        filter: blur(2.5px); /* Desenfoque de velocidad en el punto medio */
    }
    100% {
        transform: rotate(360deg);
        filter: blur(0px);
    }
}

.preloader-fallback {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-blue);
    letter-spacing: 3px;
    animation: pulseGlow 1.5s infinite ease-in-out;
}

.preloader-bar {
    width: 120px;
    height: 3px;
    background: #e2e8f0;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.preloader-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-red));
    animation: loadingBar 1.2s infinite ease-in-out;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

@keyframes loadingBar {
    0% { left: -50%; }
    100% { left: 100%; }
}

/* NAVBAR LUXURY */
.navbar { 
    background: rgba(255, 255, 255, 0.95); 
    padding: 12px 0; 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    border-bottom: 3px solid var(--accent-red); 
    box-shadow: 0 4px 20px rgba(0,0,0,0.06); 
    backdrop-filter: blur(10px);
}

.nav-container { 
    max-width: 1200px; 
    margin: auto; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 0 20px;
}

.nav-links { 
    list-style: none; 
    display: flex; 
    gap: 35px; 
    align-items: center; 
}

.nav-links a { 
    text-decoration: none; 
    color: #222; 
    font-weight: 700; 
    text-transform: uppercase; 
    font-size: 13px; 
    letter-spacing: 1px;
    transition: 0.3s ease; 
}

.nav-links a:hover, .nav-links a.active { 
    color: var(--accent-red); 
}

.nav-logo { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
}

.nav-logo img { 
    height: 68px; 
    transition: transform 0.4s ease;
}

.nav-logo img:hover {
    transform: scale(1.05);
}

.logo-texto-fallback { 
    font-family: 'Playfair Display', serif; 
    font-weight: 700; 
    font-size: 18px; 
    color: var(--primary-blue); 
    letter-spacing: 2px; 
}

.nav-btn { 
    background: linear-gradient(135deg, var(--primary-blue), #002244); 
    color: white !important; 
    padding: 11px 26px; 
    border-radius: 50px; 
    box-shadow: 0 4px 15px rgba(0, 51, 102, 0.2);
}

.nav-btn:hover { 
    background: var(--accent-red); 
    box-shadow: 0 4px 15px rgba(251, 34, 34, 0.3);
    transform: translateY(-2px);
}

/* HERO HOME */
.hero-home { 
    height: 88vh; 
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.65)), url('Portada Hotel Apolo.png'); 
    background-size: cover; 
    background-position: center; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    color: white; 
    padding: 0 20px; 
}

.tagline { 
    text-transform: uppercase; 
    letter-spacing: 4px; 
    color: #f3f4f6; 
    font-weight: 400; 
    font-size: 14px; 
}

/* TITULO EN ROJO METÁLICO ELEGANTE */
.titulo-luxury {
    font-family: 'Playfair Display', serif; 
    font-size: 4.8rem; 
    line-height: 1.1; 
    margin: 15px 0; 
    font-weight: 700;
}

.titulo-luxury span {
    background: linear-gradient(135deg, #ff4d4d 0%, #fb2222 50%, #990000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0px 4px 10px rgba(0,0,0,0.6));
    letter-spacing: 1px;
}

.divider { 
    width: 90px; 
    height: 3px; 
    background: linear-gradient(90deg, transparent, var(--accent-red), transparent); 
    margin: 25px auto; 
}

/* BOTÓN CON DESTELLO DE CRISTAL */
.btn-luxury { 
    display: inline-block; 
    background: linear-gradient(135deg, var(--primary-blue) 0%, #002244 100%); 
    color: white; 
    padding: 16px 45px; 
    text-decoration: none; 
    font-weight: 700; 
    border-radius: 50px; 
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
    text-transform: uppercase; 
    font-size: 13px; 
    letter-spacing: 2px; 
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 51, 102, 0.3);
}

.btn-luxury::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 30%;
    height: 200%;
    background: linear-gradient(
        to right, 
        rgba(255,255,255,0) 0%, 
        rgba(255,255,255,0.4) 50%, 
        rgba(255,255,255,0) 100%
    );
    transform: rotate(25deg);
    animation: shineEffect 3.5s infinite ease-in-out;
}

@keyframes shineEffect {
    0% { left: -60%; }
    15% { left: 140%; }
    100% { left: 140%; }
}

.btn-luxury:hover { 
    transform: translateY(-4px); 
    background: linear-gradient(135deg, var(--accent-red) 0%, #cc1111 100%);
    box-shadow: 0 12px 30px rgba(251, 34, 34, 0.4); 
}

/* PLANTILLAS GENERALES */
.page-title { 
    padding: 70px 20px; 
    text-align: center; 
    background: linear-gradient(180deg, #f1f5f9 0%, var(--bg) 100%); 
}

.page-title h1 { 
    font-family: 'Playfair Display', serif; 
    font-size: 3.2rem; 
    color: var(--primary-blue); 
    margin-bottom: 12px; 
}

.page-title p { 
    color: #64748b; 
    font-size: 15px; 
    letter-spacing: 0.5px;
}

/* SECCIÓN HABITACIONES */
.seccion-habitacion { 
    padding: 50px 0; 
}

.premium-bg { 
    background-color: #f4f7fa; 
    border-top: 1px solid #e2e8f0; 
    border-bottom: 1px solid #e2e8f0; 
}

.habitacion-info-header h2 { 
    font-family: 'Playfair Display'; 
    font-size: 2.4rem; 
    color: var(--primary-blue); 
    margin-bottom: 18px; 
    text-align: center;
}

.mini-servicios { 
    display: flex; 
    justify-content: center; 
    gap: 12px; 
    flex-wrap: wrap; 
    margin-bottom: 25px;
}

.mini-servicios span { 
    background: white; 
    padding: 8px 16px; 
    border-radius: 50px; 
    font-size: 12px; 
    font-weight: 600; 
    color: #475569; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.03); 
    border: 1px solid #e2e8f0; 
}

.mini-servicios span i { 
    color: var(--accent-red); 
    margin-right: 6px; 
}

.menu-view { 
    padding: 10px 20px 30px 20px; 
}

.menu-wrapper { 
    max-width: 850px; 
    margin: auto; 
    border: 10px solid white; 
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15); 
    border-radius: 8px; 
    overflow: hidden; 
}

/* TARJETAS DE TARIFAS INTERACTIVAS (SIN BOTÓN EXPANDIR) */
.premium-card-tarifa {
    border: 1px solid rgba(0,0,0,0.08) !important;
    background: white;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.img-container {
    position: relative;
    overflow: hidden;
    background: #000;
}

.premium-card-tarifa .zoom-img {
    width: 100%;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.premium-card-tarifa:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.18) !important;
}

.premium-card-tarifa:hover .zoom-img {
    transform: scale(1.05);
}

.menu-overlay-hint { 
    padding: 16px; 
    font-size: 13px; 
    color: var(--primary-blue); 
    background: white; 
    font-weight: 700; 
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-top: 1px solid #f1f5f9;
    text-align: center;
}

/* UBICACIÓN - GLASSMORPHISM */
.contact-section-modern {
    padding: 80px 20px;
    background: radial-gradient(circle at top right, #f8fafc, #eff6ff);
}

.contact-container-modern {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 24px;
    padding: 45px;
    box-shadow: 0 20px 40px -15px rgba(0,0,0,0.05);
}

.contact-info-modern .sub-informacion {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-red);
    letter-spacing: 3px;
    display: block;
    margin-bottom: 8px;
}

.contact-info-modern h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.intro-contacto {
    color: #475569;
    font-size: 15px;
    margin-bottom: 35px;
}

.info-grid-modern {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.info-item-modern {
    display: flex;
    align-items: center;
    gap: 20px;
}

.info-icono {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
    box-shadow: 0 8px 16px rgba(0,0,0,0.06);
}

.info-icono.azul { background: linear-gradient(135deg, var(--primary-blue), #002244); }
.info-icono.rojo { background: linear-gradient(135deg, var(--accent-red), #cc1111); }

.info-texto-modern strong {
    font-size: 11px;
    text-transform: uppercase;
    color: #94a3b8;
    letter-spacing: 1px;
    display: block;
}

.info-texto-modern p {
    font-size: 15px;
    color: #1e293b;
    font-weight: 600;
}

.botones-contacto-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-contacto-modern {
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-contacto-modern.whatsapp {
    background: #25d366;
    color: white;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.25);
}

.btn-contacto-modern.maps {
    background: var(--primary-blue);
    color: white;
    box-shadow: 0 6px 20px rgba(0, 51, 102, 0.2);
}

.btn-contacto-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.map-area-modern {
    height: 520px;
}

.map-wrapper-shadow {
    width: 100%;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.18);
    border: 10px solid white;
}

/* FOOTER */
.footer-social { 
    background-color: #0d0d0d; 
    padding: 45px 0; 
    text-align: center; 
    color: white; 
    border-top: 4px solid var(--accent-red); 
}

.follow-text {
    font-size: 13px;
    letter-spacing: 2px;
    font-weight: 600;
    color: #94a3b8;
}

.social-btns { 
    display: flex; 
    justify-content: center; 
    gap: 20px; 
    margin: 20px 0; 
}

.social-btns a { 
    width: 48px; 
    height: 48px; 
    background: #1a1a1a; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    border-radius: 50%; 
    color: white; 
    text-decoration: none; 
    font-size: 20px; 
    transition: 0.3s ease; 
}

.btn-fb:hover { 
    background-color: #1877F2 !important; 
    transform: translateY(-4px); 
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.4);
}

.copy { 
    font-size: 11px; 
    color: #475569; 
    margin-top: 15px; 
    letter-spacing: 0.5px;
}

/* BOTÓN DE LLAMADA FLOTANTE CELULARES */
.btn-llamada-flotante { 
    position: fixed; 
    bottom: 25px; 
    left: 25px; 
    background: linear-gradient(135deg, #007bff, #0056b3); 
    color: white; 
    padding: 14px 24px; 
    border-radius: 50px; 
    text-decoration: none; 
    font-weight: 700; 
    display: none; 
    align-items: center; 
    gap: 10px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.3); 
    z-index: 999; 
    transition: 0.3s; 
    font-size: 13px; 
    letter-spacing: 0.5px;
    animation: pulso-llamada 2s infinite; 
}

@keyframes pulso-llamada {
    0%, 100% { transform: scale(1); box-shadow: 0 10px 30px rgba(0,123,255,0.3); }
    50% { transform: scale(1.05); box-shadow: 0 15px 35px rgba(0,123,255,0.5); }
}

/* APARECER ELEMENTOS AL NAVEGAR */
.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   AJUSTES EXCLUSIVOS PARA TELÉFONOS (MÓVIL / RESPONSIVO)
   ========================================================================== */
@media (max-width: 992px) {
    .nav-container { 
        flex-direction: column; 
        gap: 12px; 
        padding: 8px;
    }
    .nav-links { 
        gap: 20px; 
        flex-wrap: wrap; 
        justify-content: center;
    }
    .nav-logo img { height: 55px; }
    
    .hero-home { height: 75vh; }
    .titulo-luxury { font-size: 2.8rem; }
    .tagline { font-size: 11px; letter-spacing: 2px; }
    
    /* Reducción de títulos principales en páginas internas para que no abarquen tanto */
    .page-title {
        padding: 35px 15px 20px 15px; /* Menos espacio arriba y abajo */
    }
    .page-title h1 {
        font-size: 1.9rem !important; /* Más chico y estético */
        margin-bottom: 6px;
    }
    .page-title p {
        font-size: 13px;
    }

    /* Reducción de espacios en secciones de habitaciones */
    .seccion-habitacion {
        padding: 25px 0; /* Menos despegado */
    }
    .habitacion-info-header h2 {
        font-size: 1.6rem !important;
        margin-bottom: 12px;
    }

    /* Ajustes compactos para Ubicación */
    .contact-section-modern {
        padding: 25px 15px; /* Menos espacio lateral y vertical */
    }
    .contact-container-modern {
        grid-template-columns: 1fr;
        gap: 25px; /* Menos separación entre tarjeta y mapa */
    }
    .glass-card { 
        padding: 25px 20px; 
        text-align: center; 
        border-radius: 16px;
    }
    .contact-info-modern h2 {
        font-size: 1.8rem !important; /* Título secundario más pequeño en móvil */
        margin-bottom: 10px;
    }
    .intro-contacto {
        font-size: 13px;
        margin-bottom: 20px;
    }
    .info-grid-modern {
        gap: 15px;
        margin-bottom: 25px;
    }
    .info-item-modern { 
        flex-direction: column; 
        gap: 6px; 
    }
    .info-icono {
        width: 44px;
        height: 44px;
        font-size: 15px;
    }
    .botones-contacto-group { 
        justify-content: center; 
        gap: 10px;
    }
    .btn-contacto-modern {
        padding: 12px 20px;
        font-size: 12px;
        width: 100%; /* Botones completos en celular para mejor clic */
        justify-content: center;
    }
    .map-area-modern { 
        height: 320px; /* Tamaño controlado del mapa */
    }
    .map-wrapper-shadow {
        border: 5px solid white;
        border-radius: 16px;
    }

    .btn-llamada-flotante { display: flex; } 
}