

/* Start:/bitrix/components/bitrix/menu/templates/.default/style.min.css?1781461675490*/
ul.left-menu{list-style:none;margin:0;padding:0;margin-bottom:8px;position:relative}ul.left-menu li{padding:10px 16px;background:#f5f5f5 url(/bitrix/components/bitrix/menu/templates/.default/images/left_menu_bg.gif) top repeat-x}ul.left-menu li a{font-size:100%;color:#bc262c;font-weight:bold;text-decoration:none}ul.left-menu li a:visited{color:#bc262c}ul.left-menu li a:hover{color:#bc262c}ul.left-menu li a.selected:link,ul.left-menu li a.selected:visited,ul.left-menu li a.selected:active,ul.left-menu li a.selected:hover{color:#fc8d3d}
/* End */


/* Start:/bitrix/components/bitrix/form.result.new/templates/.default/style.css?1781461680666*/
table.form-table
{
	width:100%;
	background-color:white;
	border-collapse:collapse;
	font-size:100%;
	font-weight:normal;
	line-height:160%;
}

table.form-table th, table.form-table td
{
	border:1px solid #ADC3D5;
	padding: 5px 5px;
	vertical-align:top;
}

table.form-table th
{
	background-image:url(/bitrix/components/bitrix/form.result.new/templates/.default/images/table_head.gif);
	background-repeat:repeat-x;
	text-align: left;
	color:#25639A;
}


table.form-table td
{
	padding: 15px 5px;
}

.form-required 
{
	color: red;
}

.error-fld {
	display: block;
	float: left;
	height: 13px;
	width: 15px;
	background-repeat: no-repeat;
	background-image: url(/bitrix/components/bitrix/form.result.new/templates/.default/images/icon_warn.gif);
}
/* End */


/* Start:/bitrix/templates/klas7/styles.css?178162335039116*/
/* ===== Переменные ===== */
:root {
    --bg: #fbf7ef;
    --white: #ffffff;
    --text: #2b241d;
    --muted: #6e6457;
    --line: #e6dbc8;
    --accent: #dfb34d;
    --accent-dark: #b88924;
    --shadow: 0 14px 36px rgba(55,33,5,.08);
    --radius: 24px;
    --max: 1200px;
}

/* ===== Сброс ===== */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ===== Контейнер ===== */
.container {
    width: min(var(--max), calc(100% - 32px));
    margin: 0 auto;
}

/* ===== Шапка ===== */
.site-header {
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 90px;
    padding: 8px 0;
}
.header-logo img { max-height: 80px; width: auto; }
.header-brand { display: flex; flex-direction: column; line-height: 1.2; }
.header-brand__name { font-size: 20px; font-weight: 800; color: #222; }
.header-brand__sub { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: #888; }
.header-socials {
    display: flex;
    gap: 8px;
    margin-left: auto;
}

/* Базовый стиль всех соцкнопок */
.header-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #f0f0f0;
    color: #555;
    transition: background .2s ease, color .2s ease, transform .15s ease;
    text-decoration: none;
}

.header-social svg {
    width: 22px;
    height: 22px;
}

/* Лёгкий подъём на ховере для всех */
.header-social:hover {
    transform: translateY(-1px);
}

/* Индивидуальные цвета на ховере */
.header-social--wa:hover   { background: #25d366; color: #fff; } /* WhatsApp */
.header-social--tg:hover   { background: #2ca5e0; color: #fff; } /* Telegram */
.header-social--vk:hover   { background: #4a76a8; color: #fff; } /* VK */
.header-social--max:hover  { background: #005ff9; color: #fff; } /* Max/Mail.ru стиль */
.header-social--mail:hover { background: #ff9800; color: #fff; } /* Email */

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-phones {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.header-phone {
    font-size: 16px;
    font-weight: 700;
    color: #222;
    text-decoration: none;
    line-height: 1.3;
}

.header-phone:hover {
    color: #f5a623;
}

.header-address {
    font-size: 12px;
    color: #888;
}
.header-burger {
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    gap: 5px; width: 52px; height: 52px; border-radius: 12px;
    background: #f5a623; border: none; cursor: pointer; flex-shrink: 0;
}
.header-burger span { display: block; width: 24px; height: 3px; background: #fff; border-radius: 2px; }
.header-nav { background: #f8f8f8; border-top: 1px solid #eee; }
.header-nav .header-menu { display: flex; gap: 0; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.header-nav .header-menu__item a,
.header-nav .header-menu__link {
    display: block; padding: 12px 18px; font-size: 14px; font-weight: 600;
    color: #333; text-decoration: none; transition: .2s ease;
}
.header-nav .header-menu__item a:hover,
.header-nav .header-menu__link:hover { color: #f5a623; background: #fff5e6; }
.header-nav .header-menu__item--active a,
.header-nav .header-menu__item--active .header-menu__link { color: #f5a623; border-bottom: 3px solid #f5a623; }

/* ===== Герой ===== */
.hero { position: relative; overflow: hidden; min-height: 520px; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.hero__inner {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 40px; padding: 60px 0; align-items: start;
}
.hero__content { background: rgba(255,255,255,.88); border-radius: 20px; padding: 32px; color: #222; }
.hero__sup { font-size: 13px; font-weight: 600; text-transform: uppercase; color: #f5a623; line-height: 1.6; margin: 0 0 16px; }
.hero__title { font-size: 56px; font-weight: 900; text-transform: uppercase; line-height: 1.05; margin: 0 0 20px; color: #222; }
.hero__list { list-style: none; padding: 0; margin: 0 0 32px; font-size: 18px; font-weight: 600; color: #222; line-height: 1.8; }
.hero__btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 32px; border-radius: 999px; background: #f5a623;
    color: #fff; border: none; font-size: 15px; font-weight: 700;
    text-transform: uppercase; cursor: pointer; transition: .2s ease;
}
.hero__btn:hover { background: #e09510; }
.hero__cards { display: flex; flex-direction: column; gap: 12px; }
.hero-dir {
    background: rgba(255,255,255,.92); border-radius: 16px; padding: 18px 20px;
    display: flex; align-items: flex-start; gap: 16px; box-shadow: 0 4px 16px rgba(0,0,0,.08);
}
.hero-dir__icon {
    flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px;
    background: #fff5e0; display: flex; align-items: center; justify-content: center;
}
.hero-dir__title { margin: 0 0 6px; font-size: 17px; font-weight: 700; color: #222; }
.hero-dir__text { margin: 0; font-size: 14px; color: #555; line-height: 1.5; }

/* ===== Секции ===== */
.section { padding: 40px 0; }
.section-title { margin: 0 0 8px; font-size: 32px; line-height: 1.2; }
.section-subtitle { margin: 0; color: var(--muted); font-size: 18px; }
.accent { color: var(--accent-dark); font-weight: 700; }

/* ===== Слайдер карточек ===== */
.programs-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}
.slider-arrows { display: flex; gap: 8px; flex-shrink: 0; }
.slider-arrow {
    width: 44px; height: 44px; border-radius: 50%;
    border: 2px solid #f5a623; background: #fff; color: #f5a623;
    font-size: 22px; line-height: 1; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: .2s ease; flex-shrink: 0;
}
.slider-arrow:hover { background: #f5a623; color: #fff; }

.cards-slider-wrap {
    width: 100%;
    overflow: clip;
}
.cards-slider {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 16px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 2px 8px;
}
.cards-slider::-webkit-scrollbar { display: none; }

.cards-slider > article.card {
    flex: 0 0 260px;
    width: 260px;
    min-width: 260px;
    max-width: 260px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.cards-slider > article.card img.card__image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
}
.cards-slider > article.card .card__body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}
.cards-slider > article.card .card__title { font-size: 15px; font-weight: 700; margin: 0 0 4px; line-height: 1.3; }
.cards-slider > article.card .card__text { font-size: 13px; margin: 0; color: var(--muted); line-height: 1.4; flex: 1; }
.cards-slider > article.card .card__action {
    display: inline-block; font-size: 13px; padding: 7px 14px;
    align-self: flex-start; border: none; border-radius: 999px;
    background: var(--accent); color: #322407; font-weight: 600;
    cursor: pointer; transition: .2s ease; margin-top: 8px;
}
.cards-slider > article.card .card__action:hover { background: #e7bd5c; }

/* ===== О клубе ===== */
#about .section-title { font-size: 34px; }
.about p { margin: 0 0 10px; color: var(--muted); font-size: 16px; }
.btn-more {
    display: inline-block; margin-top: 16px; padding: 10px 24px;
    border-radius: 999px; background: var(--accent); color: #322407; font-weight: 700; transition: .2s ease;
}
.btn-more:hover { background: #e7bd5c; }

/* ===== Форма в футере ===== */

/* Обёртка формы */
#footer-form {
    background: #fff;
    border-radius: 20px;
    padding: 32px;
    color: #222;
}

#footer-form .footer-form__title {
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 800;
    color: #222;
}

#footer-form .footer-form__desc {
    margin: 0 0 20px;
    color: #666;
    font-size: 15px;
}

/* Таблица формы */
#footer-form .form-table,
#footer-form table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

#footer-form thead { display: none; }

#footer-form tbody tr {
    display: flex;
    flex-direction: column;
    margin-bottom: 14px;
}

/* Метка поля */
#footer-form tbody td:first-child {
    font-size: 13px;
    font-weight: 700;
    color: #444;
    margin-bottom: 5px;
    padding: 0;
}

/* Ячейка с инпутом */
#footer-form tbody td:last-child {
    width: 100%;
    padding: 0;
}

/* Все поля ввода */
#footer-form textarea,
#footer-form input[type="text"],
#footer-form input[type="email"],
#footer-form input[type="tel"],
#footer-form .inputtextarea,
#footer-form .inputtext {
    width: 100%;
    background: #f8f6f2;
    border: 1.5px solid #e0d5c5;
    border-radius: 10px;
    padding: 11px 14px;
    font: inherit;
    font-size: 15px;
    color: #222;
    outline: none;
    resize: none;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
    min-height: 44px;
    max-height: 44px;
    box-sizing: border-box;
    line-height: 1.5;
    overflow: hidden;
    -webkit-appearance: none;
}

/* Поле «Вопрос» — многострочное */
#footer-form textarea[name="form_textarea_1"] {
    min-height: 100px;
    max-height: 200px;
    resize: vertical;
    overflow: auto;
}

/* Поле «Когда перезвонить» */
#footer-form textarea[name="form_textarea_21"] {
    min-height: 60px;
    max-height: 100px;
    resize: vertical;
    overflow: auto;
}

/* Фокус */
#footer-form textarea:focus,
#footer-form input[type="text"]:focus,
#footer-form input[type="email"]:focus,
#footer-form input[type="tel"]:focus {
    border-color: #f5a623;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(245,166,35,.15);
}

#footer-form textarea::placeholder,
#footer-form input::placeholder {
    color: #aaa;
}

/* Чекбокс согласия */
#footer-form tbody tr:has(input[type="checkbox"]) {
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    margin-top: 4px;
}

#footer-form input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    accent-color: #f5a623;
    cursor: pointer;
    margin-top: 2px;
    border-radius: 4px;
}

/* Футер таблицы */
#footer-form tfoot { display: block; }
#footer-form tfoot th { padding: 10px 0 0; text-align: left; display: block; }

/* Скрываем лишние кнопки */
#footer-form input[name="web_form_apply"],
#footer-form input[type="reset"] {
    display: none !important;
}

/* Кнопка Отправить */
#footer-form input[name="web_form_submit"] {
    display: block;
    width: 100%;
    min-height: 52px;
    border: none;
    border-radius: 12px;
    background: #f5a623;
    color: #fff;
    font: inherit;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    cursor: pointer;
    transition: background .2s ease, transform .15s ease;
    box-shadow: 0 6px 20px rgba(245,166,35,.35);
    -webkit-appearance: none;
}

#footer-form input[name="web_form_submit"]:hover {
    background: #e09510;
    transform: translateY(-2px);
}

#footer-form input[name="web_form_submit"]:active {
    transform: translateY(0);
    background: #c97f00;
}

/* Обязательные поля */
#footer-form .form-required,
#footer-form .starrequired {
    color: #f5a623;
    font-size: 12px;
}

/* Ошибки */
#footer-form .errortext,
#footer-form font[color="red"] {
    color: #d93025 !important;
    font-size: 12px;
    margin-top: 4px;
    display: block;
}

/* Успех */
#footer-form .form-result-success,
#footer-form div.form-result-success {
    padding: 16px 20px;
    border-radius: 12px;
    background: #f0faf0;
    border: 1px solid #b2d8b2;
    color: #2a6a2a;
    font-weight: 700;
    font-size: 15px;
    margin-top: 16px;
    text-align: center;
}

/* Сноска */
#footer-form > p,
#footer-form p:last-of-type {
    color: #999;
    font-size: 11px;
    margin-top: 10px;
}

/* Скрываем заголовок внутри таблицы */
#footer-form table td h3,
#footer-form table th h3 { display: none; }

/* ===== ПК (> 1024px) ===== */
@media (min-width: 1024px) {
    #footer-form {
        padding: 40px;
        border-radius: 24px;
        box-shadow: 0 8px 32px rgba(0,0,0,.12);
    }

    #footer-form textarea,
    #footer-form input[type="text"],
    #footer-form input[type="email"],
    #footer-form input[type="tel"] {
        font-size: 15px;
        padding: 13px 16px;
    }

    #footer-form input[name="web_form_submit"] {
        font-size: 16px;
        min-height: 54px;
    }
}

/* ===== Мобилки (< 768px) ===== */
@media (max-width: 767px) {
    #footer-form {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 2000;
        border-radius: 20px 20px 0 0;
        padding: 24px 20px 32px;
        box-shadow: 0 -8px 40px rgba(0,0,0,.18);
        max-height: 90vh;
        overflow-y: auto;
        transform: translateY(100%);
        transition: transform .35s cubic-bezier(.4,0,.2,1);
    }

    #footer-form.is-open {
        transform: translateY(0);
    }

    /* Полоска-ручка сверху */
    #footer-form::before {
        content: '';
        display: block;
        width: 48px;
        height: 4px;
        background: #ddd;
        border-radius: 999px;
        margin: 0 auto 20px;
    }

    #footer-form textarea,
    #footer-form input[type="text"],
    #footer-form input[type="email"],
    #footer-form input[type="tel"] {
        font-size: 16px; /* предотвращает зум на iOS */
        padding: 13px 14px;
    }

    #footer-form input[name="web_form_submit"] {
        font-size: 15px;
        min-height: 52px;
    }

    /* Затемнение фона при открытой форме */
    body.form-open::after {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,.5);
        z-index: 1999;
    }
}
/* ===== FOOTER ===== */
.footer-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

.footer-contacts {
    flex: 1 1 260px;
}

.footer-form {
    flex: 1 1 320px;
}

/* Мобильные */

.footer-logo img { max-height: 70px; width: auto; margin-bottom: 12px; }
.footer-name { margin: 0 0 4px; font-size: 18px; font-weight: 800; color: #fff; }
.footer-sub { margin: 0 0 16px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: #aaa; }
.footer-phone { display: block; font-size: 18px; font-weight: 700; color: #f5a623; margin-bottom: 6px; }
.footer-phone:hover { color: #ffc34d; }
.footer-address { margin: 12px 0 0; font-size: 14px; color: #aaa; }
.footer-form__title { margin: 0 0 8px; font-size: 24px; font-weight: 800; color: #fff; }
.footer-form__desc { margin: 0 0 20px; color: #aaa; font-size: 15px; }
.footer-bottom { border-top: 1px solid #444; padding-top: 20px; text-align: center; color: #777; font-size: 13px; }

/* ===== Адаптив для ПК (> 1024px) ===== */
@media (min-width: 1024px) {
    .hero__inner { grid-template-columns: 1.1fr .9fr; gap: 48px; }
    .hero__title { font-size: 64px; }
    .cards-slider > article.card { flex: 0 0 280px; width: 280px; min-width: 280px; max-width: 280px; }
    .cards-slider > article.card img.card__image { height: 180px; }
    .section-title { font-size: 36px; }
}

/* ===== Адаптив планшет (768px — 1023px) ===== */
@media (max-width: 1023px) and (min-width: 768px) {
    .hero__inner { grid-template-columns: 1fr 1fr; gap: 24px; padding: 40px 0; }
    .hero__title { font-size: 42px; }
    .hero__sup { font-size: 12px; }
    .header-brand { display: none; }
    .cards-slider > article.card { flex: 0 0 240px; width: 240px; min-width: 240px; max-width: 240px; }
    .footer-inner { gap: 32px; }
}

/* ===== Адаптив мобилки (< 768px) ===== */
@media (max-width: 767px) {
    /* Шапка */
    .header-inner { min-height: 70px; gap: 12px; }
    .header-logo img { max-height: 56px; }
    .header-brand { display: none; }
    .header-socials { display: none; }
    .header-phones { align-items: flex-start; }
    .header-phone { font-size: 13px; }
    .header-address { display: none; }
    .header-burger { width: 44px; height: 44px; }

    /* Меню */
    .header-nav .header-menu { flex-wrap: wrap; }
    .header-nav .header-menu__item a,
    .header-nav .header-menu__link { padding: 10px 12px; font-size: 13px; }

    /* Герой */
    .hero { min-height: auto; }
    .hero__inner { grid-template-columns: 1fr; padding: 24px 0; gap: 16px; }
    .hero__content { padding: 20px; border-radius: 16px; }
    .hero__title { font-size: 32px; }
    .hero__sup { font-size: 11px; }
    .hero__list { font-size: 15px; margin-bottom: 20px; }
    .hero__btn { padding: 12px 24px; font-size: 14px; }
    .hero__cards { gap: 10px; }
    .hero-dir { padding: 14px 16px; gap: 12px; }
    .hero-dir__icon { width: 40px; height: 40px; }
    .hero-dir__title { font-size: 15px; }
    .hero-dir__text { font-size: 13px; }

    /* Секции */
    .section { padding: 28px 0; }
    .section-title { font-size: 24px; }
    .section-subtitle { font-size: 15px; }

    /* Слайдер */
    .programs-head { gap: 8px; }
    .slider-arrow { width: 38px; height: 38px; font-size: 18px; }
    .cards-slider { gap: 12px; }
    .cards-slider > article.card { flex: 0 0 200px; width: 200px; min-width: 200px; max-width: 200px; }
    .cards-slider > article.card img.card__image { height: 130px; }
    .cards-slider > article.card .card__title { font-size: 13px; }
    .cards-slider > article.card .card__text { font-size: 12px; }

    /* О клубе */
    #about .section-title { font-size: 26px; }
    .about p { font-size: 14px; }

    /* Футер */
    .site-footer { padding: 32px 0 20px; margin-top: 40px; }
    .footer-inner { flex-direction: column; gap: 24px; }
    .footer-name { font-size: 16px; }
    .footer-phone { font-size: 16px; }
    .footer-form__title { font-size: 20px; }
    .footer-bottom { font-size: 12px; }
}

/* ===== Очень маленькие экраны (< 400px) ===== */
@media (max-width: 399px) {
    .hero__title { font-size: 26px; }
    .header-phones { display: none; }
    .cards-slider > article.card { flex: 0 0 180px; width: 180px; min-width: 180px; max-width: 180px; }
    .cards-slider > article.card img.card__image { height: 110px; }
}
/* ===== Регистрация и вход ===== */

.reg-wrap {
    max-width: 480px;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.reg-wrap input[type="text"],
.reg-wrap input[type="email"],
.reg-wrap input[type="password"] {
    width: 100%;
    border: 1.5px solid #e0d5c5;
    border-radius: 10px;
    padding: 12px 14px;
    font: inherit;
    font-size: 15px;
    color: #222;
    background: #f8f6f2;
    outline: none;
    transition: border-color .2s ease;
    margin-bottom: 14px;
    box-sizing: border-box;
}

.reg-wrap input[type="text"]:focus,
.reg-wrap input[type="email"]:focus,
.reg-wrap input[type="password"]:focus {
    border-color: #f5a623;
    background: #fff;
}

.reg-wrap input[type="submit"] {
    width: 100%;
    min-height: 50px;
    border: none;
    border-radius: 12px;
    background: #f5a623;
    color: #fff;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .2s ease;
}

.reg-wrap input[type="submit"]:hover {
    background: #e09510;
}

.reg-wrap label {
    font-size: 13px;
    font-weight: 700;
    color: #444;
    display: block;
    margin-bottom: 5px;
}

.reg-wrap a {
    color: #f5a623;
    text-decoration: underline;
    font-size: 14px;
}
/* ===== Кнопка входа в шапке ===== */

.header-auth-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 999px;
    background: #f5a623;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: .2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.header-auth-btn:hover {
    background: #e09510;
    color: #fff;
}

.header-auth-btn--out {
    background: transparent;
    border: 2px solid #f5a623;
    color: #f5a623;
    padding: 6px 14px;
}

.header-auth-btn--out:hover {
    background: #f5a623;
    color: #fff;
}

.header-user {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.header-user__name {
    font-size: 13px;
    font-weight: 700;
    color: #222;
    text-decoration: none;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.header-user__name:hover {
    color: #f5a623;
}

@media (max-width: 767px) {
    .header-auth-btn {
        padding: 7px 12px;
        font-size: 13px;
    }

    .header-user__name {
        display: none;
    }
}
/* ===== Страница входа и регистрации ===== */

.auth-wrap {
    max-width: 480px;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.auth-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 28px;
    border-bottom: 2px solid #f0ece4;
}

.auth-tab {
    flex: 1;
    padding: 12px;
    background: none;
    border: none;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    color: #aaa;
    cursor: pointer;
    transition: .2s ease;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}

.auth-tab--active {
    color: #f5a623;
    border-bottom-color: #f5a623;
}

.auth-panel {
    display: none;
}

.auth-panel--active {
    display: block;
}

.reg-form__group {
    margin-bottom: 16px;
}

.reg-form__label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #444;
    margin-bottom: 6px;
}

.req {
    color: #f5a623;
}

.reg-form__input {
    width: 100%;
    border: 1.5px solid #e0d5c5;
    border-radius: 10px;
    padding: 12px 14px;
    font: inherit;
    font-size: 15px;
    color: #222;
    background: #f8f6f2;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
    box-sizing: border-box;
}

.reg-form__input:focus {
    border-color: #f5a623;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(245,166,35,.15);
}

.reg-form__group--check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 4px;
}

.reg-form__group--check input {
    width: 18px;
    height: 18px;
    min-width: 18px;
    accent-color: #f5a623;
    margin-top: 2px;
}

.reg-form__group--check label {
    font-size: 13px;
    color: #666;
}

.reg-form__group--check a {
    color: #f5a623;
    text-decoration: underline;
}

.reg-form__btn {
    width: 100%;
    min-height: 50px;
    border: none;
    border-radius: 12px;
    background: #f5a623;
    color: #fff;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .2s ease;
    margin-top: 8px;
}

.reg-form__btn:hover {
    background: #e09510;
}

.reg-form__hint {
    text-align: center;
    font-size: 13px;
    color: #888;
    margin-top: 16px;
}

.reg-form__hint a {
    color: #f5a623;
    font-weight: 700;
    text-decoration: underline;
}

.reg-form__error {
    padding: 10px 14px;
    border-radius: 10px;
    background: #fff0f0;
    border: 1px solid #ffcccc;
    color: #d93025;
    font-size: 13px;
    margin-bottom: 12px;
}

.reg-form__success {
    padding: 10px 14px;
    border-radius: 10px;
    background: #f0faf0;
    border: 1px solid #b2d8b2;
    color: #2a6a2a;
    font-size: 13px;
    margin-bottom: 12px;
}

@media (max-width: 767px) {
    .auth-wrap {
        padding: 24px 20px;
        border-radius: 16px;
    }
}
/* ===== Скрытие второго логина ===== */
.header-nav a[href="/login/"] {
    display: none !important;
}
/* ===== Плавающая кнопка вызова формы ===== */
.fab-callback {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 1998;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #f5a623;
    color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(245,166,35,.5);
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
    -webkit-tap-highlight-color: transparent;
}

.fab-callback:hover {
    background: #e09510;
    transform: scale(1.08);
    box-shadow: 0 10px 32px rgba(245,166,35,.6);
}

.fab-callback:active {
    transform: scale(0.97);
    background: #c97f00;
}

/* Скрываем когда форма открыта (мобильный) */
body.form-open .fab-callback {
    opacity: 0;
    pointer-events: none;
}

/* Планшет */
@media (max-width: 1023px) {
    .fab-callback {
        bottom: 24px;
        right: 24px;
        width: 60px;
        height: 60px;
    }
}

/* Мобильный */
@media (max-width: 767px) {
    .fab-callback {
        bottom: 20px;
        right: 16px;
        width: 56px;
        height: 56px;
    }
}

/* ===== БУРГЕР-КНОПКА (единственный блок) ===== */
.header-burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: #f5a623;  /* оранжевый фон */
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
    z-index: 100;
}
.header-burger span {
    display: block;
    width: 24px;
    height: 3px;
    background: #fff;  /* белые полоски — видны на оранжевом */
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}
.header-burger.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.header-burger.is-active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.header-burger.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ===== OVERLAY ===== */
.burger-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 3000;  /* выше всего */
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}
.burger-menu-overlay.is-open {
    display: block;
}

/* ===== DRAWER ===== */
.burger-menu-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100%;
    background: #fff;
    z-index: 3001;  /* выше overlay, fab, формы */
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
    transition: right 0.3s cubic-bezier(.4, 0, .2, 1);
    border-radius: 16px 0 0 16px;
    overflow: hidden;
}
.burger-menu-drawer.is-open {
    right: 0;
}

.burger-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 22px 16px;
    background: #f9c11e;
    flex-shrink: 0;
}
.burger-menu-header__title {
    font-weight: 700;
    font-size: 1.1rem;
    color: #222;
    margin: 0;
}
.burger-menu-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 8px;
    color: #333;
    line-height: 1;
    font-size: 1.6rem;
    border-radius: 6px;
    transition: color 0.15s, background 0.15s;
}
.burger-menu-close:hover {
    color: #c00;
    background: rgba(0, 0, 0, 0.06);
}

.burger-menu-nav {
    flex: 1;
    overflow-y: auto;
    padding: 8px 0;
}
.burger-menu-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.burger-menu-nav li {
    border-bottom: 1px solid #f0f0f0;
}
.burger-menu-nav li:last-child {
    border-bottom: none;
}
.burger-menu-nav a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 24px;
    color: #222;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: background 0.15s, color 0.15s;
}
.burger-menu-nav a:hover {
    background: #fff8e1;
    color: #c00;
}
.burger-menu-nav .menu-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9c11e;
    border-radius: 8px;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.burger-menu-footer {
    padding: 16px 22px;
    border-top: 1px solid #f0f0f0;
    font-size: 0.85rem;
    color: #888;
    text-align: center;
    flex-shrink: 0;
}
.burger-menu-footer a {
    color: #1565c0;
    text-decoration: none;
    font-weight: 600;
}
.burger-menu-footer a:hover {
    text-decoration: underline;
}
/* ===== Адаптив мобилки (< 768px) ===== */
@media (max-width: 767px) {

    /* ── Контейнер ── */
    .container {
        width: calc(100% - 24px);
    }

    /* ── Шапка ── */
    .header-inner {
        min-height: 60px;
        gap: 8px;
        padding: 6px 0;
    }
    .header-logo img { max-height: 48px; }
    .header-brand  { display: none; }
    .header-socials { display: none; }
    .header-phones { display: none; }  /* убираем телефоны — есть в drawer */
    .header-address { display: none; }
    .header-auth-btn {
        padding: 6px 10px;
        font-size: 12px;
        gap: 4px;
    }
    .header-auth-btn svg { width: 15px; height: 15px; }
    .header-user__name { display: none; }
    .header-burger { width: 44px; height: 44px; border-radius: 10px; }

    /* ── Навигация ── */
    .header-nav .header-menu__item a,
    .header-nav .header-menu__link {
        padding: 9px 10px;
        font-size: 12px;
    }

    /* ── Герой ── */
    .hero { min-height: auto; overflow: hidden; }
    .hero__inner {
        grid-template-columns: 1fr;
        padding: 20px 0 16px;
        gap: 16px;
    }
    .hero__content {
        padding: 20px;
        border-radius: 14px;
        background: rgba(255,255,255,.92);
    }
    .hero__sup {
        font-size: 10px;
        margin: 0 0 10px;
        letter-spacing: .04em;
    }
    .hero__title {
        font-size: 28px;
        margin: 0 0 14px;
    }
    .hero__list {
        font-size: 14px;
        margin-bottom: 18px;
        line-height: 1.7;
    }
    .hero__btn {
        width: 100%;           /* кнопка на всю ширину */
        justify-content: center;
        padding: 13px 20px;
        font-size: 14px;
    }
    .hero__cards { gap: 8px; }
    .hero-dir {
        padding: 12px 14px;
        gap: 10px;
        border-radius: 12px;
    }
    .hero-dir__icon {
        width: 36px;
        height: 36px;
        border-radius: 8px;
        flex-shrink: 0;
    }
    .hero-dir__icon svg { width: 20px; height: 20px; }
    .hero-dir__title { font-size: 14px; margin-bottom: 3px; }
    .hero-dir__text  { font-size: 12px; }

    /* Картинка снизу (если используется новая верстка) */
    .hero__image-wrap {
        margin-left: -12px;
        width: calc(100% + 24px);
    }
    .hero__image {
        max-height: 220px;
        object-position: center 20%;
    }

    /* ── Секции ── */
    .section { padding: 24px 0; }
    .section-title {
        font-size: 22px;
        line-height: 1.25;
    }
    .section-subtitle { font-size: 14px; }

    /* ── Слайдер ── */
    .programs-head {
        flex-direction: row;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 16px;
    }
    .programs-head > div { flex: 1; }
    .slider-arrows { align-self: flex-start; margin-top: 4px; }
    .slider-arrow {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    .cards-slider { gap: 10px; padding: 4px 0 12px; }
    .cards-slider > article.card {
        flex: 0 0 calc(100vw - 48px); /* почти на всю ширину экрана */
        width: calc(100vw - 48px);
        min-width: 0;
        max-width: 320px;
        border-radius: 16px;
    }
    .cards-slider > article.card img.card__image {
        height: 160px;
    }
    .cards-slider > article.card .card__title { font-size: 14px; }
    .cards-slider > article.card .card__text  { font-size: 13px; }
    .cards-slider > article.card .card__action {
        width: 100%;
        text-align: center;
        padding: 9px 14px;
        font-size: 13px;
    }

    /* ── О клубе ── */
    #about .section-title { font-size: 22px; }
    .about p { font-size: 14px; line-height: 1.6; }
    .btn-more {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
        font-size: 14px;
    }

    /* ── Футер ── */
    .site-footer { padding: 28px 0 16px; margin-top: 32px; }
    .footer-inner { flex-direction: column; gap: 20px; }
    .footer-logo img { max-height: 56px; margin-bottom: 8px; }
    .footer-name { font-size: 16px; }
    .footer-sub  { font-size: 11px; }
    .footer-phone { font-size: 17px; }
    .footer-address { font-size: 13px; }
    .footer-form__title { font-size: 18px; }
    .footer-form__desc  { font-size: 13px; }
    .footer-bottom {
        font-size: 11px;
        padding-top: 16px;
        flex-direction: column;
        gap: 6px;
    }
    .footer-bottom__links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px;
    }
    .footer-bottom__sep { display: none; } /* убираем разделитель · */

    /* ── Форма ── */
    #footer-form {
        position: fixed;
        bottom: 0; left: 0; right: 0;
        z-index: 2000;
        border-radius: 20px 20px 0 0;
        padding: 0 16px 32px;
        box-shadow: 0 -8px 40px rgba(0,0,0,.18);
        max-height: 92vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transform: translateY(100%);
        transition: transform .35s cubic-bezier(.4,0,.2,1);
    }
    #footer-form.is-open { transform: translateY(0); }

    /* Ручка сверху */
    #footer-form::before {
        content: '';
        display: block;
        width: 40px; height: 4px;
        background: #ddd;
        border-radius: 999px;
        margin: 14px auto 20px;
    }

    #footer-form textarea,
    #footer-form input[type="text"],
    #footer-form input[type="email"],
    #footer-form input[type="tel"] {
        font-size: 16px; /* iOS не зумит */
        padding: 12px 14px;
    }
    #footer-form input[name="web_form_submit"] {
        font-size: 15px;
        min-height: 50px;
    }

    /* Затемнение */
    body.form-open::after {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,.5);
        z-index: 1999;
    }

    /* FAB */
    .fab-callback {
        bottom: 16px;
        right: 14px;
        width: 52px;
        height: 52px;
    }

    /* ── Страница входа ── */
    .auth-wrap {
        padding: 20px 16px;
        border-radius: 14px;
        margin: 0 4px;
    }
    .auth-tab { font-size: 14px; padding: 10px; }
    .reg-form__input { font-size: 16px; } /* iOS */
    .reg-form__btn {
        min-height: 48px;
        font-size: 14px;
    }
}

/* ===== Очень маленькие (< 400px) ===== */
@media (max-width: 399px) {
    .hero__title { font-size: 24px; }
    .hero__sup   { font-size: 9px; }
    .header-burger { width: 40px; height: 40px; }
    .cards-slider > article.card {
        flex: 0 0 calc(100vw - 40px);
        width: calc(100vw - 40px);
    }
    .cards-slider > article.card img.card__image { height: 140px; }
    .section-title { font-size: 20px; }
    .fab-callback { width: 48px; height: 48px; bottom: 14px; right: 12px; }
}
/* ===== Глобальная защита от горизонтального скролла ===== */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

/* Все дочерние элементы не вылезают за ширину */
.container,
.site-header,
.site-footer,
.hero,
.section {
    max-width: 100%;
    overflow-x: hidden;
}
@media (max-width: 767px) {

    .header-inner {
        min-height: 64px;
        padding: 8px 0;
        display: flex;
        align-items: center;
        justify-content: space-between; /* лого слева, кнопки справа */
        gap: 0;
    }

    /* Логотип — по центру абсолютно */
    .header-logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    .header-logo img {
        max-height: 128px;
        width: auto;
    }

    /* Правые кнопки */
    .header-right {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-left: auto; /* прижимаем вправо */
    }

    .header-auth-btn {
        padding: 7px 12px;
        font-size: 13px;
    }
    .header-auth-btn svg {
        width: 15px;
        height: 15px;
    }

    .header-burger {
        width: 44px;
        height: 44px;
        border-radius: 10px;
    }

    /* Скрытые */
    .header-brand   { display: none; }
    .header-socials { display: none; }
    .header-phones  { display: none; }
    .header-address { display: none; }
    .header-user__name { display: none; }
}

@media (max-width: 399px) {
    .header-logo img { max-height: 52px; }
    .header-burger   { width: 40px; height: 40px; }
    .header-auth-btn { padding: 6px 8px; font-size: 12px; }
}
/* ===== Туризм ===== */

.tourism-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px 20px;
    box-shadow: var(--shadow);
    color: var(--text);
    font-size: 15px;
}

@media (min-width: 1024px) {
    .tourism-card {
        padding: 32px 32px 28px;
    }
}

.section-title--sm {
    font-size: 24px;
    margin-top: 24px;
    margin-bottom: 8px;
}


/* End */
/* /bitrix/components/bitrix/menu/templates/.default/style.min.css?1781461675490 */
/* /bitrix/components/bitrix/form.result.new/templates/.default/style.css?1781461680666 */
/* /bitrix/templates/klas7/styles.css?178162335039116 */
