:root {
    --front-red: #CB0B01;
    --front-red-dark: #980800;
    --front-black: #111111;
    --front-dark: #1f1f1f;
    --front-gray: #666666;
    --front-light: #f5f5f5;
    --front-white: #ffffff;
    --front-border: #e7e7e7;
    --front-shadow: 0 16px 45px rgba(0, 0, 0, .12);
    --front-radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--front-black);
    background: var(--front-white);
    line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

.topbar-front {
    background: var(--front-red);
    color: var(--front-white);
    font-size: 13px;
    font-weight: 700;
}
.topbar-inner, .nav-inner, .footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.topbar-inner { min-height: 36px; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.topbar-right a { opacity: .95; font-weight: 800; }

.navbar-front {
    background: var(--front-white);
    box-shadow: 0 3px 20px rgba(0, 0, 0, .06);
    position: sticky;
    top: 0;
    z-index: 20;
}
.nav-inner { min-height: 86px; }
.brand-front { display: flex; align-items: center; gap: 14px; }
.brand-mark {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--front-red);
    color: var(--front-white);
    font-weight: 900;
    letter-spacing: -1px;
    box-shadow: 0 10px 26px rgba(203, 11, 1, .28);
}
.brand-text strong { display: block; font-size: 27px; line-height: 1; text-transform: uppercase; letter-spacing: .5px; }
.brand-text small { display: block; font-size: 11px; color: var(--front-gray); font-weight: 800; text-transform: uppercase; margin-top: 4px; }
.nav-menu { display: flex; align-items: center; gap: 26px; font-weight: 800; font-size: 14px; text-transform: uppercase; }
.nav-menu a { position: relative; }
.nav-menu a:hover { color: var(--front-red); }
.nav-cta { padding: 12px 18px; background: var(--front-red); color: var(--front-white) !important; border-radius: 999px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: var(--front-black); border-radius: 10px; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: #fff; margin: 6px 0; }

.hero-front {
    min-height: 470px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--front-white);
    background:
        linear-gradient(105deg, rgba(0,0,0,.82), rgba(203,11,1,.45)),
        radial-gradient(circle at 85% 30%, rgba(203,11,1,.55), transparent 32%),
        linear-gradient(135deg, #1a1a1a, #333333);
}
.hero-front::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 46px 46px;
    opacity: .35;
}
.hero-content { position: relative; z-index: 2; max-width: 720px; }
.hero-kicker { display: inline-block; padding: 7px 14px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; font-weight: 800; margin-bottom: 16px; }
.hero-content h1 { font-size: clamp(42px, 6vw, 78px); margin: 0 0 10px; line-height: .95; }
.hero-content p { font-size: 20px; margin: 0 0 28px; color: rgba(255,255,255,.9); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-front { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 900; transition: transform .2s ease, box-shadow .2s ease; }
.btn-front:hover { transform: translateY(-2px); }
.btn-primary { background: var(--front-red); color: var(--front-white); box-shadow: 0 12px 28px rgba(203,11,1,.32); }
.btn-secondary { border: 2px solid rgba(255,255,255,.75); color: var(--front-white); }
.hero-dots { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 8px; }
.hero-dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.55); }
.hero-dots .active { background: var(--front-red); }

.intro-front { padding: 52px 0 28px; text-align: center; }
.intro-inner h2 { font-size: clamp(28px, 3vw, 42px); margin: 0 0 6px; }
.intro-inner p { margin: 0; color: var(--front-gray); font-size: 18px; }

.main-layout-front { padding: 24px 0 72px; }
.layout-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 30px; align-items: start; }
.content-front { min-width: 0; }
.section-block { margin-bottom: 34px; }
.section-heading { margin-bottom: 18px; }
.section-heading span { color: var(--front-red); text-transform: uppercase; font-weight: 900; font-size: 13px; letter-spacing: .08em; }
.section-heading h2 { margin: 2px 0 0; font-size: 31px; }
.cards-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.cards-grid.two-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.front-card, .side-card, .wide-placeholder, .cta-panel, .contact-panel {
    background: var(--front-white);
    border: 1px solid var(--front-border);
    border-radius: var(--front-radius);
    box-shadow: var(--front-shadow);
}
.front-card { padding: 26px; min-height: 190px; border-top: 5px solid var(--front-red); }
.card-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: rgba(203,11,1,.1); color: var(--front-red); font-size: 24px; margin-bottom: 14px; }
.front-card h3 { margin: 0 0 8px; font-size: 20px; }
.front-card p { margin: 0; color: var(--front-gray); }
.wide-placeholder { padding: 36px; min-height: 120px; color: var(--front-gray); background: linear-gradient(135deg, #fff, #fafafa); }
.planning-placeholder { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.planning-placeholder div { padding: 20px 12px; border-radius: 14px; color: var(--front-white); background: var(--front-black); text-align: center; font-weight: 900; border-bottom: 5px solid var(--front-red); }
.cta-panel { padding: 34px; background: linear-gradient(135deg, var(--front-black), #303030); color: var(--front-white); }
.cta-panel h2 { margin-top: 0; }
.cta-panel p { color: rgba(255,255,255,.82); }
.contact-panel { padding: 30px; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.contact-grid div { padding: 18px; border-radius: 14px; background: var(--front-light); }
.contact-grid strong, .contact-grid span { display: block; }
.contact-grid strong { color: var(--front-red); }

.sidebar-front { position: sticky; top: 110px; display: grid; gap: 20px; }
.side-card { padding: 22px; }
.side-card h3 { margin: 0 0 14px; font-size: 19px; }
.side-highlight { background: var(--front-red); color: var(--front-white); border-color: var(--front-red); }
.sponsors-card{ min-height:480px; }
.sponsor-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:12px;
    margin-top:15px;
}
.sponsor-item{
    height:125px;
    padding:8px;
    overflow:hidden;
    display:flex;
    justify-content:center;
    align-items:center;
}


.sponsor-item:hover{
    transform:translateY(-2px);
    box-shadow:0 8px 20px rgba(0,0,0,.08);
}
.sponsor-item img{
    width:100%;
    height:100%;
    object-fit:contain;
}
.empty-state { color: var(--front-gray); padding: 14px; border-radius: 12px; background: var(--front-light); font-size: 14px; }
.side-highlight .empty-state { color: rgba(255,255,255,.88); background: rgba(255,255,255,.12); }
.empty-state.small { margin-top: 8px; padding: 10px; font-size: 13px; }
.score-placeholder { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; padding: 14px; border-radius: 14px; background: var(--front-black); color: var(--front-white); font-size: 13px; text-align: center; }
.score-placeholder strong { color: var(--front-red); font-size: 22px; }
.sponsor-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.sponsor-grid div { height: 58px; display: grid; place-items: center; border-radius: 12px; background: var(--front-light); color: var(--front-gray); font-weight: 800; font-size: 13px; }

.newsletter-front {
    padding: 58px 0;
    color: var(--front-white);
    text-align: center;
    background: linear-gradient(135deg, rgba(203,11,1,.92), rgba(20,20,20,.9)), linear-gradient(45deg, #CB0B01, #111);
}
.newsletter-inner h2 { margin: 0 0 8px; font-size: 30px; }
.newsletter-inner p { margin: 0 0 22px; color: rgba(255,255,255,.86); }
.newsletter-form { display: flex; justify-content: center; gap: 0; max-width: 520px; margin: 0 auto; }
.newsletter-form input { flex: 1; min-height: 48px; border: 0; padding: 0 16px; border-radius: 999px 0 0 999px; }
.newsletter-form button { min-height: 48px; border: 0; padding: 0 22px; background: var(--front-black); color: var(--front-white); border-radius: 0 999px 999px 0; font-weight: 900; cursor: pointer; }

.footer-front { background: #242424; color: var(--front-white); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 42px; padding: 44px 0; }
.footer-grid h3 { margin: 0 0 14px; }
.footer-grid p, .footer-grid li { color: rgba(255,255,255,.76); font-size: 14px; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a:hover { color: var(--front-red); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding: 16px 0; font-size: 13px; color: rgba(255,255,255,.76); }

@media (max-width: 1024px) {
    .layout-grid { grid-template-columns: 1fr; }
    .sidebar-front { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .planning-placeholder { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
    .topbar-left span:nth-child(2), .topbar-left span:nth-child(3) { display: none; }
    .nav-toggle { display: block; }
    .nav-menu {
        position: absolute;
        left: 16px;
        right: 16px;
        top: calc(100% + 8px);
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 14px;
        background: var(--front-white);
        border-radius: 16px;
        box-shadow: var(--front-shadow);
    }
    .nav-menu.is-open { display: flex; }
    .nav-menu li a { display: block; padding: 13px 12px; border-bottom: 1px solid var(--front-border); }
    .nav-menu li:last-child a { border-bottom: 0; text-align: center; margin-top: 8px; }
    .nav-inner { min-height: 76px; }
    .brand-text strong { font-size: 22px; }
}

@media (max-width: 700px) {
    .container { width: min(100% - 24px, 1180px); }
    .hero-front { min-height: 420px; }
    .hero-content p { font-size: 17px; }
    .hero-actions, .newsletter-form { flex-direction: column; }
    .btn-front, .newsletter-form input, .newsletter-form button { width: 100%; border-radius: 999px; }
    .cards-grid, .cards-grid.two-cols, .sidebar-front, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
    .planning-placeholder { grid-template-columns: repeat(2, 1fr); }
    .footer-bottom-inner, .topbar-inner { align-items: flex-start; flex-direction: column; gap: 8px; }
    .topbar-inner { padding: 8px 0; }
}

@media (max-width: 420px) {
    .brand-mark { width: 46px; height: 46px; }
    .brand-text strong { font-size: 18px; }
    .brand-text small { font-size: 9px; }
    .section-heading h2 { font-size: 25px; }
    .front-card, .side-card, .wide-placeholder, .cta-panel, .contact-panel { padding: 20px; }
    .planning-placeholder { grid-template-columns: 1fr; }
}
