/* --- Variables de Diseño y Colores basados en el Logo de SOIREDES --- */
:root {
    --primary-color: #11223f;    /* Azul marino oscuro de las letras del logo */
    --accent-color: #537bb2;     /* Azul medio/grisáceo de la red geométrica */
    --purple-accent: #9b59b6;    
    --teal-accent: #16a085;      
    --text-color: #333333;       
    --light-bg: #f8f9fa;         
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --whatsapp-color: #25d366;   
}

/* --- Reseteo de Caja Estándar --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: #ffffff;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- MAQUETACIÓN DEL HEADER Y MENÚS --- */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

.info-bar {
    background-color: var(--light-bg);
    border-bottom: 1px solid #e2e8f0;
    padding: 8px 0;
    font-size: 0.85rem;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-item a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
}

.info-item a:hover {
    color: var(--accent-color);
}

.mini-icon {
    height: 24px; 
    width: auto;
    object-fit: contain;
    margin-right: 6px; 
}

.navbar {
    background-color: #ffffff;
    padding: 10px 0;
    border-bottom: 1px solid #edf2f7;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.main-logo {
    height: 75px; 
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 16px;
}

.nav-links a {
    text-decoration: none;
    color: #4a5568;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.88rem;
    transition: color 0.2s ease;
}

.nav-links a:hover, .active-link {
    color: var(--accent-color) !important;
}

.nav-links .nav-btn {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.nav-links .nav-btn:hover {
    background-color: var(--accent-color);
    color: #ffffff;
}

/* --- SECCIÓN HERO --- */
.hero-section {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 0;
    background: linear-gradient(135deg, #ffffff 0%, #edf2f7 100%);
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.subtitle {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.divider {
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
    border: none;
    margin: 20px auto;
}

.description {
    max-width: 600px;
    margin: 0 auto 30px auto;
    font-size: 1.1rem;
    color: #555;
}

/* --- ENLACES Y BOTONES --- */
.cta-group {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
}

/* --- GRID GENERALES --- */
.infra-section {
    padding: 80px 0 40px 0;
    background-color: #ffffff;
}

.infra-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.badge {
    display: inline-block;
    background-color: #e1f5fe;
    color: var(--accent-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.infra-text-block h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.3;
}

.infra-text-block p { margin-bottom: 15px; color: #555; font-size: 1.05rem; }
.infra-highlights { display: flex; flex-direction: column; gap: 25px; }

.highlight-item {
    display: flex;
    gap: 20px;
    background-color: var(--light-bg);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

.hl-icon { font-size: 2rem; line-height: 1; }
.highlight-item h4 { font-family: var(--font-heading); color: var(--primary-color); margin-bottom: 5px; font-size: 1.1rem; }
.highlight-item p { font-size: 0.95rem; color: #666; }

/* --- NETWORKING --- */
.networking-section { padding: 40px 0; background-color: #ffffff; }
.networking-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.network-cards-stack { display: flex; flex-direction: column; gap: 20px; }

.concept-card {
    background-color: var(--light-bg);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.highlight-border { border-left: 4px solid var(--purple-accent); }
.card-badge { font-size: 0.75rem; text-transform: uppercase; font-weight: 700; color: #718096; letter-spacing: 1px; display: block; margin-bottom: 8px; }
.concept-card h3 { font-family: var(--font-heading); color: var(--primary-color); margin-bottom: 10px; font-size: 1.3rem; }
.concept-card p { color: #666; font-size: 0.95rem; }

/* --- PORTAFOLIO PÁGINAS INTERNAS --- */
.page-title-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e3c72 100%);
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
}

.page-title-section h1 { font-family: var(--font-heading); font-size: 2.8rem; margin-bottom: 15px; }
.page-title-section p { font-size: 1.2rem; max-width: 700px; margin: 0 auto; color: #cbd5e0; }
.security-portfolio-section { padding: 80px 0; background-color: var(--light-bg); }
.security-portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }

.portfolio-card {
    background-color: #ffffff;
    padding: 40px 30px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.portfolio-card:hover { transform: translateY(-5px); border-color: var(--accent-color); }
.portfolio-card-icon { font-size: 3rem; margin-bottom: 20px; }
.portfolio-card h3 { font-family: var(--font-heading); color: var(--primary-color); font-size: 1.3rem; margin-bottom: 15px; }
.portfolio-card p { color: #555; font-size: 0.98rem; text-align: justify; }

/* --- ENFOQUE OPERATIVO Y SERVICIOS --- */
.customer-section { padding: 40px 0 80px 0; background-color: #ffffff; }
.customer-title-block { text-align: center; margin-bottom: 40px; }
.customer-title-block h2 { font-family: var(--font-heading); font-size: 2.2rem; color: var(--primary-color); }
.customer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }

.customer-card {
    background: #ffffff;
    padding: 35px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    transition: transform 0.3s ease;
}

.customer-card:hover { transform: translateY(-3px); border-color: var(--teal-accent); }
.customer-card-header { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; }
.cust-icon { font-size: 2rem; }
.customer-card h3 { font-family: var(--font-heading); color: var(--primary-color); font-size: 1.4rem; }
.customer-card p { color: #555; font-size: 1rem; text-align: justify; }

.services-section { padding: 80px 0; background-color: var(--light-bg); }
.section-title { text-align: center; font-family: var(--font-heading); font-size: 2.2rem; color: var(--primary-color); margin-bottom: 40px; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }

.service-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0;
}

.service-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.service-icon { font-size: 2.5rem; margin-bottom: 15px; }
.service-card h3 { font-family: var(--font-heading); margin-bottom: 12px; color: var(--primary-color); }
.service-card p { font-size: 0.95rem; color: #666; }

/* --- BOTONES DE CONTACTO --- */
.contact-section { padding: 80px 0; background-color: var(--primary-color); color: #ffffff; text-align: center; }
.contact-section .section-title { color: #ffffff; }
.contact-content p { font-size: 1.1rem; margin-bottom: 30px; color: #cbd5e0; }
.contact-buttons { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }

.btn-contact {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-decoration: none;
    color: #ffffff;
    border-radius: 50px;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}