:root {
    --bg: #07080a;
    --bg-soft: #0e1013;
    --panel: #121419;
    --panel-2: #171a20;
    --text: #f7f7f8;
    --muted: #9ca2ad;
    --line: rgba(255,255,255,.09);
    --red: #ec111b;
    --red-2: #ff2731;
    --blue: #1877f2;
    --green: #25d366;
    --shadow: 0 28px 80px rgba(0,0,0,.42);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Inter", Arial, sans-serif;
    overflow-x: hidden;
}

body.lightbox-open { overflow: hidden; }

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

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

button {
    font: inherit;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

/* HEADER */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    background: rgba(7,8,10,.86);
    border-bottom: 1px solid rgba(255,255,255,.07);
    backdrop-filter: blur(18px);
}

.nav-wrap {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 250px;
}

.brand img {
    width: 72px;
    height: 48px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,.12);
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-copy strong {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 22px;
    letter-spacing: .03em;
}

.brand-copy small {
    margin-top: 7px;
    color: #8c929d;
    font-size: 9px;
    letter-spacing: .16em;
}

.nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav > a {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .09em;
    transition: .2s ease;
}

.nav > a:not(.nav-cta):not(.nav-social):hover {
    color: var(--red-2);
}

.nav-social {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 15px !important;
}

.nav-social.facebook {
    background: var(--blue);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 13px 16px;
    background: var(--green);
    color: #071109;
    border-radius: 5px;
}

.nav-cta i {
    font-size: 17px;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: #13151a;
    color: white;
    font-size: 18px;
}

/* HERO */
.hero {
    min-height: 820px;
    padding: 160px 0 90px;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        url("gallery/venue-02.jpg") center/cover no-repeat;
    filter: saturate(.85);
    transform: scale(1.02);
}

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5,6,8,.98) 0%, rgba(5,6,8,.91) 45%, rgba(5,6,8,.58) 72%, rgba(5,6,8,.74) 100%),
        linear-gradient(0deg, rgba(7,8,10,1) 0%, transparent 45%);
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    align-items: center;
    gap: 68px;
}

.eyebrow,
.section-kicker {
    color: var(--red-2);
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.hero h1,
.section h2,
.final-cta h2,
.race-banner h2 {
    margin: 18px 0;
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 900;
    line-height: .9;
    letter-spacing: -.025em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 800px;
    font-size: clamp(62px, 7.5vw, 108px);
}

.hero h1 span,
.section h2 span,
.final-cta h2 span {
    color: var(--red-2);
}

.hero-copy > p {
    max-width: 680px;
    margin: 25px 0 0;
    color: #c1c5cc;
    font-size: 17px;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.hero-actions.centered {
    justify-content: center;
}

.btn {
    min-height: 52px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--green);
    color: #071109;
}

.btn-facebook {
    background: var(--blue);
    color: white;
}

.btn-outline {
    border-color: rgba(255,255,255,.24);
    background: rgba(255,255,255,.04);
}

.btn-outline:hover {
    border-color: rgba(255,255,255,.5);
    background: rgba(255,255,255,.08);
}

.btn-light {
    background: white;
    color: #101114;
}

.hero-details {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    padding-top: 30px;
    margin-top: 34px;
    border-top: 1px solid var(--line);
}

.hero-details > a {
    display: flex;
    align-items: center;
    gap: 13px;
}

.hero-details > a > i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,.07);
    color: var(--red-2);
}

.hero-details span {
    display: flex;
    flex-direction: column;
}

.hero-details small {
    color: #7f858f;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .14em;
}

.hero-details strong {
    margin-top: 5px;
    font-size: 13px;
}

.hero-logo-card {
    position: relative;
    justify-self: end;
    width: min(100%, 430px);
    padding: 12px;
    background: rgba(12,13,16,.84);
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: var(--shadow);
    transform: rotate(1.5deg);
}

.hero-logo-card > img {
    width: 100%;
    aspect-ratio: 1.49 / 1;
    object-fit: cover;
}

.hero-logo-glow {
    position: absolute;
    z-index: -1;
    inset: 12% -15%;
    background: rgba(237,17,27,.22);
    filter: blur(70px);
}

.hero-logo-caption {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 10px 5px;
    color: #d1d3d8;
    font-size: 11px;
}

.hero-logo-caption i {
    color: var(--red-2);
}

/* TICKER */
.ticker {
    overflow: hidden;
    background: var(--red);
    border-top: 1px solid rgba(255,255,255,.15);
    border-bottom: 1px solid rgba(255,255,255,.15);
}

.ticker-track {
    width: max-content;
    display: flex;
    align-items: center;
    gap: 36px;
    padding: 14px 0;
    animation: ticker 30s linear infinite;
}

.ticker-track span {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: .11em;
}

.ticker-track i {
    font-size: 5px;
}

@keyframes ticker {
    to { transform: translateX(-50%); }
}

/* GENERAL SECTIONS */
.section {
    padding: 105px 0;
}

.section-title h2,
.section-head h2 {
    font-size: clamp(52px, 6vw, 82px);
}

.about {
    background:
        radial-gradient(circle at 15% 40%, rgba(237,17,27,.08), transparent 30%),
        #090a0d;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 85px;
}

.about-copy {
    padding-top: 34px;
}

.about-copy p {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
}

.about-copy p.lead {
    color: #e4e5e8;
    font-size: 18px;
}

.quick-links {
    margin-top: 34px;
    border-top: 1px solid var(--line);
}

.quick-links a {
    min-height: 58px;
    display: grid;
    grid-template-columns: 26px 1fr auto;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
    font-weight: 700;
}

.quick-links a:first-child > i:first-child {
    color: #4d9aff;
}

.quick-links a:nth-child(2) > i:first-child {
    color: var(--green);
}

.quick-links a i:last-child {
    color: #5f6570;
    font-size: 11px;
}

/* FEATURES */
.experience {
    background: var(--bg-soft);
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    margin-bottom: 48px;
}

.section-head p {
    max-width: 390px;
    margin: 0 0 17px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.75;
}

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

.feature-card {
    min-height: 320px;
    position: relative;
    padding: 28px;
    overflow: hidden;
    background:
        linear-gradient(150deg, rgba(255,255,255,.025), rgba(255,255,255,.006)),
        #111318;
    border: 1px solid var(--line);
    transition: .25s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(237,17,27,.5);
}

.feature-card::after {
    content: "";
    position: absolute;
    width: 130px;
    height: 130px;
    right: -55px;
    bottom: -55px;
    border: 18px solid rgba(237,17,27,.08);
    border-radius: 50%;
}

.feature-icon {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    background: var(--red);
    border-radius: 5px;
    font-size: 19px;
}

.feature-no {
    position: absolute;
    right: 24px;
    top: 28px;
    color: #3e424a;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 20px;
    font-weight: 800;
}

.feature-card h3 {
    margin: 70px 0 12px;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 34px;
    line-height: 1;
}

.feature-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.75;
}

/* GALLERY */
.gallery {
    background: #08090b;
}

.gallery-head {
    margin-bottom: 38px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1.3fr .7fr .7fr;
    grid-template-rows: 290px 290px;
    gap: 12px;
}

.gallery-item {
    position: relative;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: #15171c;
    cursor: pointer;
}

.gallery-main {
    grid-row: span 2;
}

.gallery-tall {
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.gallery-item:hover img {
    transform: scale(1.035);
}

.gallery-overlay {
    position: absolute;
    right: 16px;
    bottom: 16px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    background: rgba(7,8,10,.82);
    border: 1px solid rgba(255,255,255,.17);
    border-radius: 50%;
    color: white;
}

/* EVENTS */
.event-section {
    background:
        radial-gradient(circle at 25% 45%, rgba(237,17,27,.11), transparent 28%),
        #0e1013;
}

.event-grid {
    display: grid;
    grid-template-columns: .72fr 1.28fr;
    gap: 75px;
    align-items: center;
}

.event-poster-wrap {
    max-width: 390px;
    justify-self: center;
    padding: 9px;
    background: #191b20;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: rotate(-1.5deg);
}

.event-poster-wrap img {
    width: 100%;
}

.event-copy h2 {
    font-size: clamp(56px, 6.2vw, 86px);
}

.event-copy > p {
    max-width: 640px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
}

.event-points {
    display: grid;
    gap: 12px;
    margin: 30px 0;
}

.event-points div {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #d9dbe0;
    font-size: 14px;
}

.event-points i {
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(237,17,27,.13);
    color: var(--red-2);
}

/* RACE BANNER */
.race-banner {
    padding: 54px 0;
    background: var(--red);
}

.race-banner-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
}

.race-icon {
    width: 68px;
    height: 68px;
    display: grid;
    place-items: center;
    background: #111;
    border-radius: 50%;
    font-size: 24px;
}

.race-banner span {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .2em;
}

.race-banner h2 {
    margin: 6px 0 0;
    font-size: clamp(46px, 5vw, 72px);
}

/* VISIT */
.visit {
    background: #090a0d;
}

.visit-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 55px;
    align-items: stretch;
}

.visit-info h2 {
    font-size: clamp(54px, 6vw, 78px);
}

.contact-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 32px;
}

.contact-card {
    min-height: 105px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px;
    background: var(--panel);
    border: 1px solid var(--line);
}

a.contact-card {
    transition: .2s ease;
}

a.contact-card:hover {
    border-color: rgba(255,255,255,.2);
    transform: translateY(-2px);
}

.contact-icon {
    flex: 0 0 45px;
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--red);
    color: white;
}

.contact-icon.facebook-icon {
    background: var(--blue);
}

.contact-icon.whatsapp-icon {
    background: var(--green);
    color: #08110a;
}

.contact-card > div:last-child {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.contact-card small {
    color: #707680;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .15em;
}

.contact-card strong {
    margin-top: 6px;
    font-size: 13px;
}

.contact-card span {
    margin-top: 4px;
    color: #8f949d;
    font-size: 11px;
}

.map-wrap {
    position: relative;
    min-height: 590px;
    overflow: hidden;
    border: 1px solid var(--line);
}

.map-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(.9) contrast(1.05) invert(.92);
}

.map-label {
    position: absolute;
    left: 20px;
    bottom: 20px;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 10px 15px 10px 10px;
    background: rgba(9,10,13,.92);
    border: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 12px 36px rgba(0,0,0,.3);
}

.map-label img {
    width: 76px;
    height: 51px;
    object-fit: cover;
}

.map-label span {
    display: flex;
    flex-direction: column;
}

.map-label small {
    color: #757b84;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .14em;
}

.map-label strong {
    margin-top: 5px;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 18px;
}

/* FINAL CTA */
.final-cta {
    position: relative;
    overflow: hidden;
    padding: 110px 0;
    text-align: center;
    background:
        radial-gradient(circle at 50% 0%, rgba(237,17,27,.16), transparent 40%),
        #08090b;
}

.final-checker {
    position: absolute;
    inset: auto -70px -80px auto;
    width: 360px;
    height: 360px;
    opacity: .035;
    transform: rotate(14deg);
    background:
        linear-gradient(45deg,#fff 25%,transparent 25%,transparent 75%,#fff 75%),
        linear-gradient(45deg,#fff 25%,transparent 25%,transparent 75%,#fff 75%);
    background-size: 56px 56px;
    background-position: 0 0, 28px 28px;
}

.final-cta-inner {
    position: relative;
    z-index: 2;
}

.final-cta img {
    width: 190px;
    margin: 0 auto 32px;
    border: 1px solid var(--line);
}

.final-cta h2 {
    font-size: clamp(64px, 8vw, 108px);
}

.final-cta p {
    color: #9297a0;
}

/* FOOTER */
.footer {
    background: #050607;
    border-top: 1px solid var(--line);
}

.footer-inner {
    min-height: 150px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
}

.footer-brand img {
    width: 110px;
    height: 74px;
    object-fit: cover;
}

.footer-copy {
    display: flex;
    flex-direction: column;
}

.footer-copy strong {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 22px;
}

.footer-copy span {
    margin-top: 6px;
    color: #8d929b;
    font-size: 11px;
}

.footer-copy small {
    margin-top: 10px;
    color: #585e67;
    font-size: 10px;
}

.footer-socials {
    display: flex;
    gap: 9px;
}

.footer-socials a {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #121419;
    border: 1px solid var(--line);
}

.footer-socials a:hover {
    background: var(--red);
}

/* FLOATING WHATSAPP */
.floating-whatsapp {
    position: fixed;
    z-index: 90;
    right: 22px;
    bottom: 22px;
    min-height: 54px;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 0 18px;
    background: var(--green);
    color: #071109;
    border-radius: 999px;
    box-shadow: 0 16px 46px rgba(0,0,0,.4);
    font-size: 12px;
    font-weight: 800;
}

.floating-whatsapp i {
    font-size: 22px;
}

/* LIGHTBOX */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: rgba(0,0,0,.92);
}

.lightbox.open {
    display: flex;
}

.lightbox img {
    max-width: min(1150px, 94vw);
    max-height: 88vh;
    object-fit: contain;
    box-shadow: 0 30px 100px rgba(0,0,0,.7);
}

.lightbox-close {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 50%;
    background: #111318;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

/* RESPONSIVE */
@media (max-width: 1050px) {
    .nav {
        gap: 15px;
    }

    .nav > a {
        font-size: 10px;
    }

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

@media (max-width: 920px) {
    .menu-toggle {
        display: grid;
        place-items: center;
    }

    .nav {
        position: absolute;
        top: 74px;
        left: 20px;
        right: 20px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px;
        background: #0e1014;
        border: 1px solid var(--line);
        box-shadow: var(--shadow);
    }

    .nav.open {
        display: flex;
    }

    .nav > a {
        min-height: 46px;
        display: flex;
        align-items: center;
        padding: 0 10px;
        font-size: 12px;
        border-bottom: 1px solid rgba(255,255,255,.05);
    }

    .nav-social {
        width: 100%;
        height: 46px;
        border-radius: 4px;
        justify-content: center;
    }

    .nav-cta {
        justify-content: center;
        margin-top: 8px;
    }

    .hero {
        min-height: auto;
    }

    .hero-grid,
    .about-grid,
    .event-grid,
    .visit-grid {
        grid-template-columns: 1fr;
    }

    .hero-logo-card {
        justify-self: start;
        max-width: 520px;
    }

    .about-grid {
        gap: 20px;
    }

    .about-copy {
        padding-top: 0;
    }

    .section-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 300px 300px 420px;
    }

    .gallery-main {
        grid-row: auto;
        grid-column: span 2;
    }

    .gallery-tall {
        grid-row: auto;
        grid-column: span 2;
    }

    .event-poster-wrap {
        justify-self: start;
    }

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

    .race-banner-inner .btn {
        grid-column: span 2;
        justify-self: start;
    }

    .map-wrap {
        min-height: 480px;
    }
}

@media (max-width: 620px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

    .nav-wrap {
        min-height: 70px;
    }

    .brand {
        min-width: 0;
    }

    .brand img {
        width: 60px;
        height: 40px;
    }

    .brand-copy strong {
        font-size: 17px;
    }

    .brand-copy small {
        font-size: 7px;
    }

    .hero {
        padding: 125px 0 65px;
    }

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

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

    .hero-actions .btn {
        width: 100%;
    }

    .hero-details {
        flex-direction: column;
        gap: 17px;
    }

    .section {
        padding: 74px 0;
    }

    .section-title h2,
    .section-head h2,
    .event-copy h2,
    .visit-info h2 {
        font-size: 52px;
    }

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

    .feature-card {
        min-height: 270px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 300px);
    }

    .gallery-main,
    .gallery-tall {
        grid-column: auto;
    }

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

    .race-icon {
        width: 56px;
        height: 56px;
    }

    .race-banner-inner .btn {
        grid-column: auto;
    }

    .contact-list {
        grid-template-columns: 1fr;
    }

    .map-wrap {
        min-height: 390px;
    }

    .map-label {
        right: 14px;
        left: 14px;
        bottom: 14px;
    }

    .final-cta {
        padding: 82px 0;
    }

    .final-cta h2 {
        font-size: 66px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        justify-items: center;
        padding: 34px 0;
        text-align: center;
    }

    .footer-copy {
        align-items: center;
    }

    .floating-whatsapp {
        width: 54px;
        padding: 0;
        justify-content: center;
    }

    .floating-whatsapp span {
        display: none;
    }
}
