/* Основные стили для Глав Прокат */

:root {
    --primary-color: #dc3545;
    --secondary-color: #ff6b35;
    --success-color: #198754;
    --danger-color: #dc3545;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --gradient-primary: linear-gradient(135deg, #dc3545 0%, #bb2d3b 100%);
    --gradient-hero: linear-gradient(135deg, rgba(220, 53, 69, 0.1) 0%, rgba(255, 107, 53, 0.1) 100%);
}

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

body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Шапка сайта */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header .row {
    margin: 0;
}

@media (max-width: 991.98px) {
    .header .row {
        justify-content: space-between !important;
    }
    
    .header .col {
        display: none;
    }
}

.header .logo {
    display: flex;
    align-items: center;
}

.header .logo-img {
    max-height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.header .logo-img:hover {
    transform: scale(1.05);
}

.header .logo a {
    text-decoration: none;
    display: inline-block;
}

.header .navbar-nav {
    flex-direction: row;
}

.header .navbar-nav .nav-link {
    color: #333;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    transition: color 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

#navbarNavMobile {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-top: 1rem;
    padding: 0.5rem 0;
}

.header .navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

.header .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.header .navbar-nav .nav-link:hover::after {
    width: 80%;
}

.header-contacts {
    font-size: 0.9rem;
    margin-left: auto;
}

.header-social {
    display: flex;
    align-items: center;
}

.header-phone-section {
    text-align: right;
}

.header-phone-large {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
    white-space: nowrap;
    margin-bottom: 0.25rem;
}

.header-phone-large:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.header-phone-large i {
    color: var(--primary-color);
    font-size: 1rem;
}

.header-callback-link {
    font-size: 0.85rem;
    color: #333;
    text-decoration: underline;
    text-decoration-color: rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.header-callback-link:hover {
    color: var(--primary-color);
    text-decoration-color: var(--primary-color);
}

.header-phone-large-mobile {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.header-phone-large-mobile:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.header-phone-large-mobile i {
    color: var(--primary-color);
    font-size: 1rem;
}

.header-callback-link-mobile {
    font-size: 0.9rem;
    color: #333;
    text-decoration: underline;
    text-decoration-color: rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    white-space: nowrap;
    text-align: center;
    display: block;
    padding: 0.5rem;
}

.header-callback-link-mobile:hover {
    color: var(--primary-color);
    text-decoration-color: var(--primary-color);
}

.contact-box {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.8rem;
    background: #f8f9fa;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.contact-box:hover {
    background: #e9ecef;
    color: #333;
    text-decoration: none;
}

.contact-box i {
    font-size: 1rem;
}

.whatsapp-box {
    position: relative;
}

.whatsapp-box i {
    color: #198754;
}

.telegram-box i {
    color: #dc3545;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: #198754;
    border-radius: 50%;
    display: inline-block;
    margin-left: 4px;
}


.header .navbar-nav .nav-link {
    color: #333;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
    position: relative;
}

.header .navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

.header .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.header .navbar-nav .nav-link:hover::after {
    width: 80%;
}

/* Hero секция */
.hero-section {
    background-image: url('https://glav-prokat.ru/stil-naa-i-elegantnaa-zensina-v-salone-avtomobila.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 40px 0;
    position: relative;
    overflow: hidden;
    min-height: 50vh;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    color: #fff;
}

.hero-content h1 {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    color: #fff;
}

.hero-content .text-primary {
    color: #ffc107 !important;
}

.hero-content p,
.hero-content .lead {
    color: #fff;
}

.hero-content .badge {
    background: rgba(255, 255, 255, 0.9) !important;
    color: #333 !important;
}

.hero-content .feature-item {
    color: #fff;
}

.hero-content .advantage-card {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #fff;
}

.hero-content .advantage-card h6,
.hero-content .advantage-card li {
    color: #fff;
}

.hero-features .feature-item {
    padding: 0.25rem 0;
    font-size: 0.9rem;
}

.hero-form .card {
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-form .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15) !important;
}

.advantage-card {
    border-left: 4px solid var(--primary-color);
}

/* Карточки автомобилей */
.car-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
    overflow: visible;
    position: relative;
}

.car-card .card-body {
    overflow: visible;
    position: relative;
}

.car-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15) !important;
}

.car-image {
    height: 250px;
    overflow: hidden;
    background: #f0f0f0;
}

.car-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.car-card:hover .car-image img {
    transform: scale(1.1);
}

.car-specs {
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
    padding: 1rem 0;
}

.price {
    font-size: 1.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    overflow: visible;
}

.price-trigger {
    display: inline-flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.price-trigger .h4 {
    font-size: 1.5rem;
    line-height: 1.2;
    white-space: nowrap;
}

.price-trigger .text-muted {
    white-space: nowrap;
}

.price-trigger {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: color 0.3s ease;
}

.price-trigger:hover {
    color: var(--primary-color);
}

.price-hint {
    font-size: 0.9rem;
    color: var(--primary-color);
    cursor: help;
    transition: transform 0.3s ease, color 0.3s ease;
    vertical-align: middle;
    margin-left: 0.25rem;
}

.price-hint:hover {
    transform: scale(1.2);
    color: var(--primary-color);
}

.price-tooltip {
    position: absolute;
    top: auto;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 10px;
    margin-top: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1050;
    pointer-events: none;
    overflow: visible;
}

.price:hover .price-tooltip {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.price-tooltip-content {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    padding: 12px 15px;
    min-width: 240px;
    max-width: 280px;
    border: 1px solid #e9ecef;
    overflow: visible;
}

.price-tooltip-header {
    font-weight: 700;
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-color);
    text-align: center;
}

.price-tooltip-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 0.85rem;
    border-bottom: 1px solid #f0f0f0;
}

.price-tooltip-item:last-child {
    border-bottom: none;
}

.price-period {
    color: #6c757d;
}

.price-value {
    font-weight: 600;
    color: var(--primary-color);
}

.price-tooltip::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: #fff;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.1));
}

.price-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 9px solid transparent;
    border-top-color: #e9ecef;
    margin-top: -1px;
}

/* Секции */
section {
    padding: 80px 0;
    overflow: visible;
}

#autopark {
    overflow: visible;
}

#autopark .container {
    overflow: visible;
}

#autopark .row {
    overflow: visible;
}

section h2 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

/* Иконки */
.icon-box {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(220, 53, 69, 0.1);
    border-radius: 50%;
}

/* Статистика */
.stat-box {
    transition: transform 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
}

/* Преимущества */
.advantage-item {
    padding: 1rem;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.advantage-item:hover {
    background: #f8f9fa;
}

/* FAQ */
.accordion-button {
    font-weight: 500;
    background: #fff;
}

.accordion-button:not(.collapsed) {
    background: var(--primary-color);
    color: #fff;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

/* Контакты */
.contact-card {
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.map-container {
    border-radius: 10px;
}

/* Кнопки */
.btn {
    border-radius: 8px;
    font-weight: 500;
    padding: 0.6rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #bb2d3b 0%, #9c252f 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.4);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

.btn-danger {
    background: linear-gradient(135deg, #dc3545 0%, #bb2d3b 100%);
    border: none;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #bb2d3b 0%, #9c252f 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.4);
}

.btn-success {
    background: linear-gradient(135deg, #198754 0%, #157347 100%);
    border: none;
}

.btn-success:hover {
    background: linear-gradient(135deg, #157347 0%, #0f5132 100%);
    transform: translateY(-2px);
}

/* Формы */
.form-control,
.form-select {
    border-radius: 8px;
    border: 1px solid #dee2e6;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

/* Бейджи */
.badge {
    padding: 0.5rem 1rem;
    font-weight: 500;
    border-radius: 20px;
}

/* Модальные окна */
.modal-content {
    border-radius: 15px;
    border: none;
}

.modal-header {
    border-bottom: 1px solid #e9ecef;
    padding: 1.5rem;
}

.modal-body {
    padding: 1.5rem;
}

/* Футер */
footer {
    background: var(--dark-color) !important;
}

footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-color) !important;
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Адаптивность */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .header .navbar-nav {
        flex-direction: column;
        text-align: left;
        padding: 1rem 0;
        background: #fff;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        margin-top: 1rem;
    }
    
    .header-contacts {
        display: none !important;
    }
    
    .header .col-auto:last-child {
        order: 3;
    }
    
    .header .col {
        order: 2;
    }
    
    .header .col-auto:first-child {
        order: 1;
    }
    
    .navbar-nav .nav-item.d-lg-none {
        border-top: 1px solid #e9ecef;
        margin-top: 0.5rem;
        padding-top: 0.5rem;
    }
    
    .navbar-nav .nav-item.d-lg-none .nav-link {
        padding: 0.75rem 1rem;
    }
    
    .navbar-nav .nav-item.d-lg-none .header-phone-large {
        font-size: 1.1rem;
        justify-content: center;
        width: 100%;
        display: flex;
        align-items: center;
    }
    
    .navbar-nav .nav-item.d-lg-none .header-callback-link {
        display: block;
        text-align: center;
        padding: 0.5rem;
        width: 100%;
    }
    
    .navbar-nav .nav-item.d-lg-none .contact-box {
        flex: 1;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .car-image {
        height: 200px;
    }
    
    .header .logo-img {
        max-height: 50px;
    }
    
    .header-contacts {
        flex-direction: column;
        align-items: center !important;
    }
    
    .header-phone-section {
        align-items: center !important;
        text-align: center !important;
        margin-bottom: 0.5rem;
    }
    
    .header-phone-large {
        font-size: 0.95rem;
    }
    
    .header-social {
        justify-content: center;
    }
    
    .contact-box {
        width: auto;
    }
    
    .price-tooltip {
        left: 0;
        transform: none;
        right: 0;
    }
    
    .price-tooltip-content {
        min-width: auto;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .header .logo-img {
        max-height: 45px;
    }
}

/* Блок Как арендовать машину */
.step-card {
    padding: 2rem 1.5rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 3px 10px rgba(220, 53, 69, 0.3);
}

.step-icon {
    margin-top: 1rem;
}

.step-arrow {
    padding: 0;
}

.step-arrow-down {
    padding: 1rem 0;
}

@media (max-width: 992px) {
    .step-arrow {
        transform: rotate(90deg);
        padding: 1rem 0;
    }
    
    .step-arrow i {
        transform: rotate(0deg);
    }
}

@media (max-width: 768px) {
    .step-card {
        margin-bottom: 2rem;
    }
    
    .step-arrow,
    .step-arrow-down {
        display: none !important;
    }
}

/* Плавная прокрутка */
html {
    scroll-behavior: smooth;
}

/* Минимальная высота 50vh */
.min-vh-50 {
    min-height: 50vh !important;
}

/* Кастомный скроллбар */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #bb2d3b;
}

/* Загрузка изображений */
img {
    max-width: 100%;
    height: auto;
}

/* Улучшение читаемости */
p {
    margin-bottom: 1rem;
}

/* Дополнительные эффекты */
.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.shadow {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

/* Улучшение навигации */
.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ============================================
   СТИЛИ ДЛЯ ВНУТРЕННИХ СТРАНИЦ
   ============================================ */

/* Хлебные крошки */
.breadcrumb-nav {
    background: #f8f9fa;
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb {
    margin-bottom: 0;
    background: transparent;
    padding: 0;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #6c757d;
}

/* Основной контент */
.page-content {
    padding: 3rem 0;
    min-height: 60vh;
}

/* Заголовок страницы */
.page-header {
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 1.5rem;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* Текстовая область */
.content-area {
    line-height: 1.8;
    color: #333;
}

.content-area p {
    margin-bottom: 1.5rem;
}

.content-area .lead {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: #555;
}

/* Заголовки */
.content-area h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e9ecef;
}

.content-area h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-area h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.content-area h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}

.content-area h6 {
    font-size: 1rem;
    font-weight: 600;
    color: #555;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

/* Списки */
.content-area ul,
.content-area ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.content-area li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.content-area ul ul,
.content-area ol ol,
.content-area ul ol,
.content-area ol ul {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Список определений */
.content-area dl {
    margin-bottom: 1.5rem;
}

.content-area dt {
    font-weight: 600;
    color: #333;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.content-area dd {
    margin-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: #555;
}

/* Таблицы */
.content-area .table {
    margin-bottom: 2rem;
}

.content-area .table thead th {
    background: var(--primary-color);
    color: #fff;
    font-weight: 600;
    border: none;
    padding: 1rem;
}

.content-area .table tbody td {
    padding: 0.75rem 1rem;
    vertical-align: middle;
}

.content-area .table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.02);
}

.content-area .table-hover tbody tr:hover {
    background-color: rgba(220, 53, 69, 0.1);
}

/* Выделения текста */
.content-area strong {
    font-weight: 600;
    color: #333;
}

.content-area em {
    font-style: italic;
}

.content-area mark {
    background-color: #ffc107;
    padding: 0.1em 0.2em;
    border-radius: 3px;
}

.content-area code {
    background-color: #f8f9fa;
    padding: 0.2em 0.4em;
    border-radius: 3px;
    font-size: 0.9em;
    color: var(--primary-color);
    font-family: 'Courier New', monospace;
}

.content-area pre {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 5px;
    padding: 1rem;
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

.content-area pre code {
    background: transparent;
    padding: 0;
    color: #333;
}

/* Цитаты */
.content-area blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #555;
}

.content-area blockquote p {
    margin-bottom: 0.5rem;
}

.content-area .blockquote-footer {
    font-size: 0.875rem;
    color: #6c757d;
    margin-top: 0.5rem;
}

/* Ссылки */
.content-area a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.content-area a:hover {
    color: #bb2d3b;
    text-decoration: none;
}

/* Алерты */
.content-area .alert {
    margin-bottom: 2rem;
    border-radius: 8px;
    border: none;
}

.content-area .alert-heading {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* Карточки */
.content-area .card {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.content-area .card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.content-area .card-title {
    color: #333;
    font-weight: 600;
}

/* Футер контента */
.content-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

/* Дополнительные стили для лучшей читаемости */
.content-area img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.content-area hr {
    margin: 2rem 0;
    border-top: 1px solid #e9ecef;
}

/* Адаптивность для внутренних страниц */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .content-area h2 {
        font-size: 1.75rem;
    }
    
    .content-area h3 {
        font-size: 1.5rem;
    }
    
    .content-area .lead {
        font-size: 1.1rem;
    }
    
    .table-responsive {
        font-size: 0.9rem;
    }
}
.header-phone-wrapper {
    position: relative;
    display: inline-block;
}

.phone-dropdown {
    position: absolute;
    right: 0;
    top: 30px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 8px 12px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    display: none;
    flex-direction: column;
    z-index: 50;

    opacity: 0;
    transform: translateY(5px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.dropdown-phone {
    display: block;
    padding: 5px 0;
    font-size: 15px;
    color: #333;
    text-decoration: none;
}

.dropdown-phone:hover {
    color: #6c2cff;
}

/* Появление при наведении */
.header-phone-wrapper:hover .phone-dropdown {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}
.navbar-collapse {
    align-items: center;
	justify-content: center;
}
.header .navbar-nav .nav-link {
    padding: 0.5rem 3rem;
}
@media (min-width: 992px) {
   .py-5 .col-lg-1 {
        width: 5%;
    }
	 .py-5 .col-lg-3 {
        width: 15%;
    }
}
.car-image .carousel-item img {
    max-height: 250px;
}
.car-card img {
    cursor: pointer;
}

.car-carousel .carousel-control-prev,
.car-carousel .carousel-control-next {
    width: 40px;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.7;
}

.car-carousel .carousel-control-prev-icon,
.car-carousel .carousel-control-next-icon {
    background-color: rgba(0,0,0,0.4);
    border-radius: 50%;
    padding: 12px;
}

.modal-arrow .carousel-control-prev-icon,
.modal-arrow .carousel-control-next-icon {
    background-color: rgba(255,255,255,0.7);
    border-radius: 50%;
    padding: 20px;
}
.dropdown-gr {
	font-size: 12px;
    color: grey;
}
.dropdown-adr {
	font-size: 13px;
    color: grey;
}
li.nav-item {
    background-color: #C14147;
}

a.nav-link {
    color: white!important;
    text-transform: uppercase;
}

/* Общий стиль секции */
.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 50vh;
}

/* Каждый слайд с фоном */
.hero-slide {
    min-height: 50vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

/* Затемнение поверх слайда */
.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 0;
}

/* Контейнер поверх затемнения */
.hero-slide .container {
    position: relative;
    z-index: 1;
}

/* Белый текст */
.hero-content {
    color: #fff;
}
.min-vh-50 {
    min-height: 100vh !important;
}
#heroSlider {
	padding:0;
}
.advantage-card {
    border-left: none;
    padding: 50px 15px !important;
}
.advantage-card h6.fw-bold.mb-2 {
    font-size: 25px;
}
.header .navbar-nav .nav-link:hover {
    background-color: white;
    color: black !important;
}
.carousel-item-next, .carousel-item-prev, .carousel-item.active {
    display: flex;
    justify-content: center;
}
.carousel-item > .w-100{
	max-height: 700px;
}


@media (max-width: 992px) {
	.header-phone-large-mobile span {color: white;}	
	.header-phone-large-mobile i {color: white;}
	.header-callback-link-mobile {color: white;}
}