/* ============================= */
/* FOOTER - SM RACING */
/* ============================= */

.footer-section {
    position: relative;
    width: 100%;

    background: #1d1d1d;
    color: var(--sm-white);

    overflow: hidden;

    border-top: 3px solid var(--sm-red);
}

/* ============================= */
/* FORMAS DE FONDO */
/* ============================= */

.footer-bg-shapes {
    position: absolute;
    inset: 0;

    pointer-events: none;
    z-index: 1;
}

.footer-shape {
    position: absolute;
    display: block;

    transform: skewX(-24deg);
}

.footer-shape-dark {
    left: 70px;
    top: -40px;

    width: 190px;
    height: 430px;

    background: linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0.12),
            rgba(255, 255, 255, 0.03)
    );
}

.footer-shape-red {
    right: 40px;
    bottom: -110px;

    width: 245px;
    height: 430px;

    background: linear-gradient(
            to bottom,
            rgba(224, 0, 24, 0.18),
            rgba(224, 0, 24, 0.95)
    );
}

/* ============================= */
/* CONTENIDO */
/* ============================= */

.footer-content {
    position: relative;
    z-index: 3;

    width: 100%;
    max-width: 1180px;

    margin: 0 auto;
    padding: 28px 48px 20px;

    display: grid;
    grid-template-columns: 1.1fr 0.85fr 0.85fr 0.85fr;
    column-gap: 46px;
}

/* ============================= */
/* COLUMNA BRAND */
/* ============================= */

.footer-brand {
    position: relative;

    padding-right: 34px;

    border-right: 1px solid rgba(255, 255, 255, 0.38);
}

.footer-logo {
    width: 185px;
    max-width: 100%;

    display: block;

    margin-bottom: 8px;
}

.footer-brand p {
    margin: 0;

    max-width: 250px;

    font-family: var(--font-body);
    font-size: 0.94rem;
    line-height: 1.15;
    letter-spacing: 0.35px;

    color: rgba(255, 255, 255, 0.9);
}

.footer-red-lines {
    display: flex;
    align-items: center;
    gap: 8px;

    margin-top: 18px;
    margin-bottom: 26px;
}

.footer-red-lines span {
    width: 35px;
    height: 12px;

    background: var(--sm-red);
    transform: skewX(-25deg);
}

/* ============================= */
/* SOCIAL */
/* ============================= */

.footer-social h4 {
    margin: 0 0 12px;

    font-family: var(--font-title);
    font-size: 1.05rem;
    line-height: 1;
    text-transform: uppercase;

    color: var(--sm-white);
}

.footer-social-icons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-social-icons a {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: 50%;

    color: var(--sm-white);
    text-decoration: none;

    transition: 0.25s ease;
}

.footer-social-icons a:hover {
    border-color: var(--sm-red);
    background: var(--sm-red);
    transform: translateY(-3px);
}

.footer-social-icons span {
    font-size: 1.15rem;
    font-weight: 700;
}

/* ============================= */
/* COLUMNAS */
/* ============================= */

.footer-column {
    position: relative;

    min-height: 250px;

    padding-left: 10px;
}

.footer-column:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.38);
}

.footer-column-title {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 18px;
}

.footer-column-title h3 {
    margin: 0;

    font-family: var(--font-title);
    font-size: 1.55rem;
    line-height: 1;

    color: var(--sm-white);
}

.footer-title-lines {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.footer-title-lines span {
    width: 16px;
    height: 10px;

    background: var(--sm-red);
    transform: skewX(-25deg);
}

.footer-column ul {
    list-style: none;

    margin: 0;
    padding: 0;
}

.footer-column li {
    margin-bottom: 13px;

    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.25;
    letter-spacing: 0.3px;

    color: rgba(255, 255, 255, 0.9);
}

.footer-column a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;

    transition: color 0.25s ease;
}

.footer-column a:hover {
    color: var(--sm-red);
}

.footer-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.footer-phone-icon {
    font-size: 1.1rem;
    opacity: 0.7;
}

/* ============================= */
/* BOTTOM */
/* ============================= */

.footer-bottom {
    position: relative;
    z-index: 3;

    width: 100%;

    border-top: 1px solid rgba(255, 255, 255, 0.45);

    padding: 16px 24px 18px;

    text-align: center;
}

.footer-bottom p {
    margin: 0;

    font-family: var(--font-body);
    font-size: 0.94rem;
    line-height: 1.4;
    letter-spacing: 0.35px;

    color: rgba(255, 255, 255, 0.85);
}

/* ============================= */
/* TABLET */
/* ============================= */

@media (max-width: 1024px) {
    .footer-content {
        max-width: 900px;

        grid-template-columns: 1fr 1fr;
        gap: 34px 42px;

        padding: 34px 42px 26px;
    }

    .footer-brand {
        border-right: none;
        padding-right: 0;
    }

    .footer-column {
        min-height: auto;
        padding-left: 0;
    }

    .footer-column:not(:last-child) {
        border-right: none;
    }

    .footer-brand,
    .footer-column {
        border-bottom: 1px solid rgba(255, 255, 255, 0.22);
        padding-bottom: 28px;
    }

    .footer-shape-dark {
        left: 20px;
        height: 380px;
    }

    .footer-shape-red {
        right: -40px;
        width: 220px;
        height: 360px;
    }
}

/* ============================= */
/* MOBILE */
/* ============================= */

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;

        gap: 28px;

        padding: 38px 28px 26px;
    }

    .footer-brand,
    .footer-column {
        padding-bottom: 24px;
    }

    .footer-logo {
        width: 165px;
    }

    .footer-brand p {
        max-width: 320px;
        font-size: 0.9rem;
    }

    .footer-red-lines {
        margin-top: 16px;
        margin-bottom: 22px;
    }

    .footer-red-lines span {
        width: 30px;
        height: 10px;
    }

    .footer-column-title h3 {
        font-size: 1.4rem;
    }

    .footer-column li {
        font-size: 0.9rem;
        margin-bottom: 11px;
    }

    .footer-bottom {
        padding: 14px 22px 16px;
    }

    .footer-bottom p {
        font-size: 0.82rem;
    }

    .footer-shape-dark {
        left: -50px;
        top: -80px;

        width: 160px;
        height: 360px;
    }

    .footer-shape-red {
        right: -90px;
        bottom: -120px;

        width: 190px;
        height: 340px;
    }
}

/* ============================= */
/* MOBILE SMALL */
/* ============================= */

@media (max-width: 480px) {
    .footer-content {
        padding: 34px 22px 24px;
    }

    .footer-logo {
        width: 145px;
    }

    .footer-brand p {
        font-size: 0.84rem;
        line-height: 1.18;
    }

    .footer-social h4 {
        font-size: 0.95rem;
    }

    .footer-social-icons a {
        width: 34px;
        height: 34px;
    }

    .footer-column-title {
        gap: 10px;
        margin-bottom: 14px;
    }

    .footer-column-title h3 {
        font-size: 1.25rem;
    }

    .footer-title-lines span {
        width: 13px;
        height: 8px;
    }

    .footer-column li {
        font-size: 0.84rem;
    }

    .footer-bottom p {
        font-size: 0.76rem;
    }
}