@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Russo+One&display=swap');

/* ==========================================================================
   1. DESIGN SYSTEM & VARIABLE TOKEN DEFINITIONS
   ========================================================================== */
:root {
    /* Color Palette */
    --bg-dark: #07080b;
    --bg-darker: #040507;
    --bg-card: rgba(15, 17, 26, 0.6);
    --bg-card-hover: rgba(22, 26, 39, 0.85);
    
    /* Neon Accent Colors */
    --accent-cyan: #00f2fe;
    --accent-cyan-rgb: 0, 242, 254;
    --accent-orange: #ff6a00;
    --accent-orange-rgb: 255, 106, 0;
    --accent-teal: #4facfe;
    --accent-dark-teal: #0070a0;
    --accent-red: #ff0844;
    --accent-gold: #ffe259;
    --accent-blue: #0072ff;
    --accent-green: #97e314;
    
    /* Neutral Shades */
    --text-white: #ffffff;
    --text-light: #f7fafc;
    --text-muted: #8e9bb0;
    --text-dark: #4a5568;
    
    /* Borders & Outlines */
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(0, 242, 254, 0.35);
    
    /* Shadows & Glows */
    --glow-cyan: 0 0 25px rgba(0, 242, 254, 0.35);
    --glow-orange: 0 0 25px rgba(255, 106, 0, 0.35);
    --glow-card-hover: 0 10px 40px rgba(0, 0, 0, 0.5);
    --transition-speed: 0.3s;
}

/* ==========================================================================
   2. RESET & GLOBAL STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: 'Rajdhani', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: 500;
    overflow-x: hidden;
}

body {
    background: radial-gradient(circle at 50% 0%, #151926 0%, var(--bg-dark) 60%);
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    border: 2px solid var(--bg-darker);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-cyan);
    box-shadow: 0 0 10px var(--accent-cyan);
}

/* Typography Custom Styling (Russo One - Aggressive Racing Font) */
h1, h2, h3, h4, h5, h6, .logo {
    font-family: 'Russo One', sans-serif;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

h1 {
    font-weight: 400;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all var(--transition-speed) ease;
}

/* ==========================================================================
   3. PREMIUM INTERACTION EFFECTS (CUSTOM CURSOR)
   ========================================================================== */
@media (hover: hover) {
    .custom-cursor {
        width: 8px;
        height: 8px;
        background: var(--accent-cyan);
        border-radius: 50%;
        position: fixed;
        pointer-events: none;
        z-index: 10000;
        transform: translate(-50%, -50%);
        transition: width 0.15s, height 0.15s, background-color 0.15s;
    }
    
    .custom-cursor-glow {
        width: 32px;
        height: 32px;
        border: 1.5px solid var(--accent-orange);
        border-radius: 50%;
        position: fixed;
        pointer-events: none;
        z-index: 9999;
        transform: translate(-50%, -50%);
        transition: transform 0.08s ease-out, border-color 0.15s;
    }
    
    body:hover .custom-cursor,
    body:hover .custom-cursor-glow {
        opacity: 1;
    }
    
    .cursor-active .custom-cursor {
        width: 16px;
        height: 16px;
        background: var(--accent-orange);
    }
    .cursor-active .custom-cursor-glow {
        width: 48px;
        height: 48px;
        border-color: var(--accent-cyan);
    }
}

@media (hover: none) {
    .custom-cursor, .custom-cursor-glow {
        display: none;
    }
}

/* ==========================================================================
   4. GLASSMORPHISM COMPONENTS & CONTAINER UTILITIES
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all var(--transition-speed) cubic-bezier(0.25, 0.8, 0.25, 1);
}

.glass-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--glow-card-hover), 0 0 15px rgba(0, 242, 254, 0.1);
    background: var(--bg-card-hover);
}

/* Base Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    font-size: 1rem;
    font-weight: 400;
    font-family: 'Russo One', sans-serif;
    letter-spacing: 0.06em;
    border-radius: 8px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-speed) cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: all 0.6s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn-neon-cyan {
    background: var(--accent-cyan);
    color: var(--bg-darker);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.3);
}

.btn-neon-cyan:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 242, 254, 0.6), 0 0 10px rgba(0, 242, 254, 0.3);
}

.btn-neon-orange {
    background: var(--accent-orange);
    color: var(--text-white);
    border: none;
    box-shadow: 0 4px 15px rgba(255, 106, 0, 0.3);
}

.btn-neon-orange:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 106, 0, 0.6), 0 0 10px rgba(255, 106, 0, 0.3);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-white);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-cyan);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

.btn-sm {
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 1.1rem 2.2rem;
    font-size: 1.1rem;
}

/* Helpers */
.text-neon-cyan {
    color: var(--accent-cyan);
    text-shadow: 0 0 10px rgba(0, 242, 254, 0.3);
}

.text-neon-orange {
    color: var(--accent-orange);
    text-shadow: 0 0 10px rgba(255, 106, 0, 0.3);
}

/* ==========================================================================
   5. HEADER & NAVIGATION STYLING
   ========================================================================== */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    background: rgba(7, 8, 11, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: all 0.4s ease;
}

.glass-nav.scrolled {
    padding: 0.5rem 0;
    background: rgba(4, 5, 7, 0.85);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2rem;
    transition: padding 0.4s ease;
}

.glass-nav.scrolled .nav-container {
    padding: 0.8rem 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-accent {
    animation: pulse-glow 2s infinite;
}

.logo-light {
    color: var(--accent-orange);
    text-shadow: 0 0 5px rgba(255,106,0,0.3);
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    position: relative;
    padding: 0.5rem 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-orange));
    transition: width var(--transition-speed) ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Mobile Toggler */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
    padding: 0.5rem;
}

.mobile-menu-toggle .bar {
    width: 25px;
    height: 2px;
    background: var(--text-light);
    transition: all 0.4s ease;
}

/* Drawer Menu (Mobile) */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(7, 8, 11, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 990;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid var(--border-color);
    transition: right 0.4s cubic-bezier(0.85, 0, 0.15, 1);
    padding: 3rem;
}

.mobile-drawer.open {
    right: 0;
}

.drawer-menu {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.drawer-link {
    font-size: 1.3rem;
    font-family: 'Russo One', sans-serif;
    color: var(--text-muted);
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.drawer-link:hover {
    color: var(--accent-cyan);
    padding-left: 5px;
}

/* Toggled mobile state */
.mobile-menu-toggle.open .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-toggle.open .bar:nth-child(2) {
    opacity: 0;
}
.mobile-menu-toggle.open .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ==========================================================================
   6. HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
    background-image: url('assets/hero_car.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(7, 8, 11, 0.65) 0%, rgba(7, 8, 11, 0.85) 80%, var(--bg-dark) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.hero-badges-container {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.badge-glow {
    border-color: var(--border-hover);
    color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.2);
}

.hero-title {
    font-size: clamp(2.3rem, 5.2vw, 4.8rem);
    line-height: 1.1;
    font-weight: 400;
    color: var(--text-white);
}

.hero-subtitle {
    max-width: 750px;
    font-size: clamp(1.05rem, 1.3vw, 1.35rem);
    color: var(--text-muted);
    line-height: 1.6;
    font-weight: 500;
}

.hero-ctas {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

/* Scroll indicator mouse */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.7;
}

.mouse-wheel {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 20px;
    position: relative;
}

.mouse-wheel::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    width: 4px;
    height: 8px;
    background: var(--accent-cyan);
    border-radius: 2px;
    transform: translateX(-50%);
    animation: scroll-wheel 1.5s infinite;
}

/* ==========================================================================
   7. BADGES & TRUST SECTION
   ========================================================================== */
.badges-section {
    position: relative;
    z-index: 10;
    margin-top: -3rem;
}

.grid-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.badge-card {
    background: rgba(15, 17, 26, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    padding: 2.2rem 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all var(--transition-speed) cubic-bezier(0.25, 0.8, 0.25, 1);
}

.badge-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 106, 0, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.badge-icon {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.badge-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
    color: var(--text-white);
}

.badge-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    font-weight: 600;
}

/* ==========================================================================
   8. SERVICES SECTION STYLING (3 Columns)
   ========================================================================== */
.services-section {
    padding: 7rem 2rem 5rem 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    font-size: 0.9rem;
    text-transform: uppercase;
    font-family: 'Russo One', sans-serif;
    font-weight: 400;
    letter-spacing: 0.15em;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    color: var(--text-white);
    margin-bottom: 1rem;
}

.section-desc {
    max-width: 650px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 600;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all var(--transition-speed) cubic-bezier(0.25, 0.8, 0.25, 1);
}

.service-img-wrapper {
    position: relative;
    height: 230px;
    overflow: hidden;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.service-img-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 60%, rgba(7, 8, 11, 0.9) 100%);
    pointer-events: none;
}

.service-body {
    padding: 2.2rem 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-num {
    position: absolute;
    top: 1rem;
    right: 2rem;
    font-family: 'Russo One', sans-serif;
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.03);
    transition: color 0.4s;
}

.service-card-title {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
    transition: color 0.3s;
}

.service-card-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    font-weight: 600;
}

.service-link {
    font-family: 'Russo One', sans-serif;
    font-size: 0.9rem;
    color: var(--text-white);
    display: inline-flex;
    align-items: center;
    letter-spacing: 0.05em;
}

/* Hover service card states */
.service-card:hover {
    transform: translateY(-8px);
    background: var(--bg-card-hover);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: var(--glow-card-hover), 0 0 20px rgba(255, 255, 255, 0.03);
}

.service-card:hover .service-img {
    transform: scale(1.08);
}

.service-card:hover .service-num {
    color: rgba(255, 255, 255, 0.08);
}

.service-card:hover .service-link {
    color: var(--accent-cyan);
    text-shadow: 0 0 8px rgba(0, 242, 254, 0.3);
}

.service-card:nth-child(even):hover .service-link {
    color: var(--accent-orange);
    text-shadow: 0 0 8px rgba(255, 106, 0, 0.3);
}

/* ==========================================================================
   9. NEW SHOWROOM SECTION (COMPRA-VENTA)
   ========================================================================== */
.showroom-section {
    padding: 8rem 0;
    background: radial-gradient(circle at 100% 50%, rgba(255, 106, 0, 0.08) 0%, transparent 60%),
                radial-gradient(circle at 0% 50%, rgba(0, 242, 254, 0.08) 0%, transparent 60%),
                linear-gradient(180deg, var(--bg-dark) 0%, #0c0e15 50%, var(--bg-dark) 100%);
    border-top: 2px solid rgba(255, 106, 0, 0.25);
    border-bottom: 2px solid rgba(0, 242, 254, 0.25);
    position: relative;
}

.showroom-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-orange), transparent);
    box-shadow: 0 0 10px var(--accent-orange);
    z-index: 2;
}

.showroom-section .section-title {
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    display: inline-block;
}

.showroom-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

.showroom-lead {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-white);
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    font-family: 'Rajdhani', sans-serif;
}

.showroom-text {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-weight: 500;
}

.showroom-bullets {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.bullet-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-light);
}

.bullet-check {
    color: var(--accent-orange);
    font-weight: bold;
    text-shadow: 0 0 5px rgba(255, 106, 0, 0.3);
}

/* Showroom Image side */
.showroom-image-block {
    width: 100%;
}

.showroom-img-frame {
    position: relative;
    overflow: hidden;
    padding: 0;
    border-radius: 20px;
    height: 400px;
}

.showroom-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.showroom-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(7, 8, 11, 0.8) 0%, transparent 60%);
}

.showroom-badge-floating {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 106, 0, 0.9);
    color: var(--text-white);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-family: 'Russo One', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 15px rgba(255, 106, 0, 0.4);
    z-index: 5;
}

.showroom-img-frame:hover .showroom-hero-img {
    transform: scale(1.05);
}

/* Inventory Showcase Grid */
.inventory-container {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 5rem;
}

.inventory-title {
    text-align: center;
    margin-bottom: 3.5rem;
    font-size: 1.8rem;
    letter-spacing: 0.08em;
}

.inventory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.car-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.car-img-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.car-status-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--accent-cyan);
    color: var(--bg-darker);
    padding: 0.3rem 0.8rem;
    font-family: 'Russo One', sans-serif;
    font-size: 0.75rem;
    font-weight: bold;
    border-radius: 4px;
    z-index: 5;
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.3);
}

.car-card:nth-child(even) .car-status-badge {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-white);
    box-shadow: none;
}

.car-photo-placeholder {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.car-porsche { background-image: url('assets/hero_car.png'); }
.car-audi { background-image: url('assets/service_paint.png'); }
.car-bmw { background-image: url('assets/service_dealership.png'); }

.car-info-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.2rem 1.5rem;
    background: linear-gradient(360deg, rgba(4, 5, 7, 0.9) 0%, transparent 100%);
    font-family: 'Russo One', sans-serif;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.05em;
}

.car-card:hover .car-photo-placeholder {
    transform: scale(1.06);
}

.car-card-body {
    padding: 1.8rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.car-title {
    font-size: 1.25rem;
    color: var(--text-white);
    margin-bottom: 1.2rem;
    letter-spacing: 0.02em;
}

.car-specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin-bottom: 1.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1.2rem;
}

.spec-cell {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
}

.spec-ico {
    font-size: 1.1rem;
}

.car-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.car-price {
    font-family: 'Russo One', sans-serif;
    font-size: 1.5rem;
    color: var(--accent-orange);
    text-shadow: 0 0 10px rgba(255, 106, 0, 0.2);
}

.car-card:hover {
    border-color: rgba(0, 242, 254, 0.2);
    box-shadow: var(--glow-card-hover), 0 0 15px rgba(0, 242, 254, 0.05);
}

/* ==========================================================================
   10. APPOINTMENT SCHEDULER & TICKET
   ========================================================================== */
.scheduler-section {
    padding: 7rem 2rem;
}

.scheduler-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3.5rem;
    align-items: stretch;
}

.scheduler-form {
    padding: 3rem;
}

.form-title {
    font-size: 1.6rem;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 1.5rem;
}

.form-group label {
    display: block;
    font-family: 'Russo One', sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
    margin-bottom: 0.6rem;
    color: var(--text-white);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.form-input, .form-textarea {
    width: 100%;
    background: #0b0d13;
    border: 2px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 0.9rem 1.1rem;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-white);
    outline: none;
    transition: all var(--transition-speed) ease;
}

.form-input::placeholder, .form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.25);
    font-weight: 600;
}

.form-input:focus, .form-textarea:focus {
    border-color: var(--accent-cyan);
    background: #0f121b;
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.35);
}

/* Racing Button Selectors Grid */
.services-button-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
    gap: 0.8rem;
    margin-top: 0.6rem;
}

.racing-selector {
    position: relative;
    cursor: pointer;
    display: block;
}

.racing-selector input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.selector-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem 0.5rem;
    font-family: 'Russo One', sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    transition: all var(--transition-speed) ease;
    text-align: center;
    min-height: 85px;
    height: auto;
}

.racing-selector:hover .selector-btn {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-white);
}

.racing-selector input[type="checkbox"]:checked ~ .selector-btn {
    background: rgba(255, 106, 0, 0.08);
    border-color: var(--accent-orange);
    color: var(--text-white);
    box-shadow: 0 0 15px rgba(255, 106, 0, 0.25);
    text-shadow: 0 0 4px rgba(255, 106, 0, 0.4);
}

.selector-icon {
    font-size: 1.4rem;
    transition: transform 0.3s;
}

.racing-selector input[type="checkbox"]:checked ~ .selector-btn .selector-icon {
    transform: scale(1.15);
}

/* Custom Range Input */
.form-range {
    width: 100%;
    -webkit-appearance: none;
    background: rgba(255, 255, 255, 0.05);
    height: 6px;
    border-radius: 3px;
    outline: none;
    margin: 1.2rem 0;
}

.form-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent-cyan);
    box-shadow: 0 0 10px var(--accent-cyan);
    cursor: pointer;
    transition: transform 0.2s;
}

.form-range::-webkit-slider-thumb:hover {
    transform: scale(1.25);
}

.range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-dark);
}

.range-labels span.active {
    color: var(--accent-cyan);
    text-shadow: 0 0 5px rgba(0, 242, 254, 0.3);
}

.range-labels span:nth-child(2).active {
    color: var(--accent-orange);
    text-shadow: 0 0 5px rgba(255, 106, 0, 0.3);
}

.range-labels span:nth-child(3).active {
    color: var(--accent-red);
    text-shadow: 0 0 5px rgba(255, 8, 68, 0.3);
}

/* Ticket Preview Styling */
.scheduler-preview {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ticket-card {
    width: 100%;
    max-width: 380px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    position: relative;
    background: radial-gradient(circle at 100% 50%, transparent 12px, var(--bg-card) 12px),
                radial-gradient(circle at 0% 50%, transparent 12px, var(--bg-card) 12px);
    background-size: 50% 100%;
    background-repeat: no-repeat;
    background-position: left, right;
}

.ticket-card:hover {
    transform: scale(1.02);
}

.ticket-border-top {
    height: 6px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-orange));
}

.ticket-body {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
}

.ticket-logo {
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    color: var(--text-white);
    text-align: center;
}

.ticket-logo span {
    color: var(--accent-orange);
}

.ticket-divider {
    border: none;
    border-top: 1.5px dashed var(--border-color);
    margin: 1.5rem 0;
}

.ticket-details {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.ticket-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    font-size: 0.85rem;
    font-weight: 600;
}

.ticket-label {
    color: var(--text-muted);
    font-weight: 700;
}

.ticket-value {
    font-family: 'Russo One', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
    color: var(--text-white);
    text-align: right;
    max-width: 60%;
}

.ticket-barcode-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
    opacity: 0.7;
}

.barcode {
    width: 200px;
    height: 45px;
    background-image: repeating-linear-gradient(90deg, 
        var(--text-white), 
        var(--text-white) 2px, 
        transparent 2px, 
        transparent 5px, 
        var(--text-white) 5px, 
        var(--text-white) 8px, 
        transparent 8px, 
        transparent 10px, 
        var(--text-white) 10px, 
        var(--text-white) 11px, 
        transparent 11px, 
        transparent 15px
    );
}

.barcode-text {
    font-size: 0.7rem;
    letter-spacing: 0.4em;
    color: var(--text-muted);
}

.badge {
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
}

.badge-normal {
    background: rgba(0, 242, 254, 0.15);
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 242, 254, 0.3);
}

.badge-normal, .badge-urgente, .badge-inmediato {
    font-family: 'Russo One', sans-serif;
    letter-spacing: 0.05em;
}

.badge-urgente {
    background: rgba(255, 106, 0, 0.15);
    color: var(--accent-orange);
    border: 1px solid rgba(255, 106, 0, 0.3);
}

.badge-inmediato {
    background: rgba(255, 8, 68, 0.15);
    color: var(--accent-red);
    border: 1px solid rgba(255, 8, 68, 0.3);
    animation: flash 1s infinite alternate;
}

/* ==========================================================================
   11. LOCATION & CONTACT STYLING
   ========================================================================== */
.contact-section {
    padding: 7rem 0;
    border-top: 1px solid var(--border-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.contact-method-card {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.contact-method-card:hover {
    transform: translateX(5px);
}

.contact-icon {
    font-size: 2rem;
}

.contact-method-card h4 {
    font-size: 1.1rem;
    color: var(--text-white);
    margin-bottom: 0.2rem;
}

.contact-method-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 600;
}

.hover-neon-cyan:hover {
    color: var(--accent-cyan);
    text-shadow: 0 0 5px rgba(0, 242, 254, 0.3);
}

.hover-neon-orange:hover {
    color: var(--accent-orange);
    text-shadow: 0 0 5px rgba(255, 106, 0, 0.3);
}

/* Styled map wrapper */
.contact-map {
    height: 420px;
    width: 100%;
}

.map-card {
    height: 100%;
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 0;
}

.map-card iframe {
    filter: invert(90%) hue-rotate(180deg) contrast(95%);
    opacity: 0.85;
    transition: opacity 0.4s, filter 0.4s;
}

.map-card:hover iframe {
    opacity: 1;
    filter: invert(90%) hue-rotate(180deg) contrast(105%);
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 30%, var(--bg-dark) 100%);
    pointer-events: none;
}

/* ==========================================================================
   12. FOOTER
   ========================================================================== */
.footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    padding: 5rem 0 2rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 400px;
    font-weight: 600;
}

.footer-links h4, .footer-hours h4 {
    color: var(--text-white);
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 600;
}

.footer-links a:hover {
    color: var(--accent-cyan);
    padding-left: 5px;
}

.footer-hours p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-dark);
    font-weight: 600;
}

/* ==========================================================================
   13. SCROLL-DRIVEN & MICRO-ANIMATIONS
   ========================================================================== */
@keyframes pulse-glow {
    0%, 100% {
        opacity: 1;
        text-shadow: 0 0 5px var(--accent-cyan), 0 0 10px var(--accent-cyan);
    }
    50% {
        opacity: 0.7;
        text-shadow: 0 0 12px var(--accent-cyan), 0 0 22px var(--accent-cyan);
    }
}

@keyframes scroll-wheel {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, 12px);
        opacity: 0.5;
    }
    100% {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

@keyframes flash {
    0% { opacity: 0.5; }
    100% { opacity: 1; box-shadow: 0 0 12px var(--accent-red); }
}

/* NATIVE SCROLL ANIMATIONS (Progressive Enhancement) */
@media (prefers-reduced-motion: no-preference) {
    @supports ((animation-timeline: view()) and (animation-range: entry)) {
        
        @keyframes reveal-up {
            from {
                opacity: 0;
                transform: translateY(60px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        @keyframes header-scale {
            from {
                padding: 1.2rem 2rem;
                background: rgba(7, 8, 11, 0.7);
            }
            to {
                padding: 0.8rem 2rem;
                background: rgba(4, 5, 7, 0.85);
                box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            }
        }

        .reveal-slide-up {
            animation: reveal-up auto linear backwards;
            animation-timeline: view();
            animation-range: entry 5% entry 40%;
        }

        .badge-card {
            animation: reveal-up auto linear backwards;
            animation-timeline: view();
            animation-range: entry 5% entry 30%;
        }

        .showroom-text-block, .showroom-image-block,
        .car-card,
        .scheduler-form, .scheduler-preview,
        .contact-info, .contact-map {
            animation: reveal-up auto linear backwards;
            animation-timeline: view();
            animation-range: entry 5% entry 30%;
        }
    }
}

/* Standard Fallback classes applied via IntersectionObserver when native view-timeline is missing */
.fade-in-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.js-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ==========================================================================
   14. MOBILE RESPONSIVENESS MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
    .showroom-intro-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .showroom-text-block {
        text-align: center;
    }
    
    .showroom-bullets {
        align-items: center;
    }

    .showroom-img-frame {
        height: 320px;
    }

    .scheduler-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .scheduler-preview {
        order: -1;
    }
}

@media (max-width: 991px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-cta {
        display: none;
    }
    
    .badges-section {
        margin-top: 0;
        padding-top: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-brand p {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-ctas {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
    
    .form-group-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .scheduler-form {
        padding: 1.5rem;
    }

    .scroll-indicator {
        display: none;
    }

    .floating-actions-container {
        right: 1.2rem;
        bottom: 1.2rem;
        gap: 0.6rem;
    }

    .floating-btn {
        width: 46px;
        height: 46px;
    }

    .btn-floating-whatsapp svg {
        width: 24px;
        height: 24px;
    }
}

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

    .hero-title {
        font-size: 2.1rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .scheduler-form {
        padding: 1.2rem;
    }

    .ticket-body {
        padding: 1.5rem 1.2rem;
    }

    .contact-map {
        height: 280px;
    }

    .showroom-img-frame {
        height: 240px;
    }
}

/* ==========================================================================
   15. FLOATING ACTION BUTTONS (WHATSAPP & BACK TO TOP)
   ========================================================================== */
.floating-actions-container {
    position: fixed;
    right: 2rem;
    bottom: 2rem;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    pointer-events: none;
}

.floating-btn {
    pointer-events: auto;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    outline: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-back-to-top {
    background: rgba(11, 13, 19, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 2px solid var(--accent-cyan);
    color: var(--accent-cyan);
    font-size: 1.5rem;
    font-weight: bold;
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    pointer-events: none;
}

.btn-back-to-top.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.btn-back-to-top:hover {
    background: var(--accent-cyan);
    color: var(--bg-darker);
    box-shadow: 0 0 15px var(--accent-cyan);
    transform: translateY(-3px);
}

.btn-floating-whatsapp {
    background: #25d366;
    color: var(--text-white);
}

.btn-floating-whatsapp:hover {
    background: #20ba5a;
    box-shadow: 0 0 15px #25d366;
    transform: translateY(-3px) scale(1.05);
}

.btn-floating-whatsapp svg {
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.2));
}

/* Floating buttons responsive styles moved to Section 14 (Responsiveness Media Queries) */

/* ==========================================================================
   16. GLOWING RACING LOCATOR PIN
   ========================================================================== */
.map-locator-pin {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -100%);
    z-index: 10;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pin-marker {
    color: var(--accent-orange);
    filter: drop-shadow(0 0 8px rgba(255, 106, 0, 0.75));
    animation: pin-bounce 2s infinite ease-in-out;
}

.pin-pulse {
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translate(-50%, 50%);
    width: 20px;
    height: 7px;
    background: rgba(255, 106, 0, 0.45);
    border-radius: 50%;
    animation: pin-pulse 2s infinite ease-in-out;
    filter: blur(1.5px);
}

@keyframes pin-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes pin-pulse {
    0%, 100% {
        transform: translate(-50%, 50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, 50%) scale(2);
        opacity: 0.1;
    }
}
