:root {
            --brand: #51A2DA;
            --brand-dark: #004A86;
            --accent: #b45309;
            --ink: #1f2937;
            --muted: #64748b;
            --line: #dbe3ea;
            --soft: #f6f8fb;
        }

        body {
            min-height: 100vh;
            color: var(--ink);
            background:
                radial-gradient(circle at top left, rgba(15, 118, 110, .12), transparent 28rem),
                linear-gradient(180deg, #ffffff 0%, #f4f7fb 42%, #eef4f7 100%);
            font-family: "Segoe UI", Arial, sans-serif;
        }

        .page-shell {
            max-width: 1120px;
            margin: 0 auto;
            padding: 28px 16px 48px;
        }

        .hero {
            position: relative;
            overflow: hidden;
            color: #fff;
            background: linear-gradient(135deg, var(--brand-dark), var(--brand) 58%, #1d4ed8);
            border-radius: 8px;
            padding: 34px;
            box-shadow: 0 18px 45px rgba(15, 23, 42, .16);
        }

        .hero:after {
            content: "";
            position: absolute;
            right: -92px;
            top: -120px;
            width: 320px;
            height: 320px;
            border: 42px solid rgba(255, 255, 255, .13);
            border-radius: 50%;
        }

        .hero-content {
            position: relative;
            z-index: 1;
            display: grid;
            grid-template-columns: minmax(150px, 220px) 1fr minmax(150px, 220px);
            align-items: center;
            gap: 24px;
            width: 100%;
        }

        .hero-logo img {
            display: block;
            width: 100%;
            max-width: 210px;
            height: auto;
            object-fit: contain;
        }

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

        .hero-table-space {
            min-height: 112px;
        }

        .hero h1 {
            margin-bottom: 10px;
            font-size: clamp(1.45rem, 3vw, 2.45rem);
            font-weight: 800;
            line-height: 1.12;
        }

        .hero h2,
        .hero h3 {
            margin: 0;
            /* color: rgba(255, 255, 255, .92); */
            font-weight: 700;
            line-height: 1.24;
        }

        .hero h2 {
            font-size: clamp(1.08rem, 2vw, 1.45rem);
        }

        .hero h3 {
            margin-top: 7px;
            font-size: clamp(1rem, 1.8vw, 1.28rem);
        }

        .hero p {
            margin-bottom: 0;
            /* color: rgba(255, 255, 255, .9); */
            font-size: 1.04rem;
        }

        .form-panel {
            margin-top: 22px;
            background: rgba(255, 255, 255, .96);
            border: 1px solid rgba(219, 227, 234, .95);
            border-radius: 8px;
            box-shadow: 0 16px 40px rgba(15, 23, 42, .08);
        }

        .section-header {
            display: flex;
            align-items: center;
            gap: 14px;
            padding-bottom: 16px;
            margin-bottom: 22px;
            border-bottom: 1px solid var(--line);
        }

        .section-number {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            flex: 0 0 42px;
            width: 42px;
            height: 42px;
            color: #fff;
            background: var(--brand);
            border-radius: 50%;
            font-weight: 800;
        }

        .section-number-primary {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            flex: 0 0 42px;
            width: 42px;
            height: 42px;
            color: #fff;
            background: var(--brand-dark);
            border-radius: 50%;
            font-weight: 800;
        }

        .section-header h2 {
            margin: 0;
            font-size: 1.28rem;
            font-weight: 800;
        }

        .section-header p {
            margin: 3px 0 0;
            color: var(--muted);
        }

        .form-section {
            padding: 28px;
        }

        .form-section + .form-section {
            border-top: 1px solid var(--line);
        }

        label,
        legend {
            color: #243042;
            font-weight: 700;
        }

        label > i,
        legend > i {
            margin-right: 6px;
        }

        .label-icon {
            position: relative;
            display: inline-block;
            width: 16px;
            height: 16px;
            margin-right: 6px;
            vertical-align: -2px;
        }

        .label-icon-user:before {
            content: "";
            position: absolute;
            top: 1px;
            left: 5px;
            width: 6px;
            height: 6px;
            background: currentColor;
            border-radius: 50%;
        }

        .label-icon-user:after {
            content: "";
            position: absolute;
            right: 2px;
            bottom: 1px;
            left: 2px;
            height: 7px;
            background: currentColor;
            border-radius: 7px 7px 3px 3px;
        }

        legend {
            float: none;
            width: auto;
            margin-bottom: 14px;
            font-size: 1rem;
        }

        .question-block.question-block-compact {
            padding: 14px;
            margin-bottom: 14px;
        }

        .question-block-compact legend {
            display: flex;
            align-items: flex-start;
            gap: 8px;
            margin-bottom: 10px;
            font-size: .96rem;
            line-height: 1.25;
        }

        .question-block-compact legend i {
            flex: 0 0 auto;
            margin-top: 2px;
            color: var(--brand-dark);
        }

        .form-control,
        .custom-select {
            min-height: 46px;
            border-color: #cbd5e1;
            border-radius: 6px;
        }

        .form-control:focus,
        .custom-select:focus {
            border-color: var(--brand);
            box-shadow: 0 0 0 .2rem rgba(15, 118, 110, .16);
        }

        .select2-container {
            width: 100% !important;
        }

        .select2-container--default .select2-selection--single {
            min-height: 46px;
            border-color: #cbd5e1;
            border-radius: 6px;
            display: flex;
            align-items: center;
        }

        .select2-container--default .select2-selection--single .select2-selection__rendered {
            line-height: 1.4;
            padding-left: 12px;
            padding-right: 34px;
        }

        .select2-container--default .select2-selection--single .select2-selection__arrow {
            min-height: 44px;
            right: 6px;
        }

        .select2-container--default.select2-container--focus .select2-selection--single,
        .select2-container--default.select2-container--open .select2-selection--single {
            border-color: var(--brand);
            box-shadow: 0 0 0 .2rem rgba(15, 118, 110, .16);
        }

        .select2-dropdown {
            border-color: #cbd5e1;
        }

        .select2-container--default .select2-search--dropdown .select2-search__field {
            border-color: #cbd5e1;
            border-radius: 6px;
            outline: 0;
        }

        .select2-container--default .select2-search--dropdown .select2-search__field:focus {
            border-color: var(--brand);
        }

        .question-block {
            padding: 18px;
            background: var(--soft);
            border: 1px solid var(--line);
            border-radius: 8px;
        }

        .option-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
            gap: 10px;
        }

        .option-grid-compact {
            grid-template-columns: repeat(auto-fit, minmax(138px, 1fr));
            gap: 8px;
        }

        .option-grid-wide {
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        }

        .option-card {
            min-height: 46px;
            padding: 11px 12px 10px 38px;
            background: #fff;
            border: 1px solid #d8e0e7;
            border-radius: 6px;
        }

        .option-card-radio {
            min-height: 38px;
            padding: 0;
            overflow: hidden;
        }

        .option-card-radio .custom-control-input {
            position: absolute;
        }

        .option-card-radio .custom-control-label {
            display: flex;
            align-items: center;
            gap: 8px;
            min-height: 38px;
            width: 100%;
            padding: 8px 10px;
            color: #334155;
            cursor: pointer;
        }

        .option-card-radio .custom-control-label:before,
        .option-card-radio .custom-control-label:after {
            display: none;
        }

        .option-card-radio .custom-control-label i {
            width: 16px;
            color: #94a3b8;
            text-align: center;
        }

        .option-card-radio .custom-control-input:checked + .custom-control-label {
            color: var(--brand-dark);
            background: rgba(81, 162, 218, .12);
        }

        .option-card-radio .custom-control-input:checked + .custom-control-label i:before {
            content: "\f058";
            font-family: "Font Awesome 7 Free";
            font-weight: 900;
        }

        .custom-control-label {
            font-weight: 600;
            line-height: 1.35;
        }

        .privacy-note {
            color: var(--muted);
            font-size: .94rem;
        }

        .submit-bar {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            padding: 24px 28px;
            background: #f8fafc;
            border-top: 1px solid var(--line);
            border-radius: 0 0 8px 8px;
        }

        .submit-actions {
            display: flex;
            flex-wrap: wrap;
            justify-content: flex-end;
            gap: 10px;
        }

        .btn-primary {
            min-width: 210px;
            min-height: 48px;
            background: var(--brand);
            border-color: var(--brand);
            border-radius: 6px;
            font-weight: 800;
        }

        .btn-primary:hover,
        .btn-primary:focus {
            background: var(--brand-dark);
            border-color: var(--brand-dark);
        }

        .btn-dev-fill {
            min-height: 48px;
            border-radius: 6px;
            font-weight: 800;
        }

        .badge-required {
            color: #7c2d12;
            background: #ffedd5;
            border: 1px solid #fed7aa;
            border-radius: 999px;
            padding: 6px 11px;
            font-size: .82rem;
            font-weight: 800;
        }

        @media (max-width: 767.98px) {
            .hero,
            .form-section,
            .submit-bar {
                padding: 22px;
            }

            .hero-content {
                grid-template-columns: 1fr;
                justify-items: center;
                gap: 18px;
            }

            .hero-logo img {
                max-width: 180px;
            }

            .hero-table-space {
                width: 100%;
                min-height: 86px;
            }

            .section-header {
                align-items: flex-start;
            }
        }

    .tabla-informacion-pequena {
        font-size: 0.68rem;
        line-height: 1.15;
    }

    .tabla-informacion-pequena th,
    .tabla-informacion-pequena td {
        padding: 0.2rem 0.35rem;
        vertical-align: middle;
    }
