
/* ==========================================================
   FOOTER CORPORATIVO - LT & SOLUTIONS PRO
   Diseño premium, tecnológico y adaptable a dispositivos
   ========================================================== */


/* ==========================================================
   1. VARIABLES Y CONTENEDOR GENERAL
   ========================================================== */

.footer {
    --footer-navy: #0F172A;
    --footer-navy-light: #172554;
    --footer-blue: #1652F0;
    --footer-blue-light: #2563EB;
    --footer-gold: #F59E0B;
    --footer-white: #FFFFFF;
    --footer-text: #CBD5E1;
    --footer-muted: #94A3B8;

    width: 100%;
    position: relative;
    overflow: hidden;
    background: var(--footer-navy);
    color: var(--footer-white);
    font-family: 'Montserrat', sans-serif;
}

/* Contenedor central para alinear el contenido */
.footer-container {
    width: min(100% - 40px, 1320px);
    margin: 0 auto;
}


/* ==========================================================
   2. FRANJA SUPERIOR - LLAMADO A LA ACCIÓN
   ========================================================== */

.footer-cta {
    position: relative;
    overflow: hidden;
    padding: 48px 0;
    background: linear-gradient(
        115deg,
        #1652F0 0%,
        #1645C9 55%,
        #0F3EB5 100%
    );
}

/* Detalle decorativo de luz */
.footer-cta::after {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    top: -190px;
    right: 8%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    box-shadow:
        0 0 0 35px rgba(255, 255, 255, 0.035),
        0 0 0 70px rgba(255, 255, 255, 0.025);
    pointer-events: none;
}

.footer-cta-content {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.footer-cta-label {
    display: inline-block;
    margin-bottom: 12px;
    color: #FBBF24;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.footer-cta-text h2 {
    max-width: 720px;
    margin: 0 0 10px;
    color: var(--footer-white);
    font-size: clamp(22px, 2.5vw, 32px);
    font-weight: 800;
    line-height: 1.3;
}

.footer-cta-text p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    line-height: 1.7;
}

/* Botón para abrir el cotizador */
.footer-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-shrink: 0;
    min-height: 50px;
    padding: 0 25px;
    border: 2px solid var(--footer-gold);
    border-radius: 10px;
    background: var(--footer-gold);
    color: #111827;
    font-family: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
}

.footer-cta-button span {
    font-size: 21px;
    line-height: 1;
    transition: transform 0.3s ease;
}

.footer-cta-button:hover {
    background: #FBBF24;
    border-color: #FBBF24;
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
}

.footer-cta-button:hover span {
    transform: translateX(4px);
}


/* ==========================================================
   3. CUERPO PRINCIPAL DEL FOOTER
   ========================================================== */

.footer-main {
    padding: 65px 0 55px;
    background:
        radial-gradient(
            circle at 8% 10%,
            rgba(22, 82, 240, 0.10),
            transparent 28%
        ),
        var(--footer-navy);
}

/* Distribución de las cuatro columnas */
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.35fr;
    gap: 45px;
}

/* Columna de identidad corporativa */
.footer-brand {
    max-width: 340px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: 22px;
}

.footer-logo img {
    display: block;
    width: 175px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.18));
}

.footer-brand p {
    margin: 0 0 20px;
    color: var(--footer-text);
    font-size: 13px;
    line-height: 1.9;
}

.footer-brand-tag {
    display: inline-block;
    padding-left: 12px;
    border-left: 3px solid var(--footer-gold);
    color: #FBBF24;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.6;
}


/* ==========================================================
   4. COLUMNAS DE ENLACES
   ========================================================== */

.footer-column h3 {
    position: relative;
    margin: 5px 0 25px;
    padding-bottom: 13px;
    color: var(--footer-white);
    font-size: 15px;
    font-weight: 800;
}

/* Línea decorativa debajo de cada título */
.footer-column h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    border-radius: 5px;
    background: var(--footer-gold);
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-column ul li a {
    display: inline-block;
    color: var(--footer-text);
    font-size: 12px;
    line-height: 1.6;
    text-decoration: none;
    transition: all 0.25s ease;
}

.footer-column ul li a:hover {
    color: #FBBF24;
    transform: translateX(4px);
}


/* ==========================================================
   5. REDES SOCIALES
   ========================================================== */

.footer-social {
    margin-top: 27px;
}

.footer-social h4 {
    margin: 0 0 13px;
    color: var(--footer-white);
    font-size: 12px;
    font-weight: 700;
}

.footer-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 6px 10px;
    border: 1px solid rgba(203, 213, 225, 0.2);
    border-radius: 6px;
    color: var(--footer-text);
    font-size: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.footer-social-links a:hover {
    border-color: var(--footer-gold);
    background: rgba(245, 158, 11, 0.10);
    color: #FBBF24;
}


/* ==========================================================
   6. BARRA INFERIOR - DERECHOS RESERVADOS
   ========================================================== */

.footer-bottom {
    border-top: 1px solid rgba(203, 213, 225, 0.12);
    background: #0B1120;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    min-height: 65px;
}

.footer-bottom-content p {
    margin: 0;
    color: var(--footer-muted);
    font-size: 11px;
    line-height: 1.7;
}

.footer-bottom-content p span {
    color: #FBBF24;
    font-weight: 700;
}

.footer-bottom-tag {
    color: var(--footer-muted);
    font-size: 11px;
    font-weight: 600;
}


/* ==========================================================
   7. TABLET - HASTA 1024 PX
   ========================================================== */

@media (max-width: 1024px) {

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 45px 55px;
    }

    .footer-brand {
        max-width: 400px;
    }

}


/* ==========================================================
   8. MÓVILES - HASTA 767 PX
   ========================================================== */

@media (max-width: 767px) {

    .footer-container {
        width: min(100% - 36px, 1320px);
    }

    /* CTA en formato vertical */
    .footer-cta {
        padding: 38px 0;
    }

    .footer-cta-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 23px;
    }

    .footer-cta-text h2 {
        font-size: 24px;
    }

    .footer-cta-text p {
        font-size: 13px;
    }

    .footer-cta-button {
        width: 100%;
        min-height: 49px;
    }

    /* Columnas del footer */
    .footer-main {
        padding: 45px 0 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 38px 25px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
    }

    .footer-logo img {
        width: 165px;
    }

    .footer-column h3 {
        margin-bottom: 20px;
        font-size: 14px;
    }

    .footer-column ul {
        gap: 12px;
    }

    .footer-column ul li a {
        font-size: 11px;
        overflow-wrap: anywhere;
    }

    .footer-social-links {
        gap: 7px;
    }

    /* Barra inferior */
    .footer-bottom-content {
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 5px;
        padding: 17px 0;
    }

}


/* ==========================================================
   9. MÓVILES PEQUEÑOS - HASTA 380 PX
   ========================================================== */

@media (max-width: 380px) {

    .footer-grid {
        column-gap: 15px;
    }

    .footer-cta-text h2 {
        font-size: 21px;
    }

    .footer-column h3 {
        font-size: 13px;
    }

    .footer-column ul li a {
        font-size: 10px;
    }

    .footer-social-links a {
        padding: 6px 8px;
        font-size: 9px;
    }

}


/* ==========================================================
   12. ACABADO BLANCO TECNOLÓGICO
   Diseño definitivo del footer LT & SOLUTIONS PRO
   ========================================================== */

/* Fondo general */
.footer {
    background: #FFFFFF;
    color: #0F172A;
}

/* Cuerpo principal con un fondo blanco y celeste muy suave */
.footer-main {
    background: linear-gradient(
        135deg,
        #FFFFFF 0%,
        #F8FAFF 55%,
        #EFF6FF 100%
    );
}

/* Descripción corporativa */
.footer-brand p {
    color: #64748B;
}

.footer-brand-tag {
    color: #1652F0;
    border-left-color: #F59E0B;
}

/* Títulos de columnas */
.footer-column h3 {
    color: #0F172A;
}

.footer-column h3::after {
    background: #1652F0;
}

/* Enlaces */
.footer-column ul li a {
    color: #64748B;
}

.footer-column ul li a:hover {
    color: #1652F0;
}

/* Redes sociales */
.footer-social h4 {
    color: #0F172A;
}

.footer-social-links a {
    color: #334155;
    background: #FFFFFF;
    border-color: #DCE5F2;
}

.footer-social-links a:hover {
    color: #FFFFFF;
    background: #1652F0;
    border-color: #1652F0;
}

/* Barra inferior */
.footer-bottom {
    background: #EAF1FF;
    border-top: 1px solid #DCE5F2;
}

.footer-bottom-content p {
    color: #64748B;
}

.footer-bottom-content p span {
    color: #1652F0;
}

.footer-bottom-tag {
    color: #64748B;
}
