/* CONFIGURACIONES GENERALES Y RESETS */
:root {
    --primary-color: #0b2545;
    --secondary-color: #134074;
    --accent-color: #8da9c4;
    --text-dark: #1d2d44;
    --text-light: #f4f6f9;
    --white: #ffffff;
    --danger: #d90429;
    --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(--white);
    line-height: 1.6;
    font-size: 16px;
}

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

/* DISCLAIMER SUPERIOR */
.top-disclaimer-bar {
    background-color: #fff3cd;
    border-bottom: 1px solid #ffeeba;
    color: #856404;
    padding: 12px 0;
    font-size: 13px;
    text-align: justify;
}

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

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

.logo a {
    font-size: 24px;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.brand-main { color: var(--white); }
.brand-sub { color: var(--accent-color); }

.main-nav a {
    color: var(--text-light);
    text-decoration: none;
    margin-left: 20px;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s ease;
}

.main-nav a:hover, .main-nav a.active {
    color: var(--accent-color);
}

/* HERO SECTION */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-lead {
    font-size: 20px;
    max-width: 750px;
    margin: 0 auto 40px auto;
    color: var(--text-light);
}

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

.btn {
    display: inline-block;
    padding: 15px 30px;
    font-weight: 700;
    border-radius: 4px;
    text-decoration: none;
    font-size: 16px;
    transition: transform 0.2s ease, background-color 0.3s ease;
}

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

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

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

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

/* SECCIONES COMUNES */
.services-section, .table-section, .steps-section {
    padding: 80px 0;
}

h2 {
    font-size: 32px;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    font-size: 16px;
    color: #666;
    max-width: 600px;
    margin: 0 auto 50px auto;
}

/* SERVICIOS GRID */
.services-grid {
    display: flex;
    gap: 30px;
    justify-content: space-between;
}

.service-card {
    flex: 1;
    background-color: #f8f9fa;
    padding: 40px 30px;
    border-radius: 6px;
    border-top: 4px solid var(--secondary-color);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* TABLA DATOS */
.table-responsive {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    text-align: left;
}

.data-table th, .data-table td {
    padding: 15px 20px;
    border: 1px solid #dee2e6;
}

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

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

/* PASO A PASO */
.steps-flow {
    display: flex;
    gap: 30px;
}

.step-item {
    flex: 1;
    text-align: center;
    position: relative;
}

.step-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--accent-color);
    opacity: 0.6;
    margin-bottom: 10px;
}

.step-item h3 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* FOOTER */
.main-footer {
    background-color: #111;
    color: #aaa;
    padding: 60px 0 30px 0;
    font-size: 14px;
}

.footer-disclaimer {
    border-bottom: 1px solid #222;
    padding-bottom: 30px;
    margin-bottom: 30px;
    text-align: justify;
    line-height: 1.6;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    margin-left: 15px;
}

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

/* RESPONSIVE MÍNIMO NATIVO */
@media (max-width: 768px) {
    .header-flex, .services-grid, .steps-flow, .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .main-nav { margin-top: 15px; }
    .main-nav a { margin: 0 10px; }
    .hero-section h1 { font-size: 30px; }
    .cta-group { flex-direction: column; }
    .footer-links { margin-top: 10px; }
}