/* ========== RESET Y VARIABLES ========== */
:root {
    --color-primario: #fda73d;
    --color-primario-oscuro: #e8952b;
    --color-oscuro: #1a1a2e;
    --color-gris: #f5f5f5;
    --color-blanco: #ffffff;
    --sombra-suave: 0 10px 30px rgba(0,0,0,0.08);
    --sombra-fuerte: 0 20px 50px rgba(0,0,0,0.15);
    --transicion: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* ✅ Safe area insets para iPhone */
    --safe-area-inset-top: env(safe-area-inset-top, 0px);
    --safe-area-inset-bottom: env(safe-area-inset-bottom, 0px);
    --safe-area-inset-left: env(safe-area-inset-left, 0px);
    --safe-area-inset-right: env(safe-area-inset-right, 0px);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', sans-serif;
    background-color: #fafafa;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    /* ✅ AGREGAR ESTO PARA QUE EL FOOTER FUNCIONE */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
}

.contenedor {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== NAVEGACIÓN ========== */
nav {
    display: flex;
    align-items: center;
    padding: 0 30px;
    height: 80px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
    transition: var(--transicion);
    /* ✅ Respetar safe area en el nav */
    padding-top: calc(env(safe-area-inset-top, 0px) + 5px);
}

/* En desktop: fixed arriba */
@media (min-width: 769px) {
    nav {
        position: fixed;
        top: 0;
        left: 0;
    }
}

.logo {
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
}

.logo img {
    height: 55px;
    width: auto;
}

/* ========== MENU ESCRITORIO ========== */
.menu {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 5px;
}

.menu a {
    font-family: "Montserrat", sans-serif;
    text-decoration: none;
    color: #fff;
    padding: 10px 15px;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.5px;
    border-radius: 5px;
    transition: var(--transicion);
    position: relative;
}

.menu a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #ffffff;
    transition: var(--transicion);
}

.menu a:hover::after,
.menu a.activo::after {
    width: 70%;
}

.menu a:hover,
.menu a.activo {
    color: #ffffff;
    background: rgba(255,255,255,0.05);
}

.user-link {
    margin-left: 20px;
    background: #fff !important;
    color: #000 !important;
    padding: 8px 18px !important;
    border-radius: 25px !important;
    font-weight: 700 !important;
}

.user-link:hover {
    background: #ffffffad !important;
    color: #000 !important;
}

.user-link::after {
    display: none !important;
}

/* ========== OCULTAR ICONOS EN ESCRITORIO ========== */
@media (min-width: 769px) {
    .nav-icon {
        display: none !important;
    }
}

/* ========== MODAL DE CIERRE DE SESIÓN ========== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.modal-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-icono {
    font-size: 50px;
    margin-bottom: 15px;
}

.modal-card h3 {
    color: #1a1a2e;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.modal-card p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.modal-botones {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.btn-cerrar {
    background: #dc3545;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 700;
    font-family: 'Nunito', sans-serif;
    cursor: pointer;
    transition: 0.3s;
}

.btn-cerrar:hover {
    background: #c82333;
}

.btn-cancelar {
    background: #eee;
    color: #333;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 700;
    font-family: 'Nunito', sans-serif;
    cursor: pointer;
    transition: 0.3s;
}

.btn-cancelar:hover {
    background: #ddd;
}

/* ========== SLIDER ========== */
.slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    /* ✅ Ajustar altura para que no quede tapado */
    min-height: calc(100vh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
}
.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-contenido {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    width: 90%;
    max-width: 800px;
    z-index: 10;
    /* ✅ Espacio para que no choque con la Dynamic Island */
    margin-top: env(safe-area-inset-top, 0px);
}

.slide-subtitulo {
    display: inline-block;
    background: rgba(255, 255, 255, 0.74);
    padding: 8px 20px;
    backdrop-filter: blur(10px);
    color: #000;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.slide-contenido h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 3px 20px rgba(0,0,0,0.5);
    line-height: 1.1;
    margin: 10px 0;
}

.slide-ciudad {
    font-size: 2rem;
    font-style: italic;
    margin-bottom: 15px;
    text-shadow: 1px 2px 10px rgb(0, 0, 0);
}

.slide-ciudad strong {
    color: rgba(255, 217, 0, 0.918);
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 2px 2px 10px rgb(0, 0, 0);
}

.slide-descripcion {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: rgba(255,255,255,0.9);
}

.btn-reserva {
    display: inline-block;
    background: var(--color-primario);
    color: #000;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: var(--transicion);
}

.btn-reserva:hover {
    background: var(--color-primario-oscuro);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

/* Indicadores */
.slider-indicadores {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20;
}

.indicador {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: var(--transicion);
}

.indicador.active {
    background: var(--color-primario);
    transform: scale(1.3);
}

/* Flechas */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    color: white;
    border: none;
    font-size: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 20;
    transition: var(--transicion);
    display: flex;
    align-items: center;
    justify-content: center;
}

.prev { left: 20px; }
.next { right: 20px; }

.prev:hover, .next:hover {
    background: var(--color-primario);
    color: #000;
}

/* ========== VISIÓN ========== */
.vision {
    padding: 80px 0;
    text-align: center;
    background: #fff;
}

.etiqueta {
    display: inline-block;
    background: #fff3e0;
    color: var(--color-primario-oscuro);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.vision h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.8rem;
    color: var(--color-oscuro);
    margin: 10px 0 25px;
}

.vision p {
    max-width: 800px;
    margin: 0 auto 15px;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
}

.vision-llamada {
    font-size: 1.2rem !important;
    color: var(--color-primario-oscuro) !important;
    font-weight: 600;
}

/* ========== CONTACTO RÁPIDO ========== */
.contacto-rapido {
    padding: 60px 0;
    background: #fafafa;
}

.contacto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: center;
}

.contacto-item {
    padding: 30px;
    background: #fff;
    border-radius: 15px;
    box-shadow: var(--sombra-suave);
    transition: var(--transicion);
}

.contacto-icono img {
    width: 40px;
    height: auto;
}

.contacto-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--sombra-fuerte);
}

.contacto-icono {
    font-size: 40px;
    margin-bottom: 15px;
}

.contacto-item h3 {
    font-size: 1.2rem;
    color: var(--color-oscuro);
    margin-bottom: 15px;
    border-bottom: 2px solid var(--color-primario);
    padding-bottom: 10px;
    display: inline-block;
}

.contacto-item p {
    color: #666;
    line-height: 1.8;
    font-size: 14px;
}

.redes-iconos {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.redes-iconos img {
    width: 35px;
    height: 35px;
    transition: var(--transicion);
}

.redes-iconos img:hover {
    transform: scale(1.2);
}

/* ========== SERVICIOS Y EVENTOS (sección fusionada, home) ========== */
.servicios-eventos {
    padding: 80px 0;
    background: #fafafa;
    text-align: center;
}

.encabezado-seccion-home {
    text-align: center;
    margin-bottom: 50px;
}

.encabezado-seccion-home h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.6rem;
    color: var(--color-oscuro);
    margin: 10px 0 12px;
}

.encabezado-seccion-home p {
    color: #777;
    font-size: 1.05rem;
    max-width: 650px;
    margin: 0 auto;
}

/* --- mini grid de servicios (íconos) --- */
.servicios-mini-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-bottom: 55px;
}

.servicio-mini {
    background: #fff;
    border-radius: 14px;
    padding: 22px 10px;
    box-shadow: var(--sombra-suave);
    transition: var(--transicion);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.servicio-mini:hover {
    transform: translateY(-6px);
    box-shadow: var(--sombra-fuerte);
}

.servicio-mini img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.servicio-mini span {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-oscuro);
    line-height: 1.3;
}

/* --- mini grid de eventos (fotos con overlay) --- */
.eventos-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.evento-mini {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 260px;
    box-shadow: var(--sombra-suave);
    transition: var(--transicion);
    cursor: pointer;
}

.evento-mini:hover {
    transform: translateY(-6px);
    box-shadow: var(--sombra-fuerte);
}

.evento-mini img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.evento-mini:hover img {
    transform: scale(1.06);
}

.evento-mini-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 18px 20px;
    text-align: left;
    background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0));
}

.evento-mini-overlay h3 {
    color: #fff;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.35rem;
    margin-bottom: 4px;
}

.evento-mini-overlay span {
    color: var(--color-primario);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.servicios-eventos-cta {
    margin-top: 40px;
}

.btn-outline {
    display: inline-block;
    padding: 13px 32px;
    border: 2px solid var(--color-oscuro);
    color: var(--color-oscuro);
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transicion);
}

.btn-outline:hover {
    background: var(--color-oscuro);
    color: #fff;
}

/* --- Modal de detalle de evento --- */
.modal-evento-card {
    background: #fff;
    border-radius: 20px;
    max-width: 780px;
    width: 92%;
    max-height: 88vh;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    animation: modalIn 0.3s ease;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.modal-evento-card img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
    border-radius: 20px 0 0 20px;
}

.modal-evento-texto {
    padding: 35px 30px;
    text-align: left;
}

.modal-evento-capacidad {
    display: inline-block;
    background: #fff3e0;
    color: var(--color-primario-oscuro);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.modal-evento-texto h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.7rem;
    color: var(--color-oscuro);
    margin-bottom: 12px;
}

.modal-evento-texto p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 18px;
}

.modal-evento-texto ul {
    list-style: none;
    padding: 0;
}

.modal-evento-texto ul li {
    padding: 6px 0;
    color: #444;
    font-size: 0.9rem;
    border-bottom: 1px solid #f0f0f0;
}

.modal-evento-texto ul li::before {
    content: '✓';
    color: var(--color-primario);
    font-weight: 700;
    margin-right: 10px;
}

.modal-evento-cerrar {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.9);
    color: #333;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

@media (max-width: 700px) {
    .modal-evento-card { grid-template-columns: 1fr; }
    .modal-evento-card img { border-radius: 20px 20px 0 0; height: 200px; min-height: unset; }
}

@media (max-width: 900px) {
    .servicios-mini-grid { grid-template-columns: repeat(3, 1fr); }
    .eventos-mini-grid { grid-template-columns: 1fr; }
}

@media (max-width: 500px) {
    .servicios-mini-grid { grid-template-columns: repeat(2, 1fr); }
}


.footer-principal {
    background: var(--color-oscuro);
    color: #fff;
    padding: 60px 0 0;
    /* ✅ Esto empuja el footer hacia abajo */
    margin-top: auto;
    width: 100%;
}

.footer-contenido {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 40px;
    flex-wrap: wrap;
}

.footer-col h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 18px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: #fff;
}

.footer-col p {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    font-size: 14px;
    margin: 5px 0;
}

.footer-col a {
    display: block;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    padding: 5px 0;
    font-size: 14px;
    transition: var(--transicion);
}

.footer-col a:hover {
    color: var(--color-primario);
    padding-left: 5px;
}

.footer-copy {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    margin-top: auto;
}

/* ===================================================== */
/* ========== RESPONSIVE - BOTTOM NAV ESTILO APP ========== */
@media (max-width: 768px) {
    /* ===== BODY CON FLEX PARA FOOTER ===== */
    body {
        display: flex !important;
        flex-direction: column !important;
        min-height: 100vh !important;
        min-height: 100dvh !important;
        /* Quitamos el padding-bottom del body para que no cree espacio extra vacío */
        padding-bottom: 0 !important; 
        padding-top: env(safe-area-inset-top, 0px) !important;
        background-color: var(--color-oscuro) !important; /* Asegura que el fondo coincida con el footer si sobra espacio */
    }

    /* ===== NAV SUPERIOR (SOLO EL LOGO) ===== */
    nav {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 60px !important;
        padding-top: calc(env(safe-area-inset-top, 10px) + 5px) !important;
        padding-left: calc(env(safe-area-inset-left, 15px) + 10px) !important;
        padding-right: calc(env(safe-area-inset-right, 15px) + 10px) !important;
        overflow: visible !important;
    }

    .logo {
        position: static !important;
        transform: none !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        width: auto !important;
    }

    .logo img {
        height: 35px !important;
    }

    /* ===== MENÚ FIJO EN LA PARTE INFERIOR ===== */
    .menu {
        display: flex !important;
        position: fixed !important;
        top: auto !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: calc(65px + env(safe-area-inset-bottom, 0px)) !important;
        background: #1a1a2e !important;
        box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.4) !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
        padding: 0 5px !important;
        padding-bottom: env(safe-area-inset-bottom, 0px) !important;
        justify-content: space-around !important;
        align-items: center !important;
        flex-direction: row !important;
        z-index: 999999 !important;
    }

    /* Cada enlace del menú - ESTILO APP */
    .menu a {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        flex: 1 !important;
        height: 100% !important;
        padding: 4px 0 !important;
        padding-bottom: calc(4px + env(safe-area-inset-bottom, 0px) / 2) !important;
        background: transparent !important;
        transition: var(--transicion);
        gap: 2px;
    }

    /* Eliminar línea decorativa del hover en móvil */
    .menu a::after {
        display: none !important;
    }

    /* ===== ICONOS ===== */
    .nav-icon {
        display: block !important;
        width: 22px !important;
        height: 22px !important;
        object-fit: contain;
        filter: invert(1) opacity(0.5);
        transition: var(--transicion);
    }

    /* ===== TEXTO PEQUEÑO DEBAJO ===== */
    .nav-text {
        display: block !important;
        font-size: 8px !important;
        font-weight: 700 !important;
        letter-spacing: 0.3px !important;
        color: rgba(255, 255, 255, 0.5) !important;
        transition: var(--transicion);
        text-align: center;
    }

    /* ===== ESTADO ACTIVO ===== */
    .menu a.activo .nav-icon {
        filter: invert(1) opacity(1) !important;
        transform: translateY(-1px) scale(1.05);
    }

    .menu a.activo .nav-text {
        color: var(--color-primario) !important;
    }

    .menu a.activo {
        color: var(--color-primario) !important;
    }
    .menu a img.nav-icon {
        width: 26px !important; /* Puedes subirlo o bajarlo según se vea mejor */
        height: auto !important;
    }
.menu a img[src*="logoaljibeoriginal"] {
        filter: brightness(0) invert(1) !important; /* Esto convierte cualquier imagen completamente a blanco puro */
        opacity: 0.5 !important; /* Mantiene la opacidad tenue igual que los demás iconos inactivos */
        width: 26px !important; /* Ajusta el tamaño si lo notas muy grande */
        height: auto !important;
    }

    .menu a.activo img[src*="logoaljibeoriginal"] {
        filter: brightness(0) invert(1) !important;
        opacity: 1 !important;
    }
    /* ===== HOVER (táctil) ===== */
    .menu a:hover {
        background: transparent !important;
        color: rgba(255, 255, 255, 0.8) !important;
    }

    .menu a:hover .nav-icon {
        filter: invert(1) opacity(0.7) !important;
    }

    /* ===== BOTÓN LOGIN EN MÓVIL ===== */
    .user-link {
        margin-left: 0 !important;
        padding: 4px 0 !important;
        background: transparent !important;
    }

    .user-link .nav-icon {
        filter: invert(1) opacity(0.4) !important;
    }

    .user-link.activo .nav-icon {
        filter: invert(1) opacity(1) !important;
    }

    .user-link .nav-text {
        color: rgba(255, 255, 255, 0.35) !important;
    }

    .user-link.activo .nav-text {
        color: var(--color-primario) !important;
        opacity: 1 !important;
    }

    /* ===== INDICADOR ACTIVO (punto decorativo) ===== */
    .menu a.activo::before {
        content: '' !important;
        position: absolute !important;
        top: 0 !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 20px !important;
        height: 3px !important;
        background: var(--color-primario) !important;
        border-radius: 0 0 10px 10px !important;
        display: block !important;
    }

    /* ===== AJUSTES DE CONTENIDO ===== */
    /* Ajuste del slider en móvil */
    .slider {
        height: 60vh !important;
        min-height: calc(400px + env(safe-area-inset-top, 0px)) !important;
        margin-top: 0 !important;
    }
    
    .slide-contenido {
        margin-top: env(safe-area-inset-top, 0px);
        padding-top: 10px;
    }
    
    .slide-contenido h1 {
        font-size: 2.5rem !important;
    }
    
    .slide-ciudad {
        font-size: 1.2rem !important;
    }
    
    .slide-ciudad strong {
        font-size: 1.8rem !important;
    }
    
    .slide-descripcion {
        font-size: 0.95rem !important;
        padding: 0 20px !important;
    }

    .btn-reserva {
        padding: 10px 25px !important;
        font-size: 0.85rem !important;
    }

    .slide-subtitulo {
        font-size: 10px !important;
        padding: 5px 14px !important;
    }

    .prev, .next {
        width: 32px !important;
        height: 32px !important;
        font-size: 14px !important;
    }

    .prev { left: 8px !important; }
    .next { right: 8px !important; }

    .slider-indicadores {
        bottom: 20px !important;
        gap: 8px !important;
    }

    .indicador {
        width: 8px !important;
        height: 8px !important;
    }

    /* Ajuste de la sección visión */
    .vision {
        padding: 40px 0 !important;
    }

    .vision h2 {
        font-size: 1.8rem !important;
    }

    .vision p {
        font-size: 0.95rem !important;
        padding: 0 15px !important;
    }

    /* Ajuste de contacto */
    .contacto-rapido {
        padding: 30px 0 !important;
    }

    .contacto-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    .contacto-item {
        padding: 20px !important;
    }

    /* ===== AJUSTE DEL FOOTER ===== */
    .footer-principal {
        padding: 30px 0 calc(80px + env(safe-area-inset-bottom, 0px)) 0 !important; /* Metemos el espacio del menú flotante dentro del padding del footer */
        margin-top: auto !important;
        width: 100% !important;
        background: var(--color-oscuro) !important;
    }

    .footer-contenido {
        flex-direction: column !important;
        text-align: center !important;
        gap: 25px !important;
        padding-bottom: 25px !important;
    }

    .footer-col h3::after {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    .footer-col a:hover {
        padding-left: 0 !important;
    }

    /* ===== MODAL EN MÓVIL ===== */
    .modal-card {
        padding: 25px 20px !important;
        margin: 0 15px !important;
    }

    .modal-botones {
        flex-direction: column !important;
        gap: 10px !important;
    }

    .btn-cerrar, .btn-cancelar {
        width: 100% !important;
        padding: 12px !important;
    }
}

/* ========== AJUSTES EXTRA PARA PANTALLAS MUY PEQUEÑAS ========== */
@media (max-width: 400px) {
    .menu {
        height: 58px !important;
    }

    .nav-icon {
        width: 22px !important;
        height: 22px !important;
    }

    .nav-text {
        font-size: 7px !important;
    }

    .slide-contenido h1 {
        font-size: 2rem !important;
    }

    .slide-ciudad strong {
        font-size: 1.4rem !important;
    }

    .btn-reserva {
        padding: 8px 18px !important;
        font-size: 0.75rem !important;
    }

    .logo img {
        height: 30px !important;
    }
}