
/* =========================
   VARIABLES Y RESET
========================= */

:root {
    --green: #009440;
    --max-width: 1280px;
    --font: 'Public Sans', sans-serif;
}

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

body {
    font-family: var(--font);
}

/* =========================
   LAYOUT GENERAL
========================= */

.section {
    min-height: 100vh;
    width: 100%;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2rem;
}

/* =========================
   HERO
========================= */

.hero {
    background: url('../images/hero-bg.png') center/cover no-repeat;
    display: flex;
    align-items: center;
}

.hero h1 {
    font-size: 42px;
    font-weight: 700;
    max-width: 600px;
}

.btn {
    display: inline-block;
    margin-top: 1.5rem;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    background: var(--green);
    padding: 0.75rem 1.5rem;
}

/* =========================
   BURGERS
========================= */

.burgers h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 2rem;
}

.burger-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.burger h3 {
    font-size: 24px;
    font-weight: 700;
}

.burger p {
    font-size: 18px;
}

/* =========================
   COMMUNITY
========================= */

.community {
    background: var(--green);
    color: #fff;
}

.community h2 {
    font-size: 42px;
    font-weight: 700;
}

.community p {
    font-size: 24px;
}

/* =========================
   INFO
========================= */

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.info p {
    font-size: 42px;
}

.marquee {
    overflow: hidden;
    white-space: nowrap;
    color: var(--green);
    font-size: 42px;
    font-weight: 700;
}

.marquee span {
    display: inline-block;
    animation: scroll 10s linear infinite;
}

@keyframes scroll {
    from { transform: translateX(100%); }
    to { transform: translateX(-100%); }
}

/* =========================
   CARTA
========================= */

.carta h2 {
    color: var(--green);
    font-size: 42px;
}

.carta-nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    font-size: 32px;
}

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

@media (max-width: 1024px) {
    .hero h1,
    .burgers h2,
    .community h2,
    .carta h2 {
        font-size: 32px;
    }

    .btn {
        font-size: 14px;
    }
}

@media (max-width: 475px) {
    .hero h1 {
        font-size: 24px;
    }

    .btn {
        font-size: 10px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }
}
