html {
    scroll-behavior: smooth
}

:root {
    --bg: #f9fafb;
    --bg-2: #ffffff;
    --card: #ffffff;
    --muted: #4b5563;
    --text: #111827;
    --brand: #07AC00;
    --border: #e5e7eb;
    --shadow: 0 8px 24px rgba(0, 0, 0, .08);
    --radius: 16px;
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    background: linear-gradient(180deg, var(--bg), var(--bg-2));
    color: var(--text);
    font-family: Inter, system-ui, sans-serif
}

a {
    color: var(--text);
    text-decoration: none
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px
}

/* NAV */
header.nav {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    min-height: 56px
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%
}

.brand img {
    height: 40px;
    width: auto;
    display: block
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 12px;
    font-weight: 700;
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 15px
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand), #07AC00);
    color: #fff;
    box-shadow: var(--shadow)
}

.btn-ghost {
    background: #fff;
    color: #111827;
    border: 1px solid #111827
}

.btn-lg {
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: 800
}

/* HERO */
.hero {
    padding: 56px 0 24px;
    border-bottom: 1px solid var(--border);
    background: radial-gradient(900px 320px at 85% -10%, rgba(124, 58, 237, .05), transparent 60%), radial-gradient(800px 320px at -10% 20%, rgba(37, 99, 235, .05), transparent 60%)
}

.hero-grid {
    display: grid;
    grid-template-columns: .7fr 1.3fr;
    gap: 40px;
    align-items: start
}

.title {
    font-size: clamp(36px, 6vw, 64px);
    line-height: 1.05;
    margin: 0 0 10px;
    background: linear-gradient(135deg, var(--brand), #07AC00);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800
}

.lead {
    color: var(--muted);
    font-size: clamp(16px, 2.2vw, 18px);
    max-width: 70ch;
    text-align: justify
}

/* Event Card */
.event-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: 0 20px 48px rgba(0, 0, 0, .12);
    padding: 28px;
    position: sticky;
    top: 88px
}

.event-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px
}

.event-title {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: .2px;
    color: #111827
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--muted)
}

.event-meta .chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f3f4f6;
    border: 1px solid var(--border);
    color: #374151;
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 12px
}

.event-desc {
    color: #374151;
    font-size: 15px;
    line-height: 1.65;
    margin: 8px 0 6px
}

.event-points {
    margin: 8px 0 0 18px;
    color: #4b5563
}

.event-points li {
    margin: 6px 0
}

.event-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 12px
}

/* STATS */
.stats {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px
}

.stat {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px;
    text-align: center;
    box-shadow: var(--shadow)
}

.stat .n {
    font-size: 26px;
    font-weight: 900;
    color: #4b5563
}

.stat .t {
    font-size: 12px;
    color: var(--muted)
}

/* PARTNERS (two-row centered grid) */
.partners-wrap {
    margin-top: 28px
}

.partners-label {
    font-weight: 600;
    color: var(--muted);
    font-size: 15px;
    margin-bottom: 10px;
    text-align: center
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(140px, 1fr));
    gap: 20px 28px;
    align-items: center;
    justify-items: center;
    max-width: 900px;
    margin: 0 auto
}

.partners-grid img {
    height: 38px;
    filter: grayscale(0%) brightness(1);
    transition: filter .3s ease, transform .3s ease
}

.partners-grid img:hover {
    transform: scale(1.05)
}

/* DIFFERENTIATORS */
.features {
    padding: 56px 0;
    background: #ffffff
}

.features h2 {
    font-size: clamp(26px, 4.5vw, 40px);
    margin: 0 0 8px
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 18px;
    margin-top: 16px
}

.feature-card {
    grid-column: span 12;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 22px
}

.checklist {
    margin: 12px 0 0;
    padding-left: 0;
    list-style: none;
    display: grid;
    gap: 10px
}

.checklist li {
    position: relative;
    padding-left: 28px
}

.checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 18px;
    height: 18px;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--brand), #07AC00);
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 20 20%22 fill=%22white%22><path d=%22M16.707 5.293a1 1 0 010 1.414l-7.364 7.364a1 1 0 01-1.414 0L3.293 9.836a1 1 0 011.414-1.414l3.03 3.03 6.657-6.657a1 1 0 011.414 0z%22/></svg>') center/14px 14px no-repeat
}

/* TRAINERS */
section#trainers {
    padding: 56px 0 80px;
    background: #ffffff
}

.trainers-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap
}

.trainers-head h2 {
    font-size: clamp(26px, 4.5vw, 40px);
    margin: 0
}

.trainer-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 18px;
    margin-top: 20px
}

.trainer-card {
    grid-column: span 3;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px
}

.trainer-top {
    display: flex;
    align-items: center;
    gap: 12px
}

.trainer-photo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .15)
}

.trainer-name {
    font-weight: 800;
    color: var(--text)
}

.trainer-role {
    color: var(--muted);
    font-size: 13px
}

.trainer-bio {
    font-size: 14px;
    color: var(--text);
    line-height: 1.6;
    text-align: left
}

/* GALLERY */
.gallery {
    padding: 56px 0;
    background: #ffffff
}

.gallery h2 {
    font-size: clamp(26px, 4.5vw, 40px);
    margin: 0 0 8px
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 18px
}

.gallery-grid figure {
    margin: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column
}

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

.gallery-grid figcaption {
    padding: 10px 12px;
    font-size: 14px;
    color: var(--text);
    border-top: 1px solid var(--border);
    background: #fff
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, .6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000
}

.lightbox.open {
    display: flex
}

.lightbox-content {
    position: relative;
    max-width: 92vw;
    max-height: 86vh;
    background: #000;
    border-radius: 12px;
    overflow: hidden
}

.lightbox-content img {
    display: block;
    max-width: 92vw;
    max-height: 86vh;
    object-fit: contain;
    background: #000
}

.lb-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px 14px;
    font-size: 14px;
    color: #0f172a;
    background: rgba(255, 255, 255, .92);
    border-top: 1px solid var(--border)
}

.lb-close,
.lb-prev,
.lb-next {
    position: absolute;
    top: 10px;
    background: rgba(255, 255, 255, .95);
    border: 1px solid var(--border);
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    cursor: pointer
}

.lb-close {
    right: 10px
}

.lb-prev {
    left: 10px;
    top: 50%;
    transform: translateY(-50%)
}

.lb-next {
    right: 10px;
    top: 50%;
    transform: translateY(-50%)
}

/* FOOTER */
footer {
    border-top: 1px solid var(--border);
    color: var(--muted);
    padding: 24px 0 60px;
    background: #f9fafb
}

/* Responsive */
@media (max-width:980px) {
    .hero-grid {
        grid-template-columns: 1fr
    }

    .event-card {
        position: relative;
        top: auto
    }

    .trainer-card {
        grid-column: span 6
    }

    .stats {
        grid-template-columns: 1fr 1fr
    }

    .feature-card {
        grid-column: span 12
    }

    .partners-grid {
        grid-template-columns: repeat(3, minmax(120px, 1fr))
    }
}

@media (max-width:640px) {
    header.nav {
        min-height: 52px
    }

    .trainer-card {
        grid-column: span 12
    }

    .partners-grid {
        grid-template-columns: repeat(3, minmax(100px, 1fr))
    }
}