/* ================================
   MÓDULO: FOOTER
   Estilos exclusivos del footer
   ================================ */

/* Reset específico del módulo */
.footer,
.footer * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Container principal */
.footer {
    width: 100%;
    background: #3E2723;
    color: #E8DED0;
    padding: 4rem 0 0 0;
}

.footer__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 3rem 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

/* ================================
   SECCIONES DEL FOOTER
   ================================ */

.footer__section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Logo del footer */
.footer__logo {
    font-family: 'Georgia', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: #A67B5B;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

/* Tagline */
.footer__tagline {
    font-family: 'Arial', sans-serif;
    font-size: 0.95rem;
    color: #B8A89A;
    font-style: italic;
    line-height: 1.5;
}

/* Títulos de sección */
.footer__title {
    font-family: 'Georgia', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #E07856;
    margin-bottom: 0.8rem;
    letter-spacing: 0.3px;
}

/* Enlaces */
.footer__links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer__links a {
    font-family: 'Arial', sans-serif;
    font-size: 0.95rem;
    color: #B8A89A;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    width: fit-content;
}

.footer__links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #E07856;
    transition: width 0.3s ease;
}

.footer__links a:hover {
    color: #E07856;
}

.footer__links a:hover::after {
    width: 100%;
}

/* Redes sociales */
.footer__social {
    display: flex;
    gap: 1rem;
}

.footer__social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(166, 123, 91, 0.2);
    border-radius: 50%;
    color: #A67B5B;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer__social a svg {
    width: 20px;
    height: 20px;
}

.footer__social a:hover {
    background: #A67B5B;
    color: #fff;
    transform: translateY(-3px);
}

/* Información de contacto */
.footer__section p {
    font-family: 'Arial', sans-serif;
    font-size: 0.95rem;
    color: #B8A89A;
    line-height: 1.8;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer__section p svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    stroke: #E07856;
}

/* ================================
   FOOTER BOTTOM
   ================================ */

.footer__bottom {
    border-top: 1px solid rgba(232, 222, 208, 0.1);
    padding: 1.5rem 2rem;
    text-align: center;
}

.footer__bottom p {
    font-family: 'Arial', sans-serif;
    font-size: 0.9rem;
    color: #8B7A6A;
}

/* ================================
   RESPONSIVE: TABLET
   ================================ */
@media screen and (max-width: 968px) {
    .footer {
        padding: 3.5rem 0 0 0;
    }

    .footer__container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
        padding: 0 1.5rem 2.5rem 1.5rem;
    }

    .footer__logo {
        font-size: 1.6rem;
    }

    .footer__title {
        font-size: 1.1rem;
    }

    .footer__bottom {
        padding: 1.3rem 1.5rem;
    }
}

/* ================================
   RESPONSIVE: MÓVIL
   ================================ */
@media screen and (max-width: 768px) {
    .footer {
        padding: 3rem 0 0 0;
    }

    .footer__container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 0 1.5rem 2rem 1.5rem;
    }

    .footer__section {
        text-align: center;
        align-items: center;
    }

    .footer__links {
        align-items: center;
    }

    .footer__social {
        justify-content: center;
    }

    .footer__section p {
        justify-content: center;
    }

    .footer__logo {
        font-size: 1.5rem;
    }

    .footer__title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .footer__bottom {
        padding: 1.2rem 1.5rem;
    }

    .footer__bottom p {
        font-size: 0.85rem;
    }
}

@media screen and (max-width: 480px) {
    .footer {
        padding: 2.5rem 0 0 0;
    }

    .footer__container {
        padding: 0 1rem 1.8rem 1rem;
        gap: 2rem;
    }

    .footer__logo {
        font-size: 1.4rem;
    }

    .footer__tagline,
    .footer__links a,
    .footer__section p {
        font-size: 0.9rem;
    }

    .footer__title {
        font-size: 1rem;
    }

    .footer__social a {
        width: 36px;
        height: 36px;
    }

    .footer__social a svg {
        width: 18px;
        height: 18px;
    }

    .footer__bottom {
        padding: 1rem;
    }

    .footer__bottom p {
        font-size: 0.8rem;
    }
}