/* =========================================================
   MOTIVACIÓN SALSERA
   Global styles
========================================================= */


/* =========================================================
   VARIABLES
========================================================= */

:root {
    --red: #a90020;
    --red-dark: #820018;
    --red-light: #c51c3a;

    --orange: #d98632;
    --orange-light: #e7a54d;

    --cream: #fff8f1;
    --cream-dark: #f8eee5;

    --white: #ffffff;

    --black: #241b1b;
    --text: #302727;
    --muted: #776d68;

    --border: #eaded4;

    --shadow-sm: 0 5px 20px rgba(50, 20, 15, 0.08);
    --shadow-md: 0 15px 40px rgba(50, 20, 15, 0.12);
    --shadow-lg: 0 25px 60px rgba(50, 20, 15, 0.18);

    --radius: 18px;
    --radius-lg: 30px;

    --transition: 0.3s ease;
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background: var(--cream);
    color: var(--text);

    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
select {
    font: inherit;
}


/* =========================================================
   TYPOGRAPHY
========================================================= */

h1,
h2,
h3 {
    font-family:
        Georgia,
        "Times New Roman",
        serif;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

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

footer {
    background: #241b1b;
    color: white;
    padding: 55px 20px 25px;
}

.footer-inner {
    width: min(1180px, 100%);
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 50px;

    align-items: start;
}


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

.footer-brand img {
    width: 145px;
    height: auto;
    margin-bottom: 15px;
}

.footer-brand p {
    max-width: 260px;

    color: rgba(255, 255, 255, 0.65);

    font-size: 0.78rem;
    line-height: 1.7;
}


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

.footer-links {
    display: flex;
    flex-direction: column;

    gap: 12px;
}

.footer-links a,
.footer-legal a {
    color: rgba(255, 255, 255, 0.75);

    font-size: 0.78rem;

    transition: var(--transition);
}

.footer-links a:hover,
.footer-legal a:hover {
    color: var(--orange-light);
}


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

.footer-legal {
    display: flex;
    flex-direction: column;

    gap: 12px;
}

.footer-legal p {
    margin-top: 8px;

    color: rgba(255, 255, 255, 0.45);

    font-size: 0.7rem;
}


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

@media (max-width: 800px) {

    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

}


@media (max-width: 550px) {

    footer {
        padding: 45px 20px 25px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-brand img {
        width: 135px;
    }

}
