/* ===== MINIMAL FOOTER V2 ===== */
.micoope-footer {
    background-color: #031233;
    color: var(--white);
    padding: 60px 0 20px;

    font-family: 'Poppins', sans-serif;
}

.micoope-footer .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.footer-main-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 34px;
    margin-bottom: 50px;
    align-items: start;
    justify-items: center;
}

.footer-col {
    text-align: center;
}

.brand-info {
    max-width: 360px;
    margin: 0 auto;
}

.footer-logo-img {
    max-width: 180px;
    margin-bottom: 20px;
}

.footer-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    max-width: 320px;
    margin: 0 auto;
}

.footer-title {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
}

/* Línea decorativa (base centrada) */
.footer-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -8px;
    width: 30px;
    height: 2px;
    background-color: var(--micoope-blue-light);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-fast);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-socials {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    justify-content: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition-fast);
}

.social-link:hover {
    background: var(--micoope-blue-light);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a {
    color: var(--white);
    text-decoration: none;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    text-align: left;
}

/* Iconos de contacto */
.footer-contact i {
    color: var(--micoope-blue-light);
    margin-top: 4px;
    font-size: 1rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-contact a:hover {
    color: var(--white);
}

/* ===== DESKTOP ===== */
@media (min-width: 992px) {

    .footer-main-content {
        grid-template-columns: 1fr 1fr 1fr;
    }

    /* Columna 1 → izquierda */
    .footer-col:nth-child(1) {
        justify-self: start;
        text-align: left;
    }

    /* Línea decorativa izquierda */
    .footer-col:nth-child(1) .footer-title::after {
        left: 0;
        transform: none;
    }

    /* Columna 2 → centro */
    .footer-col:nth-child(2) {
        justify-self: center;
        text-align: center;
    }

    /* Línea decorativa centrada (ya está por defecto) */

    /* Columna 3 → derecha */
    .footer-col:nth-child(3) {
        justify-self: end;
        text-align: right;
    }

    /* Línea decorativa derecha */
    .footer-col:nth-child(3) .footer-title::after {
        left: 100%;
        transform: translateX(-100%);
    }

    /* Balance visual tipo corporativo */
    .footer-col:nth-child(3) .footer-contact {
        max-width: 260px;
        margin-left: auto;
        /* pega el bloque a la derecha */
    }

    .footer-col:nth-child(3) .footer-contact li {
        justify-content: flex-end;
        text-align: right;
    }

    /* Ajuste fino iconos + texto */
    .footer-col:nth-child(3) .footer-contact li img,
    .footer-col:nth-child(3) .footer-contact li i {
        order: 2;
    }

    .footer-col:nth-child(3) .footer-contact li a {
        order: 1;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .footer-main-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-description {
        margin: 0 auto;
    }

    .footer-socials {
        justify-content: center;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }

    .footer-contact li {
        justify-content: center;
        text-align: left;
    }
}