/* =========================================================
   AutoBul — Premium Automotive Theme
   Primary: #1B2A4A (deep navy)
   Accent:  #E63946 (bold red)
   CTA:     #F4A261 (warm orange)
   ========================================================= */

/* ---------- THEME VARIABLES ---------- */
:root {
    --primary:        #1B2A4A;
    --primary-dark:   #0f1d35;
    --primary-light:  #2a3f6a;
    --accent:         #E63946;
    --accent-dark:    #c8242f;
    --accent-light:   #ff6b74;
    --cta:            #F4A261;
    --cta-dark:       #e08535;

    --bg:             #F8F9FA;
    --card-bg:        #FFFFFF;
    --text-primary:   #1A1A2A;
    --text-muted:     #6B7280;
    --border:         rgba(0,0,0,0.09);
    --border-light:   rgba(0,0,0,0.05);

    --shadow-sm:  0 2px 8px rgba(27,42,74,0.08);
    --shadow-md:  0 6px 20px rgba(27,42,74,0.12);
    --shadow-lg:  0 14px 40px rgba(27,42,74,0.18);
    --shadow-accent: 0 8px 24px rgba(230,57,70,0.28);

    --radius-sm:  8px;
    --radius-md:  12px;
    --radius-lg:  18px;
    --radius-pill: 999px;

    --nav-bg:     rgba(27,42,74,0.95);
    --nav-scroll: rgba(27,42,74,0.98);

    --section-py: 80px;
    --section-py-sm: 50px;

    /* Legacy aliases for partials that use old variable names */
    --primary-color:     var(--primary);
    --secondary-color:   var(--accent);
    --secondary-color-2: var(--accent-light);
    --panel-color:       var(--bg);
    --panel-elev:        rgba(27,42,74,0.04);
    --text-color:        var(--text-primary);
    --muted-color:       var(--text-muted);
    --gray-color:        #9CA3AF;
    --border-color:      var(--border);
    --shadow-1:          var(--shadow-sm);
    --shadow-2:          var(--shadow-md);
    --dark-color:        #F8F9FA;
}

/* ---------- RESET / BASE ---------- */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    background: var(--bg);
    color: var(--text-primary);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color .2s ease;
}

a:hover {
    color: var(--accent-dark);
}

img {
    max-width: 100%;
    height: auto;
}

/* =========================================================
   NAVBAR — glass-morphism, sticky
   ========================================================= */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    padding: 0.9rem 2rem;
    background: var(--nav-bg) !important;
    backdrop-filter: saturate(140%) blur(12px);
    -webkit-backdrop-filter: saturate(140%) blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    box-shadow: 0 2px 16px rgba(11,20,40,0.22);
    transition: background .3s ease, box-shadow .3s ease;
}

.navbar.scrolled {
    background: var(--nav-scroll) !important;
    box-shadow: 0 4px 24px rgba(11,20,40,0.32);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.45rem;
    color: #fff !important;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: opacity .2s;
}

.navbar-brand:hover {
    opacity: 0.88;
}

.navbar-brand .brand-auto {
    color: var(--cta);
}

.navbar-toggler {
    border: none;
    outline: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%28255,255,255,0.9%29' stroke-linecap='round' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar .nav-link,
.navbar .navbar-nav .nav-link {
    color: rgba(255,255,255,0.88) !important;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem 1rem !important;
    border-radius: var(--radius-sm);
    letter-spacing: 0.02em;
    transition: color .2s ease, background .2s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
    color: #fff !important;
    background: rgba(255,255,255,0.1);
}

.navbar .nav-link.active {
    color: var(--cta) !important;
    background: rgba(244,162,97,0.12);
}

/* Offcanvas mobile nav */
#lwOffcanvas {
    background: var(--primary-dark);
}

@media (max-width: 991.98px) {
    .navbar {
        padding: 0.75rem 1rem;
    }
}

/* =========================================================
   HERO — full viewport, gradient text, overlay
   ========================================================= */
.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
    padding: 0;
}

.hero-section .hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
    transition: opacity 0.8s ease;
    z-index: 0;
    pointer-events: none;
}

.hero-section .hero-bg.next {
    opacity: 0;
}

/* Layered gradient overlay for readability */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(27,42,74,0.82) 0%,
        rgba(27,42,74,0.55) 60%,
        rgba(230,57,70,0.15) 100%
    );
    z-index: 1;
    pointer-events: none;
}

/* Wave / fade at bottom */
.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 65%, rgba(248,249,250,0.12));
    z-index: 1;
    pointer-events: none;
}

.hero-section .container {
    position: relative;
    z-index: 2;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.hero-section h5 {
    color: var(--cta) !important;
    font-weight: 700;
    text-shadow: none;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.hero-section h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-shadow: 0 3px 12px rgba(0,0,0,0.4);
    background: linear-gradient(135deg, #ffffff 40%, var(--cta) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-section p.lead {
    color: rgba(255,255,255,0.88);
    font-size: 1.1rem;
    font-weight: 400;
    text-shadow: 0 1px 6px rgba(0,0,0,0.3);
    max-width: 560px;
}

.hero-section .btn-secondary {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 1rem;
    padding: 0.8rem 2rem;
    box-shadow: var(--shadow-accent);
    animation: ctaPulse 2.5s ease-in-out infinite;
    transition: background .2s, transform .2s, box-shadow .2s;
}

.hero-section .btn-secondary:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(230,57,70,0.38);
    animation: none;
}

@keyframes ctaPulse {
    0%, 100% { box-shadow: var(--shadow-accent); }
    50%       { box-shadow: 0 12px 36px rgba(230,57,70,0.45); }
}

@media (max-width: 991.98px) {
    .hero-section { min-height: 70vh; }
}

@media (max-width: 575.98px) {
    .hero-section { min-height: 60vh; }
    .hero-section h1 { font-size: 2rem; }
}

/* =========================================================
   BUTTONS — premium pill style
   ========================================================= */
.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    border-radius: var(--radius-pill);
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--primary-light);
    border-color: var(--primary-light);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    border-radius: var(--radius-pill);
    font-weight: 700;
    transition: all .2s ease;
}

.btn-secondary:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-accent);
}

.btn-cta-orange {
    background: var(--cta);
    border-color: var(--cta);
    color: #fff;
    border-radius: var(--radius-pill);
    font-weight: 700;
    transition: all .2s ease;
}

.btn-cta-orange:hover {
    background: var(--cta-dark);
    border-color: var(--cta-dark);
    color: #fff;
    transform: translateY(-2px);
}

/* =========================================================
   CARDS — soft shadow, hover lift
   ========================================================= */
.category-card,
.car-card,
.service-card,
.testimonial-card,
.filter-card,
.search-form {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.category-card:hover,
.service-card:hover,
.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(230,57,70,0.2);
}

/* car card gets special hover treatment */
.car-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 460px;
    background: var(--card-bg);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform .28s ease, box-shadow .28s ease;
}

.car-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.car-card .card-body {
    flex-grow: 1;
    padding: 1.1rem 1.25rem;
}

.car-card .card-footer {
    background: var(--card-bg);
    border-top: 1px solid var(--border-light);
    padding: 0.9rem 1.25rem;
}

/* Car image with zoom on hover */
.car-image-wrap {
    overflow: hidden;
    position: relative;
    background: #f0f2f5;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.car-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.car-card:hover .car-image {
    transform: scale(1.05);
}

.category-card img {
    height: 160px;
    width: 100%;
    object-fit: cover;
}

/* Swiper */
.swiper-slide {
    height: auto !important;
    display: flex;
    align-items: stretch;
}

.featured-swiper {
    width: 100%;
    padding: 12px 4px 20px;
}

.featured-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: stretch;
    padding: 6px;
}

/* =========================================================
   BADGES
   ========================================================= */
.badge-sale {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    background: var(--accent);
    color: #fff;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(230,57,70,0.35);
}

.price-tag,
.badge-new {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 5px 12px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    box-shadow: var(--shadow-accent);
}

/* =========================================================
   CAR FEATURES
   ========================================================= */
.car-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.car-feature {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* =========================================================
   SERVICES
   ========================================================= */
.service-card .icon-wrapper {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(230,57,70,0.1);
    border-radius: 50%;
    margin: 0 auto 18px;
}

.service-card i {
    font-size: 1.8rem;
    color: var(--accent);
}

/* =========================================================
   SECTION TITLES
   ========================================================= */
.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 18px;
    color: var(--text-primary);
    font-weight: 800;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 44px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--accent), var(--cta));
}

/* =========================================================
   STATS SECTION
   ========================================================= */
.stats-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #eef2ff;
    padding: 3.5rem 0;
    border-top: 3px solid var(--accent);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--cta);
    text-shadow: 0 2px 12px rgba(244,162,97,0.35);
    line-height: 1;
}

/* =========================================================
   FILTER / SEARCH
   ========================================================= */
.filter-card {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: 1.75rem;
}

.filter-card label {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.03em;
    margin-bottom: 0.4rem;
}

.filter-card .form-control,
.filter-card .form-select,
.search-form .form-control,
.search-form .form-select {
    background: var(--bg);
    color: var(--text-primary);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.6rem 0.9rem;
    font-size: 0.9rem;
    height: 42px;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.filter-card .form-control::placeholder,
.search-form .form-control::placeholder {
    color: #9CA3AF;
}

.filter-card .form-control:focus,
.filter-card .form-select:focus,
.search-form .form-control:focus,
.search-form .form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(230,57,70,0.14);
    background: var(--card-bg);
    outline: none;
}

.search-form {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: 1.75rem;
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer-main {
    background: var(--primary);
    color: #fff;
}

.footer-line-accent {
    display: inline-block;
    width: 22px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    margin-right: 6px;
    vertical-align: middle;
}

.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-list li {
    margin-bottom: 0.6rem;
}

.footer-link {
    color: rgba(255,255,255,0.65);
    transition: color .2s;
    text-decoration: none;
}

.footer-link:hover {
    color: var(--cta);
}

.social-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #1877f2;
    border: 2px solid #1877f2;
    border-radius: 50%;
    color: #fff;
    font-size: 1.2rem;
    transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}

.social-icon:hover {
    background: rgba(230,57,70,0.22);
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-3px);
}

.social-icon-instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    border-color: transparent;
}

footer .list-unstyled > li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
    line-height: 1.4;
}

footer .list-unstyled > li i {
    color: var(--cta);
    font-size: 1rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

footer .list-unstyled > li a {
    color: rgba(255,255,255,0.82);
    text-decoration: none;
    transition: color .2s;
}

footer .list-unstyled > li a:hover {
    color: var(--cta);
}

footer .footer-contact > li {
    display: grid;
    grid-template-columns: 22px 1fr;
    column-gap: 0.75rem;
    margin-bottom: 0.7rem;
    align-items: center;
}

footer .footer-contact > li i {
    color: var(--cta);
}

footer hr {
    border-color: rgba(255,255,255,0.12);
    opacity: 1;
}

/* =========================================================
   UTILITIES
   ========================================================= */
.text-primary {
    color: var(--primary) !important;
}

.text-accent {
    color: var(--accent) !important;
}

.text-cta {
    color: var(--cta) !important;
}

.bg-primary-deep {
    background-color: var(--primary) !important;
}

.bg-accent {
    background-color: var(--accent) !important;
}

.section-pad {
    padding-top: var(--section-py);
    padding-bottom: var(--section-py);
}

/* =========================================================
   SWIPER TWEAKS
   ========================================================= */
.featured-swiper .swiper-button-prev,
.featured-swiper .swiper-button-next {
    color: var(--primary);
    background: rgba(255,255,255,0.92);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
}

.featured-swiper .swiper-button-prev::after,
.featured-swiper .swiper-button-next::after {
    font-size: 14px;
    font-weight: 900;
}

.featured-swiper .swiper-pagination-bullet {
    background: #CBD5E1;
    opacity: 1;
}

.featured-swiper .swiper-pagination-bullet-active {
    background: var(--accent);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 991.98px) {
    :root {
        --section-py: var(--section-py-sm);
    }

    .search-form {
        margin-top: -30px;
    }
}

@media (max-width: 575.98px) {
    .search-form {
        margin-top: 0;
    }

    .car-card {
        min-height: auto;
    }
}

/* =========================================================
   SCROLL TO TOP BUTTON
   ========================================================= */

#scrollTopBtn {
    position: fixed;
    bottom: 28px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 999;
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.25s, transform 0.25s, background 0.2s;
    pointer-events: none;
}

#scrollTopBtn.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

#scrollTopBtn:hover {
    background: var(--accent);
}

/* =========================================================
   FAVORITES — heart button + navbar badge
   ========================================================= */

/* Floating heart on car card image */
.btn-favorite {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s, transform 0.15s, color 0.2s;
    color: #bbb;
    font-size: 0.95rem;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.18);
    line-height: 1;
    padding: 0;
}

.btn-favorite:hover {
    background: #fff;
    transform: scale(1.12);
    color: #e53935;
}

.btn-favorite.fav-active {
    color: #e53935;
    background: #fff;
}

.btn-favorite.fav-active i,
.btn-favorite:hover i {
    color: #e53935;
}

/* Navbar cars count badge */
.cars-count-badge {
    font-size: 0.6rem;
    background: var(--cta) !important;
    color: #1a1a1a !important;
    font-weight: 700;
    vertical-align: middle;
}

/* Navbar favorites count badge */
.fav-badge {
    font-size: 0.6rem;
    padding: 1px 5px;
    border-radius: 10px;
    background: var(--accent);
    color: #fff;
    min-width: 17px;
    text-align: center;
    line-height: 1.6;
    font-weight: 700;
    vertical-align: top;
    margin-left: 2px;
}

/* =========================================================
   GDPR COOKIE CONSENT BANNER
   ========================================================= */
#cookieConsent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--primary);
    color: #fff;
    padding: 1rem 1.5rem;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.28);
    border-top: 3px solid var(--accent);
    transform: translateY(110%);
    transition: transform 0.45s cubic-bezier(0.34, 1.2, 0.64, 1);
}

#cookieConsent.cookie-show {
    transform: translateY(0);
}

#cookieConsent.cookie-hide {
    transform: translateY(110%);
    transition: transform 0.35s ease-in;
}

.cookie-inner {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    max-width: 1140px;
    margin: 0 auto;
}

.cookie-emoji {
    font-size: 2rem;
    flex-shrink: 0;
    line-height: 1;
    display: none;
}

@media (min-width: 576px) {
    .cookie-emoji { display: block; }
}

.cookie-text {
    flex: 1;
    min-width: 220px;
    font-size: 0.87rem;
    color: rgba(255,255,255,0.88);
    line-height: 1.5;
}

.cookie-text strong {
    display: block;
    font-size: 0.98rem;
    color: #fff;
    margin-bottom: 0.2rem;
}

.cookie-actions {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    align-items: center;
    flex-shrink: 0;
}

/* =========================================================
   SKELETON LOADERS
   ========================================================= */
.skeleton {
    background: linear-gradient(90deg, #e2e6ea 25%, #cdd2d8 50%, #e2e6ea 75%);
    background-size: 200% 100%;
    animation: skShimmer 1.6s infinite linear;
    border-radius: 6px;
    display: block;
}

@keyframes skShimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-card {
    pointer-events: none;
    user-select: none;
}

.sk-img {
    height: 220px;
    width: 100%;
    border-radius: 0;
}

.sk-title {
    height: 18px;
    width: 82%;
}

.sk-line {
    height: 13px;
    width: 100%;
    margin-top: 8px;
}

.sk-line-sm {
    height: 13px;
    width: 55%;
    margin-top: 6px;
}

.sk-price {
    height: 22px;
    width: 50%;
    margin-top: 10px;
}

.sk-btn {
    height: 38px;
    width: 100%;
    border-radius: 999px;
    margin-top: 14px;
}

/* =========================================================
   404 PAGE
   ========================================================= */
.error-page-404 {
    min-height: calc(100vh - 140px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    background: var(--bg);
}

.error-404-number {
    font-size: clamp(5.5rem, 18vw, 11rem);
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, var(--primary) 30%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.04em;
    filter: drop-shadow(0 8px 24px rgba(230,57,70,0.2));
    animation: float404 4s ease-in-out infinite;
}

@keyframes float404 {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-12px); }
}

.error-404-icon {
    font-size: 4rem;
    color: var(--accent);
    opacity: 0.22;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.error-car-wrap {
    position: relative;
    display: inline-block;
}

.error-road {
    width: 160px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #cbd5e1, transparent);
    margin: 0.4rem auto 0;
    border-radius: 2px;
}

.error-404-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 460px;
    margin: 0 auto;
}

