body {
    margin: 0;
    padding: 0;
    background: #f6f6f6;
    font-family: Arial, sans-serif;
}


/* HEADER */

.site-header {
    background: black;
    color: white;
    display: flex;
    align-items: center;
    padding: 0 18px;
    height: 90px;
}

.site-header .logo {
    height: 75px;
    width: auto;
}

.main-nav {
    margin-left: auto;
    margin-right: auto;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 80px;
    align-items: center;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 20px;
    letter-spacing: 0.4px;
    transition: opacity .15s, transform .15s;
}

.main-nav a:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}

/* LINE */
.full-width-line {
    height: 1px;
    background-color: white;
    width: 100%;
}

/* HERO IMAGE */
.Glavnaya {
    width: 100%;
    display: block;
}

/* BUTTON SECTION */
.button_backround_color {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    background-color: black;
}

.btn-new {
    padding: 13px 50px;
    font-size: 15px;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    background-size: 300% auto;
    background-image: linear-gradient(to right, #F67434 30%, #FB6D36 51%, #F67434 100%);
    box-shadow: 0 0 10px #F67434;
    transition: 0.5s;

}

.btn-new:hover {
    background-position: right center;
}

/*

/* FEATURES */
.container {
    max-width: 1400px;
    margin: 60px auto;
    padding: 0 20px;
    text-align: center;
}

h1 {
    font-size: 36px;
    margin-bottom: 50px;
    color: #0b0b0b;
    font-weight: bold;
}

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

.feature {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    text-align: left;
}

.icon {
    width: 90px;
    height: 90px;
    margin-right: 20px;
    flex-shrink: 0;
}

.feature-title {
    font-weight: 600;
    font-size: 18px;
    margin: 0 0 10px;
}

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









/* ФОТО */

.Nastya {
    width: 100%;
    max-width: 1100px;
    height: auto;
    display: block;
    margin: 0 auto 40px;
    border-radius: 20px;
}


/* ===== НАСТАВНИК ===== */

.nastavnik-section {
    margin: 0;
    background: #000000;
}

.nastavnik-wrapper {
    display: flex;
    position: relative;
}


/* ТЕКСТ ПОВЕРХ ФОТО */

.nastavnik_block {
    position: absolute;
    top: 180px;
    left: 6%;
    max-width: 480px;

    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.55),
            rgba(0, 0, 0, 0.25));
    backdrop-filter: blur(6px);
    border-radius: 20px;
    padding: 28px 26px;
    color: #ffffff;
}

.nastavnik_left {
    width: 50%;
    padding: 28px 26px;
}

.nastavnik_right {
    padding: 28px 26px;
}

#nastavnik_header {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: contain;
    display: block;
}

#nastavnik_img {
    width: 100%;
    max-width: 550px;
    height: auto;
    border-radius: 84px;
    display: block;
}

/* ТЕКСТ */
.nastavnik_text {
    font-size: 17px;
    line-height: 1.6;
    color: #f1f1f1;
    margin-bottom: 16px;
}

.nastavnik_text:last-child {
    margin-bottom: 0;
}


/*================= ПРОГРАММЫ =================*/


.h1_1 {
    text-align: center;
    font-size: 48px;
    margin: 60px 0;
}

/* ===== GRID ===== */
.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1400px;
    margin: 0 auto 100px;
}

/* ===== CARD ===== */
.card {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
    display: flex;
    flex-direction: column;
}

.media {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    padding-bottom: 100%;
}

.media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay-title {
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, .55);
    color: #fff;
    text-align: center;
    font-size: 13px;
    padding: 8px;
}

.card-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
    flex: 1;
}

.title {
    font-size: 17px;
    font-weight: 600;
}

.subtitle {
    font-size: 14px;
    color: #777;
    line-height: 1.6;
}

.meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.price {
    font-weight: 600;
}

/* Лента "Акция" */
.badge-sale {
    position: absolute;
    top: 16px;
    left: 12px;
    z-index: 3;
    background: #ff3b30;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 12px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .18);
}

/* Цена: старая + новая */
.price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

.old-price {
    color: #9a9a9a;
    text-decoration: line-through;
    font-weight: 600;
}



/* ===== BUTTON ===== */
.btn {
    padding: 10px 20px;
    border-radius: 999px;
    background: #0b0b0b;
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    user-select: none;
}

/* ===== MODAL LOGIC ===== */
.modal-toggle {
    display: none;
}

.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: .3s;
    z-index: 1000;
}

.modal-content {
    background: #fff;
    border-radius: 18px;
    padding: 30px;
    max-width: 520px;
    width: 90%;
    position: relative;
    transform: translateY(30px);
    transition: .3s;
}

.modal-toggle:checked+.modal {
    opacity: 1;
    pointer-events: auto;
}

.modal-toggle:checked+.modal .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    font-size: 28px;
    cursor: pointer;
}

.modal h2 {
    margin-bottom: 12px;
}

.modal p {
    color: #555;
    line-height: 1.6;
}

.popup-price {
    margin-top: 16px;
    font-weight: 700;
}

/* ===== ADAPTIVE ===== */
@media (max-width: 1024px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .grid {
        grid-template-columns: 1fr;
    }
}





/* ===== VIP SECTION ===== */

.vip-section {
    margin-top: 80px;
    background: #0b0b0b;
    padding: 100px 0;
}

.vip-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.vip-title {
    text-align: center;
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 80px;
    color: white;
}

/* GRID */

.vip-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
    align-items: stretch;
}



/* CARD */

.vip-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* ЦЕНТРУЕТ КАРТИНКИ */
    text-align: center;
    padding: 40px 30px;
    border-radius: 20px;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.05),
            rgba(255, 255, 255, 0.01));
    box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
    transition: transform .3s ease;
}




.vip-card:hover {
    transform: translateY(-10px);
}

.vip-card img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 30px;
}

.vip-card h3 {
    font-size: 20px;
    margin-bottom: 16px;
}

.vip-card p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .75);
    margin: 0 0 24px;
    flex-grow: 1;
}


/* BUTTON */

.vip-btn {
    margin-top: auto;
    /* КЛЮЧ */
    align-self: center;
    display: inline-block;
    padding: 12px 28px;
    border-radius: 999px;
    background: transparent;
    color: #fff;
    font-size: 13px;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, .35);
    cursor: pointer;
}


/* ===== MODAL ===== */

.h2_2 {
    color: white;
}

.vip-toggle {
    display: none;
}

.vip-popup {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .75);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: .3s;
    z-index: 999;
}

.vip-toggle:checked+.vip-popup {
    opacity: 1;
    pointer-events: auto;
}

.vip-popup-content {
    background: #111;
    padding: 40px;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    position: relative;
}

.vip-popup-content h2 {
    margin-top: 0;
}

.vip-popup-content p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .8);
}

.vip-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 26px;
    cursor: pointer;
}











/* ===== ГАЛЕРЕЯ ЗАГОЛОВОК ===== */

.gallery-title {
    text-align: center;
    margin-top: 60px;
}

.img_galerea {
    width: 100%;
    max-width: 700px;
    opacity: 0.9;
    margin-bottom: 50px;
}











/*Карусель с фото*/

/* Контейнер */
.slider {
    width: 1100px;
    height: 500px;
    margin: auto;
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    margin-bottom: 80px;
    /* отступ снизу */
}



/* Прячем radio */
input {
    display: none;
}

/* Слайды */
.slides {
    display: flex;
    width: 1000%;
    height: 100%;
    transition: 0.6s;
}

.slide {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Центрированное описание */
.caption {
    position: absolute;
    bottom: 25px;
    /* опускаем вниз */
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    /* шире */
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 18px 30px;
    /* ниже по высоте */
    border-radius: 14px;
    text-align: center;
}

.caption h2 {
    margin: 0 0 12px;
    font-size: 26px;
}

.caption p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
}

/* Переключение */
#slide1:checked~.slides {
    margin-left: 0;
}

#slide2:checked~.slides {
    margin-left: -100%;
}

#slide3:checked~.slides {
    margin-left: -200%;
}

#slide4:checked~.slides {
    margin-left: -300%;
}

#slide5:checked~.slides {
    margin-left: -400%;
}

#slide6:checked~.slides {
    margin-left: -500%;
}

#slide7:checked~.slides {
    margin-left: -600%;
}

#slide8:checked~.slides {
    margin-left: -700%;
}

#slide9:checked~.slides {
    margin-left: -800%;
}

#slide10:checked~.slides {
    margin-left: -900%;
}


/* Стрелки */
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 36px;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 6px 14px;
    border-radius: 50%;
    cursor: pointer;
    display: none;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

#slide1:checked~.prev.s1,
#slide1:checked~.next.s1,
#slide2:checked~.prev.s2,
#slide2:checked~.next.s2,
#slide3:checked~.prev.s3,
#slide3:checked~.next.s3,
#slide4:checked~.prev.s4,
#slide4:checked~.next.s4,
#slide5:checked~.prev.s5,
#slide5:checked~.next.s5,
#slide6:checked~.prev.s6,
#slide6:checked~.next.s6,
#slide7:checked~.prev.s7,
#slide7:checked~.next.s7,
#slide8:checked~.prev.s8,
#slide8:checked~.next.s8,
#slide9:checked~.prev.s9,
#slide9:checked~.next.s9,
#slide10:checked~.prev.s10,
#slide10:checked~.next.s10 {
    display: block;
}



/* Точки */
.dots {
    position: absolute;
    bottom: 15px;
    width: 100%;
    text-align: center;
}

.dots label {
    width: 12px;
    height: 12px;
    background: #bbb;
    border-radius: 50%;
    display: inline-block;
    margin: 0 6px;
    cursor: pointer;
}

#slide1:checked~.dots label:nth-child(1),
#slide2:checked~.dots label:nth-child(2),
#slide3:checked~.dots label:nth-child(3),
#slide4:checked~.dots label:nth-child(4) {
    background: white;
}















/*ДОП УСЛУГИ */

/* ===== ДОП УСЛУГИ ===== */

.dark-benefits {
    background: radial-gradient(1200px 400px at top center,
            rgba(255, 255, 255, 0.06),
            transparent),
        #0b0b0b;
    padding: 80px 20px;
    color: #ffffff;
    font-family: "Inter", system-ui, -apple-system, sans-serif;
}

.dark-benefits__wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.dark-benefits__title {
    text-align: center;
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 60px;
    letter-spacing: 0.04em;
}

/* ===== GRID ===== */

.dark-benefits__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

/* ===== CARD ===== */

.benefit-card {
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.08),
            rgba(255, 255, 255, 0.02));
    border-radius: 20px;
    padding: 28px 22px 22px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

/* ===== TITLE ===== */

.benefit-card__value {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 12px;
    color: #111;
    background: #ffffff;
    border-radius: 12px;
    padding: 10px 12px;
}

/* ===== TEXT ===== */

.benefit-card__text {
    font-size: 15px;
    line-height: 1.5;
    color: #ffffff;
    margin-bottom: 18px;
    flex-grow: 1;
}

/* ===== IMAGE ===== */

.benefit-card__image {
    margin-top: auto;
    width: 100%;
    height: 140px;
    border-radius: 14px;
    overflow: hidden;
}

.benefit-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* ← как было */
}

/* ===== HOVER ===== */

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}












/* ВЫ ПОЛУЧАЕТЕ*/

.premium-benefits {
    background: linear-gradient(180deg, #ffffff 0%, #f7f7f7 100%);
    padding: 70px 20px;
    font-family: "Inter", system-ui, -apple-system, sans-serif;
    color: #111;
}

.premium-benefits__container {
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== HEADER ===== */
.premium-benefits__header {
    margin-bottom: 50px;
}

.premium-benefits__label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8a8a8a;
    margin-bottom: 5px;
}

.premium-benefits__title {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.1;
}

/* ===== GRID ===== */
.premium-benefits__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 50px;
    row-gap: 20px;
}

/* ===== CARD ===== */
.premium-benefit {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 28px 30px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.premium-benefit::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    pointer-events: none;
}

.premium-benefit:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

/* ===== NUMBER ===== */
.premium-benefit__num {
    font-size: 14px;
    font-weight: 800;
    color: #ffffff;
    background: linear-gradient(135deg, #111, #444);
    min-width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== TEXT ===== */
.premium-benefit__text {
    font-size: 17px;
    line-height: 1.45;
    margin: 0;
}







/*ЧАСТО ЗАДАВАЕМЫЕ ВОПРОСЫ*/



/* Секция */
.faq {
    background: #0e0e0e;
    max-width: 100%;
    padding: 90px 20px;
}

/* Ограничение ширины */
.faq__list,
.faq__title {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

/* Заголовок */
.faq__title {
    text-align: center;
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 48px;
    color: #ffffff;
    letter-spacing: 0.5px;
}

/* Список */
.faq__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Карточка */
.faq-item {
    background: #ffffff;
    border-radius: 22px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.faq-item:hover {
    transform: translateY(-2px);
}

.faq-item[open] {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

/* Summary */
.faq-item__summary {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 26px 30px;
    cursor: pointer;
    list-style: none;
}

.faq-item__summary::-webkit-details-marker {
    display: none;
}

/* Номер */
.faq-item__number {
    font-size: 20px;
    font-weight: 600;
    color: #9c9c9c;
    min-width: 32px;
}

/* Вопрос */
.faq-item__question {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    color: #111111;
}

/* Иконка + */
.faq-item__icon {
    width: 22px;
    height: 22px;
    position: relative;
}

.faq-item__icon::before,
.faq-item__icon::after {
    content: "";
    position: absolute;
    background: #111;
    transition: transform 0.3s ease;
    border-radius: 2px;
}

.faq-item__icon::before {
    width: 100%;
    height: 2px;
    top: 50%;
    left: 0;
}

.faq-item__icon::after {
    height: 100%;
    width: 2px;
    left: 50%;
    top: 0;
}

/* Минус при открытии */
.faq-item[open] .faq-item__icon::after {
    transform: scaleY(0);
}

/* Контент */
.faq-item__content {
    padding: 0 30px 26px;
    color: #555555;
    font-size: 16px;
    line-height: 1.65;
}

.faq-item__content p {
    margin: 0;
}

.faq-item__content ul {
    padding-left: 18px;
    margin: 0;
}

.faq-item__content li {
    margin-bottom: 6px;
}










/*КОНТАКТЫ*/


.footer {
    position: relative;
    background: #050505;
    color: #fff;
    overflow: hidden;
    padding: 90px 20px 40px;
    font-family: 'Inter', sans-serif;
}

/* АНИМИРОВАННЫЙ ФОН */
.footer-bg {
    position: absolute;
    inset: -40%;
    background:
        radial-gradient(circle at 30% 30%,
            rgba(255, 255, 255, 0.08),
            transparent 55%),
        radial-gradient(circle at 70% 70%,
            rgba(255, 255, 255, 0.06),
            transparent 60%),
        linear-gradient(120deg,
            rgba(255, 255, 255, 0.03),
            transparent 60%);
    animation: bg-move 18s linear infinite;
    filter: blur(60px);
    z-index: 0;
}

@keyframes bg-move {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(6%, -4%) rotate(180deg);
    }

    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}


/* КОНТЕЙНЕР */


.footer {
    position: relative;
    background: #050505;
    color: #fff;
    padding: 150px 20px 25px;
    font-family: 'Inter', sans-serif;
}

.footer-bg {
    position: absolute;
    inset: -25%;
    /* было -40% — слишком агрессивно */
    pointer-events: none;
    z-index: 0;
}


.footer-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
}

/* ЛЕВАЯ ЧАСТЬ */
.footer-logo {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.footer-desc {
    max-width: 420px;
    color: #b5b5b5;
    line-height: 1.6;
    font-size: 15px;
}

/* ПРАВАЯ ЧАСТЬ */
.footer-title {
    font-size: 18px;
    margin-bottom: 18px;
    font-weight: 600;
}

.footer-contacts {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-contacts a {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.footer-contacts a:hover {
    opacity: 1;
}

.footer-address {
    color: #9a9a9a;
    font-size: 14px;
    line-height: 1.5;
}

/* НИЖНЯЯ ПОЛОСА */
.footer-bottom {
    position: relative;
    z-index: 1;
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    font-size: 13px;
    color: #777;
}










.footer-bottom {
    margin-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 16px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.footer-dev {
    display: inline-block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-dev__summary {
    list-style: none;
    cursor: pointer;
    user-select: none;
    transition: color 0.3s ease;
}

.footer-dev__summary::-webkit-details-marker {
    display: none;
}

.footer-dev__summary:hover {
    color: #fff;
}

.footer-dev__hint {
    margin-left: 6px;
    font-size: 11px;
    opacity: 0.45;
    transition: opacity 0.3s ease;
}

.footer-dev__summary:hover .footer-dev__hint {
    opacity: 0.9;
}

.footer-dev[open] .footer-dev__summary {
    color: #fff;
}

.footer-dev__content {
    margin-top: 8px;
    animation: footerDevFade 0.35s ease;
}

.footer-dev__content a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
}

.footer-dev__content a:hover {
    color: #fff;
}

@keyframes footerDevFade {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}






/* =========================
   💻 ≤1200px — ноутбуки
========================= */
@media (max-width: 1200px) {

    .main-nav ul {
        gap: 40px;
    }

    .grid,
    .features,
    .vip-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /*.vip-card:nth-child(3) {
        grid-column: 1 / -1;
        justify-self: center;
    }*/

    /* ДОП УСЛУГИ */
    .dark-benefits__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefit-card:last-child {
        grid-column: 1 / -1;
    }

    .benefit-card__image {
        height: 360px;
    }

    .slider {
        width: 90%;
        height: 420px;
    }

    .vip-title,
    .dark-benefits__title,
    .premium-benefits__title {
        font-size: 36px;
    }

    .feature-title {
        font-size: 30px;
    }

    .feature-desc {
        font-size: 20px;
    }

    .container h1 {
        font-size: 42px;
    }

    .Nastya {

        max-width: 950px;
        margin-bottom: 50px;
        border-radius: 18px;
    }

    .nastavnik_block {

        max-width: 415px;
        padding: 8px 10px;
        top: 180px;
        ;
        left: 8.5%;

    }

    .nastavnik_text {
        margin-left: 20px;
        font-size: 14.5px;
    }

}






/* =========================
   📱 ≤992px — планшеты
========================= */
@media (max-width: 992px) {

    /* HEADER */
    /*  .site-header {
        height: auto;
        padding: 16px;
        flex-wrap: wrap;
    }
*/
    .main-nav {
        margin: 12px auto 0;
    }

    /* GRID */
    .grid,
    .features {
        grid-template-columns: 1fr;
    }

    /* VIP */
    .vip-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* SLIDER */
    .slider {
        height: 380px;
    }

    .caption {
        width: 85%;
    }



    .benefit-card:last-child {
        grid-column: 1 / -1;
    }

    .benefit-card__image {
        height: 360px;
    }

    .nastavnik_block {
        max-width: 320px;
        padding: 18px 16px;
        top: 180px;
        left: 4%;
    }

    .nastavnik_text {
        font-size: 16px;
        line-height: 1.5;
    }

    .Nastya {
        max-width: 820px;
        margin-bottom: 40px;
        border-radius: 16px;
    }

    .nastavnik_block {
        top: 120px;
        left: 4%;
        max-width: 400px;
        padding: 22px 22px;
        border-radius: 16px;
    }

    .overlay-title {
        font-size: 36px;
    }

    .title {
        font-size: 36px;
    }

    .subtitle {
        font-size: 30px;
    }

    .price {
        font-size: 22px;
    }

    .btn,
    .vip-btn {
        width: 180px;
        height: 40px;

        font-size: 16px;
        /* ← УВЕЛИЧЕНИЕ ТЕКСТА */
        font-weight: 500;

        display: flex;
        /* центрируем текст */
        align-items: center;
        justify-content: center;
    }

    .h1_1 {
        font-size: 45px;
    }

    .modal-content {
        max-width: 680px;
    }

    .modal-content h2 {
        font-size: 40px;
    }

    .modal-content strong {
        font-size: 34px;
    }

    .modal-content span {
        font-size: 30px;
    }

    .vip-title {
        font-size: 42px;
    }

    .vip-card img {
        width: 240px;
        height: 240px;

    }

    .vip-card h3 {
        font-size: 38px;
    }

    .vip-card p {
        font-size: 32px;
    }

    .vip-popup-content {
        max-width: 800px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .vip-popup-content h2 {
        font-size: 36px;
    }

    .vip-popup p {
        font-size: 30px;
    }

    .vip-close {
        top: 15px;
        right: 20px;
        font-size: 50px;
        color: white;

    }

    .faq-item__question {
        font-size: 24px;
    }

    .faq-item__content {
        font-size: 20px;
    }

    .footer-desc {
        font-size: 14px;
    }

    .footer {
        padding-top: 80px;
    }

 

    .nastavnik-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .nastavnik_left,
    .nastavnik_right {
        width: 100%;
        padding: 20px;
    }

    /* Левая часть: заголовок + текст */
    .nastavnik_left {
        order: 1;
        text-align: center;
    }

    #nastavnik_header {
        margin: 0 auto 24px;
        max-width: 400px;
    }

    .nastavnik_text {
        font-size: 20px;
        line-height: 1.6;
        margin-bottom: 14px;
        padding: 10px 60px;
    }

    /* Фото наставника снизу */
    .nastavnik_right {
        order: 2;
        display: flex;
        justify-content: center;
        margin-top: 30px;
    }

    #nastavnik_img {
        max-width: 580px;
        border-radius: 48px;
    }

    .badge-sale{
        width: 90px;
        height: 80px;
        font-size: 25px;
        text-align: center;
    }




}




/* =========================
   📱 ≤768px — телефоны
========================= */
@media (max-width: 768px) {

    /* NAV */
    .main-nav ul {
        gap: 20px;
    }

    .logo {
        display: none;
    }

    /*    .main-nav {
        display: none;
    }

    .menu-label {
        display: flex;
    }
*/


    /* TITLES */
    .vip-title,
    .faq__title,
    .dark-benefits__title,
    .premium-benefits__title {
        font-size: 28px;
    }

    /* SLIDER */
    .slider {
        height: 300px;
    }

    .caption {
        width: 85%;
    }

    /* VIP */
    .vip-section {
        padding: 60px 0;
    }

    .vip-grid {
        gap: 26px;
    }

    /* FOOTER */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-desc {
        margin: 0 auto;
    }

    /* ДОП УСЛУГИ */
    .benefit-card__image {
        height: 320px;
    }

    .nastavnik_block {
        position: absolute;
        left: 50%;
        bottom: 20px;
        top: auto;
        transform: translateX(-50%);

        max-width: 92%;
        padding: 18px 16px;
        text-align: center;
    }

    .nastavnik_text {
        font-size: 13px;
    }

    .Nastya {
        max-width: 100%;
        margin-bottom: 30px;
        border-radius: 14px;
    }

    .nastavnik_block {
        position: relative;
        top: auto;
        left: auto;

        max-width: 100%;
        margin: -40px auto 0;
        padding: 20px 18px;

        border-radius: 16px;
    }

    .vip-img {}


}
















/* 🔒 Полная защита от вылета */
html, body {
  overflow-x: hidden;
}

/* 📱 Гриды в одну колонку */
@media (max-width: 768px) {
  .dark-benefits__grid {
    grid-template-columns: 1fr;
  }

  .premium-benefits__grid {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }
}










/* ===== MORE PROGRAMS ===== */

.extra-card {
    display: none;
}

.grid.show-extra .extra-card {
    display: flex;
    animation: fadeUp .45s ease forwards;
}

.more-programs-wrap {
    display: flex;
    justify-content: center;
    margin: -60px 0 100px;
}

.more-programs-btn {
    border: none;
    padding: 14px 32px;
    border-radius: 999px;
    background: #0b0b0b;
    color: #fff;
    font-size: 20px;
    font-weight: 550;
    cursor: pointer;
    transition: .25s ease;
}

.more-programs-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .18);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 640px) {
    .more-programs-wrap {
        margin: -50px 0 70px;
    }

    .more-programs-btn {
        width: calc(100% - 40px);
        max-width: 360px;
    }
}