/* ==========================================================================
   BRAZZEIRO MASTER CSS - FULL UPDATED
   ========================================================================== */

:root {
    --gold: #D4AF37;       /* Dorado Premium */
    --red-meat: #C41E3A;   /* Rojo Temática Carnes */
    --black: #080808;      /* Negro Carbón */
    --black-soft: #121212; /* Negro Suave */
    --white: #ffffff;
    --font-titles: 'Dela Gothic One', cursive;
    --font-body: 'Montserrat', sans-serif;
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
/* --- FIX DE DESBORDAMIENTO Y ESTRUCTURA --- */
html, body {
    max-width: 100%;
    overflow-x: hidden; /* Esto elimina el movimiento lateral molesto en el celular */
    margin: 0;
    padding: 0;
    width: 100%;
}

/* El body NO debe llevar display: flex aquí para no descuadrar las secciones */
body {
    display: block; 
}

/* --- NAVEGACIÓN --- */
.fixed-nav {
    position: fixed;
    top: 0; left: 0; width: 100%; z-index: 1000;
    padding: 25px 50px;
    background: rgba(8, 8, 8, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 2px solid var(--red-meat);
}

.nav-wrapper {
    max-width: 1600px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
}

.nav-link {
    color: var(--red-meat) !important;
    text-decoration: none; font-weight: 700; font-size: 0.75rem;
    letter-spacing: 4px; margin: 0 25px; transition: 0.3s;
}

.nav-link:hover { color: var(--gold) !important; }

.btn-reserva-nav {
    background: var(--red-meat); color: var(--white);
    border: none; padding: 12px 30px; font-family: var(--font-body);
    font-weight: 900; letter-spacing: 2px; cursor: pointer; transition: 0.4s;
}

.btn-reserva-nav:hover { background: var(--gold); color: var(--black); }

/* --- HERO --- */
.hero-editorial {
    height: 100vh; position: relative; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}

.hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.4); }

.hero-title {
    font-family: var(--font-titles); font-size: clamp(4rem, 16vw, 14rem);
    line-height: 0.85; text-align: center; color: var(--gold);
}

.text-outline { color: transparent; -webkit-text-stroke: 2px var(--gold); }

.hero-label {
    font-size: 1rem; letter-spacing: 12px; color: var(--gold);
    font-weight: 300; font-style: italic; text-align: center;
}

.hero-footer p {
    font-weight: 500; letter-spacing: 2px; margin-top: 20px; color: var(--white);
}

/* --- TOP PLATILLOS (SECCIÓN BLANCA) --- */
.top-platillos { padding: 120px 5%; background: var(--white); color: var(--black); }

.top-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; }

.titulo-editorial { font-family: var(--font-titles); color: var(--gold); font-size: 3rem; line-height: 1.1; }

.section-tag-social { color: var(--red-meat); font-weight: 700; letter-spacing: 4px; font-size: 0.8rem; }

.linea-decorativa-izq { width: 60px; height: 3px; background: var(--red-meat); margin: 20px 0; }

.desc-top { color: #333; margin-bottom: 30px; }

.conocer-mas-btn {
    display: inline-block; padding: 12px 35px; border: 2px solid var(--red-meat);
    color: var(--red-meat); text-decoration: none; font-weight: 700; transition: 0.4s;
}

.conocer-mas-btn:hover { background: var(--red-meat); color: var(--white); }

/* Galería Mosaico */
.top-galeria-mosaico { display: grid; grid-template-columns: 1fr 0.6fr; gap: 20px; }
.foto-principal { position: relative; height: 500px; }
.fotos-secundarias { display: grid; grid-template-rows: 1fr 1fr; gap: 20px; }
.foto-item { position: relative; height: 240px; }
.foto-principal img, .foto-item img { width: 100%; height: 100%; object-fit: cover; border-radius: 5px; }

.overlay-nombre {
    position: absolute; bottom: 20px; left: 20px;
    background: var(--red-meat); color: var(--white);
    padding: 5px 15px; font-weight: 900; font-size: 0.7rem;
}

/* --- SOCIAL BOARD (SECCIÓN BLANCA) --- */
.social-board { padding: 100px 5%; background: var(--white); color: var(--black); text-align: center; }
.titulo-social { font-family: var(--font-titles); color: var(--gold); font-size: 2.5rem; }
.linea-decorativa { width: 80px; height: 3px; background: var(--red-meat); margin: 20px auto 0; }

/* --- POSTULACIONES (SECCIÓN NEGRA) --- */
.postulacion-container { padding: 100px 20px; background: var(--black); }
.texto-introductorio h2 { font-family: var(--font-titles); color: var(--white); font-size: 2.2rem; }

.postulacion-content { display: flex; max-width: 1200px; margin: 0 auto; background: var(--black-soft); border-radius: 20px; overflow: hidden; }
.postulacion-form-wrapper { flex: 1; padding: 60px; background: var(--black-soft); }

.titulo-postulacion { font-family: var(--font-titles); color: var(--gold); font-size: 1.8rem; }
.subtitulo-postulacion { font-style: italic; font-weight: 300; color: #888; margin-bottom: 30px; }

.input-group label { display: block; color: var(--gold); font-weight: 700; font-size: 0.75rem; margin-bottom: 8px; }

input[type="text"], input[type="email"], select, textarea {
    width: 100%; padding: 15px; background: #1a1a1a; border: 1px solid #333; color: #fff; border-radius: 8px;
}

input:focus, select:focus, textarea:focus { border-color: var(--red-meat); outline: none; }

.custom-file-upload { display: flex; align-items: center; gap: 10px; background: #222; padding: 10px; border: 1px dashed #444; border-radius: 8px; }
.file-label { background: var(--red-meat); color: #fff; padding: 8px 15px; border-radius: 5px; cursor: pointer; }

.btn-enviar { width: 100%; padding: 18px; background: var(--red-meat); color: #fff; border: none; font-weight: 700; cursor: pointer; transition: 0.4s; margin-top: 10px; }
.btn-enviar:hover { background: var(--gold); color: #000; }

/* --- CONVENIOS (SECCIÓN BLANCA) --- */
.convenios-container { padding: 100px 5%; background: var(--white); color: var(--black); }
.titulo-convenios { font-family: var(--font-titles); color: var(--gold); font-size: 2.5rem; }

.separador-brazzeiro { width: 60px; height: 3px; background: var(--red-meat); margin-bottom: 20px; }

.tabla-mini-convenios { margin-top: 30px; border: 1px solid #ddd; border-radius: 8px; overflow: hidden; }
.tabla-header { background: var(--black); color: var(--white); padding: 15px; font-weight: 700; }
.tabla-row { padding: 15px; color: #444; font-weight: 500; }

.convenios-form-wrapper { background: #f9f9f9; padding: 40px; border-radius: 10px; border: 1px solid #eee; }
.btn-convenio { width: 100%; padding: 15px; background: var(--red-meat); color: #fff; border: none; font-weight: 700; cursor: pointer; transition: 0.3s; }
.btn-convenio:hover { background: var(--black); }

/* --- FOOTER --- */
.footer-brazzeiro { position: relative; background: #050505; padding: 120px 0 40px; border-top: 4px solid var(--red-meat); }

.footer-bg-text {
    position: absolute; bottom: -5%; left: 50%; transform: translateX(-50%);
    font-family: var(--font-titles); font-size: 22vw; color: rgba(255, 255, 255, 0.02); line-height: 0.8; z-index: 1;
}

.footer-label { color: var(--red-meat); letter-spacing: 5px; font-size: 0.7rem; margin-bottom: 15px; }

.footer-btn-reserva { background: transparent; border: 1px solid var(--red-meat); color: var(--red-meat); padding: 10px 25px; font-weight: 700; cursor: pointer; transition: 0.4s; }
.footer-btn-reserva:hover { background: var(--red-meat); color: #fff; }

.footer-social-simple a { color: var(--red-meat); text-decoration: none; margin: 0 15px; font-weight: 700; }

.injoe-highlight { color: var(--red-meat); font-weight: 700; }

/* --- WHATSAPP --- */
.whatsapp-float {
    position: fixed; bottom: 20px; right: 20px; height: 60px; width: 60px;
    background: #25d366; border-radius: 50px; display: flex; align-items: center;
    padding: 0 15px; z-index: 10000; box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    text-decoration: none; transition: 0.5s; overflow: hidden;
    border: 2px solid var(--red-meat);
}
.whatsapp-float:hover { width: 220px; }
.wa-text { font-weight: 700; margin-left: 10px; opacity: 0; transition: 0.4s; }
.whatsapp-float:hover .wa-text { opacity: 1; }

/* --- ANIMACIONES --- */
.reveal { opacity: 0; transform: translateY(60px); transition: var(--transition-smooth); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   BRAZZEIRO MASTER CSS - CORRECCIÓN DE IMÁGENES Y LOGO
   ========================================================================== */

:root {
    --gold: #D4AF37;
    --red-meat: #C41E3A;
    --black: #080808;
    --white: #ffffff;
    --font-titles: 'Dela Gothic One', cursive;
    --font-body: 'Montserrat', sans-serif;
}

/* --- LOGO DEL FOOTER (CORREGIDO) --- */
.footer-logo-v2 {
    height: 100px; /* Tamaño ideal para resaltar en el centro */
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(196, 30, 58, 0.2)); /* Brillo sutil rojo carne */
    transition: var(--transition-smooth);
    display: block;
    margin: 0 auto;
}

.footer-logo-v2:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.4)); /* Cambia a brillo dorado */
}

/* --- TRATAMIENTO DE IMÁGENES (ESTILO EDITORIAL) --- */



/* Mosaico de Platillos (Sección Blanca) */
.foto-principal img, .foto-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid rgba(196, 30, 58, 0.1); /* Borde rojo casi invisible */
    transition: transform 0.8s ease;
}

.foto-principal:hover img, .foto-item:hover img {
    transform: scale(1.03);
    filter: brightness(1.1);
}

/* Imágenes de las Sedes */
.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.4) brightness(0.8); /* Look sobrio */
    transition: 0.8s ease;
}

.sede-entry:hover .image-wrapper img {
    filter: grayscale(0) brightness(1); /* Cobran vida al pasar el mouse */
}

.secondary-img {
    border: 8px solid var(--black) !important; /* El marco que separa la foto pequeña */
    box-shadow: 10px 10px 30px rgba(0,0,0,0.5);
}

/* Imagen de Postulaciones */
.postulacion-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5) sepia(0.2); /* Tono cálido de brasa */
}

.overlay-image {
    background: linear-gradient(to right, rgba(8,8,8,0.8), transparent);
}

/* --- ICONOS Y WHATSAPP --- */
.whatsapp-float img {
    width: 35px;
    height: 35px;
    filter: drop-shadow(0 0 5px rgba(0,0,0,0.3));
}

/* Ajuste de la línea de texto gigante en el footer para que no pise el logo */
.footer-bg-text {
    z-index: 0;
    user-select: none;
}

.footer-logo-block {
    position: relative;
    z-index: 5;
}

/* ==========================================================================
   BRAZZEIRO - AJUSTES DE SEDES Y NAVEGACIÓN (ADICIONAL)
   ========================================================================== */

/* --- 1. TÍTULO DE SEDES CENTRAL --- */
.gallery-title {
    text-align: center;
    margin-bottom: 80px;
}

.gallery-title .bg-text {
    font-family: var(--font-titles);
    color: var(--gold);
    font-size: clamp(3rem, 8vw, 6rem);
    letter-spacing: 10px;
    position: relative;
    display: inline-block;
}

/* Subrayado decorativo opcional para el título */
.gallery-title .bg-text::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 20%;
    width: 60%;
    height: 3px;
    background: var(--red-meat);
}



/* Inversión del orden de la foto secundaria en sedes impares/invertidas */
.sede-entry.inverted .image-wrapper.secondary-img {
    right: auto;
    left: 0;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.sede-entry:hover .main-img img {
    transform: scale(1.05);
}

/* --- 3. PULIDO DE MENÚ (HEADER) --- */
.main-nav {
    padding: 20px 50px;
    transition: background 0.4s ease, padding 0.4s ease;
}

/* Efecto al hacer hover en los links del menú */
.nav-link {
    position: relative;
    padding-bottom: 5px;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold); /* Subrayado dorado al pasar el mouse */
    transition: 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* --- 4. DETALLES DE CONTACTO --- */
.info-contacto-sede p {
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #bbb;
}

.contacto-directo-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #25D366 !important;
    font-size: 0.85rem;
    margin-top: 15px;
    transition: 0.3s;
}

.contacto-directo-link:hover {
    filter: brightness(1.2);
    transform: translateX(5px);
}

/* Estilo del botón de reserva en cada sede */
.sede-details .link-editorial {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 25px;
    background: transparent;
    border: 1px solid var(--red-meat);
    color: var(--red-meat);
    text-transform: uppercase;
    font-weight: 900;
    font-size: 0.75rem;
    letter-spacing: 2px;
    transition: all 0.4s;
}

.sede-details .link-editorial:hover {
    background: var(--red-meat);
    color: white;
    box-shadow: 0 10px 20px rgba(196, 30, 58, 0.3);
}

/* ==========================================================================
   BRAZZEIRO - ARREGLO DE HERO SECTION (FONDO COMPLETO)
   ========================================================================= */

.hero-editorial {
    height: 100vh; /* Forzamos el alto completo de la pantalla */
    width: 100vw;  /* Forzamos el ancho completo de la pantalla */
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000; /* Fondo de seguridad negro */
}

/* Forzamos el contenedor de fondo a ocupar todo el espacio */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* Por detrás del texto */
}

/* Tratamiento de la imagen de fondo */
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Crucial: ajusta la foto sin deformarla */
    object-position: center; /* Centra el enfoque de la foto */
    filter: brightness(0.35) contrast(1.1); /* Oscurece para resaltar el texto dorado */
    transform: scale(1.05); /* Escala base para el efecto zoom */
    transition: transform 12s linear; /* Zoom muy lento y elegante */
}

/* Efecto Zoom en Hover (Opcional, si usas la clase .zoom-effect) */
.hero-editorial:hover .zoom-effect {
    transform: scale(1.15);
}

/* Aseguramos que el contenido del texto esté por encima */
.hero-content {
    position: relative;
    z-index: 5; /* Por encima del fondo */
    text-align: center;
}

/* ==========================================================================
   BRAZZEIRO - SEDES Y NAVEGACIÓN (RESPONSIVE & PREMIUM)
   ========================================================================== */

/* --- 1. HEADER & MENÚ REFINADO --- */
.main-nav {
    padding: 15px 5%;
    transition: all 0.4s ease;
}

.nav-link {
    position: relative;
    padding: 5px 0;
}

/* Subrayado animado dorado */
.nav-link::after {
    content: "";
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--gold);
    transition: 0.3s ease;
}

.nav-link:hover::after { width: 100%; }

/* --- 2. TÍTULO DE SEDES (DELA GOTHIC CENTRAL) --- */
.gallery-title {
    text-align: center;
    padding: 60px 0 40px;
}

.gallery-title .bg-text {
    font-family: var(--font-titles);
    color: var(--gold);
    font-size: clamp(2.5rem, 8vw, 5rem);
    text-transform: uppercase;
    letter-spacing: 5px;
    margin: 0;
}

/* --- 3. ESTRUCTURA DE SEDES (REFECCIÓN TOTAL) --- */
.sedes-gallery {
    background-color: var(--black);
    padding-bottom: 100px;
}

.sede-entry {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    padding: 80px 10%;
    max-width: 1400px;
    margin: 0 auto;
}

.sede-entry.inverted { flex-direction: row-reverse; }

/* Contenedor Visual (Imágenes) */
.sede-visual {
    position: relative;
    width: 50%;
    min-width: 300px;
}

.main-img {
    width: 90%;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.secondary-img {
    position: absolute;
    width: 45%;
    bottom: -30px;
    right: 0;
    z-index: 2;
    border: 8px solid var(--black) !important;
    border-radius: 4px;
    box-shadow: 10px 10px 30px rgba(0,0,0,0.6);
}

.sede-entry.inverted .secondary-img { right: auto; left: 0; }

.sede-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Contenedor de Texto (Centrado y Blanco) */


.sede-num {
    font-family: var(--font-titles);
    font-size: 5rem;
    color: var(--gold);
    opacity: 0.2;
    line-height: 1;
}

.sede-name {
    font-family: var(--font-titles);
    color: var(--gold);
    font-size: clamp(2rem, 4vw, 3rem);
    margin: -20px 0 20px;
}

.sede-details p {
    font-family: var(--font-body);
    color: var(--white); /* Párrafos en blanco */
    font-weight: 300;
    font-size: 1rem;
    max-width: 400px;
    margin: 0 auto 25px;
}

.info-contacto-sede {
    color: var(--white);
    margin-bottom: 30px;
}

.info-contacto-sede strong {
    color: var(--gold);
    display: block;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-top: 10px;
}

.link-editorial {
    display: inline-block;
    padding: 15px 35px;
    border: 1px solid var(--red-meat);
    color: var(--red-meat);
    text-decoration: none;
    font-weight: 900;
    font-size: 0.75rem;
    letter-spacing: 2px;
    transition: 0.4s;
}

.link-editorial:hover {
    background: var(--red-meat);
    color: var(--white);
}

/* --- 4. OPTIMIZACIÓN PARA CELULARES (MOBILE FIRST) --- */
@media (max-width: 992px) {
    .nav-wrapper {
        padding: 0 20px;
    }
    
    .sede-entry, .sede-entry.inverted {
        flex-direction: column; /* Apilamos en vertical */
        padding: 60px 5%;
        gap: 40px;
    }

    .sede-visual, .sede-details {
        width: 100%;
    }

    .main-img {
        width: 100%;
    }

    .secondary-img {
        width: 50%;
        bottom: -20px;
    }

    .sede-name {
        margin: 0 0 15px;
    }
    
    .main-nav {
        padding: 15px 20px;
    }

    .nav-link {
        margin: 0 10px;
        font-size: 0.65rem;
        letter-spacing: 2px;
    }
}

@media (max-width: 480px) {
    .gallery-title .bg-text { font-size: 2.2rem; }
    .sede-num { font-size: 3.5rem; }
    .sede-name { font-size: 1.8rem; }
}

/* ==========================================================================
   BRAZZEIRO - AJUSTES FINALES DE CENTRADO Y POSTULACIONES
   ========================================================================== */

/* Centrado de la sección de Postulaciones (Texto de arriba) */
.postulacion-container .texto-introductorio {
    text-align: center; /* Centra el título y el párrafo */
    margin-bottom: 50px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.postulacion-container .texto-introductorio h2 {
    font-family: var(--font-titles);
    color: var(--gold);
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 20px;
}

.postulacion-container .texto-introductorio p {
    font-family: var(--font-body); /* Montserrat */
    color: var(--white) !important; /* Párrafo Blanco */
    max-width: 700px;
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.6;
}

/* Ajuste de visibilidad para celulares en Postulaciones */
@media (max-width: 768px) {
    .postulacion-content {
        flex-direction: column; /* Imagen arriba, form abajo */
    }
    
    .postulacion-image {
        height: 300px; /* Reducimos altura en móvil */
    }

    .postulacion-form-wrapper {
        padding: 40px 20px;
    }
    
    .texto-introductorio h2 {
        font-size: 2rem;
    }
}

/* Corrección de Sedes: Asegurar que el párrafo sea siempre blanco */
.sede-details p {
    color: var(--white) !important;
    font-family: var(--font-body);
    text-align: center;
}

/* ==========================================================================
   BRAZZEIRO - REDISEÑO DE FOOTER PREMIUM (CORREGIDO)
   ========================================================================== */

.footer-brazzeiro {
    position: relative;
    background-color: #050505;
    padding: 120px 0 40px;
    overflow: hidden;
    border-top: 1px solid rgba(212, 175, 55, 0.3); /* Línea dorada superior muy fina */
}

/* Marca de agua corregida: más sutil y más abajo */
.footer-bg-text {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-titles);
    font-size: 22vw;
    color: rgba(255, 255, 255, 0.015); /* Casi invisible */
    z-index: 0;
    pointer-events: none;
    letter-spacing: -10px;
}

.footer-content {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.footer-main-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr; /* El centro es un poco más ancho */
    gap: 40px;
    align-items: start;
    margin-bottom: 80px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-label {
    font-family: var(--font-titles);
    color: var(--gold);
    font-size: 0.7rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.footer-column p {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 300;
    color: rgba(255,255,255,0.7);
    margin: 0;
    letter-spacing: 1px;
}

/* Columna del Logo */
.logo-column {
    align-items: center;
    border-left: 1px solid rgba(212, 175, 55, 0.1);
    border-right: 1px solid rgba(212, 175, 55, 0.1);
    padding: 0 40px;
}

.footer-logo-v3 {
    width: 160px;
    margin-bottom: 25px;
    filter: brightness(1.1);
}

.footer-divider-gold {
    width: 40px;
    height: 1px;
    background-color: var(--gold);
    margin-bottom: 25px;
}

.footer-btn-minimal {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 3px;
    color: var(--white);
    text-decoration: none;
    border: 1px solid var(--red-meat);
    padding: 12px 25px;
    transition: 0.4s ease;
}

.footer-btn-minimal:hover {
    background-color: var(--red-meat);
    box-shadow: 0 0 20px rgba(196, 30, 58, 0.3);
}

/* Redes Sociales */
.footer-social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-social-links a {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    letter-spacing: 2px;
    transition: 0.3s;
}

.footer-social-links a:hover {
    color: var(--gold);
    padding-left: 5px; /* Efecto sutil de desplazamiento */
}

/* Barra inferior */
.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    font-size: 0.6rem;
    color: #444;
    letter-spacing: 2px;
}

/* RESPONSIVO */
@media (max-width: 850px) {
    .footer-main-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }
    .logo-column {
        border: none;
        padding: 0;
        order: -1; /* Logo arriba en móvil */
    }
    .footer-column { align-items: center; }
    .footer-bottom-bar { flex-direction: column; gap: 20px; }
}

/* ==========================================================================
   BRAZZEIRO - NAVEGACIÓN MAESTRA (HEADER & NAV)
   ========================================================================== */

.fixed-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    /* Unificamos el fondo con un cristal oscuro premium */
    background: rgba(8, 8, 8, 0.95) !important;
    backdrop-filter: blur(15px);
    border-bottom: 2px solid var(--red-meat);
    padding: 20px 50px; /* Espaciado inicial */
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Contenedor del menú */
.nav-wrapper {
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr; /* Izquierda - Logo - Derecha */
    align-items: center;
}

/* Alineación de los bloques de navegación */
.nav-left { display: flex; justify-content: flex-start; gap: 30px; }
.nav-right { display: flex; justify-content: flex-end; gap: 30px; align-items: center; }

/* Estilo de los links */
.nav-link {
    color: var(--red-meat) !important;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-decoration: none;
    text-transform: uppercase;
    position: relative;
    transition: 0.3s ease;
}

/* Subrayado dorado animado */
.nav-link::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: 0.3s ease;
}

.nav-link:hover { color: var(--gold) !important; }
.nav-link:hover::after { width: 100%; }

/* Logo Central */
.logo-main {
    height: 50px; /* Tamaño base */
    width: auto;
    transition: all 0.4s ease;
}

/* Botón de Reserva del Menú */
.btn-reserva-nav {
    background: var(--red-meat) !important;
    color: var(--white) !important;
    border: none;
    padding: 10px 25px;
    font-family: var(--font-body);
    font-weight: 900;
    font-size: 0.7rem;
    letter-spacing: 2px;
    cursor: pointer;
    transition: 0.4s ease;
}

.btn-reserva-nav:hover {
    background: var(--gold) !important;
    color: var(--black) !important;
    transform: translateY(-2px);
}

/* --- OPTIMIZACIÓN PARA CELULARES (MOBILE) --- */
@media (max-width: 992px) {
    .fixed-nav {
        padding: 15px 20px;
    }

    .nav-wrapper {
        display: flex; /* Cambiamos a flex para manejar mejor el espacio */
        justify-content: space-between;
    }

    /* Ocultamos o compactamos textos en móvil si es necesario */
    .nav-left, .nav-right {
        gap: 15px;
    }

    .nav-link {
        font-size: 0.65rem;
        letter-spacing: 1px;
        margin: 0;
    }

    .logo-main {
        height: 35px;
    }

    .btn-reserva-nav {
        padding: 8px 15px;
        font-size: 0.6rem;
    }
}

/* Pequeño ajuste para cuando el usuario hace scroll (vía JS) */
.fixed-nav.scrolled {
    padding: 10px 50px;
    background: rgba(0, 0, 0, 0.98) !important;
}

.fixed-nav.scrolled .logo-main {
    height: 40px;
}

/* --- RESPONSIVE MASTER PARA MÓVIL --- */

@media (max-width: 850px) {
    /* 1. Ajuste Platillos Top */
    .grid-magazine {
        grid-template-columns: 1fr !important; /* Una sola columna */
        gap: 40px !important;
    }

    .card-top img {
        height: 300px !important; /* Imagen menos alta para que no ocupe toda la pantalla */
    }

    /* 2. Menú Hamburguesa Estilo Desplegable */
    .menu-toggle {
        display: block !important;
        cursor: pointer;
        z-index: 1100;
    }

    .menu-toggle .bar {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px auto;
        background-color: var(--red-meat);
        transition: 0.3s;
    }

    .nav-links-container {
        position: fixed;
        left: -100%; /* Escondido a la izquierda */
        top: 0;
        flex-direction: column;
        background: rgba(8, 8, 8, 0.98);
        backdrop-filter: blur(15px);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: 0.4s;
        justify-content: center;
        display: flex !important;
        z-index: 1050;
    }

    .nav-links-container.active {
        left: 0; /* Aparece al activarse */
    }

    .nav-link {
        font-size: 1.5rem !important;
        margin: 20px 0 !important;
        display: block;
    }

    .desktop-only { display: none !important; }
    .mobile-only { display: inline-block !important; margin-top: 20px; }

    /* Animación del icono X */
    .menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.is-active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* Ocultar botones por defecto */
.mobile-only { display: none; }
.menu-toggle { display: none; }

/* Arreglo rápido para el link de reserva */
.btn-reserva-nav {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    cursor: pointer;
}

/* En móvil queremos que resalte más */
@media (max-width: 850px) {
    .btn-reserva-nav.mobile-only {
        width: 80%;
        margin: 20px auto;
        padding: 15px;
    }
}

@media (max-width: 850px) {
    /* 1. Forzar que las tarjetas ocupen el ancho total con aire a los lados */
    .grid-magazine {
        display: flex !important;
        flex-direction: column !important;
        gap: 50px !important; /* Espacio generoso entre platos */
        padding: 0 10px !important;
    }

    .card-top {
        width: 100% !important;
        text-align: left; /* Alineación tipo revista */
    }

    /* 2. Arreglar la imagen para que no se vea estirada ni pequeña */
    .card-top img {
        height: 250px !important; /* Altura fija para que todas sean iguales */
        width: 100% !important;
        object-fit: cover !important; /* Corta la imagen proporcionalmente */
        border-radius: 2px;
    }

    /* 3. Ajustar el texto para que no se amontone */
    .card-info {
        padding: 15px 5px !important;
    }

    .card-info h4 {
        font-size: 1.1rem !important;
        line-height: 1.3;
        display: flex;
        flex-direction: column; /* El tag de "Al Fuego" baja para no romper el título */
        gap: 5px;
    }

    .tag-fuego {
        width: fit-content;
        margin-left: 0 !important; /* Alineado a la izquierda */
    }

    .card-info p {
        font-size: 0.9rem !important;
        line-height: 1.5;
        margin-top: 10px;
    }
}

/* --- AJUSTE NAV 4 ENLACES --- */
.nav-wrapper {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto; /* Links Izq - Logo - Links Der - Botón Reserva */
    align-items: center;
    gap: 20px;
}

.nav-side {
    display: flex;
    gap: 30px;
    justify-content: center;
}

/* En móvil ocultamos las partes laterales y mostramos el toggle */
@media (max-width: 850px) {
    .nav-wrapper {
        display: flex;
        justify-content: space-between;
    }
    .desktop-only {
        display: none !important;
    }
}