/* ==========================================================================
   ESTILOS GLOBALES - CITAS-RELACIONESLATAM.LAT
   ========================================================================== */

:root {
    --primary-color: #0b1b3d;      /* Azul Ejecutivo Profundo */
    --secondary-color: #d4af37;    /* Oro Sutil / Contraste Metálico */
    --text-dark: #222222;          /* Texto Principal */
    --text-light: #ffffff;         /* Texto Claro */
    --bg-light: #f8f9fa;           /* Fondo Claro */
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --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-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

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

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

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

.logo a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.logo span {
    color: var(--secondary-color);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav ul li a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    padding-bottom: 5px;
}

nav ul li a:hover, 
nav ul li a.active {
    color: var(--secondary-color);
    border-bottom: 2px solid var(--secondary-color);
}

/* ==========================================================================
   COMPONENTES PRINCIPALES Y HERO
   ========================================================================== */
.hero {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 60px 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.1rem;
    color: #cbd5e1;
    max-width: 800px;
    margin: 0 auto;
}

.main-content {
    flex: 1;
    padding: 40px 0;
}

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

@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
}

/* ==========================================================================
   ELEMENTOS DE REUTILIZACIÓN (IMÁGENES, BOTONES, TABLAS)
   ========================================================================== */
.image-wrapper {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.responsive-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.btn-primary {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 12px 28px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

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

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background: var(--bg-white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.data-table th, .data-table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.data-table th {
    background-color: var(--primary-color);
    color: var(--text-light);
    font-weight: 600;
}

.data-table tr:nth-child(even) {
    background-color: #fdfdfd;
}

/* ==========================================================================
   BLOQUES INFORMATIVOS Y FORMULARIOS
   ========================================================================== */
.info-section {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.info-section h2, .info-section h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.info-section p {
    margin-bottom: 15px;
    color: #4a5568;
}

.info-list {
    margin-left: 20px;
    margin-bottom: 20px;
}

.info-list li {
    margin-bottom: 8px;
}

/* Formulario */
.lead-form {
    background: var(--bg-white);
    padding: 35px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

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

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

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-family: var(--font-stack);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* ==========================================================================
   BLOQUE DE ALERTA GOV / DESLINDE Y FOOTER
   ========================================================================== */
.gov-disclaimer {
    background-color: #fffaf0;
    border-left: 4px solid #dd6b20;
    padding: 20px;
    margin: 25px 0;
    border-radius: 0 8px 8px 0;
}

.gov-disclaimer p {
    font-size: 0.9rem;
    color: #7b341e;
    line-height: 1.5;
}

footer {
    background-color: #1a202c;
    color: #a0aec0;
    padding: 40px 0 20px 0;
    font-size: 0.85rem;
    margin-top: auto;
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    border-bottom: 1px solid #2d3748;
    padding-bottom: 20px;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.footer-text {
    text-align: center;
    line-height: 1.6;
}