/* ==========================================================================
   Sazi's Sport Hub — Design System
   Premium international sports-infrastructure look: deep charcoal/black,
   premium dark green, white/off-white, athletic green + lime accents.
   No stock gradients, no generic template look.
   ========================================================================== */

:root {
    /* Core palette */
    --ink:            #0c0f0d;
    --charcoal:       #141815;
    --charcoal-2:     #1b211d;
    --panel:          #202722;
    --line:           #2c342e;
    --off-white:      #f3f5f1;
    --white:          #ffffff;
    --muted:          #a6b0a8;

    --green-900:      #0d2b1c;
    --green-700:      #14432a;
    --green-600:      #1c5c38;
    --green-500:      #237a45;
    --lime:           #c9f24b;
    --lime-dim:       #9fc23a;

    --accent: var(--lime);

    /* Type */
    --font-display: 'Sora', 'Segoe UI', system-ui, sans-serif;
    --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;

    /* Radii / shadow */
    --r-sm: 6px;
    --r-md: 12px;
    --r-lg: 20px;
    --shadow-1: 0 8px 30px rgba(0,0,0,.25);
    --shadow-2: 0 20px 60px rgba(0,0,0,.35);

    /* Layout */
    --container: 1280px;
    --header-h: 84px;

    color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

html, body { overflow-x: hidden; width: 100%; }

body {
    margin: 0;
    background: var(--ink);
    color: var(--off-white);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0 0 .5em; line-height: 1.15; font-weight: 700; }
p { margin: 0 0 1em; }
button { font: inherit; background: none; border: 0; color: inherit; cursor: pointer; }

.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 10000;
    background: var(--lime); color: var(--ink); padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section--alt { background: var(--charcoal); }

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-display); font-weight: 700; font-size: .78rem;
    letter-spacing: .14em; text-transform: uppercase; color: var(--lime);
    margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--lime); display: block; }

.section-head { max-width: 700px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-family: var(--font-display); font-weight: 700; font-size: .85rem;
    letter-spacing: .04em; text-transform: uppercase;
    padding: 15px 28px; border-radius: 999px; border: 1px solid transparent;
    transition: transform .25s ease, background .25s ease, border-color .25s ease, color .25s ease;
    white-space: nowrap;
}
.btn--primary { background: var(--lime); color: var(--ink); }
.btn--primary:hover { transform: translateY(-2px); background: var(--lime-dim); }
.btn--outline { border-color: var(--line); color: var(--off-white); }
.btn--outline:hover { border-color: var(--lime); color: var(--lime); }
.btn--ghost { border-color: rgba(255,255,255,.25); color: var(--off-white); }
.btn--ghost:hover { border-color: var(--lime); color: var(--lime); }
.btn--sm { padding: 10px 20px; font-size: .75rem; }
.btn--lg { padding: 18px 34px; font-size: .9rem; }
.btn--block { display: flex; width: 100%; margin-top: 24px; }

/* ---------------- Header ---------------- */
.site-header {
    position: sticky; top: 0; z-index: 500;
    background: rgba(12,15,13,.82);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.site-header__bar {
    max-width: var(--container); margin: 0 auto; padding: 0 24px;
    height: var(--header-h);
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand__mark { color: var(--lime); display: flex; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--white); }
.brand__tagline { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.main-nav__list { display: flex; align-items: center; gap: 6px; }
.main-nav__list > li { position: relative; }
.main-nav__list > li > a,
.main-nav__trigger {
    display: flex; align-items: center; gap: 6px;
    padding: 12px 14px; font-weight: 600; font-size: .93rem; color: var(--off-white);
    border-radius: var(--r-sm); transition: color .2s ease, background .2s ease;
}
.main-nav__list > li > a:hover,
.main-nav__trigger:hover,
.main-nav__list > li > a.is-active { color: var(--lime); background: rgba(255,255,255,.04); }
.chev { transition: transform .2s ease; }
.has-mega:hover .chev, .has-mega:focus-within .chev { transform: rotate(180deg); }

.mega {
    position: absolute; top: 100%; left: 50%; transform: translate(-50%, 8px);
    width: min(640px, 90vw);
    background: var(--charcoal-2); border: 1px solid var(--line); border-radius: var(--r-md);
    box-shadow: var(--shadow-2);
    padding: 22px; margin-top: 10px;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
    z-index: 50;
}
.has-mega:hover .mega, .has-mega:focus-within .mega, .mega.is-open {
    opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0);
}
.mega__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 18px; }
.mega__grid--sports { grid-template-columns: repeat(2, 1fr); }
.mega__item {
    padding: 10px 12px; border-radius: var(--r-sm); font-size: .9rem; color: var(--off-white);
    border-left: 2px solid transparent;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.mega__item:hover { background: rgba(255,255,255,.05); border-left-color: var(--accent, var(--lime)); color: var(--white); }
.mega__viewall {
    display: inline-block; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line);
    font-weight: 700; font-size: .82rem; color: var(--lime); width: 100%;
}

.site-header__actions { display: flex; align-items: center; gap: 16px; }
.header-phone { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; color: var(--muted); }
.header-phone:hover { color: var(--lime); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 26px; }
.nav-toggle span { display: block; height: 2px; background: var(--off-white); border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }

/* Mobile off-canvas */
.mobile-menu {
    position: fixed; inset: 0; z-index: 900; visibility: hidden; pointer-events: none;
}
.mobile-menu.is-open { visibility: visible; pointer-events: auto; }
.mobile-menu::before {
    content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.6);
    opacity: 0; transition: opacity .3s ease;
}
.mobile-menu.is-open::before { opacity: 1; }
.mobile-menu__panel {
    position: absolute; top: 0; right: 0; height: 100%; width: min(360px, 88vw);
    background: var(--charcoal); border-left: 1px solid var(--line);
    padding: 24px; overflow-y: auto;
    transform: translateX(100%); transition: transform .3s ease;
    display: flex; flex-direction: column;
}
.mobile-menu.is-open .mobile-menu__panel { transform: translateX(0); }
.mobile-menu__close { align-self: flex-end; font-size: 2rem; line-height: 1; color: var(--muted); margin-bottom: 12px; }
.mobile-menu__list > li > a { display: block; padding: 14px 4px; font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-accordion__trigger {
    width: 100%; display: flex; justify-content: space-between; align-items: center;
    padding: 14px 4px; font-weight: 600; border-bottom: 1px solid var(--line);
}
.mobile-accordion__trigger::after { content: '+'; font-size: 1.2rem; color: var(--lime); }
.mobile-accordion__trigger[aria-expanded="true"]::after { content: '−'; }
.mobile-accordion__panel { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.mobile-accordion__panel > li > a { display: block; padding: 10px 12px; color: var(--muted); font-size: .92rem; }
.mobile-accordion__all { color: var(--lime) !important; font-weight: 700; }

/* ---------------- Loader ---------------- */
.page-loader {
    position: fixed; inset: 0; z-index: 9999; background: var(--ink);
    display: flex; align-items: center; justify-content: center;
    transition: opacity .5s ease, visibility .5s ease;
}
.page-loader.is-hidden { opacity: 0; visibility: hidden; }
.page-loader__mark { color: var(--lime); animation: loaderPulse 1.1s ease-in-out infinite; }
@keyframes loaderPulse { 0%,100% { opacity: .4; transform: scale(.92); } 50% { opacity: 1; transform: scale(1); } }

/* ---------------- Hero ---------------- */
.hero {
    position: relative; overflow: hidden;
    min-height: 88vh; display: flex; align-items: center;
    background: radial-gradient(ellipse at 20% 20%, var(--green-900) 0%, var(--ink) 55%);
    padding-top: 40px;
}
.hero__bg-icons { position: absolute; inset: 0; overflow: hidden; pointer-events: none; opacity: .5; }
.hero__bg-icons svg { position: absolute; stroke: var(--green-600); }
.hero__content { position: relative; z-index: 2; max-width: 760px; }
.hero__content h1 {
    font-size: clamp(2.6rem, 6vw, 4.6rem);
    letter-spacing: -.01em;
    color: var(--white);
}
.hero__content h1 span { color: var(--lime); }
.hero__sub { font-size: clamp(1rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 560px; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero__scroll { position: absolute; bottom: 32px; left: 24px; display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .8rem; z-index: 2; }
.hero__scroll-line { width: 1px; height: 34px; background: var(--muted); position: relative; overflow: hidden; }
.hero__scroll-line::after { content:''; position: absolute; top: -100%; left: 0; width: 100%; height: 100%; background: var(--lime); animation: scrollLine 2s ease-in-out infinite; }
@keyframes scrollLine { 0% { top: -100%; } 100% { top: 100%; } }

/* ---------------- Stats ---------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 28px 16px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--charcoal-2); }
.stat__num { font-family: var(--font-display); font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 800; color: var(--lime); }
.stat__label { color: var(--muted); font-size: .88rem; margin-top: 6px; }
.stat__note { font-size: .68rem; color: #6d786f; margin-top: 4px; font-style: italic; }

/* ---------------- About / Why ---------------- */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-split__media { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-1); aspect-ratio: 4/5; background: var(--panel); }
.about-split__media img { width: 100%; height: 100%; object-fit: cover; }
.why-list { display: grid; gap: 18px; margin-top: 28px; }
.why-item { display: flex; gap: 16px; align-items: flex-start; }
.why-item__icon { flex: none; width: 44px; height: 44px; border-radius: var(--r-sm); background: var(--green-700); display: flex; align-items: center; justify-content: center; color: var(--lime); }
.why-item h4 { margin-bottom: 4px; font-size: 1.02rem; }
.why-item p { color: var(--muted); margin: 0; font-size: .92rem; }

/* ---------------- Cards (used sparingly, per brief) ---------------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.product-card {
    position: relative; border-radius: var(--r-md); overflow: hidden; background: var(--panel);
    border: 1px solid var(--line); transition: transform .3s ease, border-color .3s ease;
}
.product-card:hover { transform: translateY(-6px); border-color: var(--green-500); }
.product-card__media { aspect-ratio: 4/3; background: var(--charcoal-2); overflow: hidden; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-card__media img { transform: scale(1.06); }
.product-card__body { padding: 20px; }
.product-card__body h3 { font-size: 1.05rem; margin-bottom: 6px; }
.product-card__link { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 700; color: var(--lime); margin-top: 10px; }

.sport-card {
    position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3/4;
    background: var(--panel); border: 1px solid var(--line);
    --accent: var(--lime);
}
.sport-card__media { position: absolute; inset: 0; }
.sport-card__media img { width: 100%; height: 100%; object-fit: cover; opacity: .55; transition: transform .5s ease, opacity .3s ease; }
.sport-card:hover .sport-card__media img { transform: scale(1.08); opacity: .7; }
.sport-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.85), transparent 60%); }
.sport-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px; z-index: 2; }
.sport-card__tag { display: inline-block; width: 34px; height: 3px; background: var(--accent); margin-bottom: 10px; border-radius: 2px; }
.sport-card__body h3 { font-size: 1.1rem; margin-bottom: 0; color: var(--white); }

/* ---------------- Process ---------------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.process-step { position: relative; padding: 28px 22px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--charcoal-2); }
.process-step__num { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; color: var(--green-600); -webkit-text-stroke: 1px var(--lime); }
.process-step h4 { margin: 14px 0 6px; font-size: 1rem; }
.process-step p { color: var(--muted); font-size: .88rem; margin: 0; }

/* ---------------- Testimonials ---------------- */
.testi-slider { position: relative; max-width: 780px; margin: 0 auto; }
.testi-track { overflow: hidden; }
.testi-slides { display: flex; transition: transform .5s ease; }
.testi-slide { flex: 0 0 100%; text-align: center; padding: 8px 24px; }
.testi-slide blockquote { font-size: clamp(1.1rem, 2vw, 1.5rem); font-family: var(--font-display); font-weight: 600; margin: 0 0 20px; color: var(--white); }
.testi-slide cite { color: var(--lime); font-style: normal; font-weight: 700; font-size: .9rem; }
.testi-slide__role { display: block; color: var(--muted); font-size: .82rem; margin-top: 2px; }
.testi-dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.testi-dots button { width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: background .2s, width .2s; }
.testi-dots button.is-active { background: var(--lime); width: 22px; border-radius: 4px; }
.testi-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--off-white); }
.testi-arrow:hover { border-color: var(--lime); color: var(--lime); }
.testi-arrow--prev { left: -56px; }
.testi-arrow--next { right: -56px; }
@media (max-width: 900px) { .testi-arrow { display: none; } }

/* ---------------- Partners ---------------- */
.partners { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 48px; }
.partners img { filter: grayscale(1) brightness(1.6) opacity(.6); transition: filter .3s ease; max-height: 46px; }
.partners a:hover img { filter: none; }

/* ---------------- CTA block ---------------- */
.cta-block {
    border-radius: var(--r-lg);
    background: linear-gradient(135deg, var(--green-900), var(--charcoal-2));
    border: 1px solid var(--line);
    padding: 64px 40px; text-align: center;
}
.cta-block__heading { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--white); }
.cta-block__text { color: var(--muted); max-width: 560px; margin: 0 auto 28px; }
.cta-block__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------------- Floating mobile CTA ---------------- */
.floating-cta {
    position: fixed; bottom: 18px; right: 18px; z-index: 400;
    display: none; align-items: center; gap: 8px;
    background: var(--lime); color: var(--ink); font-weight: 700; font-size: .82rem;
    padding: 14px 18px; border-radius: 999px; box-shadow: var(--shadow-1);
}
@media (max-width: 760px) { .floating-cta { display: inline-flex; } }

/* ---------------- Breadcrumbs ---------------- */
.breadcrumbs { padding: 18px 0 0; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: .82rem; color: var(--muted); }
.breadcrumbs li:not(:last-child)::after { content: '/'; margin-left: 6px; opacity: .5; }
.breadcrumbs a:hover { color: var(--lime); }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--charcoal); border-top: 1px solid var(--line); margin-top: 40px; }
.site-footer__top { max-width: var(--container); margin: 0 auto; padding: 72px 24px 48px; display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.footer-col__desc { color: var(--muted); font-size: .88rem; margin-top: 14px; }
.footer-col__title { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--white); margin-bottom: 16px; }
.footer-col__list li { margin-bottom: 10px; }
.footer-col__list a { color: var(--muted); font-size: .9rem; }
.footer-col__list a:hover { color: var(--lime); }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .68rem; font-weight: 700; }
.footer-social a:hover { border-color: var(--lime); color: var(--lime); }
.footer-cta { margin-top: 8px; }
.site-footer__bottom {
    border-top: 1px solid var(--line); padding: 20px 24px; max-width: var(--container); margin: 0 auto;
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
    font-size: .8rem; color: var(--muted);
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a:hover { color: var(--lime); }

/* ---------------- Reveal animation ---------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------------- Responsive ---------------- */
@media (max-width: 1279px) {
    .site-footer__top { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 1023px) {
    .main-nav, .header-phone { display: none; }
    .nav-toggle { display: flex; }
    .grid-3, .process, .stats { grid-template-columns: repeat(2, 1fr); }
    .about-split { grid-template-columns: 1fr; gap: 36px; }
    .site-footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
    .section { padding: 64px 0; }
    .grid-3, .grid-4, .process, .stats { grid-template-columns: 1fr 1fr; }
    .site-footer__top { grid-template-columns: 1fr; padding: 56px 20px 36px; }
    .hero { min-height: auto; padding: 140px 0 100px; }
}
@media (max-width: 479px) {
    .grid-3, .grid-4, .process, .stats { grid-template-columns: 1fr; }
    .hero__actions { flex-direction: column; align-items: stretch; }
}
