/* Базовые стили */
:root {
    --black: #1c1814;
    --dark-grey: #2a2521;
    --gold: #EFCB8F;
    --gold-light: #FCE1AC;
    --gold-dark: #BD9A56;
    --white: #ffffff;
    --grey-text: #c8bfa8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 150px;
}

.gold {
    color: var(--gold);
}

/* Навигация */
.header {
    background-color: rgba(38, 33, 28, 0.95);
    padding: 8px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--gold-dark);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(252, 252, 238, 0.1);
    overflow: visible;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    display: block;
}

.logo-subtitle {
    font-size: 12px;
    color: var(--grey-text);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--gold);
}

.nav-btn {
    background-color: var(--gold);
    color: var(--black);
    border: none;
    padding: 8px 20px;
    cursor: pointer;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s;
    font-size: 14px;
}

.nav-btn:hover {
    background-color: var(--gold-light);
    transform: scale(1.05);
}

.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.burger span {
    width: 25px;
    height: 2px;
    background-color: var(--gold);
    transition: all 0.3s;
}

/* Главный экран */
.hero {
    height: 100vh;
    padding-top: 80px; /* отступ под новый хедер */
    background: linear-gradient(135deg, #1c1814 0%, #2a2521 50%, #1c1814 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    box-sizing: border-box;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(252, 252, 238, 0.1) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--gold-light);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--white);
    margin-bottom: 30px;
    font-weight: 300;
}

.hero-btn {
    background-color: var(--gold);
    color: var(--black);
    border: none;
    padding: 15px 40px;
    font-size: 18px;
    cursor: pointer;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s;
}

.hero-btn:hover {
    background-color: var(--gold-light);
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(252, 252, 238, 0.5);
}

/* Секции */
section {
    padding: 80px 0;
}


/* Секция тренера */
.trainer {
    background: linear-gradient(180deg, var(--black) 0%, var(--dark-grey) 100%);
}

.trainer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.trainer-photo {
    width: 100%;
    max-width: 620px;
    aspect-ratio: 4 / 5;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid var(--gold-dark);
    background-color: var(--dark-grey);
    margin: 0 auto;
    justify-self: center;
}

.trainer-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.trainer-name {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: var(--gold-light);
    margin-bottom: 20px;
}

.trainer-achievements {
    list-style: none;
    padding: 20px 25px;
    background-color: rgba(252, 252, 238, 0.04);
    border-radius: 10px;
    border-left: 3px solid var(--gold);
}

.trainer-achievements li {
    font-size: 17px;
    color: var(--white);
    margin-bottom: 12px;
}

.trainer-achievements li:last-child {
    margin-bottom: 0;
}

/* Для мобильных */
@media (max-width: 768px) {
    .trainer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .trainer-name {
        font-size: 24px;
    }
    
    .trainer-description {
        font-size: 15px;
    }
    
    .trainer-achievements li {
        font-size: 15px;
    }
}


.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    text-align: center;
    margin-bottom: 50px;
    color:var(--white);
}

/* О нас */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--grey-text);
    font-size: 18px;
}

.about-list {
    font-size: 20px;
    list-style: none;
    margin-top: 0;
    margin-bottom: 30px;
}

.about-list li {
    margin-bottom: 15px;
    color: var(--white);
}

.image-placeholder {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--gold-dark);
    border-radius: 10px;
    color: var(--grey-text);
}

/* Курсы */
.courses-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 20px;
    max-width: 100%;
    margin: 0;
    padding: 10px 40px;
}

/* Скрываем скроллбар на курсах */
.courses-grid::-webkit-scrollbar {
    display: none;
}

.courses-grid {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.course-card {
    flex: 0 0 450px;
    scroll-snap-align: start;
    aspect-ratio: 5 / 4;
    height: auto;
}

.course-card {
    position: relative;
    padding: 0;
    overflow: visible;
    cursor: default;
}

/* Все карточки курсов одинаковой ширины */
.course-card {
    width: 100%;
    padding: 30px;
}

.course-card {
    background-color: var(--dark-grey);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--gold-dark);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}



.course-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    margin-bottom: 15px;
}

.course-price {
    color: var(--gold);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.course-description {
    color: var(--grey-text);
    margin-bottom: 20px;
    flex-grow: 1;
}

.course-details {
    list-style: none;
    margin-bottom: 20px;
}

.course-details li {
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--white);
}

.course-details li::before {
    content: '•';
    color: var(--gold);
    margin-right: 10px;
}

/* Обёртка курса (карточка + кнопка под ней) */
.course-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 0 450px;
    scroll-snap-align: start;
}

.course-wrapper .course-card {
    width: 100%;
    aspect-ratio: 5 / 4;
    flex: none;
}

.course-btn {
    background-color: var(--gold);
    color: var(--black);
    border: 2px solid var(--gold);
    padding: 12px 40px;
    cursor: pointer;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s;
    font-size: 16px;
    margin-top: 20px;
    position: static;
    transform: none;
}

.course-btn:hover {
    background-color: var(--gold-light);
    color: var(--black);
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(252, 252, 238, 0.4);
}

/* Преимущества */
.advantages {
    background-color: var(--dark-grey);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.advantage-item {
    text-align: center;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s;
}

.advantage-item:hover {
    background-color: rgba(252, 252, 238, 0.1);
    transform: scale(1.05);
}

.advantage-item h4 {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    margin-bottom: 10px;
    font-size: 20px;
}

.advantage-item p {
    color: var(--grey-text);
}

/* Контакты */
.contact-content {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.contact-info {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-info p {
    margin: 0;
    padding: 15px 25px;
    background-color: var(--dark-grey);
    border: 1px solid var(--gold-dark);
    border-radius: 10px;
    transition: all 0.3s;
    white-space: nowrap;
}

.contact-info p:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(252, 252, 238, 0.2);
}

.contact-info p {
    margin-bottom: 20px;
    color: var(--grey-text);
}

.contact-info a {
    color: var(--gold);
    text-decoration: none;
}

/* Медиа-запросы */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: rgba(38, 33, 28, 0.98);
        flex-direction: column;
        padding: 20px;
        text-align: center;
        border-bottom: 2px solid var(--gold);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .burger {
        display: flex;
    }
    
    .nav-btn {
        display: none;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 28px;
    }
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content > * {
    animation: fadeInUp 1s ease-out;
}

.hero-content > *:nth-child(2) {
    animation-delay: 0.2s;
}

.hero-content > *:nth-child(3) {
    animation-delay: 0.4s;
}

/* Стили для логотипа-картинки */
.logo-image {
    height: 140px;
    width: auto;
    max-width: 480px;
    display: block;
    margin: -10px 0 -75px 0;
    position: relative;
    z-index: 10;
}

.logo-round {
    border-radius: 50%;
    height: 60px;
    width: 60px;
    object-fit: cover;
    border: 2px solid var(--gold);
}

/* Если хотите логотип и подпись в одну строку */
.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Для мобильных устройств */
@media (max-width: 768px) {
    .logo-image {
        height: 100px;
        max-width: 280px;
        margin: -5px 0 -50px 0
    }
    
    .logo-round {
        height: 40px;
        width: 40px;
    }
}

/* Стили для секции выпускниц */
.graduates-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 30px;
    margin-top: 30px;
    padding: 10px 0;
}

/* Скрываем скроллбар в галереях */
.graduates-grid::-webkit-scrollbar {
    display: none;
}

.graduates-grid {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.graduate-card {
    flex: 0 0 450px;
    scroll-snap-align: start;
}

.graduate-card {
    background-color: var(--dark-grey);
    border-radius: 10px;
    border: none;
    transition: all 0.3s;
    text-align: center;
}


.graduate-photo {
    width: 100%;
    aspect-ratio: 4 / 5;
    height: auto;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.graduate-photo img:not(.card-frame) {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}


/* Стили для одного курса */
.course-card {
    background-color: transparent;
    padding: 40px;
    border-radius: 0;
    border: none;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}


.course-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--gold);
    text-align: center;
}

.course-price {
    color: var(--gold);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

.course-description {
    color: var(--grey-text);
    margin-bottom: 15px;
    line-height: 1.7;
    font-size: 16px;
}

.course-details {
    list-style: none;
    margin: 30px 0;
    padding: 20px;
    background-color: rgba(252, 252, 238, 0.05);
    border-radius: 10px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 15px;
}

.course-details li {
    font-size: 16px;
    color: var(--white);
    padding: 10px 20px;
    background-color: var(--black);
    border-radius: 25px;
    border: 1px solid var(--gold-dark);
}

.course-details li::before {
    content: '✦';
    color: var(--gold);
    margin-right: 10px;
}

.course-btn {
    background-color: var(--gold);
    color: var(--black);
    border: none;
    padding: 15px 40px;
    cursor: pointer;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s;
    align-self: center;
    font-size: 18px;
    margin-top: 20px;
}

.course-btn:hover {
    background-color: var(--gold-light);
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(252, 252, 238, 0.4);
}


@media (max-width: 768px) {
    .course-card {
        padding: 25px;
    }
    
    .course-card h3 {
        font-size: 24px;
    }
    
    .course-price {
        font-size: 28px;
    }
    
    .course-description {
        font-size: 14px;
    }
    
    .course-details {
        flex-direction: column;
        align-items: center;
    }
    
    .course-details li {
        width: 100%;
        text-align: center;
    }
}


/* Стили для модального окна */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    overflow-y: auto;
    animation: fadeIn 0.3s ease-out;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background-color: var(--dark-grey);
    border: 2px solid var(--gold);
    border-radius: 15px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease-out;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid var(--gold-dark);
    position: sticky;
    top: 0;
    background-color: var(--dark-grey);
    z-index: 1;
}

.modal-title {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: var(--white);
}

.modal-close {
    background: none;
    border: none;
    color: var(--gold);
    font-size: 40px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: all 0.3s;
}

.modal-close:hover {
    color: var(--gold-light);
    transform: scale(1.2);
}

.modal-body {
    padding: 30px;
}

.modal-section {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(252, 252, 238, 0.1);
}

.modal-section:last-of-type {
    border-bottom: none;
}

.modal-section-title {
    color: #ffbb00;
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.modal-section p {
    color: var(--white);
    margin-bottom: 10px;
    line-height: 1.6;
    font-size: 14px;
}

.modal-section strong {
    color: var(--gold-light);
}

.modal-highlight {
    background-color: rgba(252, 252, 238, 0.05);
    padding: 20px;
    border-radius: 10px;
    border-left: 3px solid var(--gold);
}

.modal-btn {
    background-color: var(--gold);
    color: var(--black);
    border: none;
    padding: 15px 40px;
    cursor: pointer;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s;
    display: block;
    margin: 20px auto 0;
    font-size: 16px;
}

.modal-btn:hover {
    background-color: var(--gold-light);
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(252, 252, 238, 0.4);
}

/* Анимации для модального окна */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Стилизация скроллбара в модальном окне */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: var(--dark-grey);
}

.modal-content::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .modal.active {
        padding: 10px;
        align-items: flex-start;
    }
    
    .modal-content {
        max-height: 95vh;
        margin: 10px 0;
    }
    
    .modal-header {
        padding: 15px 20px;
    }
    
    .modal-title {
        font-size: 20px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .modal-section-title {
        font-size: 16px;
    }
    
    .modal-section p {
        font-size: 13px;
    }
}


@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}


@media (max-width: 768px) {
    .contact-info {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    
    .contact-info p {
        white-space: normal;
        text-align: center;
    }
}

/* Секция чемпионок */
.champions {
    background-color: var(--dark-grey);
}

.champions .graduate-card {
    background-color: transparent;
}


/* Стили для видео */
.video-placeholder {
    width: 100%;
    height: 550px;
    border: 2px solid var(--gold-dark);
    border-radius: 10px;
    overflow: hidden;
    background-color: #2a2a2a;
}

.video-placeholder video,
.video-placeholder iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Для мобильных */
@media (max-width: 768px) {
    .video-placeholder {
        height: 250px;
    }
}


/* Стили для документов */
.documents-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.document-card {
    border: 1px solid var(--gold-dark);
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    background-color: var(--dark-grey);
}


.document-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

/* Для мобильных */
@media (max-width: 768px) {
    .documents-grid {
        gap: 10px;
    }
    
    .document-card img {
        height: 180px;
    }
}


/* Картинка с программой курса */
.course-card {
    position: relative;
    padding: 0;
    overflow: visible;
    cursor: default;
}

.course-image {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
    border: none;
    border-radius: 20px;
    margin: 0;
}


.about-text p:not(.about-motto) {
    font-family: 'Playfair Display', serif;
    margin-bottom: 22px;
    color: #FCF5C6;
    padding-left: 20px;
    border-left: 2px solid var(--gold-dark);
    transition: all 0.3s;
    line-height: 1.8;
}

.about-text p:hover {
    border-left-color: var(--gold);
    color: var(--white);
}

.about-text p:first-child {
    font-size: 20px;
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    font-weight: 700;
    padding-left: 25px;
    line-height: 1.5;
}

.about-text p:first-child::first-letter {
    font-size: 40px;
    color: var(--gold-light);
    line-height: 1;
}


/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .graduate-card {
        flex: 0 0 85%;
    }
    
    .graduate-photo {
        aspect-ratio: 4 / 5;
        height: auto;
    }
    
    .course-wrapper {
        flex: 0 0 85%;
    }
    
    .course-wrapper .course-card {
        aspect-ratio: 5 / 4;
        height: auto;
    }

    .course-btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 15px;
        margin-top: 15px;
    }
    
    .graduates-grid {
        gap: 15px;
        padding: 10px 20px;
    }
    
    /* Курсы — вертикальный скролл на телефоне */
    .courses-grid {
        flex-direction: column;
        overflow-x: hidden;
        overflow-y: auto;
        max-height: 70vh;   /* ← высота видимой области */
        padding: 10px 20px;
        gap: 20px;
    }
    
    .courses-grid .course-wrapper {
        flex: 0 0 auto;
        width: 100%;
    }
    
    .courses-grid .course-wrapper .course-card {
        width: 100%;
    }
    
    /* Скрываем скроллбар на мобильных */
    .graduates-grid::-webkit-scrollbar {
        display: none;
    }
    
    .graduates-grid {
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    /* Скрываем стрелки на мобильных */
    .carousel-arrow {
        display: none;
    }
}


/* Обертка карусели со стрелками */
.carousel-wrapper {
    position: relative;
    width: 100%;
}

/* Стрелки */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(10, 10, 10, 0.85);
    color: var(--gold);
    border: 2px solid var(--gold);
    font-size: 30px;
    font-weight: 700;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
    padding-bottom: 4px;
}

.carousel-arrow:hover {
    background-color: var(--gold);
    color: var(--black);
    transform: translateY(-50%) scale(1.1);
}

.carousel-arrow-left {
    left: 20px;
}

.carousel-arrow-right {
    right: 20px;
}

/* Скрываем стрелки на мобильных (там свайп) */
@media (max-width: 768px) {
    .carousel-arrow {
        display: none;
    }
}


/* PNG-рамка поверх фото */
.course-card,
.graduate-photo {
    position: relative;
}

.card-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* чтобы клики проходили сквозь рамку на фото */
    z-index: 5;
    object-fit: fill;
}

/* Общие стили рамок */
.card-frame {
    position: absolute;
    pointer-events: none;
    z-index: 5;
}

/* Рамка для курсов */
.frame-course {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    pointer-events: none;
    z-index: 5;
}

.frame-graduate {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    pointer-events: none;
    z-index: 5;
}



/* Фоновые градиенты для секций */
.hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 50%, #1a1a1a 100%);
}

.about {
    background: linear-gradient(180deg, var(--black) 0%, var(--dark-grey) 100%);
}

.courses {
    background: linear-gradient(180deg, var(--dark-grey) 0%, var(--black) 100%);
}

.advantages {
    background: linear-gradient(135deg, var(--dark-grey) 0%, #322c26 50%, var(--dark-grey) 100%);
}

.champions {
    background: linear-gradient(135deg, var(--black) 0%, var(--dark-grey) 100%);
}

.contact {
    background: linear-gradient(180deg, var(--dark-grey) 0%, var(--black) 100%);
}



.advantages,
.champions {
    position: relative;
    overflow: hidden;
}

.advantages::before,
.champions::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(252, 252, 238, 0.04) 0%, transparent 60%);
    pointer-events: none;
}


@media (max-width: 768px) {
    .header {
        padding: 5px 0;
    }
    
    .hero {
        padding-top: 60px;
    }
    
    section {
        scroll-margin-top: 60px;
    }
}


/* Подпись под рамкой */
.document-caption {
    text-align: center;
    margin-top: 12px;
    color: var(--gold-light);
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    letter-spacing: 1px;
}

/* Для мобильных */
@media (max-width: 768px) {
    .document-caption {
        font-size: 14px;
        margin-top: 8px;
    }
}



/* Девиз в секции "Об академии" */
.about-motto {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-style: italic;
    color: var(--gold-light);
    text-align: center;
    margin: 0 auto 30px auto;
    padding: 20px 60px 25px 60px;
    line-height: 1.5;
    position: relative;
}

.about-motto::before {
    content: '❝';
    font-size: 50px;
    color: var(--gold-dark);
    position: absolute;
    top: -15px;
    left: 0;
    line-height: 1;
}

.about-motto::after {
    content: '❞';
    font-size: 50px;
    color: var(--gold-dark);
    position: absolute;
    bottom: -30px;
    right: 50px;
    line-height: 1;
}


/* Для мобильных */
@media (max-width: 768px) {
    .about-motto {
        font-size: 18px;
        padding: 15px 40px 20px 40px;
        margin-bottom: 20px;
    }
    
    .about-motto::before,
    .about-motto::after {
        font-size: 36px;
    }
}



/* Секция отзывов */
.reviews {
    background: linear-gradient(135deg, var(--dark-grey) 0%, #322c26 50%, var(--dark-grey) 100%);
}

.reviews-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 30px;
    margin-top: 30px;
    padding: 10px 0;
}

/* Скрываем скроллбар */
.reviews-grid::-webkit-scrollbar {
    display: none;
}

.reviews-grid {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.review-card {
    flex: 0 0 450px;
    scroll-snap-align: start;
    background-color: transparent;
    border-radius: 10px;
    transition: all 0.3s;
}

.review-photo {
    width: 100%;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--gold-dark);
    border-radius: 15px;
    overflow: hidden;
}

.review-photo img {
    width: 100%;
    height: auto;
    display: block;
}

/* Для мобильных */
@media (max-width: 768px) {
    .review-card {
        flex: 0 0 85%;
    }
    
    .reviews-grid {
        gap: 15px;
        padding: 10px 20px;
        align-items: flex-start;
    }
    
    .reviews-grid::-webkit-scrollbar {
        display: none;
    }
    
    .reviews-grid {
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
}