/* ============================================================
   COMPONENTE - FOOTER
   ============================================================ */

/* ============================================================
   FOOTER CTA (Franja "Empieza hoy...")
   ============================================================ */

.footer-cta {
    padding: clamp(2.5rem, 5vw, 4rem) 0;
    background: #0D1B2A;
}

.footer-cta__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(1.25rem, 2.5vw, 1.5rem);
    text-align: center;
}

.footer-cta__title {
    font-family: var(--font-family-primary);
    font-size: clamp(1.5rem, 4vw, 2.75rem);
    font-weight: var(--font-weight-extrabold);
    line-height: 1.3;
    color: #FFFFFF;
    margin: 0;
    font-style: normal;
}

.footer-cta__subtitle {
    font-family: var(--font-family-primary);
    font-size: clamp(0.95rem, 1.8vw, 1.125rem);
    font-weight: var(--font-weight-regular);
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.footer-cta__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(0.5rem, 1vw, 1rem);
    width: 100%;
    margin-top: 0.5rem;
}

.footer-cta__btn--primary {
    display: inline-block;
    padding: clamp(0.75rem, 1.5vw, 1rem) clamp(1.5rem, 3vw, 2.5rem);
    font-family: var(--font-family-primary);
    font-size: clamp(0.85rem, 1.3vw, 1rem);
    font-weight: var(--font-weight-semibold);
    border-radius: 0.5rem;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #7C3AED, #6D28D9);
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.35);
}

.footer-cta__btn--primary:hover {
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.45);
}

.footer-cta__benefits {
    font-family: var(--font-family-primary);
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    font-weight: var(--font-weight-semibold);
    color: rgba(255, 255, 255, 0.75);
    margin: 0.5rem 0 0 0;
    letter-spacing: 0.02em;
}

/* ============================================================
   FOOTER PRINCIPAL
   ============================================================ */

.footer {
    padding: clamp(3rem, 6vw, 5rem) 0 clamp(1.5rem, 3vw, 2rem);
    background: #0F172A;
}

.footer__container {
    display: flex;
    flex-direction: column;
    gap: clamp(2.5rem, 5vw, 4rem);
}

/* ============================================================
   FOOTER TOP (Logo + Columnas)
   ============================================================ */

.footer__top {
    display: flex;
    flex-direction: column;
    gap: clamp(2rem, 4vw, 3rem);
}

/* Sección de marca (logo + tagline + redes) */
.footer__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.footer__logo {
    display: inline-block;
    text-decoration: none;
}

.footer__logo-img {
    height: clamp(28px, 4vw, 36px);
    width: auto;
    filter: brightness(0) invert(1);
}

.footer__tagline {
    font-family: var(--font-family-primary);
    font-size: clamp(0.875rem, 1.5vw, 0.9375rem);
    font-weight: var(--font-weight-regular);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin: 0;
    max-width: 280px;
}

/* Redes sociales */
.footer__social {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    transition: all 0.3s ease;
}

.footer__social-link:hover {
    background: #FFFFFF;
    color: #7C3AED;
    transform: translateY(-2px);
}

.footer__social-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* ============================================================
   COLUMNAS DE ENLACES
   ============================================================ */

.footer__links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(1.5rem, 3vw, 2rem);
}

.footer__column {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.footer__column-title {
    font-family: var(--font-family-primary);
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    font-weight: var(--font-weight-semibold);
    color: #FFFFFF;
    margin: 0 0 0.25rem 0;
}

.footer__link {
    font-family: var(--font-family-primary);
    font-size: clamp(0.8125rem, 1.3vw, 0.875rem);
    font-weight: var(--font-weight-regular);
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer__link:hover {
    color: #FFFFFF;
}

/* ============================================================
   FOOTER BOTTOM (Copyright)
   ============================================================ */

.footer__bottom {
    padding-top: clamp(1.5rem, 3vw, 2rem);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer__copyright {
    font-family: var(--font-family-primary);
    font-size: clamp(0.75rem, 1.2vw, 0.8125rem);
    font-weight: var(--font-weight-regular);
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* Botón púrpura sólido */
.btn.btn--purple {
    background: #532776;
    color: #FFFFFF;
    border: 2px solid #532776;
}

.btn.btn--purple:hover {
    background: #3d1c59;
    border-color: #3d1c59;
}

/* Botón blanco sólido */
.btn.btn--white {
    background: #FFFFFF;
    color: #0F172A;
    border: 2px solid #FFFFFF;
}

.btn.btn--white:hover {
    background: #F1F5F9;
    color: #0F172A;
    border-color: #F1F5F9;
}

/* Botón outline blanco */
.btn.btn--outline-white {
    background: transparent;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
}

.btn.btn--outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    border-color: #FFFFFF;
}

/* ============================================================
   RESPONSIVE - TABLET (768px+)
   ============================================================ */

@media (min-width: 768px) {
    .footer__top {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }

    .footer__brand {
        align-items: flex-start;
        text-align: left;
        flex: 0 0 auto;
        max-width: 280px;
    }

    .footer__links {
        grid-template-columns: repeat(4, auto);
        gap: clamp(2rem, 4vw, 4rem);
    }
}

/* ============================================================
   RESPONSIVE - DESKTOP (1024px+)
   ============================================================ */

@media (min-width: 1024px) {
    .footer {
        padding: 4rem 0 2rem;
    }

    .footer__brand {
        max-width: 300px;
    }

    .footer__tagline {
        max-width: none;
    }

    .footer__social-link {
        width: 40px;
        height: 40px;
    }

    .footer__social-icon {
        width: 20px;
        height: 20px;
    }
}

/* ============================================================
   RESPONSIVE - DESKTOP GRANDE (1440px+)
   ============================================================ */

@media (min-width: 1440px) {
    .footer {
        padding: 5rem 0 2rem;
    }

    .footer__links {
        gap: 5rem;
    }
}
