/* ========== СБРОС СТИЛЕЙ И БАЗА ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

@font-face {
    font-family: 'Morfin Sans';
    src: url('fonts/MorfinSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Czizh';
    src: url('fonts/ofont.ru_Czizh.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background:
        radial-gradient(circle at 20% 80%, rgba(147, 196, 255, 0.8) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 167, 249, 0.7) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(240, 240, 255, 0.87) 0%, transparent 70%),
        linear-gradient(145deg, #e0eafc 0%, #f6e9f7 100%);
    color: #1a1a2e;
    line-height: 1.5;
    scroll-behavior: smooth;
    min-height: 100vh;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,300;14..32,400;14..32,600;14..32,700;14..32,800&display=swap');

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* ========== ШАПКА ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    height: 70px;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: -1;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-text {
    font-family: 'Morfin Sans', 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
    color: #ffffff;
    white-space: nowrap;
}

.logo-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #896ee9;
    flex-shrink: 0;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
    transition: opacity 0.2s;
}

/* ========== ГЛАВНЫЙ ЭКРАН (HERO) ========== */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    padding: 80px 0 40px;
}

/* ===== КОНТЕЙНЕР ДЛЯ ФОНА (постер + видео) ===== */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

/* ===== ПОСТЕР (всегда виден) ===== */
.hero-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* ===== ВИДЕО (поверх постера, но скрыто) ===== */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.8s ease;
}

/* ===== ВИДЕО СТАНОВИТСЯ ВИДИМЫМ, КОГДА ЗАГРУЗИЛОСЬ ===== */
.hero-video.visible {
    opacity: 1;
}

/* ===== ТЁМНЫЙ СЛОЙ ===== */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.10);
    z-index: -1;
}

/* ===== КОНТЕНТ (КНОПКА) ПОВЕРХ ВСЕГО ===== */
.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    padding: 20px;
}

.hero h1 {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff, #ddd);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    font-size: 18px;
    margin-bottom: 35px;
    color: #eee;
}

/* ===== КНОПКА ===== */
.btn-primary {
    display: inline-block;
    color: #fff !important;
    font-weight: 700;
    font-size: 16px;
    padding: 14px 40px;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.7) 0%, rgba(255, 200, 100, 0.35) 60%, rgba(200, 140, 50, 0.5) 100%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow:
        inset 0 -12px 30px rgba(0, 0, 0, 0.5),
        inset 0 8px 20px rgba(255, 255, 255, 0.3),
        0 15px 40px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(137, 110, 233, 0.25);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
    transform: scale(1.04) translateY(-2px);
    box-shadow:
        inset 0 -4px 12px rgba(0, 0, 0, 0.15),
        inset 0 4px 12px rgba(255, 255, 255, 0.4),
        0 8px 30px rgba(200, 160, 50, 0.25),
        0 0 50px rgba(200, 160, 50, 0.15);
    color: #fff !important;
}

.btn-primary:active {
    transform: scale(0.96);
}

/* ========== ЗАГОЛОВКИ ========== */
h1,
h2,
h3,
h4,
.section-title,
.founder-name,
.coach-name,
.parents-block-title {
    font-family: 'Morfin Sans', 'Inter', sans-serif;
    font-weight: 400;
    font-size: 38px;
}

.section-title {
    font-size: 44px;
}

.founder-name {
    font-size: 38px;
}

.coach-name {
    font-size: 30px;
}

.parents-block-title {
    font-size: 28px;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 60px;
    color: #03021e;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ========== БЛОК С ЦИФРАМИ ========== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
    margin-top: 40px;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: #896ee9;
    line-height: 1;
}

.stat-label {
    font-size: 16px;
    color: #180938;
    margin-top: 10px;
}

/* ========== БЛОК "ПОЧЕМУ МЫ" ========== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 24px;
    padding: 30px;
    transition: transform 0.2s, box-shadow 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    border-color: #896ee9;
}

.feature-desc {
    color: #333;
    font-size: 14px;
    line-height: 1.5;
}

.feature-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #896ee9;
}

/* ========== ОСНОВАТЕЛЬ ========== */
.founder-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 30px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.founder-list li {
    color: #333;
}

.founder-image img {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
}

.founder-name {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #896ee9;
}

.founder-title {
    font-size: 18px;
    margin-bottom: 20px;
    color: #1f1e42;
}

.founder-list {
    list-style: none;
    margin-top: 20px;
}

.founder-list li {
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
    color: #1b1634;
}

.founder-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #896ee9;
    font-weight: bold;
}

/* ========== ФОРМА ========== */
.form-section {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 30px;
    padding: 50px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.form-group {
    max-width: 500px;
    margin: 0 auto;
}

input {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #ccc;
    border-radius: 12px;
    color: #1a1a2e;
    font-size: 16px;
}

input:focus {
    outline: none;
    border-color: #896ee9;
}

/* ========== ПОДВАЛ ========== */
.footer {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 40px 0;
    text-align: center;
    color: #1a1a2e;
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* ========== НАШИ ЗАЛЫ ========== */
#halls .container>div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

#map {
    width: 100%;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #333;
    position: sticky;
    top: 100px;
}

#hallSelect {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(4px);
    color: #1a1a2e;
    border: 1px solid #896ee9;
    border-radius: 12px;
    font-size: 18px;
    cursor: pointer;
    margin-bottom: 30px;
}

#hallInfo {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    display: none;
}

#hallName {
    color: #896ee9;
    font-size: 28px;
    margin-bottom: 10px;
}

#hallAddress {
    color: #333;
    margin-bottom: 20px;
    font-size: 16px;
}

#hallSchedule {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    font-size: 14px;
}

/* ========== ТРЕНЕРЫ ========== */
.coaches {
    padding-top: 120px;
}

.coaches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.coach-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 24px;
    padding: 30px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.coach-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.coach-photo {
    width: 300px;
    height: 300px;
    margin: 0 auto 20px;
    border-radius: 70%;
    overflow: hidden;
    border: 3px solid #896ee9;
}

.coach-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.coach-name {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
    font-stretch: expanded;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
    letter-spacing: 1px;
}

.coach-title {
    font-size: 16px;
    font-weight: 600;
    color: #896ee9;
    margin-bottom: 12px;
}

.coach-desc {
    font-size: 14px;
    color: #1a1a2e;
    line-height: 1.4;
}

/* ===== ПЛАВАЮЩИЕ ШАРИКИ ===== */
.bubbles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.bubble {
    position: absolute;
    top: -80px;
    width: 120px;
    height: 120px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    color: #ffffff;
    white-space: normal;
    word-break: break-word;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.7) 0%, rgba(255, 200, 100, 0.35) 60%, rgba(200, 140, 50, 0.5) 100%);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow:
        inset 0 -8px 20px rgba(0, 0, 0, 0.2),
        inset 0 8px 20px rgba(255, 255, 255, 0.3),
        0 10px 30px rgba(0, 0, 0, 0.2),
        0 0 40px rgba(137, 110, 233, 0.15);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    animation: floatDown var(--duration, 20s) linear infinite;
    animation-delay: var(--delay, 0s);
    opacity: 0;
    animation-fill-mode: forwards;
}

.bubble::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 15%;
    width: 40%;
    height: 25%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 100%);
    border-radius: 50%;
    transform: rotate(-20deg);
    pointer-events: none;
    opacity: 0.9;
}

@keyframes floatDown {
    0% {
        transform: translateY(0) translateX(0) scale(0.6);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(110vh) translateX(20px) scale(1.1);
        opacity: 0;
    }
}

.bubble:nth-child(odd) {
    animation-name: floatDownLeft;
}

.bubble:nth-child(even) {
    animation-name: floatDownRight;
}

@keyframes floatDownLeft {
    0% {
        transform: translateY(0) translateX(0) scale(0.6);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(110vh) translateX(-30px) scale(1.1);
        opacity: 0;
    }
}

@keyframes floatDownRight {
    0% {
        transform: translateY(0) translateX(0) scale(0.6);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(110vh) translateX(30px) scale(1.1);
        opacity: 0;
    }
}

/* ========== ДЛЯ РОДИТЕЛЕЙ ========== */
.parents {
    padding-top: 120px;
}

.parents-block {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 24px;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.parents-block-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #896ee9;
}

.parents-docs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.parents-docs-list li {
    padding-left: 24px;
    position: relative;
    margin-bottom: 12px;
    font-size: 16px;
    color: #1a1a2e;
    line-height: 1.4;
}

.parents-docs-list li::before {
    content: "📄";
    position: absolute;
    left: 0;
    color: #896ee9;
}

.parents-articles-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.parents-articles-list li {
    margin-bottom: 12px;
}

.parents-articles-list a {
    color: #1a1a2e;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.2s;
    display: inline-block;
}

.parents-articles-list a:hover {
    color: #896ee9;
}

.parents-articles-list a::after {
    content: " →";
    color: #896ee9;
}

.faq-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-question {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 6px;
}

.faq-answer {
    font-size: 15px;
    color: #333;
    margin-top: 6px;
    padding-left: 16px;
    border-left: 3px solid #896ee9;
}

/* ===== КАРТОЧКИ ===== */
.why-us {
    max-width: 1200px;
    margin: 0 auto;
}

.why-us h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: #1a1a2e;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    position: relative;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.card h3 {
    font-size: 20px;
    padding: 16px 16px 8px;
    color: #1a1a2e;
}

.card p {
    padding: 0 16px 16px;
    color: #555;
    font-size: 14px;
    line-height: 1.5;
}

.card-slider {
    position: relative;
    margin-bottom: 20px;
    padding: 8px 8px 4px 8px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.card-slider .slide {
    display: none;
}

.card-slider .slide.active {
    display: block;
}

.card-slider .slide.active img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    position: relative;
    z-index: 2;
}

.card-slider::before,
.card-slider::after {
    content: '';
    position: absolute;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
    pointer-events: none;
    z-index: 0;
}

.card-slider::before {
    top: 10px;
    left: 14px;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    transform: rotate(2deg);
}

.card-slider::after {
    top: 16px;
    left: 8px;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    transform: rotate(-3deg);
}

.click-hint {
    display: inline-block;
    margin: 8px 16px 16px;
    color: #e94560;
    font-size: 13px;
    font-weight: bold;
    transition: 0.3s;
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    opacity: 0.8;
    pointer-events: none;
    z-index: 5;
    animation: pulse-hint 2s infinite;
}

.card:hover .click-hint {
    transform: translateX(5px);
}

@keyframes pulse-hint {
    0% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    100% {
        opacity: 0.6;
        transform: scale(1);
    }
}

/* ===== ПОПАП ===== */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.popup-overlay.active {
    display: flex;
}

.popup-content {
    width: 80%;
    max-width: 900px;
    max-height: 90vh;
    background: white;
    border-radius: 20px;
    position: relative;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.4s ease;
}

.popup-close {
    position: absolute;
    top: 12px;
    right: 18px;
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: #333;
    z-index: 10;
    transition: 0.3s;
}

.popup-close:hover {
    color: #e94560;
    transform: rotate(90deg);
}

.popup-slider {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.popup-slides {
    display: flex;
    transition: transform 0.5s ease;
}

.popup-slide {
    min-width: 100%;
    box-sizing: border-box;
}

.popup-slide img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

.popup-slide .slide-text {
    padding: 20px 16px 16px;
}

.popup-slide .slide-text h3 {
    font-size: 24px;
    margin-bottom: 8px;
    color: #1a1a2e;
}

.popup-slide .slide-text p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

.popup-prev,
.popup-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
    z-index: 5;
}

.popup-prev {
    left: 12px;
}

.popup-next {
    right: 12px;
}

.popup-prev:hover,
.popup-next:hover {
    background: #e94560;
    color: white;
}

.popup-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
}

.popup-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.popup-dot.active {
    background: #e94560;
    transform: scale(1.2);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(60px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ========== РАЗДЕЛ "О ШКОЛЕ" ========== */
.about-section .about-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.about-text p {
    font-size: 18px;
    line-height: 1.8;
    color: #1a1a2e;
    margin-bottom: 20px;
    text-align: justify;
}

.about-text strong {
    color: #896ee9;
    font-weight: 700;
}

.about-highlight {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    border-radius: 24px;
    padding: 30px 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    margin-top: 10px;
}

.about-highlight blockquote {
    font-size: 22px;
    font-style: italic;
    color: #1a1a2e;
    line-height: 1.6;
    margin: 0;
    padding-left: 20px;
    border-left: 4px solid #896ee9;
}

.about-highlight cite {
    display: block;
    margin-top: 15px;
    font-size: 16px;
    font-weight: 600;
    color: #896ee9;
    text-align: right;
    font-style: normal;
}

.handwritten-quote {
    font-family: 'Czizh', 'Sacramento', cursive;
    font-size: 1.5em;
    line-height: 1.6;
    color: #896ee9;
    font-weight: 400;
}

/* ===== СТИЛИ ДЛЯ ПРИЛОЖЕНИЯ 1 (ПРАВИЛА) ===== */
.oferta-content .highlight-block p,
.oferta-content .highlight-block li,
.oferta-content .highlight-block ul,
.oferta-content .highlight-block .attention p {
    font-family: 'Montserrat', 'Inter', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.6;
}

.oferta-content .highlight-block h2,
.oferta-content .highlight-block h3 {
    font-family: 'Morfin Sans', 'Inter', sans-serif;
    font-weight: 400;
}

/* ===== ТЕЛЕФОН В ШАПКЕ ===== */
.phone-link {
    display: inline-block;
    color: #fff !important;
    font-weight: 700;
    font-size: 15px;
    padding: 8px 20px;
    text-decoration: none;
    white-space: nowrap;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.7) 0%, rgba(255, 200, 100, 0.35) 60%, rgba(200, 140, 50, 0.5) 100%);
    border-radius: 30px;
    border: 1px solid rgba(255, 215, 100, 0.5);
    box-shadow:
        inset 0 -12px 30px rgba(0, 0, 0, 0.5),
        inset 0 8px 20px rgba(255, 255, 255, 0.3),
        0 15px 40px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(137, 110, 233, 0.25);
    transition: all 0.3s ease;
}

.phone-link:hover {
    transform: scale(1.04) translateY(-2px);
    box-shadow:
        inset 0 -4px 12px rgba(0, 0, 0, 0.2),
        inset 0 4px 12px rgba(255, 255, 200, 0.5),
        0 8px 30px rgba(200, 160, 50, 0.4),
        0 0 50px rgba(200, 160, 50, 0.2);
    color: #fff !important;
}

/* ===== ВЫРАВНИВАНИЕ ШАПКИ ===== */
.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 100%;
}

.logo-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #896ee9;
    flex-shrink: 0;
}

.logo-text {
    font-family: 'Morfin Sans', 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
    color: #ffffff;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 100%;
    flex-direction: row !important;
}

.nav-links a {
    display: flex;
    align-items: center;
    height: 100%;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    transition: opacity 0.2s;
}

.phone-link {
    display: flex;
    align-items: center;
    height: 100%;
    color: #fff !important;
    font-weight: 700;
    font-size: 14px;
    padding: 4px 16px;
    text-decoration: none;
    white-space: nowrap;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.7) 0%, rgba(255, 200, 100, 0.35) 60%, rgba(200, 140, 50, 0.5) 100%);
    border-radius: 30px;
    border: 1px solid rgba(255, 215, 100, 0.5);
    box-shadow:
        inset 0 -12px 30px rgba(0, 0, 0, 0.5),
        inset 0 8px 20px rgba(255, 255, 255, 0.3),
        0 15px 40px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(137, 110, 233, 0.25);
    transition: all 0.3s ease;
}

.phone-link:hover {
    transform: scale(1.04) translateY(-2px);
    box-shadow:
        inset 0 -12px 30px rgba(0, 0, 0, 0.5),
        inset 0 8px 20px rgba(255, 255, 255, 0.3),
        0 15px 40px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(137, 110, 233, 0.25);
    color: #fff !important;
}
.seo-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
.price-pereschet {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    border-radius: 24px;
    padding: 30px;
    border: 2px solid #896ee9;
    margin-top: 30px;
}

.price-pereschet h3 {
    color: #896ee9;
}
.price-note {
    font-size: 15px; /* как имена тренеров */
    font-weight: 700; /* жирный */
    margin-top: 20px;
}
#price p {
    text-align: justify;
}
/* ===== НОВЫЙ СТИЛЬ ДЛЯ МОДАЛЬНОГО ОКНА ===== */
#requestModal > div {
    background: rgba(255, 255, 255, 0.85) !important; /* Светлый полупрозрачный фон */
    backdrop-filter: blur(15px) !important; /* Стеклянный эффект */
    -webkit-backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important; /* Легкая рамка */
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2) !important; /* Мягкая тень */
    border-radius: 30px !important;
}

/* Заголовки формы */
#requestModal h2 {
    color: #1a1a2e !important; /* Темный цвет, как на основном сайте */
    font-family: 'Morfin Sans', 'Inter', sans-serif;
    font-weight: 700;
    text-shadow: none;
}

#requestModal p {
    color: #333 !important; /* Темный текст для читаемости */
}

/* Поля ввода */
#requestModal input,
#requestModal select {
    background: rgba(255, 255, 255, 0.9) !important; /* Светлый фон */
    border: 1px solid #ddd !important; /* Светлая рамка */
    color: #1a1a2e !important; /* Темный текст */
    border-radius: 12px !important;
    padding: 14px !important;
    box-shadow: none !important;
}

#requestModal input:focus,
#requestModal select:focus {
    border-color: #896ee9 !important; /* Акцентный цвет при фокусе */
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(137, 110, 233, 0.2) !important;
}

/* Кнопка отправки */
#requestModal .btn-primary {
    background: radial-gradient(circle at 30% 30%, rgba(137, 110, 233, 0.2) 0%, #896ee9 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(137, 110, 233, 0.3) !important;
}

#requestModal .btn-primary:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 30px rgba(137, 110, 233, 0.4) !important;
}

/* Кнопка закрытия (крестик) */
#requestModal button[onclick="closeModal()"] {
    color: #666 !important;
    font-weight: 600;
}

#requestModal button[onclick="closeModal()"]:hover {
    color: #1a1a2e !important;
}
#modalForm .btn-primary {
    display: block;
    width: 100% !important;
    text-align: center;
    margin: 0 auto !important;
}
#modalHall {
    margin-bottom: 20px; /* ← это и есть пустая строка (отступ) */
}