/* ============================================================
           Дизайн-токены — палитра взята из логотипа
           ============================================================ */
        :root {
            --teal:        #5E9CA3;
            --teal-600:    #569095;
            --teal-700:    #4A7F84;
            --teal-900:    #356064;
            --teal-050:    #EAF3F3;
            --teal-text:   #3F6E73;
            --lime:        #B5CC4E;
            --lime-600:    #A8C64A;
            --lime-700:    #93B23C;
            --yellow:      #F0DC5A;
            --yellow-600:  #E8D44D;
            --cream:       #FDF6E3;
            --ink:         #3A3A3A;
            --ink-soft:    #5B5B5B;
            --white:       #FFFFFF;

            --radius-lg: 28px;
            --radius-md: 20px;
            --radius-sm: 14px;
            --shadow-sm: 0 4px 14px rgba(53, 96, 100, .10);
            --shadow-md: 0 14px 34px rgba(53, 96, 100, .16);
            --shadow-lg: 0 26px 60px rgba(53, 96, 100, .22);

            --font-display: "Comfortaa", "Nunito", ui-rounded, "Segoe UI Rounded", system-ui, sans-serif;
            --font-body:    "Nunito", ui-rounded, "Segoe UI Rounded", system-ui, -apple-system, sans-serif;

            --container: 1160px;
            --header-h: 76px;
        }

        /* ============================================================
           База
           ============================================================ */
        * { box-sizing: border-box; }
        html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
        body {
            margin: 0;
            font-family: var(--font-body);
            font-size: 17px;
            line-height: 1.65;
            color: var(--ink);
            background: var(--white);
            -webkit-font-smoothing: antialiased;
            overflow-x: hidden;
        }
        h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; margin: 0 0 .5em; color: inherit; }
        p { margin: 0 0 1em; }
        a { color: inherit; }
        img, svg { max-width: 100%; display: block; }
        ul { margin: 0; padding: 0; list-style: none; }

        .container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
        .section { padding: 88px 0; }
        .section__head { max-width: 640px; margin: 0 auto 52px; text-align: center; }
        .section__kicker {
            display: inline-block; font-weight: 800; font-size: 14px; letter-spacing: .06em;
            text-transform: uppercase; color: var(--teal-700);
            background: rgba(181, 204, 78, .28); padding: 6px 16px; border-radius: 999px; margin-bottom: 16px;
        }
        .section__title { font-size: clamp(28px, 4vw, 40px); font-weight: 700; }
        .section__subtitle { color: var(--ink-soft); font-size: 18px; margin: 0; }
        .section--tint { background: var(--teal-050); }
        .section--teal { background: var(--teal); color: var(--white); }
        .section--teal .section__subtitle { color: #EAF3F3; }
        .section--teal .section__kicker { background: rgba(255, 255, 255, .18); color: var(--white); }
        .section--cream { background: var(--cream); }

        /* ============================================================
           Иконки (SVG-спрайт, stroke = currentColor)
           ============================================================ */
        .sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
        .icon {
            width: 24px; height: 24px; flex: 0 0 auto; display: block;
            fill: none; stroke: currentColor; stroke-width: 1.8;
            stroke-linecap: round; stroke-linejoin: round;
        }
        .icon--sm { width: 18px; height: 18px; stroke-width: 2; }
        .icon--md { width: 26px; height: 26px; }
        .icon--lg { width: 30px; height: 30px; }
        .icon--xl { width: 40px; height: 40px; stroke-width: 2.2; }

        /* ============================================================
           Кнопки
           ============================================================ */
        .btn {
            display: inline-flex; align-items: center; justify-content: center; gap: 10px;
            font-family: var(--font-display); font-weight: 700; font-size: 17px;
            padding: 15px 30px; border-radius: 999px; border: none; cursor: pointer;
            text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
            white-space: nowrap;
        }
        .btn:focus-visible { outline: 3px solid var(--teal-900); outline-offset: 3px; }
        .btn--primary { background: var(--lime); color: var(--teal-900); box-shadow: var(--shadow-sm); }
        .btn--primary:hover { background: var(--yellow); transform: translateY(-3px); box-shadow: var(--shadow-md); }
        .btn--ghost { background: transparent; color: var(--white); border: 2px solid rgba(255, 255, 255, .6); }
        .btn--ghost:hover { background: rgba(255, 255, 255, .14); border-color: var(--white); transform: translateY(-3px); }
        .btn--outline { background: transparent; color: var(--teal-700); border: 2px solid var(--teal); }
        .btn--outline:hover { background: var(--teal); color: var(--white); transform: translateY(-3px); }
        .btn--sm { padding: 11px 22px; font-size: 15px; }
        .btn--block { width: 100%; }

        /* ============================================================
           Логотип
           ============================================================ */
        .logo { display: inline-flex; align-items: center; text-decoration: none; }
        .logo img { height: 56px; width: auto; border-radius: 16px; display: block; }

        /* ============================================================
           Шапка
           ============================================================ */
        .header {
            position: sticky; top: 0; z-index: 50; height: var(--header-h);
            background: rgba(94, 156, 163, .92); backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(255, 255, 255, .12);
        }
        .header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
        .nav { display: flex; align-items: center; gap: 34px; }
        .nav a {
            color: var(--white); text-decoration: none; font-weight: 600; font-size: 16px;
            position: relative; padding: 4px 0; opacity: .92; transition: opacity .2s ease;
        }
        .nav a::after {
            content: ""; position: absolute; left: 0; bottom: -3px; width: 0; height: 3px;
            background: var(--lime); border-radius: 2px; transition: width .25s ease;
        }
        .nav a:hover { opacity: 1; }
        .nav a:hover::after { width: 100%; }
        .header__actions { display: flex; align-items: center; gap: 14px; }
        .burger {
            display: none; width: 46px; height: 46px; border-radius: 14px; border: none;
            background: rgba(255, 255, 255, .16); cursor: pointer; padding: 0;
            align-items: center; justify-content: center; flex-direction: column; gap: 5px;
        }
        .burger span { width: 22px; height: 2.5px; background: var(--white); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
        .burger.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
        .burger.is-open span:nth-child(2) { opacity: 0; }
        .burger.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

        /* ============================================================
           Hero
           ============================================================ */
        .hero { position: relative; background: var(--teal); color: var(--white); overflow: hidden; }
        .hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding: 72px 0 96px; }
        .hero__badge {
            display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px;
            background: rgba(255, 255, 255, .16); padding: 8px 18px; border-radius: 999px; margin-bottom: 22px;
        }
        .hero__title { font-size: clamp(32px, 5.2vw, 54px); font-weight: 700; margin-bottom: 20px; }
        .hero__title em { font-style: normal; color: var(--yellow); }
        .hero__text { font-size: 19px; color: #F2F8F8; max-width: 520px; margin-bottom: 32px; }
        .hero__cta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 30px; }
        .hero__stats { display: flex; gap: 34px; flex-wrap: wrap; }
        .hero__stat b { display: block; font-family: var(--font-display); font-size: 30px; font-weight: 700; color: var(--yellow); }
        .hero__stat span { font-size: 14px; color: #DCEDEE; }
        .hero__media { position: relative; max-width: 380px; margin: 0 auto; justify-self: center; z-index: 1; }
        .hero__media img {
            width: 100%; height: auto; border-radius: 32px; object-fit: cover;
            background: rgba(255, 255, 255, .08);
            padding: 18px;
            box-shadow: 0 30px 60px rgba(53, 96, 100, .35);
        }
        .hero__blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; z-index: 0; }
        .hero__blob--1 { width: 320px; height: 320px; background: var(--lime); top: -60px; right: -40px; }
        .hero__blob--2 { width: 260px; height: 260px; background: var(--yellow); bottom: -80px; left: 20%; }

        @keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
        .float { animation: float 6s ease-in-out infinite; }
        .float--slow { animation-duration: 8s; }

        /* ============================================================
           Reveal-анимация при скролле
           ============================================================ */
        .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
        .reveal.is-visible { opacity: 1; transform: none; }
        @media (prefers-reduced-motion: reduce) {
            html { scroll-behavior: auto; }
            .reveal { opacity: 1; transform: none; transition: none; }
            .float { animation: none; }
            * { scroll-behavior: auto !important; }
        }

        /* ============================================================
           О центре
           ============================================================ */
        .about__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
        .about__lead { font-size: 19px; }
        .about__lead strong { color: var(--teal-700); }
        .about__card { background: var(--white); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-md); }
        .features { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
        .feature { display: flex; gap: 16px; align-items: flex-start; }
        .feature__icon {
            flex: 0 0 auto; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
            color: var(--teal-700); background: var(--cream); box-shadow: var(--shadow-sm);
        }
        .feature h3 { font-size: 18px; margin-bottom: 4px; }
        .feature p { margin: 0; font-size: 15px; color: var(--ink-soft); }

        /* ============================================================
           Направления
           ============================================================ */
        .grid-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
        .card {
            background: var(--white); border-radius: var(--radius-md); padding: 30px 26px;
            box-shadow: var(--shadow-sm); border: 1px solid rgba(94, 156, 163, .10);
            transition: transform .25s ease, box-shadow .25s ease; display: flex; flex-direction: column;
        }
        .card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
        .card__icon {
            width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center;
            color: var(--teal-700); background: var(--teal-050); margin-bottom: 18px;
        }
        .card:hover .card__icon { background: var(--lime); color: var(--teal-900); transition: background .25s ease, color .25s ease; }
        .card h3 { font-size: 20px; margin-bottom: 8px; }
        .card p { margin: 0; color: var(--ink-soft); font-size: 15px; }

        /* ============================================================
           Тарифы
           ============================================================ */
        .pricing__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; align-items: stretch; }
        .price {
            position: relative; background: var(--white); color: var(--ink); border-radius: var(--radius-md);
            padding: 34px 26px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
            transition: transform .25s ease, box-shadow .25s ease;
        }
        .price:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
        .price__name { font-size: 20px; margin-bottom: 6px; }
        .price__value { font-family: var(--font-display); font-weight: 700; font-size: 34px; color: var(--teal-700); margin-bottom: 2px; }
        .price__value span { font-size: 16px; font-weight: 600; color: var(--ink-soft); }
        .price__note { color: var(--ink-soft); font-size: 14px; margin-bottom: 20px; }
        .price__list { flex: 1; margin-bottom: 24px; }
        .price__list li { position: relative; padding-left: 28px; margin-bottom: 10px; font-size: 15px; }
        .price__list li::before {
            content: ""; position: absolute; left: 0; top: 1px; width: 19px; height: 19px;
            border-radius: 50%; background-color: var(--lime);
            -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
        }
        .price--popular { box-shadow: var(--shadow-lg); border: 2px solid var(--lime); transform: scale(1.03); }
        .price--popular:hover { transform: scale(1.03) translateY(-6px); }
        .price__tag {
            position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
            background: var(--yellow); color: var(--teal-900); font-family: var(--font-display);
            font-weight: 700; font-size: 13px; padding: 6px 18px; border-radius: 999px; white-space: nowrap;
        }

        /* ============================================================
           Форма записи
           ============================================================ */
        .form-wrap { max-width: 760px; margin: 0 auto; }
        .form {
            background: var(--white); border-radius: var(--radius-lg); padding: 40px;
            box-shadow: var(--shadow-md);
        }
        .form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
        .field { margin-bottom: 20px; }
        .field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 8px; color: var(--teal-900); }
        .field label .req { color: var(--lime-700); }
        .field input, .field select, .field textarea {
            width: 100%; font-family: var(--font-body); font-size: 16px; color: var(--ink);
            padding: 14px 16px; border: 2px solid #DCE6E6; border-radius: var(--radius-sm);
            background: #FBFDFD; transition: border-color .2s ease, box-shadow .2s ease;
        }
        .field textarea { resize: vertical; min-height: 92px; }
        .field input:focus, .field select:focus, .field textarea:focus {
            outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(94, 156, 163, .16);
        }
        .field.invalid input, .field.invalid select { border-color: #E07A5F; box-shadow: 0 0 0 4px rgba(224, 122, 95, .14); }
        .field__error { display: none; color: #C8543B; font-size: 13px; font-weight: 600; margin-top: 6px; }
        .field.invalid .field__error { display: block; }
        .form__note { text-align: center; font-size: 13px; color: var(--ink-soft); margin: 16px 0 0; }
        .form-success {
            display: none; text-align: center; padding: 44px 30px;
        }
        .form-success.is-visible { display: block; }
        .form-success__icon {
            width: 84px; height: 84px; margin: 0 auto 20px; border-radius: 50%;
            background: var(--lime); display: grid; place-items: center; color: var(--teal-900);
        }
        .form-success h3 { font-size: 26px; color: var(--teal-700); }
        .form-success p { color: var(--ink-soft); margin: 0; }

        /* ============================================================
           Модальное окно записи
           ============================================================ */
        .modal {
            position: fixed;
            inset: 0;
            z-index: 9999;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }
        .modal.is-open { display: flex; }
        .modal[hidden] { display: none !important; }
        .modal__overlay {
            position: absolute;
            inset: 0;
            background: rgba(30, 50, 52, .62);
            backdrop-filter: blur(3px);
        }
        .modal__dialog {
            position: relative;
            z-index: 1;
            background: var(--white);
            border-radius: var(--radius-lg);
            max-width: 640px;
            width: 100%;
            max-height: calc(100vh - 40px);
            overflow-y: auto;
            box-shadow: var(--shadow-lg);
            animation: modalAppear 0.3s ease-out;
        }
        @keyframes modalAppear {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        .modal__close {
            position: absolute;
            top: 14px;
            right: 16px;
            z-index: 2;
            border: none;
            background: none;
            font-size: 30px;
            line-height: 1;
            cursor: pointer;
            color: var(--ink-soft);
            padding: 4px 8px;
        }
        .modal__close:hover { color: var(--ink); }
        .modal__body { padding: 40px 36px 32px; }

        /* Переключатель формата (очно/онлайн) */
        .booking-format-toggle {
            display: flex;
            gap: 10px;
        }
        .booking-format-btn { flex: 1; }
        .booking-format-btn.is-active {
            background: var(--teal);
            border-color: var(--teal);
            color: var(--white);
        }

        /* Блокировка прокрутки страницы при открытой модалке */
        body.modal-open { overflow: hidden; }

        /* ============================================================
           Контакты
           ============================================================ */
        .contacts__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 28px; }
        .contact-card {
            background: var(--white); color: var(--ink); border-radius: var(--radius-md); padding: 30px 26px;
            box-shadow: var(--shadow-sm); border: 1px solid rgba(94, 156, 163, .10);
        }
        .contact-card--main { border: 2px solid var(--lime); }
        .contact-card__icon {
            width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
            color: var(--teal-700); background: var(--teal-050); margin-bottom: 16px;
        }
        .contact-card h3 { font-size: 19px; margin-bottom: 12px; }
        .contact-card p { margin: 0 0 6px; color: var(--ink-soft); }
        .contact-card a { color: var(--teal-700); font-weight: 700; text-decoration: none; }
        .contact-card a:hover { text-decoration: underline; }
        .badge-main { display: inline-block; background: var(--lime); color: var(--teal-900); font-size: 12px; font-weight: 800; padding: 3px 12px; border-radius: 999px; margin-bottom: 10px; }

        .schedule { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
        .schedule__table { background: var(--white); color: var(--ink); border-radius: var(--radius-md); padding: 28px; box-shadow: var(--shadow-sm); }
        .schedule__row { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px dashed #DCE6E6; font-size: 15px; }
        .schedule__row:last-child { border-bottom: none; }
        .schedule__row .day { color: var(--ink); font-weight: 600; }
        .schedule__row .time { color: var(--teal-700); font-weight: 700; }
        .schedule__row.is-closed .day, .schedule__row.is-closed .time { color: #C8543B; }

        .socials { display: flex; gap: 14px; flex-wrap: wrap; }
        .social {
            width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
            background: var(--white); color: var(--teal-700); text-decoration: none; font-weight: 800; font-size: 15px;
            box-shadow: var(--shadow-sm); transition: transform .2s ease, background .2s ease, color .2s ease;
        }
        .social:hover { transform: translateY(-4px); background: var(--lime); color: var(--teal-900); }

        /* ============================================================
           Подвал
           ============================================================ */
        .footer { background: var(--teal-900); color: var(--white); padding: 64px 0 30px; }
        .footer__cta {
            background: rgba(255, 255, 255, .07); border-radius: var(--radius-lg); padding: 40px;
            display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 48px;
        }
        .footer__cta h3 { font-size: 26px; margin: 0; }
        .footer__cta p { margin: 6px 0 0; color: rgba(255, 255, 255, .8); }
        .footer__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .14); }
        .footer__copy { color: rgba(255, 255, 255, .7); font-size: 14px; margin: 0; }
        .footer .social { background: rgba(255, 255, 255, .1); color: var(--white); }
        .footer .social:hover { background: var(--lime); color: var(--teal-900); }
        .footer .logo img { height: 62px; }

        /* ============================================================
           Адаптив
           ============================================================ */
        @media (max-width: 1024px) {
            .grid-cards { grid-template-columns: repeat(2, 1fr); }
            .pricing__grid { grid-template-columns: repeat(2, 1fr); }
            .price--popular { transform: none; }
            .price--popular:hover { transform: translateY(-6px); }
        }
        @media (max-width: 860px) {
            .section { padding: 64px 0; }
            .hero__inner { grid-template-columns: 1fr; gap: 24px; padding: 48px 0 64px; text-align: center; }
            .hero__text { margin-left: auto; margin-right: auto; }
            .hero__cta, .hero__stats { justify-content: center; }
            .hero__media { max-width: 420px; margin: 0 auto; }
            .about__grid { grid-template-columns: 1fr; gap: 32px; }
            .schedule { grid-template-columns: 1fr; }
            .contacts__grid { grid-template-columns: 1fr; }
            .nav {
                position: fixed; top: var(--header-h); left: 0; right: 0;
                flex-direction: column; gap: 0;
                background: var(--teal-600); padding: 8px 24px 24px; box-shadow: var(--shadow-md);
                transform: translateY(-130%); transition: transform .3s ease; align-items: stretch;
            }
            .nav.is-open { transform: translateY(0); }
            .nav a { padding: 15px 4px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
            .nav a::after { display: none; }
            .burger { display: inline-flex; }
            .header__cta-desktop { display: none; }
        }
        @media (max-width: 560px) {
            body { font-size: 16px; }
            .grid-cards { grid-template-columns: 1fr; }
            .pricing__grid { grid-template-columns: 1fr; }
            .features { grid-template-columns: 1fr; }
            .form__row { grid-template-columns: 1fr; gap: 0; }
            .form { padding: 26px 20px; }
            .footer__cta, .footer__bar { flex-direction: column; text-align: center; }
            .logo img { height: 46px; }
            .hero__stat b { font-size: 26px; }
        }
        /* ============================================================
        ИИ-консультант
        ============================================================ */
        .ai-chat {
            position: fixed; right: 24px; bottom: 24px; z-index: 80;
            font-family: var(--font-body);
        }
        .ai-chat__toggle {
            width: 64px; height: 64px; border-radius: 50%; border: none; cursor: pointer;
            background: var(--lime); color: var(--teal-900);
            display: grid; place-items: center;
            box-shadow: 0 14px 34px rgba(53, 96, 100, .28);
            transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
            position: relative;
        }
        .ai-chat__toggle:hover { background: var(--yellow); transform: translateY(-3px); box-shadow: 0 20px 40px rgba(53, 96, 100, .34); }
        .ai-chat__toggle:focus-visible { outline: 3px solid var(--teal-900); outline-offset: 3px; }
        .ai-chat__toggle .icon { width: 30px; height: 30px; stroke-width: 2; }
        .ai-chat__toggle .icon--close { display: none; }
        .ai-chat.is-open .ai-chat__toggle .icon--chat { display: none; }
        .ai-chat.is-open .ai-chat__toggle .icon--close { display: block; }
        .ai-chat__badge {
            position: absolute; top: -4px; right: -4px; width: 18px; height: 18px;
            border-radius: 50%; background: var(--yellow); color: var(--teal-900);
            font-size: 11px; font-weight: 800; display: grid; place-items: center;
            border: 2px solid var(--white);
        }
        .ai-chat.is-open .ai-chat__badge { display: none; }

        .ai-chat__window {
            position: absolute; right: 0; bottom: 80px;
            width: 360px; max-width: calc(100vw - 32px);
            max-height: min(560px, calc(100vh - 120px));
            background: var(--white); border-radius: var(--radius-lg);
            box-shadow: var(--shadow-lg); display: flex; flex-direction: column;
            overflow: hidden; transform-origin: bottom right;
            transform: scale(.92) translateY(10px); opacity: 0; pointer-events: none;
            transition: transform .25s ease, opacity .25s ease;
        }
        .ai-chat.is-open .ai-chat__window { transform: scale(1) translateY(0); opacity: 1; pointer-events: auto; }

        .ai-chat__header {
            background: var(--teal); color: var(--white);
            padding: 18px 20px; display: flex; align-items: center; gap: 12px;
        }
        .ai-chat__avatar {
            width: 40px; height: 40px; border-radius: 50%; flex: 0 0 auto;
            background: var(--lime); color: var(--teal-900);
            display: grid; place-items: center;
        }
        .ai-chat__avatar .icon { width: 22px; height: 22px; }
        .ai-chat__header h4 { margin: 0; font-size: 16px; font-family: var(--font-display); }
        .ai-chat__header p { margin: 0; font-size: 12px; color: rgba(255, 255, 255, .85); }

        .ai-chat__body {
            flex: 1; overflow-y: auto; padding: 18px 16px;
            background: var(--teal-050); display: flex; flex-direction: column; gap: 12px;
        }
        .ai-msg { max-width: 85%; padding: 11px 15px; border-radius: 18px; font-size: 15px; line-height: 1.45; }
        .ai-msg--bot { align-self: flex-start; background: var(--white); color: var(--ink); border-bottom-left-radius: 6px; box-shadow: var(--shadow-sm); }
        .ai-msg--user { align-self: flex-end; background: var(--teal); color: var(--white); border-bottom-right-radius: 6px; }
        .ai-msg--typing { display: inline-flex; gap: 4px; align-items: center; }
        .ai-msg--typing span {
            width: 6px; height: 6px; border-radius: 50%; background: var(--teal-700);
            animation: ai-dot 1.2s infinite ease-in-out;
        }
        .ai-msg--typing span:nth-child(2) { animation-delay: .15s; }
        .ai-msg--typing span:nth-child(3) { animation-delay: .3s; }
        @keyframes ai-dot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }

        .ai-chat__options { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 12px; background: var(--teal-050); }
        .ai-option {
            background: var(--white); color: var(--teal-700); border: 2px solid rgba(94, 156, 163, .3);
            border-radius: 999px; padding: 8px 16px; font-family: var(--font-body); font-size: 14px;
            font-weight: 700; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease;
        }
        .ai-option:hover { background: var(--lime); color: var(--teal-900); border-color: var(--lime); }

        .ai-chat__footer {
            padding: 12px 16px; background: var(--white); border-top: 1px solid rgba(94, 156, 163, .14);
            display: flex; gap: 8px; align-items: center;
        }
        .ai-chat__footer input {
            flex: 1; border: 2px solid #DCE6E6; border-radius: 999px; padding: 11px 16px;
            font-family: var(--font-body); font-size: 15px; color: var(--ink); background: #FBFDFD;
            transition: border-color .2s ease, box-shadow .2s ease;
        }
        .ai-chat__footer input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(94, 156, 163, .16); }
        .ai-chat__send {
            width: 44px; height: 44px; border-radius: 50%; border: none; cursor: pointer;
            background: var(--lime); color: var(--teal-900); display: grid; place-items: center;
            transition: background .2s ease, transform .2s ease;
        }
        .ai-chat__send:hover { background: var(--yellow); transform: translateY(-2px); }
        .ai-chat__send .icon { width: 20px; height: 20px; stroke-width: 2.2; }

        @media (max-width: 560px) {
            .ai-chat { right: 16px; bottom: 16px; }
            .ai-chat__window { width: calc(100vw - 32px); bottom: 76px; }
            .ai-chat__toggle { width: 58px; height: 58px; }
        }

        /* ============================================================
           Hero — дополнительный слой контента (поверх blob'ов)
           ============================================================ */
        .hero__content { position: relative; z-index: 1; }

        /* ============================================================
           Кнопки — дополнительные модификаторы
           ============================================================ */
        .btn--secondary { background: var(--teal-050); color: var(--teal-700); }
        .btn--secondary:hover { background: var(--teal); color: var(--white); transform: translateY(-3px); box-shadow: var(--shadow-md); }
        .btn--lg { padding: 18px 40px; font-size: 18px; width: 100%; }

        /* ============================================================
           Тарифы — актуальные классы разметки
           ============================================================ */
        .pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; align-items: stretch; }
        .pricing-card {
            position: relative; background: var(--white); color: var(--ink); border-radius: var(--radius-md);
            padding: 34px 26px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
            transition: transform .25s ease, box-shadow .25s ease;
        }
        .pricing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
        .pricing-card h3 { font-size: 20px; margin-bottom: 6px; }
        .pricing-card__price { font-family: var(--font-display); font-weight: 700; font-size: 34px; color: var(--teal-700); margin-bottom: 2px; }
        .pricing-card__price span { font-size: 16px; font-weight: 600; color: var(--ink-soft); }
        .pricing-card__desc { color: var(--ink-soft); font-size: 14px; margin-bottom: 20px; }
        .pricing-card__features { flex: 1; margin-bottom: 24px; }
        .pricing-card__features li { position: relative; padding-left: 28px; margin-bottom: 10px; font-size: 15px; }
        .pricing-card__features li::before {
            content: ""; position: absolute; left: 0; top: 1px; width: 19px; height: 19px;
            border-radius: 50%; background-color: var(--lime);
            -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
        }
        .pricing-card--popular { box-shadow: var(--shadow-lg); border: 2px solid var(--lime); transform: scale(1.03); }
        .pricing-card--popular:hover { transform: scale(1.03) translateY(-6px); }
        .pricing-card__badge {
            position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
            background: var(--yellow); color: var(--teal-900); font-family: var(--font-display);
            font-weight: 700; font-size: 13px; padding: 6px 18px; border-radius: 999px; white-space: nowrap;
        }

        /* ============================================================
           Форма записи — актуальные классы разметки
           ============================================================ */
        .form-card {
            max-width: 760px; margin: 0 auto;
            background: var(--white); border-radius: var(--radius-lg); padding: 40px;
            box-shadow: var(--shadow-md);
        }
        .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
        .form-card__note { text-align: center; font-size: 13px; color: var(--ink-soft); margin: 16px 0 0; }
        .form-card__note a { color: var(--teal-700); }

        .field__input { position: relative; }
        .field__icon {
            position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
            width: 22px; height: 22px; color: var(--teal); pointer-events: none;
        }
        .field--icon .field__input input,
        .field--icon .field__input select { padding-left: 46px; }
        .field--icon .field__input select {
            appearance: none; -webkit-appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233F6E73' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
            background-repeat: no-repeat; background-position: right 14px center; background-size: 18px 18px;
            padding-right: 42px;
        }
        .field__error:empty { display: none; }

        /* ============================================================
           Контакты — актуальные классы разметки
           ============================================================ */
        .contacts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
        .contact-card__schedule li {
            display: flex; justify-content: space-between; gap: 12px; padding: 11px 0;
            border-bottom: 1px dashed #DCE6E6; font-size: 15px;
        }
        .contact-card__schedule li:last-child { border-bottom: none; }
        .contact-card__schedule li > span:first-child { color: var(--ink); font-weight: 600; }
        .contact-card__schedule li > span:last-child { color: var(--teal-700); font-weight: 700; }
        .contact-card__schedule .closed,
        .contact-card__schedule li:has(.closed) > span { color: #C8543B; }

        /* ============================================================
           Подвал — актуальные классы разметки
           ============================================================ */
        .footer__inner { display: flex; flex-direction: column; gap: 32px; }
        .footer__brand { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
        .footer__logo { display: inline-flex; align-items: center; text-decoration: none; }
        .footer__logo img { height: 62px; width: auto; border-radius: 16px; display: block; }
        .footer__tagline { margin: 0; color: rgba(255, 255, 255, .8); font-size: 15px; }
        .footer__cols {
            display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
            padding: 32px 0; border-top: 1px solid rgba(255, 255, 255, .14);
            border-bottom: 1px solid rgba(255, 255, 255, .14);
        }
        .footer__col h4 { font-size: 16px; margin: 0 0 14px; color: var(--white); }
        .footer__col ul { list-style: none; padding: 0; margin: 0; }
        .footer__col li { margin-bottom: 10px; font-size: 15px; color: rgba(255, 255, 255, .75); }
        .footer__col a { color: rgba(255, 255, 255, .75); text-decoration: none; transition: color .2s ease; }
        .footer__col a:hover { color: var(--lime); }
        .footer__social { display: flex; gap: 14px; flex-wrap: wrap; }
        .footer__social .social { background: rgba(255, 255, 255, .1); color: var(--white); }
        .footer__social .social:hover { background: var(--lime); color: var(--teal-900); }
        .footer__legal { display: flex; gap: 10px 24px; flex-wrap: wrap; font-size: 14px; }
        .footer__legal a { color: rgba(255, 255, 255, .75); text-decoration: none; transition: color .2s ease; }
        .footer__legal a:hover { color: var(--lime); text-decoration: underline; }

        /* ============================================================
           Адаптив — новые классы
           ============================================================ */
        @media (max-width: 1024px) {
            .pricing-grid { grid-template-columns: repeat(2, 1fr); }
            .pricing-card--popular { transform: none; }
            .pricing-card--popular:hover { transform: translateY(-6px); }
        }
        @media (max-width: 860px) {
            .contacts-grid { grid-template-columns: 1fr; }
            .footer__cols { grid-template-columns: 1fr; gap: 24px; }
        }
        @media (max-width: 560px) {
            .pricing-grid { grid-template-columns: 1fr; }
            .form-grid { grid-template-columns: 1fr; gap: 0; }
            .form-card { padding: 26px 20px; }
            .btn--lg { padding: 16px 28px; font-size: 17px; }
            .footer__inner { gap: 24px; }
            .footer__brand { flex-direction: column; text-align: center; }
            .footer__logo img { height: 52px; }
        }

        /* ============================================================
           Баннер cookie
           ============================================================ */
        .cookie-banner {
            position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
            padding: 16px 24px 24px; font-family: var(--font-body);
        }
        .cookie-banner[hidden] { display: none; }
        .cookie-banner__card {
            max-width: var(--container); margin: 0 auto;
            display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
            background: var(--white); border: 2px solid var(--teal-050); border-radius: var(--radius-md);
            padding: 22px 26px; box-shadow: var(--shadow-lg);
            transform: translateY(20px); opacity: 0; transition: transform .25s ease, opacity .25s ease;
        }
        .cookie-banner.is-open .cookie-banner__card { transform: translateY(0); opacity: 1; }
        .cookie-banner__text { flex: 1 1 460px; min-width: 0; }
        .cookie-banner__text h2 { font-size: 19px; margin: 0 0 8px; color: var(--teal-900); }
        .cookie-banner__text p { margin: 0 0 8px; font-size: 15px; color: var(--ink-soft); }
        .cookie-banner__links { font-size: 14px; }
        .cookie-banner__links a { color: var(--teal-700); font-weight: 700; text-decoration: none; }
        .cookie-banner__links a:hover { text-decoration: underline; }
        .cookie-banner__error { color: #C8543B; font-weight: 700; font-size: 14px; }
        .cookie-banner__actions { display: flex; gap: 12px; flex-wrap: wrap; }
        .cookie-banner__actions .btn[disabled] { opacity: .6; cursor: progress; }

        /* ============================================================
           Правовые страницы (политики)
           ============================================================ */
        .legal { padding: 56px 0 88px; }
        .legal__head { max-width: 860px; margin: 0 0 32px; }
        .legal__title { font-size: clamp(28px, 4vw, 40px); margin-bottom: 12px; }
        .legal__updated { color: var(--ink-soft); font-size: 15px; margin: 0; }
        .legal__doc {
            background: var(--white); border: 1px solid rgba(94, 156, 163, .10);
            border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-md);
        }
        .legal__doc h2 { font-size: 22px; color: var(--teal-900); margin: 34px 0 12px; }
        .legal__doc h2:first-child { margin-top: 0; }
        .legal__doc h3 { font-size: 18px; color: var(--teal-700); margin: 22px 0 8px; }
        .legal__doc p { margin: 0 0 12px; }
        .legal__doc ul, .legal__doc ol { padding-left: 22px; margin: 0 0 16px; }
        .legal__doc ul { list-style: disc; }
        .legal__doc ol { list-style: decimal; }
        .legal__doc li { margin-bottom: 8px; }
        .legal__doc a { color: var(--teal-700); font-weight: 700; }
        .legal__doc table { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: 15px; }
        .legal__doc th, .legal__doc td { text-align: left; padding: 10px 12px; border-bottom: 1px dashed #DCE6E6; vertical-align: top; }
        .legal__doc th { color: var(--teal-900); font-family: var(--font-display); }
        .legal__links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
        .legal__notice {
            background: var(--teal-050); border-radius: var(--radius-md);
            padding: 20px 24px; margin: 24px 0 0;
        }
        .legal__notice p { margin: 0; font-size: 15px; }
        .legal__notice button {
            background: none; border: none; padding: 0; cursor: pointer;
            font-family: var(--font-body); font-size: 15px; font-weight: 800;
            color: var(--teal-700); text-decoration: underline;
        }

        /* ============================================================
           Адаптив — баннер cookie и правовые страницы
           ============================================================ */
        @media (min-width: 900px) {
            /* чтобы баннер не перекрывал кнопку ИИ-консультанта */
            .cookie-banner__card { margin-right: 96px; }
        }
        @media (max-width: 560px) {
            .cookie-banner { padding: 12px 14px 16px; }
            .cookie-banner__card { padding: 18px; }
            .cookie-banner__actions { width: 100%; }
            .cookie-banner__actions .btn { flex: 1 1 100%; }
            .legal { padding: 36px 0 64px; }
            .legal__doc { padding: 24px 20px; }
        }

        /* ============================================================
           Карточка направления: обложка и ссылка «Подробнее»
           ============================================================ */
        a.card { color: inherit; text-decoration: none; }
        .card__media {
            display: block; overflow: hidden; border-radius: var(--radius-sm);
            aspect-ratio: 16 / 10; margin-bottom: 18px; background: var(--teal-050);
        }
        .card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
        .card:hover .card__media img { transform: scale(1.05); }
        .card__more {
            margin-top: 16px; align-self: flex-start; font-weight: 800; font-size: 15px;
            color: var(--teal-700); border-bottom: 2px solid transparent; transition: border-color .2s ease;
        }
        .card:hover .card__more { border-color: var(--lime); }

        /* ============================================================
           Страница направления («Подробнее»)
           ============================================================ */
        .direction { padding: 40px 0 72px; }
        .direction__back {
            display: inline-block; margin-bottom: 26px; font-weight: 800; font-size: 15px;
            color: var(--teal-700); text-decoration: none;
        }
        .direction__back:hover { text-decoration: underline; }
        .direction__head {
            display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: center;
        }
        .direction__title { font-size: clamp(30px, 4.4vw, 44px); margin: 12px 0 14px; }
        .direction__lead { font-size: 19px; color: var(--ink-soft); margin-bottom: 26px; }
        .direction__cta { display: flex; gap: 14px; flex-wrap: wrap; }
        .direction__cta--center { justify-content: center; }
        .direction__cover {
            border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md);
            aspect-ratio: 4 / 3; background: var(--teal-050);
        }
        .direction__cover img { width: 100%; height: 100%; object-fit: cover; }
        .direction__gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
        .direction__shot {
            display: block; width: 100%; padding: 0; border: none; cursor: zoom-in;
            border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4 / 3;
            background: var(--white); box-shadow: var(--shadow-sm);
            transition: transform .25s ease, box-shadow .25s ease;
        }
        .direction__shot:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
        .direction__shot img { width: 100%; height: 100%; object-fit: cover; }
        .direction__shot:focus-visible { outline: 3px solid var(--teal-900); outline-offset: 3px; }

        /* ============================================================
           Лайтбокс галереи
           ============================================================ */
        .lightbox {
            position: fixed; inset: 0; z-index: 1200; display: none; place-items: center;
            background: rgba(29, 58, 61, .93); padding: 24px;
        }
        .lightbox.is-open { display: grid; }
        .lightbox__img {
            max-width: min(1080px, 92vw); max-height: 82vh; width: auto; height: auto;
            border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
        }
        .lightbox__close, .lightbox__nav {
            position: absolute; display: grid; place-items: center;
            width: 52px; height: 52px; padding: 0; cursor: pointer;
            font-family: var(--font-body); font-size: 26px; line-height: 1; color: var(--white);
            background: rgba(255, 255, 255, .16); border: none; border-radius: 50%;
            transition: background .2s ease;
        }
        .lightbox__close:hover, .lightbox__nav:hover { background: rgba(255, 255, 255, .3); }
        .lightbox__close { top: 22px; right: 22px; font-size: 20px; }
        .lightbox__nav { top: 50%; transform: translateY(-50%); }
        .lightbox__nav--prev { left: 22px; }
        .lightbox__nav--next { right: 22px; }
        .lightbox__counter {
            position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
            color: rgba(255, 255, 255, .8); font-size: 15px; font-weight: 700;
        }

        /* ============================================================
           Адаптив — страница направления
           ============================================================ */
        @media (max-width: 900px) {
            .direction__head { grid-template-columns: 1fr; gap: 30px; }
            .direction__cover { order: -1; }
            .direction__gallery { grid-template-columns: repeat(2, 1fr); }
        }
        @media (max-width: 560px) {
            .direction { padding: 28px 0 52px; }
            .direction__gallery { grid-template-columns: 1fr; }
            .direction__cta .btn { flex: 1 1 100%; }
        }

        /* ============================================================
           Плашка «заглушка включена» — видна только сотрудникам
           ============================================================ */
        .stub-notice { background: var(--teal-900); color: var(--white); }
        .stub-notice__inner {
            display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
            gap: 8px 18px; padding-top: 10px; padding-bottom: 10px; font-size: 15px;
        }
        .stub-notice__text { margin: 0; font-weight: 600; }
        .stub-notice__link {
            color: var(--yellow); font-weight: 700; text-decoration: none;
            border-bottom: 1.5px solid rgba(240, 220, 90, .5);
        }
        .stub-notice__link:hover { border-bottom-color: var(--yellow); }

        /* ============================================================
           Страница «Контакты» — таблица реквизитов владельца
           ============================================================ */
        .requisites {
            width: 100%; max-width: 720px; margin: 0 auto 34px;
            border-collapse: collapse; background: var(--white);
            border-radius: var(--radius-md); box-shadow: var(--shadow-sm); overflow: hidden;
        }
        .requisites th, .requisites td {
            padding: 14px 22px; border-bottom: 1px solid var(--teal-050);
            text-align: left; vertical-align: top;
        }
        .requisites tr:last-child th, .requisites tr:last-child td { border-bottom: none; }
        .requisites th { width: 38%; color: var(--ink-soft); font-weight: 600; }
        .requisites td { color: var(--teal-900); font-weight: 700; }
        .requisites td a { color: var(--teal-700); text-decoration: none; }
        .requisites td a:hover { text-decoration: underline; }
        .requisites__placeholder {
            max-width: 720px; margin: 0 auto 34px; padding: 22px 26px;
            background: var(--teal-050); border-radius: var(--radius-md);
            color: var(--ink-soft); text-align: center;
        }

        /* ============================================================
           Личный кабинет — обёртка, шапка, навигация
           ============================================================ */
        .cabinet { background: var(--teal-050); min-height: calc(100vh - var(--header-h)); padding: 40px 0 72px; }
        .cabinet__head { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 26px; }
        .cabinet__title { font-size: clamp(26px, 4vw, 36px); margin: 0; color: var(--teal-900); display: flex; align-items: center; gap: 14px; }
        .cabinet__back {
            display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px;
            font-weight: 800; font-size: 15px; color: var(--teal-700); text-decoration: none;
        }
        .cabinet__back:hover { text-decoration: underline; }
        .role-badge {
            display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: 13px;
            background: var(--lime); color: var(--teal-900); padding: 5px 16px; border-radius: 999px;
        }
        .cabinet__user { color: var(--white); font-weight: 700; font-size: 15px; opacity: .92; }
        /* Полоса навигации между разделами кабинета */
        .cabinet__nav { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
        .cabinet__nav a {
            display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
            font-weight: 700; font-size: 15px; color: var(--teal-700);
            background: var(--white); border: 2px solid rgba(94, 156, 163, .18);
            padding: 10px 20px; border-radius: 999px; transition: background .2s ease, color .2s ease, border-color .2s ease;
        }
        .cabinet__nav a:hover { border-color: var(--teal); }
        .cabinet__nav a.is-active { background: var(--teal); border-color: var(--teal); color: var(--white); }

        /* Панель-карточка */
        .panel { background: var(--white); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); border: 1px solid rgba(94, 156, 163, .10); }
        .panel + .panel { margin-top: 24px; }
        .panel__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
        .panel__title { font-size: 21px; margin: 0; color: var(--teal-900); }
        .panel__link { color: var(--teal-700); font-weight: 800; font-size: 15px; text-decoration: none; }
        .panel__link:hover { text-decoration: underline; }

        /* Сетка «информационных» плиток профиля */
        .info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
        .info {
            background: var(--teal-050); border-radius: var(--radius-md); padding: 18px 20px;
        }
        .info__label { font-weight: 800; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--teal-700); margin-bottom: 4px; }
        .info__value { font-weight: 700; font-size: 17px; color: var(--teal-900); margin: 0; word-break: break-word; }

        /* Список заявок / расписания */
        .rows { display: flex; flex-direction: column; gap: 14px; }
        .row-item {
            background: var(--white); border: 1px solid rgba(94, 156, 163, .12); border-radius: var(--radius-md);
            padding: 20px 22px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
        }
        .row-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
        .row-item__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
        .row-item__title { font-size: 18px; margin: 0 0 4px; color: var(--teal-900); }
        .row-item__meta { color: var(--ink-soft); font-size: 15px; margin: 0; }
        .row-item__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 16px; }
        @media (max-width: 720px) { .row-item__grid { grid-template-columns: repeat(2, 1fr); } }
        .row-item__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }

        /* Статус-бейджи */
        .status { display: inline-block; font-weight: 800; font-size: 13px; padding: 5px 14px; border-radius: 999px; white-space: nowrap; }
        .status--ok { background: rgba(181, 204, 78, .3); color: var(--teal-900); }
        .status--new { background: var(--yellow); color: var(--teal-900); }

        /* Кнопка-удаление в тексте */
        .link-danger { background: none; border: none; padding: 0; cursor: pointer; font-family: var(--font-body); font-weight: 800; font-size: 15px; color: #C8543B; }
        .link-danger:hover { text-decoration: underline; }

        /* Сухие данные / пустое состояние */
        .empty { text-align: center; padding: 48px 24px; }
        .empty__icon { width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-050); color: var(--teal); }
        .empty__icon .icon { width: 34px; height: 34px; stroke-width: 1.8; }
        .empty h3 { font-size: 22px; color: var(--teal-900); margin-bottom: 6px; }
        .empty p { color: var(--ink-soft); margin: 0 0 20px; }

        /* Сообщения (успех / ошибка) */
        .alert { display: flex; align-items: flex-start; gap: 12px; border-radius: var(--radius-md); padding: 16px 20px; margin-bottom: 24px; font-weight: 600; font-size: 15px; }
        .alert .icon { width: 22px; height: 22px; flex: 0 0 auto; margin-top: 1px; }
        .alert--success { background: rgba(181, 204, 78, .22); color: var(--teal-900); border: 1px solid rgba(147, 178, 60, .5); }
        .alert--error { background: rgba(224, 122, 95, .14); color: #A83E28; border: 1px solid rgba(224, 122, 95, .5); }
        .alert ul { padding-left: 18px; list-style: disc; margin: 0; }

        /* Пагинация */
        .cabinet .pagination nav { display: flex; justify-content: center; }

        /* ============================================================
           Страницы входа / регистрации — разделённый экран
           ============================================================ */
        .auth { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
        .auth__side {
            position: relative; overflow: hidden; background: var(--teal); color: var(--white);
            padding: 56px; display: flex; flex-direction: column; justify-content: space-between;
        }
        .auth__side .hero__blob { opacity: .5; }
        .auth__brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: var(--white); position: relative; z-index: 1; }
        .auth__brand img { height: 60px; width: auto; border-radius: 16px; }
        .auth__brand span { font-family: var(--font-display); font-weight: 700; font-size: 22px; }
        .auth__pitch { position: relative; z-index: 1; font-size: 22px; line-height: 1.4; max-width: 440px; }
        .auth__pitch b { color: var(--yellow); }
        .auth__home { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, .85); text-decoration: none; font-weight: 700; transition: color .2s ease; width: max-content; }
        .auth__home:hover { color: var(--white); }
        .auth__main { display: flex; align-items: center; justify-content: center; padding: 48px 24px; background: var(--white); }
        .auth__card { width: 100%; max-width: 440px; }
        .auth__title { font-size: 30px; color: var(--teal-900); margin-bottom: 6px; }
        .auth__subtitle { color: var(--ink-soft); margin-bottom: 28px; }
        .auth__switch { text-align: center; margin: 22px 0 0; color: var(--ink-soft); font-size: 15px; }
        .auth__switch a { color: var(--teal-700); font-weight: 800; text-decoration: none; }
        .auth__switch a:hover { text-decoration: underline; }
        .auth__form { background: var(--white); border: 1px solid rgba(94, 156, 163, .14); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-md); }
        @media (max-width: 900px) {
            .auth { grid-template-columns: 1fr; }
            .auth__side { display: none; }
            .auth__main { padding: 40px 20px; }
        }
/* Формы менеджера: чек-лист учеников и подсказки */
.panel__hint {
    font-size: 14px;
    color: var(--ink-soft);
    font-weight: 600;
}

.checklist {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 10px;
}

.checklist__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--teal-050);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: background .15s ease, box-shadow .15s ease;
}

.checklist__item:hover {
    background: rgba(94, 156, 163, .12);
}

.checklist__item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    cursor: pointer;
}

.checklist__name {
    font-weight: 700;
    color: var(--teal-900);
}

.checklist__meta {
    font-size: 13px;
    color: var(--ink-soft);
    margin-left: auto;
}

.check-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--teal-900);
    cursor: pointer;
}

.check-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

/* ============================================================
   Таблицы в кабинетах (группы, пользователи, занятия)
   ============================================================ */
.table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 15px;
}

.table thead th {
    text-align: left;
    font-size: 12px;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--teal-700);
    font-weight: 800;
    padding: 0 16px 14px;
    border-bottom: 2px solid rgba(94, 156, 163, .18);
}

.table tbody td {
    padding: 16px;
    vertical-align: middle;
    border-bottom: 1px solid rgba(94, 156, 163, .12);
    color: var(--teal-900);
}

.table tbody tr:last-child td {
    border-bottom: none;
}

.table tbody tr:hover td {
    background: rgba(94, 156, 163, .04);
}

.table td a {
    color: var(--teal-700);
    font-weight: 800;
    text-decoration: none;
}

.table td a:hover {
    text-decoration: underline;
}

/* Колонка действий — справа, аккуратно */
.table .table__actions {
    text-align: right;
    white-space: nowrap;
}

/* Пагинация под таблицей */
.cabinet__pagination {
    margin-top: 24px;
    display: flex;
    justify-content: center;
}

.status--muted {
    background: rgba(94, 156, 163, .12);
    color: var(--ink-soft);
}

/* ============================================================
   Онлайн-обучение (блок с шагами)
   ============================================================ */
.steps {
    counter-reset: step;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin: 0 0 56px;
    list-style: none;
    padding: 0;
}
.step {
    position: relative;
    background: var(--teal-050);
    border-radius: var(--radius-md);
    padding: 32px 20px 24px;
    text-align: center;
}
.step__num {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--lime);
    color: var(--teal-900);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 17px;
    box-shadow: var(--shadow-sm);
}
.step__icon {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
    color: var(--teal-700);
}
.step h3 {
    font-size: 16px;
    margin-bottom: 6px;
}
.step p {
    font-size: 14px;
    color: var(--ink-soft);
    margin: 0;
}
.steps__title {
    text-align: center;
    font-size: clamp(22px, 3vw, 28px);
    margin-bottom: 40px;
}
.online__features {
    margin-bottom: 56px;
}
.online__cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 1024px) {
    .steps { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
}
@media (max-width: 560px) {
    .steps { grid-template-columns: 1fr; }
    .online__cta { flex-direction: column; align-items: center; }
    .online__cta .btn { width: 100%; max-width: 320px; }
}
