/* ==========================================================================
   Samsun DSG Center Style Sheet - Premium Dark Mode Automotive Design
   ========================================================================== */

/* Design System & Custom Properties */
:root {
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Colors: HSL harmonized palette */
    --bg-darker: hsl(220, 35%, 6%);
    --bg-dark: hsl(220, 25%, 10%);
    --bg-card: hsla(220, 25%, 15%, 0.65);
    --border-color: hsla(220, 25%, 25%, 0.25);
    
    /* Accents */
    --primary: hsl(25, 100%, 50%);         /* Mechanical Neon Orange */
    --primary-glow: hsla(25, 100%, 50%, 0.4);
    --primary-hover: hsl(25, 100%, 43%);
    --secondary: hsl(205, 90%, 55%);       /* Racing Blue */
    --success: hsl(142, 70%, 45%);         /* Safety Green */
    --warning: hsl(45, 100%, 50%);         /* Warning Gold */
    --danger: hsl(355, 85%, 55%);          /* Critical Red */
    
    /* Text Colors */
    --text-main: hsl(220, 15%, 90%);
    --text-muted: hsl(220, 10%, 65%);
    --text-light: hsl(220, 10%, 80%);
    
    /* Layout */
    --container-max-width: 1200px;
    --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: all 0.2s ease;
    --radius-lg: 16px;
    --radius-md: 10px;
    --radius-sm: 6px;
}

/* Reset and Global Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
}

body {
    background-color: var(--bg-darker);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

/* Typography helper classes */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: #ffffff;
}

.text-gradient {
    background: linear-gradient(135deg, #ffffff 30%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-center { text-align: center; }
.text-light { color: var(--text-light); }
.text-white { color: #ffffff; }

/* Grid and Container */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.grid {
    display: grid;
    gap: 30px;
}

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

/* Common UI Elements: Glass Panel */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    transition: var(--transition-smooth);
}

.glass-panel:hover {
    border-color: rgba(255, 94, 0, 0.2);
    box-shadow: 0 12px 40px 0 rgba(255, 94, 0, 0.08);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    border: none;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, hsl(20, 100%, 45%) 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 94, 0, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-success {
    background: var(--success);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.btn-success:hover {
    background: hsl(142, 70%, 38%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.5);
}

.btn-info {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-info:hover {
    background: hsl(217, 91%, 50%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

.btn-phone {
    background: rgba(255, 94, 0, 0.1);
    color: var(--primary);
    border: 1px solid rgba(255, 94, 0, 0.3);
    font-size: 0.9rem;
    padding: 8px 18px;
}

.btn-phone:hover {
    background: var(--primary);
    color: #ffffff;
}

.btn-back {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-back:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-light-border {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 22px;
}

.btn-light-border:hover {
    background: #ffffff;
    color: var(--bg-darker);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.05rem;
    width: 100%;
}

.glow-button {
    animation: pulseGlow 2s infinite alternate;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 5px rgba(34, 197, 94, 0.3);
    }
    100% {
        box-shadow: 0 0 20px rgba(34, 197, 94, 0.7);
    }
}

/* Sections Global */
section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 800;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Top Quick Actions Bar */
.top-quick-actions-bar {
    background: #080a0f;
    border-bottom: 1px solid var(--border-color);
    padding: 8px 0;
    width: 100%;
    z-index: 1001;
    position: relative;
}

.top-actions-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
}

.top-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 6px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.85rem;
    color: #ffffff;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
    min-width: 0;
}

.top-action-btn span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.top-action-btn i {
    font-size: 1rem;
}

.top-action-btn.call {
    background: linear-gradient(135deg, var(--primary) 0%, hsl(20, 100%, 45%) 100%);
    border-color: rgba(255, 94, 0, 0.3);
    box-shadow: 0 4px 10px var(--primary-glow);
}
.top-action-btn.call:hover {
    box-shadow: 0 6px 15px rgba(255, 94, 0, 0.5);
    transform: translateY(-1px);
}

.top-action-btn.whatsapp {
    background: linear-gradient(135deg, #22c55e 0%, #15803d 100%);
    border-color: rgba(34, 197, 94, 0.3);
    box-shadow: 0 4px 10px rgba(34, 197, 94, 0.2);
}
.top-action-btn.whatsapp:hover {
    box-shadow: 0 6px 15px rgba(34, 197, 94, 0.4);
    transform: translateY(-1px);
}

.top-action-btn.map {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.2);
}
.top-action-btn.map:hover {
    box-shadow: 0 6px 15px rgba(59, 130, 246, 0.4);
    transform: translateY(-1px);
}

/* Header */
.main-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 13, 20, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    transition: var(--transition-smooth);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: grid;
    grid-template-areas: 
        "title brand"
        "sub sub";
    grid-template-columns: max-content max-content;
    align-items: center;
    column-gap: 0;
    row-gap: 2px;
    text-decoration: none;
}

.logo-subtitle {
    grid-area: sub;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.5px;
    margin-top: 4px;
    line-height: 1.1;
    transition: var(--transition-fast);
}

.logo:hover .logo-subtitle {
    color: #ffffff;
}

.logo-text-yellow {
    grid-area: title;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.1rem;
    color: var(--warning);
    text-shadow: 0 0 10px rgba(255, 193, 7, 0.25);
    letter-spacing: -0.8px;
    transition: var(--transition-fast);
    white-space: nowrap;
    flex-shrink: 0;
}

.logo:hover .logo-text-yellow {
    color: #ffffff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.header-vag-logos {
    grid-area: brand;
    display: inline-flex;
    align-items: center;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    padding-left: 15px;
    margin-left: 15px;
    height: 28px;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.header-vag-img {
    height: 28px;
    width: auto;
    max-width: none !important;
    display: block;
    opacity: 0.75;
    transition: var(--transition-fast);
}

.logo:hover .header-vag-img {
    opacity: 1;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.35));
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-vag-logos {
    grid-area: brand;
    display: inline-flex;
    align-items: center;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    padding-left: 15px;
    margin-left: 15px;
    height: 28px;
    flex-shrink: 0;
}

.footer-vag-img {
    height: 28px;
    width: auto;
    max-width: none !important;
    display: block;
    opacity: 0.65;
    transition: var(--transition-fast);
}

.footer-brand .logo:hover .footer-vag-img {
    opacity: 1;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.35));
}

@media (max-width: 992px) {
    .footer-vag-logos {
        display: none !important; /* Hide brand logos on footer to prevent overflow */
    }
}

@media (max-width: 768px) {
    .logo {
        display: grid;
        grid-template-areas: 
            "title brand"
            "sub sub";
        grid-template-columns: auto auto;
        align-items: center;
        justify-content: center;
        justify-items: center;
        column-gap: 0;
        row-gap: 2px;
    }
    .logo-text-yellow {
        font-size: 1.6rem;
    }
    .logo-subtitle {
        font-family: var(--font-heading);
        font-size: 0.8rem;
        font-weight: 500;
        letter-spacing: 0.5px;
        text-align: center;
        justify-self: center;
    }
    .header-vag-logos {
        display: inline-flex !important;
        border-left: 1px solid rgba(255, 255, 255, 0.15) !important;
        padding-left: 12px !important;
        margin-left: 12px !important;
        height: 22px;
    }
    .header-vag-img {
        height: 22px;
    }
}

@media (max-width: 360px) {
    .logo-text-yellow {
        font-size: 1.3rem;
    }
    .header-vag-logos {
        height: 18px;
        padding-left: 8px !important;
        margin-left: 8px !important;
    }
    .header-vag-img {
        height: 18px;
    }
    .logo-subtitle {
        font-size: 0.7rem;
    }
}

.logo-icon {
    font-size: 1.8rem;
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary-glow);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: 0.5px;
    color: #ffffff;
    line-height: 1;
}

.brand-sub {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--primary);
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-light);
    position: relative;
    padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
    color: #ffffff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition-fast);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    transition: var(--transition-fast);
}

/* Hero Section */
.hero-section {
    padding-top: 60px;
    padding-bottom: 120px;
    background: radial-gradient(circle at 80% 30%, hsla(25, 100%, 50%, 0.08), transparent 50%),
                radial-gradient(circle at 10% 70%, hsla(205, 90%, 55%, 0.05), transparent 50%);
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    top: -100px;
    right: -100px;
    background: radial-gradient(circle, hsla(25, 100%, 50%, 0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    margin-bottom: 20px;
}

.eyebrow-text {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    background: rgba(255, 94, 0, 0.08);
    border: 1px solid rgba(255, 94, 0, 0.25);
    padding: 6px 18px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(255, 94, 0, 0.05);
}

.badge-container {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.badge-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.badge-item.accent {
    border-color: rgba(255, 94, 0, 0.25);
    background: rgba(255, 94, 0, 0.06);
    color: var(--primary);
}

.hero-content {
    container-type: inline-size;
    width: 100%;
    min-width: 0;
}

.hero-title {
    font-size: clamp(1.2rem, 5.4cqw, 3.5rem);
    white-space: nowrap;
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-sep {
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    -webkit-text-fill-color: var(--text-muted);
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.85em;
    font-weight: 300;
    margin: 0;
    display: inline-block;
    vertical-align: middle;
    transform: translateY(-2px);
    opacity: 0.7;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 580px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    height: 36px;
    display: flex;
    align-items: flex-end;
}

.stat-lbl {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Hero Image & 3D Gearbox Effect */
.hero-image-container {
    position: relative;
}

.image-wrapper {
    position: relative;
    z-index: 1;
}

.hero-img {
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.5));
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 45px rgba(0, 180, 255, 0.12);
    animation: floatingImage 6s ease-in-out infinite;
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    background: radial-gradient(circle, rgba(0, 180, 255, 0.25) 0%, transparent 65%);
    z-index: -1;
    opacity: 0.85;
    mix-blend-mode: color-dodge;
}

@keyframes floatingImage {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(0.5deg); }
}

/* Interactive Diagnostics */
.diagnostics-section {
    background: var(--bg-dark);
}

.diagnostics-card {
    max-width: 800px;
    margin: 0 auto;
    border-color: rgba(255, 94, 0, 0.15);
}

.quiz-progress {
    background: rgba(255, 255, 255, 0.05);
    height: 8px;
    border-radius: 50px;
    margin-bottom: 40px;
    position: relative;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 50px;
    width: 33.33%;
    transition: width 0.4s ease;
}

.progress-text {
    position: absolute;
    right: 0;
    top: -24px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
}

.quiz-steps {
    position: relative;
}

.quiz-step {
    display: none;
}

.quiz-step.active {
    display: block;
    animation: fadeInStep 0.4s ease forwards;
}

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

.step-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 30px;
}

/* Options Styling */
.quiz-option {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 30px 20px;
    cursor: pointer;
    position: relative;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.quiz-option:hover {
    background: rgba(255, 94, 0, 0.04);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.quiz-option.selected {
    background: rgba(255, 94, 0, 0.08);
    border-color: var(--primary);
    box-shadow: 0 4px 15px var(--primary-glow);
}

.option-icon {
    font-size: 2.2rem;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.quiz-option:hover .option-icon, .quiz-option.selected .option-icon {
    color: var(--primary);
}

.quiz-option .badge {
    position: absolute;
    top: -12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-light);
}

.step-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 30px;
}

/* Symptoms Checkboxes */
.symptoms-list {
    display: grid;
    gap: 15px;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
}

/* Scrollbar styling for symptoms list */
.symptoms-list::-webkit-scrollbar {
    width: 6px;
}
.symptoms-list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}
.symptoms-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.symptom-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 18px 24px;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    transition: var(--transition-fast);
}

.symptom-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.15);
}

.symptom-item input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    min-width: 22px;
    height: 22px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 4px;
    position: relative;
    display: inline-block;
    margin-top: 2px;
    transition: var(--transition-fast);
}

.symptom-item input[type="checkbox"]:checked + .checkbox-custom {
    border-color: var(--primary);
    background-color: var(--primary);
}

.symptom-item input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #ffffff;
    font-size: 0.75rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.symptom-text {
    display: flex;
    flex-direction: column;
}

.symptom-text strong {
    font-size: 0.95rem;
    color: #ffffff;
}

.symptom-text small {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 3px;
}

/* Diagnostic Results */
.result-container {
    animation: fadeInStep 0.5s ease;
}

.result-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.result-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.result-icon-wrapper.danger {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.result-icon-wrapper.warning {
    background: rgba(251, 191, 36, 0.15);
    color: var(--warning);
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.result-status-badge {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 3px 10px;
    border-radius: 50px;
}

.result-status-badge.danger { background: rgba(239, 68, 68, 0.2); color: #f87171; }
.result-status-badge.warning { background: rgba(251, 191, 36, 0.2); color: #fbbf24; }

.result-title {
    font-size: 1.5rem;
    margin-top: 4px;
}

.card-bg {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 25px;
    margin-bottom: 30px;
}

.result-desc {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.diagnosis-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}

.detail-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.detail-item i {
    font-size: 1.15rem;
    color: var(--primary);
    margin-top: 3px;
}

.detail-item strong {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.detail-item span {
    font-size: 0.9rem;
    color: #ffffff;
    font-weight: 500;
}

.result-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

/* Services Page Card Layout */
.services-section {
    background: var(--bg-darker);
}

.services-section .grid-3 {
    margin-top: 40px;
}

.service-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 35px 25px;
}

.service-icon-box {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    background: rgba(255, 94, 0, 0.08);
    border: 1px solid rgba(255, 94, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 25px;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon-box {
    background: var(--primary);
    color: #ffffff;
    transform: rotateY(180deg);
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.service-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 25px;
    flex-grow: 1;
}

.service-bullets {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-bullets li {
    font-size: 0.85rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-bullets li i {
    color: var(--primary);
    font-size: 0.75rem;
}

/* Diagnostic Card (Premium Wide Layout) */
.service-card.diagnostic-card {
    grid-column: 1 / -1;
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: space-between;
    padding: 30px 40px !important;
    height: auto;
    background: linear-gradient(135deg, rgba(20, 24, 35, 0.8) 0%, rgba(10, 13, 20, 0.95) 100%);
    border: 1px solid rgba(255, 94, 0, 0.2);
    border-top: 1px solid rgba(255, 94, 0, 0.4);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(255, 94, 0, 0.05);
}

.service-card.diagnostic-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 94, 0, 0.5);
    box-shadow: 0 20px 50px rgba(255, 94, 0, 0.15), inset 0 0 30px rgba(255, 94, 0, 0.1);
}

.diagnostic-content {
    display: flex;
    align-items: center;
    gap: 25px;
    flex: 1;
}

.service-card.diagnostic-card .diagnostic-text {
    flex: 1;
    text-align: left;
    grid-column: auto; /* reset mobile grid */
}

.service-card.diagnostic-card .diagnostic-text .service-title {
    margin-bottom: 8px;
    font-size: 1.4rem;
    color: #fff;
    grid-column: auto; /* reset mobile grid */
}

.service-card.diagnostic-card .diagnostic-text .service-desc {
    margin-bottom: 0;
    max-width: 800px;
    grid-column: auto; /* reset mobile grid */
}

.service-card.diagnostic-card .card-action {
    display: block !important;
    margin-top: 0;
    margin-left: 30px;
}

.service-card.diagnostic-card .premium-icon {
    background: linear-gradient(135deg, rgba(255, 94, 0, 0.15) 0%, rgba(255, 94, 0, 0.05) 100%);
    border-color: rgba(255, 94, 0, 0.3);
    color: var(--primary);
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    flex-shrink: 0;
    grid-row: auto; /* reset mobile grid */
    align-self: center;
    margin-bottom: 0;
}

.service-card.diagnostic-card:hover .premium-icon {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 0 20px var(--primary-glow);
    transform: none; /* remove generic flip effect */
}

@media (max-width: 992px) {
    .service-card.diagnostic-card {
        flex-direction: column !important;
        text-align: center;
        padding: 30px 25px !important;
        gap: 25px;
    }
    
    .diagnostic-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .service-card.diagnostic-card .diagnostic-text {
        text-align: center;
    }
    
    .service-card.diagnostic-card .card-action {
        margin-left: 0;
        width: 100%;
        margin-top: 15px;
    }
    
    .service-card.diagnostic-card .card-action .btn {
        width: 100%;
        justify-content: center;
    }
}

.card-action {
    margin-top: 30px;
}

/* Advantages Section */
.advantages-section {
    background: var(--bg-dark);
}

.advantage-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 10px;
}

.advantage-icon {
    width: 70px;
    height: 70px;
    border-radius: 50px;
    background: rgba(255, 94, 0, 0.05);
    border: 1px solid rgba(255, 94, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 20px;
    transition: var(--transition-smooth);
}

.advantage-item:hover .advantage-icon {
    background: var(--primary);
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 0 20px var(--primary-glow);
}

.advantage-item h4 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.advantage-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Timeline/Workflow Section */
.process-section {
    background: var(--bg-darker);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 40px;
    width: 2px;
    background: linear-gradient(180deg, var(--primary) 0%, rgba(255, 94, 0, 0.1) 100%);
}

.timeline-item {
    display: flex;
    gap: 30px;
    position: relative;
}

.timeline-badge {
    min-width: 40px;
    height: 40px;
    border-radius: 50px;
    background: var(--bg-dark);
    border: 2px solid var(--primary);
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.timeline-content {
    flex-grow: 1;
    padding: 20px 25px;
}

.timeline-content h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--primary);
}

.timeline-content p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* Testimonials */
.testimonials-section {
    background: var(--bg-dark);
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.stars {
    color: var(--warning);
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.testimonial-header .stars {
    margin-bottom: 0;
}

.google-review-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    opacity: 0.85;
}

.google-review-tag i {
    color: #4285F4;
}

.comment {
    font-size: 0.92rem;
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.5;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 15px;
    margin-top: auto;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--text-muted);
}

.user-name {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
}

.user-title {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Repair Times Section */
.repair-times-section {
    background: #06080d;
}

.time-card {
    padding: 18px 22px;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(0, 0, 0, 0.2) 100%);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 15px;
    row-gap: 4px;
    align-items: center;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.time-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 94, 0, 0.3);
    border-top-color: rgba(255, 94, 0, 0.5);
    background: linear-gradient(145deg, rgba(255, 94, 0, 0.06) 0%, rgba(0, 0, 0, 0.3) 100%);
    box-shadow: 0 8px 25px rgba(255, 94, 0, 0.08);
}

.time-icon {
    grid-row: 1 / 3;
    grid-column: 1;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.time-card:hover .time-icon {
    background: rgba(255, 94, 0, 0.15);
    color: var(--primary);
    box-shadow: 0 0 15px rgba(255, 94, 0, 0.15);
}

.time-card h4 {
    grid-row: 1;
    grid-column: 2;
    align-self: end;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.2;
}

.time-value {
    grid-row: 2;
    grid-column: 2;
    align-self: start;
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    font-family: var(--font-heading);
    letter-spacing: 0.3px;
    line-height: 1.2;
}

/* FAQ & Fault Codes Section */
.faq-section {
    background: var(--bg-dark);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: rgba(255, 94, 0, 0.3);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: var(--transition-fast);
}

.faq-question i {
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
}

.faq-answer p {
    padding: 0 25px 25px 25px;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

.faq-answer strong {
    color: var(--primary);
}

/* Contact and Map Section */
.contact-section {
    background: var(--bg-darker);
}

.contact-info {
    padding-right: 40px;
}

.contact-subtitle {
    color: var(--text-muted);
    margin-bottom: 40px;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-item .icon-box {
    width: 45px;
    height: 45px;
    border-radius: 50px;
    background: rgba(255, 94, 0, 0.08);
    border: 1px solid rgba(255, 94, 0, 0.20);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--primary);
}

.contact-item h5 {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.contact-item p {
    font-size: 1.05rem;
    color: #ffffff;
    font-weight: 500;
}

.quick-call-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-map {
    border-color: rgba(255, 94, 0, 0.12);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-inner-title {
    font-size: 1.25rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-inner-title i {
    color: var(--primary);
}

.map-iframe-container {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--bg-dark);
}

.map-navigation-links {
    margin-top: 15px;
    text-align: right;
}

.btn-small-link {
    background: transparent;
    padding: 0;
    color: var(--secondary);
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-small-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Footer Section */
.main-footer {
    background: #06080d;
    border-top: 1px solid var(--border-color);
    padding: 70px 0 30px;
}

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

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.85rem;
    max-width: 320px;
}

.footer-links h5, .footer-info h5 {
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--primary);
}

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

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

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(3px);
}

.footer-info p {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-info p i {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.floating-mobile-bar {
    display: none;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: linear-gradient(135deg, rgba(20, 24, 35, 0.95) 0%, rgba(10, 13, 20, 0.98) 100%);
    width: 90%;
    max-width: 400px;
    padding: 40px 30px;
    border-radius: 24px;
    border: 1px solid rgba(255, 94, 0, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(255, 94, 0, 0.05);
    position: relative;
    transform: translateY(30px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--primary);
    transform: rotate(90deg);
}

.modal-header .modal-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 94, 0, 0.15);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
}

.modal-header h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #fff;
}

.modal-header p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.5;
}

/* Responsive Breakpoints */

@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    html {
        font-size: 14px; /* Global scale-down of rem units on mobile */
    }

    .container {
        padding: 0 12px;
    }

    .main-header .container {
        justify-content: center;
    }

    section { padding: 45px 0; } /* Reduced padding for compact layout */
    
    .section-title { font-size: 1.6rem; margin-bottom: 10px; }
    .section-subtitle { font-size: 0.95rem; margin-bottom: 30px; }
    
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
        gap: 15px; /* Compact grid gap */
    }
    
    /* Simplified mobile-only layout: Hiding non-essential sections */
    .hero-eyebrow,
    .hero-stats,
    .hero-buttons,
    .hero-img,
    .hero-image-container,
    .process-section,
    .advantages-section,
    .testimonials-section,
    .mobile-toggle,
    .nav-menu {
        display: none !important;
    }
    
    .hero-section {
        padding-top: 30px;
        padding-bottom: 40px;
        text-align: center;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 10px;
        gap: 0;
    }
    
    .badge-container {
        justify-content: center;
        gap: 8px;
        margin-bottom: 12px;
    }
    
    .badge-item {
        font-size: 0.72rem;
        padding: 4px 10px;
        gap: 4px;
    }
    
    .hero-title {
        font-family: var(--font-heading);
        font-weight: 800;
        margin-bottom: 15px;
        font-size: 2.8rem;
        letter-spacing: -0.05em;
    }
    
    .hero-title span {
        display: inline-block;
    }
    
    .hero-sep {
        margin: 0;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
        font-size: 0.92rem;
        margin-bottom: 0px; /* Quick Action Card sits above or below description */
    }
    
    .header-actions {
        display: none !important;
    }
    
    /* Compact Services Layout for Mobile */
    .services-section {
        padding-top: 30px;
    }
    .services-section .grid-3 {
        margin-top: 15px;
    }
    
    .service-card {
        display: grid !important;
        grid-template-columns: 44px 1fr;
        gap: 4px 15px;
        padding: 15px;
        border-radius: var(--radius-md);
        box-shadow: 0 4px 15px rgba(0,0,0,0.15);
        align-items: start;
    }
    
    .service-icon-box {
        grid-row: span 2;
        align-self: center;
    }
    
    .service-title {
        grid-column: 2;
    }
    
    .service-desc {
        grid-column: 2;
    }
    
    .service-icon-box {
        margin-bottom: 0;
        min-width: 44px;
        height: 44px;
        font-size: 1.2rem;
        border-radius: 8px;
        flex-shrink: 0;
    }
    
    .service-title {
        font-size: 1.05rem;
        margin-bottom: 4px;
        text-align: left;
    }
    
    .service-desc {
        margin-bottom: 0;
        font-size: 0.8rem;
        text-align: left;
        line-height: 1.4;
    }
    
    .service-bullets,
    .service-card .card-action {
        display: none !important;
    }
    
    /* Compact Contact & Map Section */
    .contact-info {
        padding-right: 0;
    }
    
    .contact-list {
        gap: 20px;
        margin-bottom: 25px;
    }
    
    .contact-item {
        gap: 15px;
    }
    
    .contact-item .icon-box {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .contact-item p {
        font-size: 0.95rem;
    }
    
    .quick-call-actions {
        display: none !important; /* redundant since we have floating bar and mobile quick card */
    }
    
    .map-iframe-container {
        display: block !important;
        height: 250px;
    }
    .map-iframe-container iframe {
        height: 100% !important;
    }
    
    .map-navigation-links {
        margin-top: 15px;
        width: 100%;
        text-align: center;
    }
    
    .map-navigation-links .btn-small-link {
        display: inline-flex;
        width: 100%;
        padding: 14px;
        background: rgba(59, 130, 246, 0.08);
        border: 1px solid rgba(59, 130, 246, 0.25);
        color: #3b82f6;
        border-radius: var(--radius-md);
        justify-content: center;
        font-weight: 700;
        text-decoration: none;
        font-size: 0.9rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-bottom: 25px;
    }
    
    .footer-brand p {
        max-width: 100%;
    }

    .footer-brand .logo {
        grid-template-areas: 
            "title"
            "brand"
            "sub";
        grid-template-columns: 1fr;
        justify-content: center;
        justify-items: center;
        gap: 12px 0;
        margin-bottom: 25px;
    }
    
    .footer-brand .logo-text-yellow {
        font-size: clamp(1.6rem, 8vw, 2.1rem) !important;
    }
    
    .footer-brand .logo-subtitle {
        font-size: clamp(0.85rem, 4vw, 1.05rem) !important;
        letter-spacing: 0.8px;
    }
    
    .footer-brand .footer-vag-logos {
        display: inline-flex !important;
        border-left: none !important;
        padding-left: 0 !important;
        margin-left: 0 !important;
        height: clamp(28px, 9vw, 38px) !important;
    }
    
    .footer-brand .footer-vag-img {
        height: 100% !important;
        opacity: 0.95;
    }
    
    /* Mobile Top Actions overrides */
    .top-quick-actions-bar {
        padding: 6px 0;
    }
    
    .top-quick-actions-bar .container {
        padding: 0 10px;
    }
    
    .top-actions-grid {
        display: flex;
        gap: 6px;
    }
    
    .top-action-btn {
        flex: 1;
        min-width: 0;
        padding: 8px 3px;
        font-size: 0.72rem;
        gap: 4px;
        letter-spacing: 0px;
    }
    
    .top-action-btn i {
        font-size: 0.85rem;
    }
    
    /* Floating Mobile Bar (Premium Floating Pill style) */
    .floating-mobile-bar {
        display: flex;
        position: fixed;
        bottom: 20px;
        left: 4%;
        width: 92%;
        height: auto;
        padding: 8px;
        gap: 8px;
        background: transparent;
        border-radius: 60px;
        z-index: 9999;
        box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6);
        overflow: hidden;
    }

    .floating-mobile-bar::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 150vw;
        height: 150vw;
        background: conic-gradient(from 0deg, transparent 92%, #ff5e00 98%, #ff5e00 100%);
        animation: rotateNeon 3s linear infinite;
        z-index: -2;
        transform: translate(-50%, -50%);
    }

    .floating-mobile-bar::after {
        content: '';
        position: absolute;
        inset: 2px;
        background: rgba(10, 13, 20, 0.35);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border-radius: 60px;
        z-index: -1;
    }

    @keyframes rotateNeon {
        0% { transform: translate(-50%, -50%) rotate(0deg); }
        100% { transform: translate(-50%, -50%) rotate(360deg); }
    }
    
    .bar-btn {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
        height: 48px;
        border-radius: 40px;
        font-family: var(--font-heading);
        font-weight: 800;
        font-size: 0.75rem;
        color: #ffffff;
        transition: var(--transition-fast);
        text-transform: uppercase;
        letter-spacing: 0.5px;
        position: relative;
        z-index: 1;
    }
    
    .bar-btn i {
        font-size: 1.05rem;
    }
    
    .bar-btn.call {
        background: linear-gradient(135deg, var(--primary) 0%, hsl(20, 100%, 45%) 100%);
        color: #ffffff;
    }
    
    .bar-btn.whatsapp {
        background: linear-gradient(135deg, #22c55e 0%, #15803d 100%);
        color: #ffffff;
    }
    
    .bar-btn.map {
        background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
        color: #ffffff;
    }
    
    .bar-btn:active {
        opacity: 0.85;
    }
    
    body {
        padding-bottom: 75px; /* Offset to prevent fixed bottom bar covering content */
    }
}

/* Extra Small Screens (iPhone SE, etc.) */
@media (max-width: 480px) {
    html {
        font-size: 13.5px;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    /* Mobile Quick Actions are full-width, no override needed */
}

/* VAG Brand Logos Integrated */

/* Supported Gearboxes Bar */
.supported-gearboxes-bar {
    background: #090b11;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 30px 0;
    text-align: center;
    position: relative;
    z-index: 2;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.supported-gearboxes-bar .bar-title {
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 20px;
    font-weight: 700;
}

.gearbox-pills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    max-width: 1100px;
    margin: 0 auto;
}

.gearbox-code-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0.2) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    padding: 8px 18px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    user-select: none;
    -webkit-user-select: none;
    position: relative;
    overflow: hidden;
}

.gearbox-code-pill::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
    transform: skewX(-20deg);
    transition: 0.7s;
}

.gearbox-code-pill:hover::before {
    left: 150%;
}

.gearbox-code-pill:hover {
    background: linear-gradient(145deg, rgba(255, 94, 0, 0.1) 0%, rgba(0, 0, 0, 0.4) 100%);
    border-color: rgba(255, 94, 0, 0.4);
    border-top-color: rgba(255, 94, 0, 0.6);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 20px rgba(255, 94, 0, 0.15), inset 0 1px 0 rgba(255, 94, 0, 0.2);
}

.gearbox-code-pill .code-name {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.gearbox-code-pill .code-sep {
    color: var(--primary);
    font-size: 0.8rem;
    opacity: 0.85;
}

.gearbox-code-pill .code-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

@media (max-width: 768px) {
    .gearbox-pills-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 0 10px;
    }
    .gearbox-code-pill {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        padding: 12px 6px;
        border-radius: 16px;
        text-align: center;
    }
    .gearbox-code-pill .code-sep {
        display: none;
    }
    .gearbox-code-pill .code-name {
        font-size: 0.95rem;
    }
    .gearbox-code-pill .code-desc {
        font-size: 0.72rem;
    }
    .supported-gearboxes-bar {
        padding: 20px 0;
    }
}

/* Preloader / Splash Screen */
body.loading {
    overflow: hidden !important;
}

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #06080d;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: transform 0.9s cubic-bezier(0.85, 0, 0.15, 1), opacity 0.9s cubic-bezier(0.85, 0, 0.15, 1);
}

.preloader.fade-out {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: preloaderFadeIn 0.8s ease forwards 0.2s;
}

@keyframes preloaderFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.preloader-line {
    width: 180px;
    height: 2px;
    background: rgba(255, 255, 255, 0.08);
    margin-top: 35px;
    border-radius: 2px;
    position: relative;
}

.preloader-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary);
    border-radius: 2px;
    box-shadow: 0 0 12px var(--primary), 0 0 4px rgba(255, 255, 255, 0.6);
    transform-origin: 0% 50%;
    animation: modernIndeterminate 1.6s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes modernIndeterminate {
    0% {
        transform: scaleX(0);
        transform-origin: 0% 50%;
    }
    50% {
        transform: scaleX(1);
        transform-origin: 0% 50%;
    }
    50.1% {
        transform: scaleX(1);
        transform-origin: 100% 50%;
    }
    100% {
        transform: scaleX(0);
        transform-origin: 100% 50%;
    }
}

