/* Rating (Авито) */
.rating-section {
	background: #fd7e14;
	padding: 1.25rem 0;
}
.rating-card {
	background: rgba(255, 255, 255, 0.12);
	border-radius: 14px;
	padding: 0.75rem 1rem 1rem;
	backdrop-filter: blur(2px);
	margin: 0 auto;
}
.rating-row .rating-stars {
	color: #111;
	font-size: 1.1rem;
}
.rating-row .rating-number {
	font-weight: 800;
	font-size: 2rem;
	line-height: 1;
}
.rating-row .rating-source {
	font-size: .95rem;
	font-weight: 600;
	opacity: .9;
}
.rating-subtitle {
	color: #1b1b1b;
	opacity: .9;
	margin-top: .5rem;
}

@media (max-width: 767.98px) {
	.rating-row .rating-number { font-size: 1.6rem; }
	.rating-row .rating-stars { font-size: 1rem; margin-bottom: .25rem; }
	.rating-card { padding: 0.75rem; }
}
/* Основные стили */
:root {
    --primary-color: #ff3333;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --warning-color: #fd7e14;
    --danger-color: #ff3333;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --gradient-primary: linear-gradient(135deg, #ff3333 0%, #b02a37 100%);
    --gradient-hero: linear-gradient(135deg, rgba(220, 53, 69, 0.53) 0%, rgba(176, 42, 55, 0.8) 100%);
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow-md: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    --border-radius: 0.5rem;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden;
    padding-top: 0; /* Убираем отступ body */
}

/* Шапка сайта */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

/* Основной контейнер шапки */
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 1rem;
}

/* Бренд и логотип */
.header-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.brand-logo {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.brand-logo img {
    width: 40px;
    height: 40px;
}

.brand-text {
    flex: 1;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    line-height: 1.2;
}

.brand-subtitle {
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin: 0;
    font-weight: 500;
}

/* Адаптивный подзаголовок бренда */
.subtitle-mobile { display: none; }
.subtitle-desktop { display: inline; }

/* Стили для блоков цен */
.prices-section {
    background: linear-gradient(180deg, #eff2f5 0%, #fff 100%);
    position: relative;
}

.prices-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #dee2e6 50%, transparent 100%);
}

.price-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.price-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff3333 0%, #6c757d 50%, #ff3333 100%);
    opacity: 0.1;
}

.price-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.price-header {
    border-bottom: 2px solid #ff3333;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.price-title {
    color: #ff3333;
    font-weight: 600;
    font-size: 1.25rem;
    margin: 0;
}

.price-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Сетка для длинных списков цен в 2 колонки (десктоп) */
.price-list.columns-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 1.25rem;
    row-gap: 0.75rem;
}

.price-list.columns-2 .price-item {
    border-bottom: none;
    padding: 0.25rem 0;
}

.price-list.columns-2 .price-item:last-child {
    border-bottom: none;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f8f9fa;
}

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

.service-name {
    color: #495057;
    font-weight: 500;
    flex: 1;
    margin-right: 1rem;
}

.service-price {
    color: #ff3333;
    font-weight: 700;
    font-size: 1.1rem;
    white-space: nowrap;
}

/* CTA карточка в блоках цен */
.price-cta {
    background: linear-gradient(180deg, #ff33330f 0%, #ffffff 100%);
    border: none;
    box-shadow: none;
}

.price-cta .price-header {
    border-bottom-color: #dbe4ff;
}

.price-cta ul {
    padding-left: 1.2rem;
    margin: 0;
    color: #495057;
}

.price-cta ul li {
    margin-bottom: .35rem;
}

.price-cta .btn {
    background: #ff3333;
    border-color: #ff3333;
    color: white;
    font-weight: 600;
}

.price-cta .btn:hover {
    background: #b02a37;
    border-color: #b02a37;
    color: white;
}

@media (max-width: 767.98px) {
    .price-card {
        padding: 1rem;
    }
    
    .price-list.columns-2 {
        grid-template-columns: 1fr;
    }
    
    .price-title {
        font-size: 1.1rem;
    }
    
    .service-name {
        font-size: 0.9rem;
    }
    
    .service-price {
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    .price-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .service-name {
        margin-right: 0;
    }
}

/* Светло-голубой фон для секции "Почему мы" */
#expertise {
    background: linear-gradient(180deg, #e3f2fd 0%, #f8f9fa 100%);
    position: relative;
}

#expertise::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #bbdefb 50%, transparent 100%);

    flex: 1;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

/* Фиксированная ширина телефона в шапке */
.contact-phone {
    min-width: 140px;
    white-space: nowrap;
}

.contact-phone .phone-link {
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 700;
}

/* Адаптивность для телефона */
@media (max-width: 991.98px) {
    .contact-phone {
        min-width: auto;
    }
}

/* Бургер-кнопка */
.burger-btn {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    position: static;
    flex-shrink: 0;
}

.burger-line {
    width: 100%;
    height: 3px;
    background: var(--dark-color);
    border-radius: 2px;
    transition: var(--transition);
}

.burger-btn[aria-expanded="true"] .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.burger-btn[aria-expanded="true"] .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-btn[aria-expanded="true"] .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Мобильное меню */
.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    margin-top: 0.5rem;
}

.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 1rem 0;
}

.mobile-nav-list li {
    margin: 0;
}

.mobile-nav-list li a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-nav-list li:last-child a {
    border-bottom: none;
}

.mobile-nav-list li a:hover {
    background: rgba(13, 110, 253, 0.1);
    color: var(--primary-color);
}

.nav-list li a {
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.95rem;
}

.nav-list li a:hover {
    color: var(--primary-color);
    background: rgba(13, 110, 253, 0.1);
}

/* Правый блок шапки */
.header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    position: relative;
}

/* Контакты в шапке */
.header-contacts {
    display: flex;
    flex-direction: column;
    text-align: right;
    gap: 0.25rem;
}

.contact-phone {
    margin-bottom: 0;
}

.phone-link {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.phone-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.contact-schedule,
.contact-address {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--secondary-color);
}

.contact-schedule i,
.contact-address i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* Главный экран */
.hero-section {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('head.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    color: white;
    padding-top: 80px; /* Отступ от шапки */
    padding-bottom: 60px; /* Отступ снизу */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hero);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 3rem 0;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Преимущества на главном экране */
.hero-advantages {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2.5rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.hero-advantage {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.hero-advantage:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.hero-advantage i {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.hero-advantage strong {
    font-weight: 700;
}

.trust-indicators {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.trust-item i {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.cta-primary {
    background: var(--gradient-primary);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.cta-secondary {
    border: 2px solid white;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Подписи для кнопки звонка: десктоп/мобайл */
.label-desktop { display: inline; }
.label-mobile { display: none; }

@media (max-width: 768px) {
	.label-desktop { display: none; }
	.label-mobile { display: inline; }
}

.cta-secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Блок преимуществ */
.advantages-description {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.advantage-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.advantage-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.75rem;
}

.advantage-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.advantage-card p {
    color: var(--secondary-color);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Секции */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

/* Блок решения проблемы */
.step-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.step-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.step-card p {
    color: var(--secondary-color);
    font-size: 1rem;
    line-height: 1.6;
}

/* Блок экспертизы */
.expertise-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.expertise-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.expertise-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.expertise-card h5 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.expertise-card p {
    color: var(--secondary-color);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Контакты */
.contact-info {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item i {
    font-size: 1.5rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.contact-item h5 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.contact-item p {
    color: var(--secondary-color);
    margin: 0;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

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

.map-container {
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: var(--secondary-color);
    border: 2px dashed var(--secondary-color);
}

.map-overlay i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.map-overlay p {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.map-overlay small {
    font-size: 0.9rem;
}

/* Отзывы */
.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    border-left: 4px solid var(--primary-color);
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content i {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.testimonial-content p {
    font-style: italic;
    color: var(--secondary-color);
    line-height: 1.6;
    font-size: 1rem;
}

.testimonial-author strong {
    color: var(--dark-color);
    font-size: 1.1rem;
}

.testimonial-author small {
    color: var(--secondary-color);
    display: block;
    margin-top: 0.25rem;
}

/* Кнопки в блоке решения проблемы */
.solution-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Призыв к действию в блоке экспертизы */
.expertise-cta {
    background: rgba(13, 110, 253, 0.1);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 2px solid var(--primary-color);
}

.cta-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.cta-subtitle {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

/* Форма заявки */
.contact-form {
    background: rgba(255, 255, 255, 0.3);
    padding: 2rem;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Форма вопроса */
.question-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-form .form-control,
.contact-form .form-select,
.question-form .form-control {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
    padding: 1rem;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus,
.question-form .form-control:focus {
    background: white;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.contact-form .btn,
.question-form .btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.contact-form .btn:hover,
.question-form .btn:hover {
    background: #b02a37;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.form-note {
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
}

/* Стили для VIN ввода */
.vin-input-options {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.vin-option {
    padding: 0.75rem;
    border-radius: 0.5rem;
    transition: var(--transition);
}

.vin-option:hover {
    background: rgba(255, 255, 255, 0.05);
}

.form-check-input:checked + .form-check-label {
    color: var(--primary-color) !important;
    font-weight: 600;
}

.form-check-label {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.form-check-label i {
    font-size: 1.2rem;
}

#vinNumber {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--primary-color);
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

#vinNumber:focus {
    background: white;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

#vinPhotoFile {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--primary-color);
}

#vinPhotoFile:focus {
    background: white;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Модальное окно заказа звонка */
.modal .form-note small {
    color: #6c757d !important; /* Темно-серый цвет */
}

/* Правка видимости модальных окон (поверх всех элементов сайта) */
.modal {
    z-index: 1060;
}
.modal-backdrop {
    z-index: 1050;
}

/* Дизайн модалки скидки: светлая (white) тема */
#discountModal .modal-content {
    background: #ffffff;
    color: #212529;
    border: none;
    border-radius: 0.75rem;
    box-shadow: 0 1rem 3rem rgba(0,0,0,.175);
}
#discountModal .modal-header {
    background: #ffffff;
    border-bottom: 1px solid #e9ecef;
}
#discountModal .modal-title {
    color: #212529;
}
#discountModal .btn-close {
    filter: none;
}
#discountModal .form-label {
    color: #212529;
}
#discountModal .form-control::placeholder {
    color: #adb5bd;
}
#discountModal .form-note small {
    color: #6c757d !important;
}

/* Фоновые иконки для блока "Готовы найти нужную деталь?" */
#contact-form {
    position: relative;
    overflow: hidden;
}

#contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.1)' stroke-width='1'%3E%3Cpath d='M12 2L2 7l10 5 10-5-10-5z'/%3E%3Cpath d='M2 17l10 5 10-5'/%3E%3Cpath d='M2 12l10 5 10-5'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='50' height='50' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.08)' stroke-width='1'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M12 1v6m0 6v6'/%3E%3Cpath d='m21 12-6 0m-6 0-6 0'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.06)' stroke-width='1'%3E%3Cpath d='M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z'/%3E%3C/svg%3E");
    background-size: 80px 80px, 60px 60px, 40px 40px;
    background-position: 0 0, 30px 30px, 60px 60px;
    background-repeat: repeat;
    opacity: 0.3;
    z-index: 1;
}

#contact-form .container {
    position: relative;
    z-index: 2;
}

/* Фоновые иконки для блока "Остались вопросы?" */
#question-form {
    position: relative;
    overflow: hidden;
}

#question-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='70' height='70' viewBox='0 0 24 24' fill='none' stroke='rgba(13,110,253,0.1)' stroke-width='1'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3'/%3E%3Cpath d='M12 17h.01'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='50' height='50' viewBox='0 0 24 24' fill='none' stroke='rgba(13,110,253,0.08)' stroke-width='1'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M8 12h8'/%3E%3Cpath d='M12 8v8'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='35' height='35' viewBox='0 0 24 24' fill='none' stroke='rgba(13,110,253,0.06)' stroke-width='1'%3E%3Cpath d='M21 12c0 1.66-4 3-9 3s-9-1.34-9-3 4-3 9-3 9 1.34 9 3z'/%3E%3Cpath d='M3 5c0 1.66 4 3 9 3s9-1.34 9-3-4-3-9-3-9 1.34-9 3z'/%3E%3Cpath d='M3 19c0 1.66 4 3 9 3s9-1.34 9-3-4-3-9-3-9 1.34-9 3z'/%3E%3C/svg%3E");
    background-size: 90px 90px, 65px 65px, 45px 45px;
    background-position: 0 0, 35px 35px, 70px 70px;
    background-repeat: repeat;
    opacity: 0.4;
    z-index: 1;
}

#question-form .container {
    position: relative;
    z-index: 2;
}

/* Стилизация формы в блоке "Остались вопросы?" */
.question-form {
    background: rgba(13, 110, 253, 0.05); /* Легкий голубой фон */
    border: 2px solid var(--primary-color); /* Синяя рамка */
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.1);
}

/* Цвет текста в форме вопросов */
.question-form .form-note:first-of-type small {
    color: #000000 !important; /* Черный цвет для текста о времени ответа */
}

.question-form .form-note:last-of-type small {
    color: #6c757d !important; /* Темно-серый цвет для текста согласия */
}

/* Дисклеймер для куков */
.cookie-disclaimer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 0.3rem;
    z-index: 1050;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-disclaimer.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 1rem;
}

.cookie-text {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex: 1;
}

.cookie-text i {
    font-size: 1.25rem;
	color: #fd7e14;
}

.cookie-text a {
	color: #fd7e14;
    text-decoration: underline;
}

/* Переопределение системного цвета предупреждения на оранжевый */
.text-warning {
	color: #fd7e14 !important;
}

.cookie-buttons {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

/* WhatsApp виджет */
.whatsapp-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    transition: bottom 0.3s ease;
}

/* Поднимаем кнопку телефона когда дисклеймер куков отображается */
.cookie-disclaimer.show ~ .whatsapp-widget {
    bottom: 4rem; /* Поднимаем над дисклеймером */
}

.whatsapp-btn {
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-btn:hover {
    color: white;
    transform: scale(1.1);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Footer */
footer {
    background: var(--dark-color) !important;
}

.social-links a {
    font-size: 1.25rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary-color) !important;
}

/* Адаптивность */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 70px; /* Отступ от шапки на мобильных */
        padding-bottom: 40px; /* Отступ снизу на мобильных */
    }
    
    .site-header {
        padding: 0.75rem 0;
    }
    
    .header-brand {
        gap: 0.5rem;
        flex-direction: row;
        align-items: center;
    }
    
    .brand-logo {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
	
.brand-logo img {
    width: 24px;
    height: 24px;
}
    
    .brand-name {
        font-size: 1rem;
    }
    
    .brand-subtitle {
        font-size: 0.7rem;
    }
    
    .header-content {
        gap: 0.5rem;
    }
    
    .header-brand {
        gap: 0.5rem;
        flex-direction: row;
        align-items: center;
    }
    
    .main-nav {
        display: none;
    }
    
    .nav-list {
        display: none;
    }
    
    .burger-btn {
        display: flex !important;
    }
    
    .header-right {
        gap: 0.5rem;
    }
    
    .header-contacts {
        gap: 0.1rem;
    }
    
    .contact-schedule {
        display: flex !important;
        font-size: 0.7rem;
    }
    
    .solution-cta {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .solution-cta .btn {
        width: 100%;
    }
    
    .expertise-cta {
        padding: 1.5rem;
    }
    
    .cta-title {
        font-size: 1.5rem;
    }
    
    .cta-subtitle {
        font-size: 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-advantages {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .hero-advantage {
        font-size: 1rem;
        padding: 0.5rem 0.75rem;
    }
    
    .hero-advantage i {
        font-size: 1.25rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-primary,
    .cta-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .step-card,
    .expertise-card,
    .testimonial-card,
    .advantage-card {
        padding: 1.5rem;
    }
    
    .contact-info {
        padding: 1.5rem;
    }
    
    .map-container {
        height: 300px;
    }
    
    .whatsapp-widget {
        bottom: 1rem;
        right: 1rem;
    }
    
    /* На мобилках поднимаем в 2 раза выше */
    .cookie-disclaimer.show ~ .whatsapp-widget {
        bottom: 7rem;
    }
    
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    /* Уменьшаем текст дисклеймера на мобилках */
    .cookie-disclaimer .cookie-text span {
        font-size: 11px;
    }
    
    /* Скрываем номер телефона на кнопке "Позвонить нам" на мобилках */
    .cta-secondary .phone-number {
        display: none;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .cookie-text {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding-top: 60px; /* Отступ от шапки на маленьких экранах */
        padding-bottom: 30px; /* Отступ снизу на маленьких экранах */
    }
    
    .brand-logo {
        width: 25px;
        height: 25px;
        font-size: 0.8rem;
    }
	
.brand-logo img {
    width: 20px;
    height: 20px;
}
    
    .brand-name {
        font-size: 0.9rem;
    }
    
    .brand-subtitle {
        font-size: 0.65rem;
    }
    
    .header-content {
        gap: 0.3rem;
    }
    
    .header-brand {
        gap: 0.4rem;
    }
    
    .brand-text {
        flex-shrink: 1;
        min-width: 0;
    }
    
    .header-right {
        gap: 0.3rem;
    }
    
    .contact-schedule {
        font-size: 0.65rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .trust-item {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .step-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .expertise-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

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

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.step-card,
.expertise-card,
.testimonial-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Улучшения производительности */
.hero-section {
    will-change: transform;
}

.step-card,
.expertise-card,
.testimonial-card {
    will-change: transform;
}

/* Скрытие элементов при загрузке */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Стили для блока рейтинга на Авито */
.rating-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
}

.rating-stars {
    display: flex !important;
    gap: 0.25rem;
    font-size: 1.5rem !important;
    color: #000 !important;
}

.rating-info {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: bold;
}

.rating-score {
    font-size: 2rem;
    color: #212529;
}

.rating-text {
    font-size: 1rem;
    color: #6c757d;
}

.rating-description {
    font-size: 1.1rem;
    color: #212529;
    text-align: center;
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .rating-stars {
        font-size: 1.25rem;
    }
    
    .rating-score {
        font-size: 1.5rem;
    }
    
    .rating-description {
        font-size: 1rem;
    }
}
