/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    color: #e5e7eb;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 25%, #d1d5db 50%, #e5e7eb 75%, #f3f4f6 100%);
    background-size: 400% 400%;
    animation: bodyGradient 15s ease infinite;
    min-height: 100vh;
}

/* Premium theme overrides */
body.premium {
    --bg: #0a0e1a;
    --card-bg: #0f172a;
    --text: #f1f5f9;
    --muted: #94a3b8;
    --border: #1e293b;
    --accent: #d4af37;
    --accent-light: #f4d03f;
    --accent-dark: #b89324;
    --shadow-gold: rgba(212, 175, 55, 0.3);
    --shadow-dark: rgba(0, 0, 0, 0.4);
}

body.premium { 
    color: #e5e7eb; 
    background: #0b1220;
    min-height: 100vh;
}

@keyframes bodyGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

body.premium .hero,
body.premium .contact,
body.premium .footer {
    background: var(--card-bg);
    border-color: var(--border);
}

/* Header всегда серый на всех страницах */
body.premium .header {
    background: linear-gradient(180deg, #6b7280 0%, #4b5563 100%) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2) !important;
}

body.premium .catalog {
    background: #0b1220 !important;
    color: #e5e7eb !important;
    border-color: #1f2937 !important;
}

@keyframes catalogGradient {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

body.premium .logo span { 
    color: #d9a400 !important;
    text-shadow: 0 1px 0 rgba(17, 24, 39, 0.95), 0 0 14px rgba(250, 204, 21, 0.28) !important;
    font-weight: 800 !important;
}
body.premium .logo i { color: var(--accent); }
body.premium .cta-btn,
body.premium .filter-btn {
    background: rgba(212, 175, 55, 0.18) !important;
    border: 1px solid rgba(212, 175, 55, 0.55) !important;
    color: #facc15 !important;
}

body.premium .filter-btn:hover {
    background: rgba(212, 175, 55, 0.28) !important;
    border-color: rgba(212, 175, 55, 0.85) !important;
}

body.premium .btn-primary { 
    background: rgba(212, 175, 55, 0.18) !important; 
    border: 1px solid rgba(212, 175, 55, 0.55) !important; 
    color: #facc15 !important; 
}

body.premium .btn-primary:hover { 
    background: rgba(212, 175, 55, 0.28) !important; 
    border-color: rgba(212, 175, 55, 0.85) !important; 
}

body.premium .btn-secondary { 
    background: transparent !important;
    color: #e5e7eb !important; 
    border: 1px solid rgba(148, 163, 184, 0.35) !important; 
}

body.premium .btn-secondary:hover { 
    background: rgba(15, 23, 42, 0.5) !important; 
    border-color: rgba(250, 204, 21, 0.55) !important; 
    color: #facc15 !important;
}
/* Yellow header button for Request */
#openRequestBtn {
    background: linear-gradient(135deg, #1f2937 0%, #374151 50%, #1f2937 100%) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    padding: 0.5rem 0.8rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 8px;
    line-height: 1.2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
    white-space: nowrap;
    height: 36px;
}
#openRequestBtn:hover { 
    background: linear-gradient(135deg, #374151 0%, #4b5563 50%, #374151 100%) !important;
    border-color: rgba(0, 0, 0, 0.3) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
}

.customs-toolbar-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 8px;
    border: 1px solid rgba(250, 204, 21, 0.85);
    background: linear-gradient(135deg, #facc15, #f59e0b);
    color: #111827;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.customs-toolbar-btn:hover {
    color: #111827;
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.24);
}

.nav-calculator-link {
    display: inline-flex !important;
    align-items: center;
    gap: 0.4rem;
}

.nav-calculator-link i {
    color: #facc15;
}

.nav-premium-link {
    display: inline-flex !important;
    align-items: center;
    gap: 0.42rem;
    padding: 0.44rem 0.72rem !important;
    border: 1px solid rgba(250, 204, 21, 0.46);
    border-radius: 999px;
    background:
        linear-gradient(135deg, rgba(250, 204, 21, 0.16), rgba(244, 63, 94, 0.08)),
        rgba(15, 23, 42, 0.2);
    color: #fef3c7 !important;
    box-shadow: 0 0 0 rgba(250, 204, 21, 0);
    animation: premiumTabPulse 3s ease-in-out infinite;
}

.nav-premium-link i {
    color: #facc15;
    font-size: 0.9em;
}

.nav-premium-link:hover,
.nav-premium-link.active {
    color: #111827 !important;
    background: linear-gradient(135deg, #fde68a, #facc15 54%, #f59e0b);
    text-shadow: none !important;
    border-color: rgba(255, 255, 255, 0.55);
    border-bottom-color: rgba(255, 255, 255, 0.55) !important;
}

.nav a.nav-premium-link.active {
    border-bottom-width: 1px !important;
    padding-bottom: 0.44rem !important;
}

@keyframes premiumTabPulse {
    0%, 100% { box-shadow: 0 0 0 rgba(250, 204, 21, 0); }
    50% { box-shadow: 0 0 18px rgba(250, 204, 21, 0.28); }
}

body.premium .header .customs-toolbar-btn {
    display: inline-flex !important;
    color: #111827 !important;
    background: linear-gradient(135deg, #facc15, #f59e0b) !important;
}
body.premium .car-card { 
    background: linear-gradient(160deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.92)) !important; 
    border: 1px solid rgba(148, 163, 184, 0.12) !important; 
    box-shadow: 0 16px 36px rgba(2, 6, 23, 0.45) !important; 
}
body.premium .car-card:hover { 
    border-color: rgba(250, 204, 21, 0.35) !important; 
    box-shadow: 0 22px 44px rgba(2, 6, 23, 0.55) !important; 
    transform: translateY(-6px) !important;
}
body.premium .car-title { color: #f9fafb !important; font-weight: 600 !important; }
body.premium .car-details { color: #94a3b8 !important; }
body.premium .car-price { color: #fde68a !important; font-weight: 600 !important; }
body.premium .car-price-full { color: #cbd5f5 !important; }
body.premium .car-specs { color: #9ca3af !important; }
body.premium .catalog-filters { 
    background: rgba(15, 23, 42, 0.85) !important; 
    border: 1px solid rgba(30, 41, 59, 0.85) !important; 
    color: #cbd5f5 !important;
}

body.premium .catalog-filters .filter-group label {
    color: #cbd5f5 !important;
}

body.premium .catalog-filters .filter-group select,
body.premium .catalog-filters .filter-group input {
    background: #0b1220 !important;
    border: 1px solid #1f2937 !important;
    color: #f3f4f6 !important;
}

body.premium .catalog h2 {
    color: #f3f4f6 !important;
}
body.premium .contact { 
    background: #0b1220 !important; 
    color: #e5e7eb !important;
    border-top: 1px solid #1f2937 !important;
}

body.premium .contact h2 {
    color: #f3f4f6 !important;
}

body.premium .contact-item { 
    background: rgba(15, 23, 42, 0.8) !important; 
    border: 1px solid #1f2937 !important; 
    color: #e5e7eb !important;
}

body.premium .contact-item h4 { 
    color: #f3f4f6 !important; 
}

body.premium .contact-item p, 
body.premium .contact-item p a, 
body.premium .contact-item i { 
    color: #cbd5f5 !important; 
}

body.premium .contact-item p a:hover { 
    color: #facc15 !important; 
}

body.premium .footer { 
    background: #0b1220 !important; 
    color: #e5e7eb !important;
    border-top: 1px solid #1f2937 !important;
}

body.premium .footer-section h4 { 
    color: #f3f4f6 !important; 
}

body.premium .footer-section p,
body.premium .footer-section a { 
    color: #94a3b8 !important; 
}

body.premium .footer-section a:hover { 
    color: #f3f4f6 !important; 
}

body.premium .footer-bottom {
    color: #9ca3af !important;
    border-top: 1px solid #1f2937 !important;
}

body.premium .delivery {
    background: #0b1220 !important;
    color: #e5e7eb !important;
    border-top: 1px solid #1f2937 !important;
}

body.premium .delivery h2 {
    color: #f3f4f6 !important;
}

body.premium .about {
    background: #0b1220 !important;
    color: #e5e7eb !important;
}

body.premium .about h2 {
    color: #f9fafb !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header - Premium Gray */
.header {
    background: linear-gradient(180deg, #6b7280 0%, #4b5563 100%) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2) !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15), 0 4px 16px rgba(0, 0, 0, 0.1) !important;
}

/* Блок под тулбаром - светодиодная лента (оптимизировано) */
:root {
    --led-yellow: #facc15;
    --led-yellow-light: #fbbf24;
    --led-orange: #f59e0b;
    --led-orange-dark: #d97706;
    --led-brown: #b45309;
    --led-brown-dark: #92400e;
    --led-brown-darker: #78350f;
    --led-glow-base: rgba(250, 204, 21, 0.4);
    --led-glow-strong: rgba(250, 204, 21, 0.6);
    --led-white: rgba(255, 255, 255, 0.8);
    --led-shadow-dark: rgba(0, 0, 0, 0.2);
}

.header-info-banner {
    --glow-shadow: 0 4px 12px var(--led-glow-base), 0 2px 6px rgba(250, 204, 21, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 -1px 0 var(--led-shadow-dark);
    background: linear-gradient(180deg, var(--led-yellow) 0%, var(--led-yellow-light) 15%, var(--led-orange) 30%, var(--led-orange-dark) 50%, var(--led-brown) 70%, var(--led-brown-dark) 85%, var(--led-brown-darker) 100%);
    color: #fff;
    padding: 0.75rem 0;
    margin-top: 100px;
    border-bottom: 2px solid rgba(250, 204, 21, 0.3);
    position: relative;
    z-index: 999;
    box-shadow: var(--glow-shadow);
    animation: ledGlow 3s ease-in-out infinite;
    overflow: hidden;
}

@keyframes ledGlow {
    0%, 100% { box-shadow: var(--glow-shadow); }
    50% { 
        box-shadow: 0 6px 16px var(--led-glow-strong), 0 3px 8px rgba(250, 204, 21, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 -1px 0 var(--led-shadow-dark);
    }
}

.header-info-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--led-white) 20%, var(--led-yellow) 50%, var(--led-white) 80%, transparent 100%);
    animation: ledScan 2s linear infinite;
}

@keyframes ledScan {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.header-info-banner .container {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.header-info-banner-text {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 0 8px rgba(250, 204, 21, 0.3);
    position: relative;
    z-index: 1;
}

.header-info-banner-text strong {
    color: #fff;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6), 0 0 10px rgba(250, 204, 21, 0.5), 0 0 20px rgba(250, 204, 21, 0.3);
}

@media (max-width: 768px) {
    .header-info-banner {
        margin-top: 70px;
        padding: 0.6rem 0;
    }

    .header-info-banner-text {
        font-size: 0.85rem;
    }
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
    gap: 0.75rem;
    flex-wrap: nowrap;
    overflow: visible;
}

.logo {
    flex-shrink: 0;
}

.nav {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff !important;
    margin-right: 1rem;
    position: relative;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
    flex-shrink: 0;
    white-space: nowrap;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    padding-bottom: 3px;
}

.logo:hover {
    transform: translateY(-2px);
}

.logo.active,
.logo--home.active {
    border-bottom-color: #d4af37;
    color: #ffffff !important;
}

.logo span {
    color: #d9a400 !important;
    font-weight: 800 !important;
    text-shadow: 0 1px 0 rgba(17, 24, 39, 0.95), 0 0 14px rgba(250, 204, 21, 0.28) !important;
}

.logo::before {
    display: none; /* Убираем псевдоэлемент, используем только img */
}

.logo i {
    margin-right: 0.5rem;
    font-size: 1.8rem;
    color: #6b7280;
}

.logo-img {
    display: block;
    height: 65px;
    width: auto;
    max-height: 65px;
    object-fit: contain;
    margin-right: 12px;
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    flex-shrink: 0;
}

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

@keyframes logoPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8)) 
                drop-shadow(0 0 12px rgba(255, 255, 255, 0.6))
                drop-shadow(0 0 16px rgba(255, 255, 255, 0.4));
    }
    50% {
        transform: scale(1.12);
        filter: drop-shadow(0 0 12px rgba(255, 255, 255, 1.0)) 
                drop-shadow(0 0 18px rgba(255, 255, 255, 0.8))
                drop-shadow(0 0 24px rgba(255, 255, 255, 0.6))
                drop-shadow(0 0 30px rgba(255, 255, 255, 0.4));
    }
}

.nav {
    display: flex;
    gap: 1rem;
    flex-wrap: nowrap;
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
}

.nav a,
.header .nav a {
    text-decoration: none;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
    letter-spacing: 0.01em;
    position: relative;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav a:hover,
.header .nav a:hover {
    color: #ffffff !important;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important;
}

.nav a.active,
.header .nav a.active {
    color: #ffffff !important;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-left: auto;
    flex-shrink: 0;
    white-space: nowrap;
}

.currency-selector {
    position: relative;
    margin-right: 8px;
}

.currency-select {
    background: linear-gradient(135deg, #374151 0%, #1f2937 50%, #374151 100%) !important;
    background-size: 200% 200% !important;
    animation: gradientShift 3s ease infinite !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    padding: 0.5rem 0.6rem 0.5rem 0.4rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 9L1 4h10z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat;
    background-position: right 0.4rem center;
    background-size: 10px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    min-width: 55px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
    position: relative;
    overflow: hidden;
    will-change: transform, box-shadow, background-position;
    height: 36px;
    line-height: 1.2;
}

.currency-select::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.currency-select:hover::before {
    left: 100%;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.currency-select:hover {
    background: linear-gradient(135deg, #1f2937 0%, #374151 50%, #1f2937 100%) !important;
    background-size: 200% 200% !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 20px rgba(31, 41, 55, 0.5) !important;
    transform: translateY(-2px) scale(1.02);
    animation-duration: 2s !important;
}

.currency-select:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

.currency-select:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 0 0 3px rgba(31, 41, 55, 0.4), 0 4px 12px rgba(0, 0, 0, 0.35) !important;
    animation-duration: 1.5s !important;
}

.currency-select option {
    background: #374151 !important;
    background-color: #374151 !important;
    color: #ffffff !important;
    padding: 0.5rem !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
}

/* Дополнительные стили для всех option в селекторе валюты */
#currencySelector option {
    background: #374151 !important;
    background-color: #374151 !important;
    color: #ffffff !important;
}

/* Стили для выбранной опции */
.currency-select option:checked {
    background: #1f2937 !important;
    background-color: #1f2937 !important;
    color: #ffffff !important;
}

.language-selector {
    position: relative;
    margin-right: 8px;
}

.language-select {
    background: linear-gradient(135deg, #374151 0%, #1f2937 50%, #374151 100%) !important;
    background-size: 200% 200% !important;
    animation: gradientShift 3s ease infinite !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    padding: 0.5rem 2rem 0.5rem 2.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 9L1 4h10z'/%3E%3C/svg%3E"), var(--flag-image, none) !important;
    background-repeat: no-repeat, no-repeat;
    background-position: right 0.4rem center, left 0.5rem center;
    background-size: 10px, 24px 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    min-width: 60px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
    position: relative;
    overflow: visible;
    will-change: transform, box-shadow, background-position;
    height: 36px;
    text-align: left;
    text-indent: 0;
    line-height: 1.2;
}

/* Флаг отображается через псевдоэлемент */
.language-select::after {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 18px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
    z-index: 10;
    display: block;
}

.language-select option {
    text-align: left;
    font-size: 0.9rem;
    padding: 0.5rem;
    background: #374151;
    color: #ffffff;
}

.language-select::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.language-select:hover::before {
    left: 100%;
}

.language-select:hover {
    background: linear-gradient(135deg, #1f2937 0%, #374151 50%, #1f2937 100%) !important;
    background-size: 200% 200% !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 20px rgba(31, 41, 55, 0.5) !important;
    transform: translateY(-2px) scale(1.02);
    animation-duration: 2s !important;
}

.language-select:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

.language-select:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 0 0 3px rgba(31, 41, 55, 0.4), 0 4px 12px rgba(0, 0, 0, 0.35) !important;
    animation-duration: 1.5s !important;
}

.cart-btn {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
    color: #1f2937 !important;
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
    padding: 0.5rem 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    height: 36px;
    width: 36px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-btn:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%) !important;
    border-color: rgba(0, 0, 0, 0.18) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%) !important;
    color: #1f2937 !important;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    box-shadow: 0 2px 4px rgba(212, 175, 55, 0.3);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 25%, #f3f4f6 50%, #e5e7eb 75%, #d1d5db 100%);
    background-size: 400% 400%;
    animation: heroGradientShift 15s ease infinite;
    color: #ffffff;
    padding: 6rem 0 1.5rem 0;
    margin-top: 100px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 120px;
    width: 100%;
    box-sizing: border-box;
}

@keyframes heroGradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 100px;
    width: 100%;
    text-align: left !important;
}

.hero-logo-text-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1.5rem;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 100%;
    padding: 0.5rem 0;
    box-sizing: border-box;
}

.hero-logo {
    height: 80px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    background: #ffffff;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.hero-title {
    margin: 0;
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
    text-align: left;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

.hero-content h1 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100%;
}

.hero-content p {
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    color: #ffffff;
    text-align: left;
    font-weight: 500;
}

.hero-tagline {
    background-image: url('images/logo.png');
    background-repeat: no-repeat;
    background-position: 0 center;
    background-size: 200px auto;
    padding-left: 220px;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    line-height: 1.5;
    max-width: 100%;
    word-wrap: break-word;
    color: #ffffff !important;
    font-weight: 600 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

.hero-content p .hero-inline-logo { width: 100px; height: 100px; object-fit: cover; border-radius: 50%; vertical-align: middle; margin-right: 8px; }

.hero-features {
    display: flex;
    justify-content: center;
    gap: 0.7rem;
    margin-bottom: 0.8rem;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 500;
}

.feature i {
    font-size: 0.9rem;
    color: #ffffff;
}

.orders-cta {
    background: #0b1220;
    color: #e5e7eb;
    padding: 3rem 0;
    border-bottom: 1px solid #1f2937;
}

.orders-cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.orders-cta h2 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    color: #f3f4f6;
}

.orders-cta p {
    max-width: 700px;
    color: #cbd5f5;
    line-height: 1.6;
}

.orders-cta .btn-primary {
    flex-shrink: 0;
    padding: 0.85rem 1.8rem;
    font-size: 1rem;
}

.usa-orders {
    background: #0b1220;
    color: #e5e7eb;
    padding: 4rem 0;
    border-bottom: 1px solid #1f2937;
}

.usa-header {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.usa-header h2 {
    font-size: 2.2rem;
    margin-bottom: 0.75rem;
    color: #f3f4f6;
}

.usa-header p {
    max-width: 640px;
    color: #cbd5f5;
    line-height: 1.6;
}

.usa-badges {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 220px;
}

.usa-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.12);
    color: #facc15;
    border: 1px solid rgba(250, 204, 21, 0.35);
    padding: 0.6rem 1rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.usa-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.usa-metric {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid #1f2937;
    border-radius: 14px;
    padding: 1.4rem 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.45);
}

.usa-metric-label {
    color: #9ca3af;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.usa-metric-value {
    font-size: 1.9rem;
    font-weight: 600;
    color: #f3f4f6;
}

.usa-orders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.8rem;
}

.china-filters,
.korea-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.2rem;
    align-items: end;
    margin-bottom: 2.5rem;
    padding: 1.25rem;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(30, 41, 59, 0.85);
    box-shadow: 0 12px 28px rgba(2, 6, 23, 0.45);
}

.china-filters .filter-group label,
.korea-filters .filter-group label {
    color: #cbd5f5;
}

.china-filters .filter-group select,
.china-filters .filter-group input,
.korea-filters .filter-group select,
.korea-filters .filter-group input {
    background: #0b1220;
    border: 1px solid #1f2937;
    color: #f3f4f6;
    border-radius: 10px;
    padding: 0.65rem 0.75rem;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.45);
}

.china-filters .filter-group select:focus,
.china-filters .filter-group input:focus,
.korea-filters .filter-group select:focus,
.korea-filters .filter-group input:focus {
    border-color: rgba(212, 175, 55, 0.65);
    outline: none;
}

.china-filters .filter-btn,
.korea-filters .filter-btn {
    align-self: center;
    background: rgba(212, 175, 55, 0.18);
    border: 1px solid rgba(212, 175, 55, 0.55);
    color: #facc15;
    padding: 0.7rem 1.5rem;
    border-radius: 999px;
    font-weight: 500;
}

.china-filters .filter-btn:hover,
.korea-filters .filter-btn:hover {
    background: rgba(212, 175, 55, 0.28);
    border-color: rgba(212, 175, 55, 0.85);
}

.usa-order-card {
    background: linear-gradient(160deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.92));
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 18px;
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    box-shadow: 0 16px 36px rgba(2, 6, 23, 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.usa-order-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(2, 6, 23, 0.6);
    border-color: rgba(250, 204, 21, 0.35);
}

.usa-order-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #f9fafb;
    line-height: 1.3;
}

.usa-order-meta {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    color: #94a3b8;
    font-size: 0.95rem;
}

.usa-order-meta span strong {
    color: #e2e8f0;
    font-weight: 500;
}

.usa-order-price {
    font-size: 1.6rem;
    font-weight: 600;
    color: #fde68a;
}

.usa-order-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.usa-order-actions .btn-secondary {
    background: transparent;
    border: 1px solid rgba(148, 163, 184, 0.35);
    color: #e5e7eb;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.2s;
}

.usa-order-actions .btn-secondary:hover {
    border-color: rgba(250, 204, 21, 0.55);
    color: #facc15;
}

.usa-order-actions .btn-primary {
    padding: 0.65rem 1.2rem;
    font-size: 0.95rem;
}

.usa-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    color: #94a3b8;
    padding: 3rem 1.5rem;
    border: 1px dashed rgba(148, 163, 184, 0.3);
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.4);
}

.usa-note {
    margin-top: 2.5rem;
    color: #9ca3af;
    font-size: 0.9rem;
    text-align: center;
}

.usa-note code {
    background: rgba(148, 163, 184, 0.18);
    padding: 0.2rem 0.45rem;
    border-radius: 6px;
    color: #e5e7eb;
}

.usa-subsection {
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.usa-subsection h3 {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
    color: #f3f4f6;
}

.usa-subsection-note {
    color: #94a3b8;
    max-width: 720px;
    line-height: 1.6;
    margin-bottom: 1.8rem;
}

.usa-under-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.6rem;
}

.orders-card {
    background: linear-gradient(160deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.92));
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 16px 36px rgba(2, 6, 23, 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.orders-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.orders-card:hover {
    transform: translateY(-6px);
    border-color: rgba(250, 204, 21, 0.35);
    box-shadow: 0 22px 44px rgba(2, 6, 23, 0.55);
}

.orders-card-body {
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.orders-card h4 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #f9fafb;
    margin: 0;
}

.orders-card-desc {
    font-size: 0.875rem;
    color: #9ca3af;
    margin: 0;
    line-height: 1.4;
}

.util-badge {
    display: inline-block;
    background-color: #22c55e;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    margin-right: 0.3rem;
    vertical-align: middle;
}

.usa-preferential-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: rgba(34, 197, 94, 0.15);
    color: #bbf7d0;
    border: 1px solid rgba(34, 197, 94, 0.35);
    border-radius: 999px;
    padding: 0.25rem 0.6rem;
}

.usa-preferential-meta {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    color: #cbd5f5;
    font-size: 0.875rem;
}

.usa-preferential-meta li {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
}

.usa-preferential-meta li span {
    color: #f3f4f6;
    font-weight: 500;
}

.usa-preferential-price {
    font-size: 1.35rem;
    font-weight: 600;
    color: #f97316;
}

.orders-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    color: #cbd5f5;
    font-size: 0.9rem;
}

.orders-highlights li {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.orders-highlights li i {
    color: #34d399;
}

.cta-btn {
    background: #6b7280;
    color: #fff;
    border: 1px solid #6b7280;
    padding: 0.55rem 1.1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.2s;
}

.cta-btn:hover {
    background: #4b5563;
    border-color: #4b5563;
}

/* Catalog Section */
.catalog {
    padding: 3rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    background-size: 200% 200%;
    animation: catalogGradient 15s ease infinite;
}

@keyframes catalogGradient {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.catalog h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #1f2937 !important;
    font-weight: 700;
}

.catalog-filters {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    align-items: end;
    background: #f3f4f6;
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid #d1d5db;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label {
    font-weight: 400;
    color: #6b7280;
    font-size: 0.9rem;
}

.filter-group select,
.filter-group input {
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 0.9rem;
    min-width: 120px;
    background: #ffffff !important;
    color: #1f2937 !important;
}

.filter-group select:focus,
.filter-group input:focus {
    outline: none;
    border-color: #6b7280;
}

.filter-btn {
    background: #6b7280;
    color: #fff;
    border: 1px solid #6b7280;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 400;
    transition: all 0.2s;
}

.filter-btn:hover {
    background: #4b5563;
    border-color: #4b5563;
}

.cars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.car-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    max-width: 100%;
}

.car-card:hover {
    border-color: #9ca3af;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.car-image {
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    position: relative;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 3rem;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: 8px 8px 0 0;
}

.car-gallery-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.car-gallery-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: none;
    background: #000000;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.3s ease;
    box-sizing: border-box;
    padding: 8px;
}

.car-gallery-img.active {
    display: block;
    opacity: 1;
}

.car-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    background: #000000;
    box-sizing: border-box;
    padding: 8px;
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    transition: all 0.3s ease;
    opacity: 0.7;
    pointer-events: auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.car-image:hover .gallery-arrow {
    opacity: 1;
}

.gallery-arrow:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.gallery-arrow:active {
    transform: translateY(-50%) scale(1.05);
    background: rgba(0, 0, 0, 1);
}

.gallery-arrow-prev {
    left: 10px;
}

.gallery-arrow-next {
    right: 10px;
}

.gallery-arrow i {
    font-size: 18px;
}

.single-photo-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.single-photo-container img.car-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.car-image-fallback {
    position: absolute;
    inset: 0;
    display: none;
}

.car-photo.is-hidden {
    opacity: 0;
}

.sold-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.65));
}

.sold-overlay__label {
    padding: 0.6rem 1.6rem;
    border-radius: 999px;
    background: rgba(239, 68, 68, 0.95);
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.08em;
    font-size: 1rem;
    text-transform: uppercase;
    box-shadow: 0 10px 24px rgba(239, 68, 68, 0.45);
}

/* Ensure gallery images in modal are fully visible and not cropped */
.gallery-container img {
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    object-position: center !important;
}

/* Мобильные устройства - уменьшаем размер фотографий на 35% */
@media (max-width: 768px) {
    .car-image img {
        object-fit: cover;
        object-position: center;
        transform: none;
    }

    /* Apply the same scaling to images inside the modal gallery */
    .gallery-container img {
        transform: none;
    }
}

.car-info {
    padding: 1.2rem;
}

.car-title {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 0.6rem;
    color: #374151;
}

.car-details {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-bottom: 1.2rem;
    color: #6b7280;
    font-size: 0.95rem;
}

.car-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #111827 !important;
    margin-bottom: 0.8rem;
}

.car-price-full {
    font-size: 1rem;
    font-weight: 600;
    color: #d1fae5 !important;
    margin-bottom: 0.8rem;
    padding: 0.5rem;
    background: rgba(6, 78, 59, 0.3);
    border: 1px solid rgba(74, 222, 128, 0.34);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.car-price-full--estimate {
    background: rgba(250, 204, 21, 0.14);
}

.car-price-full-label {
    font-size: 0.85rem;
    color: #a7f3d0 !important;
    font-weight: 700;
}

.car-price-full-value {
    font-size: 1.1rem;
    color: #f8fafc !important;
    font-weight: 800;
}

.car-price-full-note {
    color: #6b7280;
    font-size: 0.82rem;
    font-weight: 600;
}

body.premium .korea-card .car-price-full {
    color: #d1fae5 !important;
    background: rgba(6, 78, 59, 0.32) !important;
    border: 1px solid rgba(74, 222, 128, 0.38) !important;
}

body.premium .korea-card .car-price-full-label {
    color: #cbd5e1 !important;
}

body.premium .korea-card .car-price-full-value {
    color: #bbf7d0 !important;
}

.car-specs {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: #d5deeb !important;
    font-size: 0.9rem;
}

.car-spec-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0;
    color: #d5deeb !important;
    font-size: 0.9rem;
    line-height: 1.4;
}

.car-spec-item a {
    color: #2563eb !important;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid #2563eb;
    transition: color 0.2s;
}

.car-spec-item a:hover {
    color: #1d4ed8 !important;
    border-bottom-color: #1d4ed8;
}

.car-actions {
    display: flex;
    gap: 0.6rem;
    margin-top: auto;
}

.btn-primary {
    background: #6b7280;
    color: #fff;
    border: 1px solid #6b7280;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 400;
    transition: all 0.2s;
    flex: 1;
}

.btn-primary:hover {
    background: #4b5563;
    border-color: #4b5563;
}

.btn-secondary {
    background: transparent;
    color: #6b7280;
    border: 1px solid #d1d5db;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 400;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
    color: #374151;
}

/* Delivery Section */
.delivery {
    padding: 3rem 0;
    background: #f3f4f6;
    border-top: 1px solid #d1d5db;
}

.delivery h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #374151;
    font-weight: 500;
}

.delivery-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: start;
}

.delivery-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.step {
    text-align: center;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.step-number {
    width: 40px;
    height: 40px;
    background: #6b7280;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0 auto 1rem;
}

.step h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #374151;
    font-weight: 500;
}

.step p {
    color: #6b7280;
    line-height: 1.5;
    font-size: 0.9rem;
}

.delivery-info {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Customs Calculator */
.customs { padding: 3rem 0; background: #0b1220; border-top: 1px solid #1f2937; }
.customs h2 { text-align:center; font-size: 2rem; margin-bottom: 1.5rem; color: #f9fafb; }
.customs-content { background:#0e1626; border:1px solid #1f2937; border-radius:8px; padding:1.5rem; box-shadow: 0 8px 20px rgba(0,0,0,.35); }
.calc-form { display:grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; align-items:end; }
.calc-row { display:flex; flex-direction:column; gap:0.5rem; }
.calc-row label { color:#9ca3af; font-size:0.9rem; }
.calc-row input, .calc-row select { padding:0.6rem; border:1px solid #374151; border-radius:6px; background:#0b1220; color:#e5e7eb; }
.calc-actions { display:flex; gap:0.75rem; }
.calc-result { margin-top:1rem; padding:1rem; background:#0b1220; border:1px solid #1f2937; border-radius:6px; color:#e5e7eb; font-weight:500; }

.request-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.request-form .form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.request-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.request-form .form-group label {
    color: #cbd5f5;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
}

.request-form .form-group input,
.request-form .form-group textarea {
    padding: 0.65rem 0.9rem;
    border-radius: 10px;
    border: 1px solid #1f2937;
    background: #0b1220;
    color: #f3f4f6;
    font-size: 0.95rem;
    box-shadow: inset 0 2px 4px rgba(15, 23, 42, 0.45);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.request-form .form-group input::placeholder,
.request-form .form-group textarea::placeholder {
    color: #6b7280;
}

.request-form .form-group input:focus,
.request-form .form-group textarea:focus {
    border-color: rgba(212, 175, 55, 0.7);
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.request-form textarea {
    min-height: 100px;
    resize: vertical;
}

/* Стили для calc-form на index.html */
.calc-row--full {
    grid-column: 1 / -1;
}

.request-form__contacts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.request-form__field {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.request-form__field label {
    color: #cbd5f5 !important;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
}

.request-form__field input {
    padding: 0.65rem 0.9rem;
    border-radius: 10px;
    border: 1px solid #1f2937;
    background: #0b1220 !important;
    color: #f3f4f6 !important;
    font-size: 0.95rem;
    box-shadow: inset 0 2px 4px rgba(15, 23, 42, 0.45);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.request-form__field input:focus {
    border-color: rgba(212, 175, 55, 0.7);
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.calc-actions--full {
    grid-column: 1 / -1;
    margin-top: 0.5rem;
}

.calc-actions--full .btn-primary {
    width: 100%;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.floating-subscribe {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1200;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: 18px;
    box-shadow: 0 16px 48px rgba(2, 6, 23, 0.55);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, opacity 0.3s ease;
    animation: subtlePulse 4s ease-in-out infinite;
}

.floating-subscribe__inner {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem 1.1rem;
    max-width: 280px;
}

.floating-subscribe__title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 600;
    color: #f3f4f6;
}

.floating-subscribe__title i {
    color: #2ba8e0;
}

.floating-subscribe__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(120deg, #2ba8e0, #6c5ce7);
    color: #ffffff;
    text-decoration: none;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-subscribe__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(108, 92, 231, 0.45);
}

.floating-subscribe__link {
    animation: subtlePulse 4s ease-in-out infinite;
}

@keyframes subtlePulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 rgba(108,92,231,0); }
    50% { transform: scale(1.03); box-shadow: 0 8px 18px rgba(108,92,231,0.25); }
}

.floating-subscribe__close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: transparent;
    border: none;
    color: #9ca3af;
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.floating-subscribe__close:hover {
    color: #f3f4f6;
}

.floating-subscribe--hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(40px);
}

.delivery-info h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #374151;
    font-weight: 500;
}

.delivery-info ul {
    list-style: none;
}

.delivery-info li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #374151;
    color: #d1d5db;
}

.delivery-info li:last-child {
    border-bottom: none;
}

.delivery-info li i {
    color: #10b981;
    margin-right: 0.5rem;
}

/* About Section */
.about {
    padding: 4rem 0;
    background: #111827;
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #f9fafb;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.about-feature {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    transition: transform 0.3s;
    background: #1f2937;
    border: 1px solid #374151;
}

.about-feature:hover {
    transform: translateY(-5px);
    border-color: #4b5563;
}

.about-feature i {
    font-size: 3rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.about-feature h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #f9fafb;
}

.about-feature p {
    color: #9ca3af;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 3rem 0;
    background: #ffffff;
    border-top: 1px solid #d1d5db;
}

.contact h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #374151;
    font-weight: 500;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f3f4f6;
    border-radius: 6px;
    border: 1px solid #d1d5db;
}

.contact-item i {
    font-size: 1.25rem;
    color: #6b7280;
    width: 30px;
    text-align: center;
}

.contact-item h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: #374151;
    font-weight: 500;
}

.contact-item p {
    color: #6b7280;
    font-size: 0.9rem;
}

.contact-item p a {
    color: #374151;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-item p a:hover {
    color: #6b7280;
    text-decoration: underline;
}

.contact-form {
    background: #f3f4f6;
    padding: 1.5rem;
    border-radius: 6px;
    border: 1px solid #d1d5db;
}

.contact-form h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #374151;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    margin-bottom: 1rem;
    font-family: inherit;
    background: #ffffff !important;
    color: #1f2937 !important;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #6b7280;
}

.contact-form textarea {
    height: 120px;
    resize: vertical;
}

.contact-form button {
    background: #6b7280;
    color: #fff;
    border: 1px solid #6b7280;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 400;
    transition: all 0.2s;
    width: 100%;
}

.contact-form button:hover {
    background: #4b5563;
    border-color: #4b5563;
}

/* Footer */
.footer {
    background: #f3f4f6;
    color: #6b7280;
    padding: 2rem 0 1rem;
    border-top: 1px solid #d1d5db;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: #374151;
    font-weight: 500;
}

.footer-section p {
    color: #6b7280;
    line-height: 1.5;
    font-size: 0.9rem;
}

.footer-section p a {
    color: #374151;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-section p a:hover {
    color: #6b7280;
    text-decoration: underline;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    padding: 0.25rem 0;
    color: #6b7280;
    font-size: 0.9rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #d1d5db;
    color: #9ca3af;
    font-size: 0.9rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}
.modal .modal-content h3 { color: var(--text-color); }
.modal input[type="text"], .modal input[type="tel"], .modal input[type="email"]{
    padding: 0.8rem 1rem; border-radius: 8px; border: 1px solid var(--border-color);
    background: var(--card-bg); color: var(--text-color);
}

.modal-content {
    background-color: #1f2937 !important;
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 650px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.5);
    border: 1px solid #374151;
    display: flex;
    flex-direction: column;
    color: #e5e7eb !important;
}

.car-modal .modal-content {
    max-width: 900px;
    max-height: 85vh;
}

/* Галерея в модальном окне */
.car-gallery {
    width: 100%;
    margin-bottom: 1.5rem;
}

.car-gallery .gallery-container {
    position: relative;
    width: 100%;
    height: 40vh;
    max-height: 400px;
    min-height: 300px;
    overflow: hidden;
    border-radius: 12px;
    background: #1f2937;
    display: flex;
    align-items: center;
    justify-content: center;
}

.car-gallery .gallery-track {
    display: flex;
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform 0.4s ease;
}

.car-gallery .gallery-slide {
    min-width: 100%;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.car-gallery .gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
}

.car-gallery .gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    z-index: 100;
    transition: all 0.3s;
    pointer-events: auto;
}

.car-gallery .gallery-nav-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.car-gallery .gallery-prev {
    left: 15px;
}

.car-gallery .gallery-next {
    right: 15px;
}

.car-gallery .gallery-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.car-gallery .gallery-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.car-gallery .gallery-dot.active {
    background: white;
    transform: scale(1.2);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #374151;
}

.modal-header h3 {
    margin: 0;
    color: #f9fafb !important;
}

.close {
    color: #9ca3af;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
    background: none;
    border: none;
    padding: 0;
    line-height: 1;
}

.close:hover {
    color: #f3f4f6;
}

.modal-body {
    padding: 1.5rem;
    color: #e5e7eb !important;
    overflow-y: auto;
    flex: 1;
    max-height: calc(85vh - 120px);
    background: #1f2937 !important;
}

.modal-body p,
.modal-body span,
.modal-body div,
.modal-body label {
    color: #e5e7eb !important;
}

.modal-body h1,
.modal-body h2,
.modal-body h3,
.modal-body h4,
.modal-body h5,
.modal-body h6 {
    color: #f9fafb !important;
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid #374151;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-total {
    font-size: 1.25rem;
    color: #f9fafb !important;
}

.checkout-btn {
    background: #4b5563;
    color: #f3f4f6;
    border: 1px solid #6b7280;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.checkout-btn:hover {
    background: #6b7280;
    border-color: #9ca3af;
}

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

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

.cart-item-info h4 {
    margin-bottom: 0.25rem;
    color: #f9fafb !important;
}

.cart-item-info p {
    color: #d1d5db !important;
    font-size: 0.9rem;
}

.cart-item-price {
    font-weight: 600;
    color: #f9fafb !important;
}

.remove-item {
    background: #dc2626;
    color: white;
    border: none;
    padding: 0.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8rem;
}

.remove-item:hover {
    background: #b91c1c;
}

/* Google Drive iframe styles to hide file names */
.car-image iframe,
.gallery-container iframe {
    pointer-events: auto;
}

/* Hide file names in Google Drive embedded view */
.car-image iframe::after,
.gallery-container iframe::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    pointer-events: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        min-height: 160px;
    }
    
    .hero-logo {
        height: 100px;
        max-width: 90%;
    }
    
    .hero-title {
        font-size: clamp(1.2rem, 5vw, 1.8rem);
    }
    
    .hero-logo-text-container {
        gap: 1.5rem;
        padding: 1rem;
    }
    
    .cars-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .delivery-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .china-filters,
    .korea-filters {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .header-content {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        gap: 0.5rem;
        padding: 0.65rem 0;
    }

    .nav {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-content h1 {
        font-size: 1.2rem;
    }

    .hero-content p {
        font-size: 0.8rem;
    }
    
    .hero-tagline {
        background-size: 150px 150px;
        padding-left: 170px;
        min-height: 150px;
    }

    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .orders-cta-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .usa-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .usa-badges {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .usa-orders-grid {
        grid-template-columns: 1fr;
    }

    .usa-under-grid {
        grid-template-columns: 1fr;
    }

    .catalog-filters {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .filter-group {
        width: 100%;
    }

    .filter-group select,
    .filter-group input {
        width: 100%;
        min-width: auto;
    }

    .delivery-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .delivery-steps {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cars-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .car-info {
        padding: 1rem;
    }

    .car-title {
        font-size: 1.1rem;
    }

    .car-price {
        font-size: 1.3rem;
    }

    .car-actions {
        flex-direction: column;
        gap: 0.5rem;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        padding: 0.75rem 1rem;
    }

    .modal-content { width: 96%; margin: 14% auto; padding: 1rem; }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }

    .china-filters,
    .korea-filters {
        grid-template-columns: 1fr;
        padding: 1rem;
        gap: 0.75rem;
    }

    .china-filters .filter-btn,
    .korea-filters .filter-btn {
        width: 100%;
    }

    .request-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .request-form__contacts {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        max-height: 95vh;
        margin: 2% auto;
    }
    
    .parts-list {
        grid-template-columns: 1fr !important;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .request-form textarea {
        min-height: 80px;
    }
    
    .header .language-selector {
        display: none;
    }
    
    .header-actions {
        gap: 0.5rem;
    }

    .floating-subscribe {
        left: 16px;
        right: 16px;
    }

    .floating-subscribe__inner {
        max-width: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .cars-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 4rem 0 1.5rem;
    }

    .hero-content h1 {
        font-size: 1.1rem;
    }

    .hero-content p {
        font-size: 0.75rem;
    }
    
    .hero-tagline {
        background-size: 120px 120px;
        padding-left: 140px;
        min-height: 120px;
    }

    .catalog h2,
    .delivery h2,
    .about h2,
    .contact h2 {
        font-size: 1.75rem;
    }

    .car-info {
        padding: 0.8rem;
    }

    .car-title {
        font-size: 1rem;
    }

    .car-price {
        font-size: 1.2rem;
    }

    .contact-item {
        padding: 0.8rem;
    }

    .step {
        padding: 1rem;
    }

    .delivery-info {
        padding: 1rem;
    }

    .floating-subscribe {
        bottom: 16px;
        left: 12px;
        right: 12px;
    }
}

/* Parts Orders Page Styles */
.parts-category {
    margin-bottom: 3rem;
}

.parts-category h3 {
    color: #f3f4f6;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
    font-weight: 700;
}

.parts-category h4 {
    color: #d4af37;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
    font-weight: 600;
}

.parts-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

.part-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(30, 41, 59, 0.9) 100%);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    padding: 1.25rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.part-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.part-card:hover {
    border-color: rgba(212, 175, 55, 0.5);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3), 0 4px 12px rgba(0, 0, 0, 0.3);
}

.part-card:hover::before {
    left: 100%;
}

.part-card .btn-primary {
    width: 100%;
    margin-top: 0.75rem;
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
}

#partsCatalog {
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 768px) {
    .parts-list {
        grid-template-columns: 1fr !important;
    }
}

body.premium .car-card .car-specs,
body.premium .orders-card .car-specs,
body.premium .korea-card .kspec-list,
body.premium .korea-card .kspec-item,
body.premium .korea-card .kspec-key,
body.premium .korea-card .kspec-val {
    color: #d5deeb !important;
}

/* Vehicle selection request modal */
#requestModal {
    padding: 24px;
    overflow-y: auto;
}

#requestModal .request-modal__content {
    width: min(720px, 100%);
    max-width: 720px;
    max-height: calc(100dvh - 48px);
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
}

#requestModal .modal-header {
    flex: 0 0 auto;
    padding: 1rem 1.25rem;
}

#requestModal .modal-header h3 {
    font-size: 1.2rem;
}

#requestModal .close {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 6px;
    font-size: 1.75rem;
}

#requestModal .close:hover {
    background: rgba(148, 163, 184, 0.12);
}

#requestModal .modal-body {
    min-height: 0;
    max-height: none;
    padding: 1.1rem 1.25rem 1.25rem;
    overflow-y: auto;
}

#requestModal .request-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem 1rem;
    width: 100%;
    align-items: start;
}

#requestModal .request-form .calc-row {
    display: flex;
    min-width: 0;
    margin: 0;
    gap: 0.38rem;
}

#requestModal .request-form .calc-row label,
#requestModal .request-form__field label {
    color: #b8c5d8 !important;
    font-size: 0.75rem;
    line-height: 1.2;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
}

#requestModal .request-form input,
#requestModal .request-form textarea {
    display: block;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    margin: 0;
    border: 1px solid #39475d !important;
    border-radius: 6px;
    background: #111827 !important;
    color: #f8fafc !important;
    font: inherit;
    font-size: 0.9rem;
    line-height: 1.35;
    box-shadow: none;
}

#requestModal .request-form input {
    height: 42px;
    padding: 0 0.75rem;
}

#requestModal .request-form textarea {
    min-height: 76px;
    padding: 0.65rem 0.75rem;
    resize: vertical;
}

#requestModal .request-form input::placeholder,
#requestModal .request-form textarea::placeholder {
    color: #6f7e93;
    opacity: 1;
}

#requestModal .request-form input:focus,
#requestModal .request-form textarea:focus {
    outline: none;
    border-color: #d4af37 !important;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12);
}

#requestModal .request-form__price {
    grid-column: 1 / -1;
    width: calc(50% - 0.5rem);
}

#requestModal .calc-row--full,
#requestModal .calc-actions--full {
    grid-column: 1 / -1;
}

#requestModal .request-form__contacts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

#requestModal .request-form__field {
    min-width: 0;
    gap: 0.38rem;
}

#requestModal .calc-actions--full {
    margin: 0.1rem 0 0;
}

#requestModal .calc-actions--full .btn-primary {
    min-height: 44px;
    border-radius: 6px;
}

#requestModal #requestStatus:empty {
    display: none;
}

#requestModal #requestStatus {
    margin-top: 0.9rem;
}

body.request-modal-open {
    overflow: hidden;
}

body.request-modal-open .floating-subscribe,
body.request-modal-open .floating-wa,
body.request-modal-open .back-to-top,
body.request-modal-open #mobileBottomNav {
    visibility: hidden !important;
    pointer-events: none !important;
}

@media (max-width: 640px) {
    #requestModal {
        padding: 10px;
    }

    #requestModal .request-modal__content {
        max-height: calc(100dvh - 20px);
        margin: 0 auto;
    }

    #requestModal .modal-header {
        padding: 0.8rem 0.9rem;
    }

    #requestModal .modal-body {
        padding: 0.85rem 0.9rem 1rem;
    }

    #requestModal .request-form {
        grid-template-columns: 1fr 1fr;
        gap: 0.7rem;
    }

    #requestModal .request-form > .calc-row:not(.request-form__year) {
        grid-column: 1 / -1;
    }

    #requestModal .request-form__price {
        width: 100%;
    }

    #requestModal .request-form__contacts {
        grid-template-columns: 1fr 1fr;
        gap: 0.7rem;
    }

    #requestModal .request-form__field:first-child {
        grid-column: 1 / -1;
    }

    #requestModal .request-form input {
        height: 40px;
    }

    #requestModal .request-form textarea {
        min-height: 68px;
    }
}

.seo-faq {
    padding: 4rem 0;
    background: #0b1220;
}

.seo-faq__list {
    max-width: 900px;
    margin: 0 auto;
    border-top: 1px solid rgba(148, 163, 184, 0.25);
}

.seo-faq details {
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
    padding: 0;
}

.seo-faq summary {
    cursor: pointer;
    padding: 1.1rem 2.25rem 1.1rem 0;
    color: #f8fafc;
    font-size: 1rem;
    font-weight: 700;
}

.seo-faq details p {
    max-width: 760px;
    margin: 0;
    padding: 0 0 1.1rem;
    color: #a9bad2;
    line-height: 1.65;
}

/* EXPO MIR Premium page */
.premium-page {
    background: #080f1c;
}

.premium-page .header {
    position: sticky;
    top: 0;
}

.premium-header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    text-decoration: none;
}

.premium-hero {
    padding: clamp(5.5rem, 10vw, 8rem) 0 3.25rem;
    background:
        radial-gradient(circle at 82% 12%, rgba(250, 204, 21, 0.24), transparent 28rem),
        radial-gradient(circle at 8% 26%, rgba(59, 130, 246, 0.15), transparent 24rem),
        linear-gradient(180deg, #0b1220 0%, #080f1c 100%);
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.premium-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.55fr);
    gap: clamp(1.25rem, 4vw, 3rem);
    align-items: center;
}

.premium-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 0.9rem;
    color: #facc15;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0;
}

.premium-hero h1 {
    max-width: 850px;
    margin: 0;
    color: #f8fafc;
    font-size: clamp(2.2rem, 5vw, 5rem);
    line-height: 0.96;
    letter-spacing: 0;
}

.premium-hero p:not(.premium-eyebrow) {
    max-width: 760px;
    margin: 1.15rem 0 0;
    color: #bfd0e7;
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.65;
}

.premium-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.55rem;
}

.premium-hero__panel {
    min-height: 310px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 0.8rem;
    padding: 2rem;
    border: 1px solid rgba(250, 204, 21, 0.28);
    border-radius: 18px;
    background:
        linear-gradient(145deg, rgba(15, 23, 42, 0.88), rgba(30, 41, 59, 0.58)),
        radial-gradient(circle at 50% 0%, rgba(250, 204, 21, 0.16), transparent 18rem);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.36);
}

.premium-hero__panel img {
    width: min(170px, 54vw);
    height: auto;
    border-radius: 4px;
}

.premium-hero__panel strong {
    color: #f8fafc;
    font-size: 1.5rem;
}

.premium-hero__panel span {
    color: #facc15;
    font-weight: 800;
}

.premium-catalog {
    padding: 3rem 0 5rem;
    background: #080f1c;
}

.premium-catalog__head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: end;
    margin-bottom: 1.35rem;
}

.premium-catalog__head h2 {
    margin: 0;
    color: #f8fafc;
    font-size: clamp(1.8rem, 3vw, 3rem);
}

.premium-catalog__head p {
    margin: 0.45rem 0 0;
    color: #9fb4d1;
}

.premium-count {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0.45rem 0.9rem;
    border: 1px solid rgba(250, 204, 21, 0.34);
    border-radius: 999px;
    color: #facc15;
    background: rgba(250, 204, 21, 0.08);
    font-weight: 900;
}

.premium-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
}

.premium-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 16px;
    background: linear-gradient(160deg, rgba(15, 23, 42, 0.98), rgba(30, 41, 59, 0.92));
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
}

.premium-card__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    background: #050914;
    overflow: hidden;
}

.premium-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.premium-card:hover .premium-card__image {
    transform: scale(1.035);
}

.premium-card__badge {
    position: absolute;
    left: 12px;
    top: 12px;
    padding: 0.34rem 0.62rem;
    border-radius: 999px;
    color: #111827;
    background: linear-gradient(135deg, #fde68a, #facc15);
    font-weight: 900;
    font-size: 0.82rem;
}

.premium-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1rem;
}

.premium-card__brand {
    color: #facc15;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.84rem;
}

.premium-card h3 {
    min-height: 2.6em;
    margin: 0.35rem 0 0;
    color: #f8fafc;
    font-size: 1.2rem;
    line-height: 1.18;
}

.premium-card__price {
    margin-top: 0.85rem;
    color: #fde68a;
    font-size: 1.55rem;
    font-weight: 900;
}

.premium-card__subtitle {
    min-height: 1.4rem;
    margin-top: 0.15rem;
    color: #a7b8d1;
    font-weight: 700;
}

.premium-card__specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
    margin: 1rem 0 0;
}

.premium-card__specs div {
    min-width: 0;
    padding: 0.62rem;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.64);
}

.premium-card__specs dt {
    color: #9fb4d1;
    font-size: 0.76rem;
}

.premium-card__specs dd {
    overflow: hidden;
    margin: 0.1rem 0 0;
    color: #f8fafc;
    font-weight: 800;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.premium-card__actions {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 0.55rem;
    margin-top: auto;
    padding-top: 1rem;
}

.premium-card__source,
.premium-card__whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 900;
}

.premium-card__source {
    border: 1px solid rgba(148, 163, 184, 0.32);
    color: #dbeafe;
}

.premium-card__whatsapp {
    gap: 0.45rem;
    color: #07111f;
    background: #22c55e;
}

.premium-empty {
    grid-column: 1 / -1;
    min-height: 150px;
    display: grid;
    place-items: center;
    border: 1px dashed rgba(148, 163, 184, 0.32);
    border-radius: 16px;
    color: #bfd0e7;
    background: rgba(15, 23, 42, 0.52);
}

@media (max-width: 780px) {
    .premium-hero {
        padding-top: 7rem;
    }

    .premium-hero__inner {
        grid-template-columns: 1fr;
    }

    .premium-hero__panel {
        min-height: 180px;
        padding: 1.2rem;
    }

    .premium-catalog__head {
        align-items: start;
        flex-direction: column;
    }

    .premium-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .nav-premium-link {
        padding: 7px 10px !important;
    }

    .premium-header-cta {
        display: none !important;
    }

    .premium-hero h1 {
        font-size: 2.25rem;
    }
}
