:root {
    --primary-blue: #1E3A8A;
    --accent-blue: #2563EB;
    --light-blue: #EFF6FF;
    --dark-slate: #0F172A;
    --gray-bg: #F8FAFC;
    --white: #FFFFFF;
}
html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden; /* Elimina cualquier desplazamiento horizontal */
    position: relative;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
}

body {
    background-color: var(--gray-bg);
    color: var(--dark-slate);
    line-height: 1.6;
}

/* --- HEADER FIJO Y EFECTO DE CONTRACCIÓN AL HACER SCROLL --- */
header, .navbar-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px; /* Altura inicial grande */
    background: rgba(255, 255, 255, 0.85); /* El 0.85 es la opacidad (puedes probar de 0.7 a 0.9) */
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
    transition: all 0.3s ease-in-out;
    padding: 0 5%;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Header contraído al hacer scroll */
header.scrolled {
    height: 70px; /* Altura más compacta al bajar */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Contenedor del Logo */
.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

/* Tamaño grande del logo (cuando estás arriba) */
.logo-container img {
    height: 200px; /* Tamaño imponente pero controlado para la barra de 100px */
    width: auto;
    display: block;
    object-fit: contain;
    transition: height 0.3s ease-in-out;
}

/* Tamaño del logo al hacer scroll (se reduce un poco sutilmente a 65px) */
header.scrolled .logo-container img {
    height: 180px; 
}


/* Nombre de la marca */
.brand-name {
    font-size: 1.6rem;
    font-weight: 700;
    color: #0F172A;
    white-space: nowrap;
    margin: 0;
}

.brand-name span {
    color: var(--accent-blue);
}

/* Estilo para la lista del menú (nav) en Escritorio */
#nav-list, nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
    margin: 0;
    padding: 0;
}

nav a {
    text-decoration: none;
    color: var(--dark-slate);
    font-weight: 600;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--accent-blue);
}

/* Botón de hamburguesa (oculto en PC) */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: #1E293B;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* --- VISTA RESPONSIVA MÓVIL (Celulares) --- */
@media (max-width: 768px) {
    nav {
        background: transparent !important;
    }
    .menu-toggle {
        display: flex; /* Muestra las 3 rayas en móvil */
    }

    /* El menú se oculta por defecto y se despliega debajo del header */
    #nav-list, nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.75);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        align-items: center;
        padding: 25px 0;
        gap: 20px;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        border-top: 1px solid #E2E8F0;
    }

    #nav-list.active, nav ul.active {
        display: flex; /* Se muestra al activar con JS */
    }
}

/* --- HERO CORREGIDO (Opacidad total y separación del botón) --- */
/* --- HERO --- */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
    text-align: center;
    padding: 160px 20px 60px 20px;
    overflow: hidden;
}

.hero video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0; /* Lo mandamos al fondo absoluto */
    filter: brightness(0.45);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0f172a; /* Color oscuro base */
    opacity: 0.85;       /* Control directo de opacidad */
    z-index: 1;          /* Queda encima del video */
}

.hero * {
    position: relative;
    z-index: 2;          /* Todo el texto y botones quedan por encima de la opacidad */
}

.hero-badge {
    background: rgba(255,255,255,0.25);
    padding: 8px 22px;
    border-radius: 30px;
    font-size: 1.15rem; /* <-- Subimos el tamaño a 1.15rem para que resalte más */
    font-weight: 600;   /* <-- Le damos un toque más robusto */
    margin-bottom: 20px;
    backdrop-filter: blur(5px);
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.hero h2 {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 15px;
}

.hero p {
    max-width: 650px;
    margin-bottom: 30px; /* Margen superior adecuado para que el botón no quede pegado */
    font-size: 1.05rem;
}

.btn-cta {
    background: var(--accent-blue);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s, background 0.3s;
    display: inline-block;
    margin-top: 10px;
}

.btn-cta:hover {
    background: var(--primary-blue);
    transform: translateY(-2px);
}

/* --- NOSOTROS --- */
.about {
    padding: 80px 10%;
    display: grid;
    grid-template-columns: 0.9fr 1.3fr;
    gap: 50px;
    align-items: center;
    background: var(--white);
}

.about h2 {
    text-align: center;
    margin-bottom: 24px;
}

.about-img-container img {
    width: 100%;
    height: auto;
    max-height: 430px; /* Fija una altura máxima elegante */
    object-fit: contain;  /* Mantiene el encuadre perfecto sin deformar */
    border-radius: 15px;
    box-shadow: 12px 12px 0px var(--light-blue);
    display: block;
}


/* --- TARJETAS DE SERVICIOS RESTAURADAS --- */
.services {
    padding: 20px 7% 40px;
    text-align: center;
}

.services h2 {
    font-size: 2.2rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.services-subtitle {
    margin-bottom: 40px;
    color: #64748B;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: stretch;
}

.service-card {
    background: var(--white);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid #F1F5F9;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    align-items: center;
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 12px;
    color: var(--primary-blue);
    font-size: 1.3rem;
    font-weight: 700;
}

.service-card p {
    font-size: 0.95rem;
    color: #64748B;
    line-height: 1.6;
    margin-bottom: 24px;
    text-align: left;
}

.card-actions {
    display: flex;
    gap: 12px;
    margin-top: auto;
}

.btn-buy {
    background: #EFF6FF;
    color: var(--accent-blue);
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s, color 0.2s;
}

.btn-buy:hover {
    background: var(--accent-blue);
    color: var(--white);
}
/* --- PORTAFOLIO DE REPUESTOS --- */

.parts-portfolio {
    padding: 35px 10% 30px;
    background: var(--white);
    text-align: center;
}

.parts-portfolio h2 {
    color: var(--primary-blue);
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.parts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.part-card {
    position: relative;
    height: 230px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.part-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.2);
}

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

.part-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.55) 0%, rgba(30, 58, 138, 0.85) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
    padding: 20px;
    text-align: center;
}

.part-card-overlay i {
    font-size: 2.5rem;
    margin-bottom: 12px;
    color: #93C5FD;
}

.part-card-overlay h3 {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}
@media (max-width: 900px) {
    .parts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .parts-grid {
        grid-template-columns: 1fr;
    }
}
/* --- GALERÍA DEL TALLER --- */
.gallery-section {
    
    padding: 25px 7% 40px;
    text-align: center;
}


.section-title-animated {
    font-size: 2.2rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-title-animated::after {
    content: '';
    display: block;
    width: 50%;
    height: 4px;
    background: var(--accent-blue);
    margin: 8px auto 0;
    border-radius: 2px;
    animation: pulseLine 2s infinite ease-in-out;
}

@keyframes pulseLine {
    0% { width: 30%; opacity: 0.6; }
    50% { width: 70%; opacity: 1; }
    100% { width: 30%; opacity: 0.6; }
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}


.gallery img:hover {
    transform: scale(1.03);
}

/* --- CONTACTO Y MAPA --- */
.contact-section {
    padding: 60px 5%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: var(--white);
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}
.contact-section h2 {
    text-align: center;
}

#contactForm {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

#contactForm input, #contactForm select, #contactForm textarea {
    padding: 12px;
    border: 1px solid #CBD5E1;
    border-radius: 6px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.contact-map-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.contact-map-wrapper h2 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
    text-align: center;
}

.map-container {
    flex: 1;
    min-height: 380px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.map-container iframe {
    width: 100%;
    max-width: 100%;
    height: 100%;
    min-height: 380px;
    border: 0;
}

/* --- FOOTER PROFESIONAL --- */
footer.footer-pro {
    background: var(--dark-slate);
    color: var(--white);
    padding: 60px 10% 20px 10%;
    text-align: left;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.2fr 1.5fr 0.8fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-sizing: border-box;
}

.footer-col h3 {
    color: #93C5FD;
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-desc {
    color: #94A3B8;
    font-size: 0.92rem;
    line-height: 1.6;
}

.footer-info-item {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.9rem;
    color: #CBD5E1;
}

.footer-info-item a {
    color: #93C5FD;
    font-size: 1.1rem;
    margin-top: 3px;
}

.footer-info-item a:hover {
    color: #FFFFFF !important; /* Blanco al pasar el cursor */
    text-decoration: underline;
}

.footer-info-item strong {
    color: #FFFFFF;
}
/* Ajuste móvil */
@media (max-width: 768px) {
    footer.footer-pro {
        padding: 40px 5% 20px 5%;
        text-align: center;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .footer-col {
        width: 100%;
    }

    .footer-info-item, .social-icons {
        justify-content: center;
    }
}
.social-icons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.social-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 1.5rem;
    transition: transform 0.2s, opacity 0.2s;
}

.social-icon-btn:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

.instagram-btn {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.facebook-btn {
    background-color: #1877F2;
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    color: #94A3B8;
    font-size: 0.85rem;
}



/* --- RESPONSIVO --- */
@media (max-width: 768px) {
    .menu-toggle { display: block; }
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 20px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }
    nav ul.active { display: flex; }
    .about, .contact-section { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2rem; }
}

/* --- SECCIÓN DESTACADA DE REPUESTOS (ESTILO HERO) --- */
.store-hero {
    position: relative;
    background: url('../img/repauto.jpg') no-repeat center center/cover;
    padding: 45px 10%;
    color: var(--white);
    overflow: hidden;
}

.store-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 58, 138, 0.85) 100%);
    z-index: 1;
}

.store-hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.store-hero-content h2 {
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 1px;
    color: #93C5FD;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.store-hero-content h1 {
    font-size: 2.3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
}

.store-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.store-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
    font-weight: 500;
}

.store-features li i {
    color: #60A5FA;
    font-size: 1.2rem;
}

.btn-store-cta {
    background: #FACC15;
    color: var(--dark-slate);
    padding: 12px 28px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    transition: transform 0.2s, background 0.3s;
    box-shadow: 0 4px 15px rgba(250, 204, 21, 0.3);
}

.btn-store-cta:hover {
    background: #FDE047;
    transform: translateY(-2px);
}

/* Estilo y animación de la imagen flotante */

.store-hero-img img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.4));
    animation: rotateParts 20s linear infinite; /* Rota constantemente de forma suave */
}

@keyframes rotateParts {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .store-hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .store-features {
        align-items: center;
    }
    .store-hero-content h1 { font-size: 1.8rem; }
    .store-hero { padding: 35px 5%; }
}

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


.brands-section {
    background: #FFFFFF;
    padding: 40px 0;
    overflow: hidden; /* Impide que la pista de animación desborde la pantalla */
    width: 100%;
    max-width: 100vw;
    border-bottom: 1px solid #E2E8F0;
}

.brands-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.brands-container h3 {
    font-size: 1.1rem;
    color: #64748B;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.brands-slider {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    display: flex;
}

.brands-track {
    display: flex;
    gap: 40px;
    width: max-content;
    animation: scrollBrands 25s linear infinite;
}

.brands-slider:hover .brands-track {
    animation-play-state: paused; /* Pausa el movimiento al pasar el mouse por encima */
}

.brand-item {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    height: 90px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
    transition: transform 0.3s ease;
}

.brand-item:hover {
    transform: translateY(-3px);
    border-color: var(--accent-blue);
}

.brand-item img {
    max-height: 55px;
    width: auto;
    object-fit: contain;
    filter: grayscale(20%);
    transition: filter 0.3s;
}

.brand-item:hover img {
    filter: grayscale(0%);
}

/* Animación de desplazamiento infinito */
@keyframes scrollBrands {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 20px));
    }
}

/* --- ESTILOS RESPONSIVOS PARA MÓVIL (PANTALLAS PEQUEÑAS) --- */

@media (max-width: 768px) {
    /* Forzamos que el header distribuya el logo a la izquierda y el menú a la derecha */
    header, .navbar-container {
        justify-content: space-between !important;
        padding: 0 4% !important;
        height: 100px !important; /* Altura cómoda para celular */
    }

    /* Aseguramos que el botón de hamburguesa quede a la derecha */
    .menu-toggle {
        display: flex !important;
        margin-left: auto; /* Lo empuja totalmente a la derecha */
    }

    /* Si quieres que el nombre de la empresa se vea más compacto en celular o se oculte si es muy largo, puedes controlarlo aquí */
    .brand-name {
        font-size: 1.1rem; /* Lo reducimos un poco para que quepa perfecto al lado del logo */
    }
    
    .logo-container img {
        height: 90px !important; /* Tamaño proporcional para móvil */
    }

    /* El menú desplegable abajo */
    #nav-list, nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        flex-direction: column;
        align-items: center;
        padding: 25px 0;
        gap: 20px;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        border-top: 1px solid #E2E8F0;
        margin: 0;
    }

    #nav-list.active, nav ul.active {
        display: flex !important;
    }
}
    @media (max-width: 768px) {
        header nav ul#nav-list, 
         #nav-list.active, 
         nav ul.active, 
         #nav-list, 
         nav ul {
            background: rgba(255, 255, 255, 0.70) !important;
            backdrop-filter: blur(12px) !important;
            -webkit-backdrop-filter: blur(12px) !important;
        }
}

.parts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 40px;
    align-items: start;
}

.part-card-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.part-card {
    position: relative;
    width: 100%;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    clip-path: inset(0 round 12px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    box-sizing: border-box;
}

.part-card img {
    position: absolute;        
    top: 0;                    
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.part-card-overlay {
    position: relative;
    z-index: 2;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.55) 0%, rgba(30, 58, 138, 0.90) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
    padding: 20px;
    text-align: center;
    box-sizing: border-box;
}

.part-card-overlay i {
    font-size: 2rem;
    margin-bottom: 8px;
    color: #93C5FD;
}

.part-card-overlay h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
}

/* Botón Más Información dentro de la tarjeta */
.btn-more-info {
    background: #2563EB;
    color: #FFFFFF;
    border: none;
    padding: 2px 3px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.btn-more-info i {
    font-size: 0.85rem;
}

.btn-more-info:hover {
    background: #1E3A8A;
    transform: scale(1.05);
}

/* Tarjeta desplegable oculta por defecto */
.part-details-card {
    display: none;
    position: absolute;   /* Se sale del flujo normal, evita desplazar las otras fichas */
    top: 100%;            /* Se posiciona justo debajo de la tarjeta principal */
    left: 0;
    width: 100%;
    max-width: 100%;
    z-index: 50;          /* Asegura que quede por encima del grid y otras imágenes */
    background: rgba(255, 255, 255, 0.75); /* Fondo blanco con 85% de opacidad (puedes probar entre 0.8 y 0.9) */
    backdrop-filter: blur(14px);           /* Efecto esmerilado / difuminado elegante detrás de la tarjeta */
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.18); /* Sombra elegante para dar efecto de elevación */
    box-sizing: border-box;
}

.part-details-card.active {
    display: block;
}

.part-details-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 12px;
}

.detail-desc {
    font-size: 0.9rem;
    color: #0F172A;
    margin-bottom: 12px;
    font-weight: 600;
}

.parts-list {
    list-style-type: disc;
    padding-left: 20px;
    font-size: 0.88rem;
    color: #0F172A;
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.btn-whatsapp-quote {
    background: #22C55E;
    color: #FFFFFF;
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s;
}

.btn-whatsapp-quote:hover {
    background: #16A34A;
}

@keyframes fadeInCard {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
/* --- BOTÓN FLOTANTE DE WHATSAPP --- */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25D366;
    color: #FFFFFF;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 32px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #20BA5A;
    transform: scale(1.1);
    color: #FFFFFF;
}
/* --- ESTILOS SUBSECCIÓN NUESTROS CLIENTES --- */
.our-clients-section {
    padding: 40px 10%;
    background-color: var(--gray-bg);
    border-top: 1px solid #E2E8F0;
    text-align: center;
}

.clients-container h2 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 12px;
}

.clients-intro {
    max-width: 800px;
    margin: 0 auto 40px auto;
    font-size: 1rem;
    color: #475569;
    line-height: 1.6;
}

.clients-grid {
    display: flex;
    gap: 25px;
    width: max-content;
    align-items: center;
    animation: scrollClients 28s linear infinite;
}

.clients-grid:hover {
    animation-play-state: paused;
}

.client-card {
    background: var(--white);
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 20px;
    min-width: 210px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
}

.client-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.12);
    border-color: var(--accent-blue);
}

.client-card img {
    max-width: 100%;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
}

@keyframes scrollClients {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .our-clients-section {
        padding: 40px 5%;
    }
    .client-card {
        min-width: 165px;
        height: 95px;
        padding: 15px;
    }
}
.paint-section {
    padding: 20px 2% 40px;
    text-align: center;
}

.paint-section .gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1050px;
    margin: 40px auto 0;
    align-items: center;
}

.paint-section .gallery img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    display: block;
    clip-path: none;
}

.paint-section .gallery img:first-child {
    clip-path: none;
}

@media (max-width: 768px) {
    .paint-section .gallery {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .paint-section .gallery img {
        height: 220px;
        clip-path: none;
    }

    .paint-section .gallery img:first-child {
        clip-path: none;
    }
}

.careers-section {
    padding: 115px 5% 50px;
    background-color: #f8f9fa;
}

.careers-section h2 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 10px;
}

.careers-section > p {
    text-align: center;
    color: #555;
    margin-bottom: 30px;
}

.careers-form {
    max-width: 600px;
    margin: 0 auto;
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.careers-form .form-group {
    margin-bottom: 18px;
}

.careers-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #222;
    font-size: 0.95rem;
}

.careers-form input[type="text"],
.careers-form input[type="tel"],
.careers-form input[type="email"],
.careers-form select,
.careers-form input[type="file"] {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 0.95rem;
    box-sizing: border-box;
}

.careers-form .checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 10px;
}

.careers-form .checkbox-group input[type="checkbox"] {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

.careers-form .checkbox-group label {
    font-weight: 400;
    font-size: 0.85rem;
    color: #444;
    line-height: 1.4;
    cursor: pointer;
}

.careers-form .btn-submit {
    width: 100%;
    padding: 13px;
    background-color: var(--primary-blue);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.careers-form .btn-submit:hover {
    opacity: 0.92;
}