/* ================== 1. Локальное подключение шрифтов (ИСПРАВЛЕНО) ================== */
@font-face {
  font-family: 'SloganFont';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local(''),
       /* ИСПРАВЛЕН СИНТАКСИС И ПУТЬ */
       url('/1.woff2') format('woff2'),
       url('/1.woff') format('woff');
}

@font-face {
  font-family: 'NfS_MW';
  src: url('fonts/ofont.ru_NfS\ MW.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

:root {
    --primary-color: #007bff;
    --primary-hover: #0056b3;
    --secondary-color: #6c757d;
    --background-color: #f8f9fa;
    --surface-color: #ffffff;
    --text-color: #212529;
    --text-muted-color: #6c757d;
    --border-color: #dee2e6;
    --header-height: 60px;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-image: linear-gradient(to top, #f8f9fa 80%, #eef5ff 100%);
    color: var(--text-color);
    line-height: 1.6;
}

/* ================== 2. Верхняя панель (Header) ================== */
.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-image: linear-gradient(90deg, #e6f7ff 0%, #f0fff4 100%);
    box-shadow: var(--box-shadow);
    z-index: 1000;
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.header-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
}

.logo {
    height: 35px;
    margin-right: 10px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 600;
}

.slogan {
    color: var(--text-muted-color);
    font-size: 0.9rem;
}

.menu-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.2s, transform 0.2s;
}

.menu-button:hover {
    background-color: #f0f0f0;
}

.menu-button img {
    width: 24px;
    height: 24px;
}

/* ================== 3. Выдвижное меню (Nav) ================== */
.main-menu {
    position: fixed;
    top: var(--header-height);
    right: 0;
    width: 280px;
    height: calc(100vh - var(--header-height));
    background-color: var(--surface-color);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 999;
    padding: 20px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.main-menu.is-open {
    transform: translateX(0);
}

.menu-link {
    padding: 12px 15px;
    text-decoration: none;
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--border-radius);
    transition: background-color 0.2s, color 0.2s;
    display: flex;
    align-items: center;
}

.menu-link:hover {
    background-color: var(--primary-color);
    color: white;
}

.main-menu hr {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 15px 0;
}

.admin-contact-options {
    display: none;
    padding-left: 15px;
}

.menu-link-group.is-open #admin-contact-main {
    background-color: #e9ecef;
}

.menu-link-group.is-open .admin-contact-options {
    display: flex;
    flex-direction: column;
}

.menu-link-icon {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    text-decoration: none;
    color: var(--text-color);
    border-radius: var(--border-radius);
    transition: background-color 0.2s;
}

.menu-link-icon:hover {
    background-color: #f0f0f0;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 998;
}

.menu-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

/* ================== 4. Основной контент ================== */
.content-wrapper {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: calc(var(--header-height) + 30px) 20px 30px;
}

.left-banners {
    width: 180px;
    flex-shrink: 0;
    position: sticky;
    top: calc(var(--header-height) + 30px);
    height: 500px;
}

.main-content {
    flex-grow: 1;
    min-width: 0;
}

.content-section {
    background-color: var(--surface-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
}

.content-section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

/* ================== 5. Стили формы заявки ================== */
.form-container {
    max-width: 700px;
    margin: 0 auto;
}

.form-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 20px;
}

#dynamic-counter-container p {
    font-size: 0.9rem;
    color: var(--text-muted-color);
}

#quick-app-form textarea {
    width: 100%;
    min-height: 120px;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    margin-bottom: 15px;
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.form-row input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.file-attach-icon-btn {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    border: 1px dashed var(--border-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
}

.file-attach-icon-btn:hover {
    background-color: #f0f2f5;
    border-color: var(--primary-color);
}

.file-attach-icon-btn input[type="file"] {
    display: none;
}

.file-attach-icon-btn img {
    width: 24px;
    height: 24px;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.file-attach-icon-btn:hover img {
    opacity: 1;
}

.submit-btn {
    padding: 12px 25px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.submit-btn:hover {
    background-color: var(--primary-hover);
}

/* ================== 6. Секции, кнопки и статьи ================== */
.primary-gradient-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 25px;
    background-image: linear-gradient(45deg, #007bff, #0056b3);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
    transition: all 0.3s ease;
}

.primary-gradient-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(0, 123, 255, 0.3);
}

.primary-gradient-btn img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

#reviews-section .primary-gradient-btn {
    display: flex;
    width: fit-content;
    margin: 20px auto 0;
}

.articles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.article-card {
    display: block;
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--text-color);
    transition: box-shadow 0.2s, border-color 0.2s;
}

.article-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--box-shadow);
}

.article-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* ================== 7. Подвал (Footer) ================== */
.site-footer {
    text-align: center;
    padding: 20px;
    margin-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted-color);
    font-size: 0.9rem;
}

/* ================== 8. Модальные окна и виджеты ================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.modal-window {
    background: var(--surface-color);
    padding: 30px;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 600px;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s;
    text-align: center;
}

.modal-overlay.is-open .modal-window {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.8rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted-color);
}

/* СТИЛИ ДЛЯ ВИДЕО v7 (Mobile First Responsive) */
#bot-modal .modal-window h3 { margin-bottom: 15px; }
#bot-modal #bot-modal-timer-view p { font-size: 1.1rem; margin-bottom: 20px; }
#bot-modal .submit-btn.large-btn { padding: 15px 30px; font-size: 1.2rem; }

#bot-modal .modal-video-tutorials { 
    display: flex;
    justify-content: space-around; 
    align-items: flex-start;
    flex-wrap: nowrap; 
    gap: 15px;
    margin-top: 25px; 
    width: 100%; 
}

#bot-modal .modal-video-wrapper {
    flex-basis: 45%; 
    display: flex;
    flex-direction: column;
    align-items: center; 
}

#bot-modal .modal-video-wrapper h4 { 
    margin-bottom: 10px; 
    font-size: 0.9rem; 
    font-weight: 500; 
    text-align: center; 
}

#bot-modal .modal-video-wrapper video { 
    max-height: 250px; 
    width: auto; 
    max-width: 100%;
    display: block;
    border-radius: var(--border-radius); 
    border: 1px solid var(--border-color); 
    background-color: #000;
}

/* Chat Widget */
.chat-widget { position: fixed; bottom: 20px; right: 20px; width: 350px; background: var(--surface-color); border-radius: var(--border-radius); box-shadow: 0 5px 20px rgba(0,0,0,0.15); display: flex; flex-direction: column; overflow: hidden; z-index: 1050; transform: translateY(calc(100% + 20px)); transition: transform 0.3s ease-in-out; }
.chat-widget.is-open { transform: translateY(0); }
.chat-header { background: var(--primary-color); color: white; padding: 10px 15px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.chat-header button { background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; }
.chat-body { height: 300px; padding: 15px; overflow-y: auto; }
.chat-footer { display: flex; border-top: 1px solid var(--border-color); }
.chat-footer input { flex-grow: 1; border: none; padding: 15px; outline: none; }
.chat-footer button { background: var(--primary-color); border: none; color: white; font-size: 1.5rem; padding: 0 20px; cursor: pointer; }

/* ================== 9. Адаптивность ================== */
.mobile-only-banner {
    display: none;
}

@media (max-width: 991px) { /* Граница изменена для более точного контроля */
    .slogan,
    .left-banners {
        display: none;
    }
    .mobile-only-banner {
        display: block;
        text-align: center;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    .content-wrapper {
        padding: calc(var(--header-height) + 20px) 15px 20px;
    }
    .header-content {
        padding: 0 15px;
    }
    .content-section {
        padding: 20px;
    }
    .content-section h2 {
        font-size: 1.5rem;
    }
    .form-row,
    .articles-grid {
        flex-direction: column;
        grid-template-columns: 1fr;
    }
    .form-footer {
        flex-direction: column-reverse;
        align-items: stretch;
    }
    .form-actions {
        justify-content: flex-end;
    }
    .chat-widget {
        width: calc(100% - 30px);
        right: 15px;
        bottom: 15px;
    }
    #bot-modal .modal-video-tutorials {
        flex-direction: column;
        align-items: center;
    }
}

@media (min-width: 992px) {
    .slogan,
    .left-banners {
        display: block;
    }
    .menu-button {
        transform: scale(1.2);
    }
    .menu-overlay {
        display: none !important;
    }
    #bot-modal .modal-video-wrapper video {
        max-height: 375px; /* 250px * 1.5 = 375px */
    }
}

/* ================== 10. Анимация появления при скролле ================== */
.fade-in-section { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.fade-in-section.is-visible { opacity: 1; transform: translateY(0); }

/* ================== 11. Стили для компонентов ================== */
.menu-icon { width: 22px; height: 22px; flex-shrink: 0; transition: transform 0.2s; margin-right: 12px; }
.menu-link:hover .menu-icon { transform: scale(1.1); }
.menu-link-icon .menu-icon { width: 20px; height: 20px; }

.banner-link { display: block; margin-bottom: 20px; border-radius: var(--border-radius); overflow: hidden; box-shadow: var(--box-shadow); transition: transform 0.2s ease-out, box-shadow 0.2s ease-out; }
.banner-link:hover { transform: translateY(-3px); box-shadow: 0 6px 10px rgba(0, 0, 0, 0.08); }
.banner-link img { width: 100%; height: auto; display: block; }

/* ================== 12. Стили для слайдера отзывов ================== */
.slider-container { position: relative; overflow: hidden; width: 100%; margin: 0 auto; }
.slider-track { display: flex; transition: transform 0.5s ease-in-out; }
.review-card { flex: 0 0 100%; width: 100%; background: #f8f9fa; border: 1px solid var(--border-color); border-radius: var(--border-radius); padding: 25px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.review-stars { font-size: 1.5rem; margin-bottom: 15px; color: #ffc107; }
.review-text { font-style: italic; color: var(--text-color); margin-bottom: 15px; flex-grow: 1; }
.review-author { font-weight: 600; color: var(--text-muted-color); }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); background-color: rgba(255, 255, 255, 0.7); border: 1px solid var(--border-color); color: var(--text-color); width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-size: 1.5rem; display: flex; justify-content: center; align-items: center; z-index: 10; transition: background-color 0.2s; }
.slider-btn:hover { background-color: white; }
.slider-btn.prev { left: 10px; }
.slider-btn.next { right: 10px; }
.slider-btn:disabled { opacity: 0.3; cursor: not-allowed; }

/* Стиль для сообщений под формами (успех/ошибка) */
.form-status-message {
    text-align: center;
    margin-top: 15px;
    margin-bottom: 10px;
    font-weight: 500;
}

/* Стили для формы отзыва в модальном окне */
#review-form { display: flex; flex-direction: column; gap: 15px; margin-top: 15px; }
.review-form-stars { display: flex; align-items: center; gap: 10px; font-size: 1rem; }
#review-form select, #review-form textarea { width: 100%; padding: 10px; border: 1px solid var(--border-color); border-radius: var(--border-radius); font-size: 1rem; font-family: inherit; }
#review-form textarea { min-height: 100px; resize: vertical; }

/* Стили для блока "Мои заявки" */
.my-applications-container { margin-top: 30px; padding: 20px; background-color: #f9f9f9; border-radius: 8px; border: 1px solid #e0e0e0; }
.my-applications-title { margin-top: 0; margin-bottom: 15px; text-align: center; color: #333; }
.my-applications-list { display: flex; flex-direction: column; gap: 15px; }
.app-item { display: flex; justify-content: space-between; align-items: center; padding: 15px; background-color: #fff; border: 1px solid #ddd; border-radius: 6px; gap: 15px; }
.app-text { margin: 0; flex-grow: 1; color: #555; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-status { padding: 5px 12px; border-radius: 15px; font-size: 0.85em; font-weight: 600; white-space: nowrap; }
.status-pending { background-color: #ffeac9; color: #d28c0e; border: 1px solid #ffdba3; }
.status-approved { background-color: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.status-rejected { background-color: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
/* --- Стили для формы отзыва --- */
#review-form .form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
    text-align: left;
}

#review-form .form-group label {
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
    font-size: 0.9em;
}

#review-form input[type="text"] {
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
}

#review-form input[type="text"]:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}
/* ================== 13. Стили для чата ================== */
.chat-body { display: flex; flex-direction: column; gap: 10px; }
.chat-message { max-width: 80%; padding: 10px 15px; border-radius: 18px; line-height: 1.4; word-wrap: break-word; }
.chat-message.user { background-color: var(--primary-color); color: white; border-bottom-right-radius: 4px; align-self: flex-end; }
.chat-message.admin { background-color: #e9ecef; color: var(--text-color); border-bottom-left-radius: 4px; align-self: flex-start; }
/* ================== 14. Стили для функции "Актуально" ================== */
.app-action-btn.relevant-btn {
    background-color: #28a745; /* Зеленый цвет */
    color: white;
}
.app-action-btn.relevant-btn:hover {
    background-color: #218838;
}

/* Стили для модального окна подтверждения */
.modal-icon {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 1rem;
}
.modal-text {
    text-align: center;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: var(--text-color-light);
}
.modal-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    width: 100%;
}
.modal-actions .secondary-btn {
    background-color: #6c757d;
}
.modal-actions .secondary-btn:hover {
    background-color: #5a6268;
}
/* ================== 15. ОБНОВЛЕННЫЕ СТИЛИ ДЛЯ КНОПОК (v5.0) ================== */

/* --- Общий стиль для маленьких кнопок в списке заявок --- */
.app-action-btn {
    padding: 7px 14px;
    border: none;
    border-radius: 8px; /* Более скругленные углы */
    color: white;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Мягкая тень */
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.app-action-btn:hover {
    transform: translateY(-2px); /* Эффект "приподнимания" */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.app-action-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* --- Кнопка "Закрыть" (Стильный серый) --- */
.app-action-btn.close-btn {
    background-color: #79838f;
    background-image: linear-gradient(45deg, #8693a1 0%, #6c757d 100%);
}

.app-action-btn.close-btn:hover {
    background-image: linear-gradient(45deg, #92a0af 0%, #79838f 100%);
}

/* --- Кнопка "Актуально" (Сочный зеленый градиент) --- */
.app-action-btn.relevant-btn {
    background-color: #28a745;
    background-image: linear-gradient(45deg, #34d058 0%, #28a745 100%);
}

.app-action-btn.relevant-btn:hover {
    background-image: linear-gradient(45deg, #3be663 0%, #2cb84d 100%);
}


/* --- Кнопки в модальном окне --- */
.modal-actions {
    margin-top: 1.5rem; /* Добавим больше отступа сверху */
}

/* Кнопка "Отменить" (тот же стильный серый) */
.modal-actions .secondary-btn {
    padding: 12px 24px;
    font-weight: bold;
    color: white;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    background-color: #79838f;
    background-image: linear-gradient(45deg, #8693a1 0%, #6c757d 100%);
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.modal-actions .secondary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    background-image: linear-gradient(45deg, #92a0af 0%, #79838f 100%);
}

/* Кнопка подтверждения "Да..." будет использовать стиль .submit-btn, который уже красивый */

/* Удаляем старые, некрасивые стили, если они там были */
/* Этот код можно не копировать, он просто для информации, что новые стили заменят эти */
/* 
.app-action-btn.relevant-btn { background-color: #28a745; }
.modal-actions .secondary-btn { background-color: #6c757d; }
*/
/* ================== 16. Стили для причины отклонения (v5.2) ================== */

.app-rejection-reason {
    margin-top: 12px;
    padding: 10px;
    background-color: #fff5f5; /* Очень светлый красный фон */
    border-left: 4px solid #e53e3e; /* Яркая красная полоса слева */
    color: #c53030; /* Темно-красный цвет текста */
    font-size: 14px;
    line-height: 1.5;
    border-radius: 0 4px 4px 0;
}

.app-rejection-reason strong {
    color: #9b2c2c; /* Еще темнее для заголовка */
}
/* ================== 17. Стили для спец. страниц (v5.4) ================== */

.special-page-container {
    text-align: center;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.special-page-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.special-page-icon {
    font-size: 3rem;
    line-height: 1;
}

.special-page-description {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
    color: var(--text-color-light);
    line-height: 1.6;
}

.special-page-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* Адаптация для больших экранов */
@media (min-width: 768px) {
    .special-page-actions {
        flex-direction: row;
        justify-content: center;
    }
}

/* Делаем вторую кнопку большой, как и первую */
.secondary-btn.large-btn {
    padding: 12px 24px;
    font-size: 16px;
}
/* ================== 18. Стили для карточек услуг (v5.5) ================== */

.service-grid {
    display: grid;
    /* Создаем отзывчивую сетку: колонки от 280px до 1fr */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.service-card {
    background-color: #f8f9fa; /* Светлый фон для карточки */
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.service-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 10px;
}

.service-icon {
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-muted-color);
    font-size: 0.95rem;
    line-height: 1.6;
}
/* ================== 19. Уникальные стили для страницы "Женские услуги" (v5.6) ================== */

/* Нежный розовый градиент для фона страницы */
body.women-jobs-page {
    /* Градиент от почти белого к очень светло-розовому */
    background-image: linear-gradient(to top, #fff5f8 0%, #ffffff 100%);
}

/* Новый стиль для розовой кнопки */
.submit-btn.pink-btn {
    background-color: #ff69b4; /* Hot Pink как базовый цвет */
    background-image: linear-gradient(45deg, #ff85b3 0%, #ff69a0 100%);
    box-shadow: 0 4px 15px rgba(255, 105, 180, 0.3);
}

.submit-btn.pink-btn:hover {
    background-image: linear-gradient(45deg, #ff9ac2 0%, #ff7db0 100%);
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(255, 105, 180, 0.4);
}

/* Увеличиваем размер больших кнопок для лучшего вида */
.submit-btn.large-btn {
    padding: 14px 28px;
    font-size: 1.1rem;
}
/* ================== 20. Исправление переноса текста в заявках (v5.9) ================== */

/* 
 * Удаляем старые правила, которые мешали переносу,
 * и разрешаем тексту занимать несколько строк.
*/
.app-text {
    white-space: normal; /* Разрешаем перенос строк */
    overflow: visible;   /* Убираем скрытие текста */
    text-overflow: clip; /* Убираем многоточие */
    word-break: break-word; /* Разрываем длинные слова, чтобы они не вылезали за границы */
}

/* Небольшая адаптация для мобильных устройств */
@media (max-width: 767px) {
    .app-item {
        flex-direction: column; /* Ставим элементы друг под другом */
        align-items: flex-start; /* Выравниваем по левому краю */
    }
    .app-item-actions {
        width: 100%;
        margin-top: 15px;
        display: flex;
        justify-content: flex-end; /* Кнопки будут справа */
        gap: 10px;
    }
}
/* ================== 21. Мобильный нижний баннер (v6.0) ================== */

#mobile-banner {
    display: none; /* Скрыт по умолчанию на больших экранах */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: var(--header-height); /* Такая же высота, как у шапки */
    z-index: 950; /* Поверх контента, но ниже меню и модальных окон */
    background-color: #000;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
}

#mobile-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Изображение будет красиво заполнять баннер */
    display: block;
}

#close-mobile-banner {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 28px;
    height: 28px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    line-height: 28px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
}

#close-mobile-banner:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

/* Медиа-запрос, который включает баннер только на мобильных устройствах */
@media (max-width: 767px) {
    #mobile-banner {
        display: block; /* Показываем баннер */
    }

    /* Добавляем отступ снизу для основного контента, чтобы баннер его не перекрывал */
    body {
        padding-bottom: var(--header-height);
    }
}
/* ================== 22. Аудиоплеер в шапке (v6.3) ================== */

#audio-player-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto; /* Прижимает плеер влево от кнопки меню */
    margin-right: 15px;
}

#audio-play-pause-btn {
    width: 40px;
    height: 40px;
    background-color: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    /* Применяем анимацию пульсации по умолчанию */
    animation: pulse 2s infinite cubic-bezier(0.66, 0, 0, 1);
}

#audio-play-pause-btn:hover img {
    transform: scale(1.1);
}

#play-pause-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.2s ease-in-out;
}

/* Анимация пульсации */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 82, 82, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 82, 82, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 82, 82, 0); }
}

#audio-volume-slider {
    -webkit-appearance: none; /* Убираем стандартный вид в Chrome/Safari */
    appearance: none;
    width: 80px;
    height: 5px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    outline: none;
    opacity: 0; /* Скрыт по умолчанию */
    transform: scaleX(0);
    transform-origin: left;
    transition: opacity 0.3s ease, transform 0.3s ease, width 0.3s ease;
}

/* Стили для "дорожки" слайдера */
#audio-volume-slider::-webkit-slider-runnable-track {
    height: 5px;
    background: #ddd;
    border-radius: 5px;
}
#audio-volume-slider::-moz-range-track {
    height: 5px;
    background: #ddd;
    border-radius: 5px;
}

/* Стили для "ползунка" */
#audio-volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background: #ff5252;
    cursor: pointer;
    border-radius: 50%;
    margin-top: -5.5px; /* Центрируем ползунок */
}
#audio-volume-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: #ff5252;
    cursor: pointer;
    border-radius: 50%;
    border: none;
}

/* ================== Состояния плеера ================== */

/* Когда музыка играет (класс is-playing добавляется на <body>) */
body.is-playing #audio-play-pause-btn {
    animation: none; /* Отключаем пульсацию */
}

body.is-playing #audio-volume-slider {
    opacity: 1; /* Показываем слайдер */
    transform: scaleX(1);
}

/* Адаптация для мобильных */
@media (max-width: 480px) {
    #audio-player-container {
        gap: 8px;
        margin-right: 10px;
    }
    body.is-playing #audio-volume-slider {
        width: 60px; /* Делаем слайдер чуть короче */
    }
}
/* ================== 23. Стилизация слогана в шапке (v6.8) ================== */

.header-content .slogan {
    /* ИЗМЕНЯЕМ ЭТУ СТРОКУ */
    font-family: 'SloganFont', cursive; /* Используем новое имя, которое задали в @font-face */

    font-size: 2.1em;
    margin-left: 20px;
    color: #333;
    white-space: nowrap;
}

/* Адаптация для мобильных устройств */
@media (max-width: 767px) {
    .header-content .slogan {
        margin-left: 15px;
        font-size: 1em;
    }
}
/* ================== 24. Стили для времени заявки (v6.6.2) ================== */

.app-item {
    /* Делаем flex-контейнер, чтобы элементы могли переноситься */
    flex-wrap: wrap; 
}

.app-time {
    font-size: 0.8em; /* Делаем текст времени чуть меньше */
    color: var(--text-muted-color); /* Серый, неброский цвет */
    margin-left: 15px; /* Небольшой отступ от текста заявки */
    white-space: nowrap; /* Запрещаем перенос строки */
    
    /* Располагаем справа от текста и слева от статуса */
    margin-right: auto; 
}

/* На мобильных устройствах ставим время под текстом заявки */
@media (max-width: 767px) {
    .app-time {
        width: 100%; /* Занимает всю ширину */
        margin-left: 0; /* Убираем отступ слева */
        margin-top: 8px; /* Добавляем отступ сверху */
        margin-bottom: 8px; /* Добавляем отступ снизу */
        text-align: left; /* Выравниваем по левому краю */
    }

    /* Убираем лишний отступ у статуса */
    .app-status {
        margin-left: 0;
    }
}

/* ================== 25. Подвал с логотипом и годом ================== */
.site-footer-label {
    padding: 30px 20px 10px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    width: 100%;
    box-sizing: border-box;
}

.footer-label-text {
    font-family: 'NfS_MW', sans-serif;
    font-size: 1.6rem;
    white-space: nowrap;
    color: #64748b; /* Темный металлик */
    text-shadow: 0 0 8px rgba(52, 211, 153, 0.8), 0 0 15px rgba(16, 185, 129, 0.5); /* Мятная подсветка */
    letter-spacing: 1px;
}

.footer-label-img {
    height: 120px;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(16, 185, 129, 0.2));
    flex-shrink: 0;
}

.footer-copyright {
    text-align: center;
    color: var(--text-muted-color);
    font-size: 0.85rem;
    padding-bottom: 30px;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .site-footer-label {
        padding: 20px 2vw 10px 2vw;
        gap: 3vw;
    }
    .footer-label-text {
        font-size: 4.5vw; 
    }
    .footer-label-img {
        height: 20vw;
        max-height: 120px; 
    }
    .footer-copyright {
        padding-bottom: 90px !important;
    }
}