/* ============================================
   AUTOELITE - Premium Automotive Website
   Official Audi-Inspired Dark Theme
   ============================================ */

/* --- CSS Variables (Audi.com.mx palette) --- */
:root {
    --bg-primary: #000000;
    --bg-secondary: #0b0c0d;
    --bg-tertiary: #161a1e;
    --bg-card: #0f1216;
    --bg-card-hover: #181d23;
    --bg-navy: #0d1117;
    --audi-red: #CC0033;
    --audi-red-light: #f0163a;
    --audi-red-glow: rgba(204, 0, 51, 0.35);
    --accent: #CC0033;
    --accent-light: #f0163a;
    --btn-solid: #4c535f;
    --btn-solid-hover: #5d6572;
    --silver: #d0d0d0;
    --silver-dark: #8e8e8e;
    --text-primary: #ffffff;
    --text-secondary: #9a9faa;
    --text-muted: #585e6a;
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.18);
    --glass: rgba(255, 255, 255, 0.04);
    --glass-hover: rgba(255, 255, 255, 0.07);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.6);
    --radius: 14px;
    --radius-lg: 22px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    /* Brand colors */
    --porsche-gold: #C4A35A;
    --vw-blue: #001E50;
    --ford-blue: #003478;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

::selection {
    background: var(--audi-red);
    color: white;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--audi-red);
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* --- LOADER --- */
#loader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--bg-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    transition: opacity 0.5s, visibility 0.5s;
}

#loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.audi-rings-loader {
    width: 120px;
    height: 40px;
}

.audi-rings-loader circle {
    fill: none;
    stroke: var(--silver);
    stroke-width: 2.5;
    animation: ringPulse 2s ease-in-out infinite;
}

.audi-rings-loader circle:nth-child(1) { animation-delay: 0s; }
.audi-rings-loader circle:nth-child(2) { animation-delay: 0.15s; }
.audi-rings-loader circle:nth-child(3) { animation-delay: 0.3s; }
.audi-rings-loader circle:nth-child(4) { animation-delay: 0.45s; }

@keyframes ringPulse {
    0%, 100% { stroke: var(--text-muted); stroke-width: 2; }
    50% { stroke: var(--audi-red); stroke-width: 3; }
}

.loader-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 3px;
    text-transform: uppercase;
    animation: fade 1.5s ease-in-out infinite;
}

@keyframes fade {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* --- NAVBAR --- */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background: transparent;
}

#navbar.scrolled {
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.audi-rings-nav {
    width: 80px;
    height: 28px;
}

.audi-rings-nav circle {
    fill: none;
    stroke: var(--silver);
    stroke-width: 2.5;
    transition: var(--transition);
}

.nav-logo:hover .audi-rings-nav circle {
    stroke: var(--audi-red);
}

.logo-text {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 18px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--audi-red);
    border-radius: 1px;
}

.nav-link.cta-link {
    background: var(--audi-red);
    color: white;
    font-weight: 600;
}

.nav-link.cta-link:hover {
    background: var(--audi-red-light);
    transform: translateY(-1px);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Hero Slider */
.hero-slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    animation: kenBurns 25s ease-in-out infinite alternate;
}

@keyframes kenBurns {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg,
            rgba(0,0,0,0.65) 0%,
            rgba(0,0,0,0.2) 30%,
            rgba(0,0,0,0.15) 50%,
            rgba(0,0,0,0.5) 75%,
            rgba(10,10,14,0.98) 100%
        ),
        radial-gradient(ellipse at 30% 70%, rgba(204, 0, 51, 0.1) 0%, transparent 60%);
    z-index: 1;
}

/* Hero Description & Buttons (aliases) */
.hero-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
    opacity: 0;
    animation: heroFadeUp 0.8s 1.1s forwards;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: heroFadeUp 0.8s 1.3s forwards;
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--audi-red);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 6s ease-in-out infinite;
}

@keyframes particleFloat {
    0% { opacity: 0; transform: translateY(100vh); }
    20% { opacity: 0.6; }
    80% { opacity: 0.3; }
    100% { opacity: 0; transform: translateY(-20px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 24px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--audi-red-light);
    margin-bottom: 32px;
    opacity: 0;
    animation: heroFadeUp 0.8s 0.5s forwards;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 24px;
}

.title-line {
    display: block;
    opacity: 0;
    animation: heroFadeUp 0.8s forwards;
}

.title-line:nth-child(1) { animation-delay: 0.7s; }
.title-line:nth-child(2) { animation-delay: 0.9s; }

.title-line.accent {
    background: linear-gradient(135deg, var(--audi-red), var(--audi-red-light), #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
    opacity: 0;
    animation: heroFadeUp 0.8s 1.1s forwards;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: heroFadeUp 0.8s 1.3s forwards;
}

@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 34px;
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.3px;
}

.btn-primary {
    background: var(--audi-red);
    color: white;
    box-shadow: 0 4px 20px var(--audi-red-glow);
}

.btn-primary:hover {
    background: var(--audi-red-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--audi-red-glow);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid rgba(255,255,255,0.35);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.6);
    transform: translateY(-2px);
}

.btn-solid {
    background: var(--btn-solid);
    color: white;
    border: none;
}

.btn-solid:hover {
    background: var(--btn-solid-hover);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
    opacity: 0;
    animation: heroFadeUp 0.8s 1.5s forwards;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
}

.stat-plus {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--audi-red);
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* Hero Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    animation: heroFadeUp 0.8s 2s forwards;
}

.hero-scroll span {
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--audi-red), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; height: 40px; }
    50% { opacity: 1; height: 60px; }
}

/* --- SECTIONS BASE --- */
.section {
    padding: 120px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--audi-red-light);
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.section-title span {
    display: inline;
}

.left-title {
    text-align: left;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Audi Rings in Section */
.audi-rings-section {
    width: 90px;
    height: 30px;
    vertical-align: middle;
    margin-right: 8px;
}

.audi-rings-section circle {
    fill: none;
    stroke: var(--silver);
    stroke-width: 2;
}

/* --- AUDI SECTION --- */
.audi-section {
    background: var(--bg-navy);
    overflow: hidden;
}

.section-bg-accent {
    position: absolute;
    top: 0;
    left: -20%;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse, rgba(204, 0, 51, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

/* --- CAR GRID --- */
.car-grid,
.cars-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 28px;
    width: 100%;
}

.cars-grid > .car-card,
.car-grid > .car-card {
    min-width: 0;
    width: 100%;
}

/* --- CAR CARD --- */
.car-card {
    background: linear-gradient(165deg, rgba(22,22,28,0.95) 0%, rgba(16,16,20,0.98) 100%);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    transform: translateY(40px);
    box-shadow: 0 4px 24px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
}

.car-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.car-card:hover {
    border-color: rgba(255,255,255,0.12);
    background: linear-gradient(165deg, rgba(28,28,36,0.98) 0%, rgba(20,20,26,1) 100%);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.08);
}

.card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-desc {
    flex: 1;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background:
        linear-gradient(135deg, #141418 0%, #1a1a22 50%, #141418 100%);
    color: var(--text-muted);
    transition: var(--transition);
}

.image-placeholder svg {
    opacity: 0.3;
}

.image-placeholder span {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1px;
    opacity: 0.4;
}

.car-card:hover .image-placeholder {
    background:
        linear-gradient(135deg, #18181e 0%, #1e1e28 50%, #18181e 100%);
}

/* When real image is used, hide placeholder */
.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.card-price {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 10px 20px;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.8px;
    text-shadow: 0 0 20px rgba(255,255,255,0.3);
    z-index: 2;
}

.card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 16px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50px;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    z-index: 2;
}

.rs-badge,
.etron-badge,
.bmw-badge,
.merc-badge,
.porsche-badge,
.vw-badge,
.toyota-badge,
.ford-badge,
.seat-badge,
.kia-badge,
.gmc-badge,
.nissan-badge,
.mazda-badge {
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-color: rgba(255,255,255,0.12);
    color: #ffffff;
}

.card-body {
    padding: 24px 28px 28px;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
    color: #ffffff;
}

.card-desc {
    font-size: 0.8rem;
    color: rgba(180,185,195,0.8);
    line-height: 1.6;
    margin-bottom: 18px;
    font-weight: 400;
    letter-spacing: 0.1px;
}

.card-specs {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.card-specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-bottom: 18px;
}

.spec-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 10px 12px;
    background: rgba(255,255,255,0.03);
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.04);
    transition: all 0.3s ease;
}

.car-card:hover .spec-item {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.07);
}

.spec-label {
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(140,145,155,0.7);
}

.spec-value {
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255,255,255,0.92);
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.card-year {
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    padding: 5px 14px;
    background: rgba(255,255,255,0.04);
    border-radius: 50px;
    letter-spacing: 0.5px;
}

.card-btn {
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    padding: 8px 20px;
    background: rgba(255,255,255,0.08);
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.12);
    transition: all 0.3s ease;
}

.card-btn:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.25);
    color: #ffffff;
    text-decoration: none;
}

/* --- BRAND FILTERS --- */
.brand-filters {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.filter-btn {
    padding: 10px 22px;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 100px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
    background: var(--glass-hover);
}

.filter-btn.active {
    background: var(--audi-red);
    color: white;
    border-color: var(--audi-red);
}

/* MULTI SECTION */
.multi-section {
    background: var(--bg-primary);
}

/* --- ABOUT SECTION --- */
.about-section {
    background: var(--bg-secondary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(187, 10, 30, 0.1);
    border: 1px solid rgba(187, 10, 30, 0.2);
    border-radius: 12px;
    color: var(--audi-red-light);
}

.feature h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.feature p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.about-visual {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.visual-card {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
}

.visual-card:hover {
    border-color: var(--audi-red);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(187, 10, 30, 0.1);
}

.visual-number {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--audi-red), var(--audi-red-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.visual-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* --- CONTACT SECTION --- */
.contact-section {
    background: var(--bg-primary);
}

.contact-cta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1000px;
    margin: 0 auto;
}

.cta-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 48px 32px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    text-decoration: none;
    color: var(--text-primary);
    cursor: pointer;
}

.cta-card:hover {
    border-color: var(--audi-red);
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(204, 0, 51, 0.12);
}

.cta-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(204, 0, 51, 0.1);
    border-radius: 50%;
    color: var(--audi-red-light);
    margin-bottom: 24px;
    transition: var(--transition);
}

.cta-card:hover .cta-icon {
    background: var(--audi-red);
    color: white;
    transform: scale(1.1);
}

.whatsapp-cta .cta-icon {
    background: rgba(37, 211, 102, 0.12);
    color: #25d366;
}

.whatsapp-cta:hover .cta-icon {
    background: #25d366;
    color: white;
}

.whatsapp-cta:hover {
    border-color: #25d366;
    box-shadow: 0 16px 40px rgba(37, 211, 102, 0.15);
}

.cta-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.cta-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.cta-phone {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--audi-red-light);
    letter-spacing: 0.5px;
}

.whatsapp-cta .cta-phone {
    color: #25d366;
}


/* --- FOOTER --- */
.footer {
    padding: 60px 0 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.audi-rings-footer {
    width: 80px;
    height: 28px;
}

.audi-rings-footer circle {
    fill: none;
    stroke: var(--text-muted);
    stroke-width: 2;
}

.footer-logo-text {
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 300px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.footer-links a {
    font-size: 0.88rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--audi-red-light);
    padding-left: 4px;
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* --- FLOATING CALL BUTTON (PRIORITY) --- */
.call-float {
    position: fixed;
    bottom: 96px;
    right: 28px;
    height: 56px;
    padding: 0 22px 0 16px;
    background: #bb0a1e;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    box-shadow: 0 4px 24px rgba(187, 10, 30, 0.5), 0 0 0 1px rgba(187, 10, 30, 0.3);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    transform: scale(0.5);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
    animation: callPulse 2.5s ease-in-out infinite;
}

.call-float.visible {
    opacity: 1;
    transform: scale(1);
}

.call-label {
    white-space: nowrap;
}

.call-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 36px rgba(187, 10, 30, 0.6), 0 0 0 2px rgba(187, 10, 30, 0.4);
    background: #d40e25;
    color: #ffffff;
    text-decoration: none;
}

@keyframes callPulse {
    0%, 100% { box-shadow: 0 4px 24px rgba(187, 10, 30, 0.5); }
    50% { box-shadow: 0 4px 36px rgba(187, 10, 30, 0.7), 0 0 60px rgba(187, 10, 30, 0.2); }
}

/* --- WHATSAPP BUTTON --- */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    opacity: 0;
    transform: scale(0.5);
}

.whatsapp-float.visible {
    opacity: 1;
    transform: scale(1);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

/* --- AOS (Animate On Scroll) --- */
[data-aos] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- CARD HIDE/SHOW for filters --- */
.car-card.filter-hidden {
    display: none;
}

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

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-visual {
        flex-direction: row;
    }

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

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

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 80px 32px;
        gap: 8px;
        transition: var(--transition);
        border-left: 1px solid var(--border);
    }

    .nav-links.open,
    .nav-menu.open {
        right: 0;
    }

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

    .nav-link {
        width: 100%;
        padding: 14px 18px;
        font-size: 1rem;
    }

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: clamp(2.2rem, 10vw, 3.5rem);
    }

    .hero-stats {
        gap: 20px;
        flex-wrap: wrap;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .section {
        padding: 80px 0;
    }

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

    .about-visual {
        flex-direction: column;
    }

    .contact-cta-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .cta-card {
        padding: 32px 24px;
    }

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

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

    .brand-filters {
        gap: 6px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.78rem;
    }
}

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

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }
}

/* --- IMAGE CAROUSEL --- */
.card-carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-track img {
    min-width: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.15);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    opacity: 0;
    transition: var(--transition);
    font-size: 1rem;
}

.car-card:hover .carousel-btn {
    opacity: 1;
}

.carousel-btn:hover {
    background: var(--audi-red);
    border-color: var(--audi-red);
    transform: translateY(-50%) scale(1.1);
}

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

.carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 5;
    opacity: 0;
    transition: var(--transition);
}

.car-card:hover .carousel-dots {
    opacity: 1;
}

.carousel-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.carousel-dot.active {
    background: var(--audi-red);
    width: 20px;
    border-radius: 4px;
}

.carousel-counter {
    position: absolute;
    bottom: 10px;
    right: 10px;
    padding: 4px 10px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(6px);
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    z-index: 5;
}
