/* Сброс стилей и базовые настройки */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Контейнер */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Заголовок */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

/* Логотип */
.logo {
    flex-shrink: 0;
}

.logo-img {
    height: 50px;
    width: auto;
}

/* Навигация */
.navigation {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
    margin-left: 2rem;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    display: block;
}

.nav-link:hover {
    color: #007bff;
}

/* Выпадающее меню */
.dropdown {
    position: relative;
}

.dropdown-toggle::after {
    content: ' ▼';
    font-size: 0.8em;
    margin-left: 0.5rem;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    list-style: none;
    padding: 0.5rem 0;
    z-index: 1001;
}

/* Новое выпадающее меню с миниатюрами */
.dropdown-menu-models {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    min-width: 350px;
    max-width: 400px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-radius: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    padding: 1rem;
    z-index: 1001;
    max-height: 500px;
    overflow-y: auto;
}

.dropdown:hover .dropdown-menu,
.dropdown:hover .dropdown-menu-models {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-model-item {
    display: flex;
    align-items: center;
    padding: 0.8rem;
    text-decoration: none;
    color: #333;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}

.dropdown-model-item:hover {
    background-color: #f8f9fa;
    transform: translateX(5px);
}

.dropdown-model-image {
    width: 60px;
    height: 45px;
    border-radius: 6px;
    overflow: hidden;
    margin-right: 1rem;
    flex-shrink: 0;
}

.dropdown-model-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dropdown-model-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.dropdown-model-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: #333;
    margin-bottom: 0.3rem;
}

.dropdown-model-desc {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.3;
}

.dropdown-link {
    display: block;
    padding: 0.5rem 1rem;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.dropdown-link:hover {
    background-color: #f8f9fa;
    color: #007bff;
}

/* Мобильное меню кнопка */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
    display: block;
}

/* Мобильное меню */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0,0,0,0.9);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    width: 100%;
    height: 100%;
    padding: 100px 2rem 2rem 2rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
}

/* Кнопка закрытия мобильного меню */
.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    background-color: rgba(255,255,255,0.1);
    transform: rotate(90deg);
}

.mobile-nav-link {
    display: block;
    padding: 1.5rem 0;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    font-weight: 500;
    font-size: 1.2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    color: #007bff;
    background-color: rgba(255,255,255,0.1);
}

/* Мобильное выпадающее меню */
.mobile-dropdown {
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.mobile-dropdown-toggle {
    position: relative;
    border-bottom: none !important;
    color: #fff;
}

.mobile-dropdown-toggle::after {
    content: ' +';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.mobile-dropdown.active .mobile-dropdown-toggle::after {
    content: ' −';
}

.mobile-dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: rgba(0,0,0,0.5);
}

.mobile-dropdown.active .mobile-dropdown-content {
    max-height: 500px;
}

.mobile-dropdown-link {
    display: block;
    padding: 1rem 2rem;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.mobile-dropdown-link:hover {
    color: #007bff;
    background-color: rgba(255,255,255,0.1);
}

/* Стили для мобильного меню с миниатюрами */
.mobile-dropdown-model {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.mobile-dropdown-model:hover {
    color: #007bff;
    background-color: rgba(255,255,255,0.1);
}

.mobile-model-image {
    width: 50px;
    height: 35px;
    border-radius: 4px;
    overflow: hidden;
    margin-right: 1rem;
    flex-shrink: 0;
}

.mobile-model-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mobile-model-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.mobile-model-name {
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.mobile-model-desc {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.3;
}

/* Основной контент */
.main-content {
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
}

/* Карточки автомобилей */
.cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.car-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.car-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.car-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.car-info {
    padding: 1.5rem;
}

.car-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #333;
}

.car-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 1rem;
}

.car-details {
    margin-bottom: 1rem;
}

.car-detail {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.car-detail-label {
    color: #666;
}

.car-detail-value {
    font-weight: 500;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background-color: #0056b3;
}

.btn-secondary {
    background-color: #6c757d;
}

.btn-secondary:hover {
    background-color: #545b62;
}

/* Секция 1: Главный баннер */
.hero-banner {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    margin-top: -80px;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: relative;
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-content {
    text-align: center;
    color: #fff;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    line-height: 1.2;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-hero {
    background-color: #007bff;
    color: #fff;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0,123,255,0.3);
    transform: translateY(0);
    transition: all 0.3s ease;
}

.btn-hero:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,123,255,0.4);
}

/* Секция 2: Модельный ряд */
.models-section {
    padding: 1.5rem 0;
    background-color: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 2.2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 0.8rem;
}

.section-subtitle {
    font-size: 1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Сетка моделей - ИСПРАВЛЕНО */
.models-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 карточки на широких экранах */
    gap: 30px;
    margin-top: 40px;
}

/* Карточка модели */
.model-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%; /* Ключевое свойство для одинаковой высоты */
}

.model-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Изображение модели */
.model-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    flex-shrink: 0; /* Не сжимать изображение */
}

.model-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.model-card:hover .model-img {
    transform: scale(1.05);
}

/* Информация о модели */
.model-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Растягивать на всю доступную высоту */
}

/* Контент модели (растягиваем) */
.model-content {
    flex-grow: 1; /* Занимать всё доступное место */
    display: flex;
    flex-direction: column;
}

/* Название модели */
.model-name {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

/* Цена модели */
.model-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 15px;
    line-height: 1.2;
}

/* Описание модели */
.model-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 20px 0;
    flex-grow: 1; /* Занимать всё оставшееся место */
    display: flex;
    align-items: flex-start; /* Выравнивать текст по верху */
}

/* Контейнер для кнопки (прижимаем к низу) */
.model-action {
    margin-top: auto; /* Прижимает кнопку к низу */
    flex-shrink: 0; /* Не позволяет кнопке сжиматься */
}

/* Кнопка "Подробнее" */
.model-action .btn {
    width: 100%;
    text-align: center;
    padding: 12px 20px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-outline {
    border: 2px solid #007bff;
    color: #007bff;
    background: transparent;
}

.btn-outline:hover {
    background: #007bff;
    color: #fff;
    transform: translateY(-2px);
}

/* Секция 3: О компании */
.about-section {
    padding: 1rem 0;
    background-color: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image {
    overflow: hidden;
    border-radius: 15px;
}

.about-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.about-section:hover .about-img {
    transform: scale(1.02);
}

.about-title {
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: #333;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 2rem;
}

/* Секция 4: Услуги - ИСПРАВЛЕНО */
.services-section {
    padding: 1rem 0;
    background-color: #fff;
}

/* Сетка услуг - ИСПРАВЛЕНО */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 карточки на широких экранах */
    gap: 2rem;
}

.service-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    height: 100%; /* Одинаковая высота карточек */
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.service-image {
    height: 180px;
    overflow: hidden;
    flex-shrink: 0; /* Не сжимать изображение */
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-img {
    transform: scale(1.05);
}

.service-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Растягивать на всю доступную высоту */
}

.service-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #333;
}

.service-description {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1; /* Занимать всё оставшееся место */
    display: flex;
    align-items: flex-start; /* Выравнивать текст по верху */
}

/* Стили для кнопки внутри service-content */
.service-content .btn {
    margin-top: auto; /* Прижимает кнопку к низу */
    align-self: flex-start; /* Выравнивание кнопки по левому краю */
}

/* Секция 5: Галерея */
.gallery-section {
    padding: 0rem 0;
    background-color: #f8f9fa;
}

.gallery-container {
    max-width: 800px;
    margin: 0 auto;
}

.gallery-main {
    position: relative;
    margin-bottom: 2rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.gallery-main-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.gallery-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    pointer-events: none;
}

.gallery-btn {
    background: rgba(0,0,0,0.6);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-btn:hover {
    background: rgba(0,0,0,0.8);
    transform: scale(1.1);
}

.gallery-thumbnails {
    overflow: hidden;
}

.thumbnails-wrapper {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.gallery-thumbnail {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    flex-shrink: 0;
}

.gallery-thumbnail:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.gallery-thumbnail.active {
    border-color: #007bff;
    transform: translateY(-3px);
}

.thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-gallery {
    text-align: center;
    padding: 3rem;
    color: #666;
}

/* ========================================
   СТИЛИ ДЛЯ СТРАНИЦЫ МОДЕЛИ
======================================== */

/* Хлебные крошки */
.breadcrumbs {
    color: rgba(255,255,255,0.8);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.breadcrumbs a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: #fff;
}

/* Секция 1: Баннер модели */
.model-hero-banner {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    margin-top: -80px;
    padding-top: 80px;
}

.model-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.model-hero-overlay {
    position: relative;
    background: rgba(0, 0, 0, 0.6);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.model-hero-content {
    color: #fff;
    max-width: 800px;
}

.model-hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    line-height: 1.2;
}

.model-hero-description {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    max-width: 700px;
}

/* Секция 2: Информация о модели */
.model-info-section {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.model-info-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.model-info-image {
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.model-info-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.model-info-section:hover .model-info-img {
    transform: scale(1.02);
}

.model-info-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: #333;
    line-height: 1.3;
}

.model-info-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 2rem;
}

/* Секция 3: Особенности модели */
.model-features-section {
    padding: 4rem 0;
    background-color: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.feature-image {
    height: 220px;
    overflow: hidden;
}

.feature-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-img {
    transform: scale(1.05);
}

.feature-content {
    padding: 1.5rem;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #333;
}

.feature-description {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

/* Секция 4: Галерея модели */
.model-gallery-section {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.model-gallery-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.model-gallery-main {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    background: #fff;
}

.model-gallery-main-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.model-gallery-thumbnails {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.model-gallery-thumbnail {
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.model-gallery-thumbnail:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.model-gallery-thumbnail.active {
    border-color: #007bff;
    transform: translateY(-3px);
}

.model-thumbnail-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

/* Секция 5: Комплектации */
.model-packages-section {
    padding: 4rem 0;
    background-color: #fff;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.package-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border-color: #007bff;
}

.package-header {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #fff;
    padding: 2rem 1.5rem;
    text-align: center;
}

.package-name {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.package-price {
    font-size: 1.8rem;
    font-weight: bold;
    opacity: 0.9;
}

.package-content {
    padding: 1.5rem;
    flex: 1;
}

.package-description {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.package-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.package-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    padding-left: 1.5rem;
    color: #555;
}

.package-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

.package-features li:last-child {
    border-bottom: none;
}

.package-footer {
    padding: 1.5rem;
    text-align: center;
}

.btn-package {
    width: 100%;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border: none;
    transition: all 0.3s ease;
}

.btn-package:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    transform: translateY(-2px);
}

/* Секция 6: Отзывы */
.model-reviews-section {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.review-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    padding: 2rem;
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.review-author {
    display: flex;
    align-items: center;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

.review-avatar-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    margin-right: 1rem;
}

.review-author-name {
    font-weight: bold;
    color: #333;
    margin-bottom: 0.3rem;
}

.review-date {
    font-size: 0.9rem;
    color: #666;
}

.review-rating {
    display: flex;
    gap: 0.2rem;
}

.star {
    color: #ddd;
    font-size: 1.2rem;
}

.star.filled {
    color: #ffc107;
}

.review-text {
    color: #555;
    line-height: 1.6;
    font-style: italic;
}

/* Секция 7: Финальный баннер */
.model-final-banner {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.model-final-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.model-final-overlay {
    position: relative;
    background: rgba(0, 0, 0, 0.6);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.model-final-content {
    text-align: center;
    color: #fff;
    max-width: 800px;
    margin: 0 auto;
}

.model-final-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    line-height: 1.2;
}

.model-final-description {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Футер */
.footer {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: #fff;
    padding: 3rem 0 1rem 0;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    color: #fff;
    font-size: 1.3rem;
    font-weight: bold;
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #007bff, #0056b3);
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-section a:hover {
    color: #007bff;
    transform: translateX(5px);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    padding: 0.3rem 0;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    border-bottom-color: #007bff;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-link {
    background: rgba(255,255,255,0.1);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.social-link:hover {
    background: #007bff;
    border-color: #007bff;
    transform: translateY(-2px);
    color: #fff !important;
}

.footer-subscribe {
    margin-top: 1.5rem;
}

.footer-subscribe h4 {
    margin-bottom: 0.8rem;
    color: #fff;
    font-size: 1.1rem;
}

.footer-subscribe p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: #bdc3c7;
}

.subscribe-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.subscribe-input {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 5px;
    font-size: 0.9rem;
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.subscribe-input::placeholder {
    color: rgba(255,255,255,0.6);
}

.subscribe-input:focus {
    outline: none;
    background: rgba(255,255,255,0.15);
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0,123,255,0.25);
}

.subscribe-btn {
    padding: 0.8rem 1.2rem;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.subscribe-btn:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,123,255,0.3);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    margin-top: 2rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    color: #bdc3c7;
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: #bdc3c7;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #007bff;
}

/* Кнопка "Наверх" */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,123,255,0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,123,255,0.4);
}

.scroll-to-top span {
    font-weight: bold;
    font-size: 1.5rem;
}

/* Анимации для карточек */
.car-card,
.model-card,
.service-card,
.feature-card,
.package-card,
.review-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Дополнительные утилитарные классы */
.fade-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.no-models,
.no-features,
.no-packages,
.no-gallery {
    text-align: center;
    padding: 3rem 2rem;
    color: #666;
    background: #f8f9fa;
    border-radius: 10px;
    margin: 2rem 0;
}

.no-models p,
.no-features p,
.no-packages p,
.no-gallery p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* ========================================
   МЕДИА-ЗАПРОСЫ ДЛЯ АДАПТИВНОСТИ
======================================== */

/* Адаптивность для планшетов (992px и меньше) */
@media (max-width: 992px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-item {
        margin-left: 1.5rem;
    }
    
    .cars-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-content {
        max-width: 700px;
        padding: 0 30px;
    }
    
    /* Секция 2: Модели - планшеты */
    .models-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 карточки на планшетах */
        gap: 20px;
    }
    
    .about-content {
        gap: 2rem;
    }
    
    /* Секция 4: Услуги - планшеты */
    .services-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 карточки на планшетах */
        gap: 1.5rem;
    }

    /* Адаптивность для страницы модели - планшеты */
    .model-hero-title {
        font-size: 2.8rem;
    }
    
    .model-hero-description {
        font-size: 1.1rem;
    }
    
    .model-info-content {
        gap: 2.5rem;
    }
    
    .model-info-title {
        font-size: 2.2rem;
    }
    
    .model-info-description {
        font-size: 1.1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .model-gallery-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .model-gallery-thumbnails {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .packages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .model-final-title {
        font-size: 2.5rem;
    }

    /* Адаптивность футера - планшеты */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .subscribe-form {
        flex-direction: column;
    }
    
    .subscribe-btn {
        align-self: flex-start;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-legal {
        justify-content: center;
    }
}

/* Адаптивность для мобильных устройств (768px и меньше) */
@media (max-width: 768px) {
    .header-content {
        padding: 0.8rem 0;
    }
    
    .navigation {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .logo-img {
        height: 40px;
    }
    
    .cars-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .car-card {
        margin: 0 10px;
    }
    
    .main-content {
        padding: 1rem 0;
    }
    
    .container {
        padding: 0 10px;
    }

    .hero-banner {
        min-height: 70vh;
        margin-top: -80px;
        padding-top: 200px;
        padding-bottom: 50px;
    }
    
    .hero-title {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 0.8rem;
        margin-bottom: 2rem;
        line-height: 1.5;
    }
    
    .hero-content {
        max-width: 100%;
        padding: 0 25px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    /* Секция 2: Модели - мобильные */
    .models-grid {
        grid-template-columns: 1fr; /* 1 карточка на мобильных */
        gap: 20px;
        margin-top: 30px;
    }
    
    .model-card {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .model-image {
        height: 200px;
    }
    
    .model-info {
        padding: 20px;
    }
    
    .model-name {
        font-size: 1.3rem;
    }
    
    .model-price {
        font-size: 1.1rem;
    }
    
    .model-description {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-img {
        height: 250px;
    }
    
    /* Секция 4: Услуги - мобильные */
    .services-grid {
        grid-template-columns: 1fr; /* 1 карточка на мобильных */
        gap: 1rem;
    }
    
    /* Адаптация галереи для мобильных */
    .gallery-main-img {
        height: 250px;
    }
    
    .gallery-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .gallery-controls {
        padding: 0 0.5rem;
    }
    
    .thumbnails-wrapper {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.5rem;
        scrollbar-width: thin;
    }
    
    .thumbnails-wrapper::-webkit-scrollbar {
        height: 4px;
    }
    
    .thumbnails-wrapper::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 2px;
    }
    
    .thumbnails-wrapper::-webkit-scrollbar-thumb {
        background: #007bff;
        border-radius: 2px;
    }
    
    .gallery-thumbnail {
        width: 70px;
        height: 50px;
    }
    
    .models-section,
    .about-section,
    .services-section,
    .gallery-section {
        padding: 1.5rem 0;
    }
    
    .section-header {
        margin-bottom: 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }

    /* Адаптивность для страницы модели - мобильные */
    .model-hero-banner {
        min-height: 60vh;
        margin-top: -80px;
        padding-top: 150px;
        padding-bottom: 50px;
    }
    
    .model-hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .model-hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .model-info-section {
        padding: 2rem 0;
    }
    
    .model-info-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .model-info-img {
        height: 300px;
    }
    
    .model-info-title {
        font-size: 1.8rem;
    }
    
    .model-info-description {
        font-size: 1rem;
    }
    
    .model-features-section,
    .model-gallery-section,
    .model-packages-section,
    .model-reviews-section {
        padding: 2rem 0;
    }
    
    .feature-image {
        height: 180px;
    }
    
    .feature-content {
        padding: 1rem;
    }
    
    .model-gallery-main-img {
        height: 250px;
    }
    
    .model-gallery-thumbnails {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .model-thumbnail-img {
        height: 80px;
    }
    
    .package-header {
        padding: 1.5rem 1rem;
    }
    
    .package-name {
        font-size: 1.3rem;
    }
    
    .package-price {
        font-size: 1.5rem;
    }
    
    .review-card {
        padding: 1.5rem;
    }
    
    .model-final-banner {
        min-height: 50vh;
    }
    
    .model-final-title {
        font-size: 2rem;
    }
    
    .model-final-description {
        font-size: 1.1rem;
    }

    /* Адаптивность футера - мобильные */
    .footer {
        padding: 2rem 0 1rem 0;
        margin-top: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links {
        align-items: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 1rem;
    }
    
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

/* Дополнительные стили для очень маленьких экранов (480px и меньше) */
@media (max-width: 480px) {
    .models-grid {
        gap: 15px;
        margin-top: 25px;
    }
    
    .model-image {
        height: 180px;
    }
    
    .model-info {
        padding: 15px;
    }
    
    .model-name {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .model-price {
        font-size: 1rem;
        margin-bottom: 12px;
    }
    
    .model-description {
        font-size: 0.85rem;
        margin-bottom: 12px;
    }
    
    .car-info {
        padding: 1rem;
    }
    
    .car-title {
        font-size: 1.1rem;
    }
    
    .car-price {
        font-size: 1.3rem;
    }
    
    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .hero-banner {
        min-height: 65vh;
        margin-top: -80px;
        padding-top: 180px;
        padding-bottom: 40px;
    }
    
    .hero-title {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-description {
        font-size: 0.75rem;
        margin-bottom: 1.5rem;
        line-height: 1.4;
    }
    
    .hero-content {
        padding: 0 20px;
    }
    
    .model-info,
    .service-content {
        padding: 1rem;
    }
    
    .about-title {
        font-size: 1.8rem;
    }

    /* Адаптивность для страницы модели - очень маленькие экраны */
    .model-hero-title {
        font-size: 1.6rem;
    }
    
    .model-hero-description {
        font-size: 0.9rem;
    }
    
    .model-info-title {
        font-size: 1.5rem;
    }
    
    .model-info-img {
        height: 220px;
    }
    
    .feature-image {
        height: 150px;
    }
    
    .model-gallery-main-img {
        height: 200px;
    }
    
    .model-thumbnail-img {
        height: 60px;
    }
    
    .package-content,
    .review-card {
        padding: 1rem;
    }
    
    .model-final-title {
        font-size: 1.6rem;
    }
    
    .model-final-description {
        font-size: 1rem;
    }

    /* Адаптивность футера - очень маленькие экраны */
    .footer {
        padding: 1.5rem 0 1rem 0;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-section {
        padding: 1rem;
        background: rgba(255,255,255,0.05);
        border-radius: 10px;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
    }
    
    .social-link {
        width: 100%;
        text-align: center;
        max-width: 200px;
    }
    
    .subscribe-input,
    .subscribe-btn {
        font-size: 0.8rem;
        padding: 0.7rem;
    }
}

/* Анимация для мобильного меню кнопки */
.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Утилитарные классы */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }

/* Состояния загрузки */
.loading {
    text-align: center;
    padding: 2rem;
    color: #666;
}

.error {
    background-color: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border-radius: 5px;
    margin: 1rem 0;
}

.success {
    background-color: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 5px;
    margin: 1rem 0;
}

/* Улучшенные стили для мобильного выпадающего меню */
.mobile-dropdown-toggle {
    position: relative;
    border-bottom: none !important;
    color: #fff;
    cursor: pointer;
    user-select: none; /* Предотвращает выделение текста */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.mobile-dropdown-toggle::after {
    content: ' +';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
    font-size: 1.5rem;
    font-weight: bold;
}

.mobile-dropdown.active .mobile-dropdown-toggle::after {
    content: ' −';
    transform: translateY(-50%) rotate(180deg);
}

.mobile-dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background-color: rgba(0,0,0,0.5);
}

.mobile-dropdown.active .mobile-dropdown-content {
    max-height: 600px; /* Увеличено для моделей с миниатюрами */
    transition: max-height 0.4s ease-in;
}

/* Улучшенные стили для мобильного меню моделей */
.mobile-dropdown-model {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent; /* Убирает подсветку на iOS */
}

.mobile-dropdown-model:hover,
.mobile-dropdown-model:active {
    color: #007bff;
    background-color: rgba(255,255,255,0.1);
    transform: translateX(10px);
}

.mobile-model-image {
    width: 70px;
    height: 55px;
    border-radius: 4px;
    overflow: hidden;
    margin-right: 1rem;
    flex-shrink: 0;
}

.mobile-model-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mobile-model-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0; /* Позволяет тексту сжиматься */
}

.mobile-model-name {
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: 0.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mobile-model-desc {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Анимация для гладкого открытия/закрытия */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-dropdown.active .mobile-dropdown-content {
    animation: slideDown 0.3s ease-out;
}

/* Улучшения для кнопки мобильного меню */
.mobile-menu-btn {
    position: relative;
    z-index: 2000;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    background-color: rgba(0,0,0,0.1);
    border-radius: 4px;
}

/* Улучшения для overlay мобильного меню */
.mobile-menu {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Плавная анимация для мобильных ссылок */
.mobile-nav-link,
.mobile-dropdown-link {
    position: relative;
    overflow: hidden;
}

.mobile-nav-link::before,
.mobile-dropdown-link::before {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}

.mobile-nav-link:hover::before,
.mobile-dropdown-link:hover::before {
    left: 100%;
}

/* Дополнительные стили для оптимизированных секций */

/* About section improvements */
.about-subtitle {
    font-size: 1rem;
    color: #007bff;
    font-weight: 500;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.features-list li {
    position: relative;
    padding: 0.5rem 0 0.5rem 2rem;
    margin-bottom: 0.5rem;
    border-left: 3px solid #007bff;
    padding-left: 1rem;
    background: rgba(0, 123, 255, 0.05);
    border-radius: 0 4px 4px 0;
}

.features-list li:before {
    content: '✓';
    position: absolute;
    left: -1rem;
    top: 50%;
    transform: translateY(-50%);
    background: #007bff;
    color: white;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Service cards improvements */
.service-card {
    position: relative;
    transition: all 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.service-image {
    position: relative;
    overflow: hidden;
}

.service-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 123, 255, 0.9);
    color: white;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    backdrop-filter: blur(10px);
}

.service-subtitle {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    margin: 0.5rem 0;
    line-height: 1.4;
}

.service-features {
    margin: 1rem 0;
}

.service-features .features-list li {
    font-size: 0.9rem;
    padding: 0.3rem 0 0.3rem 1.5rem;
    margin-bottom: 0.3rem;
    background: rgba(0, 123, 255, 0.03);
    border-left-width: 2px;
}

.service-features .features-list li:before {
    width: 1.2rem;
    height: 1.2rem;
    font-size: 0.7rem;
    left: -0.8rem;
}

/* Hero banner text alignment */
.hero-content.text-left {
    text-align: left;
}

.hero-content.text-center {
    text-align: center;
}

.hero-content.text-right {
    text-align: right;
}

/* Section headers improvements */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-header:after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 2px;
}

/* Services grid responsive improvements */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: stretch;

