.ct-landing {
    --ct-accent: #d71920;
    --ct-accent-dark: #8f1116;
    --ct-ink: #151515;
    --ct-muted: #646464;
    --ct-line: #ececec;
    max-width: 1080px;
    margin: 0 auto;
    padding: 28px 16px 38px;
    color: var(--ct-ink);
}
.ct-landing * { box-sizing: border-box; }
.ct-landing [hidden],
.ct-progress-step[hidden],
.ct-prequal-progress[hidden],
[data-optional-prequal][hidden] {
    display: none !important;
}

.ct-hero, .ct-card, .ct-alert, .ct-steps {
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 16px 44px rgba(15, 15, 15, .08);
    margin-bottom: 18px;
}
.ct-hero-v13 {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    align-items: center;
    gap: 24px;
    padding: 34px;
    background:
        radial-gradient(circle at 12% 20%, rgba(255,255,255,.22), transparent 26%),
        linear-gradient(135deg, var(--ct-accent), var(--ct-accent-dark));
    color: #fff;
}
.ct-hero-v13:after {
    content: '';
    position: absolute;
    right: -80px;
    bottom: -110px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
}
.ct-hero-content, .ct-hero-panel { position: relative; z-index: 1; }
.ct-kicker {
    text-transform: uppercase;
    letter-spacing: .10em;
    font-weight: 800;
    opacity: .92;
    margin: 0 0 8px;
    font-size: 12px;
}
.ct-hero h2 {
    color: #fff;
    margin: 0 0 10px;
    font-size: clamp(30px, 5vw, 48px);
    line-height: 1.02;
    letter-spacing: -.04em;
}
.ct-hero p { margin: 0; max-width: 680px; font-size: 16px; line-height: 1.6; opacity: .95; }
.ct-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.ct-hero-actions span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.16);
    border: 1px solid rgba(255,255,255,.22);
    font-size: 13px;
    font-weight: 800;
}
.ct-hero-panel {
    padding: 22px;
    border-radius: 22px;
    background: rgba(255,255,255,.16);
    border: 1px solid rgba(255,255,255,.25);
    backdrop-filter: blur(10px);
    display: grid;
    gap: 8px;
    min-height: 160px;
    align-content: center;
}
.ct-hero-panel-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--ct-accent);
    font-weight: 900;
    letter-spacing: -.03em;
}
.ct-hero-panel strong { font-size: 20px; }
.ct-hero-panel small { line-height: 1.4; opacity: .92; }
.ct-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding: 14px;
    background: #fafafa;
    border: 1px solid var(--ct-line);
}
.ct-steps span {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 16px;
    background: #fff;
    color: var(--ct-muted);
    font-weight: 800;
    font-size: 13px;
}
.ct-steps strong {
    display: inline-flex;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: var(--ct-accent);
    color: #fff;
    font-size: 13px;
}
.ct-alert {
    display: grid;
    gap: 4px;
    padding: 20px 22px;
    border-left: 6px solid var(--ct-accent);
}
.ct-alert span { color: var(--ct-muted); }
.ct-alert-success { border-left-color: #1f8f4d; }
.ct-alert-error { border-left-color: #c62828; }
.ct-alert-info { border-left-color: var(--ct-accent); }
.ct-card {
    padding: 26px;
    border: 1px solid var(--ct-line);
}
.ct-section-title {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 20px;
}
.ct-section-title > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--ct-accent), var(--ct-accent-dark));
    color: #fff;
    font-weight: 900;
    box-shadow: 0 8px 20px rgba(215,25,32,.24);
}
.ct-section-title h3 { margin: 0 0 4px; font-size: 22px; letter-spacing: -.02em; }
.ct-section-title p { margin: 0; color: var(--ct-muted); line-height: 1.45; }
.ct-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.ct-field { display: grid; gap: 6px; margin-bottom: 16px; }
.ct-form label {
    font-weight: 800;
    display: block;
    margin-bottom: 7px;
    color: #222;
}
.ct-form input[type="text"],
.ct-form input[type="email"],
.ct-form input[type="tel"],
.ct-form input[type="file"],
.ct-form select,
.ct-form textarea {
    width: 100%;
    border: 1px solid #dcdcdc;
    border-radius: 16px;
    padding: 14px 15px;
    background: #fff;
    color: #151515;
    font-size: 15px;
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.ct-form select { min-height: 52px; cursor: pointer; }
.ct-form textarea { resize: vertical; min-height: 120px; }
.ct-form input:focus,
.ct-form select:focus,
.ct-form textarea:focus {
    border-color: var(--ct-accent);
    box-shadow: 0 0 0 4px rgba(215,25,32,.10);
}
.ct-file-box {
    border: 1px dashed rgba(215,25,32,.45);
    border-radius: 18px;
    padding: 16px;
    background: linear-gradient(180deg, rgba(215,25,32,.035), rgba(255,255,255,1));
}
.ct-file-box input[type="file"] {
    border: 0;
    padding: 6px 0;
    border-radius: 0;
    background: transparent;
}
.ct-file-box small,
.ct-file-name {
    display: block;
    margin-top: 8px;
    color: var(--ct-muted);
    line-height: 1.4;
}
.ct-file-name { font-weight: 800; color: #222; }
.ct-checkbox {
    display: flex !important;
    gap: 10px;
    align-items: flex-start;
    margin: 18px 0;
    font-weight: 500 !important;
    line-height: 1.45;
    color: var(--ct-muted);
}
.ct-checkbox input { margin-top: 4px; accent-color: var(--ct-accent); }
.ct-submit {
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--ct-accent), var(--ct-accent-dark));
    color: #fff;
    padding: 16px 26px;
    font-weight: 900;
    cursor: pointer;
    width: 100%;
    min-height: 54px;
    font-size: 16px;
    box-shadow: 0 12px 26px rgba(215,25,32,.26);
    transition: transform .18s ease, box-shadow .18s ease;
}
.ct-submit:hover { transform: translateY(-1px); box-shadow: 0 16px 30px rgba(215,25,32,.30); }
.ct-position-description {
    display: none;
    margin-top: 18px;
    padding: 20px;
    border-radius: 20px;
    background: #fafafa;
    border: 1px solid var(--ct-line);
}
.ct-position-description.is-visible { display: block; }
.ct-position-description h4 { margin: 0 0 8px; font-size: 20px; }
.ct-position-description h5 { margin: 16px 0 8px; font-size: 15px; color: #222; }
.ct-position-description p { margin: 0 0 12px; color: var(--ct-muted); line-height: 1.55; }
.ct-position-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.ct-position-meta span {
    background: #fff;
    border-radius: 999px;
    padding: 7px 11px;
    border: 1px solid #e5e5e5;
    font-size: 13px;
    color: #333;
}
.ct-hp { position: absolute !important; left: -9999px !important; opacity: 0 !important; }
@media (max-width: 860px) {
    .ct-hero-v13 { grid-template-columns: 1fr; padding: 28px 22px; }
    .ct-hero-panel { min-height: auto; }
    .ct-steps { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .ct-grid { grid-template-columns: 1fr; gap: 0; }
    .ct-landing { padding: 16px 10px 28px; }
    .ct-hero, .ct-card, .ct-alert, .ct-steps { border-radius: 18px; }
    .ct-card, .ct-alert { padding: 18px; }
    .ct-hero h2 { font-size: 34px; }
    .ct-hero-actions { gap: 8px; }
    .ct-hero-actions span { width: 100%; justify-content: center; }
    .ct-section-title h3 { font-size: 20px; }
    .ct-submit { position: sticky; bottom: 12px; z-index: 5; }
}

/* V1.3.1 - Formulario modular por pasos */
.ct-wizard {
    display: grid;
    gap: 18px;
}
.ct-progress {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    padding: 18px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid var(--ct-line);
    box-shadow: 0 16px 44px rgba(15, 15, 15, .08);
    overflow: hidden;
}
.ct-progress-line {
    position: absolute;
    left: 42px;
    right: 42px;
    top: 36px;
    height: 4px;
    border-radius: 999px;
    background: #f0f0f0;
    overflow: hidden;
    z-index: 0;
}
.ct-progress-line span {
    display: block;
    height: 100%;
    width: 25%;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--ct-accent), var(--ct-accent-dark));
    transition: width .22s ease;
}
.ct-progress-step {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 8px;
    justify-items: center;
    border: 0;
    background: transparent;
    color: var(--ct-muted);
    font-weight: 900;
    cursor: default;
    padding: 0;
    text-align: center;
}
.ct-progress-step strong {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f5f5f5;
    border: 1px solid #e8e8e8;
    color: var(--ct-muted);
    box-shadow: 0 8px 18px rgba(0,0,0,.04);
    transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.ct-progress-step span {
    font-size: 13px;
}
.ct-progress-step.is-active strong,
.ct-progress-step.is-complete strong {
    background: linear-gradient(135deg, var(--ct-accent), var(--ct-accent-dark));
    border-color: transparent;
    color: #fff;
}
.ct-progress-step.is-active { color: #222; }
.ct-step-panel {
    animation: ctStepIn .18s ease;
}
.ct-step-panel[hidden] {
    display: none !important;
}
@keyframes ctStepIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
.ct-step-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: flex-end;
    margin-top: 22px;
}
.ct-next,
.ct-back {
    border: 0;
    border-radius: 999px;
    min-height: 48px;
    padding: 13px 22px;
    font-weight: 900;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.ct-next {
    background: linear-gradient(135deg, var(--ct-accent), var(--ct-accent-dark));
    color: #fff;
    box-shadow: 0 12px 26px rgba(215,25,32,.22);
}
.ct-back {
    background: #f3f3f3;
    color: #222;
}
.ct-next:hover,
.ct-back:hover {
    transform: translateY(-1px);
}
.ct-review-box {
    display: grid;
    gap: 10px;
    padding: 18px;
    border-radius: 20px;
    background: #fafafa;
    border: 1px solid var(--ct-line);
}
.ct-review-box > div {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 10px 0;
    border-bottom: 1px solid #ececec;
}
.ct-review-box > div:last-child {
    border-bottom: 0;
}
.ct-review-box strong {
    color: #222;
}
.ct-review-box span {
    color: var(--ct-muted);
    overflow-wrap: anywhere;
}
.ct-field-invalid,
.ct-form input.ct-field-invalid,
.ct-form select.ct-field-invalid,
.ct-form textarea.ct-field-invalid {
    border-color: #c62828 !important;
    box-shadow: 0 0 0 4px rgba(198, 40, 40, .10) !important;
}
.ct-submit:disabled {
    opacity: .72;
    cursor: wait;
    transform: none;
}
@media (max-width: 720px) {
    .ct-progress {
        grid-template-columns: repeat(5, 1fr);
        gap: 6px;
        padding: 14px 10px;
        border-radius: 18px;
    }
    .ct-progress-line {
        left: 28px;
        right: 28px;
        top: 31px;
    }
    .ct-progress-step strong {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }
    .ct-progress-step span {
        font-size: 11px;
    }
    .ct-step-actions {
        display: grid;
        grid-template-columns: 1fr;
    }
    .ct-step-actions .ct-back {
        order: 2;
    }
    .ct-step-actions .ct-next,
    .ct-step-actions .ct-submit {
        order: 1;
        width: 100%;
    }
    .ct-review-box > div {
        grid-template-columns: 1fr;
        gap: 4px;
    }
    .ct-submit {
        position: static;
    }
}

/* V2.0.3 - filtros iniciales y preguntas adicionales */
.ct-field-help {
    margin: -2px 0 10px;
    color: var(--ct-muted);
    line-height: 1.45;
}
.ct-radio-options {
    display: grid;
    gap: 10px;
}
.ct-radio-options label {
    display: flex !important;
    gap: 10px;
    align-items: center;
    border: 1px solid #e5e5e5;
    background: #fff;
    border-radius: 16px;
    padding: 12px 14px;
    font-weight: 750 !important;
    color: #333;
    margin: 0 !important;
}
.ct-radio-options input { accent-color: var(--ct-accent); }
.ct-position-extra-note {
    display: grid;
    gap: 3px;
    margin-top: 14px;
    padding: 13px 14px;
    border-radius: 16px;
    background: #fff8f8;
    border: 1px solid rgba(215,25,32,.14);
    color: #333;
}
.ct-position-extra-note span { color: var(--ct-muted); }
.ct-prequal-public {
    display: grid;
    gap: 16px;
}
.ct-prequal-question {
    display: grid;
    gap: 7px;
    padding: 16px;
    border-radius: 18px;
    background: #fafafa;
    border: 1px solid var(--ct-line);
}
.ct-prequal-question label {
    margin-bottom: 0;
}
.ct-review-prequal-row span {
    white-space: pre-wrap;
}
