
/* --- UNIVERSAL RESET & PREMIUM FONTS --- */
:root {
    --white: #ffffff;
    --light-gray: #f8f9fa; 
    --text-gray: #333333;
    --border-light: #e0e6ed;
    
    /* BRAND COLORS - PURPLE */
    --brand-purple: #3d375d;      /* Основной фиолетовый */
    --accent-purple: #6a6296;     /* Светлый фиолетовый для акцентов */
    --purple-bg-light: #f4f2f9;   /* Очень мягкий фиолетовый для фона открытого текста FAQ */
    --faq-dark-tile: #1f2326;     /* Темные плашки FAQ */
    
    --header-bg: #1a1a1a;
    
    --soft-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body { 
    font-family: 'Manrope', sans-serif;
    line-height: 1.6;
    color: var(--text-gray);
    background-color: var(--white);
}

.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.section-padding { padding: 80px 0; }
.light-bg { background-color: var(--light-gray); }
.dark-bg { background-color: var(--header-bg); color: var(--white); }

/* --- HEADERS & TITLES --- */
h1, h2, h3, h4 { font-weight: 700; color: var(--text-gray); }
.section-title { font-size: 36px; text-align: center; margin-bottom: 50px; text-transform: uppercase; letter-spacing: 1px; }
.section-title::after { content: ''; display: block; width: 60px; height: 3px; background: var(--brand-purple); margin: 15px auto 0; }

/* --- HEADER --- */
.main-header { 
    background-color: var(--header-bg); 
    padding: 15px 0; 
    position: fixed; 
    width: 100%; 
    top: 0; 
    z-index: 1000; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header-container { display: flex; justify-content: space-between; align-items: center; width: 95%; margin: 0 auto; }
.logo img { height: 50px; width: auto; }

.nav-menu { display: flex; gap: 20px; }
.nav-menu a { color: var(--white); text-decoration: none; font-size: 14px; font-weight: 600; text-transform: uppercase; transition: color 0.3s; }
.nav-menu a:hover { color: var(--accent-purple); }

.header-right { display: flex; align-items: center; gap: 25px; }
.phone-link { color: var(--white); font-weight: 700; }

.lang-switcher button { 
    background: none; border: 1px solid transparent; color: #888; 
    font-weight: 700; cursor: pointer; padding: 2px 6px; 
    transition: all 0.3s;
}
.lang-switcher button.active { color: var(--white); border-color: var(--white); }

/* --- HERO & SEARCH SECTION --- */
.hero-section { position: relative; margin-top: 80px; }
.hero-image-overlay { position: relative; height: 70vh; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.hero-bg { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; filter: brightness(0.6); }
.hero-text { position: relative; z-index: 10; text-align: center; color: var(--white); padding: 0 20px; }
.hero-text h1 { font-size: 42px; text-transform: uppercase; color: var(--white); }

.search-form-section { 
    background-color: var(--header-bg);
    color: var(--white);
    padding: 40px;
    margin-top: -80px;
    position: relative;
    z-index: 20;
    width: 90%;
    max-width: 1100px;
    margin-left: auto; margin-right: auto;
    border-radius: 8px;
    box-shadow: var(--soft-shadow);
}
.search-form-section h2 { color: var(--white); font-size: 20px; text-align: center; margin-bottom: 25px; font-weight: 400; }

#car-search-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group label { display: block; font-size: 12px; color: #aaa; margin-bottom: 5px; }
.form-group input, .form-group select { 
    width: 100%; padding: 12px; 
    border: 1px solid #444; background: #2a2a2a; color: var(--white); 
    border-radius: 4px; font-family: 'Inter', sans-serif;
}
.form-group input:focus, .form-group select:focus { border-color: var(--accent-purple); outline: none; }

.form-options { text-align: center; margin: 10px 0; }
.checkbox-container { display: inline-flex; align-items: center; gap: 10px; color: var(--white); cursor: pointer; font-size: 14px; }

.search-submit-btn { 
    background-color: var(--brand-purple); 
    color: var(--white); 
    border: none; padding: 15px; width: 100%; 
    font-weight: 700; text-transform: uppercase; 
    cursor: pointer; border-radius: 4px; transition: background 0.3s;
    font-size: 16px;
}
.search-submit-btn:hover { background-color: var(--accent-purple); }

/* --- СТИЛЬНЫЙ ФИЛЬТР АВТО С СЕЛЕКТОРАМИ --- */
.catalog-filter-container {
    background: var(--light-gray);
    padding: 20px 30px;
    border-radius: 12px;
    margin: 30px auto;
    max-width: 1200px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    border: 1px solid var(--border-light);
}

.catalog-filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    align-items: center;
    justify-content: flex-start;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.filter-group label {
    font-size: 14px;
    font-weight: 700;
    color: #495057;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: var(--white);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%233d375d' viewBox='0 0 16 16'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 15px center;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 10px 40px 10px 15px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-gray);
    font-family: 'Manrope', sans-serif;
    cursor: pointer;
    min-width: 180px;
    transition: all 0.25s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.filter-group select:focus {
    border-color: var(--accent-purple);
    outline: none;
    box-shadow: 0 0 0 3px rgba(106, 98, 150, 0.15);
}

.filter-group select:hover {
    border-color: var(--brand-purple);
}

@media (max-width: 768px) {
    .catalog-filter-form {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    .filter-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    .filter-group select {
        width: 100%;
    }
}

/* --- CAR CATALOG GRID & PREMIUM CARDS --- */
#cars h2 { color: var(--text-gray); }

.car-grid { 
    display: grid; 
    /* Жестко задаем 3 колонки в ряд */
    grid-template-columns: repeat(3, 1fr); 
    gap: 24px; 
    margin-top: 40px; 
}

.car-card { 
    position: relative; 
    background: var(--white); 
    border: 1px solid var(--border-light); 
    border-radius: 12px; /* Аккуратные премиальные углы */
    overflow: hidden; 
    display: flex;
    flex-direction: column;
    /* Плавный переход для подъема карточки и её тени */
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                box-shadow 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                border-color 0.3s ease; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

/* Дорогой интерактив: карточка взлетает повыше, а тень становится объёмной */
.car-card:hover { 
    transform: translateY(-8px); /* Приподнимаем чуть выше для эффекта объема */
    box-shadow: 0 20px 38px rgba(61, 55, 93, 0.12); /* Мягкая, глубокая премиальная тень */
    border-color: var(--accent-purple);
}

/* Блок с фотографией — ТЕПЕРЬ СТАТИЧНЫЙ (0% багов, 100% стабильность) */
.car-img-box { 
    position: relative;
    width: 100%; 
    aspect-ratio: 16 / 9; /* Идеальные пропорции */
    background-color: var(--white); 
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; 
}

.car-img-box img { 
    width: 100%; 
    height: 100%; 
    object-fit: contain; /* Машина полностью помещается */
    /* Убрали отсюда любые трансформации scale, чтобы полоски никогда не появлялись */
}

/* Плашка цены поверх фото */
.car-price-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(61, 55, 93, 0.95); /* Твой базовый темный фиолетовый */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 6px 12px;
    border-radius: 20px;
    display: flex;
    align-items: baseline;
    gap: 4px;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    /* Плавная анимация изменения размера и цвета плашки */
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                background-color 0.3s ease, 
                box-shadow 0.3s ease;
}

.car-price-badge .price-value {
    font-size: 15px; 
    font-weight: 700;
    color: var(--white); 
}

.car-price-badge .price-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* АЛЬТЕРНАТИВНЫЙ ЭФФЕКТ: При наведении на карточку, плашка плавно растет и подсвечивается */
.car-card:hover .car-price-badge {
    background-color: rgba(106, 98, 150, 0.98); /* Плашка мягко перекрашивается в яркий var(--accent-purple) */
    transform: scale(1.08) translateY(-2px); /* Изрезанный, аккуратный прыжок вверх и увеличение */
    box-shadow: 0 6px 20px rgba(106, 98, 150, 0.4); /* Элегантное фиолетовое свечение вокруг цены */
}

/* --- БЕЛАЯ ЧАСТЬ КАРТОЧКИ --- */
.car-card-content { 
    padding: 16px; 
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    border-top: 1px solid var(--border-light); 
}

/* Название авто */
.car-card-content h3 { 
    font-size: 17px; 
    font-weight: 600; 
    color: var(--brand-purple); 
    margin-bottom: 6px; 
    letter-spacing: 0.2px;
    line-height: 1.3;
}

/* Характеристики */
.car-mini-specs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 12px; 
    color: #64748b;
    font-weight: 500; 
    margin-bottom: 14px; 
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-light); 
}

.spec-divider {
    color: #cbd5e1; 
} 

/* Кнопка DETALII */
.details-btn { 
    background-color: var(--brand-purple); 
    color: var(--white); 
    text-decoration: none; 
    text-align: center; 
    display: block; 
    width: 100%; 
    padding: 10px 0; 
    font-size: 13px; 
    font-weight: 600; 
    border-radius: 6px; 
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    margin-top: auto; 
    border: none;
    cursor: pointer;
}

.details-btn:hover { 
    filter: brightness(0.9); 
    transform: translateY(-1px); 
    box-shadow: 0 4px 12px rgba(61, 55, 93, 0.15); 
}

/* АДАПТИВНОСТЬ */
@media (max-width: 992px) {
    .car-grid {
        grid-template-columns: repeat(2, 1fr); 
    }
}

@media (max-width: 600px) {
    .car-grid {
        grid-template-columns: 1fr; 
    }
}
/* --- СТИЛИ ДЛЯ ВЕРТИКАЛЬНЫХ ОТЗЫВОВ --- */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.review-row-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 25px 30px;
    display: flex;
    align-items: center;
    gap: 30px;
    box-shadow: var(--soft-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-row-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

.review-user-info {
    flex-shrink: 0;
    width: 140px;
    text-align: center;
}

.review-img-box {
    width: 80px;
    height: 80px;
    margin: 0 auto 10px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--brand-purple);
}

.review-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-name {
    font-size: 16px;
    color: var(--text-gray);
    font-weight: 700;
    line-height: 1.3;
}

.review-text-box {
    flex-grow: 1;
}

.review-text {
    font-size: 15px;
    color: #444;
    line-height: 1.6;
    text-align: left;
}

/* --- FAQ ACCORDION STYLES --- */
.faq-accordion { max-width: 1000px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background-color: var(--faq-dark-tile); border-radius: 10px; overflow: hidden; transition: all 0.3s ease; }

.faq-toggle { 
    width: 100%; background: none; border: none; padding: 18px 25px; 
    text-align: left; color: var(--white); font-size: 16px; font-weight: 600; 
    cursor: pointer; display: flex; justify-content: space-between; align-items: center; 
    gap: 20px; font-family: 'Inter', sans-serif;
}
.faq-item:not(.active) .faq-toggle:hover { background-color: #2b3035; }

.faq-icon { 
    width: 10px; height: 10px; border-right: 2px solid var(--white); border-bottom: 2px solid var(--white); 
    transform: rotate(45deg); transition: transform 0.3s ease; flex-shrink: 0; margin-right: 5px;
}

.faq-item.active { background-color: var(--purple-bg-light); box-shadow: inset 0 0 0 1px var(--brand-purple); }
.faq-item.active .faq-toggle { background-color: var(--brand-purple); color: var(--white); }
.faq-item.active .faq-icon { transform: rotate(-135deg); }

.faq-content { max-height: 0; overflow: hidden; transition: max-height 0.3s cubic-bezier(0, 1, 0, 1); }
.faq-content p { padding: 20px 25px; color: var(--text-gray); font-size: 15px; line-height: 1.6; margin: 0; }

/* --- FOOTER (OLD) --- */
.footer h4 { color: var(--white); margin-bottom: 15px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 2fr 3fr; gap: 40px; color: #aaa; font-size: 14px; }
.footer-links a { display: block; color: #aaa; text-decoration: none; margin-bottom: 8px; }
.footer-links a:hover { color: var(--accent-purple); }
.footer-map iframe { border-radius: 4px; border: 1px solid #444; }

html { scroll-behavior: smooth; }

/* Адаптивность для отзывов */
@media (max-width: 650px) {
    .review-row-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 20px;
    }
    .review-user-info {
        width: 100%;
    }
    .review-text {
        text-align: center;
    }
}

/* --- СТИЛИ ДЛЯ ПЛАШКИ ЦЕНЫ С ФИОЛЕТОВЫМ АКЦЕНТОМ --- */
.car-price-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(26, 26, 26, 0.85); 
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
    padding: 5px 14px;
    border-radius: 20px;
    display: flex;
    align-items: baseline;
    gap: 5px;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.car-price-badge .price-value {
    font-size: 17px;
    font-weight: 700;
    color: var(--accent-purple); 
    transition: color 0.3s ease;
}

.car-price-badge .price-label {
    font-size: 11px;
    color: #b0b0b0;
    font-weight: 600;
}

.car-card:hover .car-price-badge {
    background: var(--brand-purple); 
    border-color: var(--accent-purple);
}

.car-card:hover .car-price-badge .price-value {
    color: var(--white); 
}

.car-card:hover .car-price-badge .price-label {
    color: #e0e0e0;
}

.car-mini-specs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
    margin-top: 4px;
    margin-bottom: 16px;
}

.spec-divider {
    color: var(--border-light);
} 

/* --- СТИЛИЗАЦИЯ СЕКЦИИ ИНФО (ИСПРАВЛЕН ЦВЕТ ЗАГОЛОВКА) --- */
.info-card-plate { 
    background: #26292e; 
    border-radius: 16px; 
    padding: 35px; 
    margin: 40px auto; 
    border: 1px solid rgba(255, 255, 255, 0.08); 
    max-width: 1100px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.info-card-plate h2.info-title,
.info-card-plate .info-main-heading { 
    color: #ffffff !important; /* На скриншоте сливался с фоном, теперь чисто белый */
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-scroll-container { 
    max-height: 400px; 
    overflow-y: auto; 
    padding-right: 15px; 
    color: #ffffff; 
}

/* Кастомизация скроллбара для плашки инфо */
.info-scroll-container::-webkit-scrollbar {
    width: 6px;
}
.info-scroll-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}
.info-scroll-container::-webkit-scrollbar-thumb {
    background: var(--accent-purple);
    border-radius: 10px;
}

.info-text-p { 
    font-size: 15px; 
    line-height: 1.7; 
    color: #e0e0e0; 
    margin-bottom: 25px;
}

.info-sub-title { 
    color: #ffffff !important; 
    font-size: 18px;
    font-weight: 700;
    margin: 25px 0 15px 0; 
    text-transform: uppercase; 
    letter-spacing: 0.5px;
}

/* --- ОФОРМЛЕНИЕ СТРАНИЦЫ УСЛОВИЙ АРЕНДЫ (МЯГКИЙ ПРЕМИУМ) --- */
.terms-page-container {
    max-width: 1100px;
    margin: 120px auto 60px auto;
    padding: 0 20px;
    font-family: 'Inter', sans-serif;
    color: #2d3748;
}

.terms-page-container h1, 
.terms-page-container h2 {
    color: #1a1a1a;
    font-weight: 800;
    text-transform: uppercase;
    margin-top: 40px;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.terms-page-container h1 {
    font-size: 32px;
    border-bottom: 2px solid var(--brand-purple);
    padding-bottom: 15px;
    margin-top: 0;
}

.terms-page-container h2 {
    font-size: 20px;
    margin-top: 45px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.terms-page-container p {
    font-size: 15px;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 16px;
}

/* Стилизация списков обязанностей и терминов */
.terms-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 25px;
}

.terms-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.6;
    color: #4a5568;
}

.terms-list li::before {
    content: "•";
    position: absolute;
    left: 5px;
    color: var(--accent-purple);
    font-weight: bold;
    font-size: 18px;
    top: -2px;
}

/* Контейнер для документов (паспорт/права) */
.documents-preview-row {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin: 25px 0;
}

.doc-img-wrapper {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 10px;
    box-shadow: var(--soft-shadow);
    transition: transform 0.3s ease;
    max-width: 320px;
    flex: 1 1 280px;
}

.doc-img-wrapper:hover {
    transform: scale(1.02);
}

.doc-img-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

/* Внешняя обертка секции условий */
.terms-section-wrapper {
    padding: 60px 0;
    background-color: #f9f9f9; 
    font-family: 'Inter', sans-serif;
}

/* Сама тёмная плашка условий */
.terms-card-plate {
    background: linear-gradient(135deg, #1e2125 0%, #26292e 100%); 
    border-radius: 16px; 
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); 
    max-width: 1100px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.05); 
}

.terms-plate-title {
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 35px;
    letter-spacing: 0.5px;
}

.terms-plate-grid {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 25px;
}

.plate-item {
    flex: 1;
    min-width: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.plate-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 15px;
    color: #ffffff; 
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.plate-item:hover .plate-icon {
    transform: translateY(-3px); 
}

.plate-icon svg {
    width: 40px;
    height: 40px;
}

.plate-text {
    color: #e0e0e0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .terms-card-plate {
        padding: 30px 20px;
        margin: 0 15px;
    }
    .terms-plate-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px 15px;
    }
}

/* Блок Условий Аренды плитки */
.rent-conditions-section {
    background-color: #1f2226; 
    padding: 60px 0;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    text-align: center;
}

.conditions-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 40px;
    text-transform: none;
    letter-spacing: 0.5px;
}

.conditions-grid {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
    gap: 30px;
}

.condition-item {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.condition-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff; 
}

.condition-icon svg {
    width: 42px;
    height: 42px;
    stroke-width: 1.5; 
}

.condition-text {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    color: #e0e0e0;
    margin: 0;
}

@media (max-width: 768px) {
    .conditions-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px 20px;
    }
}			

/* Стили для отзывов в виде сетки */
.reviews-wrapper { display: flex; gap: 20px; flex-wrap: wrap; }
.review-item { flex: 1; min-width: 300px; background: #fff; padding: 20px; border-radius: 10px; }	

/* Стили для футера сайта */
.site-footer {
    background-color: #000000;
    color: #ffffff;
    padding: 50px 0 20px;
    margin-top: 50px;
    font-family: sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
}

.footer-column h3 {
    margin-bottom: 20px;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-column p {
    color: #cccccc;
    font-size: 14px;
    line-height: 1.6;
    margin: 8px 0;
}

/* ==========================================================================
   СТИЛИ ДЛЯ ОБНОВЛЕННОГО ПОДВАЛА (MAIN FOOTER)
   ========================================================================== */
.main-footer {
    background-color: #0b0b0d; 
    color: #ffffff;
    padding: 60px 0 30px 0;
    margin-top: 70px;
    font-family: 'Inter', sans-serif; 
    border-top: 1px solid #1a1a1f;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col {
    display: block;
}

.footer-col h3 {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 22px 0;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #ffffff;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 35px;
    height: 2px;
    background-color: #ffffff; 
    opacity: 0.8;
}

.footer-logo { margin-bottom: 18px; }
.footer-logo img { max-height: 40px; width: auto; display: block; }
.footer-logo-text { font-size: 20px; font-weight: 700; letter-spacing: 1px; }
.footer-company-desc { color: #9a9a9f; font-size: 14px; line-height: 1.6; margin: 0 0 20px 0; }

/* Быстрые ссылки подвала */
.footer-links-list { list-style: none; padding: 0; margin: 0; }
.footer-links-list li { margin-bottom: 12px; }
.footer-links-list a { color: #9a9a9f; text-decoration: none; font-size: 14px; transition: color 0.25s ease, padding-left 0.25s ease; display: inline-block; }
.footer-links-list a:hover { color: #ffffff; padding-left: 5px; }

/* Контакты подвала */
.footer-contact-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; color: #9a9a9f; font-size: 14px; line-height: 1.5; }
.footer-contact-item svg { width: 18px; height: 18px; color: #ffffff; flex-shrink: 0; margin-top: 2px; }
.footer-contact-item a { color: #9a9a9f; text-decoration: none; transition: color 0.2s ease; }
.footer-contact-item a:hover { color: #ffffff; }

/* Социальные сети подвала */
.footer-socials { display: flex; gap: 12px; }
.footer-social-link { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; background-color: #16161a; border-radius: 50%; color: #9a9a9f; transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease; text-decoration: none; }
.footer-social-link svg { width: 18px; height: 18px; }
.footer-social-link:hover { background-color: #ffffff; color: #0b0b0d; transform: translateY(-3px); }

/* Нижняя панель подвала */
.footer-bottom { border-top: 1px solid #1a1a1f; padding-top: 25px; text-align: center; margin-top: 40px; color: #777; font-size: 12px; }
.footer-rights { color: #646469; font-size: 13px; margin: 0; }

@media (max-width: 500px) {
    .footer-grid { grid-template-columns: 1fr; gap: 35px; }
    .main-footer { padding: 40px 0 20px 0; text-align: center; }
    .footer-col h3::after { left: 50%; transform: translateX(-50%); }
    .footer-contact-item { justify-content: center; }
    .footer-socials { justify-content: center; }
}

/* ==========================================================
   УЛЬТРА-ПРЕМИУМ ТЕМНАЯ ПАНЕЛЬ (ПОИСК / БРОНИРОВАНИЕ)
   ========================================================== */
.search-panel, .booking-panel, .search-container { 
    background: #16161a !important; 
    border-radius: 20px !important; 
    padding: 35px 40px !important; 
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35) !important; 
    border: 1px solid rgba(255, 255, 255, 0.05) !important; 
    max-width: 1140px !important; 
    margin: -50px auto 40px auto !important; 
    position: relative !important; 
    z-index: 99 !important; 
}

.search-panel h2, .booking-panel h2 { 
    font-size: 13px !important; 
    text-transform: uppercase !important; 
    letter-spacing: 2px !important; 
    color: #9a9a9f !important; 
    margin-bottom: 25px !important; 
    font-weight: 700 !important; 
    text-align: left !important; 
}

.search-form { 
    display: grid !important; 
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important; 
    gap: 24px !important; 
    align-items: end !important; 
}

.form-group { 
    display: flex !important; 
    flex-direction: column !important; 
}

.form-group label { 
    font-size: 11px !important; 
    font-weight: 700 !important; 
    color: #8e8aaf !important; 
    text-transform: uppercase !important; 
    letter-spacing: 1px !important; 
    margin-bottom: 10px !important; 
    display: block !important; 
}

.form-group input, .form-group select { 
    background: #232329 !important; 
    border: 1px solid rgba(255, 255, 255, 0.08) !important; 
    border-radius: 12px !important; 
    height: 56px !important; 
    padding: 0 18px !important; 
    font-size: 15px !important; 
    font-weight: 600 !important; 
    color: #ffffff !important; 
    transition: all 0.25s ease !important; 
    cursor: pointer !important; 
    outline: none !important; 
}

.form-group input::-webkit-calendar-picker-indicator { 
    filter: invert(1) !important; 
    opacity: 0.7 !important; 
}

.form-group input:focus, .form-group select:focus { 
    border-color: var(--accent-purple, #6a6296) !important; 
    background: #2a2a32 !important; 
    box-shadow: 0 0 0 4px rgba(106, 98, 150, 0.2) !important; 
}

/* Кнопка "ПОИСК" */
.search-panel button, .booking-panel button, .search-submit-btn {
    background: #ffffff !important;
    color: #000000 !important;
    border: none !important;
    border-radius: 12px !important;
    height: 56px !important;
    padding: 0 24px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
}

.search-panel button:hover, .booking-panel button:hover, .search-submit-btn:hover {
    background: #8b5cf6 !important; 
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3) !important;
}
/* Делаем заголовок "Info" чисто белым */
.info-plate-title {
    color: #ffffff !important; 
    margin-bottom: 25px;
}
/* --- ФИЛЬТР АВТО (СТРАНИЦА КАТАЛОГА) --- */
.catalog-filter-container {
    background: #1f2326; /* Тёмный премиальный фон под стиль сайта */
    padding: 20px 30px;
    border-radius: 12px;
    margin: 30px auto;
    max-width: 1200px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.catalog-filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Стильные селекторы без дефолтного браузерного дизайна */
.filter-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #2a2a2a;
    /* Красивая кастомная стрелочка */
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23ffffff' viewBox='0 0 16 16'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 15px center;
    border: 1px solid #444;
    border-radius: 6px;
    padding: 10px 35px 10px 15px;
    font-size: 14px;
    color: #ffffff;
    font-family: 'Manrope', sans-serif;
    cursor: pointer;
    min-width: 160px;
    transition: all 0.2s ease;
}

.filter-group select:focus {
    border-color: #8b5cf6; /* Твой фиолетовый акцент при клике */
    outline: none;
}   
/* --- ПРЕМИАЛЬНЫЙ ФИЛЬТР КАТАЛОГА (КОМПАКТНЫЙ) --- */
.catalog-filter-container {
    background: #1f2326; /* Тёмный премиальный фон */
    padding: 15px 30px;
    border-radius: 12px;
    margin: 20px auto;
    max-width: 1200px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.catalog-filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    align-items: center;
    justify-content: center;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.filter-group label {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.filter-group select {
    appearance: none;
    background-color: #2a2a2a;
    /* Фирменный фиолетовый акцент в стрелочке */
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%238b5cf6' viewBox='0 0 16 16'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    border: 1px solid #3d375d; /* Фиолетовая обводка */
    border-radius: 8px;
    padding: 8px 35px 8px 12px;
    font-size: 13px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-group select:focus {
    border-color: #8b5cf6; /* Фиолетовое свечение при выборе */
    outline: none;
    box-shadow: 0 0 8px rgba(139, 92, 246, 0.3);
}

/* Адаптив для мобилок */
@media (max-width: 768px) {
    .catalog-filter-container { padding: 20px; }
    .catalog-filter-form { flex-direction: column; gap: 15px; }
    .filter-group { width: 100%; justify-content: space-between; }
    .filter-group select { width: 60%; }
}
/* --- СТИЛЬНЫЙ ГОРИЗОНТАЛЬНЫЙ ФИЛЬТР (КАК НА ПРИМЕРЕ) --- */
.luxury-filter-panel {
    background: #ffffff;
    padding: 20px 30px;
    border-radius: 12px;
    margin: 0 auto 40px auto;
    max-width: 1200px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0; /* Тонкая светлая линия вокруг фильтра */
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-end; /* Выравнивает селекторы и кнопку по нижнему краю */
}

/* Элемент фильтра (Лейбл + Выпадающий список) */
.filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 200px; /* Чтобы селекторы гармонично растягивались */
}

/* Аккуратный серый текст над селектором */
.filter-group label {
    font-size: 13px;
    font-weight: 600;
    color: #64748b; /* Мягкий стальной цвет текста */
    font-family: 'Manrope', sans-serif;
}

/* Контейнер для кастомной стрелочки */
.select-wrapper {
    position: relative;
    width: 100%;
}

/* Стилизация выпадающего списка */
.filter-group select {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #ffffff;
    border: 1px solid #cbd5e1; /* Легкая серая граница */
    border-radius: 8px;
    padding: 12px 40px 12px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #1e293b;
    font-family: 'Manrope', sans-serif;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

/* Кастомная аккуратная стрелочка вниз */
.select-wrapper::after {
    content: "";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' fill='%2364748b' viewBox='0 0 16 16'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>");
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
}

/* Состояния Hover и Focus для инпутов */
.filter-group select:hover {
    border-color: var(--accent-purple);
}

.filter-group select:focus {
    outline: none;
    border-color: var(--brand-purple);
    box-shadow: 0 0 0 3px rgba(61, 55, 93, 0.08);
}

/* Блок с кнопкой */
.filter-actions {
    display: flex;
    align-items: flex-end;
    min-width: 140px;
}

/* Стильная кнопка «Показать» */
.btn-filter-apply {
    width: 100%;
    background-color: var(--brand-purple); /* Твой основной фиолетовый цвет */
    color: #ffffff;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    height: 45px; /* Идеально совпадает по высоте с селекторами */
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-filter-apply:hover {
    background-color: var(--accent-purple); /* Высветление при наведении */
    transform: translateY(-1px);
}

.btn-filter-apply:active {
    transform: translateY(0);
}

/* --- АДАПТИВНОСТЬ ПОД МОБИЛЬНЫЕ (ПЛАНШЕТЫ И ТЕЛЕФОНЫ) --- */
@media (max-width: 992px) {
    .luxury-filter-panel {
        padding: 20px;
        gap: 16px;
    }
    .filter-group {
        min-width: calc(50% - 8px); /* По два элемента в ряд на планшетах */
    }
    .filter-actions {
        min-width: calc(50% - 8px);
    }
}

@media (max-width: 576px) {
    .filter-group {
        min-width: 100%; /* Каждый элемент на всю ширину экрана смартфона */
    }
    .filter-actions {
        min-width: 100%;
    }
}
/* --- ОБНОВЛЕННЫЙ ПРЕМИУМ-ФИЛЬТР В ЦВЕТ ШТОРКИ С ХОВЕРАМИ --- */
.luxury-filter-panel {
    background: var(--header-bg, #1a1a1a); /* Точный цвет темной шторки/шапки */
    padding: 20px 30px;
    border-radius: 12px;
    margin: 0 auto 40px auto;
    max-width: 1200px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.08); /* Тонкая аккуратная рамка для темного фона */
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-end; /* Выравнивание по нижней линии инпутов и кнопки */
}

/* Элемент фильтра (Лейбл + Выпадающий список) */
.filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 200px;
}

/* Контрастный светлый текст над селектором */
.filter-group label {
    font-size: 13px;
    font-weight: 600;
    color: #94a3b8; /* Мягкий серый цвет, чтобы не резал глаза */
    font-family: 'Manrope', sans-serif;
    letter-spacing: 0.3px;
}

/* Контейнер для кастомной стрелочки */
.select-wrapper {
    position: relative;
    width: 100%;
}

/* Стилизация выпадающего списка под темную тему */
.filter-group select {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #242424; /* Мягкий темный фон самого поля, чуть светлее плашки */
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 12px 40px 12px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #ffffff; /* Белый текст выбора */
    font-family: 'Manrope', sans-serif;
    cursor: pointer;
    transition: all 0.25s ease-in-out;
}

/* Кастомная стрелочка в цвет фирменного акцента */
.select-wrapper::after {
    content: "";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    /* Стрелочка окрашена в фирменный акцентный фиолетовый (%236a6296) */
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' fill='%236a6296' viewBox='0 0 16 16'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>");
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
}

/* ФИРМЕННЫЕ ЦВЕТА ПРИ НАВЕДЕНИИ КУРСОРA (HOVER / FOCUS) */
.filter-group select:hover {
    border-color: var(--accent-purple); /* Светло-фиолетовая рамка при наведении */
    background-color: #2a2a2a; /* Легкое высветление поля */
}

.filter-group select:focus {
    outline: none;
    border-color: var(--brand-purple); /* Глубокий фиолетовый при фокусе */
    box-shadow: 0 0 0 3px rgba(106, 98, 150, 0.2);
}

/* Блок с кнопкой */
.filter-actions {
    display: flex;
    align-items: flex-end;
    min-width: 140px;
}

/* Кнопка «Показать» с фирменной палитрой */
.btn-filter-apply {
    width: 100%;
    background-color: var(--brand-purple); /* Твой основной фиолетовый */
    color: #ffffff;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-filter-apply:hover {
    background-color: var(--accent-purple); /* Переход в светло-фиолетовый при наведении */
    transform: translateY(-1px);
}

.btn-filter-apply:active {
    transform: translateY(0);
}

/* --- АДАПТИВНОСТЬ ПОД МОБИЛЬНЫЕ УСТРОЙСТВА --- */
@media (max-width: 992px) {
    .luxury-filter-panel {
        padding: 20px;
        gap: 16px;
    }
    .filter-group {
        min-width: calc(50% - 8px);
    }
    .filter-actions {
        min-width: calc(50% - 8px);
    }
}

@media (max-width: 576px) {
    .filter-group {
        min-width: 100%;
    }
    .filter-actions {
        min-width: 100%;
    }
}
/* ==========================================================================
   ОФОРМЛЕНИЕ ПРАВИЛ АРЕНДЫ (СТРОГИЙ КОРПОРАТИВНЫЙ ТЕКСТ БЕЗ ПЛАШЕК)
   ========================================================================== */

/* Главный контейнер страницы */
.terms-document-page {
    background-color: #ffffff; /* Чистый белый фон как на скриншоте */
    padding: 140px 0 80px 0;   /* Отступ сверху с учетом фиксированной шапки */
    font-family: 'Manrope', sans-serif;
}

.document-container {
    max-width: 960px;          /* Оптимальная ширина для удобного чтения текста */
    margin: 0 auto;
    padding: 0 24px;
}

/* Главный заголовок */
.document-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--brand-purple, #3d375d); /* Фирменный глубокий фиолетовый */
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

/* Тонкий аккуратный разделитель */
.document-divider {
    border: none;
    height: 1px;
    background-color: var(--border-light, #e0e6ed);
    margin-bottom: 35px;
}

/* Сетка контента */
.document-content {
    display: flex;
    flex-direction: column;
    gap: 30px; /* Равномерные отступы между смысловыми абзацами */
}

.doc-section {
    color: var(--text-gray, #333333);
    font-size: 15px;
    line-height: 1.7;
}

/* Выделение вопросов со звездочкой */
.doc-asterisk {
    font-size: 15px;
    font-weight: 700;
    color: var(--brand-purple, #3d375d);
    margin-bottom: 8px;
}

/* Подсветка самой звездочки акцентным цветом фирмы */
.doc-asterisk b::before {
    content: "";
    color: var(--accent-purple, #6a6296);
}

/* Раздел с нумерованным списком (Римские цифры) */
.doc-section-heading {
    font-size: 18px;
    font-weight: 700;
    color: var(--brand-purple, #3d375d);
    margin: 15px 0 10px 0;
    letter-spacing: 0.3px;
}

.list-intro {
    font-size: 15px;
    margin-bottom: 12px;
}

/* Красивый структурированный список */
.legal-list {
    padding-left: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.legal-list li {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--text-gray, #333333);
    padding-left: 5px;
}

/* Кастомизация цифр списка под акцентный цвет фирмы */
.legal-list li::marker {
    color: var(--accent-purple, #6a6296);
    font-weight: 700;
}

/* --- СТИЛИЗАЦИЯ БЛОКА КАРТИНОК ИЗ ПРИМЕРА --- */
.document-samples-flex {
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    gap: 20px !important;
    margin: 20px 0 10px 0 !important;
    flex-wrap: wrap !important;
}

.sample-img-box {
    width: 290px !important; /* Чуть увеличили для лучшей читаемости данных */
    flex-shrink: 0 !important;
    transition: transform 0.2s ease !important;
}

.sample-img-box:hover {
    transform: translateY(-2px) !important; /* Еле заметный интерактив при наведении */
}

.sample-img-box img {
    width: 100% !important;
    height: auto !important;
    border-radius: 8px !important; /* Мягкое скругление краев документа */
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08) !important; /* Очень легкая, ненавязчивая тень */
    border: 1px solid rgba(0, 0, 0, 0.06) !important; /* Тонкая серая грань, чтобы документы не сливались с белым фоном */
}

/* --- АДАПТИВНОСТЬ ПОД МОБИЛЬНЫЕ УСТРОЙСТВА --- */
@media (max-width: 680px) {
    .terms-document-page {
        padding: 110px 0 50px 0;
    }
    .document-title {
        font-size: 24px;
    }
    .document-samples-flex {
        flex-direction: column !important;
        gap: 15px !important;
    }
    .sample-img-box {
        width: 100% !important;
        max-width: 290px !important;
    }
}
/* ==========================================================================
   ОБНОВЛЕННАЯ СТРАНИЦА "О НАС" (СВЕТЛЫЙ ФОН + ТЕМНЫЕ ПЛАШКИ + SVG ИКОНКИ)
   ========================================================================== */

/* Главный фон теперь белый */
body.about-page-clean {
    background-color: #ffffff !important;
    color: #2d2d32 !important;
}

/* Светлый Hero-блок с плавным градиентом сверху вниз */
.about-hero-light {
    padding-top: 180px;
    padding-bottom: 50px;
    /* Линейный градиент (to bottom = сверху вниз) */
    /* Я добавил фиолетовому легкую прозрачность (0.2), чтобы черный текст читался идеально */
    background: linear-gradient(to bottom, rgba(106, 98, 150, 0.2) 0%, #ffffff 100%);
}

/* Заголовки на белом фоне */
.about-main-title {
    font-size: 42px;
    font-weight: 800;
    color: #1a1a1e;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-main-subtitle {
    font-size: 18px;
    color: #555562;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.section-title-dark {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1e;
    margin-bottom: 35px;
    text-align: left;
}

.about-advantages .section-title-dark {
    text-align: center;
}

.who-text-box p {
    font-size: 16px;
    line-height: 1.8;
    color: #4a4a54;
    margin-bottom: 20px;
}

/* --- СТИЛИЗАЦИЯ ДИЗАЙНЕРСКИХ ИКОНОК (SVG) --- */
.custom-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(106, 98, 150, 0.15); /* Мягкая фиолетовая подложка */
    border-radius: 10px;
    color: #8c82c4; /* Цвет линий иконки */
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.custom-icon svg {
    width: 26px;
    height: 26px;
}

/* Крупные иконки в плитке преимуществ */
.large-icon {
    width: 65px;
    height: 65px;
    border-radius: 14px;
    margin-bottom: 25px;
    background: rgba(106, 98, 150, 0.1);
    color: #9d93db;
}

/* Эффект свечения при наведении на карточки */
.premium-stat-card:hover .custom-icon,
.adv-card:hover .large-icon {
    background: var(--accent-purple, #6a6296);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(106, 98, 150, 0.5);
}


/* --- ОСТАВЛЯЕМ ПЛАШКИ ТЕМНЫМИ КАК ЕСТЬ --- */
.about-who-section {
    padding: 40px 0 60px 0;
}

.about-who-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.who-stats-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Статистика (темная) */
.premium-stat-card {
    background: #16161a;
    border: 1px solid rgba(0, 0, 0, 0.03);
    border-radius: 12px;
    padding: 22px 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.premium-stat-card:hover {
    transform: translateX(-8px);
    border-color: rgba(106, 98, 150, 0.3);
}

.premium-stat-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    line-height: 1.4;
}

/* Преимущества плитка (темная) */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 20px;
}

.adv-card {
    background: linear-gradient(145deg, #1f2326 0%, #151518 100%);
    border: 1px solid rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    padding: 40px 35px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

.adv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
    border-color: rgba(106, 98, 150, 0.3);
}

.adv-card h3 {
    font-size: 21px;
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: 700;
}

.adv-card p {
    font-size: 15px;
    color: #bcbcce;
    line-height: 1.6;
}

/* БАННЕР ПРИЗЫВА К ДЕЙСТВИЮ */
.about-cta-section {
    padding: 40px 0 100px 0;
}

.cta-dark-banner {
    background: linear-gradient(135deg, var(--brand-purple, #3d375d) 0%, #16161f 100%);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(61, 55, 93, 0.15);
}

.cta-dark-banner h2 {
    color: #ffffff;
    font-size: 32px;
    margin-bottom: 15px;
    font-weight: 700;
}

.cta-dark-banner p {
    color: #d0d0dc;
    font-size: 16px;
    margin-bottom: 35px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-primary {
    background: #ffffff;
    color: #3d375d;
    padding: 15px 35px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #e5e5ed;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    padding: 13px 35px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* АДАПТИВНОСТЬ */
@media (max-width: 992px) {
    .about-who-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .section-title-dark { text-align: center; }
    .premium-stat-card:hover { transform: translateY(-3px); }
    .about-main-title { font-size: 34px; }
}

@media (max-width: 768px) {
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    .cta-buttons {
        flex-direction: column;
    }
}
/* ==========================================================================
   УНИВЕРСАЛЬНАЯ ШАПКА (ШТОРКА) ДЛЯ ИНФОРМАЦИОННЫХ СТРАНИЦ
   ========================================================================== */

/* Общая обертка секции страницы */
.info-page-section {
    padding: 60px 0 100px 0;
    margin-top: 80px; /* Отступ под высоту твоей фиксированной шапки */
}

/* Унифицированный заголовок страницы */
.info-page-section .section-title {
    text-align: center;
    margin-bottom: 10px !important;
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Унифицированный подзаголовок страницы */
.info-page-subtitle {
    text-align: center; 
    color: #666666; 
    margin-bottom: 40px; 
    font-size: 16px;
    line-height: 1.5;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
/* 1. Выравниваем контейнер логотипа строго по центру шапки */
.logo {
    display: flex;
    align-items: center;
}

/* 2. Настраиваем ссылку-обертку */
.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

/* 3. Делаем саму картинку аккуратной */
.logo img {
    height: 42px;         /* Оптимальная высота, чтобы шторка не раздувалась */
    width: auto;          /* Ширина подстроится автоматически без искажений */
    object-fit: contain;  /* Защищает логотип от деформации */
    
    /* Если у картинки есть свой темный квадратный фон, */
    /* эти свойства мягко скруглят углы, убирая эффект "наклеенного патча" */
    border-radius: 6px;   
    
    /* Добавляем плавность для любых изменений (анимации) */
    transition: all 0.25s ease-in-out; 
}

/* 4. Добавляем интерактивность при наведении курсора */
.logo img:hover {
    transform: scale(1.03);      /* Логотип едва заметно и приятно увеличивается */
    filter: brightness(1.15);    /* Слегка подсвечивается, показывая, что это кнопка */
    cursor: pointer;
}
/* --- ИСПРАВЛЕННЫЙ БАННЕР FLEET --- */

.hero-section {
    position: relative;
    width: 100%;
}

.hero-image-overlay {
    position: relative;
    width: 100%;
    height: 500px; /* Фиксированная высота баннера */
    background-color: #1e112a; /* Темно-фиолетовый фон по бокам */
    display: flex;
    align-items: center;     /* Центрирование текста по вертикали */
    justify-content: center;   /* Центрирование текста по горизонтали */
    overflow: hidden;
}

/* Затемнение и фиолетовый градиент поверх картинки */
.hero-image-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #1e112a 0%, rgba(30, 17, 42, 0.2) 50%, #1e112a 100%);
    z-index: 1;
}

/* Сама картинка машины */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Картинка заполняет весь блок не деформируясь */
    object-position: center;
    z-index: 0;
}

/* Контейнер для текста */
.hero-text-container {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
}

/* Стиль огромной надписи по центру */
.fleet-title {
    font-family: 'Inter', sans-serif;
    font-size: 5.5rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 14px;
    margin: 0;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

/* Коррекция для мобильных экранов */
@media (max-width: 768px) {
    .hero-image-overlay {
        height: 350px;
    }
    .fleet-title {
        font-size: 3rem;
        letter-spacing: 6px;
    }
}
/* --- РАЗМЕЩЕНИЕ ЛОГОТИПА ПО ЦЕНТРУ БАННЕРА --- */

.hero-section {
    position: relative;
    width: 100%;
}

.hero-image-overlay {
    position: relative;
    width: 100%;
    height: 500px; /* Высота фиолетового баннера */
    background-color: #1a0f26; /* Фиолетовый цвет растягивается по бокам */
    display: flex;
    align-items: center;    /* Центрирует содержимое по вертикали */
    justify-content: center;  /* Центрирует содержимое по горизонтали */
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; /* Картинка машины помещается полностью без обрезки */
    object-position: center;
    z-index: 1;
}

/* Контейнер для логотипа, который ставит его поверх машины */
.hero-logo-container {
    position: relative;
    z-index: 2; /* Поднимает логотип над фоновой картинкой */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

/* Настройки размера самого логотипа внутри баннера */
.banner-centered-logo {
    max-width: 280px;  /* Максимальная ширина логотипа, чтобы он не был огромным */
    height: auto;      /* Сохраняет пропорции, чтобы не искажать логотип */
    display: block;
    filter: drop-shadow(0px 4px 15px rgba(0, 0, 0, 0.6)); /* Красивая тень, чтобы логотип лучше читался на фоне машины */
}

/* Скрываем старый текстовый блок */
.hero-text {
    display: none;
}

/* Адаптив под мобильные телефоны */
@media (max-width: 768px) {
    .hero-image-overlay {
        height: 300px; 
    }
    .banner-centered-logo {
        max-width: 180px; /* На телефонах логотип станет чуть меньше, чтобы красиво вписаться */
    }
}
/* Адаптация карточки бронирования для телефонов (экраны до 768px) */
@media (max-width: 768px) {
    /* Делаем саму карточку более компактной по бокам */
    .search-form-section {
        width: 95% !important;
        margin: -20px auto 30px auto !important; /* Уменьшаем наезд на баннер, если он есть */
        padding: 20px 15px !important;            /* Уменьшаем внутренние отступы карточки */
        box-sizing: border-box;
    }

    /* Делаем заголовок карточки аккуратнее */
    .search-form-section h2 {
        font-size: 16px !important;
        text-align: center;
        margin-bottom: 15px !important;
    }

    /* Разрушаем горизонтальные ряды — делаем их вертикальными */
    .form-row {
        flex-direction: column !important;
        gap: 12px !important;  /* Расстояние между полями внутри одного ряда */
        margin-bottom: 12px !important; /* Расстояние между рядами */
    }

    /* Каждое поле ввода растягиваем на 100% ширины телефона */
    .form-group {
        width: 100% !important;
    }

    /* Слегка уменьшаем размер подписей над полями */
    .form-group label {
        font-size: 12px !important;
        margin-bottom: 4px;
    }

    /* Настраиваем поля ввода, чтобы по ним было удобно кликать пальцем */
    .form-group select, 
    .form-group input {
        width: 100% !important;
        height: 48px !important; /* Комфортная высота для тача */
        font-size: 14px !important;
        box-sizing: border-box;
    }

    /* Кнопка "Поиск" во всю ширину */
    .search-submit-btn {
        width: 100% !important;
        height: 50px !important;
        font-size: 16px !important;
        margin-top: 5px !important;
    }
}
/* ==========================================================================
   АДАПТАЦИЯ СТРАНИЦЫ АВТОМОБИЛЯ ДЛЯ МОБИЛЬНЫХ УСТРОЙСТВ (ЭКРАНЫ ДО 768px)
   ========================================================================== */
@media (max-width: 768px) {
    /* 1. Уменьшаем гигантский верхний отступ под мобильную шапку, чтобы заголовок не уезжал вниз */
    main.container {
        padding-top: 110px !important;
        padding-bottom: 30px !important;
    }

    /* 2. Делаем название автомобиля аккуратнее на экранах телефонов */
    #car-title {
        font-size: 24px !important;
        margin-bottom: 15px !important;
        text-align: center;
    }

    /* 3. Превращаем главный инлайновый Grid в вертикальный Flexbox */
    main.container > div[style*="display: grid"] {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
    }

    /* 4. Магия display: contents — освобождаем фото и характеристики из общего родительского div,
       чтобы отсортировать их вперемешку с блоком тарифов */
    main.container > div[style*="display: grid"] > div:first-child {
        display: contents !important;
    }

    /* ==========================================
       СТРОГАЯ СОРТИРОВКА КОНТЕНТА (ORDER)
       ========================================== */

    /* [МЕСТО 1] Фото-слайдер (Главное фото автомобиля и миниатюры под ним) */
    main.container > div[style*="display: grid"] > div:first-child > div:first-child {
        order: 1 !important;
        margin-bottom: 10px !important;
    }

    /* Ограничиваем высоту фото на телефонах, чтобы оно не занимало весь экран и пропорции были идеальными */
    .main-slider-img {
        height: 240px !important;
    }

    /* [МЕСТО 2] Боковая карточка (aside) с ценой, тарифами и кнопкой WhatsApp */
    main.container > div[style*="display: grid"] > aside {
        order: 2 !important;
        width: 100% !important;
        margin-bottom: 15px !important;
    }

    /* Отключаем фиксированное прилипание (sticky) карточки, чтобы она вела себя как обычный блок */
    .sticky-booking-card {
        position: static !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 20px 15px !important;
    }

    /* Делаем строчки тарифов в таблице чуть крупнее и удобнее для пальцев */
    .sticky-booking-card table th, 
    .sticky-booking-card table td {
        padding: 10px 6px !important;
    }

    /* [МЕСТО 3] Заголовок «Характеристики автомобиля» */
    main.container > div[style*="display: grid"] > div:first-child > h3[data-key="car_specs_title"] {
        order: 3 !important;
        margin-top: 15px !important;
        margin-bottom: 15px !important;
        font-size: 18px !important;
    }

    /* [МЕСТО 4] Сетка самих технических характеристик автомобиля */
    main.container > div[style*="display: grid"] > div:first-child > .detail-specs-grid {
        order: 4 !important;
        width: 100% !important;
        display: grid !important;
        /* Красиво распределяем характеристики в 2 колонки, а на ультра-мелких экранах — в 1 колонку */
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)) !important;
        gap: 10px !important;
    }
}
/* ==========================================================================
   УЛЬТРА-МИКРО МОБИЛЬНАЯ ШАПКА (ЭКРАНЫ ДО 768px) - МАКСИМАЛЬНАЯ ЭКОНОМИЯ МЕСТА
   ========================================================================== */
@media (max-width: 768px) {
    /* Сжимаем саму подложку шапки до минимума */
    .main-header {
        padding: 0 !important;
        height: auto !important;
        position: fixed !important;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 9999;
    }

    .header-container {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 4px 10px !important; /* Крошечные отступы внутри */
        gap: 2px !important;
    }

    /* Логотип слева (микро-размер) */
    .logo {
        order: 1 !important;
        margin: 0 !important;
    }
    .logo img {
        max-width: 95px !important; /* Делаем логотип еще меньше */
        height: auto !important;
    }

    /* Телефон и языки справа (всё очень плотно) */
    .header-right {
        order: 2 !important;
        width: auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-end !important;
        gap: 1px !important;
    }

    .phone-link {
        font-size: 11px !important; /* Ультра-мелкий, но читаемый шрифт */
        margin: 0 !important;
        font-weight: 600;
    }

    .lang-switcher {
        gap: 2px !important;
    }
    .lang-switcher button {
        padding: 1px 3px !important;
        font-size: 9px !important;
    }

    /* МАГИЯ: Меню в одну строчку со свайпом (горизонтальный скролл) */
    .nav-menu {
        order: 3 !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important; /* ЗАПРЕЩАЕМ перенос строк! */
        justify-content: flex-start !important;
        overflow-x: auto !important;  /* Включаем прокрутку пальцем по горизонтали */
        white-space: nowrap !important;
        gap: 14px !important;         /* Расстояние между пунктами */
        padding: 5px 5px 3px 5px !important;
        margin-top: 2px !important;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        
        /* Прячем полосу прокрутки в разных браузерах, чтобы было красиво */
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
    }

    /* Скрываем скроллбар в Chrome и Safari */
    .nav-menu::-webkit-scrollbar {
        display: none !important;
    }

    .nav-menu a {
        font-size: 11px !important;
        display: inline-block !important;
        padding: 2px 0 !important;
        margin: 0 !important;
        flex-shrink: 0 !important; /* Не даем ссылкам сжиматься */
    }

    /* ==========================================================================
       УМЕНЬШАЕМ ОТСТУПЫ КОНТЕНТА, ЧТОБЫ УБРАТЬ ПУСТУЮ ДЫРУ ПОД ШАПКОЙ
       ========================================================================== */
    body, main, .main-content {
        padding-top: 70px !important; /* Поднимаем весь контент выше */
    }
    
    main.container {
        padding-top: 75px !important; /* Для страницы машины */
    }
}
.phone-link, .phone-link *, a[href^="tel"] {
    color: #ffffff !important;
    text-decoration: none !important;
}