/* --- VARIABLES Y CONFIGURACIÓN --- */
:root {
    --primary: #3399a9;       /* Azul Turquesa Mate */
    --primary-dark: #267a88;  /* Tono más oscuro */
    --text-dark: #2c3e50;
    --text-light: #6c7a89;    /* Texto secundario más suave */
    --bg-light: #f0f4f8;      /* Fondo ligeramente más azulado */
    --white: #ffffff;
    --whatsapp: #25d366;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Roboto', sans-serif; }
body { background-color: var(--bg-light); color: var(--text-dark); line-height: 1.6; display: flex; flex-direction: column; min-height: 100vh; }
a { text-decoration: none; transition: 0.3s; }
ul { list-style: none; }

/* --- ENCABEZADO DIAGONAL (Sin cambios) --- */
header { background: var(--white); height: 90px; box-shadow: 0 2px 15px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 1000; }
.header-container { max-width: 1300px; margin: 0 auto; height: 100%; display: flex; justify-content: space-between; align-items: center; padding-right: 20px; }
.logo-box { position: relative; height: 100%; display: flex; align-items: center; padding: 0 60px 0 20px; background: var(--primary); clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%); }
.logo-box img { height: 70px; width: auto; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2)); }
.nav-menu { display: flex; gap: 30px; }
.nav-menu a { color: var(--text-dark); font-weight: 500; font-size: 1rem; }
.nav-menu a:hover, .nav-menu a.active { color: var(--primary); }
.menu-toggle { display: none; font-size: 1.5rem; cursor: pointer; color: var(--text-dark); }

/* --- HERO SECTION (Index - Sin cambios) --- */
.hero { height: 85vh; background: linear-gradient(rgba(44, 62, 80, 0.75), rgba(44, 62, 80, 0.75)), url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?auto=format&fit=crop&w=1920&q=80'); background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--white); padding: 20px; }
.hero h1 { font-size: 3.5rem; margin-bottom: 20px; line-height: 1.2; text-transform: uppercase; letter-spacing: 1px; }
.hero p { font-size: 1.3rem; margin-bottom: 30px; color: #ddd; max-width: 800px; }

/* --- NUEVA INTRO PARA SERVICIOS --- */
.services-hero {
    /* Fondo técnico sutil con el color de marca */
    background: linear-gradient(135deg, var(--primary) 0%, var(--text-dark) 100%);
    padding: 80px 20px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}
/* Un patrón de fondo sutil para darle textura técnica */
.services-hero::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}
.services-hero-content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }
.services-hero h1 { font-size: 3rem; margin-bottom: 15px; font-weight: 700; }
.services-hero p { font-size: 1.2rem; color: rgba(255,255,255,0.9); }


/* --- GRID DE SERVICIOS MEJORADO --- */
.container { max-width: 1200px; margin: 60px auto; padding: 0 20px; flex: 1; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 35px; }

.card {
    background: var(--white);
    border-radius: 12px; /* Bordes más redondeados */
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05); /* Sombra más suave y profunda */
    transition: all 0.3s ease;
    border: none; /* Quitamos el borde inferior anterior */
    text-align: center; /* Centramos el contenido para el nuevo estilo */
}
.card:hover {
    transform: translateY(-12px); /* Elevación más pronunciada */
    box-shadow: 0 20px 40px rgba(51, 153, 169, 0.2); /* Sombra con color turquesa al pasar el mouse */
}
.card img {
    width: 100%;
    height: 200px; /* Un poco más altas para lucir las ilustraciones */
    object-fit: cover;
    background: #eef2f5; /* Fondo gris claro detrás de la ilustración si no carga */
    border-bottom: 3px solid var(--primary); /* Línea turquesa separadora */
}
.card-content { padding: 25px; }
.card-content h3 { 
    color: var(--text-dark); 
    margin-bottom: 15px; 
    font-size: 1.3rem;
    display: flex; align-items: center; justify-content: center; gap: 10px;
}
.card-content h3 i { color: var(--primary); font-size: 1.4rem; }
.card-content p { color: var(--text-light); font-size: 0.95rem; line-height: 1.7; }

/* --- OTROS (Botones, Footer, etc.) --- */
.btn { display: inline-block; padding: 12px 30px; border-radius: 5px; font-weight: bold; margin: 5px; cursor: pointer; border: none;}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-whatsapp { background: var(--whatsapp); color: var(--white); }
.btn-whatsapp:hover { background: #1ebe57; }
footer { background: var(--text-dark); color: #bdc3c7; text-align: center; padding: 30px; margin-top: auto; }
.footer-socials a { color: var(--white); font-size: 1.5rem; margin: 0 10px; }
.footer-socials a:hover { color: var(--primary); }
/* Clases de otras páginas necesarias para que no se rompan */
.methodology { padding: 80px 20px; background: var(--white); text-align: center; }
.section-title { font-size: 2.5rem; color: var(--primary); margin-bottom: 50px; }
.steps-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; max-width: 1200px; margin: 0 auto; }
.step-item { flex: 1; min-width: 250px; padding: 20px; }
.step-icon { font-size: 3rem; color: var(--primary); margin-bottom: 20px; background: #eafcfd; width: 100px; height: 100px; line-height: 100px; border-radius: 50%; margin: 0 auto 20px; }
.testimonials { padding: 80px 20px; background: var(--bg-light); }
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; max-width: 1300px; margin: 0 auto; }
.testimonial-card { background: var(--white); padding: 30px; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); position: relative; border-left: 5px solid var(--primary); }
.quote-icon { font-size: 2rem; color: #eee; position: absolute; top: 20px; right: 20px; }
.client-name { font-weight: bold; margin-top: 15px; color: var(--primary); }
.service-tag { font-size: 0.85rem; color: #999; text-transform: uppercase; letter-spacing: 1px; margin-top: 5px; display: block;}
.contact-wrapper { display: flex; flex-wrap: wrap; gap: 40px; background: var(--white); padding: 40px; border-radius: 10px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); }
.page-header { background: var(--text-dark); color: var(--white); text-align: center; padding: 60px 20px; }
.form-group { margin-bottom: 15px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 5px; outline: none; }
.form-group input:focus { border-color: var(--primary); }
@media (max-width: 768px) {
    .nav-menu { display: none; flex-direction: column; position: absolute; top: 90px; left: 0; width: 100%; background: var(--white); text-align: center; padding: 20px; box-shadow: 0 5px 10px rgba(0,0,0,0.1); }
    .nav-menu.active { display: flex; }
    .menu-toggle { display: block; }
    .hero h1 { font-size: 2rem; }
    .logo-box { padding-right: 40px; }
}
/* =========================================
   ESTILO MEJORADO: SECCIÓN "PASIÓN POR LA TECNOLOGÍA"
   (Pega esto al final de tu style.css)
   ========================================= */

/* 1. El contenedor principal de la sección */
.action-banner {
    /* Fondo oscuro tecnológico con un degradado sutil */
    background: linear-gradient(135deg, #0a0a12 0%, #131324 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden; /* Para contener los efectos de luz */
    border-top: 1px solid rgba(0, 242, 255, 0.1);
    border-bottom: 1px solid rgba(0, 242, 255, 0.1);
}

/* Efecto de luz de fondo opcional (un brillo detrás) */
.action-banner::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(0, 242, 255, 0.05) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

/* 2. El título "Pasión por la Tecnología..." */
.action-banner h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 2px;
    /* Gradiente de texto (efecto cromado/neón) */
    background: linear-gradient(to right, #ffffff, #00f2ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    /* Sombra de neón */
    filter: drop-shadow(0 0 10px rgba(0, 242, 255, 0.3));
}

/* 3. El párrafo descriptivo */
.action-banner p {
    font-size: 1.2rem;
    color: #b3b3cc; /* Gris azulado claro */
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

/* 4. Contenedor para la imagen (el "marco" tecnológico) */
.action-banner section {
    /* Reseteamos el estilo inline que tenías en el HTML */
    background: transparent !important; 
    padding: 0 !important;
    position: relative;
    z-index: 1;
    max-width: 1000px; /* Limitamos el ancho para que se vea elegante */
    margin: 0 auto;
}

/* 5. La imagen misma */
.action-banner img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    /* Borde brillante */
    border: 2px solid rgba(0, 242, 255, 0.3);
    /* Sombra potente para dar profundidad */
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.15), 
                0 20px 40px rgba(0, 0, 0, 0.5);
    
    /* Animación suave al pasar el mouse */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Efecto al pasar el mouse sobre la imagen */
.action-banner img:hover {
    transform: scale(1.02); /* Se agranda un poquito */
    border-color: #00f2ff; /* El borde se pone azul eléctrico */
    box-shadow: 0 0 50px rgba(0, 242, 255, 0.3), 
                0 30px 60px rgba(0, 0, 0, 0.7);
}

/* Ajuste para móviles */
@media (max-width: 768px) {
    .action-banner h2 {
        font-size: 1.8rem;
    }
    .action-banner {
        padding: 50px 15px;
    }
}
/* =========================================
   ESTILOS CONTACTO Y COBERTURA NACIONAL
   ========================================= */

.contact-tech-section {
    background-color: #0a0a12; /* Fondo oscuro */
    padding: 80px 20px;
    color: white;
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    align-items: start;
}

/* --- Estilos Columna Izquierda (Info) --- */
.tech-title {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(0, 242, 255, 0.5);
}

.tech-desc {
    color: #b3b3cc;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.info-items .item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.glow-icon {
    font-size: 1.5rem;
    color: #00f2ff; /* Azul neón */
    margin-right: 20px;
    background: rgba(0, 242, 255, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.2);
}

.info-items h4 {
    color: #fff;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.info-items p {
    color: #b3b3cc;
    font-size: 0.95rem;
}

/* --- Caja de Cobertura Nacional --- */
.coverage-area {
    margin-top: 40px;
    background: linear-gradient(45deg, rgba(189, 0, 255, 0.1), rgba(0, 242, 255, 0.1));
    border: 1px solid rgba(0, 242, 255, 0.3);
    padding: 25px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.coverage-icon {
    font-size: 2.5rem;
    color: #bd00ff; /* Morado neón */
    filter: drop-shadow(0 0 5px rgba(189, 0, 255, 0.5));
}

.coverage-text h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 5px;
    text-transform: uppercase;
}

/* --- Estilos Columna Derecha (Formulario) --- */
.contact-form-box {
    background: #131324;
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    color: #00f2ff;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 600;
}

.tech-form input,
.tech-form select,
.tech-form textarea {
    width: 100%;
    padding: 12px;
    background: #0a0a12;
    border: 1px solid #333;
    color: white;
    border-radius: 5px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.tech-form input:focus,
.tech-form select:focus,
.tech-form textarea:focus {
    outline: none;
    border-color: #00f2ff;
    box-shadow: 0 0 10px rgba(0, 242, 255, 0.2);
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: linear-gradient(to right, #00f2ff, #00c3ff);
    border: none;
    color: #000;
    font-weight: bold;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.6);
}

/* Responsivo para móviles */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr; /* Una sola columna */
    }
    .contact-form-box {
        padding: 25px;
    }
}