/* ================================================================
   HIGH ASCENTS - FOOTER SYSTEM
================================================================ */

:root {
    --f-primary: #008AFF;
    --f-dark: #1F2937;
    --f-light: #F9FAFB;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

#main-footer {
    position: relative;
    overflow: hidden;
}

/* Logo en Footer */
.footer-logo {
    max-height: 270px !important;
    width: auto !important;
    transition: var(--transition);
}

.footer-logo:hover {
    transform: scale(1.02);
}

/* --- MENÚ SECUNDARIO DINÁMICO (BOTONES BLANCOS) --- */
.footer-secondary-nav {
    display: block;
}

.footer-secondary-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Estilizamos los enlaces generados por WordPress */
.footer-secondary-nav ul li a {
    display: inline-block;
    background: white;
    color: var(--f-dark);
    padding: 0.8rem 1.6rem;
    border-radius: 99px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-decoration: none;
    box-shadow: 0 10px 25px -10px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

/* Hover: Azul con Sombra Azul y Texto Blanco */
.footer-secondary-nav ul li a:hover {
    background: var(--f-primary);
    color: white !important;
    transform: translateY(-4px);
    box-shadow: 0 15px 30px -5px rgba(0, 138, 255, 0.4);
    border-color: var(--f-primary);
}

/* Items de Contacto */
.footer-contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    border-radius: 2rem;
    transition: var(--transition);
    text-decoration: none;
    border: 1px solid transparent;
}

.footer-contact-item:hover {
    background: var(--f-light);
    border-color: rgba(0, 138, 255, 0.1);
    transform: translateY(-5px);
}

.footer-contact-item .icon-box {
    width: 60px;
    height: 60px;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--f-primary);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.footer-contact-item:hover .icon-box {
    background: var(--f-primary);
    color: white;
    box-shadow: 0 15px 35px rgba(0, 138, 255, 0.25);
}

.footer-contact-item .icon-box svg {
    width: 24px;
    height: 24px;
}

.footer-contact-item .text-content {
    display: flex;
    flex-direction: column;
}

.footer-contact-item .label {
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: #94a3b8;
    margin-bottom: 0.5rem;
}

.footer-contact-item .value {
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--f-dark);
    font-style: italic;
    letter-spacing: -0.02em;
}

/* Botones Sociales Amplificados */
.social-btn {
    width: 64px;
    height: 64px;
    border-radius: 1.5rem;
    background: var(--f-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.social-btn svg {
    width: 28px;
    height: 28px;
}

.social-btn:hover {
    transform: translateY(-8px) scale(1.05);
    color: white;
}

.social-btn.whatsapp:hover { background-color: #25D366; box-shadow: 0 15px 35px rgba(37, 211, 102, 0.25); }
.social-btn.facebook:hover { background-color: #1877F2; box-shadow: 0 15px 35px rgba(24, 119, 242, 0.25); }
.social-btn.instagram:hover { background-color: #E4405F; box-shadow: 0 15px 35px rgba(228, 64, 95, 0.25); }
.social-btn.youtube:hover { background-color: #FF0000; box-shadow: 0 15px 35px rgba(255, 0, 0, 0.25); }

/* Copyright Redondeado y Amigable */
.copyright-text {
    color: #94a3b8;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-bottom: 0.5rem;
}

.copyright-author {
    color: #cbd5e1;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.copyright-author a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    padding-bottom: 2px;
}

.copyright-author a:hover {
    color: var(--f-primary);
    border-color: var(--f-primary);
}

/* Responsivo */
@media (max-width: 768px) {
    .footer-secondary-nav ul {
        gap: 0.75rem;
    }
    .footer-secondary-nav ul li a {
        padding: 0.7rem 1.2rem;
        font-size: 10px;
        width: 100%;
        text-align: center;
    }
    .social-btn {
        width: 56px;
        height: 56px;
    }
    .footer-contact-item {
        padding: 1rem;
    }
    .footer-logo {
        max-height: 190px !important;
    }
}