/* ==========================================================================
   HEADER ALONSO CAFE - MINIMALISTA & OSCURO
   ========================================================================== */

.alonso-header {
    position: fixed; /* <-- ESTO LO HACE STICKY */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 25px 0;
    background-color: var(--brand-black); 
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); 
    transition: all 0.4s ease;
}

.header-inner-wrap {
    height: 100%;
}

/* --- IZQUIERDA: LOGO TEXTUAL --- */
.alonso-logo-text {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    line-height: 1;
}

.logo-main {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 2.5px;
}

.logo-divider {
    color: rgba(255, 255, 255, 0.15);
    font-size: 1.2rem;
    font-weight: 300;
}

.logo-sub {
    color: var(--brand-gray); 
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 2px;
}

/* --- CENTRO: MENÚ INLINE (DESKTOP) --- */
.alonso-inline-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 35px; /* Separación amplia para respirar visualmente */
}

.alonso-inline-menu a {
    color: var(--brand-accent); 
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.3s ease;
}

.alonso-inline-menu a:hover {
    color: #ffffff;
}

/* --- DERECHA: BOTÓN TIPO PÍLDORA BLANCO --- */
.btn-alonso-pill {
    display: inline-block;
    background-color: #ffffff;
    color: #000000 !important;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: 50px; /* Borde totalmente redondeado idéntico a la foto */
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #ffffff;
    box-shadow: none !important; /* Diseño flat, sin sombras pesadas */
}

.btn-alonso-pill:hover {
    background-color: transparent;
    color: #ffffff !important;
}

/* --- HAMBURGER MENU (MÓVILES) --- */
.navbar-toggler-custom {
    background: none;
    border: none;
    padding: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-icon-bar {
    width: 26px; 
    height: 2px;
    background: #ffffff;
    position: relative;
    display: block;
}

.menu-icon-bar::before,
.menu-icon-bar::after {
    content: '';
    width: 26px;
    height: 2px;
    background: #ffffff;
    position: absolute;
    left: 0;
}

.menu-icon-bar::before { top: -8px; }
.menu-icon-bar::after { top: 8px; }

/* --- MENÚ MÓVIL OVERLAY --- */
.mobile-menu-overlay {
    background-color: var(--brand-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 999;
}

.mobile-menu-overlay .navbar-nav a {
    color: var(--brand-accent);
    padding: 12px 0;
    display: block;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
}

.mobile-menu-overlay .navbar-nav a:hover {
    color: #ffffff;
}








/* ==========================================================================
   HERO VIDEO SECTION - ALONSO CAFE (CENTERED & MINIMALIST)
   ========================================================================== */

.hero-video-section {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background-color: var(--brand-black);
}

/* Control del video de fondo */
.video-background {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
}

.hero-video {
    min-width: 100%; min-height: 100%;
    width: auto; height: auto;
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

/* Overlay más oscuro para igualar el contraste de la foto */
.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.428); 
    z-index: 2;
}

/* --- TIPOGRAFÍA DEL HERO --- */

.hero-location-subtitle {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7) !important;
}

.hero-title-main {
    font-family: var(--font-heading);
    /* Tamaño controlado para que quepa bien en el banner sin desbordar */
    font-size: clamp(3rem, 6vw, 5rem); 
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -2px;
}

.hero-description-main {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.8) !important;
    max-width: 600px;
    line-height: 1.6;
}

/* --- BOTONES DEL HERO --- */

/* Ajustamos el botón píldora blanco del header para que sea un poco más grande en el Hero */
.hero-video-section .btn-alonso-pill {
    padding: 16px 35px;
    font-size: 0.8rem;
}

/* Botón Outline Transparente (FIND US) */
.btn-alonso-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: #ffffff !important;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 16px 35px;
    border-radius: 50px; /* Borde circular */
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-alonso-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}

/* --- INDICADOR DE SCROLL ANIMADO --- */
.scroll-down-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: floatBounce 2s infinite ease-in-out;
}

@keyframes floatBounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 10px); }
}

/* ==========================================================================
   ADAPTACIÓN MÓVIL DEL HERO
   ========================================================================== */
@media (max-width: 767px) {
    .hero-title-main {
        font-size: 3.5rem;
    }
    
    .hero-description-main {
        font-size: 1rem;
        padding: 0 15px;
    }
    
    .hero-btns-main {
        width: 100%;
        padding: 0 20px;
    }
    
    /* En móviles los botones ocupan el 100% de ancho */
    .hero-btns-main a {
        width: 100%;
        text-align: center;
    }
}




/* ==========================================================================
   OPENING HOURS BAR - GASTRO BRAND STYLE
   ========================================================================== */

.hours-bar-section {
    background-color: #050505; /* Fondo negro profundo para resaltar el dorado */
    padding: 50px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hours-flex-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

/* --- BLOQUE DE TÍTULO --- */

.hours-title-block {
    text-align: right;
    padding-right: 50px;
    border-right: 1px solid rgba(198, 163, 108, 0.3); /* Línea divisoria en dorado tenue */
}

.hours-subtitle {
    display: block;
    color: var(--gastro-primary); /* DORADO DE TU MARCA */
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.hours-main-title {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: 6px;
    margin: 0;
    text-transform: uppercase;
}

/* --- BLOQUE DE CONTENIDO --- */

.hours-content-block {
    display: flex;
}

.hour-col {
    padding: 0 35px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
}

.hour-col:first-child {
    border-left: none;
}

.day-label {
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.time-label {
    color: rgba(255, 255, 255, 0.5); /* Blanco suavizado */
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* --- RESPONSIVO --- */

@media (max-width: 991px) {
    .hours-flex-container {
        flex-direction: column;
        gap: 30px;
    }
    .hours-title-block {
        text-align: center;
        padding-right: 0;
        border-right: none;
        border-bottom: 1px solid rgba(198, 163, 108, 0.2);
        padding-bottom: 20px;
    }
    .hours-content-block {
        flex-direction: column;
        gap: 20px;
    }
    .hour-col {
        border-left: none;
        padding: 0;
        text-align: center;
    }
}



/* ==========================================================================
   ABOUT SECTION - ALONSO CAFE (100% RESPONSIVE)
   ========================================================================== */

.about-section {
    background-color: var(--brand-light); 
    padding: 60px 0; /* Espaciado superior/inferior ideal para móvil */
    color: var(--brand-black);
}

@media (min-width: 992px) {
    .about-section {
        padding: 120px 0; /* Mayor respiro en Desktop */
    }
}

/* --- TEXTOS EXACTOS A LA CAPTURA MÓVIL --- */
.about-subtitle {
    color: var(--brand-gray);
    font-family: var(--font-body);
    font-size: 0.7rem; 
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.about-title {
    color: var(--brand-black);
    font-family: var(--font-heading);
    font-size: 2.5rem; /* Tamaño exacto para móviles */
    font-weight: 800; 
    letter-spacing: -1px; 
    line-height: 1.1;
}

@media (min-width: 992px) {
    .about-title {
        font-size: 3.75rem; /* Crece en Desktop */
    }
}

.about-description {
    color: #666666; /* Gris legible */
    font-family: var(--font-body);
    font-size: 1.05rem; /* Tamaño cómodo para leer en el teléfono */
    font-weight: 400; 
    line-height: 1.7; 
    margin-bottom: 0;
}

/* --- CONTENEDOR DE LA IMAGEN --- */
.about-image-wrapper {
    position: relative;
    width: 100%;
    height: 320px; /* Altura reducida en móvil para que encuadre perfectamente la foto */
    border-radius: 20px; /* Bordes bien redondeados de la captura */
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05); 
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.1); 
    max-width: 500px; /* Centra y limita el ancho en tablets */
}

@media (min-width: 768px) {
    .about-image-wrapper {
        height: 400px; 
    }
}

@media (min-width: 992px) {
    .about-image-wrapper {
        height: 480px; 
        max-width: 100%; /* En escritorio ocupa toda su columna */
    }
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.about-image-wrapper:hover .about-img {
    transform: scale(1.05); 
}

/* Efecto hover suave */
.about-image-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.05);
    transition: background-color 0.5s ease;
    pointer-events: none;
}

.about-image-wrapper:hover .about-image-overlay {
    background-color: transparent;
}





/* ==========================================================================
   EXPERIENCE SECTION (SPLIT SCREEN) - ALONSO CAFE
   ========================================================================== */

.experience-section {
    background-color: var(--brand-black); /* Fondo negro puro */
    border-top: 1px solid rgba(255, 255, 255, 0.05); /* Línea divisoria muy sutil superior */
    color: #ffffff;
    overflow: hidden;
}

/* Espaciado del contenido de texto */
.experience-content {
    padding: 60px 30px; /* Padding para móviles */
}

@media (min-width: 768px) {
    .experience-content {
        padding: 80px 50px; /* Padding para tablets */
    }
}

@media (min-width: 992px) {
    .experience-content {
        padding: 100px 8% 100px 12%; /* Padding amplio y asimétrico para escritorio (empuja un poco más desde la izquierda) */
    }
}

/* --- TIPOGRAFÍA --- */
.experience-subtitle {
    color: var(--brand-gray);
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.experience-title {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem); /* Tamaño fluido que escala perfectamente */
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.1;
}

.experience-description {
    color: rgba(255, 255, 255, 0.6); /* Gris claro */
    font-family: var(--font-body);
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    font-weight: 300;
    line-height: 1.8;
}

/* --- CAJAS DE CARACTERÍSTICAS (GRID 2x2) --- */
.feature-box-dark {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background-color: rgba(255, 255, 255, 0.02); /* Fondo casi transparente */
    border: 1px solid rgba(255, 255, 255, 0.08); /* Borde blanco muy sutil */
    border-radius: 16px; /* Esquinas redondeadas como en el diseño */
    transition: all 0.3s ease;
}

.feature-box-dark:hover {
    background-color: rgba(255, 255, 255, 0.05); /* Brillo sutil al pasar el mouse */
    border-color: rgba(255, 255, 255, 0.15);
}

.feature-icon-dark {
    font-size: 1.2rem;
    color: #ffffff; /* Icono blanco */
}

.feature-text-dark {
    color: #e5e5e5;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* --- CONTENEDOR DE LA IMAGEN (DERECHA) --- */
.experience-image-wrapper {
    position: relative;
    width: 100%;
    height: 50vh; /* En móvil, la imagen ocupará media pantalla de alto */
    overflow: hidden;
}

@media (min-width: 992px) {
    .experience-image-wrapper {
        height: 100%; /* En escritorio, iguala el alto exacto de la columna de texto */
        min-height: 100vh; /* Asegura que cubra toda la pantalla si hay poco texto */
    }
}

.experience-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Evita que la imagen se deforme, actuando como background-size: cover */
}




/* ==========================================================================
   GALLERY SECTION (BENTO/MOSAIC GRID) - ALONSO CAFE
   ========================================================================== */

.alonso-gallery-section {
    background-color: var(--brand-dark); /* Fondo oscuro #0a0a0c */
    padding: 80px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

@media (min-width: 992px) {
    .alonso-gallery-section {
        padding: 120px 0;
    }
}

/* --- TEXTOS DEL ENCABEZADO --- */
.gallery-subtitle {
    color: var(--brand-gray);
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.gallery-title {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 800;
    letter-spacing: -1px;
}

.gallery-description {
    color: rgba(255, 255, 255, 0.6);
    font-family: var(--font-body);
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    font-weight: 300;
}

/* --- SISTEMA CSS GRID MOSAICO --- */
.alonso-mosaic-grid {
    display: grid;
    gap: 16px; /* Separación entre fotos (gap-4/gap-6) */
    width: 100%;
}

/* Diseño Móvil por defecto (Todo en 1 columna apilado) */
.alonso-mosaic-grid {
    grid-template-columns: 1fr;
}

.mosaic-item {
    position: relative;
    border-radius: 24px; /* rounded-3xl */
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
}

/* Alturas fijas para móviles para mantener proporción */
.mosaic-item-large { height: 350px; }
.mosaic-item-wide, 
.mosaic-item-square { height: 250px; }

/* Diseño Tablet y Escritorio (El verdadero mosaico de 4 columnas) */
@media (min-width: 768px) {
    .alonso-mosaic-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: 280px; /* Altura base de cada fila en el grid */
        gap: 24px;
    }

    /* Reseteamos las alturas fijas móviles para que el Grid tome el control */
    .mosaic-item-large, 
    .mosaic-item-wide, 
    .mosaic-item-square { 
        height: 100%; 
    }

    /* La imagen grande ocupa 2 columnas y 2 filas (Mitad izquierda) */
    .mosaic-item-large {
        grid-column: span 2;
        grid-row: span 2;
    }

    /* La imagen ancha ocupa 2 columnas y 1 fila (Arriba derecha) */
    .mosaic-item-wide {
        grid-column: span 2;
        grid-row: span 1;
    }

    /* Las imágenes cuadradas ocupan 1 columna y 1 fila cada una (Abajo derecha) */
    .mosaic-item-square {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* --- ESTILOS DE IMAGEN Y EFECTO HOVER --- */
.mosaic-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.mosaic-item:hover .mosaic-img {
    transform: scale(1.05); /* Efecto zoom interior */
}

/* Capa oscura que aparece al hacer hover (bg-black/50) */
.mosaic-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: flex-end; /* Alinea el texto abajo */
    padding: 30px;
}

.mosaic-item:hover .mosaic-overlay {
    opacity: 1; /* Aparece al pasar el mouse */
}

.mosaic-text {
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    transform: translateY(10px);
    transition: transform 0.4s ease;
}

.mosaic-item:hover .mosaic-text {
    transform: translateY(0); /* Pequeña animación del texto subiendo */
}






/* ==========================================================================
   REVIEWS SECTION - ALONSO CAFE
   ========================================================================== */

.alonso-reviews-section {
    background-color: var(--brand-light); /* Fondo blanco/claro */
    padding: 80px 0;
    color: var(--brand-black);
}

@media (min-width: 992px) {
    .alonso-reviews-section {
        padding: 120px 0;
    }
}

/* --- ENCABEZADO --- */
.reviews-subtitle {
    color: var(--brand-gray);
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.reviews-title {
    color: var(--brand-black);
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 800;
    letter-spacing: -1px;
}

/* --- ESTRELLAS Y PUNTUACIÓN --- */
.reviews-rating {
    margin-top: 10px;
}

.stars-group {
    color: #f59e0b; /* Color ámbar idéntico a Tailwind amber-500 */
    font-size: 1.1rem;
    display: flex;
    gap: 4px;
}

.rating-text {
    color: var(--brand-black);
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 800;
    margin-left: 8px;
}

/* --- TARJETAS DE RESEÑA (CARDS) --- */
.review-card {
    background-color: #f9fafb; /* Fondo súper sutil bg-gray-50 */
    border: 1px solid #f3f4f6; /* Borde casi invisible border-gray-100 */
    border-radius: 24px; /* Esquinas bien redondeadas rounded-3xl */
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Empuja el autor hacia abajo si sobra espacio */
    transition: transform 0.3s ease;
    /* NOTA: Sin sombras pesadas (box-shadow) para mantener el diseño flat y limpio */
}

.review-card:hover {
    transform: translateY(-5px); /* Pequeño salto interactivo al pasar el mouse */
}

.review-text {
    color: #374151; /* Gris oscuro para lectura cómoda text-gray-700 */
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* --- AUTOR DE LA RESEÑA --- */
.author-avatar {
    width: 42px;
    height: 42px;
    background-color: var(--brand-black);
    color: #ffffff;
    border-radius: 50%; /* Círculo perfecto */
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.9rem;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    color: var(--brand-black);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0 0 2px 0;
    line-height: 1;
}

.author-role {
    color: #9ca3af; /* text-gray-400 */
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 400;
    margin: 0;
}





/* ==========================================================================
   LOCATION & HOURS SECTION - ALONSO CAFE
   ========================================================================== */

.alonso-location-section {
    background-color: var(--brand-black); /* Fondo oscuro principal */
    padding: 80px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

@media (min-width: 992px) {
    .alonso-location-section {
        padding: 120px 0;
    }
}

/* --- TIPOGRAFÍA DE ENCABEZADO --- */
.location-subtitle {
    color: var(--brand-gray);
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.location-title {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 800;
    letter-spacing: -1px;
}

/* --- BLOQUES DE INFORMACIÓN --- */
.info-heading {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
}

.info-text {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6); /* Gris claro */
    line-height: 1.6;
    margin: 0;
}

.info-link {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-link:hover {
    color: var(--brand-gray);
    text-decoration: underline;
}

/* Lista de horas */
.hours-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 320px; /* Limita el ancho como en la captura */
}

.hours-highlight {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
}

.border-secondary {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* --- MAPA DE GOOGLE --- */
.map-wrapper {
    position: relative;
    width: 100%;
    height: 450px; /* Altura de la caja */
    border-radius: 24px; /* Bordes redondeados */
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: var(--brand-card);
}

.google-map-iframe {
    width: 100%;
    height: 100%;
    border: 0;
    /* Truco CSS para hacer el mapa en Modo Oscuro */
    filter: invert(90%) hue-rotate(180deg) brightness(95%) contrast(100%);
    -webkit-filter: invert(90%) hue-rotate(180deg) brightness(95%) contrast(100%);
}

/* --- TARJETA FLOTANTE SOBRE EL MAPA --- */
.map-floating-card {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 24px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
    pointer-events: none; /* Permite hacer clic en el mapa a través del div */
}

.floating-subtitle {
    color: var(--brand-gray);
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.floating-title {
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.floating-icon {
    width: 48px;
    height: 48px;
    background-color: #ffffff;
    color: var(--brand-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.floating-description-box {
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    margin-top: 15px;
}

.floating-box-subtitle {
    color: var(--brand-gray);
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.floating-box-text {
    color: rgba(255, 255, 255, 0.8);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 300;
    line-height: 1.5;
}

/* Responsivo */
@media (max-width: 991px) {
    .map-wrapper {
        height: 500px; /* Un poco más alto en móvil para que quepa bien la tarjeta */
    }
}



/* ==========================================================================
   CONTACT SECTION - ALONSO CAFE (CONTENEDOR Y FORMULARIO)
   ========================================================================== */

/* 1. CONTENEDOR PRINCIPAL (ESPACIADO REDUCIDO Y EQUILIBRADO) */
.alonso-contact-section {
    background-color: #ffffff; 
    padding: 70px 0 90px 0 !important; /* Espacio moderado para móviles */
    color: var(--brand-black);
}

@media (min-width: 992px) {
    .alonso-contact-section {
        padding: 90px 0 110px 0 !important; /* Respiro equilibrado en PC */
    }
}

/* --- TIPOGRAFÍA DEL ENCABEZADO --- */
.contact-subtitle {
    color: var(--brand-gray);
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.contact-title {
    color: var(--brand-black);
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 800;
    letter-spacing: -1px;
}

.contact-description {
    color: #4b5563; 
    font-family: var(--font-body);
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    font-weight: 300;
    line-height: 1.8;
}

/* ==========================================================================
   ESTILIZACIÓN DE CONTACT FORM 7 (CF7) - AJUSTE PERFECTO
   ========================================================================== */

.alonso-cf7-wrapper {
    width: 100%;
    max-width: 450px; 
    margin: 0 auto;
}

/* Control de los contenedores para separarlos */
.alonso-cf7-wrapper form > p {
    margin: 0 !important;
    width: 100%;
}

.alonso-cf7-wrapper .wpcf7-form-control-wrap {
    display: block !important;
    width: 100% !important;
    margin-bottom: 20px !important; 
}

.alonso-cf7-wrapper br {
    display: none !important;
}

/* Estilos de los inputs y Textarea (Diseño plano, sin sombras) */
.alonso-cf7-wrapper input[type="text"],
.alonso-cf7-wrapper input[type="email"],
.alonso-cf7-wrapper textarea {
    box-sizing: border-box !important;
    width: 100% !important;
    background-color: #eaeaec; 
    border: 2px solid transparent; 
    border-radius: 12px; 
    padding: 16px 20px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--brand-black);
    outline: none !important;
    box-shadow: none !important;
    transition: all 0.3s ease;
    resize: none; 
    margin: 0 !important; 
}

/* Efecto Focus */
.alonso-cf7-wrapper input[type="text"]:focus,
.alonso-cf7-wrapper input[type="email"]:focus,
.alonso-cf7-wrapper textarea:focus {
    border-color: var(--brand-black); 
    background-color: #ffffff; 
}

.alonso-cf7-wrapper input::placeholder,
.alonso-cf7-wrapper textarea::placeholder {
    color: #9ca3af;
}

/* Estilos del Botón de Envío */
.alonso-cf7-wrapper input[type="submit"] {
    box-sizing: border-box !important;
    display: block !important;
    width: 100% !important;
    background-color: var(--brand-black);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 18px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
    margin-top: 10px !important; 
    -webkit-appearance: none;
}

.alonso-cf7-wrapper input[type="submit"]:hover {
    background-color: #1f2937; 
    transform: translateY(-2px); 
}

/* Mensajes del sistema CF7 */
.wpcf7-response-output {
    border-radius: 12px !important;
    font-family: var(--font-body);
    font-size: 0.85rem;
    margin-top: 20px !important;
    padding: 15px !important;
}

.wpcf7-not-valid-tip {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: #dc2626;
    margin-top: 4px;
    display: block;
    text-align: left;
    padding-left: 10px;
}