/* CSS PURO - TRAMITAPRO INDEX */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #0284c7;
    --primary-dark: #0369a1;
    --secondary: #0f172a;
    --text-main: #334155;
    --text-dark: #0f172a;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --warning-bg: #fef3c7;
    --warning-text: #78350f;
    --warning-border: #fcd34d;
    --border-color: #e2e8f0;
    --error: #ef4444;
    --success: #22c55e;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
}

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

.container-small {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER */
.main-header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo-container {
    display: table-cell;
    vertical-align: middle;
    text-decoration: none;
    width: 250px;
}

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

.logo-text {
    font-size: 20px;
    color: var(--secondary);
    font-weight: 400;
    vertical-align: middle;
}

.logo-bold {
    font-weight: 700;
    color: var(--primary);
}

.main-nav {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

.nav-link {
    color: var(--text-main);
    text-decoration: none;
    margin: 0 15px;
    font-weight: 500;
    font-size: 15px;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.header-cta {
    display: table-cell;
    vertical-align: middle;
    text-align: right;
    width: 200px;
}

/* BOTONES */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    text-align: center;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

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

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

.btn-secondary {
    background-color: var(--secondary);
    color: var(--bg-white);
}

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

.btn-outline {
    border-color: var(--border-color);
    color: var(--text-dark);
    background: transparent;
}

.btn-outline:hover {
    background: var(--bg-light);
}

.btn-block {
    display: block;
    width: 100%;
}

/* DISCLAIMER TOP */
.top-disclaimer-box {
    background-color: var(--warning-bg);
    border-bottom: 1px solid var(--warning-border);
    padding: 12px 20px;
}

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

.disclaimer-icon {
    display: table-cell;
    vertical-align: top;
    width: 34px;
    padding-right: 10px;
}

.disclaimer-text {
    display: table-cell;
    vertical-align: middle;
    font-size: 13px;
    color: var(--warning-text);
    line-height: 1.5;
}

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

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

.hero-content {
    display: table-cell;
    vertical-align: middle;
    width: 55%;
    padding-right: 40px;
}

.hero-image-wrapper {
    display: table-cell;
    vertical-align: middle;
    width: 45%;
    text-align: right;
}

.hero-badge {
    display: inline-block;
    background: #e0f2fe;
    color: var(--primary-dark);
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 36px;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 17px;
    color: var(--text-main);
    margin-bottom: 30px;
}

.hero-actions .btn {
    margin-right: 10px;
}

.hero-img {
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    height: auto;
}

/* SECCIONES COMPARTIDO */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.section-header h2 {
    font-size: 28px;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 700;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-main);
}

/* GRID 3 COLS (BENEFICIOS) */
.benefits-section {
    padding: 80px 0;
}

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

.benefit-card {
    display: table-cell;
    padding: 0 20px;
    text-align: center;
}

.benefit-icon-wrapper {
    width: 64px;
    height: 64px;
    background: #f0f9ff;
    border-radius: 50px;
    margin: 0 auto 20px auto;
    line-height: 64px;
}

.benefit-icon-wrapper svg {
    vertical-align: middle;
    margin-top: 16px;
}

.benefit-card h3 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.benefit-card p {
    font-size: 14px;
    color: var(--text-main);
}

/* GRID 2 COLS (SERVICIOS) */
.services-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.grid-2-cols {
    display: table;
    width: 100%;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 20px 0;
}

.service-card {
    display: table-cell;
    background: var(--bg-white);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    width: 50%;
}

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

.service-card p {
    font-size: 15px;
    margin-bottom: 20px;
}

.service-list {
    list-style: none;
}

.service-list li {
    font-size: 14px;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.service-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* PROCESO */
.process-section {
    padding: 80px 0;
}

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

.step-item {
    display: table-cell;
    text-align: center;
    padding: 0 20px;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--bg-white);
    border-radius: 50px;
    line-height: 40px;
    font-weight: bold;
    font-size: 16px;
    margin: 0 auto 20px auto;
}

.step-item h4 {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.step-item p {
    font-size: 14px;
}

/* CAPTURA LEAD FORM */
.lead-section {
    padding: 80px 0;
    background: #0f172a;
    color: var(--bg-white);
}

.form-wrapper {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 10px;
    color: var(--text-dark);
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.form-header p {
    font-size: 14px;
    color: var(--text-main);
}

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

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

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 15px;
    color: var(--text-dark);
}

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

.checkbox-group {
    font-size: 13px;
    color: var(--text-main);
}

.checkbox-group input {
    margin-right: 8px;
    vertical-align: middle;
}

.checkbox-group a {
    color: var(--primary);
    text-decoration: none;
}

.error-message {
    color: var(--error);
    font-size: 12px;
    display: none;
    margin-top: 5px;
}

.block-error {
    margin-bottom: 15px;
    text-align: center;
}

.form-success-box {
    display: none;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    padding: 30px;
    border-radius: 6px;
    text-align: center;
}

.form-success-box h4 {
    color: #166534;
    font-size: 20px;
    margin-bottom: 10px;
}

.form-success-box p {
    color: #1e293b;
    font-size: 14px;
}

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

.footer-grid {
    display: table;
    width: 100%;
    table-layout: fixed;
    margin-bottom: 40px;
}

.footer-brand-col {
    display: table-cell;
    width: 50%;
    padding-right: 40px;
}

.footer-links-col {
    display: table-cell;
    width: 25%;
}

.text-white {
    color: var(--bg-white);
}

.footer-description {
    margin-top: 15px;
    line-height: 1.6;
    font-size: 13px;
}

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

.footer-links-col a {
    display: block;
    color: #94a3b8;
    text-decoration: none;
    margin-bottom: 10px;
}

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

.footer-divider {
    border: 0;
    border-top: 1px solid #1e293b;
    margin-bottom: 30px;
}

.footer-disclaimer-box {
    background: #141b2d;
    padding: 20px;
    border-radius: 6px;
    border: 1px solid #1e293b;
    margin-bottom: 30px;
}

.footer-disclaimer-box p {
    font-size: 12px;
    line-height: 1.6;
    color: #64748b;
}

.footer-disclaimer-box strong {
    color: #94a3b8;
}

.footer-bottom {
    text-align: center;
    font-size: 12px;
    color: #475569;
}