/* ==========================================
   WASI CAR IMPORTS - Ultra Premium Light Theme
   Colors: #3860AC (Primary Blue) + #FFFFFF
   Font: TheYearofHandicrafts
   Version 2.0 - Premium UX
   ========================================== */

/* ── Font Faces ── */
@font-face {
    font-family: 'Handicrafts';
    src: url('../fonts/OTF/TheYearofHandicrafts-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Handicrafts';
    src: url('../fonts/OTF/TheYearofHandicrafts-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Handicrafts';
    src: url('../fonts/OTF/TheYearofHandicrafts-SemiBold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Handicrafts';
    src: url('../fonts/OTF/TheYearofHandicrafts-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Handicrafts';
    src: url('../fonts/OTF/TheYearofHandicrafts-Black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* ── CSS Variables ── */
:root {
    --primary: #3860AC;
    --primary-light: #5B8FD9;
    --primary-dark: #2A4A8A;
    --primary-deeper: #1E3870;
    --primary-5: rgba(56, 96, 172, 0.05);
    --primary-10: rgba(56, 96, 172, 0.1);
    --primary-15: rgba(56, 96, 172, 0.15);
    --primary-20: rgba(56, 96, 172, 0.2);
    --accent: #6C8FD4;
    --accent-warm: #F0A500;
    --white: #FFFFFF;
    --bg: #FFFFFF;
    --bg-soft: #F5F7FB;
    --bg-card: #F2F4F8;
    --bg-warm: #FBF9F7;
    --text-dark: #111827;
    --text-body: #4B5563;
    --text-muted: #9CA3AF;
    --border: #E5E7EB;
    --border-light: #F3F4F6;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 24px 64px rgba(0, 0, 0, 0.12);
    --shadow-primary: 0 8px 32px rgba(56, 96, 172, 0.2);
    --radius-xs: 6px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-pill: 100px;
    --max-width: 1280px;
    --nav-height: 72px;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body {
    font-family: 'Handicrafts', 'Tajawal', sans-serif;
    background: var(--bg);
    color: var(--text-body);
    direction: rtl;
    line-height: 1.7;
    font-weight: 400;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul,
ol {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: inherit;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 1024px) {
    .container {
        padding: 0 60px;
    }
}

/* ── Preloader ── */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--white);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 24px;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-logo {
    width: 80px;
    animation: preloaderPulse 1.5s ease-in-out infinite;
}

.preloader-bar {
    width: 120px;
    height: 3px;
    background: var(--border);
    border-radius: 3px;
    overflow: hidden;
}

.preloader-bar::after {
    content: '';
    display: block;
    width: 40%;
    height: 100%;
    background: var(--primary);
    border-radius: 3px;
    animation: preloaderSlide 1s ease-in-out infinite;
}

@keyframes preloaderPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(0.95);
        opacity: 0.7;
    }
}

@keyframes preloaderSlide {
    0% {
        transform: translateX(200%);
    }

    100% {
        transform: translateX(-200%);
    }
}

/* ── Section Styles ── */
.section-title {
    text-align: center;
    margin-bottom: 56px;
    position: relative;
}

.section-title h2 {
    color: var(--text-dark);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-title h2 .highlight {
    color: var(--primary);
    position: relative;
}

.section-title h2 .highlight::after {
    content: '';
    position: absolute;
    bottom: 4px;
    right: 0;
    width: 100%;
    height: 8px;
    background: var(--primary-15);
    border-radius: 4px;
    z-index: -1;
}

.section-title p {
    color: var(--text-muted);
    font-size: 17px;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.8;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: var(--primary-10);
    border: 1px solid var(--primary-15);
    border-radius: var(--radius-pill);
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 0.3px;
}

.section-label i {
    font-size: 10px;
}

/* ── Wave Divider ── */
.wave-divider {
    width: 100%;
    overflow: hidden;
    line-height: 0;
    position: relative;
    z-index: 2;
}

.wave-divider svg {
    display: block;
    width: 100%;
    height: 60px;
}

.wave-divider.flip {
    transform: scaleY(-1);
}

@media (min-width: 768px) {
    .wave-divider svg {
        height: 80px;
    }
}

/* ── Navbar ── */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid transparent;
    transition: all 0.4s var(--ease-smooth);
}

.navbar.scrolled {
    border-bottom-color: var(--border);
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
    background: rgba(255, 255, 255, 0.95);
}

.navbar-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-height);
}

@media (min-width: 1024px) {
    .navbar-inner {
        padding: 0 60px;
    }
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-logo img {
    height: 52px;
    width: auto;
    transition: transform 0.3s var(--ease-spring);
}

.navbar-logo:hover img {
    transform: scale(1.05);
}

.navbar-links {
    display: none;
    align-items: center;
    gap: 4px;
}

@media (min-width: 1024px) {
    .navbar-links {
        display: flex;
    }
}

.navbar-links a {
    color: var(--text-body);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    transition: all 0.25s ease;
    white-space: nowrap;
    position: relative;
}

.navbar-links a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    right: 16px;
    width: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: width 0.3s var(--ease-out);
}

.navbar-links a:hover,
.navbar-links a.active {
    color: var(--primary);
    font-weight: 600;
}

.navbar-links a:hover::after,
.navbar-links a.active::after {
    width: calc(100% - 32px);
}

.navbar-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-pill);
    border: none;
    transition: all 0.3s var(--ease-spring);
    box-shadow: var(--shadow-primary);
    position: relative;
    overflow: hidden;
}

.navbar-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
}

.navbar-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(56, 96, 172, 0.3);
}

.navbar-cta:hover::before {
    opacity: 1;
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 8px;
    position: relative;
    z-index: 201;
}

@media (min-width: 1024px) {
    .mobile-toggle {
        display: none;
    }
}

.mobile-toggle span {
    width: 22px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: all 0.3s var(--ease-out);
    transform-origin: center;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: linear-gradient(160deg, var(--primary) 0%, var(--primary-deeper) 100%);
    z-index: 200;
    display: flex;
    flex-direction: column;
    padding: 90px 32px 32px;
    transform: translateX(-100%);
    transition: transform 0.5s var(--ease-out), visibility 0.5s;
    pointer-events: none;
    visibility: hidden;
}

.mobile-menu.active {
    transform: translateX(0);
    pointer-events: all;
    visibility: visible;
}

.mobile-menu .close-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.mobile-menu .close-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg);
}

.mobile-menu a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 17px;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all 0.25s;
}

.mobile-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding-right: 28px;
}

.mobile-menu a i {
    font-size: 18px;
    width: 24px;
    text-align: center;
}

/* ── Hero Section ── */
.hero {
    position: relative;
    padding: 60px 0 0;
    overflow: hidden;
    background: linear-gradient(170deg, var(--bg) 0%, var(--bg-soft) 40%, var(--primary-5) 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    left: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-10) 0%, transparent 70%);
    border-radius: 50%;
    animation: heroGlow 8s ease-in-out infinite;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-10) 0%, transparent 70%);
    border-radius: 50%;
    animation: heroGlow 8s ease-in-out infinite reverse;
    pointer-events: none;
}

@keyframes heroGlow {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translate(30px, -20px) scale(1.1);
        opacity: 0.8;
    }
}

.hero-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
    position: relative;
    z-index: 2;
    width: 100%;
}

@media (min-width: 1024px) {
    .hero-inner {
        padding: 0 60px;
        flex-direction: row-reverse;
        gap: 60px;
    }
}

.hero-content {
    flex: 1;
    text-align: center;
}

@media (min-width: 1024px) {
    .hero-content {
        text-align: right;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 28px;
    background: linear-gradient(135deg, var(--primary-10), rgba(56, 96, 172, 0.05));
    border: 1px solid var(--primary-20);
    border-radius: var(--radius-pill);
    color: var(--primary);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 32px;
    animation: fadeInUp 0.8s var(--ease-out) 0.2s both;
}

.hero-badge .badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.7);
    }
}

.hero h1 {
    color: var(--text-dark);
    font-size: clamp(36px, 6vw, 68px);
    font-weight: 900;
    line-height: 1.12;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s var(--ease-out) 0.4s both;
}

.hero h1 .brand-name {
    color: var(--primary);
    display: block;
}

.hero h1 .sub-heading {
    display: block;
    color: var(--text-body);
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 500;
    margin-top: 16px;
    line-height: 1.5;
}

.hero p {
    color: var(--text-muted);
    font-size: 19px;
    line-height: 1.9;
    max-width: 540px;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s var(--ease-out) 0.6s both;
}

@media (min-width: 1024px) {
    .hero p {
        margin-right: 0;
    }
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInUp 0.8s var(--ease-out) 0.8s both;
}

@media (min-width: 1024px) {
    .hero-actions {
        justify-content: flex-start;
    }
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 42px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-pill);
    border: none;
    transition: all 0.35s var(--ease-spring);
    box-shadow: 0 4px 20px rgba(56, 96, 172, 0.25);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 32px rgba(56, 96, 172, 0.35);
}

.btn-primary:hover::after {
    opacity: 1;
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 42px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    color: var(--primary);
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-pill);
    border: 1.5px solid var(--primary-20);
    transition: all 0.35s var(--ease-spring);
}

.btn-outline:hover {
    background: var(--primary-10);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* Hero Visual */
.hero-visual {
    flex: 1;
    max-width: 620px;
    position: relative;
    animation: fadeInUp 1s var(--ease-out) 0.3s both;
}

.hero-image-wrap {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    background: var(--bg-card);
    aspect-ratio: 4/3;
    box-shadow: var(--shadow-2xl);
}

.hero-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.15) 100%);
    pointer-events: none;
}

.hero-float-card {
    position: absolute;
    bottom: -20px;
    right: 24px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    border-radius: var(--radius-lg);
    padding: 14px 24px;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 16px;
    animation: floatCard 3.5s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.5);
    z-index: 3;
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hero-float-card .number {
    font-size: 32px;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.hero-float-card .label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.hero-float-card .divider {
    width: 1px;
    height: 36px;
    background: var(--border);
}

/* Second float card (top-left) */
.hero-float-badge {
    position: absolute;
    top: 20px;
    left: -10px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    border-radius: var(--radius-md);
    padding: 10px 18px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: floatCard 4s ease-in-out infinite reverse;
    border: 1px solid rgba(255, 255, 255, 0.5);
    z-index: 3;
}

.hero-float-badge i {
    color: var(--success);
    font-size: 18px;
}

.hero-float-badge span {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
}

/* ── Brands Marquee ── */
.brands-section {
    padding: 40px 0;
    background: var(--bg);
    overflow: hidden;
    position: relative;
    direction: ltr;
}

.brands-section::before,
.brands-section::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.brands-section::before {
    right: 0;
    background: linear-gradient(to left, var(--bg), transparent);
}

.brands-section::after {
    left: 0;
    background: linear-gradient(to right, var(--bg), transparent);
}

.brands-track {
    display: flex;
    gap: 40px;
    width: max-content;
    will-change: transform;
    direction: ltr;
}



.brand-item {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    opacity: 1;
    transition: all 0.4s var(--ease-spring);
    flex-shrink: 0;
    padding: 8px 16px;
    border-radius: var(--radius-md);
}

.brand-item:hover {
    opacity: 1;
    background: var(--bg-soft);
    transform: scale(1.05);
}

.brand-item img {
    height: 36px;
    width: auto;
    transition: transform 0.4s;
}

.brand-item:hover img {
    transform: scale(1.1);
}

.brand-item span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
}

/* ── Featured Cars Section ── */
.featured-section {
    padding: 80px 0;
    background: var(--bg);
}

.cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

/* ── Car Card - Premium 3D Hover ── */
.car-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all 0.45s var(--ease-smooth);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-xs);
}

.car-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
    border-color: transparent;
}

.car-card .card-image {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--bg-card);
}

.car-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-smooth);
}

.car-card:hover .card-image img {
    transform: scale(1.08);
}

.car-card .card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.08) 100%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.car-card:hover .card-image::after {
    opacity: 1;
}

/* Quick view overlay */
.car-card .card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(56, 96, 172, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.35s var(--ease-out);
    z-index: 3;
}

.car-card:hover .card-overlay {
    opacity: 1;
}

.card-overlay .overlay-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: var(--white);
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    border-radius: var(--radius-pill);
    transform: translateY(20px);
    transition: all 0.35s var(--ease-spring) 0.1s;
    border: none;
}

.car-card:hover .card-overlay .overlay-btn {
    transform: translateY(0);
}

.card-overlay .overlay-btn:hover {
    background: var(--primary);
    color: white;
}

.car-card .card-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 700;
    color: var(--white);
    z-index: 4;
    backdrop-filter: blur(8px);
}

.car-card .card-badge.featured {
    background: rgba(56, 96, 172, 0.9);
}

.car-card .card-badge.sold {
    background: rgba(239, 68, 68, 0.9);
}

.car-card .card-badge.reserved {
    background: rgba(245, 158, 11, 0.9);
}

.car-card .card-badge.coming {
    background: rgba(107, 114, 128, 0.9);
}

.car-card .card-body {
    padding: 20px 22px 22px;
}

.car-card .card-brand {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.car-card .card-title {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
    line-height: 1.4;
    transition: color 0.2s;
}

.car-card .card-title:hover {
    color: var(--primary);
}

.car-card .card-year {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.car-card .card-specs {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.car-card .spec-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-muted);
    padding: 4px 10px;
    background: var(--bg-soft);
    border-radius: var(--radius-xs);
}

.car-card .spec-item i {
    color: var(--primary);
    font-size: 10px;
}

.car-card .card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.car-card .card-price {
    font-size: 19px;
    font-weight: 800;
    color: var(--primary);
}

.car-card .card-price small {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
}

.car-card .card-actions {
    display: flex;
    gap: 8px;
}

.car-card .card-actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    color: var(--text-muted);
    font-size: 14px;
    transition: all 0.3s var(--ease-spring);
}

.car-card .card-actions a:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: scale(1.1);
}

.car-card .card-actions a.whatsapp:hover {
    background: #25D366;
    border-color: #25D366;
}

/* Show more button */
.show-more-wrap {
    text-align: center;
    margin-top: 40px;
}

/* ── How It Works Section ── */
.process-section {
    padding: 80px 0;
    background: var(--bg-soft);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px;
    counter-reset: stepCounter;
}

.process-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 32px 24px;
    text-align: center;
    transition: all 0.4s var(--ease-spring);
    position: relative;
    counter-increment: stepCounter;
    border: 1px solid var(--border-light);
}

.process-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-15);
}

.process-card::before {
    content: counter(stepCounter);
    position: absolute;
    top: -14px;
    right: 24px;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(56, 96, 172, 0.3);
}

.process-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--primary-10);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: var(--primary);
    transition: all 0.3s var(--ease-spring);
}

.process-card:hover .process-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.process-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.process-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ── Stats Section ── */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deeper) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
}

.stats-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 40%;
    height: 150%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.04) 0%, transparent 50%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-item {
    text-align: center;
}

.stat-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-number {
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 15px;
    font-weight: 500;
    opacity: 0.75;
}

/* ── Catalog Section ── */
.catalog-section {
    padding: 80px 0;
    background: var(--bg-soft);
}

/* ── Brand Filter Logo Grid ── */
.brands-filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 16px;
    margin-bottom: 36px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .brands-filter-grid {
        grid-template-columns: repeat(11, 1fr);
    }
}

.brand-filter-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 16px 8px 14px;
    background: var(--white);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    cursor: pointer;
    font-family: inherit;
    transition: all 0.35s var(--ease-spring);
    position: relative;
}

.brand-filter-card:hover {
    border-color: var(--primary-20);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.brand-filter-card.active {
    border-color: var(--primary);
    background: var(--primary-5);
    box-shadow: 0 4px 20px rgba(56, 96, 172, 0.15);
}

.brand-filter-card.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
}

.brand-filter-logo {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.brand-filter-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(30%);
    transition: all 0.3s ease;
}

.brand-filter-card:hover .brand-filter-logo img,
.brand-filter-card.active .brand-filter-logo img {
    filter: grayscale(0%);
    transform: scale(1.1);
}

.brand-filter-logo i {
    font-size: 20px;
    color: var(--text-muted);
    transition: color 0.3s;
}

.brand-filter-card.active .brand-filter-logo i,
.brand-filter-card:hover .brand-filter-logo i {
    color: var(--primary);
}

.brand-filter-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-10);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--primary);
    transition: all 0.3s var(--ease-spring);
}

.brand-filter-card.active .brand-filter-icon {
    background: var(--primary);
    color: white;
}

.brand-filter-card span {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-body);
    text-align: center;
    line-height: 1.3;
    transition: color 0.2s;
}

.brand-filter-card.active span {
    color: var(--primary);
    font-weight: 700;
}

.search-wrap {
    position: relative;
    flex: 1;
    min-width: 200px;
}

.search-wrap i {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 14px;
    pointer-events: none;
}

.search-input {
    width: 100%;
    padding: 10px 20px 10px 20px;
    padding-right: 42px;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-family: inherit;
    color: var(--text-dark);
    outline: none;
    transition: all 0.3s;
}

.search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-10);
}

/* ── Testimonials ── */
.testimonials-section {
    padding: 80px 0;
    background: var(--bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 32px;
    transition: all 0.4s var(--ease-spring);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-15);
}

.testimonial-card .stars {
    color: #F59E0B;
    font-size: 14px;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-card .quote {
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.9;
    margin-bottom: 20px;
    position: relative;
    padding-right: 20px;
}

.testimonial-card .quote::before {
    content: '"';
    position: absolute;
    top: -8px;
    right: 0;
    font-size: 36px;
    font-weight: 900;
    color: var(--primary-15);
    line-height: 1;
}

.testimonial-card .author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-card .author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 16px;
}

.testimonial-card .author-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
}

.testimonial-card .author-role {
    font-size: 12px;
    color: var(--text-muted);
}

/* ── About Section ── */
.about-section {
    padding: 80px 0;
    background: var(--bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.about-content h2 {
    color: var(--text-dark);
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.3;
}

.about-content h2 span {
    color: var(--primary);
}

.about-content p {
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 28px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--bg-soft);
    border-radius: var(--radius-md);
    transition: all 0.35s var(--ease-spring);
    border: 1px solid transparent;
}

.about-feature:hover {
    background: var(--white);
    transform: translateX(-4px);
    border-color: var(--primary-15);
    box-shadow: var(--shadow-md);
}

.about-feature i {
    color: var(--primary);
    font-size: 18px;
    flex-shrink: 0;
}

.about-feature span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.about-image {
    border-radius: var(--radius-2xl);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--bg-card);
    box-shadow: var(--shadow-xl);
    position: relative;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ── FAQ Section ── */
.faq-section {
    padding: 80px 0;
    background: var(--bg-soft);
}

.faq-list {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: all 0.3s;
}

.faq-item.active {
    border-color: var(--primary-20);
    box-shadow: var(--shadow-md);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    background: none;
    border: none;
    width: 100%;
    text-align: right;
    font-family: inherit;
    transition: color 0.2s;
}

.faq-item.active .faq-question {
    color: var(--primary);
}

.faq-question i {
    font-size: 14px;
    color: var(--text-muted);
    transition: all 0.35s var(--ease-spring);
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-out), padding 0.3s;
}

.faq-answer-inner {
    padding: 0 24px 20px;
    font-size: 14px;
    line-height: 1.9;
    color: var(--text-body);
}

/* ── Contact Section ── */
.contact-section {
    padding: 80px 0;
    background: var(--bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info h3 {
    font-size: 28px;
    font-weight: 900;
    color: var(--text-dark);
}

.contact-info h3 span {
    color: var(--primary);
}

.contact-info p {
    font-size: 16px;
    line-height: 1.8;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--bg-soft);
    border-radius: var(--radius-lg);
    transition: all 0.35s var(--ease-spring);
    border: 1px solid transparent;
}

.contact-item:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateX(-6px);
    border-color: var(--primary-10);
}

.contact-item .icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--primary-10);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 18px;
    flex-shrink: 0;
    transition: all 0.3s var(--ease-spring);
}

.contact-item:hover .icon {
    background: var(--primary);
    color: white;
    transform: rotate(-5deg) scale(1.05);
}

.contact-item .details h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.contact-item .details span {
    font-size: 13px;
    color: var(--text-muted);
}

.contact-form {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 36px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-form .form-group {
    margin-bottom: 16px;
}

.contact-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-soft);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: inherit;
    color: var(--text-dark);
    outline: none;
    transition: all 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-10);
    background: var(--white);
}

.contact-form textarea {
    min-height: 100px;
    resize: vertical;
}

/* ── Footer ── */
.footer {
    background: linear-gradient(180deg, var(--text-dark) 0%, #0A0F1C 100%);
    color: rgba(255, 255, 255, 0.6);
    padding: 64px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-brand img {
    height: 48px;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.8;
    max-width: 320px;
}

.footer h4 {
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    padding: 6px 0;
    font-size: 14px;
    transition: all 0.25s;
}

.footer-links a:hover {
    color: var(--white);
    padding-right: 8px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
}

/* ── Scroll Animations ── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.7s var(--ease-out);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.7s var(--ease-out);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.7s var(--ease-out);
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered animations */
.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}

.stagger-4 {
    transition-delay: 0.4s;
}

.stagger-5 {
    transition-delay: 0.5s;
}

.stagger-6 {
    transition-delay: 0.6s;
}

.stagger-7 {
    transition-delay: 0.7s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Toast ── */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    z-index: 10000;
    opacity: 0;
    transition: all 0.4s var(--ease-spring);
    box-shadow: var(--shadow-xl);
    backdrop-filter: blur(8px);
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast.success {
    background: rgba(16, 185, 129, 0.95);
}

.toast.error {
    background: rgba(239, 68, 68, 0.95);
}

/* ── Back to Top ── */
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--white);
    color: var(--primary);
    border: 1.5px solid var(--border);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    transition: all 0.35s var(--ease-spring);
    z-index: 90;
    box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.back-to-top:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-3px) scale(1.05);
}

/* ── WhatsApp Float ── */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    left: 28px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: var(--white);
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 90;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
    transition: all 0.35s var(--ease-spring);
    animation: waPulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.12);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45);
}

@keyframes waPulse {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
    }

    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35), 0 0 0 12px rgba(37, 211, 102, 0.08);
    }
}

/* ── Car Detail Page ── */
.car-detail {
    padding: 40px 0 80px;
}

.car-detail-header {
    margin-bottom: 40px;
}

.car-detail-header .breadcrumb {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.car-detail-header .breadcrumb a {
    color: var(--primary);
}

.car-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 768px) {
    .car-detail-grid {
        grid-template-columns: 5fr 3fr;
    }
}

.car-gallery {
    border-radius: var(--radius-2xl);
    overflow: hidden;
    background: var(--bg-card);
    aspect-ratio: 16/10;
    box-shadow: var(--shadow-lg);
}

.car-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.car-info-card {
    background: var(--bg-soft);
    border-radius: var(--radius-2xl);
    padding: 32px;
    border: 1px solid var(--border-light);
}

.car-info-card h1 {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.car-info-card .car-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.car-info-card .car-price-big {
    font-size: 32px;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 24px;
}

.car-specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 24px;
}

.car-spec {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--white);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    transition: all 0.2s;
}

.car-spec:hover {
    border-color: var(--primary-15);
    box-shadow: var(--shadow-xs);
}

.car-spec i {
    color: var(--primary);
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.car-spec .spec-detail {
    font-size: 11px;
    color: var(--text-muted);
}

.car-spec .spec-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.car-detail-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    background: #25D366;
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    border-radius: var(--radius-md);
    border: none;
    transition: all 0.3s var(--ease-spring);
}

.btn-whatsapp:hover {
    background: #1EBE5D;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.related-section {
    padding: 60px 0;
    background: var(--bg-soft);
}

/* ── Responsive ── */
@media (max-width: 767px) {

    /* Prevent horizontal overflow globally */
    html,
    body {
        overflow-x: hidden !important;
        max-width: 100vw;
        width: 100%;
    }

    .container {
        padding: 0 16px;
        max-width: 100%;
        overflow-x: hidden;
        width: 100%;
    }

    section,
    .hero,
    .featured-section,
    .process-section,
    .stats-section,
    .catalog-section,
    .testimonials-section,
    .about-section,
    .faq-section,
    .contact-section,
    .footer,
    .brands-section,
    .wave-divider,
    .navbar {
        overflow-x: hidden;
        max-width: 100vw;
        width: 100%;
    }

    .hero-inner {
        width: 100%;
        max-width: 100%;
    }

    .hero::before,
    .hero::after {
        display: none;
    }

    .whatsapp-float {
        left: 16px;
        bottom: 20px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .back-to-top {
        right: 16px;
        bottom: 20px;
        width: 42px;
        height: 42px;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .car-specs-grid {
        grid-template-columns: 1fr;
    }

    .cars-grid {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* ── Hero Mobile Fix ── */
    .hero {
        min-height: auto;
        padding: 32px 0 0;
    }

    .hero-inner {
        padding: 0 16px;
        flex-direction: column;
        gap: 32px;
    }

    .hero-content {
        text-align: center;
        order: 1;
    }

    .hero-badge {
        font-size: 13px;
        padding: 8px 18px;
        margin-bottom: 20px;
    }

    .hero h1 {
        font-size: 32px;
        line-height: 1.2;
        margin-bottom: 16px;
    }

    .hero h1 .sub-heading {
        font-size: 17px;
        margin-top: 10px;
    }

    .hero p {
        font-size: 15px;
        line-height: 1.8;
        margin-bottom: 24px;
        max-width: 100%;
    }

    .hero-actions {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .hero-actions .btn-primary,
    .hero-actions .btn-outline {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 15px;
    }

    .hero-visual {
        max-width: 100%;
        width: 100%;
        order: 2;
    }

    .hero-image-wrap {
        border-radius: 16px;
    }

    .hero-float-card {
        bottom: -12px;
        right: 12px;
        padding: 10px 16px;
        gap: 12px;
    }

    .hero-float-card .number {
        font-size: 22px;
    }

    .hero-float-card .label {
        font-size: 10px;
    }

    .hero-float-card .divider {
        height: 28px;
    }

    .hero-float-badge {
        display: none;
    }

    /* ── General Mobile Spacing ── */
    .section-title h2 {
        font-size: 24px;
    }

    .section-title p {
        font-size: 14px;
    }

    .featured-section,
    .catalog-section,
    .testimonials-section,
    .faq-section,
    .about-section {
        padding: 48px 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .process-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero h1 .sub-heading {
        font-size: 15px;
    }

    .hero p {
        font-size: 14px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .section-title h2 {
        font-size: 22px;
    }
}