/* =========================================
   SISTEMA DE ILUMINACIÃ“N (CARROCERÃA)
   DefiniciÃ³n de variables estÃ¡ticas y temas
   ========================================= */
:root {
    /* Color Palette - Premium Technical */
    --navy-deep: #0a0f1e;
    --navy-surface: #12182b;
    --navy-light: #1e2642;
    --accent-yellow: #FFCC00;
    --accent-yellow-glow: rgba(255, 204, 0, 0.4);
    --accent-orange: #ff9900;
    --white: #ffffff;
    --silver: #e2e8f0;
    --slate: #94a3b8;
    --success: #10b981;
    
    /* Effects */
    --glass-bg: rgba(18, 24, 43, 0.8);
    --glass-border: rgba(255, 255, 255, 0.08);
    --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.4);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions */
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --transition-smooth: all 0.4s var(--ease-out);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--navy-deep);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Animations Hub */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(255, 204, 0, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(255, 204, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 204, 0, 0); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--navy-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--navy-light);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-yellow);
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

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

.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mt-4 {
    margin-top: 2rem;
}

.py-section {
    padding: 6rem 0;
}

.bg-dark {
    background-color: var(--bg-dark);
}

/* Buttons - Premium Style */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-weight: 700;
    border-radius: 8px;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--accent-yellow);
    color: var(--navy-deep);
    box-shadow: 0 10px 30px var(--accent-yellow-glow);
}

.btn-primary:hover {
    background-color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px var(--accent-yellow-glow), 0 0 20px rgba(255, 255, 255, 0.2);
}

.btn-secondary {
    background-color: var(--navy-light);
    color: var(--white);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background-color: var(--accent-yellow);
    color: var(--navy-deep);
    transform: translateY(-3px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--accent-yellow);
    color: var(--accent-yellow);
}

.btn-outline:hover {
    background-color: var(--accent-yellow);
    color: var(--navy-deep);
}

/* Navbar - Glassmorphism */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    padding: 1.5rem 0;
    background: transparent;
}

.navbar.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow-premium);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logotipo Normal - Estilo ClÃ¡sico */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    height: 70px;
    margin-right: 2rem;
}

.logo img {
    max-height: 70px;
    width: auto;
    object-fit: contain;
    display: block;
}

body.night-mode {
    --navy-dark: #1a1a1a;
    --bg-dark: #111111;
    --navy-blue: #222222;
    --navy-light: #333333;
    --text-primary: #ffffff;
    --silver: #cccccc;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--accent-yellow);
    border-radius: 10px;
    transition: all 0.3s var(--ease-out);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.nav-links a:hover::after {
    width: 100%;
}

@media (max-width: 992px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--navy-surface);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        transition: right 0.6s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 999;
        border-left: 1px solid var(--glass-border);
        box-shadow: -20px 0 50px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        right: 0;
        visibility: visible !important;
        opacity: 1 !important;
        display: flex !important;
        z-index: 9999 !important;
    }

    .nav-links a {
        font-size: 1.5rem;
        font-weight: 700;
        letter-spacing: 2px;
        text-transform: uppercase;
    }

    .header-actions {
        display: none;
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(to right, rgba(0, 18, 38, 0.95) 0%, rgba(0, 33, 71, 0.7) 50%, rgba(5, 5, 16, 0.95) 100%), url('assets/hero.png');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

/* Tech grid background */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200vw;
    height: 200vh;
    background-image:
        linear-gradient(rgba(255, 204, 0, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 204, 0, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: perspective(500px) rotateX(60deg) translateY(-100px) translateZ(-200px);
    animation: gridMove 20s linear infinite;
    pointer-events: none;
}

@keyframes gridMove {
    0% {
        transform: perspective(500px) rotateX(60deg) translateY(0) translateZ(-200px);
    }

    100% {
        transform: perspective(500px) rotateX(60deg) translateY(40px) translateZ(-200px);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding-top: 5rem;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(255, 204, 0, 0.1);
    border: 1px solid rgba(255, 204, 0, 0.3);
    color: var(--accent-yellow);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    animation: fadeInDown 1s var(--ease-out);
}

.hero h2 {
    font-size: clamp(3rem, 6vw, 4.5rem);
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s var(--ease-out) 0.2s both;
}

.hero h2 i {
    font-style: normal;
    background: linear-gradient(120deg, var(--white), var(--silver-dark));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--silver);
    margin-bottom: 3rem;
    max-width: 600px;
    animation: fadeInUp 1s var(--ease-out) 0.4s both;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    animation: fadeInUp 1s var(--ease-out) 0.6s both;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

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

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0.7;
    animation: pulse 2s infinite;
}

.scroll-indicator span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.mouse {
    width: 24px;
    height: 36px;
    border: 2px solid var(--white);
    border-radius: 12px;
    position: relative;
}

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

@keyframes scroll {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 15px);
        opacity: 0;
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

/* Marquee Authority */
.authority-bar {
    background-color: var(--accent-yellow);
    color: var(--navy-dark);
    padding: 1rem 0;
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.marquee {
    display: flex;
    animation: marquee 20s linear infinite;
}

.marquee span {
    font-weight: 800;
    font-size: 1rem;
    padding-right: 2rem;
    letter-spacing: 0.1em;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Services */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-inline: auto;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.section-header p {
    color: var(--silver);
    font-size: 1.1rem;
}

/* Category Quick Access Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}

.category-card {
    background: var(--navy-surface);
    border: 1px solid var(--glass-border);
    padding: 2rem 1.5rem;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.category-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-yellow);
    background: var(--navy-light);
}

.cat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px var(--accent-yellow-glow));
}

.category-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.category-card p {
    font-size: 0.85rem;
    color: var(--slate);
    line-height: 1.3;
}

/* Authority Section */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-list {
    list-style: none;
    margin: 2rem 0;
}

.feature-list li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--silver);
    display: flex;
    align-items: center;
    gap: 10px;
}

.tech-box {
    position: relative;
    padding: 2rem;
}

.tech-overlay {
    position: relative;
    border: 1px solid rgba(255, 204, 0, 0.3);
    padding: 1rem;
    background: rgba(0, 33, 71, 0.5);
    backdrop-filter: blur(10px);
}

.crosshair {
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: var(--accent-yellow);
    border-style: solid;
}

.crosshair.top-left {
    top: -2px;
    left: -2px;
    border-width: 2px 0 0 2px;
}

.crosshair.top-right {
    top: -2px;
    right: -2px;
    border-width: 2px 2px 0 0;
}

.crosshair.bottom-left {
    bottom: -2px;
    left: -2px;
    border-width: 0 0 2px 2px;
}

.crosshair.bottom-right {
    bottom: -2px;
    right: -2px;
    border-width: 0 2px 2px 0;
}

/* Configurador - Doc Advisor Premium */
.doc-advisor {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
}

.doc-avatar-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    background: white;
    box-shadow: var(--shadow-premium);
    border: 2px solid var(--accent-yellow);
}

.doc-avatar-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: multiply;
}

.doc-status-pulse {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 10px;
    height: 10px;
    background: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--success);
    animation: pulse 2s infinite;
}

.doc-speech-bubble {
    font-size: 1.1rem;
    line-height: 1.5;
    color: var(--white);
    font-weight: 500;
}

@media (max-width: 992px) {
    .taller-split {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}
@media (max-width: 576px) {
    .doc-advisor {
        flex-direction: column;
        text-align: center;
    }
}

/* Taller / Authority Section */
.taller-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.technical-label {
    display: inline-block;
    background: rgba(255, 204, 0, 0.1);
    color: var(--accent-yellow);
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 204, 0, 0.2);
}

.feature-checklist {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.check-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.check-icon {
    background: var(--accent-yellow);
    color: var(--navy-dark);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    flex-shrink: 0;
    font-size: 0.7rem;
    box-shadow: 0 0 10px var(--accent-yellow-glow);
}

.check-item strong {
    display: block;
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 2px;
}

.check-item p {
    font-size: 0.9rem;
    color: var(--slate);
    line-height: 1.4;
}

.visual-stack {
    position: relative;
    padding: 10px;
}

.main-visual {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-premium);
    border: 1px solid var(--glass-border);
}

.floating-badge-tech {
    position: absolute;
    bottom: -10px;
    right: -10px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 1.2rem 1.8rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-premium);
}

.badge-num {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent-yellow);
    font-family: var(--font-heading);
}

.badge-txt {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Catalog - Premium Technical Grid */
.filter-scroll-container {
    padding: 0.5rem 0 1.5rem;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.filter-scroll-container::-webkit-scrollbar {
    display: none;
}

.product-card {
    background: var(--navy-surface);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.product-img-wrapper {
    position: relative;
    height: 220px;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: hidden;
}

.product-img-wrapper img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.5s var(--ease-out);
}

.product-card:hover .product-img-wrapper img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.brand-tag {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--accent-yellow);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stock-tag {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--success);
    display: flex;
    align-items: center;
    gap: 4px;
}

.stock-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--success);
}

.product-info h4 {
    font-size: 1.15rem;
    margin: 10px 0 20px;
    line-height: 1.4;
    font-weight: 600;
    height: 3.2em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2; /* Standard property */
    -webkit-box-orient: vertical;
}

.price-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.price {
    font-size: 1.4rem;
    font-weight: 800;
    font-family: var(--font-heading);
}

.btn-sm {
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
}

/* Footer */
footer {
    background-color: var(--bg-dark);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--silver-dark);
}

.footer-links h4 {
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-links a {
    display: block;
    color: var(--silver-dark);
    margin-bottom: 0.5rem;
}

.footer-links a:hover {
    color: var(--accent-yellow);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--silver-dark);
    font-size: 0.9rem;
}

/* Utilities for JS animations */
/* Doc Assistant Chat UI Styles */
.chat-trigger {
    position: fixed;
    bottom: 90px;
    right: 25px;
    width: 65px;
    height: 65px;
    background: var(--accent-yellow);
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(255, 204, 0, 0.4);
    border: 3px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-smooth);
}

.chat-trigger:hover {
    transform: scale(1.1) rotate(5deg);
}

.chat-trigger .doc-icon {
    width: 80%;
    height: 80%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.online-status {
    position: absolute;
    bottom: 2px;
    right: 5px;
    width: 15px;
    height: 15px;
    background: var(--success);
    border: 2px solid var(--white);
    border-radius: 50%;
}

.chat-window {
    position: fixed;
    bottom: 100px;
    right: 25px;
    width: 350px;
    height: 500px;
    background: rgba(10, 15, 30, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
}

.chat-window.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px) scale(0.95);
}

.chat-header {
    background: var(--navy-surface);
    padding: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
}

.header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.doc-icon-small {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    padding: 2px;
    mix-blend-mode: multiply;
}

.header-info h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--white);
}

.header-info span {
    font-size: 0.75rem;
    color: var(--success);
    font-weight: 500;
}

.chat-messages {
    flex-grow: 1;
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    max-width: 85%;
    padding: 1rem;
    border-radius: 15px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.message.doc {
    background: var(--navy-light);
    color: var(--white);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
    border: 1px solid var(--glass-border);
}

.message.user {
    background: var(--accent-yellow);
    color: var(--navy-deep);
    align-self: flex-end;
    border-bottom-right-radius: 2px;
    font-weight: 600;
}

.chat-input-area {
    padding: 1rem;
    background: var(--navy-surface);
    display: flex;
    gap: 10px;
    border-top: 1px solid var(--glass-border);
}

.chat-input-area input {
    flex-grow: 1;
    background: var(--navy-deep);
    border: 1px solid var(--glass-border);
    padding: 0.8rem 1rem;
    border-radius: 10px;
    color: var(--white);
    outline: none;
}

.btn-send {
    background: var(--accent-yellow);
    color: var(--navy-deep);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.btn-send:hover {
    transform: scale(1.05);
}

@media (max-width: 576px) {
    .chat-window {
        width: 90%;
        right: 5%;
        height: 60vh;
        bottom: 80px;
    }
}

.fade-in, .slide-right, .slide-left {
    opacity: 0;
    transition: all 0.8s var(--ease-out);
}

.slide-left {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.in-view {
    opacity: 1 !important;
    transform: translate(0, 0) !important;
}

/* Configurator Transitions */
.config-step {
    transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

.config-step.hidden {
    display: none;
    opacity: 0;
    transform: translateX(30px);
}

.config-step.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.config-step.exiting {
    opacity: 0;
    transform: translateX(-30px);
}

@media (max-width: 992px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: var(--navy-deep);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 2000;
        padding: 2rem;
    }

    .nav-links.active {
        display: flex;
        animation: fadeIn 0.3s ease forwards;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 6px;
        cursor: pointer;
        z-index: 2100;
        width: 30px;
    }

    .hamburger span {
        display: block;
        width: 100%;
        height: 3px;
        background: var(--white);
        border-radius: 3px;
        transition: 0.3s;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

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

    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .split-layout {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-actions {
        flex-direction: column;
    }
}

/* =========================================
   ESTILOS PARA PÃGINAS LEGALES
   ========================================= */

.legal-section {
    background-color: var(--navy-dark);
    padding-top: 150px;
    /* Espacio extra para que no lo tape la barra de navegaciÃ³n fija */
    min-height: 80vh;
}

.legal-container {
    max-width: 800px;
    /* MÃ¡s estrecho que el container normal para mejorar la lectura */
    margin: 0 auto;
    padding: 0 5%;
    color: var(--silver);
}

.legal-container h1 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.last-updated {
    color: var(--silver-dark);
    font-size: 0.9rem;
    margin-bottom: 3rem;
    font-style: italic;
}

.legal-content h2 {
    color: var(--accent-yellow);
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    /* MÃ¡s espacio entre lÃ­neas para leer mejor */
}

.legal-content ul {
    margin-bottom: 1.5rem;
    margin-left: 1.5rem;
    line-height: 1.8;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

.legal-content strong {
    color: var(--white);
}

/* Eliminado: Usando nuevo sistema Doc Assistant */
.product-card {
    position: relative;
}

/* =========================================
   CONFIGURADOR FURGONETA IDEAL
   ========================================= */
.configurator-wrapper {
    display: grid;
    grid-template-columns: 1fr 2.5fr;
    gap: 2.5rem;
    background: var(--bg-dark);
    border: 1px solid var(--navy-light);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    margin-top: 3rem;
}

.doc-advisor {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.doc-advisor img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 4px solid var(--accent-yellow);
    object-fit: cover;
    background: var(--white);
    margin-bottom: 1.5rem;
    box-shadow: 0 0 20px rgba(255, 204, 0, 0.4);
}

.doc-speech {
    background: rgba(0, 18, 38, 0.8);
    padding: 1.2rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-yellow);
    font-style: italic;
    color: var(--silver);
    position: relative;
    font-size: 0.95rem;
    line-height: 1.5;
}

.doc-speech::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 10px 10px 10px;
    border-style: solid;
    border-color: transparent transparent rgba(0, 18, 38, 0.8) transparent;
}

.config-panels {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.config-step {
    animation: fadeInRight 0.4s ease forwards;
}

.config-step.hidden {
    display: none;
}

.config-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.config-option {
    background: rgba(255, 255, 255, 0.02);
    border: 2px solid var(--navy-light);
    padding: 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.config-option:hover {
    border-color: rgba(255, 204, 0, 0.5);
    background: rgba(255, 255, 255, 0.05);
}

.config-option.selected {
    border-color: var(--accent-yellow);
    background: rgba(255, 204, 0, 0.1);
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.2);
}

.config-option h4 {
    color: var(--white);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.config-option p {
    font-size: 0.85rem;
    color: var(--silver-dark);
    margin: 0;
}

.summary-list {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.summary-list li {
    padding: 1rem 1.5rem;
    background: rgba(0, 18, 38, 0.5);
    border-radius: 6px;
    margin-bottom: 0.8rem;
    display: flex;
    justify-content: space-between;
    border-left: 3px solid var(--accent-yellow);
    color: var(--silver);
    font-size: 1rem;
}

.config-total {
    font-size: 1.2rem;
    color: var(--silver-dark);
    text-align: right;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .configurator-wrapper {
        grid-template-columns: 1fr;
    }
    .config-options {
        grid-template-columns: 1fr;
    }
}

/* Tooltips del Configurador */
.config-option {
    position: relative;
    /* Necesario para anclar el tooltip */
}

.option-tooltip {
    position: absolute;
    bottom: 110%; /* Aparece justo encima del cuadro */
    left: 50%;
    transform: translateX(-50%) scale(0.5);
    background: var(--bg-dark);
    padding: 8px;
    border-radius: 8px; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.8);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 100;
    pointer-events: none;
    border: 2px solid var(--accent-yellow);
}

.config-option:hover .option-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1);
}

.option-tooltip img {
    width: 150px;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
}

.option-tooltip::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 10px 10px 0 10px;
    border-style: solid;
    border-color: var(--accent-yellow) transparent transparent transparent;
}

/* Cortinilla MÃ¡gica */
.magic-curtain {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle, var(--accent-yellow), var(--bg-dark));
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s;
    mix-blend-mode: color-dodge;
}
.magic-curtain.active {
    animation: flashMagic 1.5s ease-out forwards;
}

@keyframes flashMagic {
    0% { opacity: 0; }
    30% { opacity: 1; filter: brightness(2); }
    100% { opacity: 0; }
}

/* Pseudo 3D Furgoneta */
.van-3d-container {
    perspective: 1000px;
    margin: 2rem auto;
    width: 100%;
    max-width: 400px;
    height: 250px;
}

.van-3d-container.hidden {
    display: none;
}

.van-3d-model {
    width: 100%;
    height: 100%;
    background: url('assets/camper_final_3d.png') center / contain no-repeat;
    transform-style: preserve-3d;
    cursor: grab;
    transition: transform 0.1s ease-out;
}

.van-3d-model:active {
    cursor: grabbing;
}

/* =========================================
   CARRITO DE COMPRA Y MODAL BIZUM
   ========================================= */
#cart-float {
    position: fixed;
    bottom: 110px;
    left: 25px;
    width: 70px;
    height: 70px;
    background: var(--accent-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(255, 204, 0, 0.4);
    z-index: 999;
    border: 3px solid rgba(255, 255, 255, 0.2);
    font-size: 1.8rem;
    transition: transform 0.3s var(--ease-out);
}

#cart-float:hover {
    transform: scale(1.1);
}
#cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #e74c3c;
    color: white;
    font-size: 0.9rem;
    font-weight: bold;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.cart-modal, .bizum-modal {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 5, 13, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.3s ease;
}
.cart-modal.hidden, .bizum-modal.hidden {
    opacity: 0;
    pointer-events: none;
}

.cart-content, .bizum-content {
    background: var(--navy-dark);
    border: 1px solid var(--navy-light);
    border-radius: 12px;
    width: 90%;
    max-width: 480px;
    padding: 2.5rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.7);
    transform: translateY(0);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}
.cart-modal.hidden .cart-content, .bizum-modal.hidden .bizum-content {
    transform: translateY(50px);
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}
.cart-header h3 { margin: 0; color: var(--white); font-size: 1.5rem; }
.btn-close {
    background: none; border: none; color: var(--silver);
    font-size: 1.5rem; cursor: pointer; transition: color 0.2s;
}
.btn-close:hover { color: var(--accent-yellow); }

.cart-items {
    max-height: 300px;
    overflow-y: auto;
    padding-right: 10px;
}
.cart-items::-webkit-scrollbar { width: 6px; }
.cart-items::-webkit-scrollbar-thumb { background: var(--navy-light); border-radius: 4px; }

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: rgba(255,255,255,0.03);
    border-radius: 6px;
    margin-bottom: 10px;
    border-left: 3px solid var(--accent-yellow);
}
.cart-item-name { font-size: 0.95rem; color: var(--silver); width: 60%; line-height: 1.3;}
.cart-item-price { font-weight: bold; color: var(--accent-yellow); font-size:1.1rem;}
.cart-item-remove {
    background: #e74c3c; color: white; border: none;
    border-radius: 4px; padding: 4px 10px; cursor: pointer; font-size: 0.8rem;
    font-weight: bold;
}
.cart-item-remove:hover { background: #c0392b; }

.cart-summary {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: right;
}
.cart-summary h4 { color: var(--white); font-size: 1.4rem; margin: 0; }

/* Estilos del nuevo Chat Trigger Doc (Singular) */
#chat-trigger {
    position: fixed;
    bottom: 110px;
    right: 25px;
    width: 70px;
    height: 70px;
    background: var(--accent-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(255, 204, 0, 0.4);
    z-index: 999;
    border: 3px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s var(--ease-out);
}

#chat-trigger .doc-icon {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

#chat-trigger:hover {
    transform: scale(1.1) rotate(5deg);
}

/* Reubicar el carrito flotante para evitar solapamiento visual con la enorme cabeza de Doc */
#cart-float { /* Unificado a #cart-float */
    bottom: 30px;
    left: 30px; 
    right: auto;
}
/* =========================================
   MEDIA QUERIES (OPTIMIZACIÓN MÓVIL)
   ========================================= */
@media (max-width: 768px) {
    .nav-content { flex-direction: row; justify-content: space-between; gap: 0; }
    .logo { margin-right: 0; height: 50px; }
    .logo img { max-height: 50px; }
    
    .hamburger { display: flex; order: 3; }
    
    .nav-links {
        position: fixed;
        left: -100%;
        top: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--navy-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        transition: left 0.4s var(--ease-out);
        z-index: 1000;
        backdrop-filter: blur(10px);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links a {
        font-size: 1.5rem;
        color: var(--white);
    }
    
    .header-actions {
        order: 2;
        margin-left: auto;
        margin-right: 15px;
    }
    
    .header-actions #viewport-toggle,
    .header-actions .btn-outline {
        display: none;
    }
    
    .hero h2 { font-size: 2.2rem; }
    .py-section { padding: 3.5rem 0; }
    
    .split-layout { grid-template-columns: 1fr !important; gap: 2rem; }
    
    .configurator-wrapper { flex-direction: column; }
    
    .doc-advisor { 
        width: 100% !important; 
        flex-direction: column !important; 
        text-align: center; 
        margin-bottom: 1.5rem; 
        align-items: center !important;
    }
    
    .doc-advisor > div:first-child { margin-right: 0 !important; margin-bottom: 1rem; }
    
    .store-grid { grid-template-columns: 1fr !important; }
    .services-grid { grid-template-columns: 1fr !important; }
    
    #street-view-container { flex-direction: column !important; }
    
    .cart-content, .bizum-content { padding: 1.5rem; width: 95%; }
    h1 { font-size: 2rem !important; }
}
/* =========================================
   SISTEMA DE ANIMACIONES Y GRID V2 (Aesthetics Upgrade)
   ========================================= */

/* 1. Animaciones IntersectionObserver */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.slide-right {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.slide-left {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.fade-in.in-view, 
.slide-right.in-view, 
.slide-left.in-view {
    opacity: 1;
    transform: translate(0, 0);
}

/* 2. Grid Ultramoderno para la Tienda */
.store-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 2rem !important;
    padding: 1rem 0 !important;
}

/* 3. Estetica Premium para Tarjetas de Catalogo (Glassmorphism & Hover FX) */
.card {
    background: rgba(255, 255, 255, 0.04) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 16px !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.05), transparent);
    transform: skewX(-25deg);
    transition: left 0.6s ease;
    z-index: 1;
}

.card:hover::before {
    left: 150%;
}

.card:hover {
    transform: translateY(-12px) scale(1.02) !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 204, 0, 0.4) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 204, 0, 0.1) !important;
}

/* 4. Imagenes Flotantes en Catalogo */
.card img {
    transition: transform 0.5s ease;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.3));
    position: relative;
    z-index: 2;
}

.card:hover img {
    transform: scale(1.1) rotate(-2deg);
}

/* 5. Microinteracciones en Botones */
.btn {
    position: relative;
    overflow: hidden;
}
.btn::after {
    content: '';
    position: absolute;
    background: rgba(255,255,255,0.2);
    width: 100%; height: 100%;
    top: 0; left: -100%;
    transform: skewX(-15deg);
    transition: left 0.4s ease;
}
.btn:hover::after {
    left: 150%;
}

/* 6. Animacion del Modal de Carrito y Bizum */
.cart-modal:not(.hidden) .cart-content, 
.bizum-modal:not(.hidden) .bizum-content {
    animation: modalPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes modalPop {
    0% { transform: scale(0.8) translateY(30px); opacity: 0; }
    100% { transform: scale(1) translateY(0); opacity: 1; }
}

/* 7. RediseÃ±o del Chat-widget pulsante */
.chat-trigger {
    animation: pulseAvatar 2s infinite alternate;
}

@keyframes pulseAvatar {
    0% { box-shadow: 0 0 0 0 rgba(255, 204, 0, 0.4); transform: scale(1); }
    100% { box-shadow: 0 0 20px 10px rgba(255, 204, 0, 0); transform: scale(1.05); }
}

/* =========================================
   MODAL DE VISTA DETALLADA DE PRODUCTO
   ========================================= */
.product-modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(4, 9, 20, 0.9);
    backdrop-filter: blur(12px);
    z-index: 10005;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.product-modal-overlay.active {
    opacity: 1; visibility: visible;
}
.product-modal-content {
    background: linear-gradient(145deg, var(--navy-mid), var(--navy-dark));
    border: 1px solid rgba(255, 204, 0, 0.2);
    border-radius: 12px;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    display: flex;
    flex-direction: row;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    transform: translateY(50px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    position: relative;
}
.product-modal-overlay.active .product-modal-content {
    transform: translateY(0) scale(1);
}
.modal-close-btn {
    position: absolute;
    top: 15px; right: 20px;
    background: rgba(0,0,0,0.5); border: none; color: var(--silver); width:35px; height:35px; border-radius:50%;
    font-size: 1.5rem; cursor: pointer; transition: color 0.2s, background 0.2s; z-index: 10;
}
.modal-close-btn:hover { color: var(--accent-yellow); background: rgba(0,0,0,0.8); }

.product-gallery {
    flex: 1;
    background: rgba(0,0,0,0.3);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.gallery-main {
    width: 100%; height: 300px;
    border-radius: 8px; background: #fff;
    display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.gallery-main img { max-width: 100%; max-height: 100%; object-fit: contain; }

.gallery-thumbnails {
    display: flex; gap: 10px; justify-content: center;
}
.thumb {
    width: 70px; height: 50px; border-radius: 6px; background: rgba(255,255,255,0.1);
    cursor: pointer; border: 2px solid transparent; transition: all 0.2s; overflow:hidden;
}
.thumb.active, .thumb:hover { border-color: var(--accent-yellow); transform: scale(1.05); }
.thumb img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; }
.thumb.active img { opacity: 1; }

.product-details {
    flex: 1;
    padding: 2.5rem 2rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}
.product-details::-webkit-scrollbar { width: 6px; }
.product-details::-webkit-scrollbar-thumb { background: var(--navy-light); border-radius: 4px; }

.pd-brand { font-size: 0.8rem; color: var(--silver-dark); text-transform: uppercase; letter-spacing: 2px; }
.pd-title { font-size: 1.8rem; color: #fff; margin-bottom: 1rem; line-height: 1.2; }
.pd-price { font-size: 2.2rem; color: var(--accent-yellow); font-weight: 800; margin-bottom: 1.5rem; }
.pd-desc { font-size: 1rem; color: var(--silver); line-height: 1.6; margin-bottom: 2rem; flex-grow: 1; }
.pd-action { margin-top: auto; }
.btn-huge { width: 100%; padding: 1.2rem; font-size: 1.1rem; border-radius: 8px; font-weight: bold; }

/* Animaciones Staggered de Catálogo */
.card { transition: transform 0.3s, box-shadow 0.3s; cursor: pointer; }
.card:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 15px 30px rgba(0,0,0,0.5); border-color: rgba(255,204,0,0.3); }

/* Móvil Específico */
@media (max-width: 768px) {
    .product-modal-content { flex-direction: column; max-height: 95vh; width: 95%; margin: 0 auto; }
    .product-gallery { padding: 1rem; }
    .gallery-main { height: 220px; }
    .product-details { padding: 1.5rem 1rem; }
    .pd-title { font-size: 1.4rem; }
    .pd-price { font-size: 1.8rem; }
    .btn-huge { padding: 1rem; }
    .thumb { width: 60px; height: 45px; }
}

/* START NUEVAS MEJORAS E-COMMERCE PREMIUM */
.card {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
}
.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(255, 204, 0, 0.15), 0 5px 15px rgba(0,0,0,0.4);
    border-color: rgba(255, 204, 0, 0.4);
}
#floating-cart-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: var(--accent-yellow);
    color: var(--navy-dark);
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 10px 25px rgba(255, 204, 0, 0.4), 0 0 0 0 rgba(255,204,0, 0.6);
    cursor: pointer;
    z-index: 9999;
    transition: all 0.3s ease;
    animation: pulseCart 2s infinite;
}
#floating-cart-btn:hover {
    transform: scale(1.1) rotate(-5deg);
    background: #fff;
    color: var(--navy-dark);
}
#floating-cart-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #ff3b30;
    color: white;
    font-size: 0.9rem;
    font-weight: bold;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--navy-dark);
}
@keyframes pulseCart {
    0% { box-shadow: 0 0 0 0 rgba(255, 204, 0, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(255, 204, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 204, 0, 0); }
}
.search-container {
    width: 100%;
    margin-bottom: 20px;
    position: relative;
}
.search-input {
    width: 100%;
    padding: 1.2rem 1.5rem;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    border: 2px solid rgba(255,204,0,0.2);
    color: #fff;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}
.search-input:focus {
    outline: none;
    border-color: var(--accent-yellow);
    background: rgba(255,255,255,0.1);
    box-shadow: 0 0 15px rgba(255,204,0,0.3);
}
@media (max-width: 768px) {
    .search-input {
        padding: 1rem;
        font-size: 1rem;
    }
    .btn {
        min-height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* Extra small */
@media (max-width: 480px) {
    .config-options {
        grid-template-columns: 1fr;
    }

    .store-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 1.5rem;
        padding: 0.5rem;
        /* Mobile-first scroll experience */
        scroll-snap-type: x mandatory;
        overflow-x: auto;
        display: flex !important;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }

    .store-grid .card {
        scroll-snap-align: center;
        min-width: 280px;
        flex-shrink: 0;
    }

    .hero-content h2 {
        font-size: 2.2rem;
        line-height: 1.1;
    }

    .badge {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
        letter-spacing: 1px;
    }

    #street-view-container > div {
        height: 220px !important;
    }
}

/* ==> btn-sm utility */
.btn-sm {
    padding: 0.6rem 1.2rem !important;
    font-size: 0.9rem !important;
    min-height: 44px; /* Apple/Google standard */
}

/* =========================================
   MOBILE PREMIUM ENHANCEMENTS (Bottom Nav & Glass)
   ========================================= */

.bottom-nav {
    display: none;
}

@media (max-width: 768px) {
    .bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: rgba(4, 9, 20, 0.8); /* Native Dark feel */
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        z-index: 10000;
        justify-content: space-around;
        padding: 0.8rem 0;
        padding-bottom: calc(0.8rem + env(safe-area-inset-bottom));
        box-shadow: 0 -15px 35px rgba(0, 0, 0, 0.4);
        border-radius: 20px 20px 0 0;
    }

    .nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        color: rgba(255,255,255,0.5);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        flex: 1;
        position: relative;
    }

    .nav-item.active {
        color: var(--accent-yellow);
    }

    .nav-item.active::after {
        content: '';
        position: absolute;
        top: -8px;
        width: 20px;
        height: 3px;
        background: var(--accent-yellow);
        border-radius: 2px;
        box-shadow: 0 0 10px var(--accent-yellow);
    }

    .nav-icon {
        font-size: 1.6rem;
        margin-bottom: 0.2rem;
        transition: transform 0.3s ease;
    }

    .nav-item:active .nav-icon {
        transform: scale(0.8);
    }

    .nav-label {
        font-size: 0.65rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    /* Adjust page padding to account for bottom nav */
    body {
        padding-bottom: 100px;
    }

    /* Sticky Chat Trigger Adjustment */
    #chat-trigger {
        bottom: 115px !important;
        right: 15px !important;
        transform: scale(0.9);
    }

    /* Mobile Header Refinement */
    .navbar {
        background: rgba(4, 9, 20, 0.95) !important;
        backdrop-filter: blur(15px);
        height: 70px;
    }

    .hero h2 {
        font-size: 2.4rem;
    }

    .hero p {
        font-size: 1rem;
        padding: 0 1rem;
    }
}

/* Glassmorphism System */
.glass-effect {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.card, .config-option, .chat-window, .product-modal-content {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.config-option.selected {
    border-color: var(--accent-yellow);
    background: rgba(255, 204, 0, 0.05);
}

/* Animations upgrade */
.fade-in {
    transition: all 1s var(--ease-out);
}

.in-view {
    opacity: 1;
    transform: translateY(0) scale(1.02);
}

/* =========================================
   TESTIMONIALS & TRUST SECTION
   ========================================= */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 20px;
    backdrop-filter: blur(20px);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.stars {
    color: var(--accent-yellow);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-style: italic;
    color: var(--silver);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.testi-author {
    border-top: 1px solid var(--glass-border);
    padding-top: 1.5rem;
}

.testi-author strong {
    display: block;
    color: var(--white);
    font-size: 1.1rem;
}

.testi-author span {
    color: var(--slate);
    font-size: 0.85rem;
}

/* =========================================
   PROJECT GALLERY & CASE STUDIES
   ========================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 300px;
    border: 1px solid var(--glass-border);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(10, 15, 30, 0.9));
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition-smooth);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
    opacity: 1;
}

.gallery-overlay h4 {
    color: var(--accent-yellow);
    margin-bottom: 0.5rem;
}

.gallery-overlay p {
    font-size: 0.9rem;
    color: var(--silver);
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
Clicking...Pressing key...Stopping...

Stop Agent