/* ==========================================================================
   RESET GENERAL Y TIPOGRAFÍA CORPORATIVA 
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f8fafc;
    color: #1e293b;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

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

/* ==========================================================================
   TOP DISCLAIMER DE ADVERTENCIA (GOOGLE ADS COMPLIANCE)
   ========================================================================== */
.top-disclaimer-bar {
    background-color: #ffedd5;
    border-bottom: 1px solid #fed7aa;
    padding: 12px 0;
    color: #7c2d12;
    font-size: 13px;
}

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

.icon-warning {
    display: table-cell;
    vertical-align: middle;
    width: 30px;
    padding-right: 10px;
}

.top-disclaimer-bar p {
    display: table-cell;
    vertical-align: middle;
    text-align: justify;
}

/* ==========================================================================
   HEADER PRINCIPAL Y LOGO
   ========================================================================== */
.main-header {
    background-color: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
}

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

.header-container::after {
    content: "";
    display: table;
    clear: both;
}

.logo-area {
    float: left;
    height: 40px;
    line-height: 40px;
}

.logo-icon {
    vertical-align: middle;
    margin-right: 8px;
    display: inline-block;
}

.logo-text {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.5px;
    vertical-align: middle;
}

.logo-text .accent-text {
    color: #d97706;
}

.main-nav {
    float: left;
    margin-left: 50px;
    height: 40px;
    line-height: 40px;
}

.main-nav ul {
    list-style: none;
}

.main-nav ul li {
    display: inline-block;
    margin-right: 25px;
}

.main-nav ul li a {
    text-decoration: none;
    color: #475569;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s ease;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
    color: #0f172a;
    font-weight: 600;
}

.header-cta {
    float: right;
    height: 40px;
    line-height: 40px;
}

/* ==========================================================================
   BOTONES E INTERFAZ
   ========================================================================== */
.btn-primary {
    display: inline-block;
    background-color: #0f172a;
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.15);
    transition: background-color 0.2s ease;
}

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

.btn-secondary-sm {
    display: inline-block;
    border: 2px solid #0f172a;
    color: #0f172a;
    padding: 8px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    line-height: 1;
    transition: all 0.2s ease;
}

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

.btn-link {
    display: inline-block;
    color: #475569;
    text-decoration: underline;
    font-weight: 500;
    margin-left: 20px;
    font-size: 15px;
}

.btn-link:hover {
    color: #0f172a;
}

/* ==========================================================================
   HERO SECTION DE CONVERSIÓN
   ========================================================================== */
.hero-section {
    background-color: #ffffff;
    padding: 80px 0;
    border-bottom: 1px solid #e2e8f0;
}

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

.hero-container::after {
    content: "";
    display: table;
    clear: both;
}

.hero-content {
    float: left;
    width: 55%;
    padding-right: 40px;
}

.hero-image-wrapper {
    float: right;
    width: 45%;
    text-align: right;
}

.badge {
    display: inline-block;
    background-color: #f1f5f9;
    color: #334155;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 42px;
    color: #0f172a;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.hero-lead {
    font-size: 18px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 30px;
}

.hero-features {
    margin-bottom: 35px;
}

.hero-feature-item {
    margin-bottom: 12px;
    font-size: 15px;
    font-weight: 500;
    color: #334155;
}

.svg-check {
    vertical-align: middle;
    margin-right: 8px;
    display: inline-block;
}

.hero-feature-item span {
    vertical-align: middle;
}

.hero-img {
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.08), 0 10px 10px -5px rgba(0,0,0,0.04);
    max-width: 100%;
    height: auto;
    border: 1px solid #e2e8f0;
}

/* ==========================================================================
   SECCIÓN DE CARACTERÍSTICAS / VALOR DE MARCA
   ========================================================================== */
.trust-section {
    padding: 60px 0;
    background-color: #f8fafc;
}

.trust-grid {
    display: table;
    width: 100%;
    table-layout: fixed;
}

.trust-card {
    display: table-cell;
    padding: 0 20px;
    vertical-align: top;
}

.trust-icon-box {
    background-color: #e2e8f0;
    width: 64px;
    height: 64px;
    border-radius: 12px;
    text-align: center;
    line-height: 72px;
    margin-bottom: 20px;
}

.trust-card h3 {
    font-size: 18px;
    color: #0f172a;
    font-weight: 700;
    margin-bottom: 10px;
}

.trust-card p {
    font-size: 14.5px;
    color: #475569;
    line-height: 1.5;
}

/* ==========================================================================
   TABLA DE CONTROL DE AUDITORÍA
   ========================================================================== */
.audit-table-section {
    padding: 80px 0;
    background-color: #ffffff;
    border-top: 1px solid #e2e8f0;
}

.section-title-wrapper {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.section-title-wrapper h2 {
    font-size: 32px;
    color: #0f172a;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 16px;
    color: #64748b;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02);
}

.audit-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 14.5px;
}

.audit-table th {
    background-color: #f1f5f9;
    color: #1e293b;
    font-weight: 700;
    padding: 16px 20px;
    border-bottom: 2px solid #e2e8f0;
}

.audit-table td {
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
    color: #334155;
    vertical-align: top;
}

.audit-table tr:last-child td {
    border-bottom: none;
}

.status-danger {
    color: #b91c1c;
    font-weight: 600;
    background-color: #fef2f2;
}

.status-warning {
    color: #b45309;
    font-weight: 600;
    background-color: #fffbeb;
}

/* ==========================================================================
   SECCIÓN DE PROCESO PASO A PASO
   ========================================================================== */
.process-section {
    padding: 80px 0;
    background-color: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.process-grid {
    display: table;
    width: 100%;
    table-layout: fixed;
}

.process-step {
    display: table-cell;
    padding: 0 15px;
    vertical-align: top;
}

.process-image-container {
    position: relative;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.process-image-container img {
    width: 100%;
    display: block;
    height: auto;
}

.step-number {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background-color: #d97706;
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    text-align: center;
    line-height: 36px;
    font-weight: 700;
    font-size: 16px;
}

.process-step h3 {
    font-size: 18px;
    color: #0f172a;
    font-weight: 700;
    margin-bottom: 10px;
}

.process-step p {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
}

/* ==========================================================================
   SECCIÓN FORMULARIO INTERACTIVO Y CAPTURA DE LEADS
   ========================================================================== */
.form-section {
    padding: 90px 0;
    background-color: #0f172a;
    color: #ffffff;
}

.form-inner-container::after {
    content: "";
    display: table;
    clear: both;
}

.form-info-side {
    float: left;
    width: 45%;
    padding-right: 50px;
}

.form-card-side {
    float: right;
    width: 55%;
    background-color: #ffffff;
    color: #1e293b;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.form-info-side h2 {
    font-size: 34px;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 20px;
}

.form-info-side p {
    color: #94a3b8;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 35px;
}

.testimonial-box {
    border-left: 4px solid #d97706;
    padding-left: 20px;
    margin-bottom: 35px;
    background-color: rgba(255,255,255,0.03);
    padding: 20px;
    border-radius: 0 8px 8px 0;
}

.quote {
    font-style: italic;
    color: #cbd5e1 !important;
    font-size: 14.5px !important;
    margin-bottom: 10px !important;
}

.author {
    font-weight: 600;
    color: #d97706;
    font-size: 13.5px;
}

.secure-badge {
    font-size: 13px;
    color: #94a3b8;
}

.secure-badge svg {
    vertical-align: middle;
    margin-right: 8px;
    display: inline-block;
}

.secure-badge span {
    vertical-align: middle;
}

/* ESTILOS DEL FORMULARIO INTERACTIVO */
.form-card-side h3 {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}

.form-card-subtitle {
    font-size: 14.5px;
    color: #64748b;
    margin-bottom: 25px;
}

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

.form-row::after {
    content: "";
    display: table;
    clear: both;
}

.form-row .form-group {
    float: left;
    width: 48%;
}

.form-row .form-group:first-child {
    margin-right: 4%;
}

label {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}

input[type="text"],
input[type="tel"],
input[type="email"],
select,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 14px;
    background-color: #f8fafc;
    color: #0f172a;
    transition: all 0.2s ease;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #0f172a;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
}

.form-checkbox {
    margin-bottom: 22px;
}

.form-checkbox input {
    float: left;
    margin-top: 4px;
    margin-right: 10px;
}

.form-checkbox label {
    font-weight: 400;
    font-size: 12.5px;
    color: #475569;
    line-height: 1.4;
    display: block;
}

.form-checkbox label a {
    color: #0f172a;
    text-decoration: underline;
}

.btn-submit {
    width: 100%;
    background-color: #d97706;
    color: #ffffff;
    border: none;
    padding: 14px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(217, 119, 6, 0.2);
    transition: background-color 0.2s ease;
}

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

.error-msg {
    color: #b91c1c;
    font-size: 12px;
    margin-top: 4px;
    display: none;
}

.form-success-box {
    text-align: center;
    padding: 30px 10px;
}

.form-success-box h4 {
    font-size: 20px;
    color: #065f46;
    margin: 15px 0 8px 0;
}

.form-success-box p {
    font-size: 14px;
    color: #047857;
    line-height: 1.5;
}

/* ==========================================================================
   FOOTER CORPORATIVO Y DESLINDE FINAL REQUERIDO
   ========================================================================== */
.main-footer {
    background-color: #0b0f19;
    color: #94a3b8;
    padding: 60px 0 0 0;
    border-top: 1px solid #1e293b;
    font-size: 14px;
}

.footer-container::after {
    content: "";
    display: table;
    clear: both;
}

.footer-brand-side {
    float: left;
    width: 40%;
    padding-right: 40px;
}

.footer-brand-side .logo-area {
    float: none;
    margin-bottom: 15px;
}

.footer-brand-side .logo-text {
    color: #ffffff;
}

.footer-tagline {
    font-size: 13.5px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.copyright {
    font-size: 12px;
    color: #475569;
}

.footer-links-side {
    float: left;
    width: 30%;
}

.footer-links-side h4 {
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

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

.footer-links-side ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links-side ul li a:hover {
    color: #ffffff;
}

.bottom-disclaimer-box {
    margin-top: 50px;
    background-color: #020617;
    padding: 25px 0;
    border-top: 1px solid #1e293b;
    color: #64748b;
    font-size: 12px;
    line-height: 1.6;
}

.text-center {
    text-align: center;
}

/* ==========================================================================
   RESPONSIVIDAD BÁSICA MEDIANTE LAYOUT TRADICIONAL COMPATIBLE
   ========================================================================== */
@media (max-width: 992px) {
    .hero-content, .hero-image-wrapper, 
    .form-info-side, .form-card-side,
    .footer-brand-side, .footer-links-side {
        float: none !important;
        width: 100% !important;
        padding-right: 0 !important;
        margin-right: 0 !important;
    }
    .hero-image-wrapper {
        text-align: center;
        margin-top: 40px;
    }
    .main-nav {
        display: none; /* Simplificación para optimización móvil pura */
    }
    .trust-card, .process-step {
        display: block !important;
        width: 100% !important;
        padding: 0 !important;
        margin-bottom: 35px;
    }
    .form-card-side {
        margin-top: 40px;
        padding: 25px;
    }
    .form-row .form-group {
        float: none !important;
        width: 100% !important;
    }
}