:root {
    --logitech-orange: #F26E22;
    --logitech-dark: #1A2533;
    --logitech-light: #F5F5F5;
    --logitech-white: #FFFFFF;
}

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

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--logitech-light);
    color: var(--logitech-dark);
    line-height: 1.6;
}

/* --- HEADER Y MENÚ (RESUCITADO) --- */
header {
    background: var(--logitech-white);
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px #0a0a0a1a;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.main-nav ul { display: flex; list-style: none; gap: 20px; }
.main-nav a { text-decoration: none; color: var(--logitech-dark); font-weight: 600; }

.btn-solicitar {
    background: var(--logitech-orange);
    color: rgb(240, 237, 237);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

.main-logo { height: 85px; }

/* Botón Hamburguesa (Recuperado) */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}
.menu-toggle span { width: 25px; height: 3px; background: var(--logitech-dark); }

/* --- HERO MEJORADO (CON IMAGEN RESUCITADA) --- */
.hero-mejorado {
    position: relative;
    width: 100%;
    height: 80vh;
    background: #000;
    overflow: hidden;
}

.hero-text-floating {
    position: absolute;
    top: 15%;
    left: 0;
    width: 100%;
    z-index: 20;
    text-align: center;
    color: white;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8), 0px 0px 20px rgba(0,0,0,0.5);
    padding: 0 20px;
    pointer-events: none;
}

.hero-text-floating h1 { font-size: 2.2rem; font-weight: 900; margin-bottom: 10px; }
.hero-text-floating h2 { font-size: 1.1rem; font-weight: 400; color: #eee; }

.carrusel-full { width: 100%; height: 100%; position: relative; }

/* REGLA CRUCIAL PARA QUE SE VEA EL CARRUSEL */
.carrusel-item {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    display: none; /* JS controla esto */
}

.carrusel-item.active { display: block !important; }

/* Botón Reserva (Recuperado) */
.btn-reserva {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--logitech-orange);
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: bold;
    z-index: 25;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.carrusel-prev, .carrusel-next {
    position: absolute;
    top: 50%;
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 15px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 25;
}
.carrusel-prev { left: 20px; }
.carrusel-next { right: 20px; }

/* --- FICHA TÉCNICA (CON ICONOS NARANJAS RESUCITADOS) --- */
.ficha-tecnica { padding: 60px 20px; text-align: center; }
.ficha-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 40px auto;
}
.ficha-box {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.ficha-box:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.1); }

/* ESTILO ICONOS NARANJAS */
.ficha-box i {
    font-size: 40px;
    color: var(--logitech-orange);
    margin-bottom: 15px;
    display: block;
}

.ficha-box h3 { color: #888; font-size: 0.8rem; letter-spacing: 1px; margin-bottom: 10px; }
.ficha-box .value { font-size: 2rem; font-weight: 800; margin-bottom: 5px; }
.ficha-box .desc { font-size: 0.9rem; font-weight: 600; color: #444; }

/* --- GALERÍA (ICONOS DE FLECHAS RECUPERADOS) --- */
.galeria-multimedia { padding: 60px 20px; background: #fff; text-align: center; }
.galeria-container { position: relative; max-width: 1000px; margin: 0 auto; }
.galeria-carousel {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}
.gallery-item img { width: 100%; max-width: 400px; border-radius: 15px; }

/* --- FOOTER (RESUCITADO Y PROFESIONAL) --- */
footer { background: var(--logitech-dark); color: white; padding: 60px 20px 20px; }
.footer-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}
.footer-block h4 { color: var(--logitech-orange); margin-bottom: 20px; }
.footer-block p { font-size: 0.9rem; color: #ccc; margin-bottom: 10px; }
.social-icons a { color: white; font-size: 1.5rem; margin-right: 15px; text-decoration: none;}
.social-icons a:hover { color: var(--logitech-orange); }
.footer-bottom { text-align: center; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.8rem; color: #777; }

/* --- MODAL --- */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0; top: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
}
.modal-content {
    background: white;
    margin: 10% auto;
    padding: 30px;
    width: 90%;
    max-width: 500px;
    border-radius: 15px;
    position: relative;
}
.close { position: absolute; right: 20px; top: 10px; font-size: 30px; cursor: pointer; }

/* --- RESPONSIVE / ADAPTACIÓN MÓVIL (RESUCITADO) --- */
@media (max-width: 768px) {
    .menu-toggle { display: flex; }
    .main-nav {
        display: none;
        position: absolute;
        top: 70px; left: 0; width: 100%;
        background: white; padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    .main-nav.active { display: block; }
    .main-nav ul { flex-direction: column; gap: 15px; text-align: center;}
    .solicitar-cotizacion { display: none; }
    
    .hero-mejorado { height: 60vh; }
    .hero-text-floating h1 { font-size: 1.5rem; }
    
    .ficha-grid { grid-template-columns: 1fr; }
    .actions-container { flex-direction: column; }
    
    /* Footer centrado en móvil (Solución a tu reporte) */
    .footer-sections { grid-template-columns: 1fr; text-align: center; gap: 30px;}
    .social-icons { justify-content: center; margin-right: 0;}
    .footer-block img { max-width: 150px; margin: 0 auto; }
}
/* --- BOTONES DE ACCIÓN --- */
.lead-actions {
    padding: 40px 20px;
    background: #fff;
    text-align: center;
}

.actions-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}

.btn-action-modern {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 30px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1rem;
    transition: all 0.3s ease;
    min-width: 280px;
    color: white;
}

/* Color para el PDF */
.btn-action-modern.pdf {
    background: #2D3D52;
    border-bottom: 4px solid #1a2533;
}

/* Color Oficial WhatsApp */
.btn-action-modern.whatsapp {
    background: #25D366;
    border-bottom: 4px solid #128C7E;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-action-modern:hover {
    transform: translateY(-3px);
    filter: brightness(1.1);
}

/* --- GALERÍA / MULTIMEDIA --- */
.galeria-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item img {
    width: 100%;
    height: 400px; /* Altura fija para que se vean uniformes */
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.03);
}
/* DISEÑO DE LA RUEDA HORIZONTAL */
.rueda-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    padding: 20px 0;
}

.rueda-wrapper {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px;
    scrollbar-width: none; /* Oculta scroll en Firefox */
}

.rueda-wrapper::-webkit-scrollbar { display: none; } /* Oculta scroll en Chrome/Safari */

.rueda-wrapper .gallery-item {
    flex: 0 0 300px; /* Ancho de cada imagen en la rueda */
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.rueda-wrapper .gallery-item:hover {
    transform: scale(1.05) rotate(1deg);
}

/* BOTONES DE LA RUEDA */
.rueda-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--logitech-orange);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.rueda-btn.prev { left: 10px; }
.rueda-btn.next { right: 10px; }

/* MODAL DE IMAGEN AGRANDADA */
#modal-imagen-full {
    display: none;
    position: fixed;
    z-index: 3000;
    padding-top: 50px;
    left: 0; top: 0; width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.95);
}

.modal-content-full {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    border-radius: 10px;
    animation: zoom 0.3s;
}
header {
        background-color: #b9bdbd !important;
    }
    
    .menu-toggle span {
        background: #FFFFFF; /* Para que las rayitas de la hamburguesa sean blancas y se vean */
    }
/* 1. Contenedor principal */
.has-dropdown {
    position: relative;
    display: inline-block;
}

/* 2. El menú (La caja blanca) */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffffff;
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: none; /* Oculto por defecto */
    flex-direction: column !important;
    z-index: 9999; /* Muy alto para estar sobre todo */
    list-style: none;
    padding: 10px 0;
    margin: 0;
    border-radius: 8px;
    border-top: 4px solid #F26E22;
}

/* 3. EL PUENTE (Reparado) */
/* Lo hacemos un poco más alto y le quitamos el display:none para que siempre esté listo */
.has-dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 30px; /* Aumentamos el área de conexión */
    display: block;
    z-index: 1; /* Por debajo del menú pero suficiente para detectar el mouse */
}

/* 4. ACCIÓN DE MOSTRAR Y CERRAR (Fuerza el cierre) */
.has-dropdown:hover .dropdown-menu {
    display: flex !important;
}

/* Si el mouse no está sobre el padre, el menú se oculta sí o sí */
.has-dropdown:not(:hover) .dropdown-menu {
    display: none !important;
}

/* 5. Estilo de los links (verticales) */
.dropdown-menu li {
    width: 100% !important;
    display: block !important;
}

.dropdown-menu li a {
    color: #333333 !important;
    padding: 12px 20px !important;
    display: block !important;
    font-size: 0.95rem !important;
    text-transform: none !important;
    text-decoration: none !important;
    text-align: left !important;
    background: #ffffff !important;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f5f5f5;
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

/* Hover interno */
.dropdown-menu li a:hover {
    background-color: #fff5f0 !important;
    color: #F26E22 !important;
    padding-left: 25px !important;
}

/* Flecha */
.has-dropdown:hover > a i {
    transform: rotate(180deg);
    transition: 0.3s;
    color: #F26E22;
}
/* secciòn cotizaciòn */
/* Sección Principal con degradado a blanco para fundirse con la web */
..sourcing-modern-v3 {
    /* Degradado que termina en blanco puro para fundirse con el fondo de la web */
    background: linear-gradient(180deg, #e0f7f4 0%, #b2ebf2 75%, #ffffff 100%);
    padding: 100px 20px;
    font-family: 'Inter', -apple-system, sans-serif;
    overflow: hidden;
}

/* --- TUS ESTILOS ORIGINALES (MANTENIDOS) --- */
.container-premium { max-width: 1200px; margin: 0 auto; }
.header-sourcing { text-align: center; margin-bottom: 60px; }

/* Ajuste de color para tu badge */
.badge-aliados { 
    background: #F26E22; 
    color: #fff; 
    padding: 8px 20px; 
    border-radius: 30px; 
    font-size: 0.8rem; 
    font-weight: 700; 
}

.title-v3 { font-size: 3.5rem; font-weight: 800; color: #1d1d1f; margin: 20px 0; text-transform: uppercase; }
.subtitle-v3 { font-size: 1.4rem; color: #4b4b4d; max-width: 700px; margin: 0 auto; }

/* Grid responsivo */
.grid-sourcing { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 50px; align-items: center; }

/* --- EL CAMBIO: IMÁGENES MÁS GRANDES Y SIN BOX --- */
.card-visual-transparent { display: flex; justify-content: center; position: relative; }
.product-float { position: relative; width: 100%; height: 400px; display: flex; align-items: center; justify-content: center; }

.img-1-big { width: 320px; filter: drop-shadow(0 20px 30px rgba(0,0,0,0.15)); z-index: 2; transition: 0.3s; }
.img-2-big { width: 320px; position: absolute; right: 5%; bottom: 0; filter: drop-shadow(0 20px 30px rgba(0,0,0,0.15)); z-index: 3; }

/* Caja blanca de la derecha (Tu zócalo de texto) */
.card-info { 
    background: #ffffff; 
    border-radius: 40px; 
    padding: 50px; 
    box-shadow: 0 15px 45px rgba(0,0,0,0.06); 
}

/* Tus estilos de filas de beneficios y botón (SIN CAMBIOS) */
.benefit-row { display: flex; gap: 20px; margin-bottom: 35px; align-items: center; text-align: left; }
.icon-circle { width: 60px; height: 60px; background: #e0f7f4; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: #F26E22; flex-shrink: 0; }
.btn-apple-style { display: inline-block; background: #000; color: #fff; text-decoration: none; padding: 22px 40px; border-radius: 20px; font-weight: 700; text-align: center; transition: 0.3s; font-size: 1.1rem; margin-top: 20px; }
.btn-apple-style:hover { background: #F26E22; transform: scale(1.05); }

/* --- RESPONSIVE PARA MÓVILES --- */
@media (max-width: 900px) { 
    .grid-sourcing { grid-template-columns: 1fr; } 
    .title-v3 { font-size: 2.2rem; }
    .product-float { height: 300px; }
    .img-1-big { width: 250px; }
    .img-2-big { width: 250px; }
    .card-info { padding: 30px 20px; }
}
/* COPIA ESTO AL FINAL DE STYLE.CSS */
.shipping-hero {
    background: #0d0d0f; 
    padding: 100px 5%;
    color: white;
    position: relative;
}

.shipping-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr; /* Ajuste para que el texto tenga más espacio */
    gap: 40px;
    align-items: center;
}

.shipping-title {
    font-size: clamp(2.5rem, 5vw, 4rem); /* Se ajusta solo al tamaño de pantalla */
    font-weight: 900;
    line-height: 1.1;
}

.shipping-title span {
    background: linear-gradient(90deg, #007bff, #ff4b2b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.shipping-cards {
    display: flex;
    gap: 15px;
    margin: 30px 0;
}

.card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: 0.4s ease;
}

.card:hover {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.07);
}

.price { font-size: 2rem; font-weight: 800; color: #fff; }
.price span { font-size: 0.9rem; color: #aaa; font-weight: 300; }

.btn-shipping {
    display: inline-block;
    padding: 18px 45px;
    background: #fff;
    color: #000;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    letter-spacing: 1px;
    transition: 0.3s;
}

.btn-shipping:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.05);
}

/* Decoración Visual */
.shipping-visual {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: radial-gradient(circle, rgba(0,123,255,0.1) 0%, transparent 70%);
    padding: 40px;
    border-radius: 50%;
}

.icon-wrap { font-size: 4rem; margin-bottom: 10px; }

.path-line {
    flex-grow: 1;
    height: 2px;
    background: dashed 2px rgba(255,255,255,0.2);
    position: relative;
    margin: 0 20px;
}

.plane-icon {
    position: absolute;
    top: -15px;
    animation: travel 4s linear infinite;
}

@keyframes travel {
    0% { left: 0%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

@media (max-width: 992px) {
    .shipping-container { grid-template-columns: 1fr; text-align: center; }
    .shipping-cards { flex-direction: column; }
    .shipping-visual { margin-top: 50px; }
}
.shipping-hero {
    /* Degradado de Negro a Gris Logitech Dark */
    background: linear-gradient(to bottom, #000000 0%, var(--logitech-dark) 100%);
    padding: 100px 5%;
    color: white;
    position: relative;
}
.catalogo-preview {
    padding: 80px 20px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center; /* CENTRA EL CONTENIDO */
    text-align: center;
}

.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* HACE QUE SEA RESPONSIVE */
    gap: 30px;
    max-width: 1200px; /* ANCHO MÁXIMO CENTRADO */
    width: 100%;
    margin: 40px auto;
}
/* --- FORZADO DE 3 COLUMNAS (ESCRITORIO) --- */

.productos-grid, #contenedorCatalogo, #contenedorCatalogoCompleto {
    display: grid !important;
    /* Forzamos 3 columnas exactas en pantallas grandes */
    grid-template-columns: repeat(3, 1fr) !important; 
    gap: 15px !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 30px auto !important;
    padding: 0 10px !important;
}

.producto-card {
    width: 100% !important;
    min-width: 0 !important; /* Evita que se desborde */
    background: #fff;
    border-radius: 12px !important;
    border: 1px solid #eee;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card-img {
    width: 100% !important;
    height: 160px !important; 
    object-fit: contain !important; /* Muestra la foto completa sin cortes */
    background-color: #f9f9f9; /* Fondo gris suave para los huecos */
}

/* --- AJUSTE PARA TABLETS (2 COLUMNAS) --- */
@media (max-width: 992px) {
    .productos-grid, #contenedorCatalogo, #contenedorCatalogoCompleto {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* --- AJUSTE PARA CELULARES (1 COLUMNA) --- */
@media (max-width: 600px) {
    .productos-grid, #contenedorCatalogo, #contenedorCatalogoCompleto {
        grid-template-columns: 1fr !important;
        width: 90% !important;
    }
    
    .card-img {
        height: 180px !important; /* En móvil la imagen puede ser un poco más alta */
    }
}