@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,600;12..96,700;12..96,800&family=Plus+Jakarta+Sans:wght@300;400;500;600&display=swap');

/* ══════════════════════════════════════════════
   ContratosLab — Wizard Dark Theme
   Overrides Bootstrap for dark aesthetic
══════════════════════════════════════════════ */
:root {
    --wz-bg: #F8F5F5;
    --wz-bg2: #FFFFFF;
    --wz-bg3: #EEE9E9;
    --wz-white: #FFFFFF;
    --wz-text: #1A1F2E;
    --wz-mid: #64748B;
    --wz-line: #E5DFE0;
    --wz-line2: #D6CCCC;
    --wz-red: #871621;
    --wz-red-h: #9E1B25;
}

.wz-body {
    background: var(--wz-bg) !important;
    color: var(--wz-text) !important;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

/* ── WIZARD HEADER / PROGRESS ─────────────────── */
.wz-header {
    background: var(--wz-bg2);
    border-bottom: 1px solid var(--wz-line);
    padding: 0 56px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.wz-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.wz-logo img {
    height: 77px;
    width: auto;
    display: block;
    filter: none;
}

.wz-logo {
    text-decoration: none;
}

.wz-header-tag {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--wz-mid);
}

.wz-progress {
    display: flex;
    align-items: center;
    padding: 16px 0;
    gap: 0;
}

.wz-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
}

.wz-step-connector {
    position: absolute;
    top: 14px;
    left: calc(-50% + 16px);
    right: calc(50% + 16px);
    height: 1px;
    background: var(--wz-line2);
}

    .wz-step-connector.done {
        background: var(--wz-red);
    }

.wz-step-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    font-family: 'Plus Jakarta Sans', sans-serif;
    position: relative;
    z-index: 1;
    border: 1px solid var(--wz-line2);
    background: var(--wz-bg2);
    color: var(--wz-mid);
    transition: all 0.2s;
}

    .wz-step-dot.active {
        background: var(--wz-red);
        color: #fff;
        border-color: var(--wz-red);
    }

    .wz-step-dot.done {
        background: transparent;
        color: var(--wz-red);
        border-color: var(--wz-red);
    }

.wz-step-label {
    font-size: 10px;
    margin-top: 6px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 400;
    color: var(--wz-mid);
    white-space: nowrap;
    letter-spacing: 0.5px;
}

    .wz-step-label.active {
        color: var(--wz-text);
        font-weight: 500;
    }

    .wz-step-label.done {
        color: var(--wz-red);
    }

/* ── CONTENT WRAPPER ──────────────────────────── */
.wizard-content {
    max-width: 780px !important;
    margin: 0 auto !important;
    padding: 48px 28px !important;
}

/* ── PAGE TITLES ──────────────────────────────── */
.wz-body h1 {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 36px !important;
    font-weight: 300 !important;
    color: var(--wz-white) !important;
    margin-bottom: 8px !important;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

    .wz-body h1 em {
        font-style: italic;
        color: #E8A0A0;
    }

.wz-body p.wz-sub {
    font-size: 15px !important;
    font-weight: 300 !important;
    color: var(--wz-mid) !important;
    margin-bottom: 36px !important;
    line-height: 1.6;
}

/* ── SECTION LABELS ───────────────────────────── */
/* ── SECTION LABELS ───────────────────────────── */
/* Solo .section-label (clase legacy). NO incluir .wz-label aquí —
   .wz-label es para los labels arriba de cada input y se estiliza
   más abajo (línea ~1026). */
.wz-body .section-label {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 10px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 2.5px !important;
    color: var(--wz-red) !important;
    margin-bottom: 16px !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid var(--wz-line) !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ── FORM CONTROLS ────────────────────────────── */
.wz-body .form-label,
.wz-body label.form-label {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    color: var(--wz-mid) !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 6px !important;
}

.wz-body .fw-semibold.form-label {
    font-weight: 500 !important;
}

.wz-body .form-control,
.wz-body .form-select {
    background: var(--wz-bg3) !important;
    border: 1px solid var(--wz-line2) !important;
    color: var(--wz-text) !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 14px !important;
    font-weight: 300 !important;
    padding: 12px 14px !important;
    border-radius: 0 !important;
    transition: border-color 0.2s !important;
    box-shadow: none !important;
}

    .wz-body .form-control::placeholder {
        color: rgba(226,223,216,0.25) !important;
    }

    .wz-body .form-control:focus,
    .wz-body .form-select:focus {
        border-color: var(--wz-red) !important;
        box-shadow: none !important;
        background: var(--wz-bg3) !important;
        color: var(--wz-text) !important;
    }

    .wz-body .form-select option {
        background: var(--wz-bg3);
        color: var(--wz-text);
    }

.wz-body .form-check-input {
    background-color: var(--wz-bg3) !important;
    border-color: var(--wz-line2) !important;
}

    .wz-body .form-check-input:checked {
        background-color: var(--wz-red) !important;
        border-color: var(--wz-red) !important;
    }

.wz-body .text-danger {
    color: #F08080 !important;
    font-size: 12px !important;
}

/* ── TOGGLE BUTTONS ───────────────────────────── */
.wz-body .toggle-empresa {
    border: 1px solid var(--wz-line2) !important;
    border-radius: 0 !important;
    overflow: hidden;
}

.wz-body .toggle-btn {
    color: var(--wz-mid) !important;
    background: var(--wz-bg3) !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    padding: 12px !important;
    border: none !important;
    transition: all 0.2s !important;
}

    .wz-body .toggle-btn:hover {
        background: var(--wz-bg2) !important;
        color: var(--wz-text) !important;
    }

    .wz-body .toggle-btn.active {
        background: var(--wz-red) !important;
        color: #fff !important;
    }

/* ── SELECTION CARDS ──────────────────────────── */
.wz-body .tipo-card {
    border: 1px solid var(--wz-line2) !important;
    border-radius: 0 !important;
    background: var(--wz-bg2) !important;
    color: var(--wz-text) !important;
    padding: 28px 20px !important;
    transition: all 0.2s !important;
    text-align: center;
}

    .wz-body .tipo-card:hover {
        border-color: var(--wz-red) !important;
        background: var(--wz-bg3) !important;
    }

    .wz-body .tipo-card.selected {
        border-color: var(--wz-red) !important;
        background: rgba(155,32,32,0.08) !important;
    }

.wz-body .tipo-icon {
    font-size: 32px !important;
    margin-bottom: 16px !important;
}

    .wz-body .tipo-icon i {
        color: var(--wz-red) !important;
    }

.wz-body .tipo-card div[style*="cl-navy"] {
    color: var(--wz-white) !important;
}

.wz-body .tipo-card div[style*="cl-gray-600"] {
    color: var(--wz-mid) !important;
}

.wz-body .tipo-card span[style*="cl-blue-lt"] {
    background: rgba(155,32,32,0.15) !important;
    color: #E8A0A0 !important;
    border-radius: 0 !important;
    font-size: 10px !important;
    letter-spacing: 1px;
}

/* AFP / Salud cards */
.wz-body .prevision-card {
    border: 1px solid var(--wz-line2) !important;
    border-radius: 0 !important;
    background: var(--wz-bg2) !important;
    color: var(--wz-text) !important;
    padding: 16px !important;
    transition: all 0.2s !important;
}

    .wz-body .prevision-card:hover {
        border-color: var(--wz-red) !important;
    }

    .wz-body .prevision-card.selected {
        border-color: var(--wz-red) !important;
        background: rgba(155,32,32,0.08) !important;
    }

/* Data review cards */
.wz-body .data-card {
    background: var(--wz-bg2) !important;
    border: 1px solid var(--wz-line) !important;
    border-radius: 0 !important;
    padding: 24px !important;
    margin-bottom: 16px !important;
}

.wz-body .data-row {
    border-bottom: 1px solid var(--wz-line) !important;
}

.wz-body .data-label {
    color: var(--wz-mid) !important;
}

.wz-body .data-val {
    color: var(--wz-white) !important;
    font-weight: 400 !important;
}

/* Firma options */
.wz-body .firma-option {
    border: 1px solid var(--wz-line2) !important;
    border-radius: 0 !important;
    background: var(--wz-bg2) !important;
    color: var(--wz-text) !important;
    padding: 24px !important;
    transition: all 0.2s !important;
}

    .wz-body .firma-option:hover {
        border-color: var(--wz-red) !important;
    }

    .wz-body .firma-option.selected {
        border-color: var(--wz-red) !important;
        background: rgba(155,32,32,0.08) !important;
    }

.wz-body .firma-fea.selected {
    border-color: #4A7C5F !important;
    background: rgba(74,124,95,0.08) !important;
}

/* ── SUELDO DISPLAY ───────────────────────────── */
.wz-body .sueldo-display {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 48px !important;
    font-weight: 300 !important;
    font-style: italic !important;
    color: var(--wz-white) !important;
}

/* ── NAVIGATION BUTTONS ───────────────────────── */
.wz-body .btn-primary-cl,
.wz-btn-primary {
    background: var(--wz-red) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 0 !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    letter-spacing: 1px !important;
    padding: 13px 28px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: background 0.2s !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}

    .wz-body .btn-primary-cl:hover,
    .wz-btn-primary:hover {
        background: var(--wz-red-h) !important;
        color: #fff !important;
    }

.wz-body .btn-secondary-cl,
.wz-btn-secondary {
    background: transparent !important;
    color: var(--wz-mid) !important;
    border: 1px solid var(--wz-line2) !important;
    border-radius: 0 !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    letter-spacing: 0.5px !important;
    padding: 13px 24px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}

    .wz-body .btn-secondary-cl:hover,
    .wz-btn-secondary:hover {
        color: var(--wz-text) !important;
        border-color: rgba(226,223,216,0.35) !important;
    }

/* ── HELPER TEXT ──────────────────────────────── */
.wz-body small,
.wz-body .small {
    color: var(--wz-mid) !important;
    font-size: 12px !important;
}

.wz-body [style*="cl-gray-400"],
.wz-body [style*="cl-gray-600"] {
    color: var(--wz-mid) !important;
}

/* ── STATUS TRACKER (Exito) ───────────────────── */
.wz-body .step-dot.step-done {
    background: var(--wz-red) !important;
    color: #fff !important;
}

.wz-body .step-dot.step-pending {
    background: var(--wz-bg3) !important;
    color: var(--wz-mid) !important;
}

.wz-body .step-line.line-done {
    background: var(--wz-red) !important;
}

.wz-body .step-line.line-pending {
    background: var(--wz-line) !important;
}

/* ── INFO BOXES (estado documento) ───────────────*/
.wz-body [style*="cl-navy"][style*="border-radius:16px"],
.wz-body [style*="cl-navy"][style*="border-radius"] {
    background: var(--wz-bg3) !important;
    border: 1px solid var(--wz-line) !important;
    border-radius: 0 !important;
}

/* ── INDEX HERO ───────────────────────────────── */
.wz-hero {
    background: var(--wz-bg);
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

    .wz-hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(ellipse at 70% 50%, rgba(155,32,32,0.06) 0%, transparent 70%);
        pointer-events: none;
    }

.wz-hero-content {
    position: relative;
    z-index: 1;
    padding: 100px 56px;
    max-width: 760px;
}

.wz-hero h1 {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: clamp(52px, 7vw, 96px) !important;
    font-weight: 300 !important;
    line-height: 0.95 !important;
    letter-spacing: -2px !important;
    color: var(--wz-white) !important;
    margin-bottom: 28px !important;
}

    .wz-hero h1 em {
        font-style: italic;
        color: #E8A0A0;
        display: block;
    }

.wz-hero p {
    font-size: 17px;
    font-weight: 300;
    color: var(--wz-mid);
    max-width: 480px;
    line-height: 1.75;
    margin-bottom: 44px;
}

.wz-tipos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--wz-line);
    border: 1px solid var(--wz-line);
    margin-top: 56px;
}

.wz-tipo-card {
    background: var(--wz-bg2);
    padding: 32px 24px;
    text-decoration: none;
    color: var(--wz-text);
    display: block;
    transition: background 0.2s;
}

    .wz-tipo-card:hover {
        background: var(--wz-bg3);
    }

        .wz-tipo-card:hover .wz-tipo-name {
            color: var(--wz-white);
        }

.wz-tipo-art {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--wz-red);
    margin-bottom: 12px;
}

.wz-tipo-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-weight: 400;
    color: rgba(226,223,216,0.85);
    margin-bottom: 8px;
    transition: color 0.2s;
}

.wz-tipo-desc {
    font-size: 13px;
    font-weight: 300;
    color: var(--wz-mid);
    line-height: 1.6;
}

.wz-tipo-arrow {
    font-size: 18px;
    color: var(--wz-line);
    margin-top: 16px;
    display: block;
}

.wz-tipo-card:hover .wz-tipo-arrow {
    color: var(--wz-red);
}

.wz-pasos-section {
    background: var(--wz-bg2);
    padding: 80px 56px;
    border-top: 1px solid var(--wz-line);
    border-bottom: 1px solid var(--wz-line);
}

.wz-pasos-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1px;
    max-width: 900px;
    margin: 48px auto 0;
}

.wz-paso-item {
    text-align: center;
    padding: 24px 16px;
    position: relative;
}

    .wz-paso-item::after {
        content: '→';
        position: absolute;
        right: -12px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--wz-line);
        font-size: 16px;
    }

    .wz-paso-item:last-child::after {
        display: none;
    }

.wz-paso-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 40px;
    font-weight: 300;
    font-style: italic;
    color: var(--wz-red);
    opacity: 0.6;
    line-height: 1;
    margin-bottom: 12px;
}

.wz-paso-title {
    font-size: 13px;
    font-weight: 500;
    color: var(--wz-text);
    margin-bottom: 4px;
}

.wz-paso-desc {
    font-size: 12px;
    font-weight: 300;
    color: var(--wz-mid);
    line-height: 1.5;
}

.wz-firma-section {
    padding: 80px 56px;
    background: var(--wz-bg);
    border-top: 1px solid var(--wz-line);
}

.wz-firma-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--wz-line);
    border: 1px solid var(--wz-line);
}

.wz-firma-card {
    background: var(--wz-bg2);
    padding: 40px 32px;
}

.wz-firma-tier {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--wz-red);
    margin-bottom: 16px;
}

.wz-firma-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    font-weight: 400;
    color: var(--wz-white);
    margin-bottom: 12px;
}

.wz-firma-card p {
    font-size: 14px;
    font-weight: 300;
    color: var(--wz-mid);
    line-height: 1.7;
}

.wz-cta-strip {
    background: var(--wz-red);
    padding: 64px 56px;
    text-align: center;
}

    .wz-cta-strip h2 {
        font-family: 'Cormorant Garamond', serif;
        font-size: clamp(36px, 5vw, 64px);
        font-weight: 300;
        color: #fff;
        margin-bottom: 12px;
        font-style: italic;
    }

    .wz-cta-strip p {
        font-size: 16px;
        font-weight: 300;
        color: rgba(255,255,255,0.65);
        margin-bottom: 36px;
    }

.wz-btn-white {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--wz-red);
    background: #fff;
    padding: 15px 36px;
    text-decoration: none;
    transition: all 0.2s;
    display: inline-block;
}

    .wz-btn-white:hover {
        background: rgba(255,255,255,0.9);
        color: var(--wz-red);
    }

.wz-footer {
    background: var(--wz-bg2);
    border-top: 1px solid var(--wz-line);
    padding: 32px 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .wz-footer img {
        height: 36px;
        width: auto;
        filter: none;
        opacity: 0.5;
    }

.wz-footer-text {
    font-size: 12px;
    font-weight: 300;
    color: var(--wz-mid);
}

.wz-footer-link {
    font-size: 12px;
    color: var(--wz-mid);
    text-decoration: none;
    transition: color 0.15s;
}

    .wz-footer-link:hover {
        color: var(--wz-text);
    }

/* ── SUCCESS PAGE ─────────────────────────────── */
.wz-success {
    max-width: 620px;
    margin: 0 auto;
    padding: 80px 28px;
    text-align: center;
}

.wz-success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid var(--wz-red);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
    font-size: 32px;
    color: var(--wz-red);
    animation: wz-pop 0.5s ease-out;
}

@keyframes wz-pop {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    70% {
        transform: scale(1.08);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.wz-success h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 52px;
    font-weight: 300;
    color: var(--wz-white);
    margin-bottom: 16px;
}

.wz-success p {
    font-size: 16px;
    font-weight: 300;
    color: var(--wz-mid);
    line-height: 1.75;
    margin-bottom: 40px;
}

.wz-success-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── RESPONSIVE ───────────────────────────────── */
@media (max-width: 768px) {
    .wz-header {
        padding: 0 20px;
    }

    .wz-hero-content {
        padding: 80px 20px;
    }

    .wz-tipos-grid {
        grid-template-columns: 1fr;
    }

    .wz-pasos-grid {
        grid-template-columns: 1fr 1fr;
    }

    .wz-pasos-section, .wz-firma-section, .wz-cta-strip, .wz-footer {
        padding: 56px 20px;
    }

    .wz-firma-grid {
        grid-template-columns: 1fr;
    }

    .wizard-content {
        padding: 32px 20px !important;
    }
}

/* ══════════════════════════════════════════════
   Additions — shared page chrome for wizard steps
══════════════════════════════════════════════ */

.wz-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 44px 24px 60px;
}

.wz-title {
    font-family: 'Bricolage Grotesque', 'Outfit', system-ui, sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--wz-text);
    margin-bottom: 8px;
    letter-spacing: -.3px;
}

.wz-sub {
    font-size: 14px;
    color: var(--wz-mid);
    margin-bottom: 28px;
    line-height: 1.6;
}

.wz-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 32px;
    margin-top: 28px;
    border-top: 1px solid var(--wz-line);
}

/* Primary CTA */
.wz-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--wz-red);
    color: #fff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 11px 28px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: background .15s;
    letter-spacing: .2px;
}

    .wz-btn-primary:hover {
        background: var(--wz-red-h);
        color: #fff;
    }

/* Ghost back button */
.wz-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: var(--wz-mid);
    text-decoration: none;
    padding: 10px 0;
    transition: color .15s;
}

    .wz-btn-ghost:hover {
        color: var(--wz-text);
    }

/* Divider */
.wz-divider {
    border: none;
    border-top: 1px solid var(--wz-line);
    margin: 28px 0;
}

/* ══════════════════════════════════════════════
   Form system — replaces Bootstrap form classes
══════════════════════════════════════════════ */

/* ── Grid rows ── */
.wz-row {
    display: grid;
    gap: 24px;
    margin-bottom: 32px;
}

    .wz-row.cols-2 {
        grid-template-columns: 1fr 1fr;
    }

    .wz-row.cols-3 {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .wz-row.cols-13 {
        grid-template-columns: 1fr 2fr;
    }

    .wz-row.cols-23 {
        grid-template-columns: 2fr 1fr;
    }

    .wz-row.cols-112 {
        grid-template-columns: 1fr 1fr 2fr;
    }

    .wz-row.cols-121 {
        grid-template-columns: 1fr 2fr 1fr;
    }

.wz-span-full {
    grid-column: 1 / -1;
}

/* ── Section label ── */
.wz-section {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--wz-mid);
    margin-bottom: 22px;
    margin-top: 44px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--wz-line);
    display: flex;
    align-items: center;
    gap: 8px;
}
    /* La primera sección de cada formulario no necesita margen superior extra */
    .wz-section:first-of-type,
    form > .wz-section:first-child,
    .wz-content > .wz-section:first-child {
        margin-top: 12px;
    }

    .wz-section i {
        font-size: 12px;
    }

/* ── Field ── */
.wz-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wz-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--wz-text);
    letter-spacing: .1px;
}

    .wz-label span.req {
        color: var(--wz-red);
        margin-left: 2px;
    }

/* ── Controls ── */
.wz-input,
.wz-select,
.wz-textarea {
    width: 100%;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: 14px;
    color: var(--wz-text);
    background: var(--wz-bg2);
    border: 1.5px solid var(--wz-line2);
    border-radius: 7px;
    padding: 9px 13px;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
    appearance: none;
}

    .wz-input:focus,
    .wz-select:focus,
    .wz-textarea:focus {
        border-color: var(--wz-red);
        box-shadow: 0 0 0 3px rgba(135, 22, 33, .09);
    }

    .wz-input::placeholder {
        color: rgba(100, 116, 139, .55);
    }

.wz-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
    cursor: pointer;
}

.wz-textarea {
    resize: vertical;
    min-height: 80px;
}

/* Input with prefix/suffix */
.wz-input-group {
    display: flex;
    border: 1.5px solid var(--wz-line2);
    border-radius: 7px;
    overflow: hidden;
    transition: border-color .15s;
}

    .wz-input-group:focus-within {
        border-color: var(--wz-red);
    }

    .wz-input-group .wz-input {
        border: none;
        border-radius: 0;
        box-shadow: none;
        flex: 1;
    }

        .wz-input-group .wz-input:focus {
            box-shadow: none;
        }

.wz-pfx, .wz-sfx {
    display: flex;
    align-items: center;
    padding: 0 12px;
    background: var(--wz-bg3);
    font-size: 13px;
    font-weight: 600;
    color: var(--wz-mid);
    white-space: nowrap;
    flex-shrink: 0;
}

/* ── Hint & error ── */
.wz-hint {
    font-size: 11px;
    color: var(--wz-mid);
    margin-top: 3px;
}

.wz-err {
    font-size: 11px;
    color: #C0392B;
    margin-top: 3px;
}

/* ── Toggle (persona / empresa) ── */
.wz-toggle {
    display: flex;
    border: 1.5px solid var(--wz-line2);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.wz-toggle-btn {
    flex: 1;
    padding: 10px 16px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    background: transparent;
    transition: all .15s;
    color: var(--wz-mid);
    font-family: 'Plus Jakarta Sans', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

    .wz-toggle-btn.active {
        background: var(--wz-red);
        color: #fff;
    }

    .wz-toggle-btn:not(.active):hover {
        background: var(--wz-bg3);
        color: var(--wz-text);
    }

/* ── Selectable card (AFP, salud, firma) ── */
.wz-card-sel {
    border: 1.5px solid var(--wz-line2);
    border-radius: 10px;
    padding: 14px 16px;
    cursor: pointer;
    transition: border-color .15s, background .15s;
    text-align: center;
    display: block;
    position: relative;
    background: var(--wz-bg2);
}

    .wz-card-sel:hover {
        border-color: var(--wz-red);
        background: #FDF2F2;
    }

    .wz-card-sel.selected {
        border-color: var(--wz-red);
        background: #FDF2F2;
    }

    .wz-card-sel input {
        position: absolute;
        opacity: 0;
        width: 0;
        height: 0;
    }

    .wz-card-sel .cs-name {
        font-weight: 700;
        font-size: 13px;
        color: var(--wz-text);
    }

    .wz-card-sel .cs-sub {
        font-size: 11px;
        color: var(--wz-mid);
        margin-top: 3px;
    }

    .wz-card-sel .cs-icon {
        font-size: 26px;
        display: block;
        margin-bottom: 8px;
    }

/* card grid for AFP (4 columns) */
.wz-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.wz-card-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

/* ── Checkbox ── */
.wz-check-wrap {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    border: 1.5px solid var(--wz-line);
    border-radius: 8px;
    cursor: pointer;
}

    .wz-check-wrap input[type=checkbox] {
        width: 17px;
        height: 17px;
        accent-color: var(--wz-red);
        cursor: pointer;
        flex-shrink: 0;
        margin-top: 2px;
    }

.wz-check-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--wz-text);
}

/* ── Data review card ── */
.wz-data-card {
    background: var(--wz-bg2);
    border: 1px solid var(--wz-line);
    border-radius: 10px;
    padding: 18px 20px;
    margin-bottom: 14px;
    position: relative;
}

.wz-data-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 6px 0;
    border-bottom: 1px solid var(--wz-line);
    font-size: 13.5px;
    gap: 12px;
}

    .wz-data-row:last-child {
        border: none;
    }

.wz-data-lbl {
    color: var(--wz-mid);
    flex-shrink: 0;
}

.wz-data-val {
    font-weight: 600;
    text-align: right;
}

.wz-edit-link {
    position: absolute;
    top: 16px;
    right: 18px;
    font-size: 12px;
    color: var(--wz-red);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

    .wz-edit-link:hover {
        opacity: .7;
    }

/* ── Info box ── */
.wz-info-box {
    background: #EFF6FF;
    border: 1px solid rgba(59,130,246,.2);
    border-radius: 9px;
    padding: 14px 16px;
    font-size: 13px;
    color: #1E3A5F;
    margin-bottom: 24px;
    line-height: 1.5;
}

    .wz-info-box i {
        color: #3B82F6;
    }

/* ── Success CTA button ── */
.wz-btn-success {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: #1A6B42;
    color: #fff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    padding: 13px 32px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: background .15s;
    letter-spacing: .2px;
}

    .wz-btn-success:hover {
        background: #14573A;
    }

    .wz-btn-success:disabled {
        opacity: .5;
        cursor: default;
    }

/* ── Sueldo display ── */
.wz-sueldo-display {
    font-family: 'Bricolage Grotesque', 'Outfit', sans-serif;
    font-size: 30px;
    font-weight: 800;
    color: #1A6B42;
    line-height: 1.1;
}

/* ── Amount block ── */
.wz-amount-block {
    background: var(--wz-bg);
    border: 1px solid var(--wz-line);
    border-radius: 9px;
    padding: 18px 20px;
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 620px) {
    .wz-row.cols-2,
    .wz-row.cols-3,
    .wz-row.cols-13,
    .wz-row.cols-23,
    .wz-row.cols-112,
    .wz-row.cols-121 {
        grid-template-columns: 1fr;
    }

    .wz-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .wz-card-grid-2 {
        grid-template-columns: 1fr;
    }
}

/* ── Header nav links (Blog, Quiénes somos) ── */
.wz-nav-links {
    display: flex;
    gap: 20px;
}

.wz-nav-link {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 12px;
    color: var(--wz-mid);
    text-decoration: none;
    letter-spacing: .2px;
    transition: color .15s;
}

    .wz-nav-link:hover {
        color: var(--wz-text);
    }

/* Chat dot animation */
@keyframes blink {
    0%,100% {
        opacity: 1
    }

    50% {
        opacity: .3
    }
}
