:root {
    --azul-oscuro: #004C8F;
    --azul-medio: #5B9BD5;
    --cian: #00B0F0;
    --gris-oscuro: #333333;
    --gris-claro: #F8F9FA;
    --blanco: #FFFFFF;
    --fuente: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--fuente); color: var(--gris-oscuro); line-height: 1.6; background: var(--blanco); }
a { text-decoration: none; color: inherit; }

/* UTILIDADES */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.bg-light { background-color: var(--gris-claro); }
.btn { display: inline-block; padding: 12px 28px; border-radius: 8px; font-weight: 600; transition: all 0.3s ease; cursor: pointer; border: none; font-size: 16px; text-align: center;}
.btn-cyan { background-color: var(--cian); color: var(--blanco); }
.btn-cyan:hover { background-color: #0096cc; transform: translateY(-2px); }
.btn-outline { background: transparent; border: 2px solid var(--azul-oscuro); color: var(--azul-oscuro); }
.btn-outline:hover { background: var(--azul-oscuro); color: var(--blanco); }
.btn-block { width: 100%; display: block; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 36px; color: var(--azul-oscuro); margin-bottom: 15px; }
.section-header p { font-size: 18px; color: #666; max-width: 600px; margin: 0 auto; }

/* HEADER Y LOGO */
header { background: var(--blanco); box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 1000; padding: 15px 0; }
.header-container { display: flex; justify-content: space-between; align-items: center; }
.logo-img { height: 50px; width: auto; max-width: 250px; display: block; object-fit: contain; }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-weight: 600; color: var(--gris-oscuro); font-size: 15px; }
.nav-links a:hover { color: var(--cian); }
.nav-links .nav-cta { color: var(--blanco); padding: 10px 20px; }
.nav-links .nav-cta:hover { color: var(--blanco); }
.mobile-menu-btn { display: none; font-size: 24px; cursor: pointer; color: var(--azul-oscuro); }

/* HERO */
.hero { padding: 80px 0; overflow: hidden; }
.hero-container { display: flex; align-items: center; gap: 50px; }
.hero-content { flex: 1; }
.eyebrow { color: var(--cian); font-weight: 700; font-size: 14px; letter-spacing: 2px; margin-bottom: 15px; display: block; }
.hero h1 { font-size: 52px; color: var(--azul-oscuro); line-height: 1.1; margin-bottom: 20px; }
.hero p { font-size: 20px; margin-bottom: 30px; color: #555; }
.hero-buttons { display: flex; gap: 15px; }
.hero-visual { flex: 1; display: flex; justify-content: center; }
.mockup-box { width: 100%; max-width: 500px; background: var(--blanco); border-radius: 12px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); overflow: hidden; border: 1px solid #eee; }
.mockup-header { background: #f0f0f0; padding: 10px; display: flex; gap: 6px; }
.mockup-header span { width: 10px; height: 10px; border-radius: 50%; background: #ddd; }
.mockup-header span:nth-child(1) { background: #ff5f56; }
.mockup-header span:nth-child(2) { background: #ffbd2e; }
.mockup-header span:nth-child(3) { background: #27c93f; }
.mockup-body { padding: 30px; }
.mockup-line { height: 12px; background: #eee; border-radius: 6px; margin-bottom: 15px; }
.w-60 { width: 60%; } .w-80 { width: 80%; } .w-40 { width: 40%; }
.mockup-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 25px; }
.mockup-grid div { height: 60px; background: var(--azul-medio); opacity: 0.2; border-radius: 8px; }

/* SERVICIOS Y SOLUCIONES */
.services, .solutions { padding: 80px 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.card { background: var(--blanco); padding: 40px 30px; border-radius: 16px; box-shadow: 0 4px 20px rgba(0,0,0,0.05); transition: transform 0.3s ease; }
.card:hover { transform: translateY(-5px); }
.icon { font-size: 40px; color: var(--azul-medio); margin-bottom: 20px; }
.card h3 { font-size: 22px; color: var(--azul-oscuro); margin-bottom: 15px; }
.card p { color: #555; font-size: 16px; }

/* ESTILOS ESPECÍFICOS PARA LAS TARJETAS DE SOLUCIONES */
.solution-card { 
    display: flex; 
    flex-direction: column; 
    justify-content: space-between;
    border-top: 4px solid var(--cian); 
    padding: 30px;
}
.card-content { flex-grow: 1; }
.tag { display: inline-block; background: #e6f7ff; color: var(--azul-oscuro); padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 700; margin-bottom: 15px; text-transform: uppercase; }
.solution-card h3 { font-size: 20px; margin-bottom: 15px; }
.solution-card p { margin-bottom: 10px; font-size: 15px; }
.benefit-box { margin-top: 15px; }
.benefit { color: var(--azul-oscuro); font-weight: 600; background: #f0faff; padding: 12px; border-radius: 8px; display: block; font-size: 14px; }

/* PROCESO */
.process { padding: 80px 0; }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.step-num { width: 60px; height: 60px; background: var(--azul-medio); color: var(--blanco); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 700; margin: 0 auto 20px; }
.step h3 { font-size: 18px; color: var(--azul-oscuro); margin-bottom: 10px; }
.step p { font-size: 14px; color: #666; }

/* FAQ */
.faq { padding: 80px 0; background: var(--gris-claro); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--blanco); margin-bottom: 15px; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.02); overflow: hidden; }
.faq-question { width: 100%; text-align: left; padding: 20px; background: none; border: none; font-size: 18px; font-weight: 600; color: var(--azul-oscuro); cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-family: var(--fuente); }
.faq-question i { transition: transform 0.3s; }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-answer { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.active .faq-answer { max-height: 200px; padding-bottom: 20px; }

/* CONTACTO */
.contact { padding: 80px 0; background: var(--azul-oscuro); color: var(--blanco); }
.contact-wrapper { display: flex; gap: 50px; align-items: center; }
.contact-info { flex: 1; }
.contact-info h2 { font-size: 40px; margin-bottom: 20px; margin-top: 10px; }
.contact-info p { font-size: 18px; opacity: 0.9; }

/* ESTILOS PARA LA IMAGEN DE CONTACTO */
.contact-image-container {
    margin-bottom: 20px; /* Espacio entre la imagen y el título */
    width: 100%;
    background-color: var(--blanco); /* Fondo blanco para integrar la ilustración */
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: flex !important; /* Forzamos que se muestre en escritorio */
    justify-content: center;
    align-items: center;
}

.contact-img {
    width: 100%;
    max-width: 280px; /* Tamaño controlado */
    height: auto;
    object-fit: contain;
    display: block;
}

.contact-form { flex: 1; background: var(--blanco); padding: 40px; border-radius: 12px; color: var(--gris-oscuro); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 14px; }
.form-group input, .form-group textarea { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 6px; font-family: var(--fuente); font-size: 16px; transition: border 0.3s; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--cian); box-shadow: 0 0 0 3px rgba(0,176,240,0.1); }
.anti-robot { background: #f0faff; padding: 15px; border-radius: 8px; border: 1px dashed var(--azul-medio); }
.form-message { margin-top: 20px; text-align: center; font-weight: 600; }
.form-message.success { color: #27c93f; }
.form-message.error { color: #ff5f56; }

/* FOOTER */
footer { background: #111; color: #999; padding: 30px 0; font-size: 14px; }
.footer-content { display: flex; justify-content: space-between; align-items: center; }
.footer-links a { margin-left: 20px; color: #999; }
.footer-links a:hover { color: var(--blanco); }

/* RESPONSIVE */
@media (max-width: 992px) {
    .hero-container, .contact-wrapper { flex-direction: column; gap: 40px; }
    .hero { padding: 60px 0; text-align: center; }
    .hero-buttons { justify-content: center; }
    .grid-3 { grid-template-columns: 1fr 1fr; }
    .process-steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: var(--blanco); flex-direction: column; padding: 20px; box-shadow: 0 10px 10px rgba(0,0,0,0.05); }
    .nav-links.active { display: flex; }
    .mobile-menu-btn { display: block; }
    
    .logo-img {
        height: 35px;
        max-width: 180px;
    }

    .hero h1 { font-size: 36px; }
    .hero p { font-size: 18px; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; }
    .grid-3 { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: 1fr; }
    .contact-form { padding: 25px; }
    .contact-info h2 { font-size: 32px; }
    
    /* --- AJUSTES MÓVILES --- */
    .hero-visual {
        display: none; /* Oculta el mockup de la ventana en celulares */
    }
    .contact-image-container {
        display: none !important; /* Oculta la imagen del formulario en celulares */
    }
    /* ------------------------------ */

    .footer-content { flex-direction: column; gap: 15px; text-align: center; }
    .footer-links a { margin: 0 10px; }
}