@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@400;700;900&family=Inter:wght@400;500;600;700;800;900&display=swap');

@font-face {
    font-family: 'Molot';
    src: local('Impact'), local('Anton'), sans-serif;
}

:root {
    /* Color Palette */
    --pure-white: #FFFFFF;
    --gray-light: #F4F4F5;
    --gray: #C6C6C6;
    --yellow: #FFED00;
    --black-super: #000000;
    --black-rich: #121214;
    --black: #231F20;
    
    /* Typography Setup */
    --font-heading: 'League Spartan', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-logo: 'Molot', sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 100px;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- THEME SYSTEM --- */
.theme-light {
    --bg-primary: var(--pure-white);
    --bg-secondary: var(--gray-light);
    --text-primary: var(--black);
    --text-secondary: #666;
    --header-bg: rgba(255, 255, 255, 0.95);
    --header-text: var(--black);
    --card-bg: var(--pure-white);
    --card-border: var(--gray);
}

.theme-dark {
    --bg-primary: var(--black-super);
    --bg-secondary: var(--black-rich);
    --text-primary: var(--pure-white);
    --text-secondary: var(--gray);
    --header-bg: rgba(0,0,0,0);
    --header-text: var(--pure-white);
    --card-bg: #1A1A1C;
    --card-border: rgba(255,255,255,0.05);
}


/* --- RESET & FOUNDATION --- */
* {
    margin: 0; padding: 0; box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.5s ease, color 0.5s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

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

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

/* --- UTILITIES --- */
.d-flex { display: flex; align-items: center; }
.gap-2 { gap: 10px; }

/* --- PREMIUM BUTTONS --- */
.btn {
    display: inline-flex; justify-content: center; align-items: center;
    padding: 16px 36px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-large {
    padding: 20px 48px;
    font-size: 1.1rem;
}

.btn-yellow {
    background: var(--yellow);
    color: var(--black);
}

.btn-yellow::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s ease;
    z-index: -1;
}
.btn-yellow:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--glow-yellow);
}
.btn-yellow:hover::before { left: 100%; }

.btn-outline-white {
    background: rgba(255,255,255,0.05); color: var(--pure-white);
    border: 2px solid rgba(255,255,255,0.5);
    backdrop-filter: blur(10px);
}
.btn-outline-white:hover {
    background: var(--pure-white);
    color: var(--black);
    border-color: var(--pure-white);
    box-shadow: var(--shadow-soft);
    transform: translateY(-3px);
}

/* --- ADAPTIVE GLASS HEADER --- */
.header {
    position: fixed; top: 0; left: 0; width: 100%;
    height: 100px;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 60px;
    z-index: 1000;
    background: var(--header-bg);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition-smooth);
}

.header.scrolled {
    background: var(--pure-white);
    height: 80px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.theme-light .header.scrolled, 
.theme-dark .header.scrolled {
    --header-text: var(--black);
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    transition: var(--transition-smooth);
}

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

.logo-main {
    font-family: var(--font-logo);
    font-size: 2.2rem;
    font-weight: 400;
    color: var(--header-text);
    letter-spacing: 1px;
    line-height: 1;
}
.logo-main span { color: inherit; }

.logo-subtitle {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--header-text);
    opacity: 0.6;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-top: 2px;
}

.nav { display: flex; gap: 40px; align-items: center; }
.nav a {
    font-size: 0.85rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--header-text);
    opacity: 0.7;
    transition: var(--transition-smooth);
    position: relative;
}

.nav a:hover, .nav a.active {
    opacity: 1;
    color: var(--header-text);
}
.nav a.active::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 25px;
    height: 4px;
    background: var(--yellow);
    border-radius: 2px;
}

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

.btn-supplier, .btn-primary {
    background: var(--yellow);
    color: var(--black);
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    transition: var(--transition-smooth);
    border: none;
}
.btn-supplier:hover, .btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 218, 26, 0.3);
}

/* --- CINEMATIC HERO SECTION --- */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    padding: 100px 20px 20px; /* Leave space around */
    background: var(--black-super);
}

.hero-video-wrapper {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 95%; height: 85vh; /* Alejalo un poco */
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0,0,0,0.8);
    border: 1px solid rgba(255,255,255,0.05);
}

.hero-video {
    width: 100%; height: 100%; object-fit: cover;
    z-index: 0;
}

/* White overlay for clean look */
.hero-overlay {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%; z-index: 1;
    background: transparent;
}

.hero-content {
    position: relative; z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.hero-crest {
    height: 350px;
    margin-bottom: -60px;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 30px rgba(0,0,0,0.5));
}


.hero-title {
    font-family: var(--font-heading);
    font-size: 5rem; line-height: 0.9; letter-spacing: -2px;
    font-weight: 900;
    color: var(--pure-white);
    text-transform: uppercase;
    margin-bottom: 10px;
}
.hero-title span { 
    color: var(--yellow);
    -webkit-text-stroke: 1px var(--black);
}

.hero-subtitle {
    font-size: 1.2rem; color: rgba(255,255,255,0.9);
    margin-bottom: 40px;
}

.hero-search-widget {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 60px;
    padding: 10px 10px 10px 30px;
    margin: 40px auto 0;
    width: fit-content;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    gap: 20px;
}

@media (max-width: 768px) {
    .hero-search-widget {
        flex-direction: column;
        border-radius: 24px;
        padding: 20px;
        width: 100%;
        max-width: 400px;
    }
    .dark-widget-inputs {
        flex-direction: column;
        width: 100%;
    }
    .dark-select-wrapper {
        width: 100% !important;
    }
}

/* --- NUEVA BARRA DE BÚSQUEDA BLANCA (DESIGN REFACTOR) --- */
.hero-search-widget.white-widget {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 60px;
    padding: 8px 10px 8px 15px;
    display: flex;
    align-items: center;
    gap: 10px;    max-width: 1000px;
    margin: 40px auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1000; /* Stacking context para los hijos */
}

.white-widget-inputs {
    display: flex;
    gap: 12px;
    align-items: center;
    flex: 1;
}

.searchable-select {
    position: relative;
    flex: 1;
    min-width: 200px;
    height: 65px; /* Tamaño Web Imponente */
    background: #ffffff;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    padding: 0;
    font-size: 1.1rem; /* Letra más grande y legible */
    color: #333;
}

.select-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 0 30px; /* Asegurar que cubra toda el área */
}

.dropdown-arrow {
    font-size: 1.2rem;
    color: #999;
    pointer-events: none; /* La flecha no roba el clic */
    transition: transform 0.3s;
}

.searchable-select:hover {
    border-color: var(--yellow);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.searchable-select.disabled {
    opacity: 0.6;
    background: #f5f5f5;
    cursor: not-allowed;
    pointer-events: none;
}

.select-trigger {
    color: #333;
    font-size: 0.95rem;
    font-weight: 600;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.dropdown-arrow {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.searchable-select.active .dropdown-arrow {
    transform: translateY(-50%) rotate(180deg);
}

/* El desplegable blanco con texto negro */
.select-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    background: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    z-index: 999999; /* Máximo Nivel para sobreponerse a todo */
    display: none;
    overflow: hidden;
    animation: slideDown 0.2s ease-out;
}

/* --- ESTILOS DE RESULTADOS VEHICULARES (DISEÑO SPA) --- */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    padding: 20px 0;
}

.spa-result-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 25px;
    color: white;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.spa-result-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--yellow);
}

.result-brand {
    color: var(--yellow);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.searchable-select.active .select-dropdown {
    display: block;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.search-input {
    width: calc(100% - 20px);
    margin: 10px;
    padding: 10px 15px;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    font-size: 0.9rem;
    outline: none;
    background: #fcfcfc;
}

.search-input:focus {
    border-color: var(--yellow);
}

.options-list {
    max-height: 250px;
    overflow-y: auto;
    list-style: none;
    padding: 0;
    margin: 0;
    scrollbar-width: thin; 
    scrollbar-color: #cccccc transparent;
    user-select: none; /* Prevenir selección de texto al cliquear rápido */
}

.option-item {
    padding: 15px 20px; /* Hitbox ampliada para clics más fáciles */
    color: #333;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 1px solid #f9f9f9;
}

.option-item:last-child {
    border-bottom: none;
}

.option-item:hover, .option-item:active, .option-item.highlighted {
    background: #f0f0f0;
    color: var(--black);
    padding-left: 25px; /* Efecto sutil de desplazamiento */
    outline: none;
}

.option-item.selected {
    background: var(--yellow);
    color: var(--black);
    font-weight: 700;
}

@media (max-width: 992px) {
    .hero-search-widget.white-widget {
        flex-direction: column;
        width: 95%; /* Escalado adaptable según el ancho del dispositivo */
        max-width: 420px;
        margin: 25px auto;
        gap: 15px; /* Espaciado uniforme como en la imagen */
        padding: 30px 18px;
        background: rgba(0, 0, 0, 0.65); /* Fondo denso y premium */
        backdrop-filter: blur(25px);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 45px;
        box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    }

    .white-widget-inputs {
        flex-direction: column;
        width: 100%;
        gap: 15px; /* Gap simétrico para todos los inputs */
    }

    .searchable-select {
        width: 100%;
        height: 72px; /* Altura unificada para simetría total */
        border-radius: 45px; /* Radio píldora idéntico en todos */
        background: #ffffff;
        font-size: 1.15rem; /* Tamaño de fuente balanceado */
        box-sizing: border-box;
    }

    .select-trigger {
        padding: 0 35px;
    }

    #vehicle-search-btn {
        width: 100%;
        margin: 0;
        height: 72px; /* Altura idéntica a los selects para simetría */
        border-radius: 45px; /* Redondeo idéntico */
        font-size: 1.25rem;
        background: var(--yellow);
        color: #000;
        text-shadow: none;
        box-shadow: 0 8px 25px rgba(255, 237, 0, 0.4);
        box-sizing: border-box;
    }

    .select-dropdown {
        position: fixed; /* Desplegable a pantalla completa o modal-like en móvil */
        top: 20%;
        left: 5%;
        width: 90%;
        max-height: 60vh;
        border-radius: 20px;
        box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    }
}

.option-item.selected {
    background: rgba(255, 237, 0, 0.1);
    color: var(--yellow);
    font-weight: 700;
}

/* Botón Buscar en modo Amarillo */
.pill-btn.yellow-theme {
    background: var(--yellow);
    color: var(--black);
    border: none;
    box-shadow: 0 4px 15px rgba(255, 237, 0, 0.3);
}

.pill-btn.yellow-theme:hover {
    background: #e6d500;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 237, 0, 0.4);
}

.btn-yellow-solid {
    height: 48px;
    padding: 0 32px;
    background: var(--yellow);
    color: var(--black);
    border-radius: 12px;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition-smooth);
}

.btn-yellow-solid:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 218, 26, 0.3);
}

/* CONTENEDOR DE RESULTADOS TIPO SPA (HERO) */
.index-results-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 30px auto 0;
    width: 100%;
}
@media (max-width: 900px) {
    .index-results-container { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .index-results-container { grid-template-columns: 1fr; }
}

.spa-result-card {
    background: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 218, 26, 0.2);
    border-radius: 20px;
    padding: 20px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.spa-result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.8), 0 0 15px rgba(255, 218, 26, 0.1);
    border-color: var(--yellow);
}

.spa-result-card .result-brand {
    font-size: 0.8rem;
    color: var(--yellow);
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.spa-result-card .result-img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    margin-bottom: 15px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
}

.spa-result-card .result-specs {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 5px;
}
.spa-result-card .result-specs span { color: white; font-weight: 700; }

.spa-result-card .result-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: white;
    line-height: 1.1;
    margin-bottom: auto; /* Empuja el footer hacia abajo */
    padding-bottom: 15px;
}

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

.spa-result-card .result-stock {
    font-size: 0.8rem;
    color: #4cd137;
    display: flex; align-items: center; gap: 5px;
}
.spa-result-card .result-stock i { width: 14px; height: 14px; }

.spa-result-card .result-price {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: white;
}

.widget-tabs {
    display: flex;
    gap: 10px;
    background: rgba(0,0,0,0.3);
    padding: 5px;
    border-radius: 30px;
    margin-bottom: 5px;
}

.w-tab {
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.6);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.w-tab.active {
    background: var(--yellow);
    color: var(--black);
}

.widget-inputs {
    display: flex;
    gap: 10px;
    background: white;
    padding: 10px;
    border-radius: 50px;
}

.pill-select {
    appearance: none;
    border: none;
    background: transparent;
    padding: 10px 20px 10px 15px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--black);
    outline: none;
    border-right: 1px solid #ccc;
    cursor: pointer;
}
.pill-select:last-of-type { border-right: none; }

.pill-btn {
    background: var(--yellow);
    color: var(--black);
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 800;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex; align-items: center; gap: 8px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

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

.neon-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 15px 30px rgba(255, 218, 26, 0.4),
        0 0 20px rgba(255, 218, 26, 0.6),
        0 0 40px rgba(255, 218, 26, 0.2);
    letter-spacing: 1px;
}

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

.hero-buttons { display: flex; justify-content: center; gap: 20px; }

.hero-stats {
    display: flex; justify-content: center; gap: 60px;
    margin-top: 80px; padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.stat-item {
    display: flex; flex-direction: column; align-items: center; gap: 5px;
}
.stat-item strong {
    font-family: var(--font-heading); font-size: 2.5rem; color: var(--yellow);
    line-height: 1;
}
.stat-item span {
    font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gray);
}

.hero-ia-cta {
    margin-top: 40px;
    text-align: center;
    color: var(--pure-white);
    animation: fadeIn 1s ease-out;
}

.hero-ia-cta p {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    letter-spacing: 1px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.hero-ia-cta img {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    transition: var(--transition-smooth);
    background: white;
    padding: 5px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

.hero-ia-cta img:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
}

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

/* --- MINIMALIST BRANDS MARQUEE --- */
.brands-marquee {
    background: var(--black-super);
    padding: 40px 0;
    overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.brand-track {
    display: flex; gap: 100px; align-items: center; width: max-content;
    animation: scrollBrands 25s linear infinite;
}
.brand-track span {
    font-family: var(--font-heading); font-size: 2.2rem;
    color: var(--yellow);
    letter-spacing: 4px;
    transition: var(--transition-smooth);
    cursor: default;
    display: inline-block;
}
.brand-track span:hover { 
    transform: scale(1.25);
    opacity: 1;
}

@keyframes scrollBrands {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 50px)); }
}

/* --- "NOSOTROS LO RESOLVEMOS" GRID --- */
.problems-section {
    background: var(--bg-secondary);
    padding: 120px 0;
    position: relative;
    border-top: 1px solid var(--card-border);
}

.problems-section .section-header {
    background: var(--black-super);
    padding: 60px 40px;
    border-radius: var(--radius-lg);
    display: inline-block;
    width: 100%;
    margin-bottom: 60px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.problems-section .section-title {
    color: var(--pure-white);
}

.problems-section .section-subtitle {
    color: var(--yellow);
    opacity: 1;
}
.section-subtitle {
    font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem;
    color: var(--yellow); text-transform: uppercase; letter-spacing: 0.2em;
    display: block; margin-bottom: 20px;
    opacity: 0.8;
}
.section-title {
    font-family: var(--font-heading);
    font-size: 5rem; color: var(--text-primary);
    text-transform: uppercase;
    line-height: 0.9;
}
.section-title span { color: var(--yellow); }
.section-desc {
    color: var(--text-secondary); font-size: 1.2rem; margin-top: 20px; max-width: 600px; margin: 20px auto 0;
}

.problems-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
}

.problem-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    min-height: 400px;
    display: flex; flex-direction: column; justify-content: flex-end;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow);
}
.problem-card:hover { 
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-color: var(--yellow);
}

.card-number {
    position: absolute; top: 40px; left: 40px;
    font-family: var(--font-heading); font-size: 5rem;
    color: var(--black);
    opacity: 0.05;
    line-height: 1; z-index: 2;
}

.card-icon-corner {
    position: absolute; top: 30px; right: 30px; font-size: 2.5rem;
}

.card-content { position: relative; z-index: 2; }
.card-title {
    font-size: 2rem; font-weight: 900; margin-bottom: 15px;
    text-transform: uppercase;
    color: var(--text-primary);
}
.card-desc {
    font-size: 1.1rem; color: var(--text-secondary); font-weight: 500;
}

.card-glow {
    position: absolute; top: -50px; right: -50px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(255,218,26,0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    transition: var(--transition-smooth);
}
.card-dark:hover .card-glow { transform: scale(1.5); }

/* --- SERVICES SECTION (TODO EN UN LUGAR) --- */
.services-section {
    background: var(--bg-primary);
    padding: 120px 0;
    border-top: 1px solid var(--card-border);
}

.services-section .section-header {
    background: var(--black-super);
    padding: 60px 40px;
    border-radius: var(--radius-lg);
    display: inline-block;
    width: 100%;
    margin-bottom: 60px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.services-section .section-title {
    color: var(--pure-white);
}

.services-section .section-subtitle {
    color: var(--yellow);
    opacity: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: left;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow);
}

.service-card:hover { 
    transform: translateY(-10px);
    border-color: var(--yellow);
    box-shadow: var(--shadow);
}

.service-img-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 25px;
}

.service-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.time-pill {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--yellow);
    color: var(--black);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 5px;
}

.service-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 218, 26, 0.1);
    color: var(--yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 15px 0;
    border: 1px solid rgba(255, 218, 26, 0.2);
}

.service-icon i { width: 20px; height: 20px; }

.service-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.service-desc {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* --- PREMIUM FOOTER --- */
.footer {
    background: var(--bg-primary);
    color: var(--text-primary);
    background: #0f0f0f;
    padding: 100px 0 0;
    color: #ffffff;
    font-family: var(--font-body);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,221,0,0.3), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 0.8fr 1.2fr;
    gap: 60px;
    padding-bottom: 80px;
}

.footer-brand .footer-logo {
    font-family: var(--font-logo);
    font-size: 2.22rem;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 25px;
    display: inline-block;
    letter-spacing: 2px;
}

.footer-brand .footer-logo span { color: var(--yellow); }

.footer-desc {
    color: #999;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 320px;
}

.footer-socials {
    display: flex;
    gap: 15px;
    margin-bottom: 35px;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
    overflow: hidden; /* Para que la imagen se recorte circularmente */
}

.social-icon-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
    /* Remove filter as it might hide white icons if background is also light/dark */
    transition: transform 0.3s ease;
}

.social-link:hover .social-icon-img {
    transform: scale(1.1);
}

/* Specific for premium feel - circles should look clean */
.social-link {
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}
.social-link:hover .social-icon-img {
    filter: brightness(0);
}

.social-link:hover {
    background: var(--yellow);
    color: var(--black);
    transform: translateY(-5px);
    border-color: var(--yellow);
}

/* Status Badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.03);
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255,255,255,0.05);
    font-size: 0.85rem;
    font-weight: 700;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #00ff88;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff88;
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(0, 255, 136, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 255, 136, 0); }
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.footer-links a:hover {
    color: var(--yellow);
    padding-left: 8px;
}

.footer-contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    color: #999;
}

.footer-contact-item i {
    color: var(--yellow);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.footer-cta-btn {
    background: var(--yellow);
    color: var(--black);
    padding: 16px 30px;
    border-radius: var(--radius-pill);
    font-weight: 800;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
}

.footer-cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(255, 221, 0, 0.4);
}

.footer-bottom {
    background: #000;
    padding: 30px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #555;
    font-size: 0.85rem;
}

/* Brand Logos in Catalog */
.brand-logo-container {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    padding: 0 10px;
}

.brand-logo-img {
    max-height: 100%;
    max-width: 140px;
    object-fit: contain;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.vertical-card:hover .brand-logo-img {
    opacity: 1;
}

/* Speedmax sizing adjustment - make it pop more */
img[src*="Speedmax.png"] {
    max-width: 170px !important;
    max-height: 45px !important;
    transform: scale(1.1);
}

/* Internal page header support */
.internal-page #main-header {
    background: #ffffff !important;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}
.internal-page #main-header .nav a {
    color: var(--black) !important;
}
.internal-page #main-header .logo-main,
.internal-page #main-header .logo-subtitle {
    color: var(--black) !important;
}

@media screen and (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media screen and (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom-grid {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* --- AI DIAGNOSTIC PROMO SECTION --- */
.ai-promo-section {
    background: #ffffff;
    padding: 100px 0;
    position: relative;
    border-top: 1px solid var(--card-border);
}

.tech-pill {
    display: inline-block;
    background: var(--yellow);
    color: var(--black);
    padding: 8px 24px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.ai-title {
    font-family: var(--font-heading);
    font-size: 5rem;
    line-height: 0.9;
    color: var(--black);
    margin-bottom: 60px;
    text-transform: uppercase;
}

.ai-title span {
    display: block;
    color: var(--yellow);
}

.ai-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.ai-step {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.step-number {
    width: 32px;
    height: 32px;
    background: var(--yellow);
    color: var(--black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1rem;
    flex-shrink: 0;
}

.step-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--black);
    text-transform: uppercase;
}

.step-info {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

.step-info strong {
    color: var(--black);
    display: block;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.btn-ai-whatsapp {
    background: var(--yellow);
    color: var(--black);
    padding: 18px 35px;
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-weight: 800;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-ai-whatsapp:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(255, 221, 0, 0.4);
}

@media screen and (max-width: 992px) {
    .ai-title { font-size: 3.5rem; }
    .ai-steps-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media screen and (max-width: 480px) {
    .ai-title { font-size: 2.8rem; }
}

/* --- MAYOREO / SOY PROVEEDOR SECTION --- */
.mayoreo-banner {
    background: #0a0a0a;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.mayoreo-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 221, 0, 0.1);
    color: var(--yellow);
    padding: 10px 25px;
    border-radius: 50px;
    border: 1px solid rgba(255, 221, 0, 0.3);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 35px;
}

.mayoreo-title {
    font-family: var(--font-heading);
    font-size: 5.5rem;
    line-height: 0.9;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.mayoreo-desc {
    color: #888;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.6;
}

.mayoreo-benefits {
    background: #f8f9fa; /* Slightly off-white for contrast as per screenshot 2 */
    padding: 100px 0;
}

.mayoreo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: -150px; /* Overlap effect for premium feel */
    position: relative;
    z-index: 5;
}

.mayoreo-card {
    background: #ffffff;
    padding: 50px 35px;
    border-radius: 20px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.05);
    transition: var(--transition-smooth);
    border: 1px solid rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mayoreo-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.1);
    border-color: var(--yellow);
}

.mayoreo-card-icon {
    width: 54px;
    height: 54px;
    background: #fff9e6;
    color: var(--yellow);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mayoreo-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--black);
    text-transform: uppercase;
    line-height: 1.2;
}

.mayoreo-card p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

.mayoreo-form-section {
    background: #ffffff;
    padding: 120px 0;
    text-align: center;
}

.form-label-top {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--black);
    text-transform: uppercase;
    margin-bottom: 20px;
}

.form-subtitle {
    color: #888;
    font-size: 1.2rem;
    margin-bottom: 70px;
}

.mayoreo-form-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.input-group label {
    font-weight: 700;
    color: #aaa;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-input {
    width: 100%;
    padding: 18px 25px;
    border: 1px solid #eee;
    border-radius: 15px;
    background: #fdfdfd;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--yellow);
    background: #fff;
    box-shadow: 0 10px 25px rgba(255, 221, 0, 0.1);
}

.btn-mayoreo-submit {
    width: 100%;
    background: var(--yellow);
    color: var(--black);
    padding: 22px;
    border-radius: 15px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.btn-mayoreo-submit:hover {
    background: #ffd000;
    transform: scale(1.02);
    box-shadow: 0 15px 35px rgba(255, 221, 0, 0.3);
}

@media screen and (max-width: 1200px) {
    .mayoreo-title { font-size: 4rem; }
}

@media screen and (max-width: 992px) {
    .mayoreo-grid { grid-template-columns: repeat(2, 1fr); margin-top: -100px; }
    .mayoreo-title { font-size: 3.2rem; }
    .form-label-top { font-size: 2.8rem; }
}

@media screen and (max-width: 600px) {
    .mayoreo-grid { grid-template-columns: 1fr; margin-top: -80px; }
    .form-row { grid-template-columns: 1fr; gap: 20px; }
    .mayoreo-title { font-size: 2.5rem; }
    .form-label-top { font-size: 2.2rem; }
    .mayoreo-desc { font-size: 1rem; }
}

/* --- OVERRIDES PARA PAGINAS INTERNAS (Llantas/Diag) --- */
/* The header must start dark if there is no hero video */
body.internal-page .header {
    background: var(--pure-white) !important;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}
body.internal-page .header .logo,
body.internal-page .header .logo-main,
body.internal-page .header .logo-subtitle,
body.internal-page .header .nav a { 
    color: var(--black) !important; 
}
body.internal-page .header.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
}

/* --- AI DIAGNOSIS SECTION --- */
.ai-diagnosis-section {
    background: var(--bg-primary);
    padding: 120px 0;
}

.ai-diagnosis-content {
    background: var(--card-bg);
    border-radius: 40px;
    padding: 80px;
    border: 1px solid var(--card-border);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.ai-badge {
    background: var(--yellow);
    color: var(--black);
    padding: 8px 24px;
    border-radius: 30px;
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 800;
    margin-bottom: 30px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.ai-steps {
    display: flex;
    gap: 40px;
    margin: 40px 0;
}

.ai-step {
    flex: 1;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-num {
    width: 40px;
    height: 40px;
    background: var(--yellow);
    color: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 900;
    flex-shrink: 0;
}

.step-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.step-text strong {
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 900;
    text-transform: uppercase;
}

.ai-step p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* --- TESTIMONIALS SECTION --- */
.testimonials-section {
    background: var(--bg-primary);
    padding: 120px 0;
    border-top: 1px solid var(--card-border);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.testimonial-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid var(--card-border);
    transition: var(--transition-smooth);
    box-shadow: var(--shadow);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    background: var(--white);
    border-color: var(--black);
}

.stars {
    color: #FFED00;
    font-size: 1.2rem;
    margin-bottom: 20px;
    -webkit-text-stroke: 1px rgba(0,0,0,0.1);
}

.testimonial-text {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 30px;
}

.testimonial-user {
    display: flex;
    flex-direction: column;
}

.testimonial-user strong { color: var(--text-primary); font-weight: 900; text-transform: uppercase; }
.testimonial-user span { color: var(--gray); font-size: 0.85rem; }

/* --- MOBILE NAVIGATION --- */
.header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
}

.whatsapp-header-btn {
    width: 44px !important;
    height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 12px !important;
    background: var(--pure-white) !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1) !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
}

.whatsapp-header-btn img {
    width: 24px !important;
    height: 24px !important;
    object-fit: contain !important;
}

.mobile-menu-toggle {
    display: none;
    background: var(--yellow);
    color: var(--black);
    width: 44px !important;
    height: 44px !important;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0 !important;
    border: none;
}

.mobile-menu-toggle i {
    width: 24px !important;
    height: 24px !important;
}

.mobile-menu-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 400px;
    height: 100vh;
    background: var(--pure-white);
    z-index: 2000;
    padding: 40px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -20px 0 50px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

.mobile-menu-drawer.active {
    right: 0 !important;
}

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

.close-menu {
    background: transparent;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--black);
    background: var(--gray-light);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.mobile-nav a {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--black);
    text-transform: uppercase;
    transition: var(--transition-smooth);
}

.mobile-nav a.active {
    color: var(--yellow);
    -webkit-text-stroke: 1px var(--black);
}

.mobile-nav hr {
    border: none;
    border-top: 1px solid var(--gray-light);
    margin: 10px 0;
}

.mobile-cta-btn {
    background: var(--yellow) !important;
    color: var(--black) !important;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    font-size: 1.1rem !important;
    font-weight: 900;
}

.mobile-supplier-btn {
    background: var(--black) !important;
    color: var(--pure-white) !important;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    font-size: 1.1rem !important;
    font-weight: 900;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
    z-index: 1999;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

body.no-scroll {
    overflow: hidden;
}

/* --- RESPONSIVE DESIGN (FINAL FIXES) --- */
@media screen and (max-width: 1200px) {
    .container { padding: 0 40px; }
    .hero-title { font-size: 4rem; }
}

@media screen and (max-width: 992px) {
    .header { padding: 0 20px !important; height: 75px !important; }
    .nav, .header-right { display: none !important; }
    
    .mobile-menu-toggle { display: flex !important; }
    
    .hero-title { font-size: 3.2rem; }
    .section-title { font-size: 3.2rem; }
    
    .problems-grid, .services-grid, .testimonials-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    
    .problem-card { padding: 40px 30px; min-height: 300px; }
}

@media screen and (max-width: 768px) {
    .logo-main { font-size: 1.4rem !important; white-space: nowrap !important; }
    .logo-subtitle { display: none !important; }
    .logo img { height: 45px !important; }

    .hero-title { font-size: 2.4rem !important; text-align: center; }
    .section-title { font-size: 2.2rem !important; }
    
    .dark-widget-inputs { flex-direction: column !important; padding: 15px !important; width: 100% !important; }
    .dark-select-wrapper { width: 100% !important; }
    .btn-yellow-solid { width: 100% !important; justify-content: center; }
    
    .hero-crest { height: 160px !important; margin-bottom: -15px !important; }
    .hero-search-widget { width: 95% !important; padding: 15px !important; }

    .card-number { font-size: 2.5rem !important; top: 15px !important; left: 15px !important; }
}

@media screen and (max-width: 480px) {
    .hero-title { font-size: 2rem !important; }
    .section-title { font-size: 1.8rem !important; }
}

/* --- APPOINTMENT SYSTEM V2 (FINAL STABILIZATION) --- */
.booking-v2-main-wrapper {
    padding: 60px 20px;
    background: #f9fafb;
    border-radius: 40px;
    position: relative;
    z-index: 10;
    max-width: 1210px;
    margin: 40px auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
}

.section-label {
    font-family: var(--font-heading);
    color: #6b7280;
    font-size: 1.1rem;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.booking-section { margin-bottom: 60px; width: 100%; }

/* Section 1: Services Grid */
.base44-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 15px !important;
}

.base44-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.base44-card:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.base44-card.selected { border: 2px solid #facc15 !important; background: #fffcf0; }
.base44-icon { color: #facc15; font-size: 1.8rem; margin-bottom: 5px; }
.base44-card h3 { font-family: var(--font-body); font-weight: 800; font-size: 0.95rem; color: #111827; }

/* Section 2 & 3 Mobile Layout */
#booking-container { display: flex; flex-direction: column; width: 100%; }
.calendar-v2-wrapper { width: 100%; background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 25px; }

/* CALENDAR GRID CORE - MUST BE 7 COLS ALWAYS */
.cal-v2-grid-header, .cal-v2-days {
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important;
    width: 100% !important;
    min-width: 280px;
}
.cal-v2-grid-header span { font-weight: 700; color: #9ca3af; font-size: 0.75rem; text-align: center; padding: 10px 0; }
.v2-day { aspect-ratio: 1; display: flex !important; align-items: center; justify-content: center; font-size: 0.9rem; cursor: pointer; border-radius: 50%; color: #d1d5db; transition: 0.2s; }
.v2-day.available { color: #111827; }
.v2-day.selected { background: #facc15 !important; color: #000 !important; font-weight: 800; }

.time-v2-container { margin-top: 30px; width: 100%; }
.time-v2-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 10px; }
.time-v2-slot { padding: 12px; background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; text-align: center; font-weight: 700; cursor: pointer; font-size: 0.85rem; }
.time-v2-slot.selected { background: #facc15; border-color: #facc15; }

/* Form (Section 3) */
.base44-form { display: flex; flex-direction: column; gap: 25px; }
.form-v2-inputs { display: flex; flex-direction: column; gap: 15px; flex: 1; }
.form-v2-row { display: grid; grid-template-columns: 1fr; gap: 15px; }
.base44-form input, .base44-form textarea { padding: 16px; border: 1px solid #e5e7eb; border-radius: 12px; font-size: 1rem; width: 100%; }
.form-v2-actions { background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 30px; flex: 1; }
.btn-yellow-booking { width: 100%; background: #facc15; border: none; padding: 20px; border-radius: 14px; font-size: 1.1rem; font-weight: 800; cursor: pointer; transition: 0.3s; margin-top: 20px; }
.btn-yellow-booking:hover { transform: scale(1.02); box-shadow: 0 10px 25px rgba(250, 204, 21, 0.4); }

/* --- DESKTOP OVERRIDES (1024px+) --- */
@media screen and (min-width: 1024px) {
    .base44-grid { grid-template-columns: repeat(3, 1fr) !important; }
    
    #sec-2 {
        display: flex !important;
        flex-direction: row !important;
        gap: 40px !important;
        align-items: flex-start !important;
    }
    .calendar-v2-wrapper { flex: 1.3 !important; }
    .time-v2-container { flex: 0.7 !important; margin-top: 0 !important; }
    
    .base44-form {
        flex-direction: row !important;
        gap: 40px !important;
        align-items: flex-start !important;
    }
    .form-v2-row { grid-template-columns: 1fr 1fr !important; }
    .form-v2-actions { position: sticky !important; top: 120px !important; max-width: 400px; }
    
    .mobile-menu-toggle { display: none !important; }
    .nav { display: flex !important; }
}

@media screen and (max-width: 768px) {
    .hero-title { font-size: 2.8rem; }
    .section-title { font-size: 3rem; }
}

/* --- SHOPPING CART DRAWER --- */
.cart-drawer {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100%;
    background: var(--pure-white);
    z-index: 5000;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.cart-drawer.active {
    right: 0;
}

.cart-header {
    padding: 30px;
    background: var(--black);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin: 0;
}

.cart-close {
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.cart-close:hover {
    background: var(--yellow);
    color: var(--black);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px 0;
}

.cart-footer {
    padding: 30px;
    background: #f8f9fa;
    border-top: 1px solid #eee;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--black);
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
    z-index: 4999;
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.cart-overlay.active {
    display: block;
    opacity: 1;
}

.checkout-btn {
    width: 100%;
    background: #25D366;
    color: white;
    padding: 15px;
    border-radius: 12px;
    border: none;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
}

/* --- PREMIUM NEON BUTTONS --- */
.neon-btn {
    box-shadow: 0 0 15px rgba(255, 237, 0, 0.2);
    border: 1px solid rgba(255, 237, 0, 0.3);
}

.neon-btn:hover {
    box-shadow: 0 0 25px rgba(255, 237, 0, 0.5);
    background: var(--yellow);
    color: var(--black);
}

/* --- GLASSMORPHIC FILTERS --- */
.premium-filter-bar {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 30px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 2fr 120px;
    gap: 20px;
    align-items: end;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-group label {
    font-size: 0.7rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-left: 5px;
}

.premium-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    height: 54px;
    color: white;
    padding: 0 15px;
    font-weight: 600;
    width: 100%;
    transition: var(--transition-smooth);
    font-family: inherit;
}

.premium-input:focus {
    border-color: var(--yellow);
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    box-shadow: 0 0 15px rgba(255, 237, 0, 0.1);
}

.premium-input option {
    background: var(--black-rich);
    color: white;
}

.btn-reset {
    height: 54px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.btn-reset:hover {
    background: #ff4757;
    border-color: #ff4757;
}

@media (max-width: 900px) {
    .premium-filter-bar {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    .cart-drawer {
        width: 100%;
        right: -100%;
    }
}
