@font-face {
    font-family: 'Onest';
    src: url('../fonts/Onest-Regular.woff2') format('woff2');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Onest';
    src: url('../fonts/Onest-Medium.woff2') format('woff2');
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'Onest';
    src: url('../fonts/Onest-SemiBold.woff2') format('woff2');
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

:root {
    --brand: #3F72C9;
    --brand-deep: #2F5AA8;
    --lime: #b8f200;
    --pink: #ff60cd;
    --ink: #0e1809;
    --muted: #9aa0b1;
    --soft: #f5f2fd;
    --soft-2: #f1f1f1;
    --lavender: #d9dcfa;
    --line: #e8e4f2;
    --white: #fff;
    --radius-xl: 40px;
    --radius-lg: 28px;
    --radius-md: 18px;
    --font: 'Onest', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.5;
    color: var(--ink);
    background: var(--white);
    min-width: 320px;
}

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

img {
    display: block;
    max-width: 100%;
}

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

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

/* ---------- top bar ---------- */

.topbar {
    background: var(--soft-2);
    color: #5f6472;
    font-size: 13px;
}

.topbar-inner {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.topbar-contacts,
.topbar-socials {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.topbar a:hover {
    color: var(--brand);
}

/* ---------- header ---------- */

.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 50;
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 18px;
    letter-spacing: -.02em;
}

.brand-mark {
    width: 66px;
    height: 66px;
    border-radius: 20px;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.nav a {
    padding: 10px 13px;
    border-radius: 9px;
    color: #3e4148;
    font-size: 15px;
    font-weight: 500;
    transition: background .2s, color .2s;
}

.nav a:hover,
.nav a.is-active {
    background: var(--soft);
    color: var(--brand);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    cursor: pointer;
}

/* ---------- buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    padding: 11px 24px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    transition: background .2s, color .2s, border-color .2s, transform .2s;
}

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

.btn-primary {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.btn-primary:hover {
    background: var(--brand-deep);
}

.btn-purple {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.btn-purple:hover {
    background: var(--brand-deep);
}

.btn-lime {
    background: var(--lime);
    border-color: var(--lime);
    color: var(--ink);
}

.btn-lime:hover {
    background: #cbf937;
}

.btn-ghost {
    background: transparent;
    border-color: var(--line);
    color: var(--ink);
}

.btn-ghost:hover {
    background: var(--soft);
    border-color: var(--lavender);
}

.btn-light {
    background: #fff;
    border-color: #fff;
    color: var(--brand);
}

/* ---------- hero ---------- */

.hero {
    padding: 26px 0 0;
}

.hero-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background-color: var(--brand);
    background-size: cover;
    background-position: center;
    color: #fff;
    min-height: 650px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    align-items: center;
    padding: 66px 70px;
}

.hero-card > * {
    position: relative;
    z-index: 1;
}

.hero-copy {
    position: relative;
    z-index: 1;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--brand);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.hero .eyebrow {
    color: var(--lime);
}

.hero h1 {
    margin: 0 0 22px;
    font-size: clamp(48px, 5.7vw, 84px);
    line-height: 1.03;
    font-weight: 500;
    letter-spacing: -.045em;
}

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

.hero-lead {
    max-width: 620px;
    margin: 0 0 24px;
    color: rgba(255, 255, 255, .82);
    font-size: 19px;
    line-height: 1.5;
}

.hero-list {
    margin: 0 0 32px;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
    font-size: 17px;
    font-weight: 500;
}

.hero-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.hero-list li::before {
    content: "";
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    margin-top: 7px;
    border-radius: 50%;
    background: var(--lime);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-note {
    margin-top: 20px;
    color: rgba(255, 255, 255, .5);
    font-size: 12px;
    line-height: 1.5;
}

/* ---------- stats ---------- */

.stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    padding: 54px 0 30px;
}

.stat {
    padding: 10px 18px;
    border-left: 1px solid var(--line);
}

.stat:first-child {
    border-left: 0;
}

.stat strong {
    display: block;
    font-size: clamp(50px, 6vw, 84px);
    line-height: .95;
    font-weight: 500;
    letter-spacing: -.05em;
    color: var(--brand);
}

.stat span {
    display: block;
    margin-top: 12px;
    color: #686d79;
    font-size: 15px;
}

/* ---------- sections ---------- */

.section {
    padding: 78px 0;
}

.section-soft {
    background: var(--soft);
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 34px;
}

.section-head > div {
    max-width: 760px;
}

.section h2 {
    margin: 0;
    font-size: clamp(34px, 3.4vw, 52px);
    line-height: 1.1;
    font-weight: 500;
    letter-spacing: -.035em;
}

.section-head p {
    margin: 12px 0 0;
    color: #686d79;
    font-size: 16px;
    line-height: 1.55;
}

.section-link {
    color: var(--brand);
    font-weight: 600;
    font-size: 15px;
    white-space: nowrap;
}

.section-link:hover {
    text-decoration: underline;
}

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

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

/* ---------- cards ---------- */

.club-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform .25s, box-shadow .25s;
}

.club-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 50px rgba(82, 4, 132, .09);
}

.club-card-media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--soft);
}

.club-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}

.club-card:hover .club-card-media img {
    transform: scale(1.04);
}

.club-card-body {
    padding: 22px 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.club-card h3,
.coach-card h3,
.news-card h3 {
    margin: 0;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 600;
    letter-spacing: -.025em;
}

.club-card p,
.coach-card p,
.news-card p {
    margin: 0;
    color: #686d79;
    font-size: 14px;
    line-height: 1.5;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
}

.card-link {
    margin-top: auto;
    padding-top: 8px;
    color: var(--brand);
    font-size: 14px;
    font-weight: 600;
}

.feature-card {
    padding: 28px;
    border-radius: var(--radius-lg);
    background: #fff;
    border: 1px solid var(--line);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 14px;
    background: var(--soft);
    color: var(--brand);
    font-size: 20px;
}

.feature-card h3 {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -.02em;
}

.feature-card p {
    margin: 0;
    color: #686d79;
    font-size: 14px;
    line-height: 1.55;
}

.coach-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform .25s, box-shadow .25s;
}

.coach-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 50px rgba(82, 4, 132, .09);
}

.coach-card-media {
    aspect-ratio: 4 / 5;
    background: var(--soft);
    overflow: hidden;
}

.coach-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}

.coach-card:hover .coach-card-media img {
    transform: scale(1.035);
}

.coach-card-body {
    padding: 20px 20px 22px;
}

.coach-card .role {
    margin: 5px 0 0;
    color: var(--brand);
    font-size: 13px;
    font-weight: 600;
}

.news-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform .25s, box-shadow .25s;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 50px rgba(82, 4, 132, .09);
}

.news-card-media {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--soft);
}

.news-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}

.news-card:hover .news-card-media img {
    transform: scale(1.035);
}

.news-card-body {
    padding: 20px 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 9px;
    flex: 1;
}

.news-card h3 {
    font-size: 19px;
}

.news-date {
    color: var(--muted);
    font-size: 12px;
}

/* ---------- CTA ---------- */

.cta {
    padding: 30px 0 80px;
}

.cta-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    padding: 58px 64px;
    background: var(--brand);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cta-card::after {
    content: "♞";
    position: absolute;
    right: 70px;
    top: -60px;
    color: rgba(184, 242, 0, .11);
    font-size: 310px;
    line-height: 1;
    pointer-events: none;
}

.cta-card h2 {
    margin: 0;
    font-size: clamp(34px, 4vw, 56px);
    line-height: 1.08;
    font-weight: 500;
    letter-spacing: -.035em;
    position: relative;
    z-index: 1;
}

.cta-card p {
    max-width: 540px;
    margin: 12px 0 0;
    color: rgba(255, 255, 255, .72);
    position: relative;
    z-index: 1;
}

.cta-actions {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

/* ---------- footer ---------- */

.site-footer {
    background: var(--ink);
    color: rgba(255, 255, 255, .78);
    padding: 56px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
}

.footer-brand {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}

.footer-brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: #fff;
    margin-right: 0;
}

.footer-brand span {
    flex-basis: 100%;
    margin-top: 12px;
    color: rgba(255, 255, 255, .55);
    font-size: 13px;
    font-weight: 400;
}

.footer-title {
    margin-bottom: 14px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.footer-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 9px;
    font-size: 14px;
}

.footer-list a:hover {
    color: var(--lime);
}

.footer-bottom {
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: rgba(255, 255, 255, .4);
    font-size: 12px;
}

/* ---------- inner pages ---------- */

.page-hero {
    margin: 26px 0 0;
    border-radius: var(--radius-xl);
    background: var(--soft);
    padding: 38px 48px;
}

.page-hero h1 {
    margin: 0;
    max-width: 900px;
    font-size: clamp(38px, 4.4vw, 64px);
    line-height: 1.08;
    font-weight: 500;
    letter-spacing: -.04em;
}

.page-hero p {
    max-width: 700px;
    margin: 14px 0 0;
    color: #686d79;
    font-size: 17px;
    line-height: 1.55;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--muted);
    font-size: 13px;
}

.breadcrumbs a:hover {
    color: var(--brand);
}

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 28px;
    align-items: start;
}

.detail-media {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--soft);
    aspect-ratio: 4 / 3;
}

.detail-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 28px;
    background: #fff;
}

.detail-card h2 {
    margin: 0 0 8px;
    font-size: 32px;
    font-weight: 500;
    letter-spacing: -.03em;
}

.detail-card .role {
    color: var(--brand);
    font-size: 14px;
    font-weight: 600;
}

.detail-card p {
    color: #686d79;
    line-height: 1.6;
}

.info-list {
    display: grid;
    gap: 12px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.info-list li {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
}

.info-list span:first-child {
    color: var(--muted);
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.schedule-table th,
.schedule-table td {
    text-align: left;
    padding: 13px 12px;
    border-bottom: 1px solid var(--line);
}

.schedule-table th {
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.article-body {
    max-width: 860px;
    margin: 0 auto;
    padding: 40px 0 80px;
    color: #3e4148;
    font-size: 17px;
    line-height: 1.7;
    overflow-wrap: break-word;
}

.article-body table,
.article-body pre {
    max-width: 100%;
    overflow-x: auto;
    display: block;
}

.article-body h2 {
    font-size: 32px;
    margin: 34px 0 12px;
}

.article-body p {
    margin: 0 0 18px;
}

.article-cover {
    margin-top: 24px;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.article-cover {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.article-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------- forms ---------- */

.form-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
    gap: 28px;
    align-items: start;
}

.form-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 32px;
    background: #fff;
}

.form-section + .form-section {
    margin-top: 26px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.form-section h3 {
    margin: 0 0 16px;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -.02em;
}

.form-field {
    display: grid;
    gap: 7px;
    margin-bottom: 15px;
}

.form-field:last-child {
    margin-bottom: 0;
}

.form-field label {
    font-size: 14px;
    font-weight: 500;
}

.form-field .req {
    color: #b42318;
    font-size: 1.5em;
    line-height: 1;
    vertical-align: -.08em;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    border: 1px solid #dcd8e8;
    border-radius: 10px;
    background: #fff;
    color: var(--ink);
    padding: 12px 14px;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(102, 113, 235, .12);
}

.form-field textarea {
    min-height: 120px;
    resize: vertical;
}

.form-hint {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.4;
}

.consent-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 20px;
    color: #5f6472;
    font-size: 13px;
    line-height: 1.5;
}

.consent-row input {
    width: auto;
    margin-top: 3px;
}

.form-note {
    padding: 14px 16px;
    border-left: 3px solid var(--lime);
    border-radius: 0 8px 8px 0;
    background: rgba(184, 242, 0, .1);
    color: #3e4148;
    font-size: 13px;
    line-height: 1.5;
}

.contact-list {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
}

.contact-list strong {
    display: block;
    margin-bottom: 3px;
    color: var(--ink);
}

.detail-card .footer-title {
    color: var(--ink);
}

.contact-list a {
    color: var(--brand);
}

.social-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.social-list a {
    display: inline-flex;
    padding: 8px 11px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: #3e4148;
    font-size: 12px;
}

.social-list a:hover {
    border-color: var(--lavender);
    background: var(--soft);
}

/* ---------- responsive ---------- */

@media (max-width: 1180px) {
    .hero-card {
        padding: 52px 46px;
        min-height: 590px;
    }

    .nav a {
        padding: 9px 10px;
        font-size: 14px;
    }

    .container {
        padding: 0 22px;
    }
}

@media (max-width: 940px) {
    .topbar-socials {
        display: none;
    }

    .header-inner {
        min-height: 72px;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 18px;
        right: 18px;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 12px;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 16px;
        box-shadow: 0 18px 40px rgba(14, 24, 9, .1);
    }

    .nav.is-open {
        display: flex;
    }

    .nav a {
        padding: 12px 14px;
    }

    .header-actions .btn {
        display: none;
    }

    .hero-card {
        padding: 44px 32px 32px;
    }

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

    .detail-grid,
    .form-layout {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 640px) {
    body {
        font-size: 15px;
    }

    .container {
        padding: 0 16px;
    }

    .topbar-inner {
        min-height: 34px;
        font-size: 12px;
    }

    .hero {
        padding-top: 16px;
    }

    .hero-card {
        border-radius: 28px;
        padding: 32px 22px 24px;
        min-height: 0;
    }

    .hero h1 {
        font-size: 41px;
    }

    .hero-lead {
        font-size: 16px;
    }

    .hero-list {
        font-size: 15px;
    }


    .stats {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 38px 0 18px;
    }

    .stat {
        border-left: 0;
        border-top: 1px solid var(--line);
        padding: 18px 0;
    }

    .stat:first-child {
        border-top: 0;
    }

    .stat strong {
        font-size: 54px;
    }

    .section {
        padding: 52px 0;
    }

    .section-head {
        display: block;
    }

    .section-link {
        display: inline-block;
        margin-top: 14px;
    }

    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .cta {
        padding-bottom: 52px;
    }

    .cta-card {
        display: block;
        padding: 36px 24px;
        border-radius: 28px;
    }

    .cta-actions {
        margin-top: 22px;
    }

    .page-hero {
        border-radius: 28px;
        padding: 32px 22px;
    }

    .form-card {
        padding: 22px 18px;
    }

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

    .footer-bottom {
        display: block;
    }

    .footer-bottom span {
        display: block;
        margin-top: 6px;
    }
}

/* ---------- app additions ---------- */

.muted {
    color: var(--muted);
    font-size: 14px;
}

.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 26px;
}

.filter-tabs a {
    display: inline-flex;
    align-items: center;
    padding: 9px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: #3e4148;
    font-size: 14px;
    font-weight: 500;
}

.filter-tabs a:hover {
    background: var(--soft);
    border-color: var(--lavender);
}

.filter-tabs a.is-active {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 34px;
    color: var(--muted);
    font-size: 14px;
}

.article-body ul {
    margin: 0 0 18px 20px;
    padding: 0;
}

.article-body li {
    margin-bottom: 6px;
}

/* Schedule table scroll on narrow screens */
.table-wrap {
    overflow-x: auto;
}

/* Brand slogan in hero — subtle, monochrome white */
.hero-slogan {
    margin-top: 26px;
    opacity: .85;
}

.hero-slogan img {
    width: 200px;
    height: auto;
    filter: brightness(0) invert(1);
}

/* FA5 compatibility: templates use FA6-style class names */
.fa-solid {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-style: normal;
}

.fa-regular {
    font-family: "Font Awesome 5 Free";
    font-weight: 400;
    font-style: normal;
}

.fa-brands {
    font-family: "Font Awesome 5 Brands";
    font-weight: 400;
    font-style: normal;
}

/* Hero text schemes (chosen in admin settings) */
.hero-btn-alt {
    border-color: rgba(255, 255, 255, .35);
    color: #fff;
}

/* Светлый фото-фон: тёмный текст */
.hero-scheme-dark {
    color: #1e2430;
}

.hero-scheme-dark .hero .eyebrow,
.hero-scheme-dark .eyebrow {
    color: #4a5568;
    background: rgba(0, 0, 0, .05);
    padding: 6px 12px;
    border-radius: 999px;
}

.hero-scheme-dark h1 .accent {
    color: var(--brand);
}

.hero-scheme-dark .hero-lead {
    color: #3e4148;
}

.hero-scheme-dark .hero-list li::before {
    background: var(--brand);
}

.hero-scheme-dark .hero-note {
    color: rgba(30, 36, 48, .55);
}

.hero-scheme-dark .hero-btn-alt {
    border-color: rgba(30, 36, 48, .3);
    color: #1e2430;
}

.hero-scheme-dark .hero-slogan img {
    filter: none;
}

/* Светлый фото-фон: мох */
.hero-scheme-moss {
    color: #3d4a34;
}

.hero-scheme-moss .eyebrow {
    color: #5c7346;
    background: rgba(92, 115, 70, .12);
    padding: 6px 12px;
    border-radius: 999px;
}

.hero-scheme-moss h1 .accent {
    color: #5c7346;
}

.hero-scheme-moss .hero-lead {
    color: #4c5a40;
}

.hero-scheme-moss .hero-list li::before {
    background: #5c7346;
}

.hero-scheme-moss .hero-note {
    color: rgba(61, 74, 52, .6);
}

.hero-scheme-moss .hero-btn-alt {
    border-color: rgba(61, 74, 52, .4);
    color: #3d4a34;
}

.hero-scheme-moss .hero-slogan img {
    filter: none;
}

/* Hero readability (chosen in admin settings) */
/* Градиент слева */
.hero-read-gradient::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 16, 32, .82) 0%, rgba(10, 16, 32, .5) 48%, rgba(10, 16, 32, 0) 78%);
    pointer-events: none;
}

.hero-read-gradient.hero-scheme-dark::before,
.hero-read-gradient.hero-scheme-moss::before {
    background: linear-gradient(90deg, rgba(255, 255, 255, .88) 0%, rgba(255, 255, 255, .55) 48%, rgba(255, 255, 255, 0) 78%);
}

/* Обводка букв (независимый эффект, тонкая, контрастная) */
.hero-stroke h1 {
    -webkit-text-stroke: 1.5px rgba(10, 16, 32, .6);
    paint-order: stroke fill;
}

.hero-stroke.hero-scheme-dark h1,
.hero-stroke.hero-scheme-moss h1 {
    -webkit-text-stroke-color: rgba(255, 255, 255, .9);
}

.hero-stroke .hero-lead,
.hero-stroke .hero-list,
.hero-stroke .hero-note {
    -webkit-text-stroke: .6px rgba(10, 16, 32, .5);
    paint-order: stroke fill;
}

.hero-stroke.hero-scheme-dark .hero-lead,
.hero-stroke.hero-scheme-dark .hero-list,
.hero-stroke.hero-scheme-dark .hero-note,
.hero-stroke.hero-scheme-moss .hero-lead,
.hero-stroke.hero-scheme-moss .hero-list,
.hero-stroke.hero-scheme-moss .hero-note {
    -webkit-text-stroke-color: rgba(255, 255, 255, .85);
}

/* Кнопка «Выбрать клуб» — подложка, чтобы не терялась на фото */
.hero-btn-alt {
    background: rgba(255, 255, 255, .18);
}

.hero-scheme-dark .hero-btn-alt,
.hero-scheme-moss .hero-btn-alt {
    background: rgba(30, 36, 48, .1);
}

/* Brand wordmark images */
.brand-word {
    height: 58px;
    width: auto;
}

.footer-brand-word {
    height: 39px;
    width: auto;
    filter: brightness(0) invert(1);
}

/* Кнопка «Выбрать клуб» — подложка, чтобы не терялась на фото */
.hero-btn-alt {
    background: rgba(255, 255, 255, .18);
}

.hero-scheme-dark .hero-btn-alt,
.hero-scheme-moss .hero-btn-alt {
    background: rgba(30, 36, 48, .1);
}

/* Обводка букв: контрастная, тонкая */
.hero-read-stroke h1 {
    -webkit-text-stroke: 1.5px rgba(10, 16, 32, .55);
    paint-order: stroke fill;
}

.hero-read-stroke.hero-scheme-dark h1,
.hero-read-stroke.hero-scheme-moss h1 {
    -webkit-text-stroke-color: rgba(255, 255, 255, .85);
}

/* ---------- footer: requisites, legal links ---------- */

.footer-questions {
    margin-top: 24px;
    display: grid;
    justify-items: start;
    gap: 6px;
    font-size: 14px;
}

.footer-question-text {
    color: #fff;
    font-weight: 600;
}

.footer-phone {
    color: #fff;
    font-size: 17px;
    font-weight: 600;
}

.footer-mail,
.footer-contact-link {
    color: rgba(255, 255, 255, .62);
}

.footer-contact-link {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-contact-link:hover,
.footer-mail:hover,
.footer-phone:hover {
    color: var(--lime);
}

.footer-requisites {
    margin-top: 32px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    display: flex;
    flex-wrap: wrap;
    gap: 6px 24px;
    color: rgba(255, 255, 255, .45);
    font-size: 12px;
}

.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 18px;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, .55);
}

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

/* ---------- theme toggle ---------- */

.theme-toggle {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    color: var(--ink);
    cursor: pointer;
    transition: background .2s, color .2s, border-color .2s;
}

.theme-toggle:hover {
    background: var(--soft);
}

.theme-icon-sun {
    display: none;
}

html[data-theme="dark"] .theme-icon-moon {
    display: none;
}

html[data-theme="dark"] .theme-icon-sun {
    display: inline;
}

/* ---------- dark theme ---------- */

html[data-theme="dark"] {
    color-scheme: dark;
    --white: #1a1d22;
    --soft: #232830;
    --soft-2: #171a1f;
    --line: #2c313a;
    --lavender: #3a4250;
    --muted: #9aa3b2;
    --brand: #6f9be8;
    --brand-deep: #5a86d1;
    --lime: #a8d64a;
}

html[data-theme="dark"] body {
    background: #121417;
    color: #e8eaf0;
}

html[data-theme="dark"] .topbar {
    color: #9aa3b2;
}

html[data-theme="dark"] .nav a {
    color: #c7ccd6;
}

html[data-theme="dark"] .menu-toggle,
html[data-theme="dark"] .theme-toggle {
    background: #1a1d22;
    color: #e8eaf0;
    border-color: var(--line);
}

html[data-theme="dark"] .btn-ghost {
    color: #e8eaf0;
}

html[data-theme="dark"] .btn-ghost:hover {
    background: #232830;
    border-color: #3a4250;
}

html[data-theme="dark"] .btn-light {
    background: #232830;
    border-color: #232830;
    color: var(--brand);
}

html[data-theme="dark"] .brand-word {
    filter: brightness(0) invert(1);
}

html[data-theme="dark"] .stat span,
html[data-theme="dark"] .section-head p,
html[data-theme="dark"] .club-card p,
html[data-theme="dark"] .coach-card p,
html[data-theme="dark"] .news-card p,
html[data-theme="dark"] .feature-card p,
html[data-theme="dark"] .page-hero p,
html[data-theme="dark"] .detail-card p,
html[data-theme="dark"] .article-body {
    color: #9aa3b2;
}

html[data-theme="dark"] .feature-card,
html[data-theme="dark"] .coach-card,
html[data-theme="dark"] .news-card,
html[data-theme="dark"] .detail-card,
html[data-theme="dark"] .form-card {
    background: #1a1d22;
}

html[data-theme="dark"] .article-body h2,
html[data-theme="dark"] .article-body h3,
html[data-theme="dark"] .article-body strong,
html[data-theme="dark"] .detail-card h2,
html[data-theme="dark"] .form-section h3 {
    color: #e8eaf0;
}

html[data-theme="dark"] .contact-list strong {
    color: #9aa3b2;
}

html[data-theme="dark"] .detail-card .footer-title {
    color: #6f9be8;
}

html[data-theme="dark"] .form-field input,
html[data-theme="dark"] .form-field select,
html[data-theme="dark"] .form-field textarea {
    background: #15181d;
    border-color: #3a4250;
    color: #e8eaf0;
}

html[data-theme="dark"] .form-field input:focus,
html[data-theme="dark"] .form-field select:focus,
html[data-theme="dark"] .form-field textarea:focus {
    box-shadow: 0 0 0 3px rgba(111, 155, 232, .2);
}

html[data-theme="dark"] .consent-row {
    color: #9aa3b2;
}

html[data-theme="dark"] .form-note {
    color: #e8eaf0;
    background: rgba(168, 214, 74, .08);
}

html[data-theme="dark"] .social-list a,
html[data-theme="dark"] .filter-tabs a {
    color: #c7ccd6;
}

html[data-theme="dark"] .social-list a:hover,
html[data-theme="dark"] .filter-tabs a:hover {
    background: #232830;
    border-color: #3a4250;
}

html[data-theme="dark"] .filter-tabs a.is-active {
    color: #fff;
}

@media (max-width: 940px) {
    html[data-theme="dark"] .nav {
        background: #1a1d22;
        border-color: var(--line);
        box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
    }
}

@media (max-width: 640px) {
    .theme-toggle {
        width: 38px;
        height: 38px;
    }
}

.theme-toggle:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

html[data-theme="dark"] .cta-card {
    background: linear-gradient(135deg, #2c4270 0%, #252d3a 62%);
    border: 1px solid rgba(111, 155, 232, .28);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
}

html[data-theme="dark"] .cta-card::after {
    color: rgba(168, 214, 74, .09);
}

html[data-theme="dark"] .cta-card p {
    color: rgba(232, 234, 240, .68);
}

html[data-theme="dark"] .cta-card .btn-lime {
    background: #9ecb45;
    border-color: #9ecb45;
    color: #10150a;
    box-shadow: 0 8px 22px rgba(158, 203, 69, .18);
}

html[data-theme="dark"] .cta-card .btn-lime:hover {
    background: #aad653;
    border-color: #aad653;
}

.eyebrow-lime {
    color: var(--lime);
}
