/* PALETA DE COLORES EXCLUSIVA: DOMINIO OPERACIONGLOBAL.LAT */
:root {
    --primary-color: #0f172a; /* Azul Pizarra Oscuro (Fachada Seria) */
    --accent-color: #2563eb;  /* Azul Eléctrico Corp */
    --text-color: #334155;    /* Gris Carbón para textos largos */
    --bg-light: #f8fafc;      /* Fondo Claro Limpio */
    --bg-white: #ffffff;
    --warning-border: #d97706; /* Ámbar para resaltar el Disclaimer */
    --warning-bg: #fffbeb;
    --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-stack);
    color: var(--text-color);
    background-color: var(--bg-white);
    line-height: 1.7;
    font-size: 16px;
}

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

/* HEADER Y NAVEGACIÓN */
.main-header {
    background-color: var(--primary-color);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--accent-color);
}

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

.logo {
    color: var(--bg-white);
    font-size: 22px;
    letter-spacing: 1px;
}

.logo-bold {
    font-weight: 800;
    color: var(--accent-color);
}

.main-nav a {
    color: #cbd5e1;
    text-decoration: none;
    margin-left: 20px;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--bg-white);
}

/* HERO SECTION */
.hero-section {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: var(--bg-white);
    padding: 80px 0;
}

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

.hero-content h1 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-content p {
    font-size: 18px;
    color: #94a3b8;
    margin-bottom: 30px;
}

.hero-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.3);
    object-fit: cover;
    height: 350px;
}

.btn-primary {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--bg-white);
    padding: 14px 28px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 700;
    transition: transform 0.2s, background-color 0.2s;
}

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

/* GOV DISCLAIMER CRÍTICO */
.gov-disclaimer {
    margin: 40px 0;
    background-color: var(--warning-bg);
    border-left: 5px solid var(--warning-border);
    padding: 24px;
    border-radius: 4px;
}

.gov-disclaimer p {
    font-size: 14px;
    color: #78350f;
    line-height: 1.6;
}

/* SERVICIOS */
.services-section {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.section-title {
    font-size: 32px;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card h3 {
    font-size: 20px;
    color: var(--primary-color);
    padding: 20px 20px 10px 20px;
}

.service-card p {
    padding: 0 20px 20px 20px;
    font-size: 15px;
    color: #64748b;
}

/* SECCIÓN DE ALTA DENSIDAD INFORMATIVA (PASAPORTE) */
.density-section {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.section-subtitle {
    text-align: center;
    max-width: 800px;
    margin: -30px auto 50px auto;
    color: #64748b;
    font-size: 16px;
}

.density-content {
    max-width: 900px;
    margin: 0 auto;
}

.density-block {
    margin-bottom: 45px;
}

.density-block h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 8px;
}

.density-block p {
    margin-bottom: 15px;
    text-align: justify;
}

.requirements-list {
    margin: 20px 0;
    padding-left: 20px;
}

.requirements-list li {
    margin-bottom: 12px;
    list-style-type: square;
}

/* TABLA DE INFRAESTRUCTURA GEOGRÁFICA */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 15px;
}

.data-table th, .data-table td {
    border: 1px solid #cbd5e1;
    padding: 14px;
    text-align: left;
}

.data-table th {
    background-color: #f1f5f9;
    color: var(--primary-color);
    font-weight: 700;
}

.data-table tr:nth-child(even) {
    background-color: var(--bg-light);
}

/* FORMULARIO DE CONTACTO */
.contact-section {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.contact-box {
    max-width: 650px;
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
    margin: 0 auto;
}

.contact-box h2 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 26px;
}

.contact-box p {
    color: #64748b;
    margin-bottom: 25px;
    font-size: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-family: var(--font-stack);
    font-size: 15px;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.btn-submit {
    width: 100%;
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 14px;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.2s;
}

.btn-submit:hover {
    background-color: var(--accent-color);
}

/* FOOTER */
.main-footer {
    background-color: var(--primary-color);
    color: #94a3b8;
    padding: 60px 0 20px 0;
    font-size: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #334155;
}

.footer-grid h4 {
    color: var(--bg-white);
    margin-bottom: 15px;
    font-size: 16px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--bg-white);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    font-size: 12px;
    color: #64748b;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .hero-image {
        display: none;
    }
    .header-flex {
        flex-direction: column;
        gap: 15px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}