:root {
    /* NUEVA PALETA DE COLORES (Azules, Grises, Negros, Blancos) */
    --primary-dark: #0a192f;   /* Azul casi negro (muy elegante) */
    --primary-blue: #0056b3;   /* Azul corporativo intenso (Accent principal) */
    --accent-hover: #004494;   /* Azul más oscuro para hovers */
    
    --grey-dark: #1e293b;      /* Gris oscuro para fondos de secciones */
    --grey-medium: #64748b;    /* Gris para textos secundarios */
    --grey-light: #f1f5f9;     /* Gris muy claro para fondos */
    --white: #ffffff;
    
    /* Tipografía más técnica */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Sombras más sutiles */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-lg: 0 15px 30px rgba(0,0,0,0.1);
    --radius: 8px;
}

/* RESET & BASICS */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--grey-dark); background-color: var(--white); line-height: 1.6; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--primary-dark); font-weight: 700; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 80px 0; }

/* UTILIDADES DE COLOR */
.bg-blue-dark { background-color: var(--primary-dark); }
.bg-grey-dark { background-color: var(--grey-dark); }
.bg-light-grey { background-color: var(--grey-light); }
.text-white { color: var(--white); }
.text-light { color: var(--grey-light); }
.accent-text { color: var(--primary-blue); }

/* BOTONES */
.btn { display: inline-block; padding: 12px 28px; border-radius: 4px; font-weight: 600; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.5px; cursor: pointer; border: none; transition: all 0.3s ease; }
.btn-primary { background: var(--primary-blue); color: var(--white); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0, 86, 179, 0.3); }
.btn-glass { background: rgba(255,255,255,0.1); backdrop-filter: blur(5px); border: 1px solid rgba(255,255,255,0.3); color: var(--white); margin-left: 10px; }
.btn-glass:hover { background: var(--white); color: var(--primary-dark); }
.btn-block { display: block; width: 100%; }

/* HEADER & LOGO */
header { position: fixed; top: 0; width: 100%; z-index: 1000; background: rgba(255, 255, 255, 0.98); box-shadow: var(--shadow-sm); padding: 15px 0; }
.nav-wrapper { display: flex; justify-content: space-between; align-items: center; }

.brand {
    display: flex;
    align-items: center;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.55rem; /* antes 1.3rem aprox +20% */
    color: var(--primary-dark);
}

.brand-logo i {
    color: var(--primary-blue);
}

.brand-logo small {
    color: var(--grey-medium);
    font-weight: 500;
}

/* Imagen de logo auto-ajustable */
.logo-img {
    max-height: 80px;      /* antes 42px aprox +20% */
    width: auto;
    display: block;
    object-fit: contain;
}

/* Si solo quieres mostrar imagen, se puede ocultar el texto fácilmente */
/* .logo-text { display: none; } */

.nav-links a { margin-left: 25px; font-weight: 600; color: var(--grey-dark); font-size: 0.9rem; text-transform: uppercase; }
.nav-links a:hover, .nav-links a.active { color: var(--primary-blue); }
.nav-links .btn-cta { background: var(--primary-blue); color: var(--white) !important; padding: 5px 10px; border-radius: 4px; }
.mobile-menu-btn { display: none; border: none; background: none; font-size: 1.5rem; color: var(--primary-dark); }

/* HERO SECTION (Tonos fríos) */
.hero { height: 90vh; min-height: 600px; position: relative; display: flex; align-items: center; color: var(--white); }
.hero-bg-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to right, rgba(10, 25, 47, 0.95), rgba(10, 25, 47, 0.7)); z-index: 2; }
.hero-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.hero-content { position: relative; z-index: 3; max-width: 700px; }
.hero h1 { font-size: 3.5rem; color: var(--white); margin: 20px 0; line-height: 1.1; }
.hero p { font-size: 1.2rem; color: rgba(255,255,255,0.8); margin-bottom: 30px; }
.badge-pill { background: var(--primary-blue); color: var(--white); padding: 5px 12px; border-radius: 4px; font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; }

/* TRUST BAR */
.trust-bar { background: var(--white); padding: 25px 0; position: relative; z-index: 4; margin-top: -40px; border-radius: var(--radius); max-width: 1000px; margin-left: auto; margin-right: auto; box-shadow: var(--shadow-lg); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.trust-item { display: flex; align-items: center; gap: 15px; padding: 0 20px; border-right: 1px solid var(--grey-light); }
.trust-item:last-child { border-right: none; }
.trust-item i { font-size: 1.8rem; color: var(--primary-blue); }
.trust-item strong { display: block; color: var(--primary-dark); font-size: 1rem; }
.trust-item span { font-size: 0.85rem; color: var(--grey-medium); }

/* SERVICIOS (Colores actualizados) */
.sub-title { color: var(--primary-blue); text-transform: uppercase; letter-spacing: 2px; font-size: 0.85rem; font-weight: 700; margin-bottom: 10px; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 15px; }
.section-header p { color: var(--grey-medium); max-width: 600px; margin: 0 auto; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; margin-top: 50px; }
.card { background: var(--white); padding: 35px; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--grey-light); transition: 0.3s; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--primary-blue); }
.card-icon { width: 55px; height: 55px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 20px; }

/* Nuevos colores de iconos */
.card-icon.blue-dark { background: var(--primary-dark); color: var(--white); }
.card-icon.blue-accent { background: var(--primary-blue); color: var(--white); }
.card-icon.grey { background: var(--grey-light); color: var(--primary-dark); }

.card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.card p { color: var(--grey-medium); font-size: 0.9rem; }

/* SECCIÓN EMPRESA */
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.bg-grey-dark h2 { 
    color: var(--white); 
    font-size: 2.6rem;  /* antes 2.2rem aprox +20% */
    margin-bottom: 20px; 
}
.bg-grey-dark p { color: rgba(255,255,255,0.7); margin-bottom: 20px; }
.check-list { list-style: none; margin-top: 30px; }
.check-list li { margin-bottom: 12px; color: var(--white); display: flex; align-items: center; gap: 10px; }
.check-list i { color: var(--primary-blue); }
.rounded-img { border-radius: var(--radius); }
.grayscale-img { filter: grayscale(100%); transition: 0.5s; } /* Efecto blanco y negro elegante */
.grayscale-img:hover { filter: grayscale(0%); }

/* CONTACTO (ESTILOS BASE - EL ARREGLO MÓVIL ESTÁ AL FINAL) */
.contact-container { display: flex; border-radius: var(--radius); overflow: hidden; }
.contact-info-box { width: 35%; padding: 50px; }
.contact-info-box h3 { color: var(--white); margin-bottom: 25px; }
.info-row { display: flex; gap: 15px; margin-bottom: 25px; }
.info-row .icon { font-size: 1.2rem; color: var(--primary-blue); }
.info-row .data a, .info-row .data span { color: rgba(255,255,255,0.8); font-size: 0.95rem; }

.contact-form-box { width: 65%; padding: 50px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.modern-input { width: 100%; padding: 12px 15px; margin-top: 5px; background: var(--grey-light); border: 1px solid #e2e8f0; border-radius: 4px; font-family: inherit; transition: 0.3s; }
.modern-input:focus { outline: none; border-color: var(--primary-blue); background: var(--white); }
.form-group { margin-bottom: 20px; }
.form-group label { font-size: 0.9rem; font-weight: 600; color: var(--primary-dark); }
.form-check { display: flex; gap: 10px; align-items: center; margin-bottom: 25px; font-size: 0.85rem; color: var(--grey-medium); }

/* FOOTER & UTILIDADES */
.main-footer { padding: 50px 0; color: rgba(255,255,255,0.5); font-size: 0.9rem; }
.bg-darker { background-color: #050b14; }
.footer-grid { display: flex; justify-content: space-between; align-items: enter; }
.logo-placeholder-footer { color: var(--white); display: flex; align-items: center; gap: 10px; }

.logo-footer-img {
    max-height: 80px;
    width: auto;
    object-fit: contain;
}

/* HORARIO EN FOOTER */
.footer-hours {
    margin-top: 10px;
    color: rgba(255,255,255,0.75);
    font-size: 0.85rem;
    line-height: 1.4;
}

.footer-hours strong {
    color: var(--white);
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
}


.whatsapp-btn { position: fixed; bottom: 25px; right: 25px; width: 55px; height: 55px; background: #25d366; color: white; border-radius: 50%; font-size: 28px; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(0,0,0,0.2); z-index: 999; transition: 0.3s; }
.whatsapp-btn:hover { transform: scale(1.1); }

.cookie-box { position: fixed; bottom: -100%; left: 20px; max-width: 300px; background: var(--primary-dark); color: var(--white); padding: 15px; border-radius: var(--radius); box-shadow: var(--shadow-lg); z-index: 9999; transition: 0.5s; font-size: 0.85rem; }
.cookie-box.show { bottom: 20px; }
.btn-small.primary { background: var(--primary-blue); color: white; padding: 6px 12px; border-radius: 4px; border: none; cursor: pointer; margin-top: 10px; }

/* ANIMACIONES BÁSICAS */
.reveal { opacity: 0; transform: translateY(20px); transition: all 0.6s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* DESTACAR TELÉFONO / WHATSAPP */
.info-row.highlight .data a {
    font-size: 1.2rem;   /* antes 1rem aprox +20% */
    font-weight: 600;
}

.info-row.highlight:first-of-type .data a:first-child {
    font-size: 1.45rem;  /* antes 1.2rem aprox +20% */
}

.info-note {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
    margin-top: 4px;
}

/* ==========================================================================
    RESPONSIVE (EL ARREGLO CLAVE PARA MÓVIL)
   ========================================================================== */
@media (max-width: 968px) {
    .hero h1 { font-size: 2.5rem; }
    .trust-grid, .split-layout, .form-row { grid-template-columns: 1fr; }
    .trust-item { border-right: none; border-bottom: 1px solid var(--grey-light); padding: 15px; }
    .nav-links { display: none; } /* Menú móvil simplificado */
    .mobile-menu-btn { display: block; }

    .logo-img {
        max-height: 41px;  /* antes 34px aprox +20% */
    }
    .brand-logo {
        font-size: 1.3rem; /* antes 1.1rem aprox +20% */
    }
    
    /* --- FORMULARIO MÓVIL --- */
    .contact-container {
        flex-direction: column; /* IMPORTANTE: Apila las cajas verticalmente */
    }
    .contact-info-box, .contact-form-box {
        width: 100%; /* Ocupan todo el ancho */
        padding: 30px 20px; /* Reducimos padding en móvil */
    }
    .contact-info-box {
        order: -1; /* Asegura que la info de contacto salga primero arriba */
    }

    .footer-grid { flex-direction: column; gap: 20px; text-align: center; }
    .text-right { text-align: center; }
}

