:root {
    --wab-red: #c0392b;
    --wab-red-dark: #922b21;
    --ink: #111;
    --muted: #606060;
    --paper: #fff;
    --soft: #f6f6f6;
    --line: #dedede;
    --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.55 Arial, sans-serif; }
a { color: inherit; }
img, video { display: block; max-width: 100%; }
.wrap { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }

.topbar { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); }
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.links { display: flex; gap: 24px; align-items: center; }
.links a { text-decoration: none; font-weight: 700; }
.links a:hover, .links a:focus-visible { color: var(--wab-red); }

.hero { position: relative; min-height: 680px; display: grid; align-items: center; overflow: hidden; color: #fff; background: #090909; }
.hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .88) 0%, rgba(0, 0, 0, .58) 55%, rgba(0, 0, 0, .25) 100%); }
.hero-content { position: relative; z-index: 1; max-width: 760px; padding-block: 92px; }
.eyebrow { margin: 0 0 14px; color: #ffb1a8; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(42px, 7vw, 78px); line-height: .98; letter-spacing: -.04em; }
.hero p { max-width: 680px; margin: 26px 0 30px; font-size: clamp(19px, 2.3vw, 25px); }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.stores img { height: 52px; width: auto; }

section { padding-block: 88px; }
.section-kicker { margin: 0 0 8px; color: var(--wab-red); font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
h2 { max-width: 780px; margin: 0 0 20px; font-size: clamp(32px, 5vw, 52px); line-height: 1.08; letter-spacing: -.025em; }
.intro { max-width: 760px; margin: 0 0 42px; color: var(--muted); font-size: 19px; }

.features { background: var(--soft); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature { padding: 28px; background: #fff; border-top: 5px solid var(--wab-red); border-radius: 12px; box-shadow: 0 10px 34px rgba(0, 0, 0, .06); }
.feature-visual { height: 144px; display: grid; place-items: center; margin: -4px 0 24px; overflow: hidden; border: 1px solid #ededed; border-radius: 12px; background: #fff; }
.feature-visual img { width: 134px; height: 122px; object-fit: contain; }
.feature-visual .feature-icon--map { width: 116px; height: 116px; border-radius: 28px; }
.feature-visual .feature-icon--calendar { width: 72px; height: 72px; }
.feature h3 { margin: 0 0 12px; font-size: 22px; line-height: 1.18; }
.feature p { margin: 0; color: var(--muted); }

.events-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }
.map-preview { position: relative; min-height: 440px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #e9e7e5; box-shadow: 0 18px 48px rgba(0, 0, 0, .08); }
.map-preview > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.72) contrast(.92); opacity: .74; }
.map-preview::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .28)); }
.map-status { position: absolute; z-index: 1; top: 49px; left: -84px; width: 420px; padding: 13px 18px; color: #fff; background: var(--wab-red); box-shadow: 0 8px 20px rgba(0, 0, 0, .2); text-align: center; font-size: 14px; font-weight: 900; letter-spacing: .055em; text-transform: uppercase; transform: rotate(-34deg); }
.map-attribution { position: absolute; z-index: 1; right: 10px; bottom: 8px; padding: 3px 6px; color: #555; background: rgba(255, 255, 255, .82); border-radius: 4px; font-size: 10px; text-decoration: none; }
.events-copy ul { margin: 28px 0 0; padding: 0; list-style: none; }
.events-copy li { padding: 13px 0; border-bottom: 1px solid var(--line); font-weight: 700; }

.safety { color: #fff; background: #111; }
.safety-inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 60px; align-items: center; }
.safety-inner > * { min-width: 0; }
.safety-visual { position: relative; min-height: 350px; margin: 0; overflow: hidden; border: 1px solid rgba(255, 255, 255, .16); border-radius: 18px; background: #050505; box-shadow: 0 24px 64px rgba(0, 0, 0, .38); }
.safety-visual > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(1.12); }
.safety-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 34%, rgba(0, 0, 0, .72) 100%); }
.safety-cover { position: absolute; z-index: 1; inset: auto 26px 24px; }
.safety-cover-logos { display: flex; align-items: center; gap: 16px; margin-bottom: 15px; }
.safety-cover-logos .wab-cover-logo { width: 150px; height: auto; }
.safety-cover-logos .rmp-cover-logo { width: 62px; height: 62px; object-fit: contain; }
.safety-cover strong { display: block; font-size: clamp(30px, 4vw, 44px); line-height: 1; letter-spacing: -.025em; }
.safety-cover span { display: block; margin-top: 8px; color: #ddd; font-size: 14px; }
.safety .intro { color: #d2d2d2; }
.cta { display: inline-block; padding: 14px 22px; color: #fff; background: var(--wab-red); border-radius: 999px; text-decoration: none; font-weight: 800; }
.cta:hover, .cta:focus-visible { background: var(--wab-red-dark); }

.partners { background: var(--soft); }
.partner-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.partner-card { min-height: 380px; padding: 30px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; box-shadow: 0 10px 34px rgba(0, 0, 0, .05); transition: transform .18s ease, border-color .18s ease; }
.partner-card:hover, .partner-card:focus-visible { transform: translateY(-3px); border-color: var(--wab-red); }
.partner-logo { height: 138px; display: grid; place-items: start center; margin: -4px 0 24px; overflow: hidden; border: 1px solid rgba(0, 0, 0, .07); border-radius: 10px; }
.partner-logo--rmp, .partner-logo--bytecode { background: #fff; }
.partner-logo--cpaj { background: #111; border-color: #111; }
.partner-logo--motocyklista { background: var(--wab-red); border-color: var(--wab-red); }
.partner-logo img { width: 100%; height: 118px; object-fit: contain; }
.partner-role { display: block; margin-bottom: 20px; color: var(--wab-red); font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.partner-card h3 { margin: 0 0 12px; font-size: 25px; line-height: 1.15; }
.partner-card p { margin: 0; color: var(--muted); }

.download { text-align: center; }
.download h2, .download .intro { margin-inline: auto; }
.download .stores { justify-content: center; }

.ad-slot { min-height: 140px; display: grid; place-items: center; margin-top: 44px; margin-bottom: 44px; overflow: hidden; }
.ad-slot--menu { min-height: 90px; margin-top: 0; margin-bottom: 0; }
.ad-slot a { display: block; width: 100%; }
.ad-slot img { width: 100%; max-height: 260px; margin-inline: auto; object-fit: contain; }

footer { padding-block: 42px; color: #d4d4d4; background: #090909; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: end; }
.footer-meta { text-align: right; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; }
footer p { margin: 6px 0; }
footer a { color: #fff; }

@media (max-width: 920px) {
    .links { display: none; }
    .hero { min-height: 620px; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .events-grid, .safety-inner { grid-template-columns: minmax(0, 1fr); }
    .safety-inner { gap: 28px; }
}

@media (max-width: 560px) {
    .wrap { width: min(calc(100% - 28px), var(--max)); }
    .hero { min-height: 600px; }
    .hero-content { padding-block: 72px; }
    .ad-slot { min-height: 100px; margin-top: 28px; margin-bottom: 28px; }
    .ad-slot--menu { min-height: 70px; margin: 0 auto; }
    section { padding-block: 64px; }
    .feature-grid, .partner-grid { grid-template-columns: 1fr; }
    .feature-visual { margin-bottom: 20px; }
    .events-grid { gap: 32px; }
    .map-preview { min-height: 360px; }
    .safety-visual { min-height: 310px; }
    .safety-cover { inset: auto 20px 20px; }
    .safety-cover-logos .wab-cover-logo { width: 126px; }
    .safety-cover-logos .rmp-cover-logo { width: 54px; height: 54px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-meta { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero video { display: none; }
    .partner-card { transition: none; }
}
