/* ========== СБРОСЫ И БАЗОВЫЕ НАСТРОЙКИ ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
}

body {
    background: linear-gradient(135deg, #FFF8E1 0%, #FFEFD5 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ========== ШАПКА ========== */
header {
    background: linear-gradient(135deg, #5D4037 0%, #4E342E 100%);
    padding: 0 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 85px;
    width: 100%;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    color: #FFB74D;
    font-size: 28px;
    display: flex;
    gap: 8px;
    cursor: pointer;
    font-weight: 700;
    letter-spacing: 1.5px;
    transition: all 0.3s;
}

.logo:hover {
    transform: scale(1.02);
}

.logo-bold {
    font-weight: 800;
}

.logo-light {
    font-weight: 400;
    color: #FFFFFF;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 35px;
    flex: 1;
}

.nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 0 5px;
    color: #FFFFFF;
    transition: all 0.3s;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: #FFB74D;
}

.nav-item.active {
    background-color: #FFB74D;
    border-radius: 30px;
    padding: 0 22px;
    height: 42px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.nav-item.active a {
    color: #5D4037;
    font-weight: 700;
}

.login-header-btn {
    background: linear-gradient(135deg, #FFB74D 0%, #FFA726 100%);
    color: #5D4037;
    padding: 0 28px;
    height: 44px;
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 13px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.login-header-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 183, 77, 0.4);
    background: linear-gradient(135deg, #FFA726 0%, #FF9800 100%);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 18px;
}

.user-phone {
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 500;
    background: rgba(255, 183, 77, 0.2);
    padding: 6px 16px;
    border-radius: 30px;
    border: 1px solid rgba(255, 183, 77, 0.5);
    backdrop-filter: blur(4px);
}

.logout-btn {
    background: linear-gradient(135deg, #FFB74D 0%, #FFA726 100%);
    color: #5D4037;
    padding: 0 28px;
    height: 44px;
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 0.5px;
}

.logout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 183, 77, 0.4);
}

/* Специальная шапка для страниц авторизации */
.special-header {
    background: linear-gradient(135deg, #5D4037 0%, #4E342E 100%);
    padding: 0 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 85px;
    width: 100%;
}

.header-slogan {
    color: #FFB74D;
    font-size: 18px;
    font-weight: 400;
    text-align: center;
    flex: 1;
    letter-spacing: 1px;
    font-style: italic;
}

/* ========== ОСНОВНОЙ КОНТЕЙНЕР ========== */
main {
    flex: 1;
    width: 100%;
    padding: 60px 20px;
    max-width: 1300px;
    margin: 0 auto;
}

/* ========== ЗАГОЛОВКИ ========== */
.page-title {
    font-size: 42px;
    font-weight: 800;
    color: #5D4037;
    text-align: center;
    margin-bottom: 50px;
    letter-spacing: -1px;
    position: relative;
}

.page-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #FFB74D, #FFA726);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* ========== НОВОСТИ (ГЛАВНАЯ) ========== */
.news-grid {
    display: flex;
    gap: 35px;
    justify-content: center;
    flex-wrap: wrap;
}

.news-card {
    flex: 1;
    min-width: 300px;
    max-width: 380px;
    background: #FFFFFF;
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 224, 178, 0.5);
}

.news-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.15);
}

.news-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #5D4037, #8D6E63);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 28px;
    font-weight: 700;
    position: relative;
    overflow: hidden;
}

.news-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.news-card:hover .news-image::before {
    left: 100%;
}

.news-content {
    padding: 25px;
    text-align: center;
}

.news-title {
    font-size: 20px;
    font-weight: 800;
    color: #5D4037;
    margin-bottom: 12px;
}

.news-text {
    font-size: 14px;
    color: #8D6E63;
    line-height: 1.6;
}

/* ========== АКЦИИ ========== */
.promo-grid {
    display: flex;
    gap: 35px;
    justify-content: center;
    flex-wrap: wrap;
}

.promo-card {
    width: 330px;
    background: #FFFFFF;
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 224, 178, 0.5);
}

.promo-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.15);
}

.promo-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #5D4037, #8D6E63);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 800;
    color: #FFFFFF;
    position: relative;
}

.promo-content {
    padding: 25px;
    text-align: center;
}

.promo-content h3 {
    font-size: 22px;
    font-weight: 800;
    color: #5D4037;
    margin-bottom: 12px;
}

.promo-desc {
    color: #8D6E63;
    font-size: 14px;
    line-height: 1.6;
}

.promo-price {
    margin-top: 15px;
    font-weight: 800;
    background: linear-gradient(135deg, #FFB74D, #FFA726);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 18px;
}

/* ========== УСЛУГИ ========== */
.services-categories {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.category-block {
    background: #FFFFFF;
    border-radius: 28px;
    padding: 35px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 224, 178, 0.5);
    transition: all 0.3s;
}

.category-block:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.category-title {
    background: linear-gradient(135deg, #5D4037, #4E342E);
    display: inline-block;
    padding: 10px 35px;
    border-radius: 40px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.category-title h3 {
    color: #FFB74D;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
}

.services-list {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.service-item {
    flex: 1;
    min-width: 230px;
    background: linear-gradient(135deg, #FFF8E1, #FFEFD5);
    border-radius: 20px;
    padding: 22px;
    transition: all 0.3s;
    border: 1px solid #FFE0B2;
}

.service-item:hover {
    border-color: #FFB74D;
    transform: translateY(-6px);
    background: #FFFFFF;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.service-name {
    font-size: 18px;
    font-weight: 800;
    color: #5D4037;
    text-align: center;
    padding-bottom: 12px;
    border-bottom: 2px solid #FFB74D;
    margin-bottom: 15px;
}

.service-desc {
    font-size: 13px;
    color: #A1887F;
    text-align: center;
    margin-bottom: 18px;
    line-height: 1.5;
}

.service-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
}

.price {
    font-size: 22px;
    font-weight: 800;
    color: #5D4037;
}

.buy-btn {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #FFB74D, #FFA726);
    border: none;
    border-radius: 14px;
    cursor: pointer;
    font-size: 20px;
    color: #5D4037;
    transition: all 0.3s;
    font-weight: bold;
}

.buy-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(255, 183, 77, 0.4);
}

/* ========== РАСПИСАНИЕ ========== */
.schedule-wrapper {
    background: #FFFFFF;
    border-radius: 28px;
    padding: 35px;
    border: 1px solid rgba(255, 224, 178, 0.5);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.days-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-bottom: 35px;
}

.day-card {
    flex: 0 1 auto;
    min-width: 95px;
    padding: 14px 22px;
    background: #FFF8E1;
    border: 2px solid #FFE0B2;
    border-radius: 50px;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: #5D4037;
    cursor: pointer;
    transition: all 0.3s;
}

.day-card:hover {
    border-color: #FFB74D;
    transform: translateY(-3px);
    background: #FFFFFF;
}

.day-card.active {
    background: linear-gradient(135deg, #5D4037, #4E342E);
    color: #FFB74D;
    border-color: #5D4037;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.active-day-block {
    background: linear-gradient(135deg, #FFF8E1, #FFEFD5);
    border-radius: 24px;
    padding: 45px;
    min-height: 300px;
    text-align: center;
    border: 1px solid #FFE0B2;
}

.active-day-title {
    font-size: 36px;
    font-weight: 800;
    color: #5D4037;
    margin-bottom: 20px;
}

.active-day-message {
    font-size: 16px;
    color: #8D6E63;
    line-height: 1.8;
}

/* ========== КОНТАКТЫ ========== */
.contacts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
    margin-bottom: 45px;
}

@media (max-width: 900px) {
    .contacts-grid {
        grid-template-columns: 1fr;
    }
}

.contact-card {
    background: #FFFFFF;
    border-radius: 28px;
    padding: 32px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 224, 178, 0.5);
    transition: all 0.3s;
}

.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 25px;
    padding-bottom: 18px;
    border-bottom: 2px solid #FFE0B2;
}

.card-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #5D4037, #4E342E);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: #FFB74D;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.card-header h3 {
    font-size: 22px;
    font-weight: 800;
    color: #5D4037;
}

.contact-row {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 20px;
    padding: 8px 0;
    border-bottom: 1px solid #FFE0B2;
}

.contact-icon-small {
    width: 42px;
    height: 42px;
    background: #FFF8E1;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: #5D4037;
}

.contact-info {
    flex: 1;
}

.contact-label {
    font-size: 12px;
    color: #BCAAA4;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-value {
    font-size: 16px;
    font-weight: 600;
    color: #5D4037;
}

.contact-value a {
    color: #5D4037;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-value a:hover {
    color: #FFB74D;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    background: #FFF8E1;
    border-radius: 40px;
    text-decoration: none;
    color: #5D4037;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    border: 1px solid #FFE0B2;
}

.social-link:hover {
    background: linear-gradient(135deg, #5D4037, #4E342E);
    color: #FFB74D;
    transform: translateY(-3px);
}

.map-placeholder {
    height: 320px;
    background: linear-gradient(135deg, #5D4037, #8D6E63);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    margin-bottom: 35px;
}

.map-marker {
    font-size: 48px;
    margin-bottom: 15px;
}

.map-address {
    background: rgba(255, 255, 255, 0.9);
    padding: 12px 24px;
    border-radius: 50px;
    color: #5D4037;
    font-weight: 600;
}

.feedback-form {
    background: #FFFFFF;
    border-radius: 28px;
    padding: 35px;
    border: 1px solid rgba(255, 224, 178, 0.5);
}

.feedback-form h3 {
    font-size: 24px;
    font-weight: 800;
    color: #5D4037;
    text-align: center;
    margin-bottom: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-input, .form-textarea {
    width: 100%;
    padding: 15px 18px;
    border: 2px solid #FFE0B2;
    border-radius: 14px;
    font-size: 15px;
    transition: all 0.3s;
    outline: none;
    background: #FFF8E1;
}

.form-input:focus, .form-textarea:focus {
    border-color: #FFB74D;
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(255, 183, 77, 0.2);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
    margin-bottom: 20px;
}

.send-btn {
    width: 100%;
    background: linear-gradient(135deg, #5D4037, #4E342E);
    color: #FFB74D;
    border: none;
    padding: 16px;
    font-size: 16px;
    font-weight: 800;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 1px;
}

.send-btn:hover {
    background: linear-gradient(135deg, #FFB74D, #FFA726);
    color: #5D4037;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 183, 77, 0.3);
}

/* ========== КАБИНЕТ ========== */
.cabinet-wrapper {
    max-width: 750px;
    margin: 0 auto;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 35px;
    background: #FFFFFF;
    padding: 32px;
    border-radius: 28px;
    border: 1px solid rgba(255, 224, 178, 0.5);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.user-avatar {
    width: 85px;
    height: 85px;
    background: linear-gradient(135deg, #5D4037, #4E342E);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    font-weight: 700;
    color: #FFB74D;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.user-greeting {
    flex: 1;
}

.user-greeting .name {
    font-size: 26px;
    font-weight: 800;
    color: #5D4037;
    margin-bottom: 6px;
}

.user-greeting .status {
    font-size: 14px;
    color: #8D6E63;
}

.subscription-box {
    background: linear-gradient(135deg, #5D4037, #4E342E);
    border-radius: 24px;
    padding: 25px;
    text-align: center;
    margin-bottom: 35px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.subscription-box p {
    color: #FFB74D;
    font-size: 18px;
    font-weight: 600;
}

.cabinet-menu {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.menu-link {
    background: #FFFFFF;
    border-radius: 18px;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 18px;
    transition: all 0.3s;
    cursor: pointer;
    border: 1px solid #FFE0B2;
    text-decoration: none;
}

.menu-link:hover {
    background: linear-gradient(135deg, #5D4037, #4E342E);
    transform: translateX(12px);
}

.menu-link:hover .menu-icon,
.menu-link:hover .menu-text {
    color: #FFB74D;
}

.menu-icon {
    font-size: 24px;
    font-weight: 700;
    color: #5D4037;
    width: 40px;
}

.menu-text {
    font-size: 16px;
    font-weight: 600;
    color: #5D4037;
}

/* ========== АВТОРИЗАЦИЯ ========== */
.auth-wrapper {
    max-width: 500px;
    margin: 0 auto;
}

.auth-card {
    background: #FFFFFF;
    border-radius: 36px;
    padding: 55px 50px;
    box-shadow: 0 30px 55px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 224, 178, 0.5);
}

.auth-title {
    font-size: 34px;
    font-weight: 800;
    color: #5D4037;
    text-align: center;
    margin-bottom: 38px;
}

.input-group {
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    color: #5D4037;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.input-group input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #FFE0B2;
    border-radius: 18px;
    font-size: 16px;
    outline: none;
    transition: all 0.3s;
    background: #FFF8E1;
}

.input-group input:focus {
    border-color: #FFB74D;
    background: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(255, 183, 77, 0.15);
}

.auth-btn {
    width: 100%;
    background: linear-gradient(135deg, #5D4037, #4E342E);
    color: #FFB74D;
    border: none;
    padding: 16px;
    font-size: 16px;
    font-weight: 800;
    border-radius: 50px;
    cursor: pointer;
    margin: 20px 0 25px;
    transition: all 0.3s;
    letter-spacing: 1px;
}

.auth-btn:hover {
    background: linear-gradient(135deg, #FFB74D, #FFA726);
    color: #5D4037;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 183, 77, 0.3);
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 30px 0;
    color: #BCAAA4;
    font-size: 14px;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, #FFE0B2, #FFB74D, #FFE0B2);
}

.divider span {
    padding: 0 18px;
}

.telegram-auth {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
}

/* МЕСТО ДЛЯ ИКОНКИ TELEGRAM */
.telegram-icon-btn {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #5D4037, #4E342E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.telegram-icon-btn:hover {
    background: linear-gradient(135deg, #FFB74D, #FFA726);
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(255, 183, 77, 0.4);
}

.auth-footer {
    text-align: center;
    font-size: 14px;
    color: #8D6E63;
    margin-top: 10px;
}

.auth-footer a {
    color: #5D4037;
    font-weight: 800;
    text-decoration: none;
    margin-left: 6px;
    transition: color 0.3s;
}

.auth-footer a:hover {
    color: #FFB74D;
}

/* ========== FAQ СЕКЦИЯ ========== */
.faq-section {
    margin-top: 50px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}
/* ========== ПОДВАЛ ========== */
footer {
    background: linear-gradient(135deg, #5D4037, #4E342E);
    color: #FFFFFF;
    padding: 50px 60px 30px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1300px;
    margin: 0 auto;
}

.footer-column h4 {
    color: #FFB74D;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer-column p {
    color: #D7CCC8;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.footer-column a {
    color: #D7CCC8;
    text-decoration: none;
    font-size: 14px;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: #FFB74D;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 0;
}

.footer-social a:hover {
    background: #FFB74D;
    color: #5D4037;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
    color: #A1887F;
}

@media (max-width: 900px) {
    footer {
        padding: 40px 30px 25px;
    }
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 600px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-social {
        justify-content: center;
    }
}

/* ========== МОДАЛЬНОЕ ОКНО ОПЛАТЫ ========== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: #FFFFFF;
    border-radius: 28px;
    max-width: 500px;
    width: 90%;
    padding: 35px;
    position: relative;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 28px;
    cursor: pointer;
    color: #8D6E63;
    transition: color 0.3s;
}

.modal-close:hover {
    color: #5D4037;
}

.modal-title {
    font-size: 24px;
    font-weight: 800;
    color: #5D4037;
    margin-bottom: 10px;
    text-align: center;
}

.modal-subtitle {
    text-align: center;
    color: #8D6E63;
    font-size: 14px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #FFE0B2;
}

.modal-info {
    background: #FFF8E1;
    padding: 15px;
    border-radius: 16px;
    margin-bottom: 25px;
}

.modal-info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
}

.modal-info-row:last-child {
    margin-bottom: 0;
}

.modal-info-label {
    color: #8D6E63;
}

.modal-info-value {
    font-weight: 700;
    color: #5D4037;
}

.modal-total {
    display: flex;
    justify-content: space-between;
    padding-top: 15px;
    margin-top: 15px;
    border-top: 2px solid #FFE0B2;
    font-size: 18px;
    font-weight: 800;
    color: #5D4037;
}

.payment-methods {
    margin: 25px 0;
}

.payment-methods h4 {
    font-size: 16px;
    color: #5D4037;
    margin-bottom: 15px;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border: 2px solid #FFE0B2;
    border-radius: 16px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.payment-option:hover {
    border-color: #FFB74D;
    background: #FFF8E1;
}

.payment-option.selected {
    border-color: #5D4037;
    background: #FFF8E1;
}

.payment-option input {
    width: 18px;
    height: 18px;
    accent-color: #5D4037;
}

.payment-option label {
    flex: 1;
    cursor: pointer;
    font-weight: 500;
    color: #5D4037;
}

.pay-btn {
    width: 100%;
    background: linear-gradient(135deg, #5D4037, #4E342E);
    color: #FFB74D;
    border: none;
    padding: 16px;
    font-size: 16px;
    font-weight: 800;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.pay-btn:hover {
    background: linear-gradient(135deg, #FFB74D, #FFA726);
    color: #5D4037;
    transform: translateY(-2px);
}

@media (max-width: 800px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

.faq-item {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 22px;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid #FFE0B2;
}

.faq-item:hover {
    border-color: #FFB74D;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 800;
    color: #5D4037;
    font-size: 16px;
}

.faq-icon {
    font-size: 20px;
    transition: transform 0.3s;
    color: #FFB74D;
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    color: #8D6E63;
    font-size: 14px;
    line-height: 1.6;
    margin-top: 0;
}

.faq-item.open .faq-answer {
    max-height: 150px;
    margin-top: 18px;
}

/* ========== СТАТИСТИКА ========== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 30px;
}

@media (max-width: 700px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.stat-box {
    text-align: center;
    padding: 25px;
    background: #FFFFFF;
    border-radius: 20px;
    border: 1px solid #FFE0B2;
    transition: all 0.3s;
}

.stat-box:hover {
    transform: translateY(-5px);
    border-color: #FFB74D;
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, #5D4037, #FFB74D);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-label {
    font-size: 13px;
    color: #8D6E63;
    margin-top: 8px;
}

/* ========== АДАПТИВНОСТЬ ========== */
@media (max-width: 900px) {
    header, .special-header {
        padding: 0 30px;
    }
    
    .nav-links {
        gap: 20px;
    }
    
    .nav-links a {
        font-size: 11px;
    }
    
    .page-title {
        font-size: 32px;
    }
}

@media (max-width: 700px) {
    header, .special-header {
        flex-direction: column;
        height: auto;
        padding: 18px 20px;
        gap: 18px;
    }
    
    .nav-links {
        width: 100%;
        flex-wrap: wrap;
        gap: 12px;
        justify-content: center;
    }
    
    .header-slogan {
        font-size: 13px;
        margin: 5px 0;
    }
    
    .page-title {
        font-size: 28px;
    }
    
    .news-grid, .promo-grid, .services-list {
        flex-direction: column;
        align-items: center;
    }
    
    .news-card, .promo-card, .service-item {
        width: 100%;
        max-width: 380px;
    }
    
    .active-day-block {
        padding: 25px;
    }
    
    .active-day-title {
        font-size: 24px;
    }
    
    .auth-card {
        padding: 35px 25px;
    }
    
    .auth-title {
        font-size: 28px;
    }
}