/* Foton Truck Center — Premium Styles */

/* === FONTS === */
/* Inter loaded via <link> in HTML head for better performance */

@font-face {
    font-family: 'FotonType';
    src: url('../fonts/FotonType-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* === VARIABLES === */
:root {
    --primary: #1a6bb5;
    --primary-dark: #0d2e4f;
    --primary-light: #3d8fd4;
    --primary-vivid: #2196F3;
    --accent: #ff4444;
    --accent-hover: #e03030;
    --success: #22c55e;
    --bg: #ffffff;
    --bg-alt: #f7f8fa;
    --bg-dark: #0b1929;
    --text: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow: 0 4px 16px rgba(0,0,0,0.06);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.12);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-xs: 6px;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 400;
    font-size: 15px;
    color: var(--text);
    line-height: 1.6;
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: color 0.2s var(--ease); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
    background: none;
}
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}
::selection { background: var(--primary); color: #fff; }
.hidden { display: none !important; }

/* Foton brand font — only for brand names */
.brand-font { font-family: 'FotonType', 'Inter', sans-serif; letter-spacing: 0.03em; }

/* === CONTAINER === */
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ===== TOP BAR ===== */
.top-bar {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    padding: 6px 0;
    letter-spacing: 0.01em;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.top-bar a { color: rgba(255,255,255,0.85); }
.top-bar a:hover { color: #fff; }
.top-bar-left, .top-bar-right { display: flex; gap: 20px; align-items: center; }

/* ===== HEADER ===== */
.header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.3s var(--ease);
}
.header.scrolled { box-shadow: var(--shadow); }
.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 16px;
}
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo img { height: 44px; width: auto; filter: brightness(0) saturate(100%) invert(15%) sepia(40%) saturate(1500%) hue-rotate(185deg) brightness(90%); }
.logo-text {
    font-weight: 700;
    font-size: 15px;
    color: var(--primary-dark);
    line-height: 1.2;
    white-space: nowrap;
}
.logo-text small {
    font-weight: 400;
    font-size: 11px;
    color: var(--text-muted);
    display: block;
    margin-top: 1px;
}
.logo-sep {
    font-size: 28px;
    font-weight: 200;
    color: var(--border);
    line-height: 1;
    margin: 0 2px;
}
.model-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 180px;
    background: var(--bg-alt);
}

/* Nav */
.nav { display: flex; gap: 2px; align-items: center; }
.nav > li { position: relative; }
.nav > li > a {
    display: block;
    padding: 8px 14px;
    font-weight: 500;
    font-size: 14px;
    color: var(--text);
    border-radius: var(--radius-xs);
    transition: all 0.2s var(--ease);
    white-space: nowrap;
}
.nav > li > a:hover { color: var(--primary); background: var(--bg-alt); }
.nav > li > a.active { color: var(--primary); }
.dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-sm);
    min-width: 220px;
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s var(--ease);
}
.nav > li:hover .dropdown { opacity: 1; visibility: visible; }
.dropdown a {
    display: block;
    padding: 10px 14px;
    font-size: 14px;
    color: var(--text);
    border-radius: var(--radius-xs);
}
.dropdown a:hover { background: var(--bg-alt); color: var(--primary); }

.header-right { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.header-phone a {
    font-weight: 700;
    font-size: 16px;
    color: var(--primary-dark);
    white-space: nowrap;
}
.header-phone small { font-size: 11px; color: var(--text-muted); display: block; text-align: right; }

/* Burger */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    margin-right: -4px;
    border: none;
    background: none;
}
.burger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s var(--ease); }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 24px;
    border-radius: var(--radius-xs);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s var(--ease);
    white-space: nowrap;
    line-height: 1.4;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); box-shadow: 0 4px 12px rgba(26,107,181,0.3); }
.btn-outline { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-white { background: #fff; color: var(--primary-dark); }
.btn-white:hover { background: var(--bg-alt); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-hover); }
.btn-ghost { background: rgba(255,255,255,0.15); color: #fff; border: 1.5px solid rgba(255,255,255,0.35); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,0.25); border-color: rgba(255,255,255,0.6); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 14px 32px; font-size: 15px; }
.btn-block { width: 100%; }

/* ===== HERO ===== */
.hero { position: relative; overflow: hidden; }
.hero-slides { display: flex; transition: transform 0.7s var(--ease); }
.hero-slide {
    min-width: 100%;
    min-height: 560px;
    display: flex;
    align-items: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(11,25,41,0.85) 0%, rgba(11,25,41,0.55) 50%, rgba(11,25,41,0.15) 100%);
    z-index: 1;
}
.hero-slide .container { position: relative; z-index: 2; display: flex; align-items: center; justify-content: flex-start; }
.hero-content { max-width: 600px; }
.hero-tag {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}
.hero-content h1,
.hero-content .hero-title {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}
.hero-content p { font-size: 17px; opacity: 0.85; margin-bottom: 28px; line-height: 1.6; font-weight: 400; }
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
/* hero-image removed — full background photo only */
.hero-dots {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}
.hero-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    cursor: pointer;
    transition: all 0.3s var(--ease);
    border: none;
    padding: 0;
}
.hero-dot.active { background: #fff; width: 28px; border-radius: 4px; }
.hero-arrows {
    position: absolute; top: 50%; width: 100%;
    display: flex; justify-content: space-between;
    padding: 0 16px; z-index: 10;
    transform: translateY(-50%); pointer-events: none;
}
.hero-arrow {
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,255,255,0.12); backdrop-filter: blur(8px);
    color: #fff; display: flex; align-items: center; justify-content: center;
    cursor: pointer; pointer-events: all;
    transition: all 0.2s var(--ease);
    font-size: 16px; border: 1px solid rgba(255,255,255,0.15);
}
.hero-arrow:hover { background: rgba(255,255,255,0.25); }

/* ===== SECTION ===== */
.section { padding: 60px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--bg-dark); color: #fff; }
.section-gradient { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%); color: #fff; }

.section-header { text-align: center; max-width: 700px; margin: 0 auto 48px; }
.section-header h2 {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
    line-height: 1.2;
}
.section-header p { color: var(--text-secondary); font-size: 16px; line-height: 1.6; }
.section-dark .section-header p, .section-gradient .section-header p { color: rgba(255,255,255,0.65); }

/* ===== STATS BAR ===== */
.stats-bar { padding: 36px 0; }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}
.stat-item .stat-number, .stat-item h3 { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 4px; }
.stat-item p { font-size: 13px; opacity: 0.7; font-weight: 500; }

/* ===== MODEL CARDS ===== */
.models-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.models-grid--3 { grid-template-columns: repeat(3, 1fr); }
.model-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s var(--ease);
}
.model-card:hover { border-color: var(--primary); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.model-card-img {
    height: 180px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    position: relative;
}
.model-card-img img { max-height: 150px; object-fit: contain; transition: transform 0.4s var(--ease); mix-blend-mode: multiply; }
.model-card:hover .model-card-img img { transform: scale(1.04); }
.model-badge {
    position: absolute; top: 10px; left: 10px;
    background: var(--accent); color: #fff;
    padding: 3px 10px; border-radius: 20px;
    font-size: 11px; font-weight: 600;
    z-index: 2;
}
.model-card-img img { position: relative; z-index: 1; }
.model-card-body { padding: 16px; }
.model-card-body h3 { font-size: 15px; font-weight: 700; margin-bottom: 2px; }
.model-card-body .model-type { font-size: 12px; color: var(--text-muted); margin-bottom: 10px; }
.model-price { font-size: 18px; font-weight: 800; color: var(--primary); margin-bottom: 12px; }
.model-specs { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 14px; }
.model-spec {
    background: var(--bg-alt);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 500;
}
.model-actions { display: flex; gap: 6px; }
.model-actions .btn { flex: 1; padding: 9px 8px; font-size: 12px; }

/* ===== SPECIAL BANNER ===== */
.special-banner {
    margin-top: 32px;
    background: linear-gradient(135deg, var(--bg-alt) 0%, rgba(26,107,181,0.06) 100%);
    border: 1.5px dashed var(--primary-light);
    border-radius: var(--radius);
    padding: 32px;
    position: relative;
    overflow: hidden;
}
.special-banner-content { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.special-banner-text { flex: 1; }
.special-banner-text h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; color: var(--primary-dark); }
.special-banner-text p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 14px; }
.special-banner-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.special-banner-icon { flex-shrink: 0; opacity: 0.5; }
@media (max-width: 768px) {
    .special-banner { padding: 24px; }
    .special-banner-icon { display: none; }
}

/* ===== STOCK ===== */
.stock-filters { display: flex; gap: 8px; margin-bottom: 28px; flex-wrap: wrap; justify-content: center; }
.stock-filter {
    padding: 8px 18px; border-radius: 24px;
    border: 1.5px solid var(--border); background: #fff;
    cursor: pointer; font-weight: 500; font-size: 13px;
    transition: all 0.2s var(--ease);
}
.stock-filter:hover, .stock-filter.active { border-color: var(--primary); color: var(--primary); background: rgba(26,107,181,0.04); }
.stock-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stock-empty { grid-column: 1/-1; text-align: center; padding: 48px 20px; color: var(--text-muted); }
.stock-empty p { font-size: 15px; margin-bottom: 8px; }
.stock-empty a { color: var(--primary); font-weight: 600; }

/* Stock cards (loaded from JSON) */
.stock-card {
    background: #fff; border-radius: var(--radius);
    overflow: hidden; border: 1px solid var(--border);
    transition: all 0.3s var(--ease);
}
.stock-card:hover { border-color: var(--primary); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.stock-card-image {
    height: 180px; background: var(--bg-alt);
    display: flex; align-items: center; justify-content: center; padding: 16px;
}
.stock-card-image img { max-height: 150px; object-fit: contain; mix-blend-mode: multiply; }
.stock-card-body { padding: 16px; }
.stock-card-body h3 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.stock-vin { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.stock-specs-list { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 10px; }
.stock-spec-tag { background: var(--bg-alt); padding: 3px 8px; border-radius: 4px; font-size: 11px; color: var(--text-secondary); font-weight: 500; }
.stock-price { font-size: 20px; font-weight: 800; color: var(--primary); margin-bottom: 12px; }
.stock-card-actions { display: flex; gap: 6px; }
.stock-card-actions .btn { flex: 1; }

/* ===== OFFERS ===== */
.offers-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.offer-card {
    background: #fff;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    padding: 20px 12px 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s var(--ease);
}
.offer-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-3px); }
.offer-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}
.offer-card h3 { font-size: 13px; font-weight: 700; margin-bottom: 2px; line-height: 1.3; }
.offer-card p { font-size: 11px; color: var(--text-muted); line-height: 1.4; margin: 0; }

/* Offer bg */
.bg-blue { background: linear-gradient(135deg, #1a6bb5, #0d2e4f); }
.bg-red { background: linear-gradient(135deg, #ef4444, #991b1b); }
.bg-green { background: linear-gradient(135deg, #22c55e, #166534); }
.bg-amber { background: linear-gradient(135deg, #f59e0b, #b45309); }
.bg-purple { background: linear-gradient(135deg, #8b5cf6, #5b21b6); }
.bg-teal { background: linear-gradient(135deg, #14b8a6, #0f766e); }

/* ===== ADVANTAGES ===== */
.advantages-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.advantage-card { text-align: center; padding: 32px 16px; border-radius: var(--radius-sm); }
.advantage-icon {
    width: 56px; height: 56px;
    margin: 0 auto 14px;
    background: rgba(255,255,255,0.1);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
}
.advantage-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.advantage-card p { font-size: 13px; opacity: 0.75; line-height: 1.5; }

/* ===== SERVICE CARDS ===== */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 28px 24px;
    border: 1px solid var(--border);
    transition: all 0.3s var(--ease);
    text-align: center;
}
.service-card:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.service-icon {
    width: 52px; height: 52px;
    margin: 0 auto 12px;
    background: rgba(26,107,181,0.08);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    color: var(--primary);
}
.service-icon svg { flex-shrink: 0; }
.service-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.service-card p { font-size: 13px; color: var(--text-secondary); margin-bottom: 14px; line-height: 1.5; }

/* ===== CALCULATOR ===== */
/* Model selector */
.calc-models {
    display: flex; gap: 8px; margin-bottom: 32px;
    overflow-x: auto; padding-bottom: 4px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}
.calc-model {
    flex-shrink: 0;
    display: flex; flex-direction: column; align-items: center;
    background: #fff; border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 16px 10px;
    cursor: pointer; transition: all 0.2s var(--ease);
    min-width: 110px;
}
.calc-model:hover { border-color: var(--primary-light); }
.calc-model.active { border-color: var(--primary); background: rgba(26,107,181,0.04); box-shadow: 0 0 0 3px rgba(26,107,181,0.12); }
.calc-model img { height: 48px; object-fit: contain; margin-bottom: 6px; mix-blend-mode: multiply; }
.calc-model span { font-size: 12px; font-weight: 700; color: var(--text); }
.calc-model small { font-size: 10px; color: var(--text-muted); margin-top: 2px; }

.calc-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.calc-form { display: flex; flex-direction: column; gap: 24px; }
.calc-group label {
    display: flex; justify-content: space-between; align-items: baseline;
    font-weight: 600; font-size: 13px; margin-bottom: 8px;
    color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.04em;
}
.calc-val { font-size: 14px; font-weight: 700; color: var(--primary); text-transform: none; letter-spacing: 0; }
.calc-price-display, .calc-down-display {
    font-size: 26px; font-weight: 800; color: var(--text); margin-bottom: 10px;
    letter-spacing: -0.02em;
}
.calc-range {
    -webkit-appearance: none; appearance: none;
    width: 100%; height: 6px;
    background: var(--border); border-radius: 3px;
    border: none; cursor: pointer;
}
.calc-range::-webkit-slider-thumb {
    -webkit-appearance: none; width: 22px; height: 22px;
    border-radius: 50%; background: var(--primary);
    cursor: pointer; box-shadow: 0 2px 8px rgba(26,107,181,0.35);
    border: 3px solid #fff;
}
.calc-range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--primary); cursor: pointer; border: 3px solid #fff; }
.calc-term-marks { display: flex; justify-content: space-between; margin-top: 4px; font-size: 11px; color: var(--text-muted); }

.calc-result { background: var(--bg-alt); border-radius: var(--radius); padding: 24px; border: 1px solid var(--border); }

.calc-result-car { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.calc-result-car img { height: 56px; object-fit: contain; mix-blend-mode: multiply; }
.calc-result-car-name { font-size: 16px; font-weight: 700; color: var(--primary-dark); }

.calc-result-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.calc-result-row:last-of-type { border-bottom: none; }
.calc-result-row span:last-child { font-weight: 700; color: var(--primary); }
.calc-overpay { color: var(--text-muted) !important; font-weight: 500 !important; }
.calc-result-total {
    margin-top: 12px; padding-top: 12px; border-top: 2px solid var(--primary);
    display: flex; justify-content: space-between; font-size: 24px; font-weight: 800;
}
.calc-result-total span:last-child { color: var(--primary); }

.calc-bar { display: flex; height: 8px; border-radius: 4px; overflow: hidden; margin-top: 16px; }
.calc-bar-advance { background: var(--primary); transition: width 0.3s var(--ease); }
.calc-bar-body { background: var(--primary-light); transition: width 0.3s var(--ease); }
.calc-bar-legend { display: flex; gap: 16px; margin-top: 6px; font-size: 11px; color: var(--text-muted); }
.calc-bar-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 4px; vertical-align: middle; }

.calc-disclaimer { margin-top: 12px; font-size: 11px; color: var(--text-muted); }

/* ===== CONTACTS ===== */
.contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.contact-list { display: flex; flex-direction: column; gap: 12px; }
.contact-card {
    background: #fff; border-radius: var(--radius-sm);
    padding: 18px 20px; border: 1px solid var(--border);
}
.contact-card h3 { font-size: 14px; font-weight: 700; margin-bottom: 6px; color: var(--primary); }
.contact-card p { font-size: 13px; color: var(--text-secondary); margin-bottom: 2px; }
.contact-card a { color: var(--primary); font-weight: 500; }
.contact-map { border-radius: var(--radius); overflow: hidden; min-height: 380px; }
.contact-map iframe { width: 100%; height: 100%; border: none; min-height: 380px; }
#map { width: 100%; height: 100%; min-height: 380px; }

/* ===== CTA FORM ===== */
.cta-section { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%); padding: 56px 0; color: #fff; }
.cta-wrapper { max-width: 580px; margin: 0 auto; text-align: center; }
.cta-wrapper h2 { font-size: 26px; font-weight: 800; margin-bottom: 8px; }
.cta-wrapper > p { opacity: 0.75; margin-bottom: 24px; font-size: 15px; }
.cta-form { display: flex; gap: 8px; margin-bottom: 10px; }
.cta-form input {
    flex: 1; padding: 13px 16px; border-radius: var(--radius-xs);
    font-size: 15px; background: rgba(255,255,255,0.12); color: #fff;
    border: 1.5px solid rgba(255,255,255,0.25); min-width: 0;
}
.cta-form input::placeholder { color: rgba(255,255,255,0.5); }
.cta-form input:focus { border-color: #fff; background: rgba(255,255,255,0.18); }
.consent { font-size: 11px; opacity: 0.55; }
.consent a { text-decoration: underline; }

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed; left: 16px; right: 16px; bottom: 16px;
    z-index: 99998; max-width: 760px; margin: 0 auto;
    background: #fff; border: 1px solid rgba(0,0,0,0.08);
    border-radius: 14px; box-shadow: 0 12px 40px rgba(0,0,0,0.18);
    padding: 18px 22px; display: flex; align-items: center; gap: 18px;
    font-size: 13px; line-height: 1.5; color: #333;
    transform: translateY(140%); transition: transform .35s ease;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner a { color: var(--primary); text-decoration: underline; }
.cookie-banner-text { flex: 1; }
.cookie-banner .btn { flex-shrink: 0; white-space: nowrap; }
@media (max-width: 560px) {
    .cookie-banner { flex-direction: column; align-items: stretch; text-align: left; gap: 12px; }
    .cookie-banner .btn { width: 100%; }
}

/* ===== MODAL ===== */
.modal-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,0.5); backdrop-filter: blur(4px);
    z-index: 9999; align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.active { display: flex; }
.modal {
    background: #fff; border-radius: var(--radius);
    padding: 32px; max-width: 440px; width: 100%;
    position: relative; max-height: 90vh; overflow-y: auto;
    box-shadow: var(--shadow-xl);
}
.modal-close {
    position: absolute; top: 12px; right: 12px;
    background: var(--bg-alt); width: 32px; height: 32px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 18px; cursor: pointer; color: var(--text-muted);
    transition: all 0.2s var(--ease);
}
.modal-close:hover { background: var(--border); color: var(--text); }
.modal h2 { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.modal p { color: var(--text-secondary); font-size: 13px; margin-bottom: 18px; }
.modal-form { display: flex; flex-direction: column; gap: 10px; }
.modal-form input, .modal-form textarea {
    padding: 12px 14px; border: 1.5px solid var(--border);
    border-radius: var(--radius-xs); font-size: 14px;
    transition: border-color 0.2s var(--ease); width: 100%;
}
.modal-form input:focus, .modal-form textarea:focus { border-color: var(--primary); }
.modal-form textarea { resize: vertical; min-height: 64px; }

/* ===== FOOTER ===== */
.footer { background: var(--bg-dark); color: rgba(255,255,255,0.8); padding: 48px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer-brand img { height: 32px; margin-bottom: 14px; filter: brightness(0) invert(1); opacity: 0.8; }
.footer-brand p { font-size: 13px; opacity: 0.55; line-height: 1.6; }
.footer-col h4 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; opacity: 0.4; }
.footer-col a { display: block; font-size: 13px; padding: 3px 0; opacity: 0.65; transition: opacity 0.2s; }
.footer-col a:hover { opacity: 1; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 18px; display: flex; justify-content: space-between; font-size: 12px; opacity: 0.35; flex-wrap: wrap; gap: 8px; }

/* ===== PAGE HEADER ===== */
.page-hero { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: #fff; padding: 44px 0; text-align: center; }
.page-hero h1 { font-size: 30px; font-weight: 800; margin-bottom: 4px; }
.page-hero p { opacity: 0.7; font-size: 15px; }
.breadcrumbs { padding: 12px 0; font-size: 13px; color: var(--text-muted); }
.breadcrumbs a { color: var(--primary); font-weight: 500; }

/* About layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.split p { font-size: 15px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 10px; }
.split-img { border-radius: var(--radius); overflow: hidden; }
.split-img img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; background: var(--bg-alt); }

/* Telematic */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card { background: #fff; border-radius: var(--radius); padding: 24px; border: 1px solid var(--border); transition: all 0.3s var(--ease); }
.feature-card:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.feature-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }

/* Warranty Cards */
.warranty-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 800px; margin: 0 auto; }
.warranty-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); transition: all 0.3s var(--ease); }
.warranty-card:hover { border-color: var(--primary); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.warranty-card--accent { border-color: var(--primary-light); }
.warranty-card-header { padding: 24px; display: flex; align-items: center; gap: 14px; }
.warranty-card-header h3 { font-size: 18px; font-weight: 700; color: #fff; }
.warranty-card-body { padding: 24px; }
.warranty-card-body p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 18px; }
.warranty-items { list-style: none; margin-bottom: 20px; }
.warranty-items li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--text); }
.warranty-items li:last-child { border-bottom: none; }
.warranty-check { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: rgba(34,197,94,0.1); color: var(--success); display: flex; align-items: center; justify-content: center; }
.warranty-x { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: rgba(239,68,68,0.1); color: #ef4444; display: flex; align-items: center; justify-content: center; }
@media (max-width: 768px) { .warranty-grid { grid-template-columns: 1fr; } }

/* Legacy warranty list */
.warranty-list { margin-top: 12px; }
.warranty-list li { padding: 4px 0; font-size: 14px; color: var(--text-secondary); }

/* Cert headers */
.cert-header { height: 90px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; font-weight: 800; }

/* Policy page */
.policy-content { max-width: 800px; margin: 0 auto; }
.policy-content h2 { font-size: 20px; font-weight: 700; margin: 32px 0 14px; color: var(--primary-dark); }
.policy-content h2:first-child { margin-top: 0; }
.policy-content p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 10px; }
.policy-content ul { margin: 10px 0 16px 20px; }
.policy-content li { font-size: 14px; color: var(--text-secondary); line-height: 1.7; padding: 2px 0; list-style: disc; }
.policy-content a { color: var(--primary); }

/* Section heading inline */
.heading-sm { font-size: 20px; font-weight: 700; margin-bottom: 18px; color: var(--primary-dark); }
.heading-md { font-size: 26px; }

/* Utility */
.btn-group { margin-top: 20px; display: flex; gap: 10px; flex-wrap: wrap; }
.mt-18 { margin-top: 18px; }
.cert-desc { font-size: 13px; color: var(--text-secondary); margin-bottom: 14px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .nav { display: none; }
    .burger { display: flex; }
    .nav.open {
        display: flex; flex-direction: column;
        position: absolute; top: 100%; left: 0; right: 0;
        background: #fff; box-shadow: var(--shadow-lg);
        padding: 8px; gap: 0; border-bottom: 1px solid var(--border);
        z-index: 999;
    }
    .nav.open > li > a { padding: 12px 16px; border-radius: var(--radius-xs); }
    .nav.open .dropdown { position: static; opacity: 1; visibility: visible; box-shadow: none; border: none; padding-left: 16px; display: none; transform: none; min-width: 0; }
    .nav.open li.open .dropdown { display: block; }

    .models-grid, .models-grid--3 { grid-template-columns: repeat(2, 1fr); }
    .advantages-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(4, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-content h1,
.hero-content .hero-title { font-size: 34px; }
}

@media (max-width: 768px) {
    .hero-slide .container { text-align: center; justify-content: center; }
    .hero-content { max-width: 100%; }
    .hero-content h1,
.hero-content .hero-title { font-size: 28px; }
    .hero-content p { font-size: 15px; }
    .hero-buttons { justify-content: center; }
    .hero-slide { min-height: 420px; }
    .hero-slide::before { background: linear-gradient(180deg, rgba(11,25,41,0.8) 0%, rgba(11,25,41,0.6) 50%, rgba(11,25,41,0.4) 100%); }
    .hero-arrows { display: none; }

    .stock-grid, .offers-grid, .service-grid, .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .calc-wrapper, .contacts-grid, .split { grid-template-columns: 1fr; }
    .section { padding: 56px 0; }
    .section-header { margin-bottom: 32px; }
    .section-header h2 { font-size: 24px; }
    .stat-item .stat-number, .stat-item h3 { font-size: 32px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .cta-form { flex-direction: column; }
    .top-bar { display: none; }
    .header-phone { display: none; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .contact-map { min-height: 280px; }
    .contact-map iframe { min-height: 280px; }
    .model-card-body h3 { font-size: 14px; }
    .model-price { font-size: 16px; }
    .offers-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 480px) {
    .models-grid, .models-grid--3, .stock-grid, .service-grid, .feature-grid { grid-template-columns: 1fr; }
    .offers-grid { grid-template-columns: repeat(3, 1fr); }
    .offer-card { padding: 14px 8px 12px; }
    .offer-icon { width: 38px; height: 38px; border-radius: 10px; }
    .offer-icon svg { width: 18px; height: 18px; }
    .offer-card h3 { font-size: 11px; }
    .offer-card p { font-size: 10px; }
    .advantages-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .hero-content h1,
.hero-content .hero-title { font-size: 22px; }
    .hero-content p { font-size: 14px; margin-bottom: 20px; }
    .hero-tag { font-size: 11px; margin-bottom: 12px; }
    .hero-slide { min-height: 360px; }
    .hero-dots { bottom: 16px; }
    .btn-lg { padding: 12px 24px; font-size: 14px; }
    .btn-sm { padding: 8px 14px; font-size: 12px; }
    .container { padding: 0 16px; }
    .modal { padding: 24px 18px; margin: 12px; }
    .section { padding: 40px 0; }
    .section-header h2 { font-size: 22px; }
    .calc-result { padding: 20px; }
    .calc-models { gap: 6px; }
    .calc-model { min-width: 90px; padding: 8px 10px 6px; }
    .calc-model img { height: 36px; }
    .calc-model span { font-size: 10px; }
    .calc-model small { font-size: 9px; }
    .calc-price-display, .calc-down-display { font-size: 22px; }
    .calc-result-car img { height: 44px; }
    .calc-result-total { font-size: 18px; }
    .stats-bar { padding: 28px 0; }
    .stat-item .stat-number, .stat-item h3 { font-size: 28px; }
    .advantage-card { padding: 20px 12px; }
    .advantage-card h3 { font-size: 13px; }
    .advantage-card p { font-size: 12px; }
    .advantage-icon { width: 48px; height: 48px; }
    .advantage-icon svg { width: 22px; height: 22px; }
    .cta-wrapper h2 { font-size: 22px; }
    .header .container { height: 60px; }
    .logo { flex-shrink: 1; min-width: 0; }
    .logo img { height: 36px; }
    .logo-text { font-size: 13px; overflow: hidden; text-overflow: ellipsis; }
    .logo-text small { font-size: 10px; }
    .contact-card { padding: 14px 16px; }
    .stock-price { font-size: 18px; }
    .model-actions { flex-direction: column; }
    .model-actions .btn { font-size: 13px; padding: 10px 12px; }
}
