/* ==========================================================================
   SanMiguel — Footer
   Banda de cierre con llamado a la acción + barra compacta + legal.
   CSS autocontenido (style.css es un build precompilado de Tailwind).
   Prefijo: .sm-ft
   ========================================================================== */

.sm-ft {
    --sm-ft-primary: #bb976d;
    --sm-ft-primary-dark: #a37f56;
    --sm-ft-bg: #101a24;
    --sm-ft-bg-2: #0c141c;
    --sm-ft-line: rgba(255, 255, 255, 0.1);
    --sm-ft-text: rgba(255, 255, 255, 0.66);
    --sm-ft-ease: cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    background: var(--sm-ft-bg);
    color: var(--sm-ft-text);
    font-family: "Josefin Sans", ui-sans-serif, system-ui, sans-serif;
}

.sm-ft__wrap {
    width: 100%;
    max-width: 1240px;
    margin-inline: auto;
    padding-inline: 20px;
}

/* --- Banda de cierre ------------------------------------------------------ */
.sm-ft__cierre {
    border-bottom: 1px solid var(--sm-ft-line);
    background: linear-gradient(180deg, #16222e 0%, var(--sm-ft-bg) 100%);
}

.sm-ft__cierre-in {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding-block: clamp(34px, 4.5vw, 54px);
}

.sm-ft__cierre-kicker {
    display: block;
    color: var(--sm-ft-primary);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.sm-ft__cierre-tit {
    color: #fff;
    font-size: clamp(24px, 3.2vw, 34px);
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.15;
    margin: 0;
}

.sm-ft__cierre-txt {
    margin: 12px 0 0;
    font-size: 15.5px;
    line-height: 1.6;
    max-width: 46ch;
}

.sm-ft__cierre-acc {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.sm-ft__cierre-tel {
    color: var(--sm-ft-text);
    font-size: 14.5px;
    text-decoration: none;
    transition: color 0.25s ease;
}

.sm-ft__cierre-tel:hover {
    color: #fff;
}

.sm-ft__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 17px 30px;
    background: var(--sm-ft-primary);
    color: #fff;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    line-height: 1;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.25s var(--sm-ft-ease);
}

.sm-ft__cta svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sm-ft__cta:hover {
    background: var(--sm-ft-primary-dark);
    color: #fff;
    transform: translateY(-1px);
}

/* --- Barra compacta ------------------------------------------------------- */
.sm-ft__barra {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding-block: 26px;
}

.sm-ft__logo {
    display: block;
    width: 118px;
    height: auto;
}

.sm-ft__menu {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.sm-ft__menu a {
    color: var(--sm-ft-text);
    font-size: 14.5px;
    line-height: 1.3;
    text-decoration: none;
    transition: color 0.25s ease;
}

.sm-ft__menu a:hover {
    color: #fff;
}

.sm-ft__acc {
    display: flex;
    align-items: center;
    gap: 18px;
}

.sm-ft__tel {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.25s ease;
}

.sm-ft__tel:hover {
    color: var(--sm-ft-primary);
}

/* --- Redes ---------------------------------------------------------------- */
.sm-ft__redes {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sm-ft__red {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    color: #fff;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s var(--sm-ft-ease);
}

.sm-ft__red svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
}

.sm-ft__red:hover {
    background: var(--sm-ft-primary);
    border-color: var(--sm-ft-primary);
    color: #fff;
    transform: translateY(-2px);
}

/* --- Barra legal ---------------------------------------------------------- */
.sm-ft__bottom {
    border-top: 1px solid var(--sm-ft-line);
    background: var(--sm-ft-bg-2);
}

.sm-ft__bottom-in {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding-block: 18px;
    font-size: 13px;
    text-align: center;
}

@media (min-width: 760px) {
    .sm-ft__bottom-in {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.sm-ft__legal {
    margin: 0;
    line-height: 1.7;
}

.sm-ft__legal a {
    color: var(--sm-ft-text);
    text-decoration: none;
    transition: color 0.25s ease;
}

.sm-ft__legal a:hover {
    color: #fff;
}

.sm-ft__legal span {
    opacity: 0.4;
    margin-inline: 4px;
}

/* Credito en pastilla, al estilo del footer de gorteck.com */
.sm-ft__firma {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex: none;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    line-height: 1;
    text-decoration: none;
    transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.sm-ft__firma img {
    width: auto;
    height: 28px;
    opacity: 0.9;
    transition: opacity 0.3s ease, transform 0.3s var(--sm-ft-ease);
}

.sm-ft__firma:hover {
    border-color: rgba(187, 151, 109, 0.4);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.82);
}

.sm-ft__firma:hover img {
    opacity: 1;
    transform: scale(1.05);
}

/* --- Móvil ---------------------------------------------------------------- */
@media (max-width: 720px) {
    .sm-ft__cierre-acc {
        width: 100%;
    }

    .sm-ft__cta {
        width: 100%;
    }

    .sm-ft__barra {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .sm-ft__menu {
        gap: 14px 20px;
    }

    .sm-ft__acc {
        width: 100%;
        justify-content: space-between;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sm-ft__red,
    .sm-ft__cta,
    .sm-ft__firma,
    .sm-ft__firma img {
        transition: none !important;
    }
}
