/* Estilos Globales */
:root {
    --color-primary: #0077b6; /* Un azul profesional y tecnológico */
    --color-secondary: #00b4d8; /* Azul más claro, para acentos */
    --color-dark: #1e1e2d;
    --color-light: #ffffff;
    --font-family: 'Roboto', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--color-dark);
    background-color: #f8f9fa;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Botones y CTAs */
.btn-primary {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-light);
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: var(--color-secondary);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    padding: 8px 23px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    margin-left: 15px;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-light);
}

/* Header y Navegación */
header {
    background-color: var(--color-dark);
    color: var(--color-light);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--color-secondary);
}

nav a {
    color: var(--color-light);
    text-decoration: none;
    margin: 0 15px;
    font-size: 0.95rem;
}

nav .btn-cta-header {
    background-color: var(--color-secondary);
    color: var(--color-dark);
    padding: 8px 20px;
    border-radius: 5px;
}

/* HERO Section */
.hero {
    background: url('URL_IMAGEN_EXPERIENCIA_SOLIDEZ_0') no-repeat center center/cover; /* Imagen de fondo para solidez */
    color: var(--color-light);
    padding: 100px 0;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7); /* Oscurecer imagen para mejor lectura */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    color: var(--color-secondary);
}

.hero h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

/* Sección de Experiencia/Estadísticas */
.experiencia {
    text-align: center;
    padding: 60px 0;
    background-color: var(--color-primary);
    color: var(--color-light);
}

.experiencia h3 {
    margin-bottom: 40px;
    font-size: 2rem;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    margin-bottom: 40px;
}

.stat-box {
    flex-basis: 30%;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0 15px;
}
.stat-box:last-child {
    border-right: none;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-secondary);
    display: block;
    margin-bottom: 5px;
}

.pv-integral {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    font-style: italic;
}

/* Sección Servicios y Software (Generales) */
.servicios, .software {
    padding: 80px 0;
}

.servicios h2, .software h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 60px;
}

/* Bloques de Servicios */
.service-block {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
    text-align: left;
}

.service-block img {
    width: 50%;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.service-block div {
    width: 50%;
}

.service-block.reverse {
    flex-direction: row-reverse;
}

.service-block h4 {
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.service-block ul {
    list-style: disc;
    margin-left: 20px;
    padding-left: 0;
}

/* Sección de Software (ERP/CRM) */
.software {
    background-color: #eaf1f8;
}

.software-content {
    display: flex;
    gap: 50px;
    align-items: center;
    margin-bottom: 40px;
}

.software-content img {
    width: 60%;
    max-width: 650px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.software-features {
    width: 40%;
}

.software-features h4 {
    font-size: 2rem;
    color: var(--color-dark);
    margin-bottom: 15px;
}

.software-features ul {
    list-style: none;
    margin-top: 20px;
}

.software-features li {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="%230077B6"><path d="M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"/></svg>') no-repeat left center;
    background-size: 20px 20px;
    padding-left: 30px;
    margin-bottom: 10px;
    font-weight: 500;
}


/* Formulario de Contacto */
.contacto {
    background-color: var(--color-dark);
    color: var(--color-light);
    padding: 80px 0;
    text-align: center;
}

.contacto h2 {
    color: var(--color-secondary);
    margin-bottom: 10px;
}

.contacto p {
    margin-bottom: 30px;
}

.contacto form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contacto input[type="text"],
.contacto input[type="email"],
.contacto input[type="tel"],
.contacto select,
.contacto textarea {
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    background-color: #2b2b3f;
    color: var(--color-light);
}

.contacto select option {
    background-color: var(--color-dark);
    color: var(--color-light);
}

.contacto button {
    padding: 15px;
    margin-top: 10px;
}

/* Footer */
footer {
    background-color: #111;
    color: #aaa;
    padding: 20px 0;
    font-size: 0.9rem;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links a {
    color: #aaa;
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--color-secondary);
}

/* Responsive (simplificado) */
@media (max-width: 800px) {
    .hero h1 { font-size: 2rem; }
    .hero h2 { font-size: 1.2rem; }
    
    .stats-grid { flex-direction: column; }
    .stat-box { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.3); padding: 15px; }

    .service-block, .service-block.reverse, .software-content {
        flex-direction: column;
        text-align: center;
    }
    .service-block img, .service-block div, .software-content img, .software-features {
        width: 100%;
        max-width: 100%;
    }
    .service-block ul { text-align: left; }
    .btn-secondary { margin-top: 15px; margin-left: 0; }
    
    footer .container { flex-direction: column; text-align: center; }
    .social-links { margin-top: 10px; }
}