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

.site-footer {
    background-color: var(--coal);
    color: var(--paper);
}

/* ----- Grid principal ----- */
.footer_main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.2em;
    padding: 3em 7%;
}

/* ----- Col 1: Marca ----- */
.footer_brand_img {
    width: 9em;
    margin-bottom: 1em;
    display: block;
}

.footer_tagline {
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.45;
    margin: 0 0 0.6em;
    color: var(--paper);
}

.footer_desc {
    font-size: 0.875rem;
    color: #aaa;
    margin: 0 0 1.3em;
    line-height: 1.55;
}

/* ----- Íconos sociales ----- */
.footer_social {
    display: flex;
    gap: 0.55em;
    flex-wrap: wrap;
}

.footer_social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.2em;
    height: 2.2em;
    border: 1px solid #444;
    border-radius: 50%;
    color: var(--paper);
    text-decoration: none;
    font-size: 0.9rem;
    transition: border-color 0.2s, color 0.2s;
}

.footer_social a:hover {
    border-color: var(--brand);
    color: var(--brand);
}

/* ----- Título de columna ----- */
.footer_col_title {
    color: var(--brand);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.78rem;
    font-weight: 700;
    margin: 0 0 1em;
}

/* ----- Listas de Navegación y Servicios ----- */
.footer_col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

.footer_col ul a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer_col ul a:hover {
    color: var(--brand);
}

/* ----- Lista de contacto con íconos ----- */
.footer_contact_list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8em;
}

.footer_contact_list li {
    display: flex;
    align-items: center;
    gap: 0.65em;
    font-size: 0.9rem;
    color: #ccc;
}

.footer_contact_list i {
    color: var(--brand);
    width: 1em;
    flex-shrink: 0;
    text-align: center;
}

/* ----- Newsletter ----- */
.footer_newsletter p {
    font-size: 0.875rem;
    color: #aaa;
    margin: 0 0 1em;
    line-height: 1.55;
}

.footer_newsletter_form {
    display: flex;
    align-items: center;
    background-color: #2b2b2b;
    border-radius: 50px;
    padding: 0.22em 0.22em 0.22em 0.8em;
    overflow: hidden;
}

.footer_newsletter_form input[type="email"] {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: none;
    padding: 0.55em 0.4em;
    color: var(--paper);
    font-size: 0.875rem;
    outline: none;
}

.footer_newsletter_form input[type="email"]::placeholder {
    color: #777;
}

.footer_newsletter_form button {
    background-color: var(--brand);
    border: none;
    color: #fff;
    width: 2.3em;
    height: 2.3em;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.9rem;
    transition: background-color 0.2s;
}

.footer_newsletter_form button:hover {
    background-color: #d45a20;
}

/* ----- Barra inferior ----- */
.footer_bottom {
    background-color: #000;
    padding: 1em 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1em;
}

.footer_bottom > p {
    margin: 0;
    font-size: 0.82rem;
    color: #888;
}

.footer_badges {
    display: flex;
    align-items: center;
    gap: 1.8em;
}

.footer_badge {
    display: flex;
    align-items: center;
    gap: 0.55em;
}

.footer_badge_img {
    width: 2.4em;
    height: 2.4em;
    object-fit: contain;
}

.footer_badge span {
    font-size: 0.75rem;
    color: #aaa;
    line-height: 1.25;
}

/* ----- Links legales ----- */
.footer_modales {
    background-color: #000;
    border-top: 1px solid #1e1e1e;
    padding: 0.6em 7%;
}

.footer_modales ul {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
    justify-content: center;
    align-items: center;
    gap: 0.75em;
}

.footer_modales button {
    background-color: transparent;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 0.78rem;
    padding: 0;
    transition: color 0.2s;
}

.footer_modales button:hover {
    color: var(--brand);
}

.footer_modales li {
    color: #444;
    font-size: 0.78rem;
}

/* =========================================================
   RESPONSIVE: TABLET (≥ 600px) */
@media (min-width: 600px) {
    .footer_main {
        grid-template-columns: 1fr 1fr;
    }

    .footer_brand {
        grid-column: 1 / -1;
    }

    .footer_newsletter {
        grid-column: 1 / -1;
    }
}

/* =========================================================
   RESPONSIVE: ESCRITORIO (≥ 960px) */
@media (min-width: 960px) {
    .footer_main {
        grid-template-columns: 1.4fr 0.9fr 1.3fr 1.4fr 1.6fr;
        padding: 3.5em 7%;
        gap: 2.5em;
    }

    .footer_brand {
        grid-column: auto;
    }

    .footer_newsletter {
        grid-column: auto;
    }
}

/* =========================================================
   RESPONSIVE: MÓVIL (< 480px) */
@media (max-width: 479px) {
    .footer_bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer_badges {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.2em;
    }
}
