/* ==================================================
   MENU SAN FRANCISCO SRL
   CSS independiente, jerárquico y estable
================================================== */

/* =========================
   VARIABLES ESPERADAS
   (definidas en general.css)
   --azul-corp: #16232B
   --rojo-logo: #ed343b
========================= */

/* =========================
   NAVBAR BASE
========================= */
.nav-sf {
    background-color: var(--azul-corp);
    height: 90px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--rojo-logo);
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* =========================
   LOGO
========================= */
.nav-logo img {
    height: 60px;
    width: auto;
    display: block;
}

/* =========================
   LINKS DESKTOP
========================= */
.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: #e5eef1;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--rojo-logo);
}

/* =========================
   SUBMENÚ DESKTOP
========================= */
.has-submenu {
    position: relative;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--azul-corp);
    min-width: 240px;
    display: none;
    padding: 10px 0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

.submenu li {
    list-style: none;
}

.submenu li a {
    padding: 12px 20px;
    display: block;
    font-size: 0.85rem;
    color: #e5eef1;
}

.submenu li a:hover {
    background-color: #085056;
    color: #ffffff;
}

.has-submenu:hover .submenu {
    display: block;
}

/* =========================
   BOTÓN HAMBURGUESA
========================= */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 100%;
    height: 3px;
    background-color: #e5eef1;
    transition: 0.3s ease;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {

    /* Mostrar hamburguesa */
    .nav-toggle {
        display: flex;
        z-index: 1100;
    }

    /* Menú mobile como overlay vertical */
    .nav-links {
        position: fixed;
        top: 90px;
        left: 0;
        width: 100%;
        height: calc(100vh - 90px);

        background-color: var(--azul-corp);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;

        padding: 40px 20px;
        gap: 24px;

        transform: translateY(-120%);
        transition: transform 0.35s ease;

        z-index: 1000;
    }

    /* Menú visible */
    .nav-links.nav-active {
        transform: translateY(0);
    }

    /* Submenú en mobile */
    .submenu {
        position: static;
        display: block;
        width: 100%;
        background-color: rgba(0,0,0,0.15);
        box-shadow: none;
        padding: 0;
    }

    .submenu li a {
        padding: 10px 0;
    }
}
/* =========================
   FOOTER - CORRECCIÓN FINAL ESTRICTA
========================= */

.footer-sf {
    background-color: var(--azul-corp) !important; /* #16232B */
    padding: 60px 0 !important;
    margin-top: 80px !important;
    border-top: 3px solid var(--rojo-logo) !important; /* #EB333A */
    font-family: 'Montserrat', sans-serif !important;
}

/* Forzar que NINGÚN enlace sea azul ni tenga subrayado */
.footer-sf a, 
.footer-sf p, 
.footer-sf h4 {
    color: #e5eef1 !important;
    text-decoration: none !important;
    font-family: 'Montserrat', sans-serif !important;
    margin: 0;
}

/* Hover en rojo para los links */
.footer-sf a:hover {
    color: var(--rojo-logo) !important;
}

.footer-flex {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 30px !important;
}

.footer-info h4 {
    margin-bottom: 20px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    color: var(--rojo-logo) !important;
}

/* Estilo para los enlaces de redes sociales */
.footer-social-links {
    list-style: none !important;
    display: flex !important;
    gap: 20px !important;
    padding: 0 !important;
}

.footer-social-links a {
    font-weight: 600 !important;
}

/* Ajuste para que no se amontone en móvil */
@media (max-width: 768px) {
    .footer-flex {
        flex-direction: column !important;
        text-align: center !important;
        align-items: center !important;
    }
}