*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --blue: #2196F3;
    --blue-dark: #1565C0;
    --blue-light: #E3F2FD;
    --blue-medium: #42A5F5;
    --orange: #FF8C00;
    --orange-light: #FFA726;
    --white: #ffffff;
    --gray-light: #F5F8FC;
    --gray-text: #6B7A8D;
    --text: #1A2540;
    --text-light: #4A5568;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 4px 20px rgba(33, 150, 243, 0.12);
    --shadow-hover: 0 8px 32px rgba(33, 150, 243, 0.22);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arimo', 'Nunito Sans', sans-serif;
    font-size: 16px;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Nunito', sans-serif;
    line-height: 1.25;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1340px;
    width: calc(100% - 80px);
    margin: 0 auto;
    box-sizing: border-box;
}

/* ===== КНОПКИ ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    border: none;
    transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn--primary {
    background: linear-gradient(180deg, #FF8A00 0%, #E65C02 100%);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(255, 140, 0, 0.35);
}

.btn--primary:hover {
    background: var(--orange-light);
    box-shadow: 0 8px 24px rgba(255, 140, 0, 0.45);
}

.btn--secondary {
    background: var(--white);
    color: var(--blue-dark);
    border: 2px solid var(--blue);
    box-shadow: none;
}

.btn--secondary:hover {
    background: var(--blue-light);
}

.btn--white {
    background: var(--white);
    color: var(--blue-dark);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.btn--white:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.btn--orange-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn--orange-outline:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* ===== ОБЁРТКА СТРАНИЦЫ ===== */
.page {
    background: var(--white);
    border-radius: 50px 50px 0 0;
    overflow: clip;
    position: relative;
    min-height: 100vh;
}

/* ===== ХЕДЕР ===== */
.header {
    background: var(--white);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08), 0 2px 12px rgba(33, 150, 243, 0.06);
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: center;
    border-radius: 84px;
}

.header__inner {
    display: flex;
    align-items: center;
    gap: 0;
    width: calc(100% - 580px);
    box-sizing: border-box;
    height: 64px;
}

/* Логотип */
.header__logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-right: 32px;
    line-height: 0;
}

.header__logo-img {
    display: block;
    height: 44px;
    width: auto;
    object-fit: contain;
}

/* Навигация */
.header__nav {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 1;
}

.header__nav-item {
    position: relative;
}

.header__nav-link {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    padding: 0 14px;
    height: 64px;
    display: flex;
    align-items: center;
    gap: 4px;
    border-bottom: 2px solid transparent;
    transition: color 0.15s, border-color 0.15s;
    white-space: nowrap;
}

.header__nav-link:hover {
    color: var(--blue);
    border-bottom-color: var(--blue);
}

/* Стрелка дропдауна */
.header__nav-arrow {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    flex-shrink: 0;
    transition: transform 0.2s;
}

.header__nav-item:hover .header__nav-arrow {
    transform: rotate(225deg) translateY(-2px);
}

/* Дропдаун */
.header__dropdown {
    position: absolute;
    top: calc(100% + 0px);
    left: 0;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    min-width: 220px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
    z-index: 200;
}

.header__nav-item:hover .header__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header__dropdown-link {
    display: block;
    padding: 9px 18px;
    font-size: 13px;
    color: var(--text-light);
    transition: background 0.12s, color 0.12s;
    white-space: nowrap;
}

.header__dropdown-link:hover {
    background: var(--blue-light);
    color: var(--blue-dark);
}

/* Правый блок */
.header__right {
    display: flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
    border-left: 1px solid rgba(0, 0, 0, 0.08);
    margin-left: auto;
}

.header__phone-block {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 16px;
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    height: 64px;
}

.header__phone-icon {
    color: var(--blue);
    flex-shrink: 0;
}

.header__phone {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: var(--text);
    transition: color 0.15s;
    white-space: nowrap;
}

.header__phone:hover {
    color: var(--blue);
}

.header__schedule-block {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 16px;
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    height: 64px;
}

.header__schedule {
    font-size: 13px;
    color: var(--gray-text);
    white-space: nowrap;
}

.header__schedule strong {
    color: var(--text);
    font-weight: 600;
}

.header__address-block {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 16px;
    height: 64px;
}

.header__address-icon {
    color: #E53935;
    flex-shrink: 0;
}

.header__address {
    font-size: 13px;
    color: var(--text-light);
    white-space: nowrap;
}

/* ===== HERO ===== */
.hero {
    background: #E9F6FE;
    position: relative;
    padding: 60px 0 80px;
    display: flex;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(50% 50% at 50% 50%, #3E9FE5 0%, rgba(62, 159, 229, 0) 100%);
    -webkit-mask-image: url('src/bg1.svg');
    mask-image: url('src/bg1.svg');
    -webkit-mask-size: cover;
    mask-size: cover;
    -webkit-mask-position: center top;
    mask-position: center top;
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 480px;
    background: linear-gradient(to bottom, transparent 0%, rgba(255,255,255,0.3) 40%, rgba(255,255,255,0.75) 65%, #fff 100%);
    pointer-events: none;
    z-index: 1;
}

.hero__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: flex-end;
    width: calc(100% - 80px);
    max-width: 1340px;
    box-sizing: border-box;
    position: relative;
}

.hero__content {
    flex: 3 0 460px;
    padding-bottom: 60px;
    position: relative;
    z-index: 2;
}

.hero__label {
    font-family: 'Arimo', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 125%;
    letter-spacing: 0;
    margin-bottom: 16px;
    padding-bottom: 50px;
}

.hero__title {
   font-family: Arimo;
    font-weight: 700;
    font-style: Bold;
    font-size: 52px;
    line-height: 100%;
    letter-spacing: 0%;
    padding-bottom: 25px;

}

.hero__subtitle {
   font-family: Arimo;
    font-weight: 700;
    font-style: Bold;
    font-size: 24px;
    line-height: 125%;
    letter-spacing: 0%;
    padding-bottom: 26px;
}

.hero__text {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.hero__checklist {
    list-style: none;
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero__checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--text-light);
}

.hero__checklist-item::before {
    content: '';
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    background: var(--blue);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: center;
    margin-top: 2px;
}

.hero__tags-label {
    font-family: Arimo;
    font-weight: 400;
    font-style: Regular;
    font-size: 18px;
    line-height: 140%;
    letter-spacing: 0%;
    padding-bottom: 15px;

}

.hero__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-bottom: 106px;
    max-width: 538px;
}

.hero__tag {
    display: inline-block;
    padding: 8px 16px;
    background: var(--white);
    border-radius: 100px;
    color: var(--text);
    white-space: nowrap;
    font-family: Arimo;
    font-weight: 400;
    font-style: Regular;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: 0%;
    text-align: center;
}

.hero__tag--more {
    background: linear-gradient(180deg, #3E9FE5 0%, #96D3FF 100%);
    color: #fff;
    font-weight: 600;
}

.hero__cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 20px 28px;
    margin-top: 8px;
    width: 650px;
}

.hero__cta-text {
    font-family: Arimo;
    font-weight: 700;
    font-style: Bold;
    font-size: 24px;
    line-height: 125%;
    letter-spacing: 0%;

}

.hero__cta-btn {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    gap: 10px;
    background: linear-gradient(180deg, #FF8A00 0%, #E65C02 100%);
    color: #fff;
    font-family: 'Arimo', sans-serif;
    font-size: 16px;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 100px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s;
}

.hero__cta-btn:hover {
    background: var(--orange-light);
}

.hero__cta-btn svg {
    display: block;
    flex-shrink: 0;
    margin-bottom: -2px;
}

.hero__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.hero__location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-light);
}

.hero__location-icon {
    width: 18px;
    height: 18px;
    fill: var(--blue);
}

.hero__image-wrap {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 54%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    pointer-events: none;
    z-index: 0;
}

.hero__image-wrap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 220px;
    background: linear-gradient(to bottom, transparent, #fff);
    pointer-events: none;
    z-index: 1;
}

.hero__image {
    width: 100%;
    max-width: 700px;
    object-fit: contain;
}

/* ===== STATS ===== */
.stats {
    background: white;
    padding: 48px 0 64px;
}

.stats__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: stretch;
}

.stats__item {
    flex: 1 1 260px;
    position: relative;
    background: var(--blue-light);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stats__icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
}

.stats__number {
    font-family: 'Arimo', sans-serif;
    font-size: clamp(52px, 5vw, 80px);
    font-weight: 700;
    background: linear-gradient(180deg, #3E9FE5 0%, #96D3FF 100%);
    background-clip: text;
    -webkit-background-clip: text; /* Обязательно для поддержки Chrome/Safari/Edge */
    color: transparent; /* цвет текста */
    line-height: 1;
    margin-bottom: 4px;
}

.stats__label {
    font-family: 'Arimo', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
}

.stats__desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
    margin-top: 4px;
}

/* ===== СЕКЦИЯ ЗАГОЛОВОК ===== */
.section-title {
   font-family: Arimo;
    font-weight: 700;
    font-style: Bold;
    font-size: 52px;
    line-height: 100%;
    letter-spacing: 0%;
    padding-bottom: 60px;
}

.section-subtitle {
    font-size: 15px;
    color: var(--gray-text);
    margin-bottom: 40px;
    max-width: 600px;
}

/* ===== СЛАЙДЕР ЗАНЯТИЙ ===== */
.lessons {
    background: var(--white);
    padding: 64px 0;
}

.vslider {
    position: relative;
    margin-top: 40px;
}

.vslider__stage {
    display: flex;
    align-items: center;
    gap: 16px;
}

.vslider__card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: flex 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
    flex-shrink: 0;
}

.vslider__card--left,
.vslider__card--right {
    flex: 0 0 27%;
    order: 0;
    opacity: 0.75;
    transform: scale(0.94);
}

.vslider__card--right { order: 2; }

.vslider__card--center {
    flex: 0 0 42%;
    order: 1;
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.vslider__thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.vslider__card--left .vslider__thumb,
.vslider__card--right .vslider__thumb {
    height: 220px;
}

.vslider__card--center .vslider__thumb {
    height: 340px;
}

.vslider__play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border: none;
    border-radius: 100px;
    font-family: 'Arimo', sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    background: #fff;
    color: var(--text);
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    transition: background 0.2s, transform 0.15s;
    white-space: nowrap;
}

.vslider__play-btn svg {
    color: #FF8A00;
}

.vslider__card--center .vslider__play-btn {
    background: linear-gradient(180deg, #FF8A00 0%, #E65C02 100%);
    color: #fff;
}

.vslider__card--center .vslider__play-btn svg {
    color: #fff;
}

.vslider__play-btn:hover {
    transform: translate(-50%, -50%) scale(1.06);
}

.vslider__next-btn,
.vslider__prev-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(180deg, #96D3FF 0%, #3E9FE5 100%);
    border: none;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(62,159,229,0.35);
    transition: box-shadow 0.2s, transform 0.2s;
    z-index: 10;
}

.vslider__next-btn { right: -40px; }
.vslider__prev-btn { left: -40px; }

.vslider__next-btn:hover,
.vslider__prev-btn:hover {
    box-shadow: 0 8px 28px rgba(62,159,229,0.5);
    transform: translateY(-50%) scale(1.06);
}

/* ===== VIDEO MODAL ===== */
.video-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.video-modal.is-open {
    display: flex;
}

.video-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.78);
}

.video-modal__box {
    position: relative;
    z-index: 1;
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    max-width: 900px;
    width: calc(100% - 48px);
    box-shadow: 0 24px 80px rgba(0,0,0,0.6);
}

.video-modal__video {
    width: 100%;
    display: block;
    max-height: 80vh;
}

.video-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.15);
    border: none;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.video-modal__close:hover {
    background: rgba(255,255,255,0.3);
}

/* ===== PHOTO MODAL ===== */
.photo-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.photo-modal.is-open { display: flex; }

.photo-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.85);
}

.photo-modal__box {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: calc(100vw - 48px);
    max-height: calc(100vh - 48px);
}

.photo-modal__img {
    display: block;
    max-width: min(900px, calc(100vw - 140px));
    max-height: calc(100vh - 80px);
    border-radius: 12px;
    object-fit: contain;
    box-shadow: 0 24px 80px rgba(0,0,0,0.6);
}

.photo-modal__close {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.15);
    border: none;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    z-index: 2;
}

.photo-modal__close:hover { background: rgba(255,255,255,0.3); }

.photo-modal__nav {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: rgba(255,255,255,0.15);
    border: none;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.photo-modal__nav:hover { background: rgba(255,255,255,0.3); }

/* ===== ФОРМАТЫ ===== */
.formats {
    background: var(--white);
    padding: 52px 0 64px;
}

.formats__outer {
    position: relative;
}

.formats__card {
    border-radius: 24px;
    background: linear-gradient(180deg, #3E9FE5 0%, #96D3FF 100%);
    min-height: 360px;
    overflow: hidden;
}

.formats__content {
    padding: 52px 48px;
    max-width: 58%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.formats__title {
    font-family: Arimo;
    font-weight: 700;
    font-style: Bold;
    font-size: 52px;
    line-height: 100%;
    letter-spacing: 0%;
    color: var(--white);
    padding-bottom: 20px;
}

.formats__subtitle {
   font-family: Arimo;
    font-weight: 400;
    font-style: Regular;
    font-size: 24px;
    line-height: 125%;
    letter-spacing: 0%;
    color: var(--white);
    padding-bottom: 139px;
}

.formats__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.formats__item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border-radius: 16px;
    padding: 20px 22px;
    font-family: 'Arimo', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: var(--text);
    line-height: 1.4;
}

.formats__item-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.formats__image {
    position: absolute;
    bottom: 0;
    right: 0;
    height: 100%;
    width: 68%;
    object-fit: contain;
    object-position: bottom right;
    z-index: 0;
}

/* ===== КВИЗ-БАННЕР ===== */
.quiz-banner {
    background:
        linear-gradient(to bottom, transparent 0%, rgba(62, 159, 229, 0) 100%) bottom/100% 260px no-repeat,
        linear-gradient(180deg, #E9F6FE 0%, #96D3FF 18%, #3E9FE5 100%);
    padding: 0;
    position: relative;
    border-radius: 0 0 50px 50px;
}

.quiz-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(50% 50% at 50% 50%, #ffffff 0%, rgba(62, 159, 229, 0) 100%);
    -webkit-mask-image: url('src/group_15.svg');
    mask-image: url('src/group_15.svg');
    -webkit-mask-size: cover;
    mask-size: cover;
    -webkit-mask-position: center;
    mask-position: center;
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}

.quiz-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.18);
    -webkit-mask-image: url('src/group_13.svg');
    mask-image: url('src/group_13.svg');
    -webkit-mask-size: cover;
    mask-size: cover;
    -webkit-mask-position: center;
    mask-position: center;
    pointer-events: none;
    z-index: 0;
}

.quiz-banner__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    min-height: 420px;
    position: relative;
    z-index: 2;
}

.quiz-banner__left {
    flex: 1 1 50%;
    padding: 56px 48px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 3;
}

.quiz-banner__title {
    font-family: Arimo;
    font-weight: 700;
    font-style: Bold;
    font-size: 52px;
    line-height: 100%;
    letter-spacing: 0%;
    color: var(--white);
    padding-bottom: 25px;
}

.quiz-banner__subtitle {
    font-family: Arimo;
    font-weight: 400;
    font-style: Regular;
    font-size: 24px;
    line-height: 125%;
    letter-spacing: 0%;
    color: var(--white);
    padding-bottom: 219px;
}

.quiz-banner__cta {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    border-radius: 12px;
    padding: 20px 20px 20px 24px;
    max-width: 430px;
}

.quiz-banner__cta-text {
   font-family: Arimo;
    font-weight: 700;
    font-style: Bold;
    font-size: 24px;
    line-height: 125%;
    letter-spacing: 0%;

}

.quiz-banner__cta-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(180deg, #FF8A00 0%, #E65C02 100%);
    color: #fff;
    border: none;
    border-radius: 100px;
    padding: 0 14px 0 22px;
    line-height: 1;
    height: 2.4em;
    font-family: 'Arimo', sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.quiz-banner__cta-btn:hover {
    background: var(--orange-light);
}

.quiz-banner__right {
    flex: 0 0 36%;
    position: relative;
    overflow: hidden;
}

.quiz-banner__image {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    z-index: 6;
}

.quiz-banner__badge {
    position: absolute;
    top: 32px;
    right: 32px;
    background: linear-gradient(180deg, #FF8A00 0%, #E65C02 100%);
    border-radius: 16px;
    padding: 16px 20px;
    min-width: 200px;
    z-index: 2;
}

.quiz-banner__badge-age {
    display: inline-block;
    background: rgba(255,255,255,0.25);
    color: #fff;
    border-radius: 100px;
    padding: 3px 12px;
    font-family: 'Arimo', sans-serif;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
}

.quiz-banner__badge-label {
    font-family: 'Arimo', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: rgba(255,255,255,0.9);
    margin-bottom: 6px;
}

.quiz-banner__badge-name {
    font-family: 'Arimo', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
}

/* ===== ФОТО-ГАЛЕРЕЯ ===== */
.gallery {
    background: var(--white);
    padding: 64px 0;
}

.pslider {
    position: relative;
}

.pslider__viewport {
    overflow: hidden;
}

.pslider__track {
    display: flex;
    gap: 16px;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pslider__slide {
    flex: 0 0 calc((100% - 32px) / 3);
    border-radius: 16px;
    overflow: hidden;
    height: 300px;
}

.pslider__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.pslider__slide:hover img {
    transform: scale(1.04);
}

.pslider__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(180deg, #96D3FF 0%, #3E9FE5 100%);
    border: none;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(62,159,229,0.35);
    transition: box-shadow 0.2s, transform 0.2s;
    z-index: 10;
}

.pslider__btn--prev { left: -40px; }
.pslider__btn--next { right: -40px; }

.pslider__btn:hover {
    box-shadow: 0 8px 28px rgba(62,159,229,0.5);
    transform: translateY(-50%) scale(1.06);
}

/* ===== ДИСЦИПЛИНЫ ===== */
.disciplines {
    padding: 64px 0;
    background: var(--white);
}

.disciplines__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.discipline-card {
    background: #E9F6FE;
    border: 1.5px solid #E9F6FE;
    border-radius: 16px;
    padding: 24px 20px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
    cursor: default;
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.discipline-card:hover {
    background: linear-gradient(180deg, #3E9FE5 0%, #96D3FF 100%);
    box-shadow: 0 8px 32px rgba(33,150,243,0.2);
}

.discipline-card__icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 10px;
    padding: 8px;
}

.discipline-card__icon[src=""] {
    background: var(--blue-light);
    color: transparent;
    font-size: 0;
}

.discipline-card__body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.discipline-card__title {
    font-family: Arimo;
    font-weight: 700;
    font-style: Bold;
    font-size: 24px;
    line-height: 125%;
    letter-spacing: 0%;
}

.discipline-card:hover .discipline-card__title {
    color: #fff;
}

.discipline-card__text {
    font-family: Arimo;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    line-height: 140%;
    letter-spacing: 0%;
    color: #1D1717;
}

.discipline-card:hover .discipline-card__text {
    color: rgba(255,255,255,0.85);
}

/* ===== МЫ ЗНАЕМ ===== */
.promo {
    background: var(--white);
    padding: 64px 0;
}

.promo__title {
    font-family: Arimo;
    font-weight: 700;
    font-style: Bold;
    font-size: 52px;
    line-height: 100%;
    letter-spacing: 0%;
    padding-bottom: 25px;
}

.promo__subtitle {
    font-family: Arimo;
    font-weight: 400;
    font-style: Regular;
    font-size: 24px;
    line-height: 125%;
    letter-spacing: 0%;
    max-width: 50%;
    padding-bottom: 60px;

}

.promo__card {
    display: flex;
    border-radius: 24px;
    overflow: hidden;
    min-height: 460px;
}

.promo__left {
    flex: 1 1 0;
    background: #E8F4FD;
    position: relative;
    isolation: isolate;
}

.promo__left::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(62, 159, 229, 0.6);
    -webkit-mask-image: url('src/new15group.svg');
    mask-image: url('src/new15group.svg');
    -webkit-mask-size: cover;
    mask-size: cover;
    -webkit-mask-position: center;
    mask-position: center;
    pointer-events: none;
    z-index: -1;
    opacity: 0.3;
}

.promo__left-placeholder {
    position: relative;
    padding: 36px 36px 100px;
    overflow: hidden;
}

.promo__left-title {
    font-family: Arimo;
    font-weight: 700;
    font-style: Bold;
    font-size: 34px;
    line-height: 110.00000000000001%;
    letter-spacing: 0%;
    padding: 30px;
}

.promo__kids-img {
    position: absolute;
    bottom: 0;
    right: 0;
    height: 95%;
    width: auto;
    object-fit: contain;
    object-position: bottom right;
    z-index: 1;
}

.promo__kids-img[src=""] {
    display: none;
}

.promo__tags {
    position: absolute;
    bottom: 28px;
    left: 28px;
    right: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    z-index: 2;
    max-width: 80%;
}

.promo__tag {
    background: #fff;
    border-radius: 100px;
    padding: 8px 16px;
    font-family: Arimo;
    font-weight: 400;
    font-style: Regular;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: 0%;
    text-align: center;

}

.promo__right {
    flex: 0 0 300px;
    background: linear-gradient(180deg, #FF8A00 0%, #E65C02 100%);
    padding: 44px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
}

.promo__cta-title {
    font-family: Arimo;
    font-weight: 700;
    font-size: 34px;
    line-height: 110.00000000000001%;
    letter-spacing: 0%;
    color: var(--white);
}

.promo__phone-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: var(--text);
    border-radius: 100px;
    padding: 14px 22px;
    font-family: 'Arimo', sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    align-self: flex-start;
    white-space: nowrap;
}

.promo__note {
    font-family: Arimo;
    font-weight: 400;
    font-style: Regular;
    font-size: 24px;
    line-height: 125%;
    letter-spacing: 0%;
    color: var(--white);
    opacity: 0.9;
}

/* ===== ОТЗЫВЫ ===== */
.reviews {
    padding: 64px 0;
    background: #E8F4FD;
}

.reviews__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.reviews__title {
    font-family: Arimo;
    font-weight: 700;
    font-style: Bold;
    font-size: 52px;
    line-height: 100%;
    letter-spacing: 0%;
    padding-bottom: 29px;
}

.reviews__subtitle {
    font-family: Arimo;
    font-weight: 400;
    font-style: Regular;
    font-size: 24px;
    line-height: 125%;
    letter-spacing: 0%;
    color: var(--text-light);
}

.reviews__rating-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border-radius: 2px;
    padding: 16px 24px;
    flex-shrink: 0;
    box-shadow: 0 2px 12px rgba(33,150,243,0.08);
}

.reviews__rating-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.reviews__rating-num {
    font-family: 'Arimo', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--text);
    line-height: 1;
}

.reviews__rating-info {
    display: flex;
    flex-direction: column;
    font-size: 13px;
    color: var(--gray-text);
    line-height: 1.4;
}

.reviews__rating-count {
    color: var(--blue);
    text-decoration: none;
    font-weight: 600;
}

.reviews__slider {
    position: relative;
    margin-bottom: 32px;
}

.reviews__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.review-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.review-card__header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-card__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #E9F6FE;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-family: 'Arimo', sans-serif;
}

.review-card__avatar span {
    background: linear-gradient(180deg, #3E9FE5 0%, #96D3FF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.review-card__meta {
    flex: 1;
    min-width: 0;
}

.review-card__name {
    font-weight: 700;
    font-size: 14px;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.review-card__date {
    font-size: 13px;
    color: var(--gray-text);
}

.review-card__score {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    flex-shrink: 0;
}

.review-card__title {
    padding-top: 180px;
    font-family: Arimo;
    font-weight: 700;
    font-style: Bold;
    font-size: 28px;
    line-height: 110.00000000000001%;
    letter-spacing: 0%;
}

.review-card__excerpt {
    font-family: Arimo;
    font-weight: 400;
    font-style: Regular;
    font-size: 18px;
    line-height: 140%;
    letter-spacing: 0%;
}

.review-card__full {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
    overflow: hidden;
    opacity: 0;
    height: 0;
    transition: height 0.25s ease, opacity 0.2s ease;
}

.review-card.is-expanded .review-card__full {
    opacity: 1;
}

.review-card__toggle {
    background: none;
    border: none;
    padding: 0;
    font-size: 14px;
    color: var(--blue);
    cursor: pointer;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 3px;
    align-self: flex-start;
    font-family: inherit;
    margin-top: auto;
    padding-top: 12px;
    width: fit-content;
}

.reviews__next {
    position: absolute;
    right: -26px;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--blue);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(33,150,243,0.3);
    flex-shrink: 0;
}

.reviews__olympiad {
    background: linear-gradient(180deg, #FF8A00 0%, #E65C02 100%);
    border-radius: 20px;
    padding: 44px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
    min-height: 180px;
}

.reviews__olympiad-left {
    position: relative;
    z-index: 1;
    max-width: 520px;
}

.reviews__olympiad-title {
    font-family: 'Arimo', sans-serif;
    font-size: clamp(22px, 2.5vw, 32px);
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 10px;
}

.reviews__olympiad-text {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    line-height: 1.5;
}

.reviews__olympiad-img {
    position: absolute;
    bottom: -120px;
    right: 32px;
    height: 140%;
    width: auto;
    object-fit: contain;
    object-position: bottom right;
    transform: rotate(16deg);
    transform-origin: bottom right;
}

/* ===== НАБОР ===== */
.enrollment {
    padding: 64px 0;
    background: var(--white);
}

.enrollment__card {
    background: linear-gradient(135deg, #5BC0F8 0%, #3A9FE8 100%);
    border-radius: 24px;
    padding: 52px 48px;
    display: flex;
    align-items: center;
    gap: 24px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    min-height: 280px;
}

.enrollment__card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(50% 50% at 50% 50%, #ffffff 0%, rgba(62, 159, 229, 0) 100%);
    -webkit-mask-image: url('src/group_15.svg');
    mask-image: url('src/group_15.svg');
    -webkit-mask-size: cover;
    mask-size: cover;
    -webkit-mask-position: center;
    mask-position: center;
    opacity: 0.5;
    pointer-events: none;
    z-index: -1;
}

.enrollment__card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.18);
    -webkit-mask-image: url('src/group_13.svg');
    mask-image: url('src/group_13.svg');
    -webkit-mask-size: cover;
    mask-size: cover;
    -webkit-mask-position: center;
    mask-position: center;
    pointer-events: none;
    z-index: -1;
}

.enrollment__left {
    flex: 1 1 0;
    position: relative;
    z-index: 2;
    padding-right: 240px;
}

.enrollment__title {
    font-family: Arimo;
    font-weight: 700;
    font-style: Bold;
    font-size: 52px;
    line-height: 100%;
    letter-spacing: 0%;
    color: var(--white);
    padding-bottom: 25px;
}

.enrollment__subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    margin-bottom: 24px;
}

.enrollment__form-row {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.enrollment__field {
    flex: 1 1 180px;
    position: relative;
}

.enrollment__label {
    position: absolute;
    top: 8px;
    left: 16px;
    font-size: 11px;
    color: var(--gray-text);
    pointer-events: none;
    z-index: 1;
}

.enrollment__input {
    width: 100%;
    padding: 24px 16px 8px;
    border: 1.5px solid rgba(255,255,255,0.4);
    border-radius: 10px;
    background: rgba(255,255,255,0.95);
    font-family: 'Arimo', sans-serif;
    font-size: 15px;
    outline: none;
    color: var(--text);
    box-sizing: border-box;
}

.enrollment__input:focus {
    border-color: var(--blue);
}

.enrollment__input::placeholder {
    color: #9BBCD8;
}

.enrollment__form-bottom {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.enrollment__agree {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    flex: 1 1 200px;
}

.enrollment__checkbox {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 1px;
    accent-color: var(--orange);
    cursor: pointer;
}

.enrollment__agree-text {
    font-size: 12px;
    color: rgba(255,255,255,0.85);
    line-height: 1.5;
}

.enrollment__agree-link {
    color: rgba(255,255,255,0.85);
    text-decoration: underline;
}

.enrollment__submit {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(180deg, #FF8A00 0%, #E65C02 100%);
    color: #fff;
    border: none;
    border-radius: 100px;
    padding: 0 14px 0 22px;
    line-height: 1;
    height: 3.4em;
    font-family: 'Arimo', sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.enrollment__kid {
    position: absolute;
    bottom: 0;
    left: 47%;
    height: 95%;
    width: auto;
    object-fit: contain;
    z-index: 1;
    pointer-events: none;
}

.enrollment__kid[src=""] {
    display: none;
}

.enrollment__contact {
    flex: 0 0 320px;
    background: #fff;
    border-radius: 16px;
    padding: 24px 28px;
    position: relative;
    z-index: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 100px;
}

.enrollment__contact-label {
    font-size: 13px;
    color: var(--gray-text);
}

.enrollment__contact-phone {
    font-family: 'Arimo', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    line-height: 1.2;
}

.enrollment__contact-hint {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.4;
}

/* ===== КОНТАКТЫ ===== */
.contacts {
    padding-top: 52px;
    overflow: hidden;
    position: relative;
}

.contacts__top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 32px;
    padding: 60px;
    background: #E8F4FD;
}

.contacts__top-left {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contacts__tag {
    display: inline-block;
    background: #fff;
    border: 1.5px solid #D0E6F5;
    border-radius: 100px;
    padding: 5px 16px;
    margin-bottom: 28px;
    font-size: 13px;
    color: var(--text);
    align-self: flex-start;
}

.contacts__pretitle {
    font-family: Arimo;
    font-weight: 400;
    font-style: Regular;
    font-size: 24px;
    line-height: 125%;
    letter-spacing: 0%;
}

.contacts__title {
    font-family: Arimo;
    font-weight: 700;
    font-style: Bold;
    font-size: 52px;
    line-height: 100%;
    letter-spacing: 0%;
    padding-bottom: 50px;
}

.contacts__address {
  font-family: Arimo;
    font-weight: 400;
    font-style: Regular;
    font-size: 24px;
    line-height: 125%;
    letter-spacing: 0%;
}

.contacts__top-right {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    justify-content: center;
}

.contacts__hours {
    display: inline-block;
    background: #fff;
    border: 1.5px solid #D0E6F5;
    border-radius: 100px;
    padding: 5px 16px;
    margin-bottom: 34px;
    font-size: 13px;
    color: var(--text-light);
}

.contacts__hours strong {
    color: var(--text);
}

.contacts__phone {
    font-family: Arimo;
    font-weight: 700;
    font-style: Bold;
    font-size: 42px;
    line-height: 100%;
    letter-spacing: 0%;
}

.contacts__phone:hover {
    color: var(--blue);
}

.contacts__email {
    font-family: Arimo;
    font-weight: 400;
    font-style: Regular;
    font-size: 24px;
    line-height: 125%;
    letter-spacing: 0%;
}

.contacts__email:hover {
    color: var(--blue);
}

.contacts__map {
    padding-top: 20px;
    height: 600px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 0;
}

.contacts__map iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* ===== ФУТЕР ===== */
.footer {
    background: linear-gradient(150deg, #5BC0F8 0%, #2196F3 45%, #1565C0 100%);
    padding: calc(52px + 160px) 0 44px;
    color: rgba(255,255,255,0.85);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 160px;
    background: linear-gradient(to bottom, #fff, transparent);
    pointer-events: none;
    z-index: 1;
}

.footer::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.18);
    -webkit-mask-image: url('src/bg1.svg'), url('src/group_13.svg');
    mask-image: url('src/bg1.svg'), url('src/group_13.svg');
    -webkit-mask-size: cover, cover;
    mask-size: cover, cover;
    -webkit-mask-position: center, center;
    mask-position: center, center;
    -webkit-mask-composite: source-over;
    mask-composite: add;
    pointer-events: none;
    z-index: 0;
}

.footer__top {
    display: grid;
    grid-template-columns: 1fr 1.6fr 1.2fr;
    gap: 40px;
    padding-bottom: 44px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    margin-bottom: 40px;
}

.footer__col-title {
    font-family: Arimo;
    font-weight: 700;
    font-style: Bold;
    font-size: 24px;
    line-height: 125%;
    letter-spacing: 0%;
    color: var(--white);
    margin-bottom: 20px;

}

.footer__nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__nav-link {
    font-family: Arimo;
    font-weight: 400;
    font-size: 18px;
    color: var(--white);
    line-height: 140%;
    text-decoration: none;
    cursor: pointer;
    display: block;
}

.footer__nav-link:hover {
    opacity: 0.75;
}

.footer__col--contacts {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}

.footer__hours-tag {
    display: inline-block;
    background: #fff;
    border: 1.5px solid #D0E6F5;
    border-radius: 100px;
    padding: 5px 16px;
    font-size: 13px;
    color: var(--text-light);
}

.footer__hours-tag strong {
    color: var(--text);
}

.footer__phone {
    font-family: 'Arimo', sans-serif;
    font-size: clamp(22px, 2.5vw, 30px);
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    line-height: 1.1;
}

.footer__phone:hover { opacity: 0.85; }

.footer__email,
.footer__address-line {
    font-size: 14px;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    margin: 0;
}

.footer__email:hover { color: #fff; }

.footer__bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.footer__brand {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer__logo-img {
    height: 52px;
    width: auto;
    object-fit: contain;
    margin-bottom: 4px;
}

.footer__logo-sub {
    font-size: 9px;
    font-weight: 700;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.footer__license {
    font-size: 12px;
    color: rgba(255,255,255,0.45);
    margin: 0 0 4px;
}

.footer__agreement {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    text-decoration: underline;
}

.footer__services {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.footer__service-img {
    height: 72px;
    width: auto;
    object-fit: contain;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 1024px) {
    .hero__inner,
    .formats__inner {
        flex-direction: column;
    }

    .contacts__top {
        flex-direction: column;
    }

    .promo__card {
        flex-direction: column;
    }

    .promo__right {
        flex: 0 0 auto;
    }

    .hero__image-wrap {
        display: none;
    }

    .disciplines__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .quiz-banner__image-center {
        display: none;
    }

    .enrollment__left {
        padding-right: 0;
    }

    .enrollment__contact {
        flex: 0 0 auto;
        width: 100%;
    }
}

@media (max-width: 1200px) {
    .header__address-block {
        display: none;
    }
}

@media (max-width: 1024px) {
    .header__nav {
        display: none;
    }

    .header__schedule-block {
        display: none;
    }
}

@media (max-width: 900px) {
    .slider__slide {
        min-width: 50%;
    }
}

@media (max-width: 768px) {
    .header__nav {
        display: none;
    }

    .stats__grid {
        flex-direction: column;
        align-items: stretch;
    }

    .stats__item {
        width: 100%;
        max-width: 100%;
    }

    .formats__list {
        flex-direction: column;
    }

    .reviews__grid {
        grid-template-columns: 1fr;
    }

    .review-card { gap: 20px; }
    .review-card__title { padding-top: 20px; }

    .reviews__next {
        display: none;
    }

    .slider__slide-img {
        height: 200px;
    }

    .slider__btn {
        top: 100px;
    }

    .promo__left {
        padding-bottom: 120px;
    }
}

@media (max-width: 600px) {
    .slider__slide {
        min-width: 100%;
        padding: 0;
    }

    .slider__slide-img {
        height: 240px;
        border-radius: 0;
    }

    /* photo slider: one photo at a time */
    .pslider__slide { flex: 0 0 100%; }

    /* photo lightbox: nav buttons over edges, image near full width */
    .photo-modal__box { gap: 0; max-width: 100vw; }
    .photo-modal__img { max-width: calc(100vw - 32px); max-height: calc(100vh - 120px); }
    .photo-modal__nav {
        position: fixed;
        top: 50%;
        transform: translateY(-50%);
        z-index: 3;
    }
    .photo-modal__nav--prev { left: 10px; }
    .photo-modal__nav--next { right: 10px; }
}

@media (max-width: 480px) {
    .disciplines__grid {
        grid-template-columns: 1fr;
    }

    .hero__actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .enrollment__card {
        flex-direction: column;
        padding: 36px 28px;
    }

    .enrollment__form-row {
        flex-direction: column;
        gap: 14px;
    }

    .enrollment__field {
        flex: 0 0 auto;
    }

    .hero__image-wrap {
        display: none;
    }
}

@media (max-width: 1400px) {
    .container,
    .header__inner,
    .hero__inner {
        width: calc(100% - 360px);
    }
}

@media (max-width: 1024px) {
    .container,
    .header__inner,
    .hero__inner {
        width: calc(100% - 80px);
    }
}

@media (max-width: 768px) {
    .container,
    .header__inner,
    .hero__inner {
        width: calc(100% - 40px);
    }
}

/* ===== МОБИЛЬНЫЙ АДАПТИВ ===== */
@media (max-width: 768px) {
    /* Header */
    .header { margin: 6px; }
    .header__inner { height: 56px; width: calc(100% - 24px); }
    .header__logo { margin-right: 8px; min-width: 0; }
    .header__logo-img { height: 30px; }
    .header__phone-block { padding: 0 8px; height: 56px; gap: 6px; border-right: none; }
    .header__phone-icon { width: 18px; height: 18px; }
    .header__phone { font-size: 13px; }

    /* Hero */
    .hero { padding: 36px 0 56px; }
    .hero::before {
        background: radial-gradient(120% 55% at 50% 28%, #3E9FE5 0%, rgba(62, 159, 229, 0) 100%);
        opacity: 0.35;
    }
    .hero__content { flex: 1 1 100%; min-width: 0; padding-bottom: 24px; }
    .hero__title { font-size: clamp(24px, 6vw, 34px); }
    .hero__label { font-size: 18px; padding-bottom: 24px; }
    .hero__subtitle { font-size: 18px; }
    .hero__tags { max-width: 100%; padding-bottom: 32px; gap: 14px; }
    .hero__cta-card { width: 100%; flex-direction: column; align-items: stretch; gap: 16px; }
    .hero__cta-text { font-size: 20px; }
    .hero__cta-btn { font-size: 18px; padding: 18px 28px; justify-content: center; }

    /* Section headings */
    h2 { font-size: clamp(22px, 5vw, 32px); }

    /* General section padding */
    .stats, .disciplines, .formats, .reviews, .enrollment, .contacts {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    /* Disciplines */
    .disciplines__grid { grid-template-columns: 1fr; }

    /* Formats */
    .formats__content { max-width: 100%; padding: 36px 24px; }
    .formats__title { font-size: clamp(28px, 7vw, 40px); }
    .formats__subtitle { font-size: 18px; padding-bottom: 32px; }
    .formats__image { display: none; }

    /* Promo: hide image, make tags flow in normal document flow */
    .promo__kids-img { display: none; }
    .promo__tags {
        position: static;
        padding: 0 20px 28px;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        max-width: 100%;
    }
    .promo__tag {
        width: 100%;
        min-height: 56px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .promo__left-placeholder { padding-bottom: 28px; }

    /* Quiz banner */
    .quiz-banner__inner { flex-direction: column; }
    .quiz-banner__right { display: none; }
    .quiz-banner__left { padding: 36px 24px; }
    .quiz-banner__title { font-size: clamp(28px, 7vw, 40px); }
    .quiz-banner__subtitle { font-size: 18px; padding-bottom: 32px; }
    .quiz-banner__cta { flex-direction: column; align-items: flex-start; gap: 14px; }

    /* vslider */
    .vslider__card--left,
    .vslider__card--right { display: none; }
    .vslider__card--center { flex: 0 0 100%; }
    .vslider__next-btn { right: -20px; width: 52px; height: 52px; }
    .vslider__prev-btn { left: -20px; width: 52px; height: 52px; }

    /* pslider */
    .pslider__btn { width: 52px; height: 52px; }
    .pslider__btn--prev { left: -16px; }
    .pslider__btn--next { right: -16px; }

    /* Enrollment */
    .enrollment__card { flex-direction: column; padding: 32px 20px; }
    .enrollment__card::before {
        background: radial-gradient(130% 60% at 50% 45%, #ffffff 0%, rgba(62, 159, 229, 0) 100%);
    }
    .enrollment__contact { margin-top: 24px; }
    .enrollment__kid { display: none; }

    /* Contacts */
    .contacts__map { height: 260px; }
    .contacts__top { padding: 32px 20px; }
    .contacts__pretitle { font-size: 18px; }
    .contacts__title { font-size: clamp(28px, 7vw, 40px); padding-bottom: 28px; }
    .contacts__address { font-size: 18px; }
    .contacts__phone { font-size: clamp(26px, 7vw, 38px); }
    .contacts__email { font-size: 16px; word-break: break-word; }

    /* Footer */
    .footer { padding: calc(36px + 80px) 0 36px; }
    .footer::before { height: 80px; }
    .footer__top { grid-template-columns: 1fr; gap: 28px; text-align: center; }
    .footer__col--contacts { align-items: center; }
    .footer__brand { align-items: center; }
    .footer__bottom { flex-direction: column; align-items: center; gap: 24px; text-align: center; }
}

@media (max-width: 480px) {
    /* Hero */
    .hero__title { font-size: 22px; }
    .hero__tags { gap: 14px; }

    /* Formats */
    .formats__grid { grid-template-columns: 1fr; }

    /* Stats */
    .stats__grid { gap: 16px; }

    /* Promo */
    .promo__card { border-radius: 20px; }

    /* Footer */
    .footer__services { flex-direction: column; align-items: center; }
    .footer__service-img { height: 56px; }
}

/* ===== МАЛЕНЬКИЕ ТЕЛЕФОНЫ (320px и уже) ===== */
@media (max-width: 380px) {
    /* Уменьшаем боковые поля, чтобы контент помещался */
    .container,
    .header__inner,
    .hero__inner {
        width: calc(100% - 24px);
    }

    /* Header: ужимаем логотип и телефон, чтобы влезли в одну строку */
    .header { margin: 4px; }
    .header__inner { height: 52px; width: calc(100% - 16px); }
    .header__logo { margin-right: 6px; }
    .header__logo-img { height: 24px; }
    .header__phone-block { padding: 0 6px; height: 52px; gap: 4px; }
    .header__phone-icon { width: 16px; height: 16px; }
    .header__phone { font-size: 12px; }

    /* Hero: уменьшаем типографику */
    .hero__title { font-size: 20px; }
    .hero__label { font-size: 16px; padding-bottom: 18px; }
    .hero__subtitle { font-size: 16px; }
    .hero__tags-label { font-size: 16px; }

    /* Теги: переносим текст и растягиваем на всю ширину — иначе обрезаются справа */
    .hero__tags { gap: 10px; }
    .hero__tag {
        white-space: normal;
        width: 100%;
        text-align: left;
    }

    /* CTA-карточка */
    .hero__cta-card { padding: 16px 18px; }
    .hero__cta-text { font-size: 18px; }
    .hero__cta-btn { font-size: 16px; padding: 14px 20px; }
}