
:root {
    --red: #C7192D;
    --red-dark: #9F1022;
    --black: #171717;
    --black-soft: #222222;
    --white: #F5F3F0;
    --gray: #777777;
    --line: rgba(255,255,255,.13);
    --container: 1180px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--white);
    color: var(--black);
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

.container {
    width: min(var(--container), calc(100% - 48px));
    margin: 0 auto;
}

/* HEADER */

.header {
    position: relative;
    z-index: 100;
    background: var(--black);
    color: white;
    border-bottom: 1px solid var(--line);
}

.header-inner {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-mark {
    width: 43px;
    height: 43px;
    background: var(--red);
    display: grid;
    place-items: center;
    font-size: 27px;
    font-weight: 900;
    font-style: italic;
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.logo-text strong {
    font-size: 19px;
    letter-spacing: 2px;
}

.logo-text small {
    font-size: 7px;
    letter-spacing: 1px;
    color: #aaa;
}

.nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav > a,
.dropdown-toggle {
    color: #d0d0d0;
    font-size: 12px;
    white-space: nowrap;
    transition: color .2s;
}

.nav > a:hover,
.dropdown-toggle:hover {
    color: white;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.header-button,
.register-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 17px;
    background: var(--red);
    color: white;
    font-size: 12px;
    font-weight: 800;
    transition: background .2s;
}

.header-button:hover,
.register-button:hover {
    background: var(--red-dark);
}

/* DROPDOWN */

.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: inline-block;
    background: transparent;
    border: none;
    font-family: inherit;
    cursor: pointer;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 340px;
    max-height: 75vh;
    overflow-y: auto;
    padding: 9px;
    background: #222;
    border-top: 3px solid var(--red);
    box-shadow: 0 15px 35px rgba(0,0,0,.3);
    z-index: 500;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 12px 13px;
    color: #ddd;
    font-size: 12px;
    line-height: 1.5;
    border-bottom: 1px solid rgba(255,255,255,.08);
    transition: .2s;
}

.dropdown-menu a:hover {
    background: var(--red);
    color: white;
    padding-left: 18px;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

/* MOBILE MENU BUTTON */

.menu-toggle {
    display: none;
    background: transparent;
    border: 0;
    cursor: pointer;
}

/* HERO */

.hero {
    min-height: 690px;
    position: relative;
    display: flex;
    align-items: center;
    background: var(--black);
    color: white;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, #171717 0%, rgba(23,23,23,.96) 38%, rgba(23,23,23,.35) 100%),
        linear-gradient(0deg, rgba(23,23,23,.7), transparent);
    z-index: 2;
}

.hero-image {
    position: absolute;
    inset: 0 0 0 32%;
    width: 68%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: .75;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding-top: 50px;
    padding-bottom: 70px;
}

.hero-label,
.section-label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.hero-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ccc;
    margin-bottom: 30px;
}

.red-dot {
    width: 8px;
    height: 8px;
    background: var(--red);
    border-radius: 50%;
}

.hero h1 {
    font-size: clamp(42px, 6.5vw, 82px);
    line-height: .98;
    font-weight: 900;
    letter-spacing: -3px;
    max-width: 850px;
}

.hero h1 span {
    color: var(--red);
}

.hero-content > p {
    max-width: 470px;
    color: #c4c4c4;
    font-size: 15px;
    line-height: 1.8;
    margin-top: 28px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 34px;
}

.button {
    min-height: 50px;
    padding: 0 23px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 12px;
    font-weight: 800;
    transition: .2s;
}

.button-red {
    color: white;
    background: var(--red);
}

.button-red:hover {
    background: var(--red-dark);
}

.button-outline {
    border: 1px solid rgba(255,255,255,.4);
    color: white;
}

.button-outline:hover {
    background: white;
    color: var(--black);
}

.hero-bottom {
    display: flex;
    justify-content: space-between;
    max-width: 750px;
    margin-top: 95px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    color: #aaa;
    font-size: 9px;
    letter-spacing: 2px;
}

/* TICKER */

.ticker {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    background: var(--red);
    color: white;
    padding: 18px 0;
}

.ticker-track {
    display: flex;
    align-items: center;
    width: max-content;
    min-width: max-content;
    gap: 30px;
    animation: ticker-scroll 25s linear infinite;
    will-change: transform;
}

.ticker-track span,
.ticker-track i {
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 2px;
}

.ticker-track i {
    font-style: normal;
    font-size: 20px;
}

@keyframes ticker-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.ticker:hover .ticker-track {
    animation-play-state: paused;
}

/* COMMON SECTIONS */

.section {
    padding: 105px 0;
}

.section-label {
    color: var(--red);
    margin-bottom: 23px;
}

.section h2 {
    font-size: clamp(34px, 4.5vw, 58px);
    line-height: 1.08;
    letter-spacing: -2px;
    font-weight: 900;
}

.section h2 span {
    color: var(--red);
}

/* ABOUT */

.about {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 85px;
    align-items: center;
}

.about-image {
    min-height: 510px;
    position: relative;
    overflow: hidden;
}

.about-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.about-image::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 12px solid rgba(199,25,45,.14);
}

.about-image span {
    position: absolute;
    z-index: 2;
    bottom: 22px;
    left: 22px;
    color: white;
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 800;
}

.about-content h2 {
    margin-bottom: 25px;
}

.about-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 15px;
}

.text-link {
    display: inline-flex;
    margin-top: 17px;
    color: var(--red);
    font-weight: 800;
    font-size: 13px;
}

/* DIRECTIONS */

.directions {
    background: #eae8e5;
}

.section-top {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 35px;
    margin-bottom: 45px;
}

.section-top > p {
    max-width: 330px;
    color: #777;
    font-size: 13px;
    line-height: 1.8;
}

.direction-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.direction-card {
    min-height: 300px;
    padding: 30px;
    background: white;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.direction-card-red {
    background: var(--red);
    color: white;
}

.direction-number {
    font-size: 11px;
    font-weight: 800;
    opacity: .55;
}

.direction-icon {
    font-size: 38px;
    margin-top: 30px;
    color: var(--red);
}

.direction-card-red .direction-icon {
    color: white;
}

.direction-card h3 {
    font-size: 21px;
    margin-top: 15px;
}

.direction-card p {
    color: #777;
    font-size: 13px;
    line-height: 1.7;
    margin-top: 12px;
}

.direction-card-red p {
    color: rgba(255,255,255,.8);
}

/* GALLERY */

.gym-gallery {
    background: var(--black);
    color: white;
}

.gym-gallery .section-top > p {
    color: #aaa;
}

.gym-photo {
    width: 100%;
    min-height: 470px;
    position: relative;
    overflow: hidden;
}

.gym-photo img {
    display: block;
    width: 100%;
    height: 470px;
    object-fit: cover;
    object-position: center;
}

.gallery-caption {
    display: flex;
    justify-content: space-between;
    padding-top: 17px;
    color: #999;
    font-size: 10px;
    letter-spacing: 2px;
}

/* CHILDREN */

.children-section {
    background: #eae8e5;
}

.children-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;
}

.children-photo {
    width: 100%;
    min-height: 430px;
    position: relative;
    overflow: hidden;
    background-color: #eae8e5;
    border-radius: 2px;
}

.children-photo img {
    display: block;
    width: 100%;
    height: 430px;
    object-fit: contain;
    object-position: center;
}

.children-content h2 {
    margin-bottom: 23px;
}

.children-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 27px;
}

/* VALUES */

.values {
    background: var(--black);
    color: white;
}

.values h2 {
    margin-bottom: 55px;
}

.values-list {
    border-top: 1px solid var(--line);
}

.value-item {
    display: grid;
    grid-template-columns: 70px 1fr 1fr;
    align-items: center;
    gap: 25px;
    padding: 27px 0;
    border-bottom: 1px solid var(--line);
}

.value-item > span {
    color: var(--red);
    font-size: 12px;
    font-weight: 900;
}

.value-item h3 {
    font-size: 21px;
}

.value-item p {
    color: #999;
    font-size: 13px;
    line-height: 1.6;
}

/* DOCUMENTS */

.documents {
    background: var(--white);
}

.documents-intro {
    color: #777;
    font-size: 14px;
    margin-top: 20px;
    margin-bottom: 35px;
}

.documents-grid {
    border-top: 1px solid #d6d3cf;
}

.document-link {
    min-height: 75px;
    display: grid;
    grid-template-columns: 65px 1fr 30px;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid #d6d3cf;
    transition: .2s;
}

.document-link:hover {
    padding-left: 12px;
    color: var(--red);
}

.document-link > span {
    color: var(--red);
    font-size: 11px;
    font-weight: 800;
}

.document-link strong {
    font-size: 14px;
}

.document-link b {
    font-size: 19px;
    text-align: right;
}

/* CABINET */

.cabinet {
    background: var(--red);
    color: white;
}

.cabinet-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cabinet .section-label {
    color: rgba(255,255,255,.7);
}

.cabinet h2 span {
    color: var(--black);
}

.cabinet p {
    margin-top: 20px;
    color: rgba(255,255,255,.8);
    font-size: 14px;
    line-height: 1.8;
    max-width: 400px;
}

.button-light {
    background: white;
    color: var(--black);
    flex-shrink: 0;
}

.button-light:hover {
    background: var(--black);
    color: white;
}

/* CONTACTS */

.contacts-section {
    background: #eae8e5;
}

.contacts-section h2 {
    margin-bottom: 45px;
}

.contacts-grid {
    display: grid;
    grid-template-columns: .8fr 1.5fr;
    gap: 35px;
    align-items: stretch;
}

.contacts-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    padding: 10px 0;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-label {
    color: var(--red);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2px;
}

.contact-item p,
.contact-item a {
    color: var(--black);
    font-size: 15px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.contact-item a:hover {
    color: var(--red);
}

.contact-map-button {
    align-self: flex-start;
    margin-top: 5px;
}

.contacts-map {
    width: 100%;
    height: 360px;
    overflow: hidden;
    border-radius: 3px;
    background: #ddd;
    border: 1px solid rgba(0,0,0,.08);
}

.contacts-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

/* FOOTER */

.footer {
    background: var(--black);
    color: white;
    padding: 65px 0 20px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 55px;
}

.footer-brand > p {
    color: #888;
    font-size: 12px;
    margin-top: 20px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-column h4 {
    color: var(--red);
    font-size: 10px;
    letter-spacing: 2px;
    margin-bottom: 7px;
}

.footer-column a,
.footer-column p {
    color: #aaa;
    font-size: 12px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    color: #777;
    font-size: 10px;
    letter-spacing: 1px;
}

.footer-bottom a {
    color: white;
}

/* RESPONSIVE */

@media (max-width: 1000px) {
    .nav {
        gap: 14px;
    }

    .nav > a,
    .dropdown-toggle {
        font-size: 11px;
    }

    .header-button {
        display: none;
    }

    .about-grid,
    .children-grid {
        gap: 40px;
    }

    .about-image {
        min-height: 420px;
    }
}

@media (max-width: 760px) {
    .container {
        width: min(100% - 36px, var(--container));
    }

    .header-inner {
        min-height: 75px;
    }

    .menu-toggle {
        width: 40px;
        height: 40px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        position: relative;
        z-index: 102;
    }

    .menu-toggle span {
        display: block;
        width: 25px;
        height: 2px;
        background: white;
        transition: .2s;
    }

    .menu-toggle.active span:first-child {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:last-child {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav {
        display: none;
        position: absolute;
        top: 75px;
        left: 0;
        right: 0;
        background: var(--black);
        padding: 20px 24px 28px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        border-top: 1px solid var(--line);
        z-index: 101;
    }

    .nav.open {
        display: flex;
    }

    .nav > a {
        padding: 15px 0;
        font-size: 14px;
        border-bottom: 1px solid var(--line);
    }

    .dropdown {
        width: 100%;
    }

    .dropdown-toggle {
        display: block;
        width: 100%;
        padding: 15px 0;
        font-size: 14px;
        border-bottom: 1px solid var(--line);
    }

    /* На телефоне подразделы доступны без наведения */
    .dropdown-menu {
        display: block;
        position: static;
        width: 100%;
        max-height: none;
        overflow: visible;
        box-shadow: none;
        border-top: 2px solid var(--red);
        margin-bottom: 10px;
    }

    .dropdown-menu a {
        font-size: 12px;
    }

    .header-actions {
        margin-left: auto;
    }

    .register-button {
        padding: 10px 12px;
        font-size: 10px;
    }

    .hero {
        min-height: 660px;
    }

    .hero-image {
        inset: 0;
        width: 100%;
        opacity: .38;
    }

    .hero-bg {
        background: linear-gradient(90deg, rgba(23,23,23,.96), rgba(23,23,23,.55));
    }

    .hero h1 {
        font-size: clamp(40px, 11vw, 65px);
        letter-spacing: -2px;
    }

    .hero-content > p {
        font-size: 13px;
    }

    .hero-bottom {
        margin-top: 70px;
        gap: 15px;
        font-size: 8px;
    }

    .section {
        padding: 70px 0;
    }

    .section-top {
        display: block;
    }

    .section-top > p {
        margin-top: 20px;
    }

    .about-grid,
    .children-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .about-image {
        min-height: 330px;
    }

    .direction-grid {
        grid-template-columns: 1fr;
    }

    .direction-card {
        min-height: 250px;
    }

    .gym-photo {
        min-height: 300px;
    }

    .gym-photo img {
        height: 300px;
    }

    .children-photo {
        min-height: 350px;
    }

    .children-photo img {
        height: 350px;
    }

    .value-item {
        grid-template-columns: 35px 1fr;
        gap: 12px;
    }

    .value-item p {
        grid-column: 2;
    }

    .cabinet-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contacts-map {
        height: 300px;
    }

    .contact-item p,
    .contact-item a {
        font-size: 14px;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 35px 20px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 420px) {
    .logo-text small {
        font-size: 6px;
    }

    .logo-mark {
        width: 38px;
        height: 38px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-bottom span:last-child {
        text-align: right;
    }

    .document-link {
        grid-template-columns: 35px 1fr 20px;
        gap: 10px;
    }

    .document-link strong {
        font-size: 12px;
    }

    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: auto;
    }

    .header-inner {
        gap: 10px;
    }

    .register-button {
        padding: 9px 8px;
        font-size: 9px;
    }

    .logo {
        gap: 7px;
    }

    .logo-text strong {
        font-size: 16px;
    }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }

    .ticker-track {
        animation: none;
    }
}

/* ОПТИМИЗАЦИЯ ОТРИСОВКИ */

/* Оптимизация анимации бегущей строки */
.ticker-track {
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
}

/* Уменьшаем лишние эффекты при наведении */
@media (hover: hover) {
    .document-link,
    .direction-card,
    .button,
    .header-button,
    .register-button {
        transition-duration: .15s;
    }
}

/* На устройствах с ограниченной производительностью */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .ticker-track {
        animation: none !important;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
    }
}

/* ==========================================================
   ДОПОЛНЕНИЯ ГЛАВНОЙ СТРАНИЦЫ И МОБИЛЬНАЯ АДАПТАЦИЯ
   ========================================================== */
.top-bar {
    position: relative;
    z-index: 120;
    min-height: 42px;
    padding: 7px 0;
    background: #101010;
    color: #d8d8d8;
    border-bottom: 1px solid rgba(255,255,255,.1);
    font-size: 12px;
}
.top-bar-inner { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.top-bar-contacts { display:flex; align-items:center; flex-wrap:wrap; gap:10px 22px; }
.top-bar-contacts a { color:inherit; }
.dropdown-toggle { padding:0; border:0; background:transparent; color:#d0d0d0; font-family:inherit; font-size:12px; cursor:pointer; transition:color .2s; }
.dropdown-toggle:hover,.dropdown.open .dropdown-toggle { color:#fff; }
.dropdown.open .dropdown-menu { display:block; }
.dropdown-menu { width:390px; }
.documents-grid { display:grid; grid-template-columns:1fr 1fr; column-gap:28px; }
.documents-grid .document-link { min-width:0; }
.footer-legal-links { display:flex; flex-direction:column; gap:12px; margin-top:8px; }
.footer-legal-links a { color:#aaa; font-size:12px; line-height:1.6; }
.footer-legal-links a:hover { color:#fff; }
/* Режим «Увеличить шрифт».
   Базовый размер html — 16px (100%), задан выше.
   При включении режима корневой размер действительно растёт до 19px (≈120%),
   а px-размеры текста и заголовков пропорционально масштабируются через zoom,
   поэтому весь текст гарантированно становится крупнее, а не мельче. */
html:has(body.access-font-large) { font-size:19px; }
body.access-font-large { font-size:19px; zoom:1.15; }
body.access-font-large p, body.access-font-large a, body.access-font-large li { line-height:1.8; }
body.access-contrast-light,
body.access-contrast-light :not(img):not(video):not(iframe):not(.accessibility-panel) { background-color:#fff !important; color:#000 !important; border-color:#000 !important; box-shadow:none !important; }
body.access-contrast-dark,
body.access-contrast-dark :not(img):not(video):not(iframe):not(.accessibility-panel) { background-color:#000 !important; color:#fff !important; border-color:#fff !important; box-shadow:none !important; }
.ticker-track { transform:translate3d(0,0,0); backface-visibility:hidden; }

@media (max-width:767px) {
    html,body { width:100%; max-width:100%; overflow-x:hidden !important; }
    body { padding-bottom:0 !important; }
    img,iframe,video { max-width:100%; }
    .container { width:100%; max-width:100%; padding-left:16px !important; padding-right:16px !important; }
    .top-bar { min-height:42px; padding:5px 0; }
    .top-bar-inner { flex-direction:row !important; align-items:center !important; justify-content:space-between !important; gap:8px !important; }
    .top-bar-contacts { display:flex; gap:0 !important; }
    .top-bar-contacts > span { display:none !important; }
    .top-bar-contacts a { display:inline-flex; align-items:center; min-height:34px; font-size:13px; white-space:nowrap; }
    .header { position:relative; z-index:11000; }
    .header-inner { min-height:66px !important; display:flex !important; flex-wrap:nowrap !important; align-items:center !important; justify-content:space-between !important; gap:10px !important; }
    .logo { min-width:0; flex:1 1 auto; gap:8px; }
    .logo-mark { width:38px; height:38px; }
    .logo-text small { display:none; }
    .logo-text strong { font-size:17px; }
    .menu-toggle {
        appearance:none !important; -webkit-appearance:none !important;
        display:inline-flex !important; flex:0 0 48px !important;
        width:48px !important; min-width:48px !important; max-width:48px !important;
        height:48px !important; min-height:48px !important; max-height:48px !important;
        box-sizing:border-box !important; margin:0 !important; padding:0 !important;
        border:1px solid rgba(255,255,255,.25) !important; border-radius:6px !important;
        background:transparent !important; color:#fff !important; box-shadow:none !important;
        font-size:0 !important; line-height:0 !important; text-indent:0 !important;
        align-items:center !important; justify-content:center !important;
        position:relative !important; z-index:16002 !important; cursor:pointer;
    }
    .menu-toggle::before,.menu-toggle::after { content:none !important; display:none !important; }
    .menu-toggle .burger-lines {
        position:relative !important; display:block !important; flex:0 0 24px !important;
        width:24px !important; height:24px !important; margin:0 !important; padding:0 !important;
        text-indent:0 !important;
    }
    .menu-toggle .burger-lines i {
        position:absolute !important; left:0 !important; display:block !important;
        width:24px !important; height:2px !important; min-height:2px !important;
        margin:0 !important; padding:0 !important; border:0 !important; border-radius:2px !important;
        background:#fff !important; opacity:1 !important; transform:none !important;
        transform-origin:center !important; transition:top .22s ease,left .22s ease,width .22s ease,height .22s ease,opacity .16s ease !important;
    }
    .menu-toggle .burger-lines i:first-child { top:3px !important; }
    .menu-toggle .burger-lines i:nth-child(2) { top:11px !important; }
    .menu-toggle .burger-lines i:last-child { top:19px !important; }
    /* Open state: two vertical bars centered; no white square / pseudo icon. */
    .header.mobile-menu-open .menu-toggle .burger-lines i:first-child,
    .header.mobile-menu-open .menu-toggle .burger-lines i:last-child {
        top:0 !important; left:6px !important; width:2px !important; height:24px !important; opacity:1 !important;
    }
    .header.mobile-menu-open .menu-toggle .burger-lines i:last-child { left:16px !important; }
    .header.mobile-menu-open .menu-toggle .burger-lines i:nth-child(2) { opacity:0 !important; }
    .header.mobile-menu-open .menu-toggle { position:fixed !important; top:12px !important; right:16px !important; left:auto !important; background:#222 !important; border-color:rgba(255,255,255,.25) !important; }
    .header-actions { display:flex !important; flex:0 1 auto !important; min-width:0 !important; margin:0 !important; gap:0 !important; }
    .header-actions .header-button { display:none !important; }
    .header-actions .register-button { display:inline-flex !important; align-items:center; justify-content:center; min-height:42px !important; height:42px !important; padding:0 10px !important; font-size:11px !important; line-height:1.1 !important; white-space:nowrap !important; }
    .nav {
        display:flex !important; flex-direction:column !important; align-items:stretch !important;
        position:fixed !important; inset:0 !important; width:100vw !important; height:100vh !important; height:100dvh !important;
        max-height:100dvh !important; overflow-y:auto !important; overscroll-behavior:contain;
        padding:82px 22px calc(28px + env(safe-area-inset-bottom)) !important; margin:0 !important;
        background:#111 !important; z-index:16000 !important; gap:0 !important;
        opacity:0; visibility:hidden; pointer-events:none; transform:translateY(-8px);
        transition:opacity .22s ease,transform .22s ease,visibility .22s;
    }
    .nav::before { content:"АТЛЕТИК"; display:block; margin:0 58px 18px 4px; color:#fff; font-size:21px; font-weight:900; letter-spacing:3px; }
    .header.mobile-menu-open .nav { opacity:1; visibility:visible; pointer-events:auto; transform:translateY(0); }
    .nav > a,.nav .dropdown-toggle {
        display:flex !important; align-items:center; width:100%; min-height:54px; padding:13px 4px !important;
        border:0; border-bottom:1px solid rgba(255,255,255,.13); color:#fff !important;
        background:transparent !important; font-size:18px !important; font-weight:700; text-align:left; line-height:1.35;
        white-space:normal;
    }
    .nav .dropdown { width:100%; }
    .nav .dropdown-toggle { cursor:pointer; }
    .nav .dropdown-menu { display:none; position:static !important; width:100% !important; max-height:none; padding:5px 0 10px 12px !important; background:#1b1b1b !important; box-shadow:none !important; border:0; }
    .nav .dropdown.open .dropdown-menu { display:block; }
    .nav .dropdown-menu a { display:block; min-height:44px; padding:11px 8px !important; color:#ddd !important; font-size:14px !important; line-height:1.4; border-bottom:1px solid rgba(255,255,255,.08); white-space:normal; }
    body.mobile-menu-active { overflow:hidden !important; touch-action:none; }
    body.mobile-menu-active .mobile-quick-bar { display:none !important; }
    .hero { min-height:min(760px,88svh); }
    .hero-content { position:relative; z-index:2; padding-top:70px !important; padding-bottom:38px !important; }
    .hero h1 { max-width:100%; margin:18px 0 16px; font-size:clamp(32px,8.5vw,36px) !important; line-height:1.08 !important; letter-spacing:-.04em; overflow-wrap:anywhere; }
    .hero h1 br { display:none; }
    .hero-content > p { max-width:100%; font-size:15px; line-height:1.65; }
    .hero-actions { display:flex !important; flex-direction:column !important; align-items:stretch !important; gap:11px !important; width:100%; margin-top:24px; }
    .hero-actions .button { display:flex; width:100% !important; min-height:52px; align-items:center; justify-content:center; box-sizing:border-box; text-align:center; }
    .hero-bottom { flex-wrap:wrap; gap:8px 16px; font-size:9px; }
    .about-grid,.direction-grid,.children-grid,.contacts-grid,.footer-main,.values-list,.documents-grid,.section-top,.cabinet-inner { display:grid !important; grid-template-columns:minmax(0,1fr) !important; gap:22px !important; }
    .section { padding-top:62px !important; padding-bottom:62px !important; }
    .section h2 { font-size:clamp(27px,7vw,34px) !important; line-height:1.13 !important; overflow-wrap:anywhere; }
    .section-top { gap:12px !important; }
    .direction-card,.value-item { min-width:0; }
    .about-image,.children-photo,.gym-photo { width:100%; min-width:0; max-width:100%; }
    .about-image img,.children-photo img,.gym-photo img { display:block; width:100%; height:auto; max-height:430px; object-fit:cover; }
    .contacts-map { width:100%; min-height:300px; }
    .contacts-map iframe { display:block; width:100%; min-height:300px; }
    .documents-grid { grid-template-columns:minmax(0,1fr) !important; }
    .document-link { min-width:0; overflow-wrap:anywhere; }
    .footer-column,.footer-brand { min-width:0; }
    .footer-column a,.footer-column p { overflow-wrap:anywhere; }
    /* Quick contact bar: no white separator and no overlap with footer content. */
    .mobile-quick-bar {
        position:fixed !important; left:0 !important; right:0 !important; bottom:0 !important;
        z-index:17000 !important; display:grid !important; grid-template-columns:.8fr 1.2fr !important;
        gap:9px !important; padding:9px 12px calc(9px + env(safe-area-inset-bottom)) !important;
        margin:0 !important; border:0 !important; border-top:0 !important; outline:0 !important;
        box-shadow:none !important; background:#111 !important; backdrop-filter:none !important;
    }
    .mobile-quick-bar::before,.mobile-quick-bar::after { content:none !important; display:none !important; }
    .mobile-quick-bar a { display:flex; align-items:center; justify-content:center; min-width:0; min-height:46px; padding:8px 10px; border-radius:4px; color:#fff; font-size:13px; font-weight:700; line-height:1.2; text-align:center; text-decoration:none; overflow-wrap:anywhere; }
    .mobile-quick-call { background:#292929; border:1px solid #555; }
    .mobile-quick-whatsapp { background:#c7192d; border:1px solid #c7192d; }
    .footer { padding-bottom:calc(100px + env(safe-area-inset-bottom)) !important; }
    .footer-bottom { gap:12px; flex-wrap:wrap; }
    .dropdown-menu { width:100%; }
}
@media (max-width:420px) {
    .header-inner { gap:7px !important; }
    .logo-mark { display:none; }
    .logo-text strong { font-size:15px !important; }
    .header-actions .register-button { padding:0 8px !important; font-size:10px !important; }
    .menu-toggle { flex-basis:44px !important; width:44px !important; min-width:44px !important; max-width:44px !important; height:44px !important; min-height:44px !important; max-height:44px !important; }
}
@media (min-width:768px) {
    .mobile-quick-bar,.menu-toggle { display:none !important; }
}
@media (prefers-reduced-motion:reduce) {
    *,*::before,*::after { animation-duration:.01ms !important; transition-duration:.01ms !important; scroll-behavior:auto !important; }
    .ticker-track { animation:none !important; }
}

/* ==========================================================
   ATHLETIC REDESIGN — тёмная спортивная версия
   Старые фотографии images/1-4.webp сохранены без замены.
   ========================================================== */
:root {
    --red: #e01625;
    --red-dark: #b90f1d;
    --black: #080808;
    --black-soft: #151515;
    --white: #f3f3f3;
    --gray: #a7a7a7;
    --line: rgba(255,255,255,.14);
    --container: 1450px;
}

html, body { background:#080808; color:#f3f3f3; }
body { font-family:Arial, Helvetica, sans-serif; }
.container { width:min(var(--container), calc(100% - 64px)); }

/* Верхняя панель */
.top-bar {
    min-height:46px; padding:5px 0; background:#090909;
    border-bottom:1px solid rgba(255,255,255,.13); color:#eee;
}
.top-bar-inner { min-height:34px; justify-content:flex-start; gap:28px; }
.top-bar-contacts { gap:0; }
.top-bar-contacts > span { display:none; }
.top-bar-contacts a { font-size:14px; font-weight:600; white-space:nowrap; }
.top-bar-contacts a::before { content:"☎"; color:var(--red); margin-right:10px; font-size:17px; }
/* Кнопка «Версия для слабовидящих» + «Личный кабинет» справа в верхней полосе */
.top-bar-actions { display:flex; align-items:center; gap:10px; margin-left:auto; flex-shrink:0; }
.topbar-cabinet {
    display:inline-flex; align-items:center; justify-content:center; min-height:34px;
    padding:0 17px; border-radius:9px; background:var(--red);
    color:#fff; font-size:12px; font-weight:800; white-space:nowrap;
}
.topbar-cabinet::before { content:"●"; margin-right:8px; font-size:12px; }
.topbar-cabinet:hover { background:var(--red-dark); }

/* Шапка и логотип */
.header { background:#090909; border-bottom:1px solid rgba(255,255,255,.08); }
.header-inner { min-height:158px; gap:28px; }
.logo { width:190px; min-width:150px; justify-content:flex-start; }
.site-logo { display:block; width:165px; height:145px; object-fit:contain; object-position:left center; }
.nav { flex:1; justify-content:space-between; gap:20px; }
.nav > a,.dropdown-toggle { color:#f1f1f1; font-size:14px; font-weight:700; white-space:nowrap; }
.nav > a:hover,.dropdown-toggle:hover,.dropdown.open .dropdown-toggle { color:#fff; }
.dropdown-toggle { line-height:1.4; text-align:left; }
.dropdown-menu { top:calc(100% + 18px); width:390px; border-top:3px solid var(--red); background:#141414; }
.dropdown-menu a { color:#ddd; font-size:13px; }
.dropdown-menu a:hover { background:var(--red); }
.header-actions { flex-shrink:0; }
.header-button { min-height:48px; padding:0 25px; border-radius:13px; background:var(--red); font-size:13px; }

/* Главный экран — старое фото зала остаётся фоном */
.hero { min-height:570px; background:#080808; }
.hero-image { inset:0 0 0 30%; width:70%; height:100%; opacity:.82; object-position:center 43%; }
.hero-bg {
    z-index:1;
    background:linear-gradient(90deg,#080808 0%,rgba(8,8,8,.97) 24%,rgba(8,8,8,.78) 43%,rgba(8,8,8,.22) 100%),
               linear-gradient(0deg,rgba(8,8,8,.65),transparent 45%);
}
.hero-content { padding-top:72px; padding-bottom:34px; }
.hero-label { margin-bottom:28px; color:#e2e2e2; font-size:13px; letter-spacing:3px; }
.red-dot { width:13px; height:13px; }
.hero h1 {
    max-width:900px; font-size:clamp(52px,5.3vw,78px); line-height:.98;
    letter-spacing:-2.5px; font-style:italic; font-weight:950; text-transform:uppercase;
}
.hero h1 span { color:var(--red); }
.hero-content > p { max-width:480px; margin-top:24px; color:#d0d0d0; font-size:17px; line-height:1.55; }
.hero-actions { gap:20px; margin-top:27px; }
.button { min-height:58px; padding:0 30px; border-radius:14px; font-size:14px; }
.button-red { background:var(--red); }
.button-outline { border:2px solid rgba(255,255,255,.82); }
.hero-bottom { max-width:720px; margin-top:32px; padding-top:15px; border-top:0; color:#c4c4c4; font-size:11px; }
.hero-bottom span:first-child { padding-right:24px; border-right:2px solid var(--red); }

/* Бегущая строка */
.ticker { padding:13px 0; background:#0d0d0d; border-top:1px solid rgba(255,255,255,.15); border-bottom:1px solid rgba(255,255,255,.13); }
.ticker-track { gap:34px; }
.ticker-track span { font-size:16px; letter-spacing:1px; }
.ticker-track i { color:var(--red); font-size:23px; }

/* Все секции в единой тёмной системе */
.section { padding:86px 0; }
.about,.directions,.children-section,.documents,.contacts-section { background:#101010; color:#f4f4f4; }
.gym-gallery,.values { background:#080808; color:#f4f4f4; }
.section h2 { color:#f4f4f4; }
.section h2 span { color:var(--red); }
.section-label { color:var(--red); font-size:12px; letter-spacing:3px; }
.about-grid { grid-template-columns:1.05fr .95fr; gap:70px; }
.about-image { min-height:440px; border:1px solid rgba(255,255,255,.2); border-radius:14px; }
.about-image::after { border:1px solid rgba(255,255,255,.2); }
.about-content p,.children-content p { color:#bcbcbc; }
.text-link { color:#ff3442; }
.section-top > p,.gym-gallery .section-top > p { color:#aaa; }
.direction-card { min-height:285px; padding:30px; border:1px solid rgba(255,255,255,.12); border-radius:12px; background:#1a1a1a; color:#f4f4f4; }
.direction-card-red { background:var(--red); border-color:var(--red); }
.direction-card p { color:#aaa; }
.direction-card-red p { color:rgba(255,255,255,.86); }
.direction-icon { color:var(--red); }
.gym-photo { border:1px solid rgba(255,255,255,.2); border-radius:14px; }
.gym-photo img { object-fit:cover; }
.gallery-caption { color:#aaa; }
.children-grid { grid-template-columns:1fr 1fr; }
.children-photo { min-height:420px; border:1px solid rgba(255,255,255,.18); border-radius:14px; background:#151515; }
.children-photo img { object-fit:cover; }
.values { background:#111; }
.value-item { border-color:rgba(255,255,255,.14); }
.value-item h3 { color:#f5f5f5; }
.value-item p { color:#aaa; }
.documents-intro { color:#aaa; }
.documents-grid { border-color:rgba(255,255,255,.18); }
.document-link { border-color:rgba(255,255,255,.16); color:#f1f1f1; }
.document-link strong { color:#eee; }
.document-link:hover strong { color:var(--red); }
.cabinet { background:var(--red); }
.cabinet h2,.cabinet p { color:#fff; }
.cabinet h2 span { color:#111; }
.contacts-grid { grid-template-columns:.8fr 1.5fr; }
.contact-item p,.contact-item a { color:#eee; }
.contact-label { color:#ff4350; }
.contacts-map { border:1px solid rgba(255,255,255,.18); border-radius:12px; }
.footer { background:#080808; border-top:1px solid rgba(255,255,255,.13); }
.footer-column a,.footer-column p,.footer-brand > p { color:#aaa; }
.footer-bottom { border-color:rgba(255,255,255,.16); }

/* Адаптация */
@media (max-width:1100px) and (min-width:768px) {
    .header-inner { gap:16px; }
    .logo { width:135px; min-width:120px; }
    .site-logo { width:130px; height:125px; }
    .nav { gap:12px; }
    .nav > a,.dropdown-toggle { font-size:11px; }
    .header-button { padding:0 16px; }
}
@media (max-width:767px) {
    .container { width:100%; padding-left:16px !important; padding-right:16px !important; }
    .top-bar-inner { gap:7px !important; }
    .topbar-cabinet { display:none; }
    .header { background:#090909; }
    .header-inner { min-height:76px !important; }
    .logo { flex:1 1 auto; width:auto; min-width:0; }
    .site-logo { width:78px; height:70px; object-position:left center; }
    .header-actions { display:none !important; }
    .nav { background:#0b0b0b !important; }
    .nav::before { color:#fff; }
    .nav > a,.nav .dropdown-toggle { color:#fff !important; }
    .hero { min-height:620px; }
    .hero-image { inset:0; width:100%; opacity:.42; object-position:center; }
    .hero-bg { background:linear-gradient(90deg,rgba(8,8,8,.94),rgba(8,8,8,.62)),linear-gradient(0deg,rgba(8,8,8,.5),transparent); }
    .hero-content { padding-top:64px !important; padding-bottom:35px !important; }
    .hero-label { font-size:10px; letter-spacing:2px; }
    .hero h1 { font-size:clamp(32px,8.5vw,36px) !important; line-height:1.08 !important; letter-spacing:-1px; }
    .hero-content > p { color:#ddd; font-size:14px; }
    .hero-bottom { margin-top:38px; }
    .section { padding:62px 0 !important; }
    .about-image { min-height:300px; }
    .about-image img { height:100%; object-fit:cover; }
    .children-photo { min-height:280px; }
    .children-photo img { height:280px; object-fit:cover; }
    .direction-card { background:#191919; }
    .direction-card-red { background:var(--red); }
    .gym-photo img { height:300px; }
    .contacts-map { height:290px; }
    .footer { padding-bottom:calc(110px + env(safe-area-inset-bottom)) !important; }
    .mobile-quick-bar { background:#090909 !important; }
}


/* Прозрачный логотип клуба */
.header .logo, .footer .logo {
    background: transparent !important;
    background-color: transparent !important;
}
.site-logo {
    display: block;
    width: 165px;
    height: 145px;
    object-fit: contain;
    object-position: center;
    background: transparent !important;
    mix-blend-mode: normal;
}
.site-logo-footer {
    width: 120px;
    height: 105px;
}
@media (max-width: 768px) {
    .site-logo { width: 92px; height: 82px; }
    .site-logo-footer { width: 100px; height: 90px; }
}


/* === FINAL FIXES: logo, real gym photos, draggable accessibility control === */
.site-logo {
    display: block;
    width: 150px;
    height: 142px;
    object-fit: contain;
    object-position: center;
    background: transparent !important;
}
.header .logo {
    width: 155px;
    min-width: 125px;
    height: auto;
    flex: 0 0 auto;
    overflow: visible;
}
.footer .site-logo-footer {
    width: 118px;
    height: 112px;
}
.footer-brand .legal-name {
    max-width: 360px;
    color: #aaa;
    font-size: 12px;
    line-height: 1.75;
    margin-top: 16px;
}
.hero-image {
    z-index: 1;
    inset: 0 0 0 30%;
    width: 70%;
    height: 100%;
    object-fit: cover;
    object-position: center 48%;
    opacity: .82;
}
.hero-bg {
    z-index: 2;
    background:
        linear-gradient(90deg, #090909 0%, rgba(9,9,9,.97) 29%, rgba(9,9,9,.72) 53%, rgba(9,9,9,.18) 100%),
        linear-gradient(0deg, rgba(9,9,9,.55), transparent 42%);
}
.hero-content { z-index: 3; }
.about-image {
    min-height: 0;
    aspect-ratio: 1.48 / 1;
    background: #171717;
    border-radius: 12px;
}
.about-image img {
    object-fit: cover;
    object-position: center 48%;
}
.gym-photo {
    min-height: 0;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    background: #171717;
}
.gym-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 52%;
}
.children-photo {
    min-height: 0;
    height: auto;
    aspect-ratio: 4 / 5;
    max-height: 590px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111;
    border-radius: 12px;
}
.children-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}
.contacts-section h2 { margin-bottom: 45px; }

/* Кнопка «Версия для слабовидящих» в верхней полосе шапки */
.header-accessibility { position: relative; }
.header-access-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: auto;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 9px;
    background: rgba(255,255,255,.06);
    color: #fff;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
    cursor: pointer;
    transition: background .2s, border-color .2s, color .2s;
}
.header-access-button:hover,
.header-access-button:focus-visible,
.header-access-button[aria-expanded="true"] {
    background: #c7192d;
    border-color: #c7192d;
    color: #fff;
}
.header-access-button [aria-hidden="true"] { font-size: 15px; line-height: 1; }

/* Панель «Настройки отображения» */
.accessibility-panel {
    position: fixed !important;
    top: 60px !important;
    right: 20px !important;
    bottom: auto !important;
    z-index: 9999 !important;
    max-height: calc(100dvh - 120px) !important;
    overflow-y: auto;
    border-radius: 14px;
}
/* На главной панель выпадает прямо под кнопкой в шапке */
.header-accessibility .accessibility-panel {
    position: absolute !important;
    top: calc(100% + 12px) !important;
    right: 0 !important;
    left: auto !important;
    bottom: auto !important;
    width: min(360px, calc(100vw - 32px)) !important;
    max-height: calc(100dvh - 140px) !important;
}
.accessibility-panel[aria-hidden="true"] { display: none !important; }
.accessibility-panel[aria-hidden="false"],
.accessibility-panel.active { display: block !important; }

/* Ensure the menu button actually opens the mobile navigation. */
@media (max-width: 760px) {
    .nav { display: none; }
    .nav.open {
        display: flex !important;
        position: fixed;
        inset: 75px 0 0;
        width: 100%;
        max-height: calc(100dvh - 75px);
        overflow-y: auto;
        flex-direction: column;
        align-items: stretch;
        padding: 18px 22px 36px;
        background: #101010;
        z-index: 15000;
    }
    .dropdown-menu { display: none !important; position: static; width: 100%; }
    .dropdown.open .dropdown-menu { display: block !important; }
    .header .logo { width: 92px; min-width: 80px; }
    .header .site-logo { width: 88px; height: 82px; }
    .hero { min-height: 650px; }
    .hero-image { inset: 0; width: 100%; opacity: .38; object-position: center; }
    .hero-bg {
        background: linear-gradient(90deg, rgba(8,8,8,.92), rgba(8,8,8,.62)),
                    linear-gradient(0deg, rgba(8,8,8,.6), transparent);
    }
    .about-grid, .children-grid { grid-template-columns: 1fr; }
    .about-image { aspect-ratio: 4 / 3; min-height: 0; }
    .gym-photo { aspect-ratio: 4 / 3; }
    .children-photo { aspect-ratio: 4 / 5; max-height: 520px; }
    .header-access-button { padding: 0 10px; min-height: 34px; font-size: 12px; }
    .header-access-label { display: none; }
    /* Верхняя полоса выше шапки, чтобы панель настроек не перекрывалась ею */
    .top-bar { z-index: 11500 !important; }
    .header-accessibility .accessibility-panel {
        position: fixed !important;
        top: 52px !important;
        right: 12px !important;
        left: auto !important;
        width: min(340px, calc(100vw - 24px)) !important;
        max-height: calc(100dvh - 72px) !important;
        z-index: 9999 !important;
    }
    .accessibility-panel { max-width: calc(100vw - 24px) !important; }
}
@media (prefers-reduced-motion: reduce) {
    .ticker-track { animation: none !important; }
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
/* Плавное скрытие и появление изображений */
img, video, iframe { transition: opacity .35s ease, filter .35s ease, visibility .35s ease; }
body.access-hide-images img,
body.access-hide-images video,
body.access-hide-images iframe,
body.access-hide-images .hero-image,
body.access-hide-images .about-image img,
body.access-hide-images .gym-photo img,
body.access-hide-images .children-photo img {
    opacity: 0 !important;
    visibility: hidden !important;
}


/* === PATCH 2026-11-26: mobile menu, logo, partners and document cards === */
.header { position:relative; z-index:16010 !important; }
.header .site-logo { background:transparent !important; mix-blend-mode:normal !important; object-fit:contain; }
.menu-toggle .burger-lines { display:flex !important; flex-direction:column !important; justify-content:space-between !important; align-items:center !important; width:25px !important; height:20px !important; background:transparent !important; border:0 !important; box-shadow:none !important; }
.menu-toggle .burger-lines span { display:block !important; position:static !important; width:25px !important; height:2px !important; min-height:2px !important; background:#fff !important; border:0 !important; border-radius:2px !important; opacity:1 !important; transform:none !important; transition:transform .2s ease, opacity .2s ease !important; }
.menu-toggle .burger-lines span:nth-child(2) { opacity:1 !important; }
.partner-card { display:grid; grid-template-columns:minmax(180px,.7fr) minmax(0,1.3fr); gap:34px; align-items:center; padding:34px; border:1px solid rgba(255,255,255,.16); border-radius:14px; background:#151515; }
.partner-mark { display:flex; align-items:center; justify-content:center; min-height:190px; border:1px solid rgba(255,255,255,.14); border-radius:10px; background:linear-gradient(135deg,#1e1e1e,#090909); color:#fff; font-size:clamp(28px,4vw,48px); font-weight:900; letter-spacing:2px; }
.partner-mark span { color:#c7192d; padding:0 12px; }
.partner-copy h3 { margin:12px 0; color:#fff; font-size:clamp(23px,3vw,34px); }
.partner-copy p { max-width:700px; margin:0 0 22px; color:#bcbcbc; line-height:1.7; }
.official-files { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-top:24px; }
.official-files .document-link { min-height:70px; }

@media (max-width:767px) {
  .header { z-index:16010 !important; }
  .header .menu-toggle { z-index:16030 !important; }
  .header .menu-toggle .burger-lines { width:25px !important; height:20px !important; background:transparent !important; }
  .header .menu-toggle .burger-lines span { width:25px !important; height:2px !important; background:#fff !important; }
  .header.mobile-menu-open .menu-toggle { position:fixed !important; top:12px !important; right:16px !important; z-index:16030 !important; background:#1b1b1b !important; }
  .header.mobile-menu-open .menu-toggle .burger-lines { flex-direction:row !important; justify-content:center !important; gap:8px !important; width:24px !important; height:24px !important; }
  .header.mobile-menu-open .menu-toggle .burger-lines span { width:2px !important; height:24px !important; }
  .header.mobile-menu-open .menu-toggle .burger-lines span:nth-child(2) { display:none !important; }
  .nav { z-index:16020 !important; position:fixed !important; inset:0 !important; width:100vw !important; height:100dvh !important; max-height:100dvh !important; overflow-y:auto !important; background:#090909 !important; opacity:0; visibility:hidden; pointer-events:none; transform:translateY(-6px); transition:opacity .18s ease,transform .18s ease,visibility .18s; padding:82px 22px calc(32px + env(safe-area-inset-bottom)) !important; }
  .header.mobile-menu-open .nav { opacity:1 !important; visibility:visible !important; pointer-events:auto !important; transform:none !important; }
  .nav::before { display:block !important; color:#fff !important; background:#090909 !important; margin:0 58px 18px 4px !important; }
  .nav > a,.nav .dropdown-toggle { background:#090909 !important; color:#fff !important; }
  .nav .dropdown-menu { background:#151515 !important; }
  .partner-card { grid-template-columns:1fr; gap:20px; padding:20px; }
  .partner-mark { min-height:125px; }
  .official-files { grid-template-columns:1fr; }
}


/* Client update: partner heading is placed above the partner mark */
.partner-card .partner-copy-heading {
    grid-column: 1 / -1;
}
.partner-card .partner-copy-heading h3 {
    margin-top: 10px;
}
@media (max-width: 767px) {
    .partner-card {
        grid-template-columns: minmax(0, 1fr);
    }
    .partner-card .partner-copy-heading {
        grid-column: 1;
    }
}


/* === Дополнения: партнёрство, реквизиты, документы и соцсети === */
.hero-image {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 38%;
    opacity: .48;
}
.hero-bg {
    background:
        linear-gradient(90deg, rgba(10,10,10,.88) 0%, rgba(10,10,10,.58) 52%, rgba(10,10,10,.28) 100%),
        linear-gradient(0deg, rgba(10,10,10,.78), rgba(10,10,10,.12) 65%, rgba(10,10,10,.3));
}
.partner-card { display: grid; }
.partner-copy-heading { order: 0; }
.partner-mark-image {
    order: 1;
    width: fit-content;
    min-height: 0;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    background: #111;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px;
    overflow: hidden;
}
.partner-mark-image img {
    display: block;
    width: min(260px, 70vw);
    height: auto;
    max-height: none;
    object-fit: cover;
    border-radius: 0;
}
.partner-card > .partner-copy:not(.partner-copy-heading) { order: 2; }

.support-section, .document-gallery-section {
    background: #101010;
    color: #f5f3f0;
}
.support-intro, .documents-intro {
    max-width: 760px;
    color: #aaa;
    line-height: 1.8;
    margin: 22px 0 38px;
}
.requisites-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
    gap: 22px;
    align-items: stretch;
}
.requisites-card, .donation-card {
    padding: clamp(20px, 3vw, 34px);
    background: #191919;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px;
}
.requisites-card h3, .donation-card h3 {
    font-size: clamp(21px, 2.5vw, 28px);
    margin-bottom: 22px;
}
.requisites-list { display: grid; gap: 0; }
.requisites-list > div {
    display: grid;
    grid-template-columns: minmax(150px, .8fr) minmax(0, 1.2fr);
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.requisites-list dt { color: #aaa; }
.requisites-list dd { color: #fff; font-weight: 700; overflow-wrap: anywhere; }
.payment-note, .donation-card p {
    color: #bdbdbd;
    line-height: 1.75;
    margin-top: 20px;
}
.donation-card { display: flex; flex-direction: column; align-items: flex-start; }
.donation-qr {
    width: min(100%, 240px);
    aspect-ratio: 1;
    object-fit: contain;
    background: #fff;
    padding: 8px;
    border-radius: 12px;
    margin: 24px auto 8px;
}
.qr-caption { display: block; width: 100%; text-align: center; color: #aaa; font-size: 13px; }
.support-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
}
.support-gallery figure {
    overflow: hidden;
    background: #191919;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px;
}
.support-gallery img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
.support-gallery figcaption { padding: 14px 16px; color: #ddd; font-weight: 700; }
.support-gallery figure:nth-child(3) img { object-position: top center; }
.document-photo-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 32px;
}
.document-photo-grid a {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px;
    background: #191919;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px;
    transition: transform .2s, border-color .2s;
}
.document-photo-grid a:hover { transform: translateY(-4px); border-color: var(--red); }
.document-photo-grid img {
    width: 100%;
    height: 230px;
    object-fit: contain;
    object-position: top center;
    background: #f4f4f4;
    border-radius: 8px;
}
.document-photo-grid strong { color: #fff; line-height: 1.4; }
.document-photo-grid span { color: #e22a40; font-size: 13px; font-weight: 700; }
.social-links, .footer-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 12px;
}
.social-links a, .footer-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 13px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    color: #fff;
    font-size: 13px;
    transition: .2s;
}
.social-links a:hover, .footer-social-links a:hover {
    background: var(--red);
    border-color: var(--red);
}
.footer-social-links { margin-top: 8px; }
.footer-social-links a { padding: 7px 10px; font-size: 11px; }
@media (max-width: 800px) {
    .requisites-layout { grid-template-columns: 1fr; }
    .document-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .document-photo-grid img { height: 190px; }
}
@media (max-width: 560px) {
    .hero-image { object-position: 55% center; opacity: .36; }
    .support-gallery { grid-template-columns: 1fr; }
    .requisites-list > div { grid-template-columns: 1fr; gap: 5px; }
    .document-photo-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .document-photo-grid a { padding: 9px; }
    .document-photo-grid img { height: 160px; }
    .social-links a { padding: 8px 10px; font-size: 12px; }
}

.foundation-year{display:inline-block;margin:12px 0 6px;padding:8px 12px;border-left:3px solid var(--red);background:rgba(199,25,45,.1);color:#e6e6e6;font-size:12px;font-weight:800;letter-spacing:1.2px}

/* Исправление кадрирования фотографии юных спортсменов */
.children-photo img {
    object-fit: cover !important;
    object-position: center top !important;
}


/* ==========================================================
   ТОЧЕЧНЫЕ ПРАВКИ 2026-11-28
   ========================================================== */

/* 1. Фото воспитанников: кадр выше и без пустой полосы снизу */
.children-photo { overflow: hidden; }
.children-photo .children-photo-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
}

/* 2. Секция 04: текст начинается по левому краю контейнера */
.children-grid > .children-content {
    width: 100%;
    max-width: 900px;
    margin-left: 0;
    margin-right: 0;
    text-align: left;
}

/* 3. Выпадающее меню: прозрачный мостик вместо разрыва и новый стиль */
@media (min-width: 768px) {
    .dropdown-menu {
        top: calc(100% + 12px);
        width: 390px;
        padding: 9px;
        overflow: visible;
        background: rgba(18, 18, 18, .96);
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
        border: 1px solid rgba(255, 255, 255, .12);
        border-top: 1px solid rgba(255, 255, 255, .12);
        border-radius: 12px;
        box-shadow: 0 18px 45px rgba(0, 0, 0, .48);
    }
    .dropdown-menu::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: -13px;
        height: 13px;
        background: transparent;
    }
    .dropdown-menu a {
        position: relative;
        display: block;
        margin: 2px 0;
        padding: 11px 13px 11px 22px;
        border: 0;
        border-radius: 7px;
        color: #dedede;
        background: transparent;
        line-height: 1.45;
        transition: transform .2s ease, color .2s ease, background-color .2s ease;
    }
    .dropdown-menu a::before {
        content: "";
        position: absolute;
        left: 10px;
        top: 50%;
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background: rgba(220, 38, 38, 0);
        transform: translateY(-50%);
        transition: background-color .2s ease, height .2s ease;
    }
    .dropdown-menu a:hover,
    .dropdown-menu a:focus-visible {
        padding-left: 22px;
        color: #fff;
        background: rgba(220, 38, 38, .16);
        transform: translateX(5px);
    }
    .dropdown-menu a:hover::before,
    .dropdown-menu a:focus-visible::before {
        height: 17px;
        background: #e01625;
    }
}

/* На мобильных сохраняем раскрытие списка внутри полноэкранной навигации */
@media (max-width: 767px) {
    .nav .dropdown-menu {
        top: auto;
        padding: 5px 0 10px 12px;
        background: #151515;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }
    .nav .dropdown-menu::before { content: none; }
    .nav .dropdown-menu a { margin: 0; transform: none; }
}


/* ==========================================================
   ПАНЕЛЬ «ВЕРСИЯ ДЛЯ СЛАБОВИДЯЩИХ» — единый фирменный стиль
   Общая тема для главной страницы (index.html) и раздела sveden/
   ========================================================== */
.accessibility-panel {
    padding: 18px !important;
    background: rgba(18, 18, 20, 0.96) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    backdrop-filter: blur(14px) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 14px !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.65) !important;
    color: #F3F4F6 !important;
}

/* Заголовок панели */
.accessibility-panel-header { margin-bottom: 12px !important; }
.accessibility-panel-header h3,
.accessibility-panel-inner > strong {
    display: block;
    margin: 0 0 12px;
    color: #FFFFFF !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    letter-spacing: .2px;
    line-height: 1.35;
}
.accessibility-panel-header h3 { margin-bottom: 0; }

/* Кнопка закрытия (главная страница) */
.accessibility-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.06) !important;
    color: #F3F4F6 !important;
    font-size: 18px !important;
    line-height: 1;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.accessibility-close:hover,
.accessibility-close:focus-visible {
    background: #DC2626 !important;
    border-color: #DC2626 !important;
    color: #fff !important;
}

/* Группы настроек (главная страница) */
.accessibility-control {
    border-top: 1px solid rgba(255, 255, 255, 0.10) !important;
    color: #F3F4F6 !important;
}
.accessibility-control-label { color: #F3F4F6 !important; }

/* Сетка кнопок: 2 колонки с отступом 8px */
.accessibility-choice-row,
.accessibility-panel-inner {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
}
.accessibility-panel-inner > strong { grid-column: 1 / -1; }
.accessibility-choice-row > .accessibility-choice:only-child { grid-column: 1 / -1; }

/* Кнопки внутри панели */
.accessibility-choice,
.accessibility-option button,
.accessibility-panel-inner button,
.accessibility-reset {
    -webkit-appearance: none;
    appearance: none;
    padding: 9px 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.06) !important;
    color: #F3F4F6 !important;
    box-shadow: none !important;
    font: inherit;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.3;
    text-align: center;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.accessibility-choice:hover,
.accessibility-choice:focus-visible,
.accessibility-option button:hover,
.accessibility-panel-inner button:hover,
.accessibility-panel-inner button:focus-visible,
.accessibility-reset:hover {
    background: rgba(220, 38, 38, 0.2) !important;
    border-color: #DC2626 !important;
    color: #fff !important;
}

/* Включённый (активный) режим подсвечивается фирменным красным */
.accessibility-choice[aria-pressed="true"],
.accessibility-option button[aria-pressed="true"],
body.access-font-large .accessibility-panel-inner button:nth-of-type(1),
body.access-hide-images .accessibility-panel-inner button:nth-of-type(2),
body.access-contrast-dark .accessibility-panel-inner button:nth-of-type(3),
body.access-contrast-light .accessibility-panel-inner button:nth-of-type(4) {
    background: #DC2626 !important;
    border-color: #DC2626 !important;
    color: #fff !important;
}

/* Кнопка сброса — на всю ширину, приглушённый стиль */
.accessibility-reset,
.accessibility-panel-inner button:last-of-type {
    grid-column: 1 / -1;
    width: 100% !important;
    margin-top: 4px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    color: #cfcfd3 !important;
}

/* Контрастные режимы: панель остаётся читаемой и не сливается с фоном */
body.access-contrast-light .accessibility-panel {
    background: #ffffff !important;
    border: 1px solid #111111 !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45) !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}
body.access-contrast-light .accessibility-panel * {
    background-color: #ffffff !important;
    color: #111111 !important;
    border-color: #111111 !important;
}
body.access-contrast-dark .accessibility-panel {
    background: #000000 !important;
    border: 1px solid #ffffff !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.75) !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}
body.access-contrast-dark .accessibility-panel * {
    background-color: #000000 !important;
    color: #ffffff !important;
    border-color: #ffffff !important;
}

/* Фото воспитанников — корректное кадрирование */
.children-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 12%;
}

/* Секция «04 — СПОРТ ДЛЯ ДЕТЕЙ» — выравнивание по левому краю */
.children-grid > .children-content {
    width: 100%;
    max-width: 900px;
    margin-left: 0;
    margin-right: 0;
    text-align: left;
}

/* ==========================================================
   БЕГУЩАЯ СТРОКА — бесшовный бесконечный цикл
   Дорожка продублирована 2 раза; каждая половина равной ширины,
   поэтому translateX(-50%) сдвигает ровно один набор текста.
   ========================================================== */
.ticker-track { gap: 0 !important; }
.ticker-group {
    display: flex;
    align-items: center;
    gap: 34px;
    flex-shrink: 0;
    min-width: 100%;
    padding-right: 34px;
}

/* ==========================================================
   АДАПТАЦИЯ ТЕКСТА, КАРТОЧЕК, ТАБЛИЦ И КНОПОК
   ПРИ РЕЖИМАХ ДОСТУПНОСТИ (шрифт и контрастность)
   ========================================================== */
body.access-font-large :is(h1,h2,h3,h4,h5,h6,p,a,span,li,strong,small,td,th,label,figcaption,button,input,textarea,select),
body.access-contrast-dark :is(h1,h2,h3,h4,h5,h6,p,a,span,li,strong,small,td,th,label,figcaption,button,input,textarea,select),
body.access-contrast-light :is(h1,h2,h3,h4,h5,h6,p,a,span,li,strong,small,td,th,label,figcaption,button,input,textarea,select) {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

body.access-font-large :is(.button,.header-button,.header-access-button,.text-link,.topbar-cabinet,.register-button,.document-link,.direction-card,.partner-card,.value-item,.requisites-card,.donation-card,.contact-item,.sveden-card,.info-card,.official-notice,.sveden-menu a,.accessibility-choice,.accessibility-panel-inner button,.accessibility-reset),
body.access-contrast-dark :is(.button,.header-button,.header-access-button,.text-link,.topbar-cabinet,.register-button,.document-link,.direction-card,.partner-card,.value-item,.requisites-card,.donation-card,.contact-item,.sveden-card,.info-card,.official-notice,.sveden-menu a,.accessibility-choice,.accessibility-panel-inner button,.accessibility-reset),
body.access-contrast-light :is(.button,.header-button,.header-access-button,.text-link,.topbar-cabinet,.register-button,.document-link,.direction-card,.partner-card,.value-item,.requisites-card,.donation-card,.contact-item,.sveden-card,.info-card,.official-notice,.sveden-menu a,.accessibility-choice,.accessibility-panel-inner button,.accessibility-reset) {
    height: auto !important;
    min-height: fit-content;
    white-space: normal;
}

/* Таблицы: рамки и текст контрастно меняются под выбранную тему */
body.access-contrast-dark :is(.info-table,.data-table) th,
body.access-contrast-dark :is(.info-table,.data-table) td { border-color: #fff !important; color: #fff !important; }
body.access-contrast-light :is(.info-table,.data-table) th,
body.access-contrast-light :is(.info-table,.data-table) td { border-color: #000 !important; color: #000 !important; }
