    .form-col {
        min-width: 0;
    }

    /* INST HEADER */
    .inst-header {
        background: var(--navy);
        border-radius: var(--r-md) var(--r-md) 0 0;
        padding: 32px 40px 28px;
        display: flex;
        align-items: center;
        gap: 28px;
        position: relative;
        overflow: hidden;
    }

    .inst-header::after {
        content: '';
        position: absolute;
        right: -40px;
        top: -40px;
        width: 200px;
        height: 200px;
        background: rgba(255, 255, 255, .04);
        border-radius: 50%;
    }

    .inst-logo {
        width: 72px;
        height: 72px;
        background: rgba(255, 255, 255, .1);
        border: 2px solid rgba(255, 255, 255, .2);
        border-radius: var(--r-sm);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        font-size: 2rem;
        color: rgba(255, 255, 255, .85);
    }

    .inst-text {
        flex: 1;
    }

    .inst-text .dep {
        font-size: .72rem;
        font-weight: 600;
        letter-spacing: .12em;
        text-transform: uppercase;
        color: rgba(255, 255, 255, .55);
        margin-bottom: 4px;
    }

    .inst-text .org {
        font-size: .82rem;
        color: rgba(255, 255, 255, .7);
        margin-bottom: 8px;
        line-height: 1.4;
    }

    .inst-text h1 {
        font-family: var(--font-display);
        font-size: 1.35rem;
        font-weight: 700;
        color: var(--white);
        line-height: 1.25;
        letter-spacing: -.01em;
    }

    /* FORM CARD */
    .form-card {
        background: var(--white);
        border: 1px solid var(--border);
        border-top: none;
        border-radius: 0 0 var(--r-md) var(--r-md);
        box-shadow: var(--shadow-md);
        overflow: hidden;
    }

    /* SECTION */
    .form-section {
        padding: 28px 40px;
        border-bottom: 1px solid #e8eef6;
    }

    .form-section:last-of-type {
        border-bottom: none;
    }

    .section-head {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 22px;
        padding-bottom: 12px;
        border-bottom: 2px solid var(--sky-light);
    }

    .section-num {
        width: 28px;
        height: 28px;
        background: var(--navy);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: .72rem;
        font-weight: 700;
        color: var(--white);
        flex-shrink: 0;
    }

    .section-head h2 {
        font-family: var(--font-display);
        font-size: 1rem;
        font-weight: 700;
        color: var(--navy);
        letter-spacing: -.01em;
    }

    .section-head .section-note {
        margin-left: auto;
        font-size: .75rem;
        color: var(--text-light);
        font-style: italic;
    }

    /* GRID */
    .fg {
        display: grid;
        gap: 14px 20px;
        margin-bottom: 14px;
    }

    .fg:last-child {
        margin-bottom: 0;
    }

    .fg-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .fg-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .fg-1 {
        grid-template-columns: 1fr;
    }

    .span-2 {
        grid-column: span 2;
    }

    /* FIELD */
    .field {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .field label {
        font-size: .73rem;
        font-weight: 700;
        letter-spacing: .06em;
        text-transform: uppercase;
        color: var(--text-light);
        line-height: 1;
    }

    .field label .req {
        color: var(--blue-mid);
        margin-left: 2px;
        font-size: .8em;
    }

    .field input,
    .field select,
    .field textarea {
        display: block;
        width: 100%;
        font-family: var(--font-body);
        font-size: .93rem;
        color: var(--text);
        background: var(--white);
        border: 1.5px solid var(--border);
        border-radius: var(--r-xs);
        padding: 9px 12px;
        outline: none;
        transition: border-color .18s, box-shadow .18s, background .18s;
        -webkit-appearance: none;
        appearance: none;
    }

    .field select {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%235a6a7e'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 11px center;
        padding-right: 30px;
    }

    .field input::placeholder,
    .field textarea::placeholder {
        color: #aab6c6;
        font-size: .9rem;
    }

    .field input:focus,
    .field select:focus,
    .field textarea:focus {
        border-color: var(--border-focus);
        box-shadow: 0 0 0 3px rgba(35, 98, 168, .12);
        background: #fdfeff;
    }

    .field textarea {
        resize: vertical;
        line-height: 1.65;
        min-height: 120px;
    }

    /* ERRORS */
    .field.error input,
    .field.error select,
    .field.error textarea {
        border-color: #e74c3c !important;
        background: #fff8f8 !important;
        box-shadow: 0 0 0 3px rgba(231, 76, 60, .1) !important;
    }

    .field.error label {
        color: #c0392b;
    }

    .err-msg {
        font-size: .73rem;
        font-weight: 600;
        color: #c0392b;
        display: none;
        align-items: center;
        gap: 5px;
        margin-top: 1px;
    }

    .err-msg i {
        font-size: .68rem;
    }

    .field.error .err-msg {
        display: flex;
    }

    /* Domicilio */
    .domicilio-grid {
        display: grid;
        grid-template-columns: 2fr 1fr 2fr;
        gap: 14px 20px;
    }

    @media (max-width:720px) {
        .domicilio-grid {
            grid-template-columns: 1fr;
        }
    }

    .addr-err-msg {
        font-size: .73rem;
        font-weight: 600;
        color: #c0392b;
        display: none;
        align-items: center;
        gap: 5px;
        margin-top: 6px;
    }

    .addr-err-msg.show {
        display: flex;
    }

    /* Hijos por sexo inline */
    .hijos-sexo-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .hijos-sexo-grid input {
        border: 1.5px solid var(--border);
        border-radius: var(--r-xs);
        padding: 9px 10px;
        font-family: var(--font-body);
        font-size: .88rem;
        width: 100%;
        outline: none;
    }

    .hijos-sexo-grid input:focus {
        border-color: var(--border-focus);
        box-shadow: 0 0 0 3px rgba(35, 98, 168, .12);
    }

    /* CHECKBOX MULTI */
    .check-multi-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .check-multi-item {
        position: relative;
        display: flex;
        align-items: center;
        gap: 9px;
        padding: 9px 13px;
        background: var(--white);
        border: 1.5px solid var(--border);
        border-radius: var(--r-xs);
        cursor: pointer;
        transition: all .15s;
        font-size: .87rem;
        color: var(--text);
        font-weight: 500;
    }

    .check-multi-item:hover {
        border-color: var(--blue-mid);
        background: var(--sky-light);
    }

    .check-multi-item input[type="checkbox"] {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        margin: 0;
        opacity: 0;
        cursor: pointer;
    }

    .check-indicator {
        width: 18px;
        height: 18px;
        border: 1.5px solid var(--border);
        border-radius: 5px;
        background: var(--white);
        flex-shrink: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        transition: all .15s;
    }

    .check-indicator::after {
        content: '';
        width: 9px;
        height: 5px;
        border-left: 2px solid transparent;
        border-bottom: 2px solid transparent;
        transform: rotate(-45deg) scale(0.85);
        margin-top: -1px;
        opacity: 0;
        transition: opacity .15s ease;
    }

    .check-multi-item input[type="checkbox"]:checked+.check-indicator {
        background: var(--blue-mid);
        border-color: var(--blue-mid);
        box-shadow: 0 0 0 3px rgba(35, 98, 168, .12);
    }

    .check-multi-item input[type="checkbox"]:checked+.check-indicator::after {
        border-left-color: var(--white);
        border-bottom-color: var(--white);
        opacity: 1;
    }

    .check-multi-item:has(input:checked) {
        border-color: var(--blue-mid);
        background: var(--sky-light);
        color: var(--navy);
        font-weight: 600;
    }

    .razones-err-msg {
        font-size: .73rem;
        font-weight: 600;
        color: #c0392b;
        display: none;
        align-items: center;
        gap: 5px;
        margin-top: 4px;
    }

    .razones-err-msg.show {
        display: flex;
    }

    /* HORARIOS */
    .horario-grid {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
    }

    .horario-opt {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 9px 18px;
        background: rgba(255, 255, 255, .1);
        border: 1.5px solid rgba(255, 255, 255, .22);
        border-radius: var(--r-xs);
        cursor: pointer;
        transition: all .18s;
        font-size: .88rem;
        font-weight: 500;
        color: rgba(255, 255, 255, .85);
        user-select: none;
    }

    .horario-opt input {
        accent-color: var(--sky);
        cursor: pointer;
    }

    .horario-opt:has(input:checked) {
        background: rgba(255, 255, 255, .22);
        border-color: rgba(255, 255, 255, .55);
        color: var(--white);
        font-weight: 600;
    }

    .horario-err-msg {
        font-size: .73rem;
        font-weight: 600;
        color: #f87171;
        display: none;
        align-items: center;
        gap: 5px;
        margin-top: 4px;
    }

    .horario-err-msg.show {
        display: flex;
    }

    /* CITA SECTION */
    .cita-section {
        background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
        padding: 28px 40px;
        border-bottom: none;
    }

    .cita-section .section-head {
        border-bottom-color: rgba(255, 255, 255, .12);
    }

    .cita-section .section-head h2 {
        color: rgba(255, 255, 255, .9);
    }

    .cita-section .section-num {
        background: rgba(255, 255, 255, .15);
        color: var(--white);
    }

    .cita-section .section-note {
        color: rgba(255, 255, 255, .45);
    }

    .cita-section .field label {
        color: rgba(255, 255, 255, .55);
    }

    .cita-section .field input,
    .cita-section .field select {
        background: rgba(255, 255, 255, .1);
        border-color: rgba(255, 255, 255, .2);
        color: var(--white);
    }

    .cita-section .field input::placeholder {
        color: rgba(255, 255, 255, .35);
    }

    .cita-section .field input:focus,
    .cita-section .field select:focus {
        border-color: rgba(255, 255, 255, .55);
        box-shadow: 0 0 0 3px rgba(255, 255, 255, .08);
        background: rgba(255, 255, 255, .15);
    }

    .duracion-info {
        display: flex;
        align-items: center;
        gap: 10px;
        background: rgba(255, 255, 255, .1);
        border: 1.5px solid rgba(255, 255, 255, .18);
        border-radius: var(--r-xs);
        padding: 10px 14px;
        margin-top: 2px;
    }

    .duracion-info i {
        color: #93c5fd;
        font-size: .9rem;
    }

    .duracion-info span {
        font-size: .9rem;
        color: rgba(255, 255, 255, .8);
        font-weight: 500;
    }

    .costo-cita-box {
        background: rgba(255, 255, 255, 0.12);
        border: 1.5px solid rgba(255, 255, 255, 0.25);
        border-radius: var(--r-sm);
        padding: 14px 18px;
        margin-bottom: 20px;
        display: flex;
        align-items: center;
        gap: 14px;
        backdrop-filter: blur(2px);
    }

    .costo-cita-box i {
        font-size: 1.2rem;
        color: #fbbf24;
        flex-shrink: 0;
    }

    .costo-cita-box p {
        font-size: 0.9rem;
        font-weight: 500;
        color: rgba(255, 255, 255, 0.9);
        line-height: 1.45;
    }

    .costo-cita-box strong {
        font-weight: 700;
        color: white;
    }

    .metodo-pago {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
    }

    .pago-opt {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 10px 18px;
        background: rgba(255, 255, 255, .08);
        border: 1.5px solid rgba(255, 255, 255, .18);
        border-radius: var(--r-xs);
        font-size: .85rem;
        font-weight: 500;
        color: rgba(255, 255, 255, .75);
        cursor: pointer;
        transition: all .18s;
        user-select: none;
    }

    .pago-opt input {
        accent-color: var(--sky);
        cursor: pointer;
    }

    .pago-opt:has(input:checked) {
        background: rgba(255, 255, 255, .2);
        border-color: rgba(255, 255, 255, .5);
        color: var(--white);
        font-weight: 600;
    }

    .pago-opt i {
        color: #93c5fd;
    }

    .pago-prioritario {
        font-size: .7rem;
        font-weight: 700;
        letter-spacing: .08em;
        text-transform: uppercase;
        color: #60a5fa;
        margin-bottom: 8px;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .pago-err-msg {
        font-size: .73rem;
        font-weight: 600;
        color: #f87171;
        display: none;
        align-items: center;
        gap: 5px;
        margin-top: 4px;
    }

    .pago-err-msg.show {
        display: flex;
    }

    /* CASO SECTION */
    .caso-section {
        background: #fafcff;
    }

    .caso-section textarea {
        min-height: 160px;
        font-size: .92rem;
        line-height: 1.75;
    }

    /* PROTECCIÓN DATOS */
    .dp-strip {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 16px;
        background: var(--sky-light);
        border: 1.5px solid #ccdaea;
        border-radius: var(--r-sm);
        padding: 16px 20px;
        transition: border-color .18s, background .18s;
    }

    .dp-strip.error {
        border-color: #e74c3c !important;
        background: #fff8f8 !important;
    }

    .dp-strip-left {
        flex: 1;
    }

    .dp-strip-left p {
        font-size: .87rem;
        color: var(--navy);
        line-height: 1.6;
    }

    .dp-strip-left p strong {
        display: block;
        font-weight: 700;
        margin-bottom: 4px;
    }

    .dp-links {
        display: flex;
        gap: 12px;
        margin-top: 8px;
        flex-wrap: wrap;
    }

    .dp-links a {
        font-size: .78rem;
        color: var(--blue-mid);
        font-weight: 600;
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 5px;
        border-bottom: 1px solid transparent;
        transition: border-color .15s;
    }

    .dp-links a:hover {
        border-bottom-color: var(--blue-mid);
    }

    .dp-links a i {
        font-size: .7rem;
    }

    .dp-check-wrap {
        flex-shrink: 0;
        display: flex;
        align-items: center;
        gap: 9px;
        padding-top: 2px;
    }

    .dp-check-wrap input[type="checkbox"] {
        width: 19px;
        height: 19px;
        accent-color: var(--blue-mid);
        cursor: pointer;
        flex-shrink: 0;
    }

    .dp-check-wrap label {
        font-size: .85rem;
        font-weight: 600;
        color: var(--navy);
        cursor: pointer;
        white-space: nowrap;
    }

    .dp-err-msg {
        font-size: .73rem;
        font-weight: 600;
        color: #c0392b;
        display: none;
        align-items: center;
        gap: 5px;
        margin-top: 6px;
    }

    .dp-err-msg i {
        font-size: .68rem;
    }

    .dp-err-msg.show {
        display: flex;
    }

    /* ACCIONES */
    .form-actions {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: 24px 40px;
        background: var(--off-white);
        border: 1px solid var(--border);
        border-top: none;
        border-radius: 0 0 var(--r-md) var(--r-md);
    }

    .btn-reset {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 11px 22px;
        background: transparent;
        color: var(--text-light);
        border: 1.5px solid var(--border);
        border-radius: 100px;
        font-family: var(--font-body);
        font-size: .88rem;
        font-weight: 600;
        cursor: pointer;
        transition: all .18s;
    }

    .btn-reset:hover {
        border-color: var(--navy);
        color: var(--navy);
    }

    .btn-submit {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 13px 32px;
        background: var(--navy);
        color: var(--white);
        border: 2px solid var(--navy);
        border-radius: 100px;
        font-family: var(--font-body);
        font-size: .93rem;
        font-weight: 700;
        cursor: pointer;
        transition: all .22s;
        box-shadow: var(--shadow-sm);
    }

    .btn-submit:hover {
        background: var(--blue-mid);
        border-color: var(--blue-mid);
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }

    .btn-submit:active {
        transform: translateY(0);
    }

    .btn-submit:disabled {
        opacity: .6;
        cursor: not-allowed;
        transform: none;
    }

    @media (max-width:1060px) {
        .page-wrap {
            grid-template-columns: 1fr 280px;
            gap: 28px;
            padding: 32px 20px 60px;
        }
    }

    @media (max-width:768px) {
        .page-wrap {
            grid-template-columns: 1fr;
            gap: 28px;
            padding: 24px 16px 60px;
        }

        .info-panel {
            position: static;
        }
    }

    @media (max-width:720px) {
        .inst-header {
            padding: 22px 20px;
            gap: 16px;
            flex-wrap: wrap;
        }

        .inst-logo {
            width: 54px;
            height: 54px;
            font-size: 1.5rem;
        }

        .inst-text h1 {
            font-size: 1.1rem;
        }

        .form-section,
        .cita-section,
        .form-actions {
            padding: 22px 20px;
        }

        .fg-3,
        .fg-2 {
            grid-template-columns: 1fr;
        }

        .span-2 {
            grid-column: span 1;
        }

        .check-multi-grid {
            grid-template-columns: 1fr;
        }

        .horario-grid {
            flex-direction: column;
        }

        .btn-submit,
        .btn-reset {
            width: 100%;
            justify-content: center;
        }

        .form-actions {
            flex-direction: column;
        }
    }

    <?php if ($embedMode): ?>
    body.embed-mode {
        background: #fff;
    }

    body.embed-mode .page-wrap {
        padding: 0;
        max-width: 100%;
        margin: 0;
    }

    body.embed-mode .form-col {
        max-width: 100%;
    }
    <?php endif; ?>
