/* =========================================
   WhatsApp CTA Minimal Button
========================================= */
.whatsapp-cta-minimal {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: transparent;
    border: 2px solid var(--color-primary-accent);
    border-radius: 50px;
    color: var(--color-primary-accent);
    font-family: var(--font-family-main);
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.whatsapp-cta-minimal::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--color-primary-accent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.whatsapp-cta-minimal:hover {
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 242, 254, 0.25);
}

.whatsapp-cta-minimal:hover::before {
    opacity: 1;
}

.whatsapp-cta-minimal svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.whatsapp-cta-minimal:hover svg {
    transform: scale(1.1);
}

.whatsapp-cta-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

/* =========================================
   Reset y Variables Globales
========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --color-background: #0A0A0A; /* Deep Charcoal / Carbono Base */
    --color-text-primary: #FFFFFF; /* Pure White */
    --color-text-secondary: #CCCCCC; /* Silver Grey / Plata Técnico */
    --color-text-muted: #CCCCCC; /* Silver Grey / Plata Técnico */
    --color-primary-accent: #00F2FE; /* Luminous Cyan / Turquoise */
    --color-primary-accent-hover: #00d9e4; /* Luminous Cyan Hover */
    --navbar-background: rgba(11, 3, 3, 0.162); /* Deep Charcoal con transparencia aumentada */
    --font-family-main: 'Montserrat', sans-serif;
}

body {
    font-family: var(--font-family-main);
    color: var(--color-text-primary);
    background-color: var(--color-background);
    overflow-x: hidden;
}

#particles-bg {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    pointer-events: none;
}

/* Clase tech-bg (mantenida para compatibilidad con HTML) */
.tech-bg {
    position: relative;
}

/* =========================================
   Lab Tech Grid - Fondo Circuito Sutil
========================================= */
#circuit-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -4;
    pointer-events: none;
    background:
        /* Nodos en intersecciones - pulso sutil */
        radial-gradient(circle at 40px 40px, rgba(0,242,254,0.06) 1px, transparent 1px),
        radial-gradient(circle at 120px 120px, rgba(0,242,254,0.04) 1px, transparent 1px),
        radial-gradient(circle at 200px 80px, rgba(0,242,254,0.05) 1px, transparent 1px),
        radial-gradient(circle at 280px 160px, rgba(0,242,254,0.03) 1px, transparent 1px),
        radial-gradient(circle at 360px 40px, rgba(0,242,254,0.05) 1px, transparent 1px),
        radial-gradient(circle at 80px 200px, rgba(0,242,254,0.04) 1px, transparent 1px),
        radial-gradient(circle at 160px 280px, rgba(0,242,254,0.06) 1px, transparent 1px),
        radial-gradient(circle at 320px 240px, rgba(0,242,254,0.03) 1px, transparent 1px),
        /* Líneas del grid */
        repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(0,242,254,0.015) 39px, rgba(0,242,254,0.015) 40px),
        repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(0,242,254,0.015) 39px, rgba(0,242,254,0.015) 40px);
    background-size:
        400px 400px,
        400px 400px,
        400px 400px,
        400px 400px,
        400px 400px,
        400px 400px,
        400px 400px,
        400px 400px,
        40px 40px,
        40px 40px;
    animation: gridBreath 12s ease-in-out infinite;
}

@keyframes gridBreath {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* Small drifting glow - single subtle orb */
#circuit-bg::after {
    content: '';
    position: absolute;
    top: 30%;
    left: 20%;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,242,254,0.04) 0%, transparent 70%);
    animation: labDrift 25s ease-in-out infinite;
    filter: blur(20px);
}

@keyframes labDrift {
    0% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30vw, 20vh) scale(1.3); }
    50% { transform: translate(50vw, -10vh) scale(0.8); }
    75% { transform: translate(-10vw, 30vh) scale(1.2); }
    100% { transform: translate(0, 0) scale(1); }
}

/* #particles-bg queda como placeholder vacío */
#particles-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    z-index: -1;
    pointer-events: none;
}

/* =========================================
   Menú de Navegación (Navbar)
========================================= */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    /* Efecto Glassmorphism / Fondo oscuro semi-transparente */
    background: var(--navbar-background);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(252, 252, 252, 0.052);
    border-radius: 12px;
    z-index: 1000;
}

.logo {
    font-size: 22px;
    font-weight: 300;
    letter-spacing: 1px;
}

.logo strong {
    font-weight: 800;
}

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

.nav-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--color-text-primary);
}

/* Dropdown Menu Styles */
.nav-links .has-dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%; /* Position below the parent link */
    left: 0;
    min-width: 200px;
    background: var(--navbar-background);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(252, 252, 252, 0.052);
    border-radius: 12px;
    padding: 10px 0;
    z-index: 1000;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.nav-links .has-dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 10px 20px;
    display: block;
    white-space: nowrap; /* Prevent text wrapping */
    transition: color 0.3s ease, background-color 0.3s ease;
}

.dropdown-menu li a:hover {
    color: var(--color-text-primary);
    background-color: rgba(255, 255, 255, 0.05);
}



.btn-cta {
    background: linear-gradient(135deg, var(--color-primary-accent), #0099cc);
    color: #000000;
    text-decoration: none;
    padding: 10px 35px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.15);
    border: none;
}

.btn-cta:hover {
    background: linear-gradient(135deg, #00d9e4, #0088bb);
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.3);
    color: #000000;
}

.hamburger-menu {
    display: none; /* Oculto por defecto */
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 1002; /* Para estar por encima de todo */
}
.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-text-primary);
    transition: all 0.3s ease-in-out;
}

.hamburger-menu.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}
.hamburger-menu.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* =========================================
   Sección Hero (Video Background)
========================================= */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Alinea el contenido a la izquierda */
    padding-left: 10%;
    overflow: hidden;
}

/* Configuración del Video a Pantalla Completa */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
    z-index: -3;
}

/* Capa oscura para mejorar la legibilidad del texto */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.1) 100%);
    z-index: -2;
}

/* Textos principales */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin-top: 50px; /* Para compensar la barra superior */
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 1.5px;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: 40px;
}

/* Botón Transparente */
.btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--color-text-primary);
    text-decoration: none;
    padding: 12px 30px;
    border: 1px solid var(--color-text-primary);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--color-text-primary);
    color: #000000;
}

/* =========================================
   Elementos Decorativos (Flechas y Paginación)
========================================= */
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s;
}

.nav-arrow:hover {
    color: var(--color-text-primary);
}

.left-arrow { left: 3%; }
.right-arrow { right: 3%; }

.pagination {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--color-text-primary);
    background: transparent;
}

.dot.active {
    background: var(--color-text-primary);
}

/* =========================================
   Sección de Información (Qué es PPF)
========================================= */
.info-section {
    padding: 120px 10%; /* El fondo es transparente, mostrando la animación de partículas */
    position: relative;
}

.info-container {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.info-text {
    flex: 1;
}

.info-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--color-text-primary);
}

.info-text h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary-accent);
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.info-text p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
    margin-bottom: 30px;
}

.info-text ul {
    list-style: none;
    padding-left: 20px;
}

.info-text ul li {
    color: var(--color-text-secondary);
    margin-bottom: 15px;
    position: relative;
    line-height: 1.6;
}

.info-text ul li::before {
    content: '✓';
    position: absolute;
    left: -25px;
    color: var(--color-primary-accent);
    font-weight: bold;
}

.info-image {
    flex: 1;
}

.info-image img {
    width: 100%;
    border-radius: 12px;
}

/* =========================================
   Responsive (Adaptación a Móviles)
========================================= */
@media (max-width: 768px) {
    .navbar {
        width: 80%;
        padding: 0 25px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 10px); /* Se posiciona 10px debajo del navbar */
        left: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        z-index: 1001;
        border-radius: 12px; /* Mismo estilo que el navbar */
        border: 1px solid rgba(255, 255, 255, 0.1);
        padding: 10px 0;
        overflow: hidden;
    }

    .nav-links.active {
        display: flex; /* Se muestra al hacer clic */
    }

    .nav-links a {
        font-size: 1rem;
        color: var(--color-text-primary);
        width: 100%;
        padding: 15px 30px;
        transition: background-color 0.3s ease;
    }

    .nav-links a:hover {
        background-color: rgba(255, 255, 255, 0.05);
    }

    /* Mobile Dropdown Specific Styles */
    .nav-links .has-dropdown .dropdown-menu {
        position: static; /* Flows within the document */
        background: rgba(10, 10, 10, 0.85); /* Darker solid background for mobile */
        backdrop-filter: blur(10px); /* Re-apply blur */
        -webkit-backdrop-filter: blur(10px);
        border: none;
        border-radius: 0;
        padding: 0;
        min-width: unset;
        width: 100%;
        opacity: 1; /* Always visible when parent is active */
        visibility: visible;
        transform: none;
        transition: none; /* No transition for immediate display */
        display: none; /* Hidden by default on mobile */
    }

    .nav-links .has-dropdown.active .dropdown-menu {
        display: block; /* Show dropdown when parent is active on mobile */
    }

    .nav-links .has-dropdown .dropdown-menu li a {
        padding: 15px 30px; /* Match main mobile nav links */
        font-size: 1rem; /* Match main mobile nav links */
    }

    .nav-links .has-dropdown .dropdown-menu li a:hover {
        background-color: rgba(255, 255, 255, 0.03); /* Subtle hover for sub-items */
    }



    .btn-cta {
        display: none; /* Ocultamos el CTA principal en móvil */
    }

    .hamburger-menu {
        display: flex; /* Visible solo en móvil */
    }

    .hero-content h1 {
        font-size: 2rem;
    }
    .hero {
        padding: 0 5%;
        justify-content: center; /* Centra el contenido en móvil */
        text-align: center;
    }
    .nav-arrow, .pagination {
        display: none; /* Ocultamos flechas y puntos en móvil */
    }

    .info-section {
        padding: 80px 5%;
    }

    .info-container {
        flex-direction: column;
        text-align: center;
    }

    .info-text h2 {
        font-size: 2rem;
    }

    .info-text ul {
        text-align: left;
    }
}

/* =========================================
   Servicios (Pricing Cards) - NUEVO DISEÑO
========================================= */
.services-section {
    padding: 120px 5%;
    position: relative;
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.section-header p {
    font-size: 1rem;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.price-card {
    background: rgba(18, 22, 32, 0.5); /* Fondo semi-transparente */
    backdrop-filter: blur(12px);
    border: 1px solid;
    border-image-source: linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.03));
    border-radius: 16px;
    padding: 35px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.price-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><g fill="%23FFFFFF" fill-opacity="0.02"><rect x="50" width="50" height="50"/><rect y="50" width="50" height="50"/></g></svg>');
    z-index: -1;
}

.price-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.price-card.featured {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.2);
}

.price-card.featured::after {
    content: 'MÁS POPULAR';
    position: absolute;
    top: 18px;
    right: -35px;
    background: var(--color-primary-accent);
    color: var(--color-background);
    padding: 5px 30px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    transform: rotate(45deg);
    z-index: 2;
}


.price-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 0 50px rgba(0, 242, 254, 0.3);
}

.card-header {
    text-align: center;
    margin-bottom: 30px;
}

.card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background-color: var(--color-primary-accent);
    border-radius: 50%;
    /* Placeholder for icons */
}

/* Specific icon styles would go here, e.g., using mask-image */
.shield-icon { background-color: #00F2FE; /* Cyan */ }
.car-icon { background-color: #FFFFFF; /* White */ }
.interior-icon { background-color: #00F2FE; /* Cyan */ }


.card-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-text-primary);
}

.card-header p {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    min-height: 40px;
}

.card-price {
    font-size: 3rem;
    font-weight: 800;
    margin: 20px 0 30px;
    color: var(--color-text-primary);
    text-align: center;
}

.card-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-text-secondary);
    margin-right: 10px;
}

.price-card.featured .card-price {
    color: var(--color-primary-accent);
}

.card-features {
    list-style: none;
    margin-bottom: 40px;
    flex-grow: 1;
}

.card-features li {
    color: var(--color-text-secondary);
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.check-icon {
    color: var(--color-primary-accent);
    margin-right: 10px;
    font-weight: bold;
    margin-top: 2px;
}

.card-features li.highlight {
    color: var(--color-primary-accent);
    font-weight: 600;
}

.btn-card {
    display: block;
    text-align: center;
    background: transparent;
    border: 1px solid var(--color-primary-accent);
    color: var(--color-primary-accent);
    padding: 14px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: auto; /* Pushes button to the bottom */
}

.btn-card:hover {
    background-color: var(--color-primary-accent);
    color: var(--color-background);
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.3);
}

.price-card.featured .btn-card {
    background-color: var(--color-primary-accent);
    color: var(--color-background);
}

.price-card.featured .btn-card:hover {
    filter: brightness(1.1);
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.5);
}

/* =========================================
   Home Page Sections
========================================= */

.services-home-section, .blog-home-section {
    padding: 120px 5%;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card-grid-home, .blog-grid-home {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.service-card-home, .blog-post-card-home {
    background: rgba(18, 22, 32, 0.5);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-card-home:hover, .blog-post-card-home:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-card-home img, .blog-post-card-home img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card-home h3, .blog-post-card-home h4 {
    font-size: 1.3rem;
    margin: 20px;
    line-height: 1.4;
    color: var(--color-text-primary);
}

.service-card-home p {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0 20px 20px;
}

.blog-post-card-home .post-content {
    padding: 20px;
}

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

.btn-cta-text {
    color: var(--color-primary-accent);
    text-decoration: none;
    font-weight: 600;
    transition: letter-spacing 0.3s ease;
}

.btn-cta-text:hover {
    letter-spacing: 1px;
}


/* =========================================
   Footer (Pie de Página)
========================================= */
.site-footer {
    position: relative;
    padding: 80px 10% 40px;
    background-image: url('assets/Imagenes/PURE ARMOR FONDO FOOTER.webp');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.75) 0%, rgba(10, 10, 10, 0.65) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 0;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 60px;
    position: relative; /* Para que esté sobre el overlay */
}

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

.footer-about p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
    max-width: 350px;
}

.footer-social h4, .footer-links h4, .footer-map h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text-primary);
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-social .social-icons {
    display: flex;
    gap: 10px;
}

.footer-social a, .footer-links a {
    display: block;
    color: var(--color-text-secondary);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-text-secondary);
    border-radius: 50%;
    margin-right: 10px;
    margin-bottom: 0;
}

.footer-social a:hover {
    border-color: var(--color-primary-accent);
}

.footer-social a svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.footer-social a:hover, .footer-links a:hover {
    color: var(--color-primary-accent);
    transform: translateX(5px);
}

.map-container {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
}

.map-container iframe {
    filter: grayscale(1) invert(1) brightness(0.8) contrast(1.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 1200px;
    margin: 0 auto;
    position: relative; /* Para que esté sobre el overlay */
}

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

@media (max-width: 768px) {
    .site-footer {
        padding: 60px 5% 20px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social .social-icons {
        justify-content: center;
    }

    .footer-about p {
        margin: 0 auto;
    }

    .footer-social a:hover, .footer-links a:hover {
        transform: translateX(0);
    }

    .footer-bottom p {
        font-size: 0.7rem;
    }
}

/* =========================================
   Botón Flotante de WhatsApp
========================================= */
.whatsapp-flotante {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: transparent;
    border: 2px solid var(--color-primary-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 242, 254, 0.3);
    z-index: 999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-flotante:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 242, 254, 0.5);
    animation-play-state: paused;
}

.whatsapp-flotante svg {
    width: 30px;
    height: 30px;
    fill: var(--color-primary-accent);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 242, 254, 0.4);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(0, 242, 254, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 242, 254, 0);
    }
}

/* =========================================
   Sección de Contacto (Formulario Premium)
========================================= */
/* --- AISLAMIENTO DE ESTILOS (SCOPE PURE ARMOR) --- */
.pa-premium-wrapper {
    --bg-card: #121620;
    --bg-input: #1a2030;
    --border-color: #263147;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --accent-cyan: #00f0ff;
    --accent-blue: #0066ff;
    --accent-glow: rgba(0, 240, 255, 0.15);
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 120px 5%;
}

.pa-premium-wrapper * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.pa-premium-wrapper .contact-section {
    width: 100%;
    max-width: 1100px;
    background: linear-gradient(135deg, var(--bg-card) 0%, #0f131c 100%);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .pa-premium-wrapper .contact-section {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

.pa-premium-wrapper .contact-info {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(180deg, rgba(18, 22, 32, 0) 0%, rgba(0, 102, 255, 0.05) 100%);
    border-bottom: 1px solid var(--border-color);
}

@media (min-width: 768px) {
    .pa-premium-wrapper .contact-info {
        border-bottom: none;
        border-right: 1px solid var(--border-color);
        padding: 50px;
    }
}

.pa-premium-wrapper .tagline {
    color: var(--accent-cyan);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.pa-premium-wrapper .contact-info h2 {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
    background: linear-gradient(to right, #ffffff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--text-primary);
}

.pa-premium-wrapper .contact-info p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 35px;
}

.pa-premium-wrapper .features-list {
    list-style: none;
}

.pa-premium-wrapper .feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.pa-premium-wrapper .feature-icon {
    color: var(--accent-cyan);
    margin-right: 15px;
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1;
}

.pa-premium-wrapper .feature-text h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.pa-premium-wrapper .feature-text p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.pa-premium-wrapper .contact-form-container {
    padding: 40px;
    background-color: rgba(10, 12, 16, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (min-width: 768px) {
    .pa-premium-wrapper .contact-form-container {
        padding: 50px;
    }
}

.pa-premium-wrapper .form-group {
    margin-bottom: 22px;
}

.pa-premium-wrapper .form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pa-premium-wrapper .form-group input,
.pa-premium-wrapper .form-group select, 
.pa-premium-wrapper .form-group textarea {
    width: 100%;
    background-color: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 14px 16px;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: var(--font-family);
    outline: none;
    transition: all 0.3s ease;
    appearance: none;
}

.pa-premium-wrapper .form-group input::placeholder,
.pa-premium-wrapper .form-group textarea::placeholder {
    color: rgba(148, 163, 184, 0.5);
    font-size: 0.9rem;
}

.pa-premium-wrapper .select-wrapper {
    position: relative;
}

.pa-premium-wrapper .select-wrapper::after {
    content: '▾';
    font-size: 12px;
    color: var(--text-secondary);
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.pa-premium-wrapper .form-group select:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background-color: #0d111a;
}

.pa-premium-wrapper .form-group input:focus,
.pa-premium-wrapper .form-group select:focus, 
.pa-premium-wrapper .form-group textarea:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px var(--accent-glow);
}

.pa-premium-wrapper .form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.pa-premium-wrapper .submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: linear-gradient(90deg, var(--accent-blue) 0%, #00d2ff 100%);
    border: none;
    border-radius: 8px;
    padding: 16px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
    margin-top: 10px;
}

.pa-premium-wrapper .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 240, 255, 0.4);
    filter: brightness(1.1);
}

.pa-premium-wrapper .submit-btn svg {
    margin-right: 10px;
    fill: currentColor;
    width: 18px;
    height: 18px;
}

.pa-premium-wrapper .form-note {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 15px;
}

/* =========================================
   Página de Servicios - Configurador Interactivo
========================================= */
.page-header-section {
    padding: 180px 5% 60px;
    text-align: center;
    position: relative;
}

.page-header-section h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
}

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

.configurador-section {
    padding: 0 5% 120px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.configurador-header {
    text-align: center;
    margin-bottom: 40px;
}

.configurador-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary-accent);
    letter-spacing: 2px;
    margin-bottom: 10px;
}

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

.configurador-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.tab-btn {
    background: rgba(18, 22, 32, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-secondary);
    padding: 14px 40px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    border-color: var(--color-primary-accent);
    color: var(--color-text-primary);
}

.tab-btn.active {
    background: var(--color-primary-accent);
    color: #000;
    border-color: var(--color-primary-accent);
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.3);
}

.mundo-panel {
    display: none;
}

.mundo-panel.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

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

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.servicio-card {
    position: relative;
    background: linear-gradient(145deg, #10141c, #0b0e14);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.servicio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(0, 242, 254, 0.3);
}

.servicio-card.selected {
    border-color: var(--color-primary-accent);
    box-shadow: 0 0 25px rgba(0, 242, 254, 0.25);
}

.servicio-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.servicio-card h3 {
    font-size: 1.2rem;
    margin: 20px 20px 10px;
    color: var(--color-text-primary);
}

.servicio-card p {
    color: var(--color-text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0 20px 20px;
}

.servicio-check {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    background: rgba(10, 10, 10, 0.7);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    font-weight: 800;
    font-size: 1rem;
    transition: all 0.3s ease;
    z-index: 2;
}

.servicio-card.selected .servicio-check {
    background: var(--color-primary-accent);
    border-color: var(--color-primary-accent);
    color: #000;
}

/* Resumen de selección */
.configurador-resumen {
    margin-top: 60px;
    background: linear-gradient(135deg, #121620 0%, #0f131c 100%);
    border: 1px solid var(--border-color, #263147);
    border-radius: 16px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.resumen-content {
    width: 100%;
    max-width: 600px;
}

.resumen-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary-accent);
    margin-bottom: 20px;
    text-align: center;
}

.resumen-lista {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.resumen-vacio {
    color: var(--color-text-secondary);
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.6;
}

.resumen-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 242, 254, 0.05);
    border: 1px solid rgba(0, 242, 254, 0.15);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 0.9rem;
    color: var(--color-text-primary);
}

.resumen-remove {
    background: none;
    border: none;
    color: var(--color-primary-accent);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    padding: 0 5px;
    transition: transform 0.2s ease;
}

.resumen-remove:hover {
    transform: scale(1.2);
}

.btn-cotizar-config {
    background: linear-gradient(90deg, #0066ff 0%, #00d2ff 100%);
    border: none;
    border-radius: 8px;
    padding: 16px 50px;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
}

.btn-cotizar-config:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 240, 255, 0.4);
    filter: brightness(1.1);
}

.btn-cotizar-config:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    filter: grayscale(1);
}

/* =========================================
   Blog Page Styles
========================================= */
.blog-main {
    padding-top: 100px; /* Space for navbar */
}

.featured-post-section {
    padding: 60px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.featured-post-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
    background: rgba(18, 22, 32, 0.5);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
}

@media (min-width: 768px) {
    .featured-post-card {
        grid-template-columns: 1fr 1fr;
        gap: 0;
    }
}

.featured-post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 300px;
}

.featured-post-content {
    padding: 40px;
}

.post-category {
    display: inline-block;
    color: var(--color-primary-accent);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.featured-post-content h2 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}

.post-excerpt {
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 30px;
}

.blog-grid-section {
    padding: 60px 5% 120px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.blog-post-card {
    background: rgba(18, 22, 32, 0.5);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.blog-post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.post-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-content {
    padding: 30px;
}

.post-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    line-height: 1.4;
    color: var(--color-text-primary);
}

.post-content .post-excerpt {
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.post-read-more {
    color: var(--color-primary-accent);
    text-decoration: none;
    font-weight: 600;
    transition: letter-spacing 0.3s ease;
}

.post-read-more:hover {
    letter-spacing: 1px;
}

/* =========================================
   Article Share Buttons
========================================= */
.article-share-section {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.article-share-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 18px;
    opacity: 0.6;
}

.article-share-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--color-text-secondary);
    font-family: var(--font-family-main);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.share-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    flex-shrink: 0;
}

.share-btn:hover {
    transform: translateY(-2px);
    color: #fff;
}

.share-whatsapp:hover {
    background: #25D366;
    border-color: #25D366;
    color: #fff;
}

.share-facebook:hover {
    background: #1877F2;
    border-color: #1877F2;
    color: #fff;
}

.share-twitter:hover {
    background: #000;
    border-color: #000;
    color: #fff;
}

.share-copy:hover {
    background: var(--color-primary-accent);
    border-color: var(--color-primary-accent);
    color: #000;
}

.article-share-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(0, 242, 254, 0.2);
    color: var(--color-text-primary);
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 500;
    z-index: 9999;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
    pointer-events: none;
}

.article-share-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* =========================================
   Related Articles Carousel
========================================= */
.related-articles-section {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.related-articles-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
    text-align: center;
    opacity: 0.6;
}

.related-articles-carousel {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.related-arrow {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    color: var(--color-text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
}

.related-arrow svg {
    width: 18px;
    height: 18px;
}

.related-arrow:hover {
    background: rgba(0, 242, 254, 0.15);
    border-color: var(--color-primary-accent);
    color: var(--color-primary-accent);
}

.related-track-wrapper {
    overflow: hidden;
    flex: 1;
    min-width: 0;
}

.related-track {
    display: flex;
    gap: 16px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    will-change: transform;
}

.related-card {
    flex: 0 0 260px;
    background: rgba(18, 22, 32, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.related-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 242, 254, 0.3);
}

.related-card-image {
    width: 100%;
    height: 140px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
}

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

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

.related-card-content {
    padding: 14px 16px 18px;
}

.related-card-category {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--color-primary-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.related-card-content h4 {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--color-text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 768px) {
    .related-card {
        flex: 0 0 220px;
    }

    .related-card-image {
        height: 110px;
    }

    .related-arrow {
        flex: 0 0 32px;
        width: 32px;
        height: 32px;
    }

    .related-arrow svg {
        width: 14px;
        height: 14px;
    }
}

/* =========================================
   Article Page Styles
========================================= */
.article-main {
    padding: 120px 5% 80px;
    max-width: 1100px;
    margin: 0 auto;
}

.article-header {
    margin-bottom: 40px;
    text-align: center;
}

.article-header h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 30px;
    color: var(--color-text-primary);
}

.article-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 40px;
}

.article-content p,
.article-content li {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
}

.article-content h3 {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--color-primary-accent);
    margin-top: 40px;
    margin-bottom: 20px;
}

.article-content ul,
.article-content ol {
    padding-left: 25px;
    margin-bottom: 20px;
}

.article-content ul li::before {
    content: '•';
    color: var(--color-primary-accent);
    font-weight: bold;
    display: inline-block; 
    width: 1em;
    margin-left: -1em;
}

.article-content strong {
    color: var(--color-text-primary);
    font-weight: 600;
}

.article-content a.btn-outline {
    margin-top: 40px;
}

@media (max-width: 768px) {
    .article-main {
        padding: 100px 5% 60px;
    }

    .article-header h1 {
        font-size: 2rem;
    }

    .article-content p,
    .article-content li {
        font-size: 0.95rem;
    }

    .article-content h3 {
        font-size: 1.4rem;
    }
}

/* =========================================
   Servicios 2026 - Experiencia Interactiva
========================================= */
.services-main {
    position: relative;
    overflow: hidden;
}

.services-hero {
    min-height: 92vh;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 170px 5% 88px;
    isolation: isolate;
}

.services-hero-media {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.services-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(0.9) contrast(1.08);
}

.services-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.62) 42%, rgba(0, 0, 0, 0.2) 100%),
        linear-gradient(0deg, #0a0a0a 0%, rgba(10, 10, 10, 0.1) 38%);
}

.services-hero-content {
    max-width: 760px;
}

.services-kicker,
.services-section-heading span,
.panel-label {
    display: inline-block;
    color: var(--color-primary-accent);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.services-hero h1 {
    font-size: clamp(2.8rem, 7vw, 6.8rem);
    line-height: 0.95;
    margin: 18px 0 24px;
}

.services-hero p {
    max-width: 650px;
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 34px;
}

.service-intro-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    max-width: 1200px;
    margin: -46px auto 0;
    padding: 0 5%;
    position: relative;
    z-index: 3;
}

.service-intro-strip div {
    background: rgba(13, 17, 24, 0.84);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    padding: 28px;
    min-height: 170px;
}

.service-intro-strip span {
    display: block;
    color: #77ffcc;
    font-weight: 800;
    margin-bottom: 16px;
}

.service-intro-strip strong {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 10px;
}

.service-intro-strip p {
    color: var(--color-text-secondary);
    font-size: 0.86rem;
    line-height: 1.65;
}

.ppf-configurator,
.service-catalog {
    max-width: 1400px;
    margin: 0 auto;
    padding: 115px 5% 0;
}

.service-catalog {
    padding-bottom: 130px;
}

.services-section-heading {
    max-width: 760px;
    margin-bottom: 40px;
}

.services-section-heading h2 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.05;
    margin: 14px 0 18px;
}

.services-section-heading p {
    color: var(--color-text-secondary);
    line-height: 1.75;
}

.ppf-world-switch {
    width: fit-content;
    display: flex;
    gap: 8px;
    padding: 7px;
    margin-bottom: 26px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
}

.world-toggle {
    appearance: none;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--color-text-secondary);
    cursor: pointer;
    font: inherit;
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 12px 28px;
    text-transform: uppercase;
    transition: background 0.2s ease, color 0.2s ease;
}

.world-toggle.active {
    background: var(--color-primary-accent);
    color: #001014;
}

.ppf-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(340px, 0.72fr);
    gap: 28px;
    align-items: stretch;
}

.vehicle-stage,
.config-panel {
    background:
        linear-gradient(145deg, rgba(19, 26, 36, 0.9), rgba(8, 12, 17, 0.94)),
        radial-gradient(circle at 20% 10%, rgba(0, 242, 254, 0.14), transparent 30%);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 8px;
    overflow: hidden;
}

.vehicle-stage {
    min-height: 690px;
    position: relative;
    padding: 34px;
}

.vehicle-stage::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.vehicle-copy {
    position: relative;
    z-index: 2;
    max-width: 540px;
}

.vehicle-copy span {
    color: #77ffcc;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.vehicle-copy h3 {
    font-size: clamp(1.8rem, 3vw, 2.75rem);
    margin: 12px 0;
}

.vehicle-copy p {
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.vehicle-visual {
    display: none;
    position: absolute;
    inset: 160px 28px 28px;
    z-index: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 30px 70px rgba(0, 0, 0, 0.38);
}

.vehicle-visual.active {
    display: block;
    animation: fadeIn 0.35s ease;
}

.exterior-visual {
    background:
        radial-gradient(circle at 50% 52%, rgba(0, 242, 254, 0.1), transparent 46%),
        linear-gradient(145deg, rgba(10, 26, 35, 0.94), rgba(3, 10, 15, 0.98));
}

.exterior-selector {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 12px;
    height: 100%;
    padding: 16px;
}

.vehicle-view-switch {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    width: min(100%, 390px);
    margin: 0 auto;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.2);
}

.vehicle-view-tab {
    min-height: 34px;
    border: 1px solid transparent;
    border-radius: 4px;
    background: transparent;
    color: var(--color-text-secondary);
    cursor: pointer;
    font: inherit;
    font-size: 0.7rem;
    font-weight: 800;
    line-height: 1;
    padding: 8px 10px;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.vehicle-view-tab:hover,
.vehicle-view-tab:focus-visible,
.vehicle-view-tab.active {
    border-color: rgba(0, 242, 254, 0.45);
    background: rgba(0, 242, 254, 0.14);
    color: #77ffcc;
    outline: none;
}

.technical-vehicle {
    display: none;
    width: 100%;
    height: 100%;
    min-height: 0;
}

.technical-vehicle.active {
    display: block;
    animation: fadeIn 0.28s ease;
}

.technical-shadow {
    fill: rgba(0, 0, 0, 0.48);
}

.technical-body {
    stroke: rgba(156, 212, 230, 0.68);
    stroke-width: 3;
}

.technical-glass {
    fill: #08151e;
    stroke: rgba(157, 220, 237, 0.44);
    stroke-width: 2.5;
}

.technical-trim,
.technical-grille,
.technical-base,
.technical-tailgate {
    fill: #071118;
    stroke: rgba(127, 178, 195, 0.32);
    stroke-width: 2;
}

.technical-grille {
    fill: #02070a;
}

.technical-line,
.technical-body-line,
.technical-handle {
    fill: none;
    stroke: rgba(180, 226, 239, 0.46);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.technical-body-line {
    stroke: rgba(170, 226, 240, 0.3);
}

.technical-wheel {
    fill: #050b10;
    stroke: rgba(159, 208, 222, 0.52);
    stroke-width: 8;
}

.technical-wheel-core,
.technical-badge {
    fill: #163442;
    stroke: rgba(184, 238, 250, 0.7);
    stroke-width: 2;
}

.technical-zone {
    fill: transparent;
    stroke: transparent;
    stroke-width: 4;
    cursor: pointer;
    outline: none;
    pointer-events: all;
    transition: fill 0.2s ease, stroke 0.2s ease, filter 0.2s ease;
    vector-effect: non-scaling-stroke;
}

.technical-zone:hover,
.technical-zone:focus-visible {
    fill: rgba(0, 242, 254, 0.22);
    stroke: rgba(119, 255, 204, 0.95);
    filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.68));
}

.technical-zone.selected {
    fill: rgba(0, 242, 254, 0.34);
    stroke: #77ffcc;
    filter: drop-shadow(0 0 10px rgba(0, 242, 254, 0.72));
}

.technical-zone--full {
    pointer-events: none;
    stroke-width: 0;
}

.technical-zone--full.selected {
    fill: rgba(0, 242, 254, 0.16);
    filter: none;
}

.exterior-zone-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
}

.zone-choice {
    min-height: 42px;
    border: 1px solid rgba(0, 242, 254, 0.22);
    border-radius: 4px;
    background: rgba(3, 12, 18, 0.7);
    color: var(--color-text-secondary);
    cursor: pointer;
    font: inherit;
    font-size: 0.64rem;
    font-weight: 700;
    line-height: 1.15;
    overflow-wrap: anywhere;
    padding: 7px 8px;
    text-align: center;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.zone-choice:hover,
.zone-choice:focus-visible,
.zone-choice.selected {
    border-color: rgba(119, 255, 204, 0.9);
    background: rgba(0, 242, 254, 0.16);
    color: #dffcff;
    outline: none;
    transform: translateY(-1px);
}

.vehicle-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.vehicle-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.9) contrast(1.08) brightness(0.78);
}

.interior-photo > img {
    position: absolute;
    inset: 0;
}

.interior-photo img {
    object-position: center;
}

.vehicle-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(circle at 28% 46%, rgba(0, 242, 254, 0.18), transparent 24%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.02) 48%, rgba(0, 0, 0, 0.42)),
        linear-gradient(0deg, rgba(0, 0, 0, 0.48), transparent 42%);
    pointer-events: none;
}

.scan-line {
    position: absolute;
    z-index: 2;
    top: -25%;
    bottom: -25%;
    left: 28%;
    width: 2px;
    background: linear-gradient(to bottom, transparent, rgba(119, 255, 204, 0.95), transparent);
    box-shadow: 0 0 22px rgba(119, 255, 204, 0.8);
    transform: rotate(12deg);
    opacity: 0.65;
    animation: vehicleScan 5.5s ease-in-out infinite;
}

@keyframes vehicleScan {
    0%, 100% { left: 16%; opacity: 0; }
    16%, 84% { opacity: 0.7; }
    50% { left: 82%; opacity: 0.45; }
}

.zone-shape {
    position: absolute;
    z-index: 2;
    border: 1px solid rgba(0, 242, 254, 0.56);
    background:
        linear-gradient(135deg, rgba(0, 242, 254, 0.08), rgba(119, 255, 204, 0.18)),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 9px);
    box-shadow: inset 0 0 28px rgba(0, 242, 254, 0.14), 0 0 26px rgba(0, 242, 254, 0.08);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, filter 0.2s ease, transform 0.2s ease;
}

.zone-shape.selected {
    opacity: 0.9;
    filter: drop-shadow(0 0 18px rgba(0, 242, 254, 0.45));
}

.vehicle-visual:has(.hotspot-screen:hover) .int-screen-shape,
.vehicle-visual:has(.hotspot-screen:focus-visible) .int-screen-shape,
.vehicle-visual:has(.hotspot-cluster:hover) .int-cluster-shape,
.vehicle-visual:has(.hotspot-cluster:focus-visible) .int-cluster-shape,
.vehicle-visual:has(.hotspot-console:hover) .int-console-shape,
.vehicle-visual:has(.hotspot-console:focus-visible) .int-console-shape,
.vehicle-visual:has(.hotspot-window-switches:hover) .int-window-switches-shape,
.vehicle-visual:has(.hotspot-window-switches:focus-visible) .int-window-switches-shape,
.vehicle-visual:has(.hotspot-panels:hover) .int-panels-shape,
.vehicle-visual:has(.hotspot-panels:focus-visible) .int-panels-shape,
.vehicle-visual:has(.hotspot-interior-full:hover) .int-full-shape,
.vehicle-visual:has(.hotspot-interior-full:focus-visible) .int-full-shape {
    opacity: 0.78;
    transform: scale(1.012);
}

.int-screen-shape {
    left: 15%;
    top: 39%;
    width: 68%;
    height: 23%;
    border-radius: 18px;
}

.int-cluster-shape {
    left: 19%;
    top: 43%;
    width: 33%;
    height: 20%;
    border-radius: 18px;
}

.int-console-shape {
    left: 59%;
    top: 56%;
    width: 22%;
    height: 27%;
    clip-path: polygon(16% 0, 100% 9%, 86% 100%, 0 72%);
}

.int-window-switches-shape {
    left: 48%;
    top: 69%;
    width: 24%;
    height: 15%;
    clip-path: polygon(8% 0, 100% 18%, 83% 100%, 0 80%);
}

.int-panels-shape {
    left: 2%;
    top: 36%;
    width: 96%;
    height: 31%;
    clip-path: polygon(0 46%, 16% 26%, 34% 30%, 55% 22%, 100% 35%, 96% 70%, 68% 66%, 38% 75%, 0 84%);
}

.int-full-shape {
    left: 1%;
    top: 20%;
    width: 98%;
    height: 74%;
    clip-path: polygon(0 42%, 18% 20%, 52% 18%, 100% 27%, 96% 82%, 70% 98%, 24% 88%, 0 72%);
}

.zone-hotspot {
    position: absolute;
    z-index: 4;
    min-width: 0;
    min-height: 0;
    border: 0;
    background: transparent;
    color: var(--color-text-primary);
    cursor: pointer;
    font: inherit;
    padding: 0;
    text-align: center;
    transition: transform 0.2s ease;
}

.zone-hotspot::before {
    content: '';
    position: absolute;
    width: 9px;
    height: 9px;
    left: var(--pin-x, 50%);
    top: var(--pin-y, calc(100% + 14px));
    border-radius: 50%;
    background: var(--color-primary-accent);
    box-shadow: 0 0 18px var(--color-primary-accent);
}

.zone-hotspot::after {
    content: '';
    position: absolute;
    width: var(--line-w, 70px);
    height: 1px;
    left: var(--line-x, 50%);
    top: var(--line-y, calc(100% + 18px));
    background: linear-gradient(90deg, rgba(0, 242, 254, 0.95), transparent);
    transform: rotate(var(--line-angle, 0deg));
    transform-origin: left center;
}

.zone-hotspot span {
    display: block;
    border: 1px solid rgba(0, 242, 254, 0.36);
    border-radius: 6px;
    background: rgba(3, 10, 15, 0.78);
    backdrop-filter: blur(12px);
    color: var(--color-text-primary);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.4px;
    line-height: 1.1;
    padding: 10px 12px;
    white-space: nowrap;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.zone-hotspot:hover,
.zone-hotspot:focus-visible,
.zone-hotspot.selected {
    transform: translateY(-3px);
    outline: none;
}

.zone-hotspot:hover span,
.zone-hotspot:focus-visible span,
.zone-hotspot.selected span {
    background: var(--color-primary-accent);
    border-color: var(--color-primary-accent);
    color: #001014;
}

.zone-hotspot.selected::before {
    background: #77ffcc;
    box-shadow: 0 0 24px #77ffcc;
}

.hotspot-screen {
    left: 50%;
    top: 25%;
    --pin-x: 40%;
    --pin-y: 64px;
    --line-x: 40%;
    --line-y: 68px;
    --line-w: 112px;
    --line-angle: 112deg;
}

.hotspot-cluster {
    left: 18%;
    top: 27%;
    --pin-x: 66%;
    --pin-y: 56px;
    --line-x: 66%;
    --line-y: 60px;
    --line-w: 82px;
    --line-angle: 62deg;
}

.hotspot-console {
    right: 13%;
    top: 76%;
    --pin-x: 10%;
    --pin-y: -48px;
    --line-x: 10%;
    --line-y: -44px;
    --line-w: 80px;
    --line-angle: -132deg;
}

.hotspot-window-switches {
    right: 27%;
    top: 86%;
    --pin-x: 18%;
    --pin-y: -34px;
    --line-x: 18%;
    --line-y: -30px;
    --line-w: 84px;
    --line-angle: -152deg;
}

.hotspot-panels {
    left: 4%;
    top: 72%;
    --pin-x: 92%;
    --pin-y: -42px;
    --line-x: 92%;
    --line-y: -38px;
    --line-w: 118px;
    --line-angle: -28deg;
}

.hotspot-interior-full {
    left: 37%;
    bottom: 5%;
    --pin-x: 50%;
    --pin-y: -58px;
    --line-x: 50%;
    --line-y: -54px;
    --line-w: 96px;
    --line-angle: -90deg;
}

.config-panel {
    padding: 24px;
}

.quick-packs {
    display: grid;
    gap: 12px;
    margin-bottom: 24px;
}

.pack-card,
.catalog-card {
    appearance: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font: inherit;
}

.pack-card {
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.045);
    color: var(--color-text-primary);
    padding: 18px;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.pack-card strong {
    display: block;
    margin-bottom: 8px;
}

.pack-card span {
    color: var(--color-text-secondary);
    display: block;
    font-size: 0.82rem;
    line-height: 1.55;
}

.pack-card:hover,
.pack-card.selected {
    transform: translateY(-2px);
    border-color: rgba(0, 242, 254, 0.55);
    background: rgba(0, 242, 254, 0.08);
}

.selection-summary {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
}

.summary-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
}

.summary-topline span {
    color: var(--color-text-secondary);
}

.summary-topline strong {
    color: #77ffcc;
}

.summary-list {
    display: grid;
    gap: 10px;
    max-height: 310px;
    overflow: auto;
    padding-right: 4px;
    margin-bottom: 18px;
}

.summary-list p {
    color: var(--color-text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
}

.summary-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid rgba(0, 242, 254, 0.18);
    border-radius: 8px;
    background: rgba(0, 242, 254, 0.055);
    padding: 12px 12px 12px 14px;
}

.summary-item span {
    color: var(--color-text-primary);
    font-size: 0.84rem;
    line-height: 1.35;
}

.summary-item button {
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: var(--color-text-secondary);
    cursor: pointer;
}

.summary-item button:hover {
    color: #001014;
    background: var(--color-primary-accent);
}

.selection-summary .btn-cotizar-config {
    width: 100%;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.catalog-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    background: rgba(16, 21, 30, 0.78);
    color: var(--color-text-primary);
    overflow: hidden;
    min-height: 410px;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.catalog-card:hover,
.catalog-card.selected {
    transform: translateY(-5px);
    border-color: rgba(119, 255, 204, 0.55);
    box-shadow: 0 20px 36px rgba(0, 0, 0, 0.28);
}

.catalog-card img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    display: block;
}

.catalog-card span {
    display: inline-block;
    margin: 22px 22px 0;
    color: #77ffcc;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.catalog-card h3 {
    margin: 10px 22px 12px;
    font-size: 1.08rem;
    line-height: 1.25;
}

.catalog-card p {
    margin: 0 22px 24px;
    color: var(--color-text-secondary);
    font-size: 0.84rem;
    line-height: 1.65;
}

@media (max-width: 1100px) {
    .ppf-layout,
    .catalog-grid {
        grid-template-columns: 1fr 1fr;
    }

    .vehicle-stage {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .services-hero {
        min-height: 84vh;
        padding: 145px 5% 72px;
    }

    .service-intro-strip,
    .ppf-layout,
    .catalog-grid {
        grid-template-columns: 1fr;
    }

    .service-intro-strip {
        margin-top: 0;
    }

    .ppf-configurator,
    .service-catalog {
        padding-top: 82px;
    }

    .ppf-world-switch {
        width: 100%;
    }

    .world-toggle {
        flex: 1;
        padding: 12px 16px;
    }

    .vehicle-stage {
        min-height: 720px;
        padding: 24px;
    }

    .vehicle-visual {
        inset: 220px 8px 20px;
    }

    .exterior-selector {
        gap: 10px;
        padding: 12px;
    }

    .vehicle-view-tab {
        font-size: 0.66rem;
        padding-inline: 6px;
    }

    .zone-choice {
        font-size: 0.58rem;
        min-height: 40px;
        padding: 5px 6px;
    }

    .vehicle-photo img {
        filter: saturate(0.9) contrast(1.04) brightness(0.74);
    }

    .interior-photo img {
        object-position: 48% center;
    }

    .zone-hotspot span {
        font-size: 0.62rem;
        padding: 8px 9px;
        white-space: normal;
        max-width: 106px;
    }

    .zone-hotspot::after {
        width: var(--line-w, 44px);
    }

    .zone-shape {
        border-width: 1px;
    }

    .hotspot-screen {
        left: 52%;
        top: 24%;
        --line-w: 56px;
    }

    .hotspot-cluster {
        left: 13%;
        top: 27%;
        --line-w: 50px;
    }

    .hotspot-console {
        right: 6%;
        top: 76%;
        --line-w: 48px;
    }

    .hotspot-window-switches {
        right: 27%;
        top: 86%;
        --line-w: 46px;
    }

    .hotspot-panels {
        left: 2%;
        top: 72%;
        --line-w: 64px;
    }

    .hotspot-interior-full {
        left: 34%;
        bottom: 3%;
        --line-w: 62px;
    }

    .catalog-card {
        min-height: auto;
    }
}

@media (max-width: 460px) {
    .services-hero h1 {
        font-size: 3.2rem;
    }

    .vehicle-stage {
        min-height: 760px;
    }

    .vehicle-visual {
        inset: 280px 0 30px;
    }

    .zone-hotspot span {
        max-width: 84px;
        padding: 7px 8px;
    }

    .exterior-selector {
        gap: 8px;
        padding: 10px;
    }

    .exterior-zone-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 5px;
    }

    .zone-choice {
        min-height: 38px;
        font-size: 0.62rem;
    }
}

/* =========================================
   Brands Carousel
========================================= */

.brands-section {
    padding: 120px 0;
    position: relative;
}

.brands-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.brands-track {
    display: flex;
    width: calc(200px * 30); /* 15 logos * 2 for seamless loop */
    animation: scroll 60s linear infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-200px * 15)); /* Move track by the width of the original 15 logos */
    }
}

.brand-logo {
    width: 200px;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.brand-logo img {
    height: 80px;
    width: 100%;
    object-fit: contain;
    max-width: 100%;
    filter: grayscale(1) invert(1) brightness(0.7); /* Make logos white and slightly dimmed */
    opacity: 0.7;
    transition: all 0.3s ease;
}

.brand-logo:hover img {
    opacity: 1;
    filter: grayscale(1) invert(1) brightness(1.5); /* Make logos brighter on hover */
    transform: scale(1.1);
}

.brand-logo--large img {
    height: 115px;
}

.brand-logo--wide img {
    transform: scale(1.4);
}

.brand-logo--wide:hover img {
    transform: scale(1.5);
}

.brand-logo--ford img {
    filter: brightness(0) invert(1) grayscale(1) brightness(1.5);
}

/* Se elimina la pausa al hover para que el carrusel sea continuo */
