:root {
    /* --- Paleta de Colores Corporativa --- */
    --primary-blue: #0A66C2;      /* Azul principal: Confianza y tecnología */
    --deep-blue: #002B5C;         /* Azul oscuro: Seriedad y contraste */
    --accent-teal: #00C897;       /* Verde/Turquesa: Toque orgánico/fresco */
    --accent-cyan: #00D2FF;       /* Cyan: Brillo y pureza */
    
    /* --- Fondos y Textos --- */
    --bg-body: #F8FAFC;           /* Gris muy claro, mejor que blanco puro */
    --bg-white: #FFFFFF;
    --text-main: #334155;         /* Gris oscuro suave para lectura */
    --text-light: #F1F5F9;
    
    /* --- Efectos (Sombras y Cristal) --- */
    --shadow-soft: 0 4px 20px rgba(0, 43, 92, 0.08);
    --shadow-hover: 0 15px 30px rgba(10, 102, 194, 0.15);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: 1px solid rgba(255, 255, 255, 0.6);
    
    /* --- Tipografía --- */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* Reseteo y Base */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 { font-family: var(--font-heading); color: var(--deep-blue); font-weight: 700; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* --- Navegación (Efecto Cristal) --- */
.navbar {
    position: fixed;
    top: 0; left: 0; width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    padding: 1rem 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--deep-blue);
    letter-spacing: -0.5px;
}
.text-accent { color: var(--accent-teal); }

.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { font-weight: 500; font-size: 0.95rem; color: var(--deep-blue); }
.nav-links a:hover { color: var(--primary-blue); }

/* --- Botones Modernos --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px; /* Bordes redondos modernos */
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), #004e9a);
    color: white;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 15px rgba(10, 102, 194, 0.3); }

.btn-secondary {
    background: white;
    color: var(--primary-blue);
    border: 2px solid transparent; /* Truco para evitar salto de tamaño */
}
.btn-secondary:hover { background: #f0f7ff; color: var(--deep-blue); }

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}
.btn-outline:hover { background: white; color: var(--deep-blue); }

.btn-block { display: block; width: 100%; border-radius: 12px; }

/* Botón MercadoLibre Específico */
.btn-ml {
    background: #ffe600;
    color: #2d3277;
    font-weight: 700;
}
.btn-ml:hover { background: #fff059; transform: translateY(-3px); }

/* --- Hero Section (Portada) --- */
.hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: white;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
}

/* Gradiente superpuesto para legibilidad */
.hero-bg::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(0, 43, 92, 0.85) 0%, rgba(10, 102, 194, 0.5) 100%);
}

.hero-content { position: relative; z-index: 1; max-width: 700px; }

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: white;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    font-weight: 300;
}

.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* --- Secciones Generales --- */
section { padding: 5rem 0; }
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--deep-blue);
}
.section-subtitle {
    text-align: center;
    color: #64748b;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto; margin-right: auto;
}

/* --- Cards de Usos (Glassmorphism Light) --- */
.uses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.use-card {
    background: var(--bg-white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    text-align: center;
    transition: 0.4s ease;
}

.use-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-blue);
}

.use-icon {
    font-size: 3rem;
    color: var(--primary-blue);
    background: #e0f2fe;
    width: 80px; height: 80px;
    line-height: 80px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex; /* Centrar ícono SVG */
    align-items: center;
    justify-content: center;
}

.use-card h3 { font-size: 1.25rem; margin-bottom: 1rem; }
.use-card p { font-size: 0.95rem; color: #64748b; }

/* --- Productos --- */
.products-section { background-color: #f1f5f9; }
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }

.badge {
    position: absolute; top: 1rem; right: 1rem;
    background: var(--accent-teal); color: white;
    padding: 5px 12px; border-radius: 20px;
    font-size: 0.75rem; font-weight: 700; z-index: 2;
}

.product-image {
    padding: 2rem;
    background: #ffffff;
    height: 250px;
    display: flex; align-items: center; justify-content: center;
}

.product-image img { max-height: 100%; transition: 0.3s; }
.product-card:hover .product-image img { transform: scale(1.08); }

.product-info { padding: 1.5rem; flex-grow: 1; display: flex; flex-direction: column; }
.product-info h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }

.specs { margin: 1rem 0 1.5rem; flex-grow: 1; }
.specs li {
    font-size: 0.9rem; color: #64748b;
    border-bottom: 1px dashed #e2e8f0;
    padding: 5px 0;
    display: flex; justify-content: space-between;
}
.specs span { font-weight: 600; color: var(--deep-blue); }

/* --- Proceso (Steps) --- */
.process-section { background: white; }
.process-steps {
    display: flex; flex-wrap: wrap; justify-content: space-between;
    margin-top: 3rem; gap: 2rem; position: relative;
}

.step { flex: 1; min-width: 200px; text-align: center; position: relative; z-index: 2; }
.step-number {
    width: 50px; height: 50px;
    background: var(--deep-blue); color: white;
    border-radius: 50%;
    font-size: 1.2rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 0 0 8px rgba(226, 232, 240, 0.5);
}

/* Línea conectora Desktop */
.step-connector { display: none; } /* Oculto por defecto */
@media (min-width: 992px) {
    .step-connector {
        display: block; flex-grow: 1; height: 2px;
        background: #e2e8f0; margin-top: 25px;
    }
}

/* --- Testimonios --- */
.testimonials-section { background-color: var(--deep-blue); color: white; }
.testimonials-section .section-title { color: white; }
.testimonials-section .section-subtitle { color: rgba(255,255,255,0.7); }

.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.testimonial-card {
    background: rgba(255, 255, 255, 0.1); /* Glass dark */
    backdrop-filter: blur(5px);
    padding: 2rem; border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.1);
}
.quote { font-style: italic; opacity: 0.9; margin-bottom: 1.5rem; }
.author { display: flex; align-items: center; gap: 1rem; }
.avatar {
    width: 45px; height: 45px;
    background: var(--accent-teal); color: white;
    border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold;
}
.author-info h5 { color: white; margin: 0; }
.author-info span { font-size: 0.8rem; color: rgba(255,255,255,0.6); }

/* --- Footer --- */
footer { 
    background: #021a38; 
    color: #94a3b8; 
    padding: 4rem 0 0; 
}

.footer-content {
    display: flex;
    justify-content: space-between; /* Distribuye el espacio entre columnas */
    flex-wrap: wrap; /* Permite que las columnas se apilen en móviles */
    gap: 2rem; /* Espacio entre columnas */
}

/* Define el ancho de las columnas */
.footer-col:nth-child(1) {
    /* Columna del logo: toma un poco más de espacio */
    flex: 1 1 300px; 
}

.footer-col:nth-child(2) {
    /* Navegación: Queda a la izquierda del contacto */
    flex: 1 1 200px;
    order: 2; /* Orden de aparición en la fila */
}

/* --- Modificaciones en el Footer (¡Solo 2 columnas!) --- */

.footer-content {
    display: flex;
    justify-content: flex-start; /* Empezamos desde la izquierda */
    flex-wrap: wrap; 
    gap: 3rem; /* Aumentamos el espacio entre las dos columnas restantes */
    padding-bottom: 2rem;
}

/* Columna 1: Logo/Descripción (Queda a la Izquierda) */
.footer-col:nth-child(1) {
    flex: 1 1 300px; 
    max-width: 40%; /* Limita su ancho para que no ocupe todo */
}

/* Columna 2: Contacto Directo (La única columna restante, la alineamos a la derecha) */
.footer-col:nth-child(2) {
    flex: 1 1 250px;
    margin-left: auto; /* ¡Esto la empuja al borde derecho! */
    text-align: right; /* Alinea el texto dentro de la columna a la derecha */
}


/* Reglas para la lista de contacto con iconos */
.contact-info {
    padding-left: 0; 
}
.contact-info li {
    display: flex;
    justify-content: flex-end; /* Alinea el icono y el texto a la derecha */
    align-items: center;
    gap: 5px;
}
.contact-info i {
    order: 2; /* Mueve el ícono a la derecha del texto */
    margin-left: 5px; 
}

/* Adaptación a Móviles (Vuelve a ser centrado en pantallas pequeñas) */
@media (max-width: 768px) {
    .footer-col:nth-child(1),
    .footer-col:nth-child(2) {
        max-width: 100%;
        margin-left: 0; /* Desactiva el auto-margin */
        text-align: center; /* Centra el contenido */
    }
    .contact-info li {
        justify-content: center; /* Centra los ítems de contacto en móvil */
    }
    .contact-info i {
        order: 1; /* Vuelve a poner el icono a la izquierda del texto en móvil */
        margin-left: 0;
        margin-right: 5px;
    }
}

/* Resto de estilos del footer (ya lo tenías) */
.footer-col h3 { color: white; margin-bottom: 1.2rem; }
.footer-col h4 { color: var(--accent-cyan); margin-bottom: 1.2rem; font-size: 1.1rem; }
.footer-col ul li { margin-bottom: 0.8rem; }
.footer-col a:hover { color: white; padding-left: 5px; }

.footer-bottom {
    background: #011226; padding: 1.5rem 0; margin-top: 3rem;
    text-align: center; font-size: 0.9rem;
}

/* Adaptación a Móviles (Para que se apilen correctamente) */
@media (max-width: 768px) {
    .footer-col {
        order: initial !important; /* Resetea el orden para que se apilen */
        flex: 1 1 100%; /* Ocupa todo el ancho */
        text-align: center;
    }
    .footer-col ul {
        padding-left: 0;
        text-align: center;
    }
    .contact-info li {
        justify-content: center;
    }
}

/* --- WhatsApp Flotante --- */
.whatsapp-float {
    position: fixed; bottom: 30px; right: 30px;
    background-color: #25d366; color: white;
    width: 60px; height: 60px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 2000;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 14px rgba(0,0,0,0.4); }

/* --- Modal --- */
.modal {
    display: none; position: fixed; z-index: 3000;
    left: 0; top: 0; width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    align-items: center; justify-content: center;
}
.modal.show { display: flex; }
.modal-content {
    background: white; padding: 2.5rem; border-radius: 20px;
    width: 90%; max-width: 500px; position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}
.close-modal {
    position: absolute; top: 15px; right: 20px;
    font-size: 28px; cursor: pointer; color: #94a3b8;
}
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; font-size: 0.9rem; }
.form-group input, .form-group textarea {
    width: 100%; padding: 12px;
    border: 1px solid #cbd5e1; border-radius: 8px;
    margin-bottom: 1.2rem; font-family: inherit;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none; border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(10, 102, 194, 0.1);
}

/* --- Mobile Menu --- */
.mobile-toggle { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.mobile-toggle span { width: 28px; height: 3px; background: var(--deep-blue); border-radius: 2px; transition: 0.3s; }

@media (max-width: 768px) {
    .nav-links {
        position: fixed; top: 0; right: -100%;
        width: 80%; height: 100vh; background: white;
        flex-direction: column; justify-content: center;
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
        transition: 0.3s ease;
    }
    .nav-links.active { right: 0; }
    .mobile-toggle { display: flex; z-index: 1001; }
    .mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
    .mobile-toggle.active span:nth-child(2) { opacity: 0; }
    .mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }
    
    .hero h1 { font-size: 2.5rem; }
    .step-connector { display: none; }
}

/* --- Estilos del Nuevo Logo --- */
.logo-container {
    display: flex;
    align-items: center;
    gap: 12px; /* Espacio entre icono y texto */
    text-decoration: none;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--deep-blue);
    letter-spacing: -0.5px;
    line-height: 1;
    display: flex;
    flex-direction: column; /* Opción: poner Orgánico abajo si prefieres, o quita esta línea para que esté al lado */
}

/* Ajuste para móvil: icono un poco más chico */
@media (max-width: 768px) {
    .logo-container svg {
        width: 32px;
        height: 32px;
    }
    .logo-text {
        font-size: 1.2rem;
    }
}
