/* ==========================================================================
   VEGA CAMELO HEADER & FOOTER - ESTILOS BLINDADOS
   ========================================================================== */

/* --- RESET TOTAL PARA EL HEADER --- */
.vhf-header,
.vhf-header * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.vhf-header {
    position: relative;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
    z-index: 999;
    line-height: 1.4;
}

.vhf-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- LAYOUT DEL HEADER (FLEXBOX) --- */
.vhf-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    gap: 20px;
}

/* --- LOGO --- */
.vhf-logo {
    flex-shrink: 0;
    max-width: 220px;
}

.vhf-logo img {
    display: block;
    height: auto;
    max-height: 60px;
    width: auto;
    max-width: 100%;
}

.vhf-logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #004a99;
    line-height: 1.1;
}

.vhf-logo-text span {
    color: #8cc63f;
}

/* --- MENÚ DE NAVEGACIÓN --- */
.vhf-nav {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.vhf-nav .vhf-menu {
    display: flex;
    flex-direction: row;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.vhf-nav .vhf-menu li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.vhf-nav .vhf-menu li a {
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 0.92rem;
    color: #333333;
    text-decoration: none;
    transition: color 0.3s ease;
    white-space: nowrap;
    display: inline-block;
    line-height: 1.2;
}

.vhf-nav .vhf-menu li a:hover {
    color: #004a99;
}

/* --- BOTÓN CTA --- */
.vhf-cta {
    flex-shrink: 0;
}

.vhf-btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    white-space: nowrap;
    line-height: 1.2;
    border: none;
    cursor: pointer;
}

.vhf-btn-primary {
    background-color: #8cc63f;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(140, 198, 63, 0.35);
}

.vhf-btn-primary:hover {
    background-color: #7ab32e;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(140, 198, 63, 0.5);
    color: #ffffff !important;
}

/* --- MENÚ HAMBURGUESA (OCULTO EN ESCRITORIO) --- */
.vhf-menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: #004a99;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px 12px;
    line-height: 1;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.vhf-footer,
.vhf-footer * {
    box-sizing: border-box;
}

.vhf-footer {
    background-color: #111111;
    color: #aaaaaa;
    padding: 60px 0 25px;
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
}

.vhf-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.vhf-footer-col h4 {
    color: #ffffff;
    margin: 0 0 20px 0;
    font-size: 1.1rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3;
}

.vhf-footer-col p {
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    line-height: 1.4;
}

.vhf-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vhf-footer-col ul li {
    margin-bottom: 12px;
    padding: 0;
}

.vhf-footer-col ul li a {
    color: #aaaaaa;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.vhf-footer-col ul li a:hover {
    color: #8cc63f;
}

.vhf-footer-col i {
    color: #8cc63f;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

.vhf-footer-col a {
    color: #aaaaaa;
    text-decoration: none;
}

.vhf-footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid #222222;
    font-size: 0.85rem;
    color: #777;
}

.vhf-footer-bottom p {
    margin: 0;
}

/* ==========================================================================
   WHATSAPP FLOTANTE
   ========================================================================== */
.vhf-whatsapp-float {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    background-color: #25d366 !important;
    color: #ffffff !important;
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    font-size: 2rem !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5) !important;
    z-index: 9999 !important;
    transition: transform 0.3s ease !important;
    text-decoration: none !important;
}

.vhf-whatsapp-float:hover {
    transform: scale(1.1) !important;
    color: #ffffff !important;
}

/* ==========================================================================
   RESPONSIVE (MÓVIL Y TABLET)
   ========================================================================== */
@media (max-width: 992px) {
    .vhf-header-content {
        flex-wrap: wrap;
    }

    .vhf-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ffffff;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        z-index: 998;
        flex-direction: column;
    }

    .vhf-nav.vhf-active {
        display: flex;
    }

    .vhf-nav .vhf-menu {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        align-items: flex-start;
    }

    .vhf-nav .vhf-menu li a {
        font-size: 1rem;
    }

    .vhf-menu-toggle {
        display: block;
        order: 3;
    }

    .vhf-header .vhf-cta {
        display: none;
    }
}

@media (max-width: 480px) {
    .vhf-logo {
        max-width: 160px;
    }

    .vhf-logo img {
        max-height: 45px;
    }
}

/* ==========================================
   SUBMENÚS DEL HEADER
   ========================================== */
.vhf-nav .vhf-menu > li {
    position: relative;
}

.vhf-nav .vhf-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: #ffffff;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border-radius: 0 0 8px 8px;
    list-style: none;
    margin: 0;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.25s ease;
    z-index: 999;
}

.vhf-nav .vhf-menu > li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.vhf-nav .vhf-menu .sub-menu li {
    margin: 0;
    padding: 0;
}

.vhf-nav .vhf-menu .sub-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    color: #333;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.2s;
}

.vhf-nav .vhf-menu .sub-menu li a:hover {
    background: #f4f7f6;
    color: #8cc63f;
}

.vhf-nav .vhf-menu li.menu-item-has-children > a::after {
    content: '▾';
    margin-left: 6px;
    font-size: 11px;
    opacity: 0.6;
    display: inline-block;
    transition: transform 0.3s;
}

.vhf-nav .vhf-menu li.menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
}