:root {
    /* Paleta Corporativa VenAmCham */
    --primary-blue: #0A1334;      /* Azul marino corporativo (Fondos de menú, títulos) */
    --accent-blue:  #1E2A5E;      /* Azul secundario (Hover y estados activos) */
    --primary-red:  #6B1315;      /* Rojo corporativo (Detalles visuales, botones primarios) */
    --accent-red:   #8B1A1E;      /* Rojo hover (Hover de botones) */
    
    /* Fondos y Estructura */
    --bg-dark:      #E1E1E1;      /* Gris claro oficial de Elementor en producción (#E1E1E1) */
    --bg-card:      #ffffff;      /* Blanco sólido para tarjetas y contenedores */
    --border-card:  rgba(0, 0, 0, 0.06); /* Bordes ultra finos */
    
    /* Tipografía y Textos */
    --text-white:   #0A1334;      /* Para títulos principales */
    --text-light:   #333333;      /* Gris oscuro para textos de cuerpo y formularios */
    --text-muted:   #64748b;      /* Gris medio para subtítulos y etiquetas secundarias */
    --text-gray:    #94a3b8;      /* Gris claro para placeholders e íconos */
    
    /* Estados Semánticos */
    --success:      #2ecc71;      /* Verde de confirmación */
    --warning:      #f39c12;      /* Naranja de advertencia */
    --danger:       #e74c3c;      /* Rojo de error */
    --info:         #3498db;      /* Azul de información */

    /* Dimensiones Estándar */
    --sidebar-width: 260px;
    --sidebar-collapsed-width: 70px;
    --header-height: 70px;
    --transition-speed: 0.3s;

    /* Legacy / Compatibility Variables */
    --red:          var(--primary-red);
    --red-dark:     var(--accent-red);
    --red-light:    #fbf1f1;
    --gold:         #d4a017;
    --gold-light:   #fdf6e3;
    --text:         var(--text-light);
    --border:       #cbd5e1;
    --bg:           var(--bg-dark);
    --white:        var(--bg-card);
    --radius:       12px;
    --shadow:       0 4px 15px rgba(0, 0, 0, 0.02);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ── TOPBAR ── */
.topbar {
    background: #ffffff;
    padding: 0 30px;
    height: var(--header-height, 70px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.topbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    max-height: 52px;
}
.topbar-logo-img {
    height: 44px !important;
    max-height: 44px !important;
    width: auto !important;
    max-width: 250px !important;
    display: block;
    object-fit: contain;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}
.brand-logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-red), var(--accent-red));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
}
.topbar-brand h1 {
    color: var(--primary-blue);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.5px;
}
.topbar-brand span {
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 400;
    display: block;
}
.topbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}
.lang-switcher, .card-lang-switcher, .modal-lang-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f8fafc;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid #cbd5e1;
}
.lang-btn, .card-lang-btn, .modal-lang-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-family: 'Poppins', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    padding: 3px 8px;
    border-radius: 6px;
    transition: all .2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.lang-flag-img {
    width: 18px;
    height: 13px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.topbar-logo-svg {
    height: 48px;
    width: auto;
    max-width: 100%;
    display: block;
}
.lang-btn:hover, .lang-btn.active,
.card-lang-btn.active, .modal-lang-btn.active {
    color: var(--primary-blue);
    background: rgba(10, 19, 52, 0.08);
}
.lang-divider {
    color: #cbd5e1;
    font-size: 0.8rem;
}
.topbar-back {
    color: var(--primary-blue);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f1f5f9;
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid #cbd5e1;
    transition: all .2s ease;
}

/* ── HERO BANNER (AZUL OSCURO SÓLIDO #171934 CON ALINEACIÓN PERFECTA Y DEGRADADO SUAVE EN PUNTAS) ── */
.hero {
    background: #171934 !important;
    padding: 50px 0;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    min-height: 290px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-container {
    max-width: 950px;
    width: 100%;
    padding: 0 20px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.2rem;
}
.hero-col-left {
    flex: 1 1 54%;
    max-width: 530px;
    text-align: left;
    position: relative;
    z-index: 2;
}
.hero-col-left h1 {
    white-space: nowrap;
    font-size: clamp(1.7rem, 3.1vw, 2.45rem);
}
.hero-col-right {
    flex: 0 0 44%;
    max-width: 440px;
    margin-left: 0.2rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero-graphic-img {
    width: 135%;
    max-width: none;
    transform: scale(1.35);
    transform-origin: center right;
    height: auto;
    pointer-events: none;
    opacity: 0.92;
    mix-blend-mode: screen;
    display: block;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.5) 15%, rgba(0,0,0,1) 32%, rgba(0,0,0,1) 100%);
    mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.5) 15%, rgba(0,0,0,1) 32%, rgba(0,0,0,1) 100%);
}

@media (max-width: 768px) {
    .hero {
        padding: 35px 0;
    }
    .hero-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .hero-col-left {
        max-width: 100%;
        flex: 1 1 100%;
    }
    .hero-col-right {
        max-width: 100%;
        flex: 1 1 100%;
        margin-left: 0;
        justify-content: center;
        width: 100%;
    }
    .hero-graphic-img {
        width: 100%;
        transform: scale(1);
        max-width: 380px;
    }
}

@media (max-width: 576px) {
    .hero-col-left h1 {
        white-space: normal;
        font-size: 1.8rem;
    }
}
.topbar-back:hover {
    color: #ffffff;
    background: var(--primary-blue);
    border-color: var(--primary-blue);
}

/* ── HERO BANNER ── */
.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
    padding: 45px 30px 40px;
    text-align: center;
    color: #ffffff;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 30px;
    padding: 6px 18px;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 16px;
    color: #ffffff;
}
.hero h2 {
    font-size: clamp(1.4rem, 3vw, 2.1rem);
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
    letter-spacing: 0.5px;
    color: #ffffff;
}
.hero p {
    font-size: 0.94rem;
    color: rgba(255,255,255,0.85);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── WIZARD STEPPER BUBBLES ── */
.form-stepper {
    display: flex;
    justify-content: space-between;
    margin-bottom: 35px;
    position: relative;
}
.stepper-line {
    position: absolute;
    top: 18px;
    left: 30px;
    right: 30px;
    height: 3px;
    background: #e2e8f0;
    z-index: 1;
}
.stepper-progress {
    position: absolute;
    top: 18px;
    left: 30px;
    height: 3px;
    background: var(--primary-red) !important;
    z-index: 2;
    transition: width 0.3s ease;
}
.stepper-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 3;
    position: relative;
}
.stepper-step .step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e2e8f0;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    border: 3px solid #ffffff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}
.stepper-step.active .step-circle {
    background: var(--primary-red) !important;
    color: #ffffff !important;
    border-color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(107, 19, 21, 0.35) !important;
    transform: scale(1.08);
}
.stepper-step.completed .step-circle {
    background: var(--primary-blue) !important;
    color: #ffffff !important;
    border-color: #ffffff !important;
}
.stepper-step .step-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Poppins', sans-serif;
    transition: color 0.3s ease;
}
.stepper-step.active .step-label {
    color: var(--primary-red) !important;
    font-weight: 700 !important;
}
.stepper-step.completed .step-label {
    color: var(--primary-blue) !important;
    font-weight: 600 !important;
}

/* ── PROGRESS BAR ── */
.progress-wrap {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-card);
    padding: 20px 30px;
    position: sticky;
    top: 68px;
    z-index: 90;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}
.progress-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: 850px;
    margin: 0 auto;
}
.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 1;
    position: relative;
    cursor: pointer;
}
.step-item::after {
    content: '';
    position: absolute;
    top: 16px;
    left: 50%;
    width: 100%;
    height: 3px;
    background: var(--border);
    z-index: 0;
    transition: background .4s ease;
}
.step-item:last-child::after {
    display: none;
}
.step-item.done::after {
    background: var(--primary-blue);
}
.step-circle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f1f5f9;
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: all .3s ease;
    border: 2px solid var(--border);
}
.step-item.active .step-circle {
    background: var(--primary-blue);
    color: #fff;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(23, 25, 52, 0.15);
}
.step-item.done .step-circle {
    background: var(--primary-blue);
    color: #fff;
    border-color: var(--primary-blue);
}
.step-label {
    font-size: 0.72rem;
    color: var(--text-light);
    font-weight: 500;
    text-align: center;
    max-width: 80px;
    line-height: 1.3;
}
.step-item.active .step-label {
    color: var(--primary-blue);
    font-weight: 700;
}

/* ── MAIN CONTENT ── */
.main {
    max-width: 860px;
    width: 100%;
    margin: 0 auto;
    padding: 35px 20px 70px;
    flex: 1;
}

/* ── FORM CARD & GLASS CARD ── */
.glass-card, .form-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    margin-bottom: 24px;
    transition: box-shadow var(--transition-speed) ease;
    overflow: hidden;
}
.glass-card:hover, .form-card:hover {
    box-shadow: 0 8px 25px rgba(10, 19, 52, 0.05);
}
.form-card-header {
    background: linear-gradient(90deg, #f8fafc, #ffffff);
    border-bottom: 1px solid var(--border-card);
    padding: 24px 32px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.form-card-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(10, 19, 52, 0.15);
}
.form-card-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-blue);
}
.form-card-header p {
    font-size: 0.83rem;
    color: var(--text-muted);
    margin-top: 3px;
}
.form-card-body {
    padding: 32px;
}

/* ── FORM PANES ── */
.form-pane {
    display: none;
}
.form-pane.active {
    display: block !important;
    animation: fadeIn .35s ease-out;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── FORM ELEMENTS ── */
.form-group {
    margin-bottom: 22px;
    position: relative;
}

form.was-validated .form-pane.active .form-group:has(:invalid) .field-error,
.field-error {
    position: absolute;
    top: calc(100% - 14px);
    left: 8px;
    z-index: 90;
    font-size: 0.78rem;
    font-weight: 500;
    color: #ffffff !important;
    background-color: #6B1315;
    padding: 6px 12px;
    border-radius: 6px;
    box-shadow: 0 4px 14px rgba(107, 19, 21, 0.35);
    display: none;
    white-space: normal;
    word-break: break-word;
    box-sizing: border-box;
    max-width: calc(100% - 16px);
    pointer-events: none;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.field-error::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 14px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid #6B1315;
}

form.was-validated .form-pane.active .form-group:has(:invalid) .field-error,
.field-error.visible {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    opacity: 1;
    transform: translateY(0);
    animation: bubblePop 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes bubblePop {
    0% { opacity: 0; transform: translateY(-4px) scale(0.95); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── PREVENIR MARGEN DERECHO / DESBORDAMIENTO EN MÓVILES ── */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

@media (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
    }
    .main {
        padding: 20px 10px 50px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .form-card-body {
        padding: 20px 14px !important;
    }
    .form-card-header {
        padding: 16px 14px !important;
    }
    .topbar {
        padding: 0 14px !important;
    }
    .hero {
        padding: 25px 14px !important;
    }
    .progress-wrap {
        padding: 14px 8px !important;
    }
    .step-label,
    .stepper-step .step-label,
    .timeline-step-label {
        font-size: 0.65rem !important;
        max-width: none !important;
        letter-spacing: 0 !important;
        white-space: normal !important;
        word-break: normal !important;
        line-height: 1.15 !important;
        text-align: center !important;
    }
    .form-row {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }
    .field-error {
        white-space: normal !important;
        word-break: break-word !important;
        max-width: calc(100% - 16px) !important;
        box-sizing: border-box !important;
    }
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: end;
}
.form-group.full-width {
    grid-column: 1 / -1;
}
@media (max-width: 480px) {
    .form-row { grid-template-columns: 1fr; gap: 0; }
}

label {
    display: block;
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 7px;
}
label .req {
    color: var(--primary-red);
    margin-left: 3px;
    font-weight: 700;
}
label .hint {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 0.76rem;
    margin-left: 6px;
}

.form-control,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="date"],
textarea {
    width: 100%;
    padding: 10px 14px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    color: var(--text-light);
    font-size: 0.9rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s;
}
input[type="date"], input[list], .phone-code-input, select {
    cursor: pointer;
}
input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    padding: 4px;
}
.form-control:focus,
input:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(107, 19, 21, 0.15);
}

/* ── SELECTS & OPTIONS (ESPECIFICACIÓN GUÍA) ── */
select,
select.form-control,
select.filter-control,
select.program-select {
    background-color: #ffffff !important;
    color: #333333 !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    font-size: 0.88rem !important;
    padding: 8px 36px 8px 12px !important;
    height: 40px !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    /* Flecha Vectorial Elegante */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23334155' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
    background-position: right 12px center !important;
    background-repeat: no-repeat !important;
    background-size: 12px 12px !important;
    outline: none !important;
    cursor: pointer !important;
    font-family: 'Poppins', sans-serif !important;
}

select option,
select.form-control option,
select.filter-control option,
select.program-select option {
    background-color: #ffffff !important;
    color: #333333 !important;
    padding: 8px !important;
}
form.was-validated .form-pane.active .form-group:has(:invalid) label,
form.was-validated .form-pane.active .form-group:has(:invalid) label span,
.form-group.has-error label,
.form-group.has-error label span,
.form-group.has-error label * {
    color: #6B1315 !important;
    font-weight: 700 !important;
}

form.was-validated .form-pane.active input:invalid,
form.was-validated .form-pane.active select:invalid,
form.was-validated .form-pane.active textarea:invalid,
form.was-validated .form-pane.active .input-prefix-group:has(:invalid),
input.error,
input[type="text"].error,
input[type="email"].error,
input[type="tel"].error,
input[type="url"].error,
input[type="number"].error,
input[type="date"].error,
select.error,
textarea.error,
.input-prefix-group.error,
.input-prefix-group.error input {
    border-color: #6B1315 !important;
    border: 2px solid #6B1315 !important;
    background-color: #fff5f5 !important;
    box-shadow: 0 0 0 3.5px rgba(107, 19, 21, 0.25) !important;
    animation: shakeError 0.35s ease-in-out;
}

@keyframes shakeError {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-4px); }
    40%, 80% { transform: translateX(4px); }
}



.info-tooltip {
    display: none !important;
}

textarea {
    min-height: 95px;
    resize: vertical;
}

/* Section Divider */
.section-divider {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 28px 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.section-divider i {
    color: var(--primary-blue);
}
.section-desc {
    font-size: 0.82rem;
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.5;
}

/* Checkboxes */
.check-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.check-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: border-color .2s, background .2s;
    background: #fff;
}
.check-item:hover {
    border-color: var(--red);
    background: var(--red-light);
}
.check-item input[type="checkbox"] {
    margin-top: 3px;
    accent-color: var(--red);
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}
.check-item span {
    font-size: 0.85rem;
    color: var(--text);
    line-height: 1.4;
}

/* Radio buttons */
.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.radio-btn {
    flex: 1;
    min-width: 140px;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text);
    transition: all .2s;
    background: #fff;
}
.radio-btn input[type="radio"] {
    display: none;
}
.radio-btn:has(input:checked) {
    border-color: var(--red);
    background: var(--red-light);
    color: var(--red);
    font-weight: 700;
}

/* Ventas Anuales Total Card */
.ventas-total-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #171934 0%, #1e244d 100%);
    color: #ffffff;
    padding: 14px 20px;
    border-radius: 10px;
    margin-top: 10px;
    margin-bottom: 12px;
    box-shadow: 0 4px 15px rgba(23, 25, 52, 0.12);
}
.ventas-total-label {
    font-size: 0.88rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}
.ventas-total-amount {
    font-size: 1.25rem;
    font-weight: 700;
    color: #d4a017;
}

/* Compliance Questions & Trayectoria Styles */
.compliance-questions-card {
    background: #ffffff;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 18px rgba(23, 25, 52, 0.05);
}
.comp-q-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #f8fafc;
    border-radius: 8px;
    margin-bottom: 8px;
    border: 1px solid #e2e8f0;
    gap: 15px;
}
.comp-q-text {
    font-size: 0.86rem;
    color: var(--text);
    line-height: 1.45;
    flex: 1;
}
.comp-q-options {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}
.radio-inline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.86rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--primary-blue);
}
.radio-inline input[type="radio"] {
    accent-color: var(--primary-red);
    width: 16px;
    height: 16px;
    cursor: pointer;
}
.comp-sub-row {
    margin-left: 20px;
    padding-left: 15px;
    border-left: 3px solid var(--primary-red);
    margin-bottom: 12px;
    margin-top: 6px;
}
.comp-sub-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 8px;
}
.comp-sub-grid {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.form-section-subtitle {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 10px;
}
.trayectoria-card {
    flex: 1;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px;
}
.trayectoria-title {
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px dashed #cbd5e1;
    padding-bottom: 8px;
}

/* Referencias Comerciales Banner Info Card */
.ref-banner-card {
    background: #f0f7ff;
    border: 1.5px solid #b3d7ff;
    border-left: 4px solid var(--primary-blue);
    border-radius: 10px;
    padding: 16px 20px;
}
.ref-banner-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary-blue);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.45;
}
.ref-banner-list {
    margin-left: 20px;
    font-size: 0.83rem;
    color: var(--text);
    line-height: 1.5;
}
.ref-banner-list li {
    margin-bottom: 6px;
}
.ref-banner-list a {
    color: var(--primary-red);
    font-weight: 700;
    text-decoration: underline;
}

/* Referencia Comercial Card Styles */
.ref-comercial-card {
    background: #ffffff;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: 18px 20px;
    box-shadow: 0 4px 15px rgba(23, 25, 52, 0.04);
}
.ref-card-header {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px dashed #cbd5e1;
    padding-bottom: 8px;
    margin-bottom: 12px;
}
.flex-wrap {
    flex-wrap: wrap;
}

/* Final Information Banner */
.final-info-banner {
    background: #fffbeb;
    border: 1.5px solid #fde68a;
    border-left: 4px solid #f59e0b;
    border-radius: 10px;
    padding: 18px 20px;
}
.final-info-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #92400e;
    display: flex;
    align-items: center;
    gap: 8px;
}
.final-info-content p {
    font-size: 0.83rem;
    color: #78350f;
    line-height: 1.5;
    margin-bottom: 8px;
}
.final-info-content p:last-child {
    margin-bottom: 0;
}

/* Grid for Committees / ODS */
.ods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 10px;
}
.ods-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.83rem;
    transition: all .2s;
    background: #fff;
}
.ods-item:hover {
    border-color: var(--red);
    background: var(--red-light);
}
.ods-item input[type="checkbox"] {
    accent-color: var(--red);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}
.ods-num {
    width: 26px;
    height: 26px;
    background: var(--red);
    color: #fff;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Upload boxes */
.upload-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}
.upload-box {
    border: 2px dashed var(--border);
    border-radius: 10px;
    padding: 24px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.upload-box:hover {
    border-color: var(--primary-blue);
    background: #f8fafc;
}
.upload-icon {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
}
.upload-title {
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 4px;
}
.upload-sub {
    font-size: 0.74rem;
    color: var(--text-light);
    margin-bottom: 14px;
}
.btn-select-file {
    background: #fff;
    border: 1.5px solid var(--border);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    transition: all .2s;
}
.btn-select-file:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}
.file-info {
    font-size: 0.78rem;
    color: var(--success);
    font-weight: 600;
    margin-top: 10px;
    word-break: break-all;
}

/* Compliance Box */
.compliance-box {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: 20px;
}
.compliance-header {
    display: flex;
    align-items: center;
    gap: 14px;
}
.compliance-header i {
    font-size: 2rem;
    color: var(--primary-blue);
}
.compliance-header h4 {
    font-size: 0.96rem;
    color: var(--primary-blue);
    font-weight: 700;
}
.compliance-header p {
    font-size: 0.78rem;
    color: var(--text-light);
}

/* Summary Card */
.summary-card {
    background: var(--gold-light);
    border: 1.5px solid var(--gold);
    border-radius: 10px;
    padding: 20px;
}
.summary-card h4 {
    font-size: 0.95rem;
    color: #92400e;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    font-size: 0.83rem;
    color: #78350f;
}
@media (max-width: 600px) {
    .summary-grid { grid-template-columns: 1fr; }
}

/* Action Buttons */
.form-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 14px !important;
    margin-top: 35px !important;
    padding-top: 25px !important;
    border-top: 2px solid #e2e8f0 !important;
    width: 100% !important;
    grid-column: 1 / -1 !important;
}
.btn-prev-step, #btn-prev {
    margin-right: auto !important;
}
.btn-next-step, .btn-submit-form, #btn-next, #btn-submit {
    margin-left: auto !important;
    min-width: 160px;
    justify-content: center;
}
.btn {
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
}
.btn-primary {
    background-color: var(--primary-red);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(107, 19, 21, 0.2);
}
.btn-primary:hover {
    background-color: var(--accent-red);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(107, 19, 21, 0.3);
}
.btn-secondary {
    background-color: #f8fafc;
    color: #334155;
    border: 1px solid #cbd5e1;
}
.btn-secondary:hover {
    background-color: #f1f5f9;
}
.btn-success {
    background: #2ecc71;
    color: #ffffff;
}
.btn-success:hover {
    background: #27ae60;
}

/* Badges de Estado */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}
.badge-success { background: rgba(46, 204, 113, 0.1); color: #2ecc71; border: 1px solid rgba(46, 204, 113, 0.2); }
.badge-warning { background: rgba(243, 156, 18, 0.1); color: #f39c12; border: 1px solid rgba(243, 156, 18, 0.2); }
.badge-danger  { background: rgba(231, 76, 60, 0.1); color: #e74c3c; border: 1px solid rgba(231, 76, 60, 0.2); }
.badge-info    { background: rgba(52, 152, 219, 0.1); color: #3498db; border: 1px solid rgba(52, 152, 219, 0.2); }

/* Footer */
.footer {
    background: var(--primary-blue);
    color: rgba(255,255,255,0.7);
    text-align: center;
    padding: 24px 20px;
    font-size: 0.8rem;
    margin-top: auto;
}
.footer p {
    margin-bottom: 6px;
}

/* Modales (Especificación Guía) */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100%;
    background: rgba(10, 19, 52, 0.7) !important;
    display: none;
    align-items: flex-start;
    padding-top: 60px;
    padding-bottom: 60px;
    overflow-y: auto;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.modal-overlay.active {
    display: flex !important;
    opacity: 1;
    visibility: visible;
}
.modal-card {
    background: #ffffff !important;
    color: #333333 !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 16px !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15) !important;
    overflow: hidden;
    padding: 32px;
    max-width: 480px;
    width: 90%;
    text-align: center;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}
.modal-overlay.active .modal-card {
    transform: scale(1);
}
.modal-header {
    background: #f8fafc !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
    padding: 18px 24px;
}
.modal-footer {
    background: #f8fafc !important;
    border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
    padding: 16px 24px;
}
.modal-icon {
    font-size: 3.5rem;
    color: #2ecc71;
    margin-bottom: 16px;
}
.modal-card h3 {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
}
.modal-card p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.6;
}
.ref-code {
    background: #f1f5f9;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-blue);
    letter-spacing: 2px;
    margin: 16px 0;
    display: inline-block;
    border: 1px dashed var(--primary-blue);
}
.modal-sub {
    font-size: 0.8rem !important;
}

/* Dynamic Marcas Component */
.marcas-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 10px;
}
.marca-item {
    display: flex;
    align-items: center;
    gap: 10px;
}
.input-marca {
    flex: 1;
}
.btn-remove-marca {
    background: #fee2e2;
    border: 1px solid #fca5a5;
    color: var(--red);
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .2s;
    flex-shrink: 0;
}
.btn-remove-marca:hover {
    background: var(--red);
    color: #fff;
}
.btn-add-marca {
    background: #f1f5f9;
    border: 1.5px dashed var(--primary-blue);
    color: var(--primary-blue);
    padding: 9px 18px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.btn-add-marca:hover {
    background: var(--primary-blue);
    color: #fff;
}

/* Multi Area / Sector Tag Cards with VenAmCham Corporate Styling */
.area-sector-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 12px;
}
.area-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-left: 5px solid var(--primary-blue);
    border-radius: 10px;
    padding: 18px 20px;
    position: relative;
    box-shadow: 0 4px 14px rgba(23, 25, 52, 0.05);
    transition: all .2s ease;
}
.area-card:hover {
    border-color: var(--primary-blue);
    border-left-color: var(--primary-blue);
}
.area-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.area-tag-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f1f5f9;
    color: var(--primary-blue);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid rgba(23, 25, 52, 0.18);
}
.btn-remove-area {
    background: #fee2e2;
    border: 1px solid #fca5a5;
    color: var(--red);
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
}
.btn-remove-area:hover {
    background: var(--red);
    color: #fff;
}
.btn-add-area {
    background: #f1f5f9;
    border: 1.5px dashed var(--primary-blue);
    color: var(--primary-blue);
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-add-area:hover {
    background: var(--primary-blue);
    color: #fff;
}

/* Input Prefix Groups (Social Media & Phone Country Codes) */
.input-prefix-group {
    display: flex;
    align-items: center;
    width: 100%;
}
.input-prefix-addon {
    background: #ffffff;
    border: 1.5px solid var(--border);
    border-right: none;
    border-radius: 8px 0 0 8px;
    padding: 11px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    user-select: none;
}
.info-tooltip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 0.85rem;
    margin-left: 6px;
    cursor: help;
    transition: transform .2s, color .2s;
}
.info-tooltip:hover {
    color: #3b82f6;
    transform: scale(1.15);
}
.input-prefix-group input {
    border-radius: 0 8px 8px 0 !important;
}
.input-prefix-group select,
.phone-code-select,
.phone-code-input {
    border-radius: 8px 0 0 8px !important;
    max-width: 105px !important;
    border-right: none !important;
    background: #ffffff;
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 0.83rem;
    padding: 11px 6px;
    text-align: center;
    cursor: pointer;
}
.year-select-group {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
}
.year-select-group select {
    flex: 1;
    border-radius: 8px !important;
    border-right: 1.5px solid var(--border) !important;
    background: #fff;
    font-weight: 500;
    padding: 11px 8px;
}
.year-dash {
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 1.1rem;
    padding: 0 4px;
}

/* Origen del Capital Live Sum Bar & Badge */
.capital-box {
    background: #f8fafc;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    padding: 20px;
}
.capital-total-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.capital-total-label {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary-blue);
}
.capital-badge {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    background: #fee2e2;
    color: var(--red);
    border: 1px solid #fca5a5;
    transition: all .3s ease;
}
.capital-badge.ok {
    background: #dcfce7;
    color: #15803d;
    border-color: #86efac;
}
.capital-bar-bg {
    height: 10px;
    background: #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 16px;
}
.capital-bar-fill {
    height: 100%;
    width: 0%;
    background: var(--red);
    transition: width .3s ease, background-color .3s ease;
}
.capital-bar-fill.ok {
    background: #22c55e;
}

/* Sector Interest Pills */
.sector-pills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}
.sector-pill-item input {
    display: none;
}
.sector-pill-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1.5px solid var(--border);
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
    background: #fff;
    cursor: pointer;
    transition: all .2s;
    user-select: none;
}
.sector-pill-tag:hover {
    border-color: var(--primary-red);
    background: var(--red-light);
}
.sector-pill-item input:checked + .sector-pill-tag {
    border-color: var(--primary-red);
    background: var(--primary-red);
    color: #fff;
    box-shadow: 0 4px 10px rgba(107, 19, 21, 0.2);
}

/* Accionista Toggle Tabs (Natural vs Jurídica) */
.toggle-tab-group {
    display: inline-flex;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 8px;
    border: 1px solid var(--border);
    margin-bottom: 12px;
}
.toggle-tab-btn {
    padding: 6px 14px;
    border: none;
    background: none;
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-light);
    border-radius: 6px;
    cursor: pointer;
    transition: all .2s;
}
.toggle-tab-btn.active {
    background: #fff;
    color: var(--primary-blue);
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* Membership Categories Grid (A, B, C Cards) */
.membership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
    margin-top: 14px;
}
.membership-card {
    background: #fff;
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 22px 18px;
    text-align: center;
    cursor: pointer;
    transition: all .25s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.membership-card:hover {
    border-color: var(--primary-red);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(107, 19, 21, 0.1);
}
.membership-card.selected {
    border-color: var(--primary-red);
    background: linear-gradient(180deg, var(--red-light) 0%, #fff 100%);
    box-shadow: 0 8px 24px rgba(107, 19, 21, 0.15);
}
.membership-card input[type="radio"] {
    display: none;
}
.membership-badge-tag {
    background: var(--primary-blue);
    color: #fff;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    box-shadow: 0 4px 10px rgba(10, 19, 52, 0.2);
}
.membership-card.selected .membership-badge-tag {
    background: var(--primary-red);
}
.membership-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 6px;
}
.membership-subtitle {
    font-size: 0.76rem;
    color: var(--text-light);
    margin-bottom: 14px;
    line-height: 1.4;
}
.membership-features {
    font-size: 0.78rem;
    color: var(--text);
    text-align: left;
    width: 100%;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px dashed var(--border);
}
.membership-features li {
    list-style: none;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.membership-features i {
    color: #22c55e;
    font-size: 0.75rem;
}

/* Client Items Box */
.client-card-item {
    background: #f8fafc;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: 18px;
    margin-bottom: 16px;
}
.client-card-header {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Capital Warning Banner for sum != 100% */
.capital-warning-banner {
    background: #fee2e2;
    border: 1.5px solid #f87171;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.84rem;
    color: #dc2626;
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Junta Directiva Dynamic Rows */
.junta-member-row {
    position: relative;
}
.btn-remove-junta {
    position: absolute;
    top: 14px;
    right: 14px;
    background: none;
    border: none;
    color: var(--red);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
}

/* Utilities */
.mt-15 { margin-top: 15px; }
.mt-20 { margin-top: 20px; }
.mt-25 { margin-top: 25px; }
.mb-15 { margin-bottom: 15px; }

/* ── TIMELINE & REQUIREMENTS PAGE STYLES ── */
.requirements-container {
    max-width: 1000px;
    width: 100%;
    margin: 40px auto;
    padding: 0 20px;
    flex-grow: 1;
}

.timeline {
    position: relative;
    margin: 40px 0;
    padding-left: 60px; /* Espacio para la línea y los círculos */
}

/* La línea vertical que va hacia abajo */
.timeline::before {
    content: '' !important;
    position: absolute !important;
    left: 20px !important;
    top: 10px !important;
    bottom: 10px !important;
    width: 4px !important;
    background: #cbd5e1 !important; /* Gris suave para la línea */
    display: block !important;
    border-radius: 2px !important;
}

.timeline-item {
    position: relative !important;
    margin-bottom: 40px !important;
    display: block !important; /* Desactivar flex row horizontal */
}

.timeline-item:last-child {
    margin-bottom: 0 !important;
}

/* El círculo flotante con el número de paso */
.timeline-badge {
    position: absolute !important;
    left: -60px !important; /* Centrado sobre la línea vertical */
    top: 20px !important;
    width: 44px !important;
    height: 44px !important;
    color: #ffffff !important;
    border-radius: 50% !important; /* Círculo perfecto */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 700 !important;
    font-size: 1.15rem !important;
    z-index: 10 !important;
    border: 4px solid #E1E1E1 !important; /* Borde del mismo gris del fondo */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15) !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: center !important;
    line-height: 1 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

/* Círculos de color alternado: Impar Vinotinto, Par Azul */
.timeline-item:nth-child(odd) .timeline-badge {
    background: #6B1315 !important; /* Vinotinto VenAmCham */
}
.timeline-item:nth-child(even) .timeline-badge {
    background: #171934 !important; /* Azul VenAmCham */
}

/* Tarjetas de pasos cuadradas */
.timeline-content {
    border-radius: 0 !important; /* Cuadradas, sin bordes redondeados */
    padding: 30px 35px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
    border: none !important;
    position: relative !important;
    transition: all 0.3s ease !important;
}

/* Fondos de color alternado para las tarjetas */
.timeline-item:nth-child(odd) .timeline-content {
    background: #6B1315 !important; /* Vinotinto VenAmCham */
    color: #ffffff !important;
}
.timeline-item:nth-child(even) .timeline-content {
    background: #171934 !important; /* Azul VenAmCham */
    color: #ffffff !important;
}

.timeline-item:hover .timeline-content {
    transform: translateY(-3px) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25) !important;
}

.timeline-title-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin-bottom: 12px !important;
}

.timeline-title {
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 0 !important;
}

.timeline-title i {
    color: #ffffff !important;
    font-size: 1.15rem !important;
}

.timeline-step-tag {
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    background: rgba(255, 255, 255, 0.18) !important;
    color: #ffffff !important;
    padding: 4px 10px !important;
    border-radius: 0 !important;
}

.timeline-desc {
    font-size: 0.92rem !important;
    line-height: 1.7 !important;
    color: rgba(255, 255, 255, 0.95) !important;
}

.timeline-list {
    margin-top: 15px !important;
    padding-left: 20px !important;
}

.timeline-list li {
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
    margin-bottom: 8px !important;
    color: rgba(255, 255, 255, 0.9) !important;
    position: relative !important;
    list-style: none !important;
}

.timeline-list li::before {
    content: '\f00c' !important;
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 900 !important;
    position: absolute !important;
    left: -20px !important;
    top: 2px !important;
    color: #ffffff !important;
    font-size: 0.78rem !important;
}

.timeline-cta-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-top: 15px !important;
    padding: 10px 22px !important;
    background: #ffffff !important;
    color: #6B1315 !important; /* Vinotinto */
    text-decoration: none !important;
    border-radius: 0 !important; /* Botón cuadrado */
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    transition: all 0.2s !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1) !important;
}

.timeline-cta-btn:hover {
    background: #f1f5f9 !important;
    color: #550f11 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18) !important;
}

/* Estilo específico para los botones en tarjetas pares (Azul) */
.timeline-item:nth-child(even) .timeline-cta-btn {
    color: #171934 !important;
}
.timeline-item:nth-child(even) .timeline-cta-btn:hover {
    color: #2c2f63 !important;
}

/* Contact Cards Grid */
.contact-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-align: center;
    margin: 50px 0 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.contact-section-title i {
    color: var(--primary-red);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.contact-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px 24px;
    box-shadow: var(--shadow);
    border-top: 5px solid var(--primary-blue);
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-card:hover {
    transform: translateY(-3px);
    border-top-color: var(--primary-red);
    box-shadow: 0 10px 30px rgba(23, 25, 52, 0.12);
}

.contact-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--red-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    transition: all 0.3s;
}

.contact-card:hover .contact-card-icon {
    background: var(--primary-red);
}

.contact-card-icon i {
    font-size: 1.6rem;
    color: var(--primary-red);
    transition: all 0.3s;
}

.contact-card:hover .contact-card-icon i {
    color: var(--white);
}

.contact-card-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 6px;
}

.contact-card-role {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 18px;
}

.contact-card-detail {
    font-size: 0.9rem;
    color: var(--text);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-card-detail i {
    color: var(--primary-red);
    width: 16px;
}

.contact-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 15px;
    padding: 8px 18px;
    background: var(--bg);
    color: var(--primary-blue) !important;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid var(--border);
    transition: all 0.2s;
}

.contact-card-btn:hover {
    background: var(--primary-blue);
    color: var(--white) !important;
    border-color: var(--primary-blue);
}

/* ── MULTI-STEP FORM STYLES ── */
.form-step {
    display: none;
    animation: formStepFadeIn 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-step.active {
    display: block;
}

@keyframes formStepFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── STEPPER TOOLTIPS ── */
.stepper-step {
    position: relative;
    cursor: pointer;
}

.stepper-step::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    background: #171934; /* Azul oscuro corporativo */
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 100;
    pointer-events: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    text-transform: none; /* No forzar mayúsculas en los tips */
}

.stepper-step::before {
    content: '';
    position: absolute;
    bottom: 115%;
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    border-width: 6px;
    border-style: solid;
    border-color: #171934 transparent transparent transparent;
    opacity: 0;
    visibility: hidden;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
    pointer-events: none;
}

.stepper-step:hover::after,
.stepper-step:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Tooltip boundaries (prevent horizontal clipping) */
.stepper-step[data-step="1"]::after {
    left: 0 !important;
    transform: translateX(0) translateY(5px) !important;
}
.stepper-step[data-step="1"]::before {
    left: 15px !important;
    transform: translateX(0) translateY(5px) !important;
}
.stepper-step[data-step="1"]:hover::after,
.stepper-step[data-step="1"]:hover::before {
    transform: translateX(0) translateY(0) !important;
}

.stepper-step[data-step="4"]::after {
    left: auto !important;
    right: 0 !important;
    transform: translateX(0) translateY(5px) !important;
}
.stepper-step[data-step="4"]::before {
    left: auto !important;
    right: 15px !important;
    transform: translateX(0) translateY(5px) !important;
}
.stepper-step[data-step="4"]:hover::after,
.stepper-step[data-step="4"]:hover::before {
    transform: translateX(0) translateY(0) !important;
}

/* ── EMBEDDED MODE OVERRIDES ── */
body.embedded {
    background: transparent !important;
}

body.embedded .main {
    padding: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
}

body.embedded .form-card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

body.embedded .form-card-body {
    padding: 8px 0 !important;
}

body.embedded .form-stepper {
    margin-bottom: 20px !important;
}

body.embedded .form-group {
    margin-bottom: 14px !important;
}

body.embedded label {
    font-size: 0.78rem !important;
    margin-bottom: 4px !important;
    font-weight: 600 !important;
}

body.embedded input, 
body.embedded select, 
body.embedded textarea {
    padding: 9px 12px !important;
    font-size: 0.84rem !important;
    border-radius: 6px !important;
}

body.embedded .section-divider {
    margin-top: 15px !important;
    margin-bottom: 12px !important;
    font-size: 0.88rem !important;
}

body.embedded .step-circle {
    width: 34px !important;
    height: 34px !important;
    font-size: 0.85rem !important;
}

body.embedded .step-label {
    font-size: 0.65rem !important;
}

body.embedded .form-actions {
    margin-top: 15px !important;
}

/* ── CONTACT EMBED SECTION ── */
.contact-embed-section {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    margin: 60px 0 40px;
    align-items: start;
}

.btn-action-container {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 25px;
}

.btn-action-primary,
.btn-action-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 4px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
}

.btn-action-primary {
    background: #171934 !important; /* Azul oscuro */
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(23, 25, 52, 0.2);
}

.btn-action-primary:hover {
    background: #0f1124 !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(23, 25, 52, 0.3);
}

.btn-action-secondary {
    background: #6B1315 !important; /* Vinotinto */
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(107, 19, 21, 0.2);
}

.btn-action-secondary:hover {
    background: #550f11 !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(107, 19, 21, 0.3);
}

@media (max-width: 768px) {
    .timeline {
        padding-left: 45px !important;
    }
    .timeline::before {
        display: block !important;
        left: 17px !important;
    }
    .timeline-item {
        display: block !important;
    }
    .timeline-badge {
        left: -45px !important;
        width: 36px !important;
        height: 36px !important;
        font-size: 0.95rem !important;
        top: 15px !important;
    }
    .timeline-content {
        padding: 20px !important;
        width: 100% !important;
    }
    .timeline-title {
        font-size: 1.15rem;
    }
    .contact-embed-section {
        grid-template-columns: 1fr;
        gap: 30px;
        margin: 40px 0;
    }
    .contact-embed-section .embed-container {
        order: 2; /* Formulario abajo en móvil */
    }
    .contact-embed-section .info-container {
        order: 1; /* Texto arriba en móvil */
        text-align: center;
    }
    .contact-embed-section .info-title {
        font-size: 1.7rem !important;
    }
}

/* Success Modal Badges and Live Alerts */
.modal-class-tag {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 12px auto 18px auto;
    color: #fff;
}
.modal-class-tag.ingreso {
    background: var(--primary-blue);
    box-shadow: 0 3px 10px rgba(23, 25, 52, 0.2);
}
.modal-class-tag.reingreso {
    background: var(--primary-red);
    box-shadow: 0 3px 10px rgba(107, 19, 21, 0.2);
}
.modal-zoho-status {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.82rem;
    line-height: 1.5;
    margin: 15px 0;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
}
.modal-zoho-status.sync-success {
    background: #e6f7ed;
    color: #1b5e20;
    border: 1px solid #b7ebc6;
}
.modal-zoho-status.sync-warning {
    background: #fff9e6;
    color: #7a5900;
    border: 1px solid #ffe599;
}
.modal-zoho-status i {
    font-size: 1.1rem;
}

/* Input Group Prefix (Social Media Prefix Groups) */
.input-group-prefix-container {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
    transition: all 0.2s ease;
    height: 48px;
}
.input-group-prefix-container:focus-within {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(23, 25, 52, 0.08);
}
.input-prefix {
    background: #f1f5f9;
    padding: 0 14px;
    height: 100%;
    color: var(--text-light);
    font-size: 0.8rem;
    font-family: 'Poppins', sans-serif;
    border-right: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    user-select: none;
    white-space: nowrap;
}
.prefix-input {
    border: none !important;
    flex-grow: 1;
    padding: 0 12px !important;
    height: 100% !important;
    outline: none !important;
    font-size: 0.9rem !important;
    box-shadow: none !important;
}
.prefix-input:focus {
    box-shadow: none !important;
}

/* Social Media Hover Preview Tooltips */
.preview-tooltip {
    margin-top: 6px;
    font-size: 0.76rem;
    color: var(--text-light);
    display: none;
    align-items: center;
    gap: 4px;
    padding-left: 4px;
    animation: fadeIn 0.2s ease;
}
.preview-tooltip a {
    color: var(--primary-red);
    text-decoration: underline;
    font-weight: 600;
}
.preview-tooltip a:hover {
    color: var(--accent-red);
}

/* ── EMBEDDED MODE FOR WORDPRESS ── */
body.embedded {
    background: var(--bg) !important; /* Gris claro oficial de la imagen (#E1E1E1) */
    padding: 20px !important;
}
body.embedded .topbar {
    display: none !important; /* Hide direct page topbar (already provided by WordPress) */
}
body.embedded .hero {
    display: none !important; /* Hide the big hero banner to save screen space */
}
body.embedded .main {
    margin: 0 auto !important;
    padding: 0 !important;
    max-width: 100% !important; /* Let WordPress define the column width */
}
body.embedded .form-card {
    background: #ffffff !important; /* Tarjeta blanca moderna para separar los campos del fondo gris */
    box-shadow: 0 10px 40px rgba(23, 25, 52, 0.06) !important; /* Sombra sutil y elegante */
    border: 1px solid rgba(23, 25, 52, 0.05) !important;
    border-radius: 16px !important; /* Bordes redondeados elegantes */
    overflow: visible !important;
}
body.embedded .form-card-body {
    padding: 40px 32px !important; /* Padding amplio y respirable */
}
body.embedded .footer {
    display: none !important; /* Hide footer when embedded in WordPress */
}

/* Asegurar fuente Poppins en todos los elementos del formulario */
input, select, textarea, button, label, span {
    font-family: 'Poppins', sans-serif !important;
}

/* ── HORIZONTAL TIMELINE SLIDER (UX REFACTOR) ── */
.timeline-slider-container {
    max-width: 1000px;
    margin: 15px auto 45px;
    padding-top: 10px !important;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    border: none;
}

.timeline-stepper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    max-width: 800px;
    margin: 0 auto 30px;
    padding: 12px 10px 0 10px !important;
}

.timeline-stepper-line {
    position: absolute;
    top: 32px;
    left: 20px;
    right: 20px;
    height: 3px;
    background: #cbd5e1;
    z-index: 1;
}

.timeline-stepper-progress {
    position: absolute;
    top: 32px;
    left: 20px;
    height: 3px;
    background: #6B1315;
    z-index: 2;
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    width: 0%;
}

.timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 3;
    cursor: pointer;
    position: relative;
}

.timeline-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #cbd5e1;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    border: 3px solid var(--bg);
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.timeline-step.active .timeline-circle {
    color: #fff !important;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(23, 25, 52, 0.15);
}

/* Colores de pasos activos — alternados */
.timeline-step[data-step="1"].active .timeline-circle { background: #6B1315 !important; }
.timeline-step[data-step="2"].active .timeline-circle { background: #171934 !important; }
.timeline-step[data-step="3"].active .timeline-circle { background: #6B1315 !important; }
.timeline-step[data-step="4"].active .timeline-circle { background: #171934 !important; }
.timeline-step[data-step="5"].active .timeline-circle { background: #6B1315 !important; }

/* Colores de pasos ya completados */
.timeline-step.completed .timeline-circle {
    background: #171934 !important;
    color: #ffffff !important;
    border-color: var(--bg) !important;
}

.timeline-step-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: #64748b;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Poppins', sans-serif;
    transition: color 0.3s;
}

.timeline-step.active .timeline-step-label {
    font-weight: 700;
}

.timeline-step[data-step="1"].active .timeline-step-label { color: #6B1315 !important; }
.timeline-step[data-step="2"].active .timeline-step-label { color: #171934 !important; }
.timeline-step[data-step="3"].active .timeline-step-label { color: #6B1315 !important; }
.timeline-step[data-step="4"].active .timeline-step-label { color: #171934 !important; }
.timeline-step[data-step="5"].active .timeline-step-label { color: #6B1315 !important; }

.timeline-step.completed .timeline-step-label {
    color: #171934 !important;
    font-weight: 700;
}

/* Contenido de las slides */
.timeline-slides {
    position: relative;
    min-height: 180px;
}

.timeline-slide {
    display: none;
    animation: slideFadeIn 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0;
    padding: 28px 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.timeline-slide.active {
    display: block;
}

@keyframes slideFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.timeline-slide-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 22px;
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 18px;
}

.btn-timeline-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 22px;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 4px;
    border: 1.5px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.1);
    color: #ffffff;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
}

.btn-timeline-nav:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-1px);
}

.btn-timeline-nav.btn-timeline-next {
    background: #ffffff;
    color: #171934;
    border-color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.btn-timeline-nav.btn-timeline-next:hover {
    background: #f1f5f9;
    border-color: #f1f5f9;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

/* Ocultar línea vertical original */
.timeline::before {
    display: none !important;
}

.timeline-item.timeline-slide {
    display: none !important;
}
.timeline-item.timeline-slide.active {
    display: block !important;
}

/* Disable all box shadows and wrappers */
.timeline-slide {
    box-shadow: none !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

.timeline-content {
    box-shadow: none !important;
    border: none !important;
}

/* ── HERO BANNER REFACTOR (Azul oscuro #171934 con hero_graphic.png al costado derecho y por debajo de las letras) ── */
.hero {
    position: relative !important;
    background: #171934 !important;
    padding: 50px 40px !important;
    color: #ffffff !important;
    overflow: hidden !important;
    min-height: 270px !important;
    display: flex !important;
    align-items: center !important;
}

.hero-content {
    position: relative !important;
    z-index: 2 !important;
    max-width: 580px !important;
    text-align: left !important;
}

.hero-graphic-right {
    position: absolute !important;
    right: -20px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 440px !important;
    max-width: 42vw !important;
    height: auto !important;
    pointer-events: none !important;
    opacity: 0.85 !important;
    mix-blend-mode: screen !important;
    z-index: 1 !important;
}

@media (max-width: 992px) {
    .hero {
        padding: 40px 25px !important;
    }
    .hero-graphic-right {
        width: 320px !important;
        opacity: 0.6 !important;
    }
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column !important;
        text-align: center !important;
        padding: 40px 20px !important;
    }
    .hero-content {
        text-align: center !important;
        max-width: 100% !important;
    }
    .hero-graphic-right {
        position: relative !important;
        right: auto !important;
        top: auto !important;
        transform: none !important;
        width: 260px !important;
        max-width: 80% !important;
        margin-top: 15px !important;
        opacity: 0.5 !important;
    }
}








