/* ----------------------------------------------------
   GLOBAL
---------------------------------------------------- */
:root {
    --black: #0b0b0b;
    --gray-900: #111111;
    --gray-800: #1a1a1a;
    --gray-700: #2a2a2a;
    --gray-600: #3a3a3a;
    --gray-300: #d0d0d0;
    --gray-200: #e9e9e9;
    --gray-100: #f6f6f6;

    --white: #ffffff;
    --orange: #ff6a3d;

    --radius: 14px;
    --shadow: 0 4px 14px rgba(0, 0, 0, 0.08);

    --font-main: "Inter", sans-serif;
}

body {
    margin: 0;
    font-family: var(--font-main);
    background: var(--white);
    color: var(--black);
    line-height: 1.6;
    overflow-x: clip!Important;
}

img,
.placeholder {
    width: 100%;
    border-radius: var(--radius);
    object-fit: cover;
}

/* Generic placeholder background */
.placeholder {
    background: var(--gray-300);
    height: 240px;
}

/* ----------------------------------------------------
   HEADER HERO
---------------------------------------------------- */

.hero {
    border-radius: 14px;
        margin: 50px auto;
        max-width: calc(100vw - 20vw);
        display: grid;
        grid-template-columns: 1.1fr 1fr;
        gap: 40px;
        align-items: center;
        padding-left: 40px;
        box-shadow: rgba(255, 255, 255, 0.1) 0px 1px 1px 0px inset, rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
}

.hero-img {
        height: 50vh;
            position: relative;
            display: flex;
}

.hero h1 {
    font-size: 42px;
    font-weight: 800;
}

.hero p {
    font-size: 16px;
    max-width: 88%;
    color: #333;
}

.hero-buttons {
    margin-top: 25px;
}

button {
    background: var(--orange);
    color: var(--white);
    border: none;
    padding: 12px 26px;
    border-radius: 50px;
    font-size: 15px;
    cursor: pointer;
    font-weight: 600;
    transition: opacity .2s ease;
}

button:hover {
    opacity: .85;
}

button.secondary {
    background: var(--gray-900);
    margin-left: 12px;
}

/* ----------------------------------------------------
   “WHAT MAKES BEERMILES”
---------------------------------------------------- */

.section {
    padding: 70px 20px;
    text-align: center;
}

.section h2 {
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: 800;
}

.section-sub {
    color: #666;
    margin-bottom: 40px;
    font-size: 15px;
}

.cards {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.card-img {
    height: 40vh;
    display: flex;;
}

.card {
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: left;
}

.card h3 {
    font-size: 18px;
    margin: 14px 0 10px;
    font-weight: 700;
}

.card p {
    color: #555;
    font-size: 14px;
}

.card button {
    margin-top: 12px;
    padding: 10px 20px;
    font-size: 14px;
}

/* ----------------------------------------------------
   STATS BLOCK (dark)
---------------------------------------------------- */

.stats {
    background: var(--black);
    color: var(--white);
    padding: 80px 20px;
    text-align: center;
}

.stats-grid {
    max-width: 1100px;
    margin: 40px auto 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat span {
    font-size: 42px;
    font-weight: 700;
    display: block;
}

.stat p {
    margin-top: 6px;
    color: #bdbdbd;
    font-size: 14px;
        border-bottom: solid 1px;
            padding-bottom: 10px;
}

/* ----------------------------------------------------
   FAQ
---------------------------------------------------- */

.faq {
 
    
    background: var(--black);
    color: white;
        display: flex;
            flex-direction: column;
            align-items: center;
}

.faq h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
        margin-top: -2em;
            padding-top: 2em;
}

.faq-item {
    margin-bottom: 26px;
    border-bottom: solid 1px white;
}

.faq-item h3 {
    font-size: 18px;
    margin-bottom: 6px;
    font-weight: 700;
    display: flex;
        justify-content: center;
}

.faq-item p {
    color: #9b9b9b;
    font-size: 14px;
}

/* ----------------------------------------------------
   RACE DAY
---------------------------------------------------- */

.race-day {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}

.race-day h2 {
    text-align: center;
    margin-bottom: 50px;
    font-weight: 800;
    font-size: 28px;
}

.race-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
}

.race-img {
    height: 50vh;
    display: flex;
}

.info-block {
    background: var(--white);
    padding: 24px;
    box-shadow: var(--shadow);
    border-radius: var(--radius);
}

.info-block h3 {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 700;
}

/* ----------------------------------------------------
   TEAM
---------------------------------------------------- */

.team {
    max-width: 1200px;
    margin: 100px auto;
    padding: 0 20px;
}

.team h2 {
    text-align: left;
    margin-bottom: 35px;
    font-size: 26px;
    font-weight: 800;
    height: 2.5em;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.team-card {
    text-align: left;
}

.team-img {
    height: 220px;
    display: flex;
}

.team-card h4 {
    margin: 12px 0 4px;
    font-weight: 700;
}

.team-card p {
    color: #666;
    font-size: 14px;
}

/* ----------------------------------------------------
   CTA BLOCK
---------------------------------------------------- */

.cta-section {
    margin: 100px auto;
    max-width: 1200px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: center;
}

.cta-img {
    height: 250px;
}

.cta h3 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 20px;
}

/* ----------------------------------------------------
   FOOTER
---------------------------------------------------- */

.footer {
    background: var(--gray-100);
    padding: 60px 20px;
    text-align: center;
}

.footer input {
    padding: 12px 14px;
    width: 260px;
    border-radius: 50px;
    border: 1px solid var(--gray-300);
    margin-top: 16px;
    margin-right: 10px;
    font-size: 14px;
}



/* ----------------------------------------------------
   TABLET (tot 1024px)
---------------------------------------------------- */
@media (max-width: 1024px) {

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero p {
        max-width: 100%;
    }

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

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

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

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

    .cta-section {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cta-img {
        order: -1;
    }
}


/* ----------------------------------------------------
   MOBILE (tot 768px)
---------------------------------------------------- */
@media (max-width: 768px) {

    body {
        font-size: 15px;
    }

    /* HERO */
    .hero {
        grid-template-columns: 1fr;
        gap: 25px;
        padding-top: 20px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 15px;
    }

    .hero-buttons {
        margin-top: 15px;
    }

    button {
        width: 100%;
        margin-bottom: 10px;
    }

    button.secondary {
        margin-left: 0;
    }

    /* SECTION CARDS */
    .cards {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .card {
        padding: 18px;
    }

    /* STATS */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .stat span {
        font-size: 34px;
    }

    /* FAQ */
    .faq {
        margin: 60px auto;
    }

    .faq-item h3 {
        font-size: 17px;
    }

    /* RACE DAY */
    .race-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .race-img {
        height: 220px;
    }

    .info-block {
        padding: 18px;
    }

    /* TEAM */
    .team-grid {
        grid-template-columns: 1fr;
    }

    .team-card {
        text-align: center;
    }

    .team-img {
        height: 180px;
    }

    /* CTA */
    .cta-section {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }

    .cta h3 {
        font-size: 22px;
    }

    .cta-img {
        height: 200px;
    }

    /* FOOTER */
    .footer input {
        width: 100%;
        margin: 0 0 12px 0;
    }

    .footer button {
        width: 100%;
    }
}