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

body {
    font-family: 'Inter', sans-serif;
    background: radial-gradient(circle at 20% 30%, #0b1a2e, #0f1f2f);
    color: #e8eef2;
    line-height: 1.5;
    min-height: 100vh;
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; text-align: center; }

/* ===== HERO ===== */
.hero { padding: 60px 0 70px; background: linear-gradient(145deg, rgba(11,26,46,0.7), rgba(20,40,60,0.9)); border-bottom: 2px solid #d4a843; }
.main-logo { width: 100px; height: auto; filter: drop-shadow(0 4px 15px rgba(212,168,67,0.3)); }
.hero-title { font-size: 54px; font-weight: 900; margin: 20px 0 15px; }
.hero-title span { background: linear-gradient(135deg, #d4a843, #f5d371); background-clip: text; -webkit-background-clip: text; color: transparent; }

.slogan-rotator { min-height: 80px; margin: 15px 0 25px; }
.slogan-text { font-size: 26px; font-weight: 700; background: rgba(255,255,255,0.05); backdrop-filter: blur(8px); display: inline-block; padding: 12px 30px; border-radius: 60px; border: 1px solid #d4a84344; color: #f0f4f8; box-shadow: 0 0 30px rgba(212,168,67,0.05); }

.features-badge { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; margin: 30px 0 35px; }
.feature-card { background: rgba(255,255,255,0.04); backdrop-filter: blur(4px); border: 1px solid #d4a84333; padding: 12px 24px; border-radius: 60px; font-weight: 600; font-size: 16px; color: #e8eef2; transition: all 0.3s ease; cursor: default; }
.feature-card:hover { transform: translateY(-4px); background: rgba(212,168,67,0.12); border-color: #d4a843; box-shadow: 0 8px 25px rgba(212,168,67,0.08); }

.order-block { background: rgba(255,255,255,0.04); backdrop-filter: blur(12px); padding: 32px 24px; border-radius: 50px; max-width: 450px; margin: 0 auto; border: 1px solid #d4a84333; }
.price-min { font-size: 24px; font-weight: 700; color: #d4a843; margin-bottom: 20px; }

.btn { display: inline-block; border: none; font-weight: 700; font-size: 22px; padding: 16px 32px; border-radius: 60px; transition: all 0.3s ease; text-decoration: none; cursor: pointer; }
.btn-primary { background: linear-gradient(135deg, #d4a843, #b8922f); color: #0b1a2e; box-shadow: 0 8px 25px rgba(212,168,67,0.2); }
.btn-primary:hover { transform: scale(1.02); box-shadow: 0 12px 35px rgba(212,168,67,0.35); }
.btn-secondary { background: transparent; border: 1px solid #d4a843; color: #d4a843; padding: 12px 24px; font-size: 16px; }
.btn-secondary:hover { background: rgba(212,168,67,0.08); transform: scale(1.02); }
.btn-secondary.whatsapp { border-color: #25D366; color: #25D366; }
.btn-secondary.whatsapp:hover { background: rgba(37,211,102,0.08); }
.btn-secondary.vk-btn { border-color: #4680b2; color: #4680b2; }
.btn-secondary.vk-btn:hover { background: rgba(70,128,178,0.08); }

/* ===== УСЛУГИ ===== */
.services { padding: 80px 0; background: rgba(0,0,0,0.25); }
.section-title { font-size: 44px; font-weight: 900; margin-bottom: 40px; }
.section-title span { background: linear-gradient(135deg, #d4a843, #f5d371); background-clip: text; -webkit-background-clip: text; color: transparent; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 25px; }
.service-card { background: rgba(255,255,255,0.04); backdrop-filter: blur(6px); border: 1px solid #d4a84322; border-radius: 30px; padding: 25px 15px; transition: all 0.3s ease; }
.service-card:hover { transform: translateY(-8px); border-color: #d4a843; box-shadow: 0 12px 35px rgba(212,168,67,0.05); }
.service-card span { font-size: 36px; display: block; margin-bottom: 10px; }
.service-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 6px; color: #f0f4f8; }
.service-card p { font-size: 14px; color: #a0b4c8; }

/* ===== КАРУСЕЛЬ ===== */
.cars { padding: 80px 0; background: rgba(0,0,0,0.15); }
.cars-subtitle { font-size: 20px; color: #a0b4c8; margin-bottom: 30px; }

.carousel-wrapper { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; margin: 30px 0; }
.carousel-container { overflow: hidden; width: 100%; max-width: 1100px; border-radius: 30px; }
.carousel-track { display: flex; transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94); gap: 25px; padding: 10px 0; }

.car-card { min-width: 300px; flex: 0 0 300px; background: rgba(255,255,255,0.04); backdrop-filter: blur(6px); border: 1px solid #d4a84322; border-radius: 30px; overflow: hidden; transition: all 0.3s ease; cursor: pointer; }
.car-card:hover { transform: translateY(-8px); border-color: #d4a843; box-shadow: 0 15px 40px rgba(212,168,67,0.08); }
.car-card img { width: 100%; height: 200px; object-fit: cover; display: block; }
.car-card-body { padding: 20px; text-align: left; }
.car-card-body h3 { font-size: 20px; font-weight: 700; color: #f0f4f8; margin-bottom: 4px; }
.car-card-body .year-mileage { font-size: 14px; color: #a0b4c8; margin-bottom: 6px; }
.car-card-body .engine-drive { font-size: 14px; color: #c8d8e8; margin-bottom: 8px; }
.car-card-body .specs { font-size: 13px; color: #8a9aa8; margin-bottom: 12px; line-height: 1.4; }
.car-card-body .price-tag { font-size: 22px; font-weight: 800; color: #d4a843; margin-bottom: 10px; }
.car-card-body .car-phone { display: inline-block; font-size: 18px; font-weight: 700; color: #f0f4f8; text-decoration: none; background: rgba(212,168,67,0.12); padding: 8px 18px; border-radius: 60px; border: 1px solid #d4a84344; transition: all 0.3s ease; }
.car-card-body .car-phone:hover { background: rgba(212,168,67,0.2); border-color: #d4a843; }

.carousel-btn { background: rgba(212,168,67,0.12); border: 1px solid #d4a84344; color: #f0f4f8; font-size: 28px; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; transition: all 0.3s ease; flex-shrink: 0; display: flex; align-items: center; justify-content: center; line-height: 1; }
.carousel-btn:hover { background: rgba(212,168,67,0.25); border-color: #d4a843; transform: scale(1.05); }

/* ===== ПРИГОНИМ ПОД ЗАКАЗ ===== */
.order-custom { margin: 40px 0 0; padding: 40px 30px; background: linear-gradient(135deg, rgba(212,168,67,0.08), rgba(212,168,67,0.02)); border: 2px solid #d4a84344; border-radius: 40px; text-align: center; }
.order-custom-content .order-icon { font-size: 48px; display: block; margin-bottom: 10px; }
.order-custom-content h3 { font-size: 28px; font-weight: 800; color: #f5d371; margin-bottom: 10px; }
.order-custom-content p { font-size: 18px; color: #a0b4c8; margin-bottom: 20px; }
.order-custom-contacts { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ===== ГЕОГРАФИЯ ===== */
.geo { padding: 80px 0; background: rgba(0,0,0,0.12); }
.geo-main { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; font-size: 28px; font-weight: 800; margin-bottom: 25px; color: #f5d371; }
.geo-main span { background: rgba(212,168,67,0.08); padding: 8px 24px; border-radius: 60px; border: 1px solid #d4a84333; }
.geo-russia { font-size: 32px; font-weight: 800; color: #f0f4f8; margin-bottom: 25px; letter-spacing: 2px; }
.geo-countries { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; font-size: 18px; }
.geo-countries span { background: rgba(255,255,255,0.04); padding: 6px 18px; border-radius: 60px; border: 1px solid #d4a84322; transition: 0.3s; }
.geo-countries span:hover { border-color: #d4a843; background: rgba(212,168,67,0.06); }

/* ===== ФУТЕР ===== */
.footer { background: #070f18; padding: 40px 0; border-top: 1px solid #d4a84322; }
.footer-icons { display: flex; justify-content: center; gap: 30px; margin-bottom: 20px; }
.footer-icon { background: rgba(255,255,255,0.04); width: 55px; height: 55px; border-radius: 50%; display: flex; align-items: center; justify-content: center; text-decoration: none; color: #e8eef2; font-size: 28px; transition: all 0.3s ease; border: 1px solid #d4a84322; }
.footer-icon:hover { transform: scale(1.1); border-color: #d4a843; background: rgba(212,168,67,0.08); }

/* ===== ИСПРАВЛЕНИЕ ЛОГОТИПОВ ===== */
.social-logo {
    width: 28px;
    height: 28px;
    display: block;
    object-fit: contain;
    filter: none !important; /* Убираем любой фильтр */
}

.footer-phone { font-size: 28px; font-weight: 700; color: #d4a843; text-decoration: none; display: inline-block; margin: 10px 0; }
.small { font-size: 14px; color: #6a7a8a; }

/* ===== МОДАЛКА ===== */
.modal { display: none; position: fixed; z-index: 200; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); align-items: center; justify-content: center; }
.modal-content { background: #0f1f2f; padding: 30px; border-radius: 40px; max-width: 420px; width: 92%; text-align: center; border: 1px solid #d4a84344; position: relative; }
.close { position: absolute; top: 12px; right: 20px; font-size: 32px; color: #a0b4c8; cursor: pointer; }
.modal-buttons { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.modal-option { padding: 14px; border-radius: 50px; font-size: 18px; font-weight: 700; text-decoration: none; display: block; border: none; cursor: pointer; transition: 0.2s; }
.modal-option:hover { transform: scale(1.02); }
.modal-option.phone { background: #25D366; color: white; }
.modal-option.telegram { background: #27ae60; color: white; }
.modal-option.whatsapp { background: #25D366; color: white; }
.modal-option.vk { background: #4680b2; color: white; }

/* ===== ПОДДЕРЖКА ===== */
.support-circle { position: fixed; bottom: 20px; right: 20px; z-index: 100; cursor: pointer; display: none; }
.support-icon { background: linear-gradient(135deg, #d4a843, #b8922f); width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; box-shadow: 0 8px 30px rgba(212,168,67,0.2); transition: 0.3s; }
.support-icon:hover { transform: scale(1.05); }
.support-bubble { position: absolute; bottom: 72px; right: 0; background: #0f1f2f; padding: 12px 18px; border-radius: 20px; font-size: 14px; font-weight: 500; max-width: 260px; border: 1px solid #d4a84344; color: #e8eef2; box-shadow: 0 8px 30px rgba(0,0,0,0.4); }

/* ===== АДАПТИВ ===== */
@media (max-width: 1024px) { .car-card { min-width: 280px; flex: 0 0 280px; } }
@media (max-width: 768px) {
    .hero-title { font-size: 34px; }
    .slogan-text { font-size: 18px; padding: 10px 20px; }
    .section-title { font-size: 32px; }
    .geo-main { font-size: 20px; }
    .geo-main span { padding: 6px 16px; }
    .features-badge { gap: 10px; }
    .feature-card { font-size: 14px; padding: 10px 18px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-icon { width: 48px; height: 48px; font-size: 22px; }
    .support-bubble { max-width: 200px; font-size: 12px; }
    .car-card { min-width: 260px; flex: 0 0 260px; }
    .carousel-btn { width: 40px; height: 40px; font-size: 22px; }
    .order-custom { padding: 25px 18px; }
    .order-custom-content h3 { font-size: 22px; }
    .order-custom-content p { font-size: 16px; }
    .btn-secondary { font-size: 14px; padding: 10px 18px; }
}
@media (max-width: 550px) {
    .car-card { min-width: 100%; flex: 0 0 100%; }
    .carousel-btn { width: 36px; height: 36px; font-size: 18px; }
    .geo-main { font-size: 16px; gap: 8px; }
    .geo-main span { padding: 4px 12px; }
    .geo-russia { font-size: 24px; }
    .geo-countries { font-size: 14px; gap: 8px; }
    .order-custom-contacts { flex-direction: column; align-items: center; }
    .btn-secondary { width: 100%; max-width: 280px; text-align: center; }
    .footer-icons { gap: 16px; }
    .footer-icon { width: 44px; height: 44px; font-size: 20px; }
    .social-logo { width: 22px; height: 22px; }
    .modal-content { padding: 20px; }
}
