/* ═══════════════════════════════════════════════
   MCA Theme — Footer Styles
   ═══════════════════════════════════════════════ */

/* ─── Site Footer ─── */
.site-footer {
    background-color: #fff;
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-lg);
}

.footer-main {
    display: grid;
    grid-template-columns: 160px 1fr 1fr;
    gap: var(--space-3xl);
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    margin-bottom: var(--space-2xl);
    align-items: start;
}

/* ─── Footer Logo ─── */
.footer-logo {
    width: 100px;
    height: 100px;
}

.footer-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-width: 300px;
}

/* ─── Footer Responsive ─── */
@media (max-width: 768px) {
    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-logo-wrap {
        display: flex;
        justify-content: center;
    }
    .footer-logo {
        width: auto;
        height: auto;
    }
    .footer-logo img {
        width: auto;
        height: auto;
        max-width: 200px;
    }
    .footer-nav {
        justify-content: center;
    }
    .footer-newsletter {
        margin: 0 auto;
    }
}

/* ─── Footer Navigation ─── */
.footer-nav {
    display: flex;
    justify-content: center;
}

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

.footer-nav__link {
    display: block;
    padding: 0.2rem 0;
    font-size: var(--fs-sm);
    color: var(--mca-gray-700);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-nav__link:hover {
    color: var(--mca-green);
}

/* ─── Footer Newsletter ─── */
.footer-newsletter {
    max-width: 360px;
}

.footer-newsletter__title {
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--mca-gray-700);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-newsletter__form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-newsletter .form-input {
    border-radius: var(--radius-pill);
    border-color: var(--mca-green);
    padding: 0.5rem 1.2rem;
    font-size: var(--fs-sm);
    background: var(--mca-white);
    margin: 0;
}

.footer-newsletter .btn {
    width: 100%;
}

/* ─── Newsletter bottom row: Redes + Comunicate ─── */
.footer-newsletter__bottom {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(0,0,0,0.08);
}

.footer-redes,
.footer-comunicate {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-redes__title,
.footer-comunicate__title {
    font-size: var(--fs-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--mca-gray-700);
    margin: 0;
}

.footer-redes__icons,
.footer-comunicate__icons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
}

.footer-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1.5px solid var(--mca-green);
    color: var(--mca-green);
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
}

.footer-icon-link svg {
    width: 16px;
    height: 16px;
    display: block;
}

.footer-icon-link:hover {
    background: var(--mca-green);
    color: #fff;
}

/* ─── Footer Bottom (credits only) ─── */
.footer-bottom {
    display: none; /* moved to newsletter column */
}

/* ─── Footer Credits ─── */
.footer-credits {
    text-align: center;
    padding-top: var(--space-lg);
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

.footer-credits__designer {
    font-size: var(--fs-xs);
    color: var(--mca-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-xs);
}

.footer-credits__copyright {
    font-size: var(--fs-xs);
    color: var(--mca-gray-500);
}

.footer-credits__link {
    color: var(--mca-green);
    text-decoration: none;
    font-weight: 600;
}

.footer-credits__link:hover {
    text-decoration: underline;
}
