/* ============================================================
   AUTO GARAGE OCCASIONS - Modern Design 2026
   ============================================================ */

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

:root {
    --primary: #ff6b35;
    --primary-dark: #e85525;
    --secondary: #0a0a0a;
    --accent: #f7931e;
    --bg-dark: #050505;
    --text-dark: #111827;
    --text-light: #6b7280;
    --text-muted: #9ca3af;
    --white: #ffffff;
    --gray-light: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-800: #1e293b;
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.08);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.12);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== NAVBAR ===== */
.navbar {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 107, 53, 0.15);
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-size: 22px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.5px;
    transition: var(--transition);
}

.logo:hover {
    opacity: 0.9;
}

.logo-image {
    height: 36px !important;
    width: auto !important;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-menu a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.3px;
    transition: var(--transition);
    padding: 8px 18px;
    border-radius: 100px;
    position: relative;
}

.nav-menu a::after {
    display: none;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--white);
    background: rgba(255, 107, 53, 0.12);
}

.nav-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    padding: 10px 22px;
    border-radius: 100px;
    transition: var(--transition);
    text-decoration: none;
}

.nav-contact:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.35);
}

.contact-icon {
    font-size: 16px;
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(160deg, var(--bg-dark) 0%, #111827 50%, var(--secondary) 100%);
    color: white;
    padding: 120px 24px 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(247, 147, 30, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero h1 {
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -2px;
    line-height: 1.1;
    position: relative;
    z-index: 1;
}

.hero h1::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    margin: 24px auto 0;
    border-radius: 2px;
}

.hero p {
    font-size: clamp(16px, 2vw, 20px);
    opacity: 0.7;
    max-width: 560px;
    margin: 0 auto 44px;
    position: relative;
    z-index: 1;
    font-weight: 400;
    line-height: 1.7;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    text-decoration: none;
    border-radius: 100px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.3px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
    opacity: 0;
    transition: opacity var(--transition);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.4);
}

.btn:hover::before {
    opacity: 1;
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: var(--secondary);
    border: 2px solid rgba(255, 107, 53, 0.4);
    box-shadow: none;
}

.btn-primary:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.2);
}

.btn-large {
    padding: 18px 44px;
    font-size: 16px;
}

/* ===== SECTIONS ===== */
.section {
    padding: 100px 24px;
}

.section-title {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 800;
    text-align: center;
    margin-bottom: 12px;
    color: var(--text-dark);
    letter-spacing: -1px;
    line-height: 1.2;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    margin: 20px auto 0;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 16px;
    color: var(--text-light);
    max-width: 600px;
    margin: 16px auto 60px;
    line-height: 1.7;
}

/* ===== CARS GRID ===== */
.cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
    margin-top: 24px;
}

.car-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    border: 1px solid var(--gray-200);
}

.car-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    padding: 1px;
    background: linear-gradient(135deg, transparent, transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    transition: background var(--transition);
    pointer-events: none;
}

.car-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.car-card:hover::before {
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

.car-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: var(--gray-100);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.car-card-content {
    padding: 24px;
}

.car-card-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 16px;
    gap: 12px;
}

.car-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
    letter-spacing: -0.3px;
    line-height: 1.3;
}

.car-card-category {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.car-card-price {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    white-space: nowrap;
}

.car-card-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--gray-200);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin: 16px 0;
}

.spec-item {
    text-align: center;
    padding: 14px 8px;
    background: var(--gray-light);
}

.spec-label {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 4px;
    font-weight: 600;
    letter-spacing: 0.8px;
}

.spec-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
}

.car-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--gray-200);
}

/* ===== BADGES ===== */
.badge {
    padding: 5px 12px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.badge-success {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.badge-warning {
    background: rgba(247, 147, 30, 0.1);
    color: var(--accent);
}

.badge-featured {
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary);
}

/* ===== CAR DETAIL ===== */
.car-detail {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-top: 30px;
    border: 1px solid var(--gray-200);
}

.car-detail-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.car-gallery {
    position: relative;
}

.gallery-main {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius) var(--radius) 0 0;
    box-shadow: none;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 32px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    line-height: 1;
}

.gallery-nav:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.gallery-prev { left: 16px; }
.gallery-next { right: 16px; }

.gallery-counter {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    color: white;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
}

.gallery-thumbnails {
    display: flex;
    gap: 8px;
    padding: 16px;
    background: var(--gray-light);
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--gray-200);
}

.gallery-thumbnails::-webkit-scrollbar { height: 6px; }
.gallery-thumbnails::-webkit-scrollbar-track { background: var(--gray-200); border-radius: 3px; }
.gallery-thumbnails::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

.gallery-thumbnail {
    width: 88px;
    height: 66px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    flex-shrink: 0;
    opacity: 0.7;
}

.gallery-thumbnail:hover {
    opacity: 1;
    border-color: var(--gray-200);
}

.gallery-thumbnail.active {
    border-color: var(--primary);
    opacity: 1;
    box-shadow: 0 2px 10px rgba(255, 107, 53, 0.3);
}

.car-detail-content {
    padding: 48px;
}

.car-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 36px;
    padding-bottom: 36px;
    border-bottom: 1px solid var(--gray-200);
}

.car-detail-title {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -1px;
    line-height: 1.2;
}

.car-detail-price {
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 800;
    color: var(--primary);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin: 36px 0;
}

.spec-box {
    background: var(--gray-light);
    padding: 24px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.spec-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary), var(--accent));
    border-radius: 0 2px 2px 0;
}

.spec-box:hover {
    border-color: rgba(255, 107, 53, 0.2);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.spec-box h4 {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 8px;
    font-weight: 600;
    letter-spacing: 1px;
}

.spec-box p {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 10px;
    margin: 20px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--gray-light);
    border-radius: var(--radius-sm);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    font-size: 14px;
}

.feature-item:hover {
    border-color: rgba(255, 107, 53, 0.2);
    background: var(--white);
}

.feature-item span:first-child {
    color: #10b981;
    font-size: 16px;
    font-weight: bold;
}

/* ===== CONTACT FORM ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 32px;
    margin-top: 30px;
}

.contact-form {
    background: var(--white);
    padding: 48px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.form-group {
    margin-bottom: 24px;
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-size: 13px;
    letter-spacing: 0.2px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: var(--font);
    transition: var(--transition);
    background: var(--gray-light);
    color: var(--text-dark);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.08);
    background: var(--white);
}

textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-info {
    background: linear-gradient(160deg, var(--secondary) 0%, #111827 100%);
    padding: 48px;
    border-radius: var(--radius-lg);
    color: white;
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 28px;
    font-weight: 700;
    position: relative;
}

.contact-info h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--primary);
    margin-top: 12px;
    border-radius: 2px;
}

.contact-info h4 {
    font-size: 18px;
    margin-bottom: 16px;
    font-weight: 600;
}

.contact-info p {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
}

/* ===== ALERTS ===== */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #065f46;
}

.alert-error {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #991b1b;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--secondary);
    color: white;
    padding: 80px 24px 32px;
    margin-top: 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 56px;
}

.footer h3 {
    font-size: 20px;
    margin-bottom: 16px;
    font-weight: 700;
    color: var(--white);
}

.footer h4 {
    font-size: 14px;
    margin-bottom: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.5);
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 400;
    font-size: 14px;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 28px;
    color: rgba(255, 255, 255, 0.35);
    font-size: 13px;
}

/* ===== SECTION ALTERNATING BG ===== */
.section:nth-child(even) {
    background: var(--gray-light);
}

/* ===== ANIMATIONS ===== */
@keyframes slideInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.car-card {
    animation: slideInUp 0.5s ease-out both;
}

.car-card:nth-child(2) { animation-delay: 0.05s; }
.car-card:nth-child(3) { animation-delay: 0.1s; }
.car-card:nth-child(4) { animation-delay: 0.15s; }
.car-card:nth-child(5) { animation-delay: 0.2s; }
.car-card:nth-child(6) { animation-delay: 0.25s; }

/* ===== ZOOM HINT ===== */
.zoom-hint {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    color: white;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 13px;
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery-main:hover .zoom-hint {
    opacity: 1;
}

.car-detail-image {
    transition: transform 0.4s ease;
}

.car-detail-image:hover {
    transform: scale(1.01);
}

/* ===== LIGHTBOX ===== */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(8px);
}

.lightbox.active {
    display: flex;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

#lightboxImage {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 24px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 28px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 36px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.05);
}

.lightbox-prev { left: -80px; }
.lightbox-next { right: -80px; }

.lightbox-counter {
    position: fixed;
    bottom: 110px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    color: white;
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
}

.lightbox-thumbnails {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    max-width: 90vw;
    overflow-x: auto;
    padding: 10px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-sm);
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.2) transparent;
}

.lightbox-thumbnails::-webkit-scrollbar { height: 4px; }
.lightbox-thumbnails::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 2px; }

.lightbox-thumbnail {
    width: 72px;
    height: 54px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    flex-shrink: 0;
    opacity: 0.6;
}

.lightbox-thumbnail:hover {
    opacity: 1;
}

.lightbox-thumbnail.active {
    border-color: var(--primary);
    opacity: 1;
}

/* ===== MOBILE APP BANNER ===== */
.app-banner {
    background: linear-gradient(160deg, #0a0a0a 0%, #111827 100%);
    border-radius: var(--radius-lg);
    padding: 32px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
    border: 1px solid rgba(255, 107, 53, 0.15);
    position: relative;
    overflow: hidden;
}

.app-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(160deg, var(--bg-dark) 0%, #111827 100%);
    padding: 72px 48px;
    border-radius: var(--radius-lg);
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 107, 53, 0.15);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(255, 107, 53, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar .container {
        flex-wrap: wrap;
        height: auto;
        padding: 14px 20px;
        gap: 12px;
    }

    .nav-menu {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 4px;
    }

    .nav-menu a {
        padding: 6px 14px;
        font-size: 13px;
    }

    .nav-contact {
        padding: 8px 16px;
        font-size: 13px;
    }

    .hero {
        padding: 80px 20px 60px;
    }

    .section {
        padding: 60px 20px;
    }

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

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

    .contact-form,
    .contact-info {
        padding: 32px;
    }

    .car-detail-content {
        padding: 28px;
    }

    .car-detail-header {
        flex-direction: column;
        gap: 20px;
    }

    .car-detail-title {
        font-size: 28px;
    }

    .car-detail-price {
        font-size: 32px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .footer {
        padding: 60px 20px 28px;
    }

    /* Lightbox mobile */
    .lightbox-nav {
        width: 44px;
        height: 44px;
        font-size: 28px;
    }

    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }

    .lightbox-close {
        top: 12px;
        right: 12px;
        width: 40px;
        height: 40px;
        font-size: 22px;
    }

    .lightbox-counter {
        bottom: 90px;
        font-size: 13px;
    }

    .lightbox-thumbnails {
        max-width: 95vw;
    }

    .lightbox-thumbnail {
        width: 56px;
        height: 42px;
    }

    .gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }

    .gallery-prev { left: 10px; }
    .gallery-next { right: 10px; }
}

@media (max-width: 480px) {
    .car-card-header {
        flex-direction: column;
    }

    .car-card-price {
        font-size: 20px;
    }

    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
