/* LOGO DEL FOOTER */
.footer-logo {
    display: block;
    width: 130px;
    height: auto;
    object-fit: contain;
    margin: 0  22px;
    margin-left: 40px;

    filter: drop-shadow(0 4px 12px rgba(212, 175, 55, 0.15));
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .footer-logo {
        width: 110px;
        margin: 0 auto 20px;
    }
}
/* =========================================================
   HEADER Y NAVBAR
========================================================= */

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
}

/* TOP BAR: CONSERVAR DISEÑO ORIGINAL */

.site-header .top-bar {
    transition: opacity .3s ease, visibility .3s ease;
}

/* NAVBAR: TRANSPARENTE AL INICIO */

.site-header .navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;

    background: transparent !important;
    box-shadow: none !important;
    border: none !important;

    transition: background .3s ease;
}

/* =========================================================
   AL HACER SCROLL
========================================================= */

.site-header.scrolled .top-bar {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.site-header.scrolled .navbar {
    position: fixed;
    top: 0 !important;
    left: 0;

    background: #080808 !important;
    box-shadow: none !important;
    border: none !important;
}



/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #0a0a0a;
    color: #ffffff;
    font-family: "Poppins", sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
}


/* =========================================================
   VARIABLES — MEXICO
========================================================= */

:root {

    /* VERDE MEXICANO */
    --mex-green: #006847;
    --mex-green-light: #008f5b;

    /* ROJO MEXICANO */
    --mex-red: #ce1126;
    --mex-red-light: #e21b2d;

    /* BLANCO */
    --white: #ffffff;
    --white-soft: rgba(255, 255, 255, 0.75);

    /* DORADO — DETALLES */
    --gold: #d4af37;
    --gold-light: #e6c85c;

    /* NEGRO */
    --black: #080808;
    --black-soft: #111111;

    /* BORDES */
    --border: rgba(255, 255, 255, 0.15);
}


/* =========================================================
   TOP BAR
========================================================= */

.top-bar {

    position: relative;

    width: 100%;

    min-height: 98px;

    background-image: url("../img/navbar.jpg");

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;

    color: var(--white);

    overflow: hidden;

    /* LINEA TRICOLOR */

    border-bottom: 3px solid transparent;

    border-image:
        linear-gradient(
            90deg,
            var(--mex-green) 0%,
            var(--mex-green) 33.33%,
            #ffffff 33.33%,
            #ffffff 66.66%,
            var(--mex-red) 66.66%,
            var(--mex-red) 100%
        ) 1;
}


/* =========================================================
   CAPA OSCURA
========================================================= */

.top-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 30, 18, 0.88),
            rgba(0, 0, 0, 0.64),
            rgba(80, 0, 10, 0.88)
        );

    z-index: 1;
}


/* =========================================================
   CONTENEDOR TOP
========================================================= */

.top-container {

    position: relative;

    z-index: 2;

    width: min(1350px, 92%);

    min-height: 98px;

    margin: 0 auto;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 55px;
}


/* =========================================================
   ELEMENTOS TOP
========================================================= */

.top-item {

    display: flex;

    align-items: center;

    gap: 11px;

    color: #ffffff;

    font-family: "Poppins", sans-serif;

    font-size: 13px;

    font-weight: 500;

    letter-spacing: 0.15px;

    white-space: nowrap;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}


/* ICONOS */

.top-item i {

    color: var(--gold);

    font-size: 17px;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}


/* =========================================================
   HOVER TOP
========================================================= */

.top-item:hover {

    color: var(--mex-green-light);

    transform: translateY(-2px);
}

.top-item:hover i {

    color: var(--mex-green-light);

    transform: scale(1.15);
}


/* =========================================================
   NAVBAR
========================================================= */

.navbar {

    position: relative;

    width: 100%;

    height: 90px;

    background:
        linear-gradient(
            90deg,
            #070707 0%,
            #101010 50%,
            #070707 100%
        );

    border-bottom: 1px solid rgba(255, 255, 255, 0.10);

    z-index: 100;
}


/* =========================================================
   LINEA MEXICANA SUPERIOR
========================================================= */

.navbar::before {

    content: "";

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 2px;

    background:
        linear-gradient(
            90deg,
            var(--mex-green) 0%,
            var(--mex-green) 33.33%,
            #ffffff 33.33%,
            #ffffff 66.66%,
            var(--mex-red) 66.66%,
            var(--mex-red) 100%
        );
}


/* =========================================================
   CONTENEDOR NAVBAR
========================================================= */

.navbar-container {

    width: min(1400px, 92%);

    height: 100%;

    margin: 0 auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}


/* =========================================================
   MARCA
========================================================= */
.brand {
    display: flex;
    align-items: center;
    gap: 13px;
    text-decoration: none;
}

.brand-logo {
    width: 58px;
    height: 58px;
    object-fit: contain;
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.brand-name {
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.brand-subtitle {
    color: #d8b66f;
    font-family: Georgia, serif;
    font-size: 12px;
    font-style: italic;
}

/* =========================================================
   TEXTO DE MARCA
========================================================= */

.brand-text {

    display: flex;

    flex-direction: column;

    line-height: 1.1;
}


/* NOMBRE */

.brand-name {

    font-family: "Bree Serif", serif;

    font-size: 19px;

    letter-spacing: 0.7px;

    color: #ffffff;
}


/* SUBTITULO */

.brand-subtitle {

    margin-top: 5px;

    color: var(--mex-red);

    font-family: "Poppins", sans-serif;

    font-size: 9px;

    font-weight: 600;

    letter-spacing: 2px;

    text-transform: uppercase;
}


/* =========================================================
   MENU
========================================================= */

.nav-menu {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 29px;
    
    font-size: 15px;
    font-weight: 600;
}


/* LINKS */

.nav-link {

    position: relative;

    color: rgba(255, 255, 255, 0.90);

    font-family: "Poppins", sans-serif;

    font-size: 15px;

    font-weight: 600;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}


/* HOVER */

.nav-link:hover {

    color: var(--mex-green-light);

    transform: translateY(-1px);
}


/* LINEA */

.nav-link::after {

    content: "";

    position: absolute;

    left: 50%;

    bottom: -11px;

    width: 0;

    height: 2px;

    background: var(--mex-red);

    transform: translateX(-50%);

    transition: width 0.3s ease;
}


/* ACTIVO */

.nav-link.active {

    color: var(--mex-red);
}


.nav-link:hover::after,
.nav-link.active::after {

    width: 100%;
}


/* =========================================================
   REDES SOCIALES
========================================================= */

.social-links {

    display: flex;

    align-items: center;

    gap: 9px;

    flex-shrink: 0;
}


.social-links a {

    width: 35px;

    height: 35px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.28);

    border-radius: 50%;

    color: #ffffff;

    font-size: 13px;

    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}


/* FACEBOOK */

.social-links a:nth-child(1):hover {

    background: var(--mex-green);

    border-color: var(--mex-green);

    color: #ffffff;

    transform: translateY(-3px);
}


/* INSTAGRAM */

.social-links a:nth-child(2):hover {

    background: var(--mex-red);

    border-color: var(--mex-red);

    color: #ffffff;

    transform: translateY(-3px);
}


/* TIKTOK */

.social-links a:nth-child(3):hover {

    background: var(--gold);

    border-color: var(--gold);

    color: #080808;

    transform: translateY(-3px);
}


/* =========================================================
   BOTON RESERVAR
========================================================= */

.nav-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 12px 23px;

    background: var(--mex-red);

    color: #ffffff;

    font-family: "Poppins", sans-serif;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;

    white-space: nowrap;

    transition:
        background 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


/* HOVER */

.nav-button:hover {

    background: var(--mex-green);

    color: #ffffff;

    transform: translateY(-2px);

    box-shadow:
        0 8px 22px rgba(0, 104, 71, 0.30);
}


/* =========================================================
   MENU HAMBURGUESA
========================================================= */

.menu-toggle {

    display: none;

    width: 43px;

    height: 43px;

    align-items: center;

    justify-content: center;

    flex-direction: column;

    gap: 5px;

    background: transparent;

    border: 1px solid rgba(255, 255, 255, 0.25);

    cursor: pointer;

    transition:
        border-color 0.3s ease,
        background 0.3s ease;
}


.menu-toggle span {

    width: 21px;

    height: 2px;

    background: #ffffff;

    transition:
        transform 0.3s ease,
        background 0.3s ease;
}


.menu-toggle:hover {

    border-color: var(--mex-red);

    background: rgba(206, 17, 38, 0.08);
}


.menu-toggle:hover span {

    background: var(--mex-red);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1150px) {

    .top-container {

        gap: 30px;
    }

    .top-item {

        font-size: 12px;
    }

    .navbar-container {

        gap: 18px;
    }

    .nav-menu {

        gap: 18px;
    }

    .nav-link {

        font-size: 12px;
    }

    .social-links {

        gap: 6px;
    }

    .social-links a {

        width: 31px;

        height: 31px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 850px) {


    /* =====================================================
       TOP BAR
    ===================================================== */

    .top-bar {

        min-height: 78px;
    }


    .top-container {

        width: 94%;

        min-height: 78px;

        gap: 20px;
    }


    .top-item {

        font-size: 10px;

        gap: 7px;
    }


    .top-item i {

        font-size: 14px;
    }


    /* OCULTAR UBICACION Y 24/7 */

    .top-item:nth-child(2),
    .top-item:nth-child(3) {

        display: none;
    }


    /* =====================================================
       NAVBAR
    ===================================================== */

    .navbar {

        height: 76px;
    }


    .navbar-container {

        width: 94%;

        gap: 15px;
    }


    /* =====================================================
       LOGO
    ===================================================== */

    .brand-logo {
        width: 46px;
        height: 46px;
    }

    .brand-name {
        font-size: 12px;
        letter-spacing: 1px;
    }

    .brand-subtitle {
        font-size: 11px;
    }


    /* =====================================================
       MENU
    ===================================================== */

    .nav-menu {

        position: absolute;

        top: 100%;

        left: 0;

        width: 100%;

        display: none;

        flex-direction: column;

        align-items: center;

        gap: 22px;

        padding: 28px 0;

        background: #090909;

        border-top: 2px solid var(--mex-red);

        border-bottom: 1px solid rgba(255, 255, 255, 0.10);

        box-shadow:
            0 15px 35px rgba(0, 0, 0, 0.40);
    }


    .nav-menu.active {

        display: flex;
    }


    .nav-link {

        font-size: 14px;
    }


    /* =====================================================
       REDES
    ===================================================== */

    .social-links {

        display: none;
    }


    /* =====================================================
       BOTON
    ===================================================== */

    .nav-button {

        display: none;
    }


    /* =====================================================
       HAMBURGUESA
    ===================================================== */

    .menu-toggle {

        display: flex;

        margin-left: auto;
    }

}


/* =========================================================
   TELEFONOS PEQUEÑOS
========================================================= */

@media (max-width: 500px) {

    .top-container {

        width: 95%;

        justify-content: center;
    }


    .top-item {

        font-size: 9px;
    }


    .top-item:nth-child(4) span {

        display: block;

        max-width: 205px;

        overflow: hidden;

        text-overflow: ellipsis;

        white-space: nowrap;
    }


    /* =====================================================
       LOGO
    ===================================================== */

    .brand-icon {

        font-size: 28px;
    }


    .brand-name {

        font-size: 14px;
    }


    .brand-subtitle {

        font-size: 7px;

        letter-spacing: 1px;
    }


    /* =====================================================
       HAMBURGUESA
    ===================================================== */

    .menu-toggle {

        width: 40px;

        height: 40px;
    }

}


/* =========================================================
   HAMBURGUESA ACTIVA
========================================================= */

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}










/*BOTON CAMBIO DE IDIOMA*/
/* =========================================================
   SELECTOR DE IDIOMA
========================================================= */

.language-switcher {
    position: fixed;
    right: 25px;
    bottom: 25px;

    z-index: 9999;

    display: flex;
    align-items: center;
    gap: 8px;

    padding: 7px;

    background: rgba(8, 8, 8, 0.92);

    border: 1px solid rgba(255, 255, 255, 0.18);

    border-radius: 50px;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.40);

    backdrop-filter: blur(10px);
}


/* CÍRCULOS */

.language-btn {

    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 2px solid transparent;

    border-radius: 50%;

    background: transparent;

    font-size: 21px;

    line-height: 1;

    cursor: pointer;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}


/* HOVER */

.language-btn:hover {

    transform: scale(1.12);

    border-color: var(--mex-green);

    box-shadow:
        0 0 12px rgba(0, 104, 71, 0.45);
}


/* IDIOMA ACTIVO */

.language-btn.active {

    border-color: var(--mex-red);

    box-shadow:
        0 0 12px rgba(206, 17, 38, 0.40);
}

/* =========================================================
   SELECTOR DE IDIOMA
========================================================= */

.language-switcher {

    position: fixed;

    right: 25px;
    bottom: 25px;

    z-index: 9999;

    display: flex;
    align-items: center;
    gap: 7px;

    padding: 7px;

    background: rgba(8, 8, 8, 0.94);

    border: 1px solid rgba(255, 255, 255, 0.18);

    border-radius: 50px;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.45);

    backdrop-filter: blur(10px);
}


/* =========================================================
   BOTONES
========================================================= */

.language-btn {

    width: 38px;
    height: 38px;

    padding: 0;

    border: 2px solid transparent;

    border-radius: 50%;

    background: transparent;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}


/* =========================================================
   BANDERA
========================================================= */

.language-btn img {

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    border-radius: 50%;

    transition: transform 0.3s ease;
}


/* =========================================================
   HOVER
========================================================= */

.language-btn:hover {

    transform: scale(1.12);

    border-color: var(--mex-green);

    box-shadow:
        0 0 12px rgba(0, 104, 71, 0.55);
}


/* =========================================================
   IDIOMA ACTIVO
========================================================= */

.language-btn.active {

    border-color: var(--mex-red);

    box-shadow:
        0 0 13px rgba(206, 17, 38, 0.45);
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 500px) {

    .language-switcher {

        right: 15px;
        bottom: 15px;

        padding: 5px;

    }

    .language-btn {

        width: 32px;
        height: 32px;

    }

}



/* ======================================
   MARIAACHI FOOTER - PREMIUM MEXICANO
====================================== */

.mariachi-footer {
    position: relative;
    overflow: hidden;
    padding: 0 7% 25px;
    background:
        radial-gradient(
            ellipse at 10% 30%,
            rgba(8, 123, 67, .09),
            transparent 35%
        ),
        radial-gradient(
            ellipse at 90% 30%,
            rgba(189, 48, 56, .09),
            transparent 35%
        ),
        #080808;
    color: #fff;
}

/* LÍNEA TRICOLOR */

.footer-tricolor {
    height: 3px;
    width: 100%;
    background: linear-gradient(
        90deg,
        #087b43 0%,
        #087b43 33.33%,
        #f4f0e8 33.33%,
        #f4f0e8 66.66%,
        #bd3038 66.66%,
        #bd3038 100%
    );
    box-shadow: 0 0 15px rgba(216, 182, 111, .18);
}

/* CONTENIDO PRINCIPAL */

.footer-main {
    max-width: 1450px;
    margin: auto;
    padding: 85px 0 65px;

    display: grid;
    grid-template-columns: 1.5fr .8fr 1fr 1.35fr;
    gap: 55px;
}

/* IDENTIDAD */

.footer-kicker {
    display: inline-block;
    margin-bottom: 19px;
    color: #d8b66f;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 3px;
}

.footer-brand h2 {
    margin: 0 0 20px;
    font-family: Georgia, serif;
    font-size: clamp(29px, 3vw, 39px);
    font-weight: 400;
    line-height: 1.15;
}

.footer-brand h2 span {
    display: block;
    color: #d8b66f;
    font-style: italic;
}

.footer-brand > p {
    max-width: 340px;
    margin: 0;
    color: rgba(255,255,255,.58);
    font-size: 13px;
    line-height: 1.9;
}

/* REDES SOCIALES */

.footer-socials {
    display: flex;
    gap: 11px;
    margin-top: 28px;
}

.footer-socials a {
    width: 39px;
    height: 39px;
    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(216,182,111,.3);
    border-radius: 50%;

    color: #d8b66f;
    font-size: 14px;
    text-decoration: none;

    transition: .35s ease;
}

.footer-socials a:hover {
    background: #d8b66f;
    color: #080808;
    border-color: #d8b66f;
    transform: translateY(-4px);
}

/* COLUMNAS */

.footer-column h3 {
    margin: 5px 0 15px;
    color: #fff;
    font-family: Georgia, serif;
    font-size: 18px;
    font-weight: 400;
}

.footer-line {
    display: block;
    width: 35px;
    height: 2px;
    margin-bottom: 23px;
    background: #d8b66f;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 15px;
}

.footer-column ul a {
    color: rgba(255,255,255,.58);
    font-size: 12px;
    text-decoration: none;
    transition: .3s ease;
}

.footer-column ul a:hover {
    color: #d8b66f;
    padding-left: 5px;
}

/* CONTACTO */

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 17px;
}

.footer-contact-item i {
    margin-top: 3px;
    min-width: 15px;
    color: #d8b66f;
    font-size: 13px;
}

.footer-contact-item p,
.footer-contact-item a {
    margin: 0;
    color: rgba(255,255,255,.62);
    font-size: 11px;
    line-height: 1.8;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: .3s ease;
}

.footer-contact-item a:hover {
    color: #d8b66f;
}

/* BOTÓN DE RESERVA */

.footer-booking {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    margin-top: 12px;
    padding: 13px 18px;

    background: #d8b66f;
    border: 1px solid #d8b66f;
    border-radius: 3px;

    color: #111;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .7px;
    text-decoration: none;

    transition: .35s ease;
}

.footer-booking:hover {
    background: transparent;
    color: #d8b66f;
    transform: translateY(-3px);
}

.footer-booking i:last-child {
    font-size: 10px;
}

/* FRASE CENTRAL */

.footer-motto {
    max-width: 700px;
    margin: 0 auto 45px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
}

.footer-motto p {
    margin: 0;
    color: #d8b66f;
    font-family: Georgia, serif;
    font-size: 17px;
    font-style: italic;
    text-align: center;
}

.motto-line {
    flex: 1;
    max-width: 90px;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(216,182,111,.65)
    );
}

.motto-line:last-child {
    transform: rotate(180deg);
}

/* COPYRIGHT */

.footer-bottom {
    max-width: 1450px;
    margin: auto;
    padding-top: 22px;

    border-top: 1px solid rgba(255,255,255,.10);

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255,255,255,.43);
    font-size: 10px;
}

.footer-location {
    color: rgba(216,182,111,.75);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
}

/* ANIMACIÓN */

.footer-reveal {
    opacity: 0;
    transform: translateY(25px);
    transition:
        opacity .8s ease,
        transform .8s ease;
}

.footer-reveal.footer-visible {
    opacity: 1;
    transform: translateY(0);
}

/* TABLET */

@media (max-width: 1050px) {
    .footer-main {
        grid-template-columns: 1.2fr 1fr;
        gap: 45px;
    }
}

/* MÓVIL */

@media (max-width: 600px) {
    .mariachi-footer {
        padding: 0 7% 22px;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 38px 22px;
        padding: 60px 0 45px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-brand > p {
        max-width: 100%;
    }

    .footer-column h3 {
        font-size: 16px;
    }

    .footer-column ul li {
        margin-bottom: 13px;
    }

    .footer-column ul a {
        font-size: 11px;
    }

    .footer-contact {
        grid-column: 1 / -1;
    }

    .footer-contact-item p,
    .footer-contact-item a {
        font-size: 12px;
    }

    .footer-motto {
        gap: 12px;
        margin-bottom: 35px;
    }

    .footer-motto p {
        font-size: 14px;
    }

    .motto-line {
        max-width: 35px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
}

/* ACCESIBILIDAD */

@media (prefers-reduced-motion: reduce) {
    .footer-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .footer-socials a,
    .footer-booking {
        transition: none;
    }
}
