/* CONFIGURACIONES GENERALES Y RESETS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #2b2b2b;
    line-height: 1.6;
}

/* TOP DISCLAIMER OBLIGATORIO */
.top-disclaimer {
    background-color: #d9534f;
    color: #ffffff;
    padding: 12px 20px;
    font-size: 0.88rem;
    text-align: center;
    line-height: 1.4;
    border-bottom: 3px solid #b52b27;
}

/* HEADER Y NAVEGACIÓN */
.main-header {
    background-color: #0d233a;
    border-bottom: 4px solid #dfa12b;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-brand {
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo-accent {
    color: #dfa12b;
    font-size: 1.6rem;
    font-weight: 800;
}

.logo-sub {
    color: #a0b2c6;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: -2px;
}

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

.main-nav a:hover, .main-nav a.active {
    color: #dfa12b;
}

/* HERO SECTION */
.hero-section {
    background: linear-gradient(135deg, #0d233a 0%, #1a3a5c 100%);
    color: #ffffff;
    padding: 80px 20px;
    text-align: center;
}

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

.hero-section h1 {
    font-size: 2.6rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff;
}

.hero-section p {
    font-size: 1.2rem;
    color: #dedede;
    margin-bottom: 35px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-primary {
    background-color: #dfa12b;
    color: #0d233a;
    padding: 15px 30px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s ease;
    text-transform: uppercase;
    font-size: 0.95rem;
}

.btn-primary:hover {
    background-color: #c98f22;
}

.btn-secondary {
    border: 2px solid #ffffff;
    color: #ffffff;
    padding: 13px 30px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.95rem;
}

.btn-secondary:hover {
    background-color: #ffffff;
    color: #0d233a;
}

/* SECCIONES DE CONTENIDO GENERAL */
.content-section, .table-section, .steps-section, .lead-section {
    padding: 70px 20px;
}

.section-container {
    max-width: 1100px;
    margin: 0 auto;
}

h2 {
    font-size: 2rem;
    color: #0d233a;
    margin-bottom: 15px;
    text-align: center;
}

.section-lead {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

/* GRID DE SERVICIOS */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.service-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 6px;
    border-top: 5px solid #0d233a;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.service-card h3 {
    color: #0d233a;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* TABLA DE AUDITORÍA */
.table-responsive {
    overflow-x: auto;
    margin-top: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    border-radius: 6px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
    text-align: left;
}

th, td {
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
}

th {
    background-color: #0d233a;
    color: #ffffff;
    font-weight: 600;
}

tr:nth-child(even) {
    background-color: #f1f5f9;
}

.status-check {
    color: #0d233a;
    font-weight: 700;
    font-size: 0.9rem;
}

/* FLUJO DE PASOS */
.steps-flow {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.step-item {
    background: #ffffff;
    padding: 25px;
    border-radius: 6px;
    position: relative;
    box-shadow: 0 2px 5px rgba(0,0,0,0.04);
}

.step-number {
    background-color: #dfa12b;
    color: #0d233a;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.step-item h3 {
    margin-bottom: 10px;
    font-size: 1.15rem;
    color: #0d233a;
}

/* FORMULARIO DE CONVERSIÓN */
.form-wrapper {
    max-width: 750px;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
}

.landing-form {
    margin-top: 30px;
}

.form-group {
    margin-bottom: 22px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #0d233a;
    font-size: 0.95rem;
}

.form-group input, .form-group select, .form-group textarea {
    padding: 12px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-size: 1rem;
    color: #2b2b2b;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: #0d233a;
    box-shadow: 0 0 0 3px rgba(13,35,58,0.1);
}

.error-msg {
    color: #d9534f;
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
    font-weight: 500;
}

.btn-submit {
    background-color: #0d233a;
    color: #ffffff;
    border: none;
    padding: 16px 30px;
    font-size: 1.1rem;
    font-weight: 700;
    width: 100%;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-submit:hover {
    background-color: #1a3a5c;
}

.success-box {
    margin-top: 20px;
    padding: 15px;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    text-align: center;
    font-weight: 600;
    display: none;
}

/* FOOTER Y DESLINDE LEGAL */
.main-footer {
    background-color: #091726;
    color: #a0b2c6;
    padding: 50px 20px 20px 20px;
    font-size: 0.9rem;
    border-top: 5px solid #dfa12b;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #1a3a5c;
}

.footer-info {
    flex: 2;
    min-width: 280px;
}

.footer-info h3 {
    color: #ffffff;
    margin-bottom: 15px;
}

.footer-links {
    flex: 1;
    min-width: 220px;
    display: flex;
    flex-direction: column;
}

.footer-links h4 {
    color: #ffffff;
    margin-bottom: 15px;
}

.footer-links a {
    color: #a0b2c6;
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #dfa12b;
}

.footer-bottom {
    max-width: 1100px;
    margin: 25px auto 0 auto;
    text-align: center;
    font-size: 0.8rem;
}

.footer-disclaimer-text {
    margin-top: 15px;
    text-align: justify;
    line-height: 1.5;
    color: #7188a1;
}

/* RESPONSIVO */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    .main-nav a {
        margin: 0 10px;
    }
    .hero-section h1 {
        font-size: 1.9rem;
    }
    .form-wrapper {
        padding: 20px;
    }
}