:root {
    color-scheme: light;
    --bg: #f8fafc;
    --panel: #ffffff;
    --text: #0f172a;
    --muted: #64748b;
    --accent: #dc2626;
    --accent-2: #b91c1c;
    --border: #e2e8f0;
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    --font-sans: 'Inter', system-ui, sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

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

img {
    display: block;
    max-width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
}

button,
input,
select,
textarea {
    font: inherit;
}

.container {
    width: min(1200px, calc(100% - 2rem));
    margin: 0 auto;
}

.section {
    padding: 5rem 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.brand-icon {
    width: 54px;
    height: 54px;
    display: inline-block;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-text strong {
    font-size: 1.75rem;
}

.brand-text small {
    color: var(--accent);
    font-size: 1.2rem;
    letter-spacing: 0.3em;
    font-family: var(--font-mono);
}

.site-nav ul {
    display: flex;
    gap: 1.4rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-nav a {
    color: #475569;
    font-weight: 600;
    transition: color 180ms ease;
}

.site-nav a:hover {
    color: var(--accent);
}

.mobile-toggle {
    display: none;
    border: 0;
    background: transparent;
    font-size: 1.4rem;
    cursor: pointer;
}

.btn {
    border: 0;
    border-radius: 999px;
    padding: 0.95rem 1.35rem;
    cursor: pointer;
    font-weight: 700;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 12px 25px rgba(220, 38, 38, 0.18);
}

.btn-primary:hover {
    background: var(--accent-2);
}

.btn-outline {
    border: 2px solid #0f172a;
    background: transparent;
    color: #0f172a;
}

.btn-outline:hover {
    background: #0f172a;
    color: #fff;
}

.hero-section {
    padding: 5rem 0 3rem;
    background: linear-gradient(135deg, #f8fafc 0%, #fef2f2 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 3.02fr 0.98fr;
    gap: 3rem;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--accent);
    letter-spacing: 0.18em;
    padding: 0.6rem 0.9rem;
    background: #fee2e2;
    border: 1px solid #fecaca;
    border-radius: 999px;
}

.hero-copy h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 4.2vw, 4.2rem);
    line-height: 0.95;
    margin: 1rem 0 1rem;
    letter-spacing: -0.02em;
}

.hero-copy h1 span {
    color: var(--accent);
}

.hero-copy p {
    font-size: 1.04rem;
    color: var(--muted);
    max-width: 620px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.4rem;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.6rem;
    color: #334155;
    font-weight: 600;
}

.hero-badges div {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--border);
    padding: 0.8rem 0.95rem;
    border-radius: 999px;
}

.hero-visual {
    position: relative;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 6px solid #fff;
    max-width: 760px;
    margin-left: auto;
}

.hero-visual img,
.hero-visual video {
    width: 100%;
    height: 620px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-visual video {
    max-height: 520px;
    height: auto;
    object-fit: contain;
    margin-left: auto;
}

.hero-caption {
    position: absolute;
    left: 1.2rem;
    right: 1.2rem;
    bottom: 1.2rem;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 1.1rem;
    padding: 1rem 1.2rem;
    backdrop-filter: blur(8px);
}

.hero-caption strong {
    display: block;
    font-family: var(--font-display);
}

.hero-caption p {
    margin: 0.3rem 0 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3rem;
}

.section-label {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--accent);
    margin-bottom: 0.6rem;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin: 0 0 0.6rem;
    color: #020617;
}

.section-header p {
    color: var(--muted);
    margin: 0;
}

.about-grid {
    display: grid;
    gap: 1.4rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
}

.metric-card,
.photo-card,
.info-card,
.partner-card,
.schedule-card,
.competition-item {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 1.5rem;
    box-shadow: var(--shadow);
}

.metric-card {
    padding: 2rem;
    text-align: center;
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.metric-card:hover {
    transform: translateY(-3px);
}

.metric-card.amber {
    border-color: #f59e0b;
}

.metric-card.sky {
    border-color: #38bdf8;
}

.metric-card.emerald {
    border-color: #34d399;
}

.metric-icon {
    width: 70px;
    height: 70px;
    border-radius: 999px;
    margin: 0 auto 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    background: #f8fafc;
}

.metric-card h3 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    margin: 0;
}

.metric-card h4 {
    margin: 0.35rem 0 0.6rem;
    font-size: 1.1rem;
}

.metric-card p {
    margin: 0;
    color: var(--muted);
}

.photo-card {
    overflow: hidden;
    position: relative;
    min-height: 320px;
}

.photo-card img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    object-position: center;
}

.photo-card .photo-label {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.75);
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(6px);
}

.photo-card.reverse {
    grid-column: 2 / 3;
}

.methodology-section {
    background: linear-gradient(135deg, #020617, #0f172a);
    color: #fff;
}

.methodology-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
}

.methodology-list {
    display: grid;
    gap: 1rem;
}

.pill-btn {
    width: 100%;
    text-align: left;
    border: 2px solid #1e293b;
    background: rgba(15, 23, 42, 0.6);
    color: #e2e8f0;
    border-radius: 1rem;
    padding: 1rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    transition: all 180ms ease;
}

.pill-btn:hover {
    background: rgba(30, 41, 59, 0.9);
}

.pill-btn.active {
    border-color: var(--accent);
    background: #0f172a;
    box-shadow: 0 10px 20px rgba(220, 38, 38, 0.18);
}

.pill-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #1e293b;
}

.pill-text {
    font-weight: 700;
    font-size: 1rem;
}

.methodology-panel {
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.methodology-panel img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    object-position: center;
}

.methodology-content {
    padding: 1.5rem 1.6rem 2rem;
}

.methodology-content h3 {
    font-family: var(--font-display);
    font-size: 1.7rem;
    margin: 0.35rem 0 0.6rem;
}

.methodology-content p {
    color: #cbd5e1;
    margin: 0;
}

.category-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.7rem;
    margin-bottom: 1.4rem;
}

.tab-btn {
    padding: 0.85rem 1.2rem;
    border: 1px solid var(--border);
    background: #fff;
    border-radius: 999px;
    font-weight: 700;
    cursor: pointer;
    transition: all 180ms ease;
}

.tab-btn.active {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 8px 18px rgba(220, 38, 38, 0.2);
}

.schedule-highlight {
    max-width: 980px;
    margin: 0 auto 2rem;
    background: linear-gradient(86deg, #fef2f2, #fff);
    border: 1px solid #fecaca;
    border-radius: 1.5rem;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.schedule-highlight h3 {
    margin: 0.2rem 0 0.4rem;
}

.schedule-highlight p {
    margin: 0;
    color: var(--muted);
}

.schedule-badge {
    display: inline-block;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--border);
    font-weight: 700;
    color: var(--accent);
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.schedule-card {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.day-label {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent);
    font-weight: 700;
}

.time {
    font-family: var(--font-display);
    font-size: 1.28rem;
    font-weight: 700;
}

.schedule-card p {
    color: var(--muted);
    margin: 0;
}

.schedule-card button,
.info-card button {
    border: 0;
    padding: 0.8rem 1rem;
    border-radius: 999px;
    background: #020617;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: background 180ms ease;
}

.schedule-card button:hover,
.info-card button:hover {
    background: var(--accent);
}

.cards-grid {
    display: grid;
    gap: 1.3rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card {
    overflow: hidden;
}

.info-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    object-position: center;
}

.card-content {
    padding: 1.2rem 1.25rem 1.4rem;
}

.card-content h3 {
    margin: 0 0 0.7rem;
    font-family: var(--font-display);
    font-size: 1.25rem;
}

.card-content p {
    color: var(--muted);
    margin: 0 0 0.9rem;
}

.card-content ul {
    padding: 0;
    margin: 0 0 1rem;
    list-style: none;
    color: #334155;
    display: grid;
    gap: 0.4rem;
}

.competitions-section {
    background: linear-gradient(135deg, #020617, #111827);
    color: #fff;
}

.competitions-section .section-header h2,
.competitions-section .section-header p,
.competitions-section .section-label {
    color: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-pill {
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-weight: 700;
}

.competitions-list {
    display: grid;
    gap: 1.2rem;
}

.competition-item {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 1rem;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.8);
    color: #f8fafc;
    border: 1px solid #1e293b;
}

.competition-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: center;
}

.competition-item>div {
    padding: 1.3rem 1.3rem 1.3rem 0;
}

.competition-item h3 {
    margin: 0.2rem 0 0.5rem;
    font-family: var(--font-display);
    font-size: 1.25rem;
}

.competition-item p {
    margin: 0;
    color: #cbd5e1;
}

.competition-year {
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.competition-item.reverse {
    grid-template-columns: 1.1fr 0.9fr;
}

.competition-item.reverse>div {
    padding: 1.3rem 0 1.3rem 1.3rem;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.partner-card {
    padding: 1.2rem;
}

.partner-card h3 {
    margin: 0 0 0.55rem;
    font-family: var(--font-display);
    font-size: 1.05rem;
}

.partner-card p {
    margin: 0;
    color: var(--muted);
}

.partner-cta {
    margin-top: 2rem;
    padding: 2rem;
    border-radius: 2rem;
    background: linear-gradient(135deg, #020617, #111827);
    color: #fff;
    box-shadow: var(--shadow);
}

.partner-cta h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    margin: 0.3rem 0 0.6rem;
}

.partner-cta p {
    color: #cbd5e1;
    max-width: 720px;
}

.partner-cta a {
    display: inline-block;
    margin-top: 0.8rem;
    padding: 0.9rem 1.2rem;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
}

.site-footer {
    padding: 3rem 0;
    background: #020617;
    color: #f8fafc;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 2rem;
}

.site-footer h3 {
    font-family: var(--font-display);
    margin-top: 0;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.45rem;
    color: #cbd5e1;
}

.site-footer a {
    color: #cbd5e1;
}

.site-footer a:hover {
    color: #fff;
}

.sales-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2rem;
    align-items: center;
}

.sales-copy h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.8vw, 3rem);
    line-height: 1.04;
    margin: 0.8rem 0 0.9rem;
}

.sales-copy p {
    color: var(--muted);
    font-size: 1.02rem;
}

.sales-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 1.4rem;
    display: grid;
    gap: 0.55rem;
    color: #334155;
    font-weight: 600;
}

.sales-card {
    padding: 1.7rem;
    background: linear-gradient(160deg, #fff, #fef2f2);
    border: 1px solid #fecaca;
    border-radius: 1.6rem;
    box-shadow: var(--shadow);
}

.sales-card h2 {
    font-family: var(--font-display);
    margin-top: 0;
}

.sales-metric {
    margin-top: 0.95rem;
    padding: 0.9rem 1rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border);
    border-radius: 0.95rem;
    font-weight: 700;
    color: #0f172a;
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(2, 6, 23, 0.75);
    z-index: 80;
}

.modal-backdrop.active {
    display: flex;
}

.modal {
    width: min(560px, 100%);
    background: #fff;
    border-radius: 1.4rem;
    padding: 1.3rem;
    box-shadow: var(--shadow);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.modal-header h3 {
    margin: 0;
    font-family: var(--font-display);
}

.modal-header button {
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 1.2rem;
}

.modal form {
    display: grid;
    gap: 0.8rem;
}

.modal input,
.modal select,
.modal textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 0.9rem;
    padding: 0.8rem 0.95rem;
    background: #fff;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.8rem;
    margin-top: 0.2rem;
}

@media (max-width: 1000px) {

    .hero-grid,
    .methodology-grid,
    .sales-layout {
        grid-template-columns: 1fr;
    }

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

    .photo-card.reverse {
        grid-column: auto;
    }

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

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 760px) {
    .mobile-toggle {
        display: inline-flex;
    }

    .site-nav,
    .header-cta {
        display: none;
    }

    .site-nav.active {
        display: block;
        position: absolute;
        top: 80px;
        left: 1rem;
        right: 1rem;
        background: rgba(255, 255, 255, 0.97);
        border: 1px solid var(--border);
        border-radius: 1rem;
        padding: 1rem;
        box-shadow: var(--shadow);
    }

    .site-nav.active ul {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-section {
        padding-top: 3rem;
    }

    .hero-visual {
        max-width: 100%;
        margin-left: 0;
    }

    .hero-visual img,
    .hero-visual video {
        height: 460px;
    }

    .hero-visual video {
        max-height: 380px;
    }

    .cards-grid,
    .schedule-grid,
    .partners-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .competition-item,
    .competition-item.reverse {
        grid-template-columns: 1fr;
    }

    .competition-item>div,
    .competition-item.reverse>div {
        padding: 0 1.2rem 1.2rem;
    }

    .schedule-highlight {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }
}