/* ================ ОСНОВНЫЕ СТИЛИ ================ */
body {
    margin: 0;
    padding: 0;
    background: #121214;
    font-family: "Montserrat Alternates", sans-serif;
    box-sizing: border-box;
}

/* Стили для плашки онлайна */
.online-badge {
    display: inline-block;
    background: rgba(106, 156, 45, 0.2);
    color: #b1ed49;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    margin-top: 4px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 500;
    border: 1px solid #6A9C2D;
    transition: all 0.3s ease;
}

.online-badge:hover {
    background: rgba(106, 156, 45, 0.3);
    box-shadow: 0 0 6px rgba(166, 243, 39, 0.4);
}

/* ================ ОБЩИЕ СТИЛИ САЙДБАРА ================ */
.sidebar {
    position: fixed;
    width: 285px;
    left: 10px;
    background: #121214;
    border: 1px solid #2a2a2e;
    border-radius: 12px;
    padding: 16px 0;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    z-index: 1000;
    max-height: 90vh;
}

.sidebar-container {
    position: fixed;
    top: 0px;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 1000;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease, scale 0.4s ease;
    will-change: transform, opacity, scale;
}

/* ================ ШАПКА САЙДБАРА ================ */
.sidebar-header {
    position: relative;
    padding: 0 16px 16px;
    margin-bottom: 8px;
    border-bottom: 1px solid #2a2a2e;
}

.sidebar-header-2 {
    position: relative;
    padding: 0 16px 8px;
    margin-bottom: 8px;
    border-bottom: 1px solid #2a2a2e;
}

/* ================ ЛОГОТИП И ЗАГОЛОВКИ ================ */
.ems-logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ems-icon {
    color: #b1ed49;
    font-size: 42px;
    filter: drop-shadow(0 0 8px rgba(166, 243, 39, 0.4));
    flex-shrink: 0;
}

.ems-icon-2 {
    color: #b1ed49;
    font-size: 32px;
    filter: drop-shadow(0 0 8px rgba(166, 243, 39, 0.4));
    flex-shrink: 0;
}

.ems-text {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.ems-main {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #ffffff;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    line-height: 1;
}

.ems-main-2 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: #ffffff;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    line-height: 1;
}

.ems-sub {
    font-family: 'Orbitron', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #b1ed49;
    letter-spacing: 2px;
    margin-top: 2px;
}

/* ================ МЕНЮ САЙДБАРА ================ */
.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow-y: auto;
    padding: 0 16px;
    flex-grow: 1;
}

.sidebar-item {
    color: #a0a0a7;
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    font-weight: 500;
    font-size: 15px;
}

.menu-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-item .icon {
    width: 24px;
    min-width: 24px;
    text-align: center;
    margin-right: 14px;
    color: #b1ed49;
    font-size: 18px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ================ ЭФФЕКТЫ НАВЕДЕНИЯ ================ */
.sidebar-item:hover {
    background: #1e1e22;
    color: #ffffff;
}

.sidebar-item:hover .icon {
    color: #d4ff6b;
    filter: drop-shadow(0 0 8px rgba(166, 243, 39, 0.6));
}

/* ================ АКТИВНЫЕ ЭЛЕМЕНТЫ ================ */
.sidebar-item.active {
    background: #6A9C2D;
    color: #ffffff;
}

.sidebar-item.active .icon {
    color: #ffffff;
}

/* ================ ПОЛОСА ПРОКРУТКИ ================ */
.sidebar-menu::-webkit-scrollbar {
    width: 4px;
}

.sidebar-menu::-webkit-scrollbar-track {
    background: #1e1e22;
    border-radius: 2px;
}

.sidebar-menu::-webkit-scrollbar-thumb {
    background: #b1ed49;
    border-radius: 2px;
}

/* ================ ПОЗИЦИОНИРОВАНИЕ САЙДБАРОВ ================ */
.main-sidebar {
    top: 20px;
}

.info-sidebar {
    top: 545px;
}

/* Анимации для основного сайдбара */
.main-item {
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    transform-origin: left center;
}

.main-item .icon {
    transition: all 0.3s ease;
    transform-origin: center;
}

.main-item .menu-text {
    transition: transform 0.3s ease, opacity 0.3s ease;
    display: inline-block;
}

.main-item .pulse-dot {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #b1ed49;
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 0 0 rgba(177, 237, 73, 0.4);
}

/* Эффекты при наведении */
.main-item:hover {
    background: #1e1e22;
}

.main-item:hover .icon {
    transform: rotate(5deg) scale(1.1);
    filter: drop-shadow(0 0 6px rgba(166, 243, 39, 0.7));
}

.main-item:hover .menu-text {
    transform: translateX(5px);
}

.main-item:hover .pulse-dot {
    opacity: 1;
    animation: pulse 1.5s infinite;
}

/* Активное состояние */
.main-item.active {
    background: linear-gradient(90deg, rgba(106, 156, 45, 0.2) 0%, rgba(106, 156, 45, 0.1) 100%);
    border-left: 3px solid #b1ed49;
}

.main-item.active .icon {
    color: #ffffff;
}

.main-item.active .menu-text {
    font-weight: 600;
    color: #ffffff;
    transform: translateX(8px);
}

.main-item.active .pulse-dot {
    opacity: 1;
    width: 8px;
    height: 8px;
    right: 13px;
    background: #ffffff;
    box-shadow: 0 0 10px #ffffff;
    animation: none;
}

/* Анимация пульсации */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(177, 237, 73, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(177, 237, 73, 0); }
    100% { box-shadow: 0 0 0 0 rgba(177, 237, 73, 0); }
}

/* Анимация переключения */
@keyframes switchBounce {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
}

.main-item.active {
    animation: switchBounce 0.6s ease;
}

/* ================ MAIN WRAPPER ================ */
.main-wrapper {
    margin-left: 305px;
    padding: 24px;
    min-height: calc(100vh - 48px);
    transition: margin 0.3s ease;
}

/* ================ PAGE HEADER ================ */
.page-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding: 16px;
    border: 1px solid #2a2a2e;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.page-header:hover {
    border-color: #b1ed49;
}

.header-icon {
    width: 44px;
    height: 44px;
    background: rgba(177, 237, 73, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.header-icon i {
    color: #b1ed49;
    font-size: 20px;
    filter: drop-shadow(0 0 4px rgba(177, 237, 73, 0.3));
}

.page-header:hover .header-icon {
    transform: scale(1.1);
}

.header-text h1 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    font-size: 22px;
    color: #ffffff;
    margin: 0 0 6px 0;
    letter-spacing: 1.2px;
}

.header-text p {
    color: #a0a0a7;
    margin: 0;
    font-size: 15px;
}

/* ================ THERAPY CONTAINER ================ */
.therapy-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ================ THERAPY BLOCK ================ */
.therapy-block {
    border: 1px solid #2a2a2e;
    border-radius: 12px;
    padding: 16px;
    transition: all 0.3s ease;
    animation: slideIn 0.5s ease forwards;
}

.therapy-block:hover {
    border-color: #b1ed49;
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(177, 237, 73, 0.2);
}

.therapy-block:nth-child(1) { animation-delay: 0.1s; }
.therapy-block:nth-child(2) { animation-delay: 0.2s; }

/* ================ THERAPY HEADER ================ */
.therapy-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #2a2a2e;
    font-family: 'Orbitron', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #ffffff;
}

.therapy-header i {
    color: #b1ed49;
    font-size: 18px;
}

/* ================ THERAPY BODY ================ */
.therapy-body {
    color: #e0e0e0;
    font-size: 14px;
}

/* ================ PRICE LIST ================ */
.price-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.price-item {
    background: rgba(42, 42, 46, 0.3);
    border-radius: 8px;
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.price-item:hover {
    background: rgba(42, 42, 46, 0.5);
    transform: translateY(-2px);
}

.price-item span:first-child {
    font-size: 14px;
    color: #b1ed49;
    font-weight: 500;
}

.price-item span:last-child {
    font-size: 14px;
    color: #e0e0e0;
}

/* ================ THERAPY NOTE ================ */
.therapy-note {
    border: 1px solid #2a2a2e;
    border-radius: 12px;
    padding: 16px;
    transition: all 0.3s ease;
    animation: slideIn 0.5s ease forwards;
    animation-delay: 0.3s;
}

.therapy-note:hover {
    border-color: #b1ed49;
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(177, 237, 73, 0.2);
}

.therapy-list {
    margin: 12px 0 0 0;
    padding-left: 24px;
    color: #e0e0e0;
    font-size: 14px;
    list-style: none;
}

.therapy-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 16px;
}

.therapy-list li::before {
    content: '\f111';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 9px;
    color: #b1ed49;
    position: absolute;
    left: -16px;
    top: 5px;
}

/* ================ THERAPY TABS ================ */
.therapy-tabs {
    border: 1px solid #2a2a2e;
    border-radius: 12px;
    padding: 16px;
    transition: all 0.3s ease;
    animation: slideIn 0.5s ease forwards;
    animation-delay: 0.4s;
}

.therapy-tabs:hover {
    border-color: #b1ed49;
    box-shadow: 0 4px 16px rgba(177, 237, 73, 0.2);
}

.tab-headers {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.tab-button {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(42, 42, 46, 0.3);
    border: 1px solid #2a2a2e;
    border-radius: 8px;
    color: #a0a0a7;
    font-family: 'Orbitron', sans-serif;
    font-weight: 500;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-button:hover {
    background: rgba(177, 237, 73, 0.2);
    border-color: #b1ed49;
    color: #ffffff;
}

.tab-button.active {
    background: rgba(177, 237, 73, 0.3);
    border-color: #b1ed49;
    color: #ffffff;
}

.tab-button i {
    color: #b1ed49;
    font-size: 16px;
}

.tab-content {
    display: none;
    flex-direction: column;
    gap: 12px;
}

.tab-content.active {
    display: flex;
}

/* ================ STEP ================ */
.step {
    background: rgba(42, 42, 46, 0.3);
    border-radius: 8px;
    padding: 14px;
    transition: all 0.3s ease;
}

.step:hover {
    background: rgba(42, 42, 46, 0.5);
    transform: translateY(-2px);
}

.step-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.step-number {
    width: 30px;
    height: 30px;
    background: rgba(177, 237, 73, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b1ed49;
    font-size: 14px;
    font-weight: 600;
}

.step-title {
    font-size: 15px;
    font-weight: 500;
    color: #b1ed49;
}

.step-body {
    color: #e0e0e0;
    font-size: 14px;
}

/* ================ STEP LIST ================ */
.step-list {
    margin: 0;
    padding-left: 24px;
    color: #e0e0e0;
    font-size: 14px;
    list-style: none;
}

.step-list li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 16px;
}

.step-list li::before {
    content: '\f111';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 9px;
    color: #b1ed49;
    position: absolute;
    left: -16px;
    top: 5px;
}

.step-list ul {
    margin: 8px 0 0 24px;
    padding-left: 0;
    list-style: none;
}

.step-list ul li::before {
    content: '\f192';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 9px;
    color: #b1ed49;
    position: absolute;
    left: -16px;
    top: 5px;
}

/* ================ АНИМАЦИИ ================ */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.contact-footer {
    position: fixed;
    bottom: 65px;
    left: 10px;
    width: 261px;
    background: #121214;
    border: 1px solid #2a2a2e;
    border-radius: 8px;
    padding: 0 10px 0 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 1000;
    transition: all 0.3s ease;
}

.contact-footer-content {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #d0d0d5;
    font-family: 'Montserrat Alternates', sans-serif;
}

.contact-footer-content i {
    color: #b1ed49;
    font-size: 18px;
}

.discord-link {
    color: #b1ed49;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.discord-link:hover {
    color: #d4ff6b;
    text-decoration: underline;
}

/* Мобильная версия */
@media (max-width: 768px) {
    .contact-footer {
        display: none;
    }

    .mobile-sidebar-container .contact-footer {
        display: block;
        position: static;
        width: auto;
        margin: 16px;
        border-radius: 10px;
    }
}

/* ================ МОБИЛЬНАЯ ВЕРСИЯ (max-width: 768px) ================ */
@media (max-width: 768px) {
    /* Скрываем десктопный сайдбар */
    .sidebar-container {
        display: none;
    }

    /* Кнопка гамбургер */
    .mobile-menu-toggle {
        position: fixed;
        top: 16px;
        right: 16px; /* Перемещена вправо */
        background: #121214;
        border: 1px solid #2a2a2e;
        border-radius: 50%; /* Круглая форма */
        width: 48px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #b1ed49;
        font-size: 24px;
        z-index: 1100;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }

    .mobile-menu-toggle:hover {
        background: #1e1e22;
        color: #d4ff6b;
        transform: scale(1.1);
        filter: drop-shadow(0 0 8px rgba(166, 243, 39, 0.6));
    }

    .mobile-menu-toggle.active .toggle-icon {
        transform: rotate(180deg);
    }

    .mobile-menu-toggle.active .toggle-icon::before {
        content: '\f00d'; /* Крестик */
    }

    .mobile-menu-toggle .toggle-icon {
        transition: transform 0.3s ease, content 0.3s ease;
    }

    /* Контейнер мобильного сайдбара */
    .mobile-sidebar-container {
        position: fixed;
        top: 0;
        left: -335px;
        width: 335px;
        height: 100vh;
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding: 20px 0;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1.3);
        z-index: 1000;
        overflow-y: auto;
    }

    .mobile-sidebar-container.open {
        left: 0;
        animation: elasticBounce 0.5s ease;
    }

    /* Стили сайдбаров */
    .mobile-sidebar {
        background: #121214;
        border: 1px solid #2a2a2e;
        border-radius: 0 16px 16px 0;
        padding: 20px 0;
        display: flex;
        flex-direction: column;
        box-shadow: 4px 0 12px rgba(0, 0, 0, 0.25);
    }

    /* Оверлей */
    .mobile-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(5px);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.25s ease, visibility 0.25s ease;
        z-index: 999;
    }

    .mobile-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Улучшенные отступы и стили меню */
    .sidebar-menu {
        padding: 0 14px;
        gap: 10px;
    }

    .sidebar-item {
        padding: 16px 18px;
        font-size: 16px;
        border-radius: 10px;
    }

    .sidebar-item .icon {
        margin-right: 18px;
        font-size: 20px;
    }

    /* Полоса прокрутки */
    .sidebar-menu::-webkit-scrollbar {
        width: 3px;
    }

    .sidebar-menu::-webkit-scrollbar-track {
        background: #1e1e22;
        border-radius: 2px;
    }

    .sidebar-menu::-webkit-scrollbar-thumb {
        background: #b1ed49;
        border-radius: 2px;
    }
}

/* Скрываем мобильные элементы на десктопе */
@media (min-width: 769px) {
    .mobile-menu-toggle,
    .mobile-sidebar-container,
    .mobile-overlay {
        display: none;
    }
}

/* Анимация с отскоком */
@keyframes elasticBounce {
    0% {
        left: -250px;
    }
    60% {
        left: 15px;
    }
    80% {
        left: -5px;
    }
    100% {
        left: 0;
    }
}

/* Модальные окна */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: #1e1e22;
    border: 1px solid #2a2a2e;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    max-width: 700px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.modal.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    visibility: visible;
}

.close-panel {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: #a0a0a7;
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-panel:hover {
    color: #ff6b6b;
}

.modal h3 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    font-size: 22px;
    color: #b1ed49;
    margin-bottom: 20px;
    border-bottom: 1px solid #2a2a2e;
    padding-bottom: 10px;
}

.modal h4 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 500;
    font-size: 18px;
    color: #ffffff;
    margin: 20px 0 15px;
}

.modal p {
    font-size: 14px;
    color: #e0e0e5;
    margin: 15px 0;
}

.warning-box, .deadline-box, .consequences-box, .contact-info {
    background: rgba(106, 156, 45, 0.08);
    border-left: 3px solid #6A9C2D;
    padding: 15px;
    border-radius: 6px;
    margin: 15px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.warning-box i, .deadline-box i, .consequences-box i {
    color: #b1ed49;
    font-size: 20px;
}

.consequences-box i {
    color: #ff9800;
}

.requirements-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.requirement-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(40, 40, 44, 0.3);
    border-radius: 8px;
    border: 1px solid #2e2e32;
}

.requirement-icon i {
    color: #b1ed49;
    font-size: 24px;
    margin-top: 5px;
}

.requirement-text strong {
    color: #ffffff;
    font-weight: 600;
    font-size: 16px;
}

.requirement-text p {
    margin: 5px 0;
    font-size: 14px;
    color: #e0e0e5;
}

.requirement-details ul {
    list-style: disc;
    padding-left: 20px;
    margin: 10px 0 0;
    font-size: 14px;
    color: #d0d0d5;
}

.modal ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.modal ul li {
    padding: 10px 0;
    font-size: 14px;
    color: #e0e0e5;
    border-bottom: 1px solid #2a2a2e;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal ul li:last-child {
    border-bottom: none;
}

.modal ul.list-style-disc {
    list-style: disc;
    padding-left: 20px;
}

/* Полоса прокрутки для модального окна */
.modal::-webkit-scrollbar {
    width: 4px;
}

.modal::-webkit-scrollbar-track {
    background: #1e1e22;
    border-radius: 2px;
}

.modal::-webkit-scrollbar-thumb {
    background: #b1ed49;
    border-radius: 2px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .modal {
        width: 95%;
        padding: 15px;
        max-height: 85vh;
    }

    .modal h3 {
        font-size: 18px;
    }

    .modal h4 {
        font-size: 16px;
    }

    .modal p, .modal ul li, .requirement-text p, .requirement-details ul {
        font-size: 13px;
    }

    .requirement-item {
        flex-direction: column;
        padding: 12px;
    }

    .warning-box, .deadline-box, .consequences-box, .contact-info {
        padding: 12px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .modal {
        width: 98%;
        padding: 10px;
    }

    .modal h3 {
        font-size: 16px;
    }

    .modal h4 {
        font-size: 14px;
    }

    .modal p, .modal ul li, .requirement-text strong, .requirement-text p, .requirement-details ul {
        font-size: 12px;
    }

    .requirement-item {
        padding: 10px;
    }

    .warning-box, .deadline-box, .consequences-box, .contact-info {
        padding: 10px;
    }
}

/* ================ АДАПТИВНОСТЬ ================ */
@media (max-width: 1200px) {
    .main-wrapper {
        margin-left: 300px;
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .main-wrapper {
        margin-left: 0;
        padding: 12px;
    }

    .page-header {
        flex-direction: column;
        text-align: center;
        padding: 12px;
    }

    .header-icon {
        width: 40px;
        height: 40px;
    }

    .header-icon i {
        font-size: 18px;
    }

    .header-text h1 {
        font-size: 18px;
    }

    .header-text p {
        font-size: 13px;
    }

    .therapy-container {
        gap: 16px;
    }

    .therapy-block, .therapy-note {
        padding: 12px;
    }

    .therapy-header {
        font-size: 14px;
    }

    .therapy-header i {
        font-size: 16px;
    }

    .therapy-body {
        font-size: 13px;
    }

    .price-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .price-item {
        padding: 10px;
    }

    .price-item span {
        font-size: 13px;
    }

    .therapy-list {
        font-size: 13px;
        padding-left: 20px;
    }

    .therapy-list li::before {
        font-size: 8px;
        left: -14px;
        top: 4px;
    }

    .tab-headers {
        flex-direction: column;
        gap: 8px;
    }

    .tab-button {
        font-size: 13px;
        padding: 8px 12px;
    }

    .tab-button i {
        font-size: 14px;
    }

    .step-header {
        gap: 8px;
    }

    .step-number {
        width: 26px;
        height: 26px;
        font-size: 12px;
    }

    .step-title {
        font-size: 13px;
    }

    .step-body {
        font-size: 13px;
        padding-left: 34px;
    }

    .step-list {
        font-size: 13px;
        padding-left: 20px;
    }

    .step-list li::before,
    .step-list ul li::before {
        font-size: 8px;
        left: -14px;
        top: 4px;
    }
}

@media (max-width: 480px) {
    .therapy-container {
        gap: 12px;
    }

    .therapy-block, .therapy-note {
        padding: 10px;
    }

    .step-body {
        padding-left: 28px;
    }
}