.site-page {
    --site-dark: #11130f;
    --site-ink: #20251b;
    --site-muted: #66705f;
    --site-lime: #c3e92d;
    --site-race:#e2f49b;
    --site-rust: #d8662f;
    --site-paper: #f7f5ee;
    background: var(--site-paper);
    color: var(--site-ink);
    overflow: hidden;
}

.site-hero {
    position: relative;
    min-height: 720px;
    display: flex;
    align-items: center;
    isolation: isolate;
    background: var(--site-dark);
}

.site-hero-media {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.site-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.95);
    animation: siteHeroDrift 12s ease-in-out infinite alternate;
}

.site-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(17, 19, 15, 0.93), rgba(17, 19, 15, 0.62), rgba(17, 19, 15, 0.2));
    z-index: -1;
}

.site-hero-content {
    max-width: 820px;
    padding: 120px 0;
}

.site-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 414px);
    gap: 58px;
    align-items: end;
}

.home-event-slide-card {
    align-self: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
    animation: eventCardFloat 5s ease-in-out infinite;
}

.home-event-slide-card .title-event a:hover,
.home-event-slide-card .content-event li a:hover {
    color: var(--site-lime);
}

.home-event-slide-card .content-event ul {
    margin: 0;
    padding: 0;
}

.home-event-slide-card .content-event li {
    display: flex;
    align-items: center;
}

.home-event-slide-card .event-icon {
    position: relative;
    color: var(--site-lime);
    font: 700 11px/14px "Jost", sans-serif;
    text-align: center;
}

.home-event-slide-card .event-icon::before {
    display: block;
}

.home-event-slide-card .event-icon-date::before {
    content: "D";
}

.home-event-slide-card .event-icon-time::before {
    content: "T";
}

.home-event-slide-card .event-icon-location::before {
    content: "L";
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--site-lime);
    font: 700 14px/1.2 "Jost", sans-serif;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.section-kicker::before {
    content: "";
    width: 34px;
    height: 3px;
    background: currentColor;
}

.site-hero h1,
.inner-hero h1 {
    color: #fff;
    font: 700 82px/0.98 "Oswald", sans-serif;
    text-transform: uppercase;
    margin-bottom: 26px;
}

.site-hero p,
.inner-hero p {
    max-width: 700px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 20px;
    line-height: 1.7;
    margin-bottom: 34px;
}

.site-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.outline-button,
.text-link {
    display: inline-flex;
    align-items: center;
    min-height: 58px;
    padding: 0 26px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: #fff;
    font: 700 15px/1 "Jost", sans-serif;
    text-transform: uppercase;
}

.outline-button:hover {
    color: var(--site-dark);
    background: #fff;
}

.text-link {
    min-height: auto;
    padding: 0;
    border: 0;
    color: var(--site-rust);
}

.site-band-raised {
    position: relative;
    z-index: 2;
    margin-top: -48px;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
    box-shadow: 0 24px 70px rgba(22, 26, 19, 0.14);
}

.metric-card {
    padding: 34px 28px;
    border-right: 1px solid #e5e2d9;
}

.metric-card:last-child {
    border-right: 0;
}

.metric-card strong {
    display: block;
    color: var(--site-rust);
    font: 700 48px/1 "Oswald", sans-serif;
    margin-bottom: 8px;
}

.metric-card span {
    color: var(--site-muted);
    font-weight: 700;
    text-transform: uppercase;
}

.site-section {
    padding: 100px 0;
}

.muted-section {
    background: #fff;
}

.split-grid,
.process-grid,
.contact-grid,
.race-preview-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 70px;
    align-items: center;
}

.image-stack {
    position: relative;
    min-height: 560px;
}

.image-stack img {
    position: absolute;
    object-fit: cover;
    box-shadow: 0 22px 60px rgba(32, 37, 27, 0.18);
}

.image-main {
    left: 0;
    top: 0;
    width: 78%;
    height: 500px;
}

.image-accent {
    right: 0;
    bottom: 0;
    width: 46%;
    height: 300px;
    border: 12px solid var(--site-paper);
}

.content-block h2,
.section-heading h2,
.cta-panel h2,
.result-panel h2,
.contact-info h2 {
    color: var(--site-dark);
    font: 700 52px/1.08 "Oswald", sans-serif;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.content-block p,
.section-heading p,
.result-panel p,
.contact-note p {
    color: var(--site-muted);
    font-size: 18px;
    line-height: 1.75;
    margin-bottom: 18px;
}

.section-heading {
    max-width: 780px;
    margin-bottom: 42px;
}

.race-preview-section {
    background: #fff;
}

.race-preview-card {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 28px;
    align-items: center;
    padding: 24px;
    background: var(--site-race);
}

.race-preview-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.race-preview-card span {
    color: var(--site-rust);
    font-weight: 700;
    text-transform: uppercase;
}

.race-preview-card h3,
.feature-card h3,
.contact-note h3 {
    color: var(--site-dark);
    font: 700 28px/1.15 "Oswald", sans-serif;
    text-transform: uppercase;
    margin: 10px 0 14px;
}

.race-preview-card p,
.feature-card p {
    color: var(--site-muted);
    line-height: 1.65;
}

.distance-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.distance-list div,
.process-list div,
.contact-card {
    background: #fff;
    padding: 28px;
    border: 1px solid #e5e2d9;
}

.distance-list strong {
    display: block;
    color: var(--site-rust);
    font: 700 46px/1 "Oswald", sans-serif;
}

.distance-list span,
.process-list span {
    color: var(--site-muted);
    font-weight: 700;
    text-transform: uppercase;
}

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

.feature-card {
    min-height: 100%;
    padding: 34px;
    background: var(--site-paper);
    border: 1px solid #e5e2d9;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 54px rgba(32, 37, 27, 0.14);
}

.feature-card img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    margin-bottom: 22px;
}

.cta-strip {
    padding: 90px 0;
    background: linear-gradient(rgba(17, 19, 15, 0.86), rgba(17, 19, 15, 0.86)), url("../images/parallax/paralax1.jpg") center/cover fixed;
}

.cta-panel,
.result-panel {
    display: flex;
    gap: 36px;
    align-items: center;
    justify-content: space-between;
    padding: 52px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.cta-panel h2,
.result-panel h2 {
    color: #fff;
    margin-bottom: 0;
}

.inner-hero {
    padding: 130px 0 110px;
    background: linear-gradient(90deg, rgba(17, 19, 15, 0.93), rgba(17, 19, 15, 0.7)), url("../images/slides/slide4.jpg") center/cover;
}

.contact-hero {
    background-image: linear-gradient(90deg, rgba(17, 19, 15, 0.93), rgba(17, 19, 15, 0.7)), url("../images/retinal/contact.jpg");
}

.result-hero {
    background-image: linear-gradient(90deg, rgba(17, 19, 15, 0.93), rgba(17, 19, 15, 0.7)), url("../images/slides/slide5.jpg");
}

.process-list {
    display: grid;
    gap: 16px;
}

.process-list strong {
    display: block;
    color: var(--site-rust);
    font: 700 32px/1 "Oswald", sans-serif;
    margin-bottom: 8px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 0.85fr 1fr;
    gap: 24px;
}

.gallery-grid img {
    width: 100%;
    height: 390px;
    object-fit: cover;
}

.gallery-grid img:nth-child(2) {
    margin-top: 70px;
}

.contact-grid {
    align-items: start;
}

.contact-card {
    margin-bottom: 16px;
}

.contact-card strong {
    display: block;
    color: var(--site-rust);
    font: 700 18px/1 "Oswald", sans-serif;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.contact-card a,
.contact-card span {
    color: var(--site-ink);
    font-size: 18px;
}

.contact-note {
    margin-top: 28px;
    padding: 28px;
    background: #fff;
    border-left: 5px solid var(--site-lime);
}

.contact-form {
    padding: 36px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(22, 26, 19, 0.12);
}

.form-row {
    margin-bottom: 18px;
}

.form-row label {
    display: block;
    color: var(--site-dark);
    font-weight: 700;
    margin-bottom: 8px;
}

.form-row input,
.form-row textarea,
.form-row select {
    width: 100%;
    min-height: 54px;
    border: 1px solid #ddd8cc;
    background: var(--site-paper);
    color: var(--site-ink);
    padding: 12px 16px;
}

.form-row textarea {
    min-height: 150px;
    resize: vertical;
}

.result-panel {
    background: var(--site-dark);
}

.result-panel p {
    color: rgba(255, 255, 255, 0.78);
    max-width: 780px;
}

.result-table-wrap {
    overflow-x: auto;
    background: var(--site-paper);
    border: 1px solid #e5e2d9;
}

.result-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
}

.result-table th,
.result-table td {
    padding: 22px 24px;
    border-bottom: 1px solid #e5e2d9;
    text-align: left;
}

.result-table th {
    color: var(--site-dark);
    font: 700 16px/1 "Jost", sans-serif;
    text-transform: uppercase;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    background: var(--site-lime);
    color: var(--site-dark);
    font-weight: 700;
    text-transform: uppercase;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes siteHeroDrift {
    from {
        transform: scale(1.04);
    }
    to {
        transform: scale(1.1);
    }
}

@keyframes eventCardFloat {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

@media (max-width: 1199px) {
    .site-hero h1,
    .inner-hero h1 {
        font-size: 66px;
    }

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

    .site-hero-layout {
        grid-template-columns: minmax(0, 1fr) 360px;
        gap: 36px;
    }
}

@media (max-width: 991px) {
    .site-hero-layout {
        grid-template-columns: 1fr;
        align-items: start;
        padding: 80px 0;
    }

    .site-hero-content {
        padding: 0;
    }

    .home-event-slide-card {
        max-width: 520px;
    }

    .metric-grid,
    .split-grid,
    .process-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .metric-card {
        border-bottom: 1px solid #e5e2d9;
    }

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

    .image-stack {
        margin-bottom: 20px;
    }

    .cta-panel,
    .result-panel {
        display: block;
    }

    .cta-panel .flat-button,
    .result-panel .flat-button {
        margin-top: 28px;
    }
}

@media (max-width: 767px) {
    .site-hero {
        min-height: auto;
    }

    .site-hero-content,
    .inner-hero {
        padding: 80px 0;
    }

    .site-hero-layout {
        padding: 70px 0;
    }

    .site-hero-layout .site-hero-content {
        padding: 0;
    }

    .site-hero h1,
    .inner-hero h1 {
        font-size: 44px;
    }

    .site-hero p,
    .inner-hero p {
        font-size: 17px;
    }

    .site-actions,
    .distance-list,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .outline-button,
    .site-actions .flat-button {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .site-section {
        padding: 72px 0;
    }

    .content-block h2,
    .section-heading h2,
    .cta-panel h2,
    .result-panel h2,
    .contact-info h2 {
        font-size: 38px;
    }

    .image-stack {
        min-height: 410px;
    }

    .image-main {
        width: 86%;
        height: 350px;
    }

    .image-accent {
        width: 56%;
        height: 210px;
        border-width: 8px;
    }

    .race-preview-card {
        display: block;
    }

    .race-preview-card img {
        margin-bottom: 24px;
    }

    .cta-strip {
        background-attachment: scroll;
    }

    .cta-panel,
    .result-panel,
    .contact-form {
        padding: 30px 24px;
    }

    .gallery-grid img,
    .gallery-grid img:nth-child(2) {
        height: 300px;
        margin-top: 0;
    }

    .home-event-slide-card {
        max-width: 100%;
    }
}

.whatsapp-float {
    position: fixed;
    right: 20px;
    top: 83%;
    transform: translateY(-50%);
    z-index: 9999;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: #fff;
    text-decoration: none;
    padding: 14px 20px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: pulseWhatsapp 2s infinite;
}

.whatsapp-float a:hover {
    transform: translateX(-5px) scale(1.05);
    background: #1ebe5d;
}

.whatsapp-float img {
    width: 28px;
    height: 28px;
}

@keyframes pulseWhatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 18px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .whatsapp-float {
        right: 10px;
        bottom: 20px;
        top: auto;
        transform: none;
    }

    .whatsapp-float a {
        padding: 12px 16px;
        font-size: 14px;
    }

    .whatsapp-float img {
        width: 24px;
        height: 24px;
    }
}
.whatsapp-float {
    position: fixed;
    right: -140px;
    top: 83%;
    transform: translateY(-50%);
    z-index: 9999;
    transition: all 0.4s ease;
}

.whatsapp-float:hover {
    right: 10px;
}

.header-top {
    background: linear-gradient(90deg,#0f172a,#1e293b);
    color: #fff;
    font-size: 14px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.header-top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 50px;
}

.top-contact {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-contact a,
.top-contact span {
    color: rgba(255,255,255,.85);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-contact a:hover {
    color: #ff6b00;
}

.divider {
    width: 1px;
    height: 18px;
    background: rgba(255,255,255,.2);
}

.top-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.race-btn {
    background: #ff6b00;
    color: #fff;
    padding: 8px 18px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: .3s;
}

.race-btn:hover {
    background: #ff8c33;
    color: #fff;
    transform: translateY(-2px);
}

.social-icon {
    display: flex;
    gap: 8px;
}

.social-icon a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: .3s;
}

.social-icon a:hover {
    background: #ff6b00;
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .header-top {
        display: none;
    }
}