/* Codex | 2026-11-23 17:03 (America/Lima) | Diseño propio adaptable, identidad original y animación sutil con respeto a movimiento reducido. */
:root{--navy:#170c70;--navy2:#30258c;--ink:#182440;--muted:#5b6479;--line:#dcddeb;--paper:#fff;--bg:#f5f4fb;--teal:#087f75;--error:#b32343;--radius:18px;font-family:system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);font-size:16px}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}a{color:var(--navy)}[hidden]{display:none!important}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(1.8rem,3vw,2.55rem);line-height:1.16;letter-spacing:-.035em;color:var(--navy);margin-bottom:16px}h2{font-size:1.2rem;letter-spacing:-.015em}p{line-height:1.65;color:var(--muted)}em{color:var(--error);font-style:normal}img{max-width:100%;display:block}.site-header{background:var(--navy);color:white}.header-inner{max-width:1240px;margin:auto;display:flex;align-items:center;gap:28px;padding:20px 28px}.brand{width:300px;flex-shrink:0}.brand img{max-height:64px;object-fit:contain}.process-title{padding-left:24px;border-left:1px solid #ffffff45;font-size:1.1rem;font-weight:600;flex:1}.process-title span{display:block;font-size:.86rem;color:#ddd9ff;margin-top:5px}.site-header .text-button{color:white}.page{max-width:1180px;margin:42px auto;padding:0 24px}.narrow{max-width:650px}.entry-page{display:grid;grid-template-columns:1.05fr 1fr;gap:36px;align-items:center;min-height:65vh}.welcome-photo{height:520px;border-radius:26px;overflow:hidden;position:relative;box-shadow:0 15px 45px #1c145a18}.welcome-photo img{height:100%;width:100%;object-fit:cover}.photo-caption{position:absolute;bottom:0;left:0;right:0;padding:60px 28px 28px;background:linear-gradient(transparent,#100c45dd);color:#fff;font-size:1.5rem;font-weight:650}.entry-card{padding:36px}.eyebrow{display:block;color:var(--teal);font-weight:750;font-size:.76rem;letter-spacing:.13em;margin-bottom:15px}.card{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:27px;margin-bottom:22px;box-shadow:0 5px 20px #251d6c04}.section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px}.section-title h2{margin:0}.section-title:before{content:"";width:4px;height:22px;border-radius:4px;background:var(--teal)}.section-title h2{flex:1}.button{display:inline-flex;justify-content:center;align-items:center;gap:12px;border-radius:10px;padding:13px 21px;font-weight:650;font-size:.96rem;text-decoration:none;min-height:48px;border:1px solid transparent}.primary{background:var(--navy);color:#fff}.primary:hover{background:var(--navy2)}.secondary{background:white;border-color:var(--navy);color:var(--navy)}.full{width:100%}.text-button{border:0;background:none;padding:8px 0;color:var(--navy);text-decoration:underline;text-underline-offset:4px;font-weight:600}.fine-print{font-size:.83rem;margin:18px 0 0}.local-note{padding:16px;background:#fff4db;border:1px solid #ead9a8;border-radius:10px;font-size:.88rem;line-height:1.6;margin:20px 0}.captcha-wrap{margin:24px 0;max-width:100%;overflow:auto}.choice-page{text-align:center;max-width:990px}.choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin:30px 0}.choice-card{border:1px solid var(--line);padding:0;background:white;border-radius:var(--radius);overflow:hidden;text-align:left;color:var(--ink);box-shadow:0 8px 24px #21166a08;transition:transform .2s,box-shadow .2s}.choice-photo{height:210px;overflow:hidden}.choice-photo img{height:100%;width:100%;object-fit:cover;object-position:center 35%;transition:transform .35s}.choice-body{padding:24px}.choice-body h2{font-size:1.65rem;color:var(--navy);margin:10px 0}.choice-body p{min-height:52px}.choice-icon{font-size:2rem;color:var(--teal)}.choice-body .button{width:100%}.help-strip{display:flex;gap:12px;align-items:center;background:var(--tint,#ebe9f8);border-radius:12px;padding:18px 22px;text-align:left;color:var(--ink);line-height:1.6;font-size:.92rem}.wizard-heading{margin-bottom:24px}.wizard-heading p{margin-bottom:0}.stepper{display:flex;gap:18px;margin:26px 0}.stepper button{display:flex;align-items:center;gap:11px;flex:1;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--muted);padding:13px 18px;text-align:left;font-weight:650}.stepper span{display:grid;place-items:center;flex-shrink:0;border:1px solid var(--line);height:28px;width:28px;border-radius:50%}.stepper [aria-current=step]{background:var(--navy);color:#fff;border-color:var(--navy)}.fields-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:19px 24px}.fields-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.wide{grid-column:1/-1}label{display:flex;flex-direction:column;gap:8px;position:relative;font-size:.9rem;font-weight:650;line-height:1.35;min-width:0}label>span{display:block}input,select,textarea{width:100%;border:1px solid #c6c9d8;border-radius:9px;background:white;color:var(--ink);padding:11px 12px;min-height:46px;font-size:1rem;min-width:0}input:read-only{background:#f0f0f7}textarea{resize:vertical;min-height:80px}input:focus,select:focus,textarea:focus,button:focus-visible,a:focus-visible{outline:3px solid var(--focus,#aaa1ec);outline-offset:3px}input:invalid:not(:placeholder-shown):focus{border-color:var(--error)}.form-hint{font-size:.85rem;color:var(--muted);line-height:1.55;margin:13px 0 0}.doc-row{display:grid;grid-template-columns:1fr 1.4fr auto;align-items:end;gap:16px;margin-bottom:20px}.doc-row .button{min-height:46px}.radio-grid,.checks{display:flex;flex-wrap:wrap;gap:12px;margin:12px 0 20px}.checks label,.radio-grid label,.checkline{display:flex;flex-direction:row;align-items:center;gap:10px;line-height:1.5}.radio-grid label{flex:1;border:1px solid var(--line);border-radius:10px;padding:14px;font-weight:550}.checks label{background:var(--tint,#f6f5fb);border:1px solid var(--line);padding:12px 16px;border-radius:9px}.checks input,.radio-grid input,.checkline input{width:19px;height:19px;min-height:0;flex-shrink:0;accent-color:var(--navy)}.family-options{margin-bottom:20px}.family-note{margin-top:10px}.parent-card summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:12px;font-size:1.13rem;font-weight:700;color:var(--navy)}.parent-card summary:after{content:"＋";margin-left:auto}.parent-card[open] summary:after{content:"−"}.parent-card[open] summary{margin-bottom:25px}.parent-card .card{box-shadow:none}.parent-status{font-size:.75rem;font-weight:600;padding:5px 9px;background:var(--tint,#eeecf8);border-radius:20px}.phone-row{display:grid;grid-template-columns:minmax(100px,1fr) minmax(0,2fr);gap:12px}.wizard-actions{display:flex;justify-content:space-between;gap:16px;margin:24px 0 40px}.review-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.review-grid .card{margin:0}.review-lines{margin:0}.review-line{padding:10px 0;border-bottom:1px solid #eeeef5;display:grid;grid-template-columns:1fr 1.3fr;gap:14px;font-size:.9rem;line-height:1.5}.review-line dt{color:var(--muted)}.review-line dd{margin:0;overflow-wrap:anywhere;white-space:pre-wrap}.review-parent{margin-top:20px}.review-parent h3{font-size:1rem;color:var(--navy)}.review-confirm{margin:24px 0}.review-info{margin-top:22px}.success-card{text-align:center;padding:40px 30px}.success-check{border:3px solid var(--teal);color:var(--teal);font-size:2.9rem;width:80px;height:80px;border-radius:50%;display:grid;place-items:center;margin:0 auto 26px}.success-card h1{font-size:2rem}.important-message{font-weight:650;color:var(--ink)}.success-actions{display:flex;flex-direction:column;gap:12px;margin-top:24px}.site-footer{text-align:center;color:var(--muted);font-size:.8rem;padding:25px 20px;border-top:1px solid var(--line)}#notice{max-width:1132px;margin:24px auto 0;background:#fff0f2;color:#89132b;border:1px solid #efc5cd;border-radius:12px;padding:17px 22px;line-height:1.55}#notice.success{background:#e8f6f1;color:#106050;border-color:#afdccc}.shared-warning{background:var(--tint,#f2f0ff);padding:14px;border-radius:9px;font-size:.85rem;color:var(--navy);margin-bottom:20px}.section-subtitle{font-size:1rem;color:var(--navy);margin:25px 0 16px}
@media(hover:hover){.choice-card:hover{transform:translateY(-4px);box-shadow:0 16px 32px #21166a16}.choice-card:hover .choice-photo img{transform:scale(1.035)}}
@media(max-width:780px){.header-inner{padding:16px 20px;gap:15px;flex-wrap:wrap}.brand{width:220px}.process-title{font-size:.9rem}.page{margin:26px auto;padding:0 16px}.entry-page{grid-template-columns:1fr;gap:20px}.welcome-photo{height:220px}.entry-card{padding:12px 8px}.photo-caption{font-size:1.1rem;padding:45px 20px 20px}.choice-grid{gap:18px}.choice-photo{height:180px}.choice-body{padding:20px}.fields-grid.three{grid-template-columns:1fr 1fr}.doc-row{grid-template-columns:1fr 1fr}.doc-row .button{grid-column:1/-1}.card{padding:23px}.review-grid{grid-template-columns:1fr}.stepper{gap:9px}.stepper button{padding:12px 10px;gap:7px;font-size:.85rem}.radio-grid{flex-direction:column}.success-card{padding:30px 22px}#notice{margin:16px}}
@media(max-width:520px){.header-inner{gap:12px}.brand{width:200px;max-width:70%}.brand img{max-height:48px}.process-title{border:0;padding:0;flex-basis:100%;display:flex;gap:10px;align-items:center}.process-title span{margin:0}.site-header #exit{position:absolute;right:18px;top:26px;font-size:.85rem}.choice-grid{grid-template-columns:1fr}.choice-card{display:grid;grid-template-columns:110px 1fr}.choice-photo{height:100%;min-height:210px}.choice-body{padding:18px}.choice-body h2{font-size:1.4rem}.choice-body p{font-size:.88rem;min-height:0}.choice-icon{font-size:1.6rem}.choice-body .button{min-height:42px;padding:9px}.fields-grid,.fields-grid.three{grid-template-columns:1fr}.wide{grid-column:auto}.card{padding:20px 16px;border-radius:14px}.stepper{gap:6px}.stepper button{padding:10px 6px;flex-direction:column;font-size:.78rem;gap:5px}.doc-row{grid-template-columns:1fr}.doc-row .button{grid-column:auto}.wizard-actions{gap:12px}.wizard-actions .button{padding:12px 16px}.checkline{font-size:.88rem}.review-line{grid-template-columns:1fr;gap:4px}.checks{flex-direction:column}.checks label{width:100%}.captcha-wrap{max-width:100%}.welcome-photo{height:180px}.help-strip{padding:16px}.family-options label{font-size:.94rem}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Codex | 2026-11-23 18:39 (America/Lima) | Etiquetas configurables y confirmación de salida accesible en escritorio y móvil. */
label{color:var(--optional-label,var(--navy))}
label.required-label>span{color:var(--required-label,#b32343)}
em{color:var(--required-label,#b32343)}
#leave-dialog{width:min(520px,calc(100% - 32px));border:1px solid var(--line);border-radius:var(--radius);padding:28px;color:var(--ink);background:var(--paper);box-shadow:0 24px 80px #170c7033}
#leave-dialog::backdrop{background:#14102d99}
#leave-dialog h2{color:var(--navy);font-size:1.4rem}
.leave-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}
.leave-actions .button{flex:1}
@media(max-width:520px){#leave-dialog{padding:23px 20px}.leave-actions{flex-direction:column}}
/* Codex | 2026-11-23 18:39 (America/Lima) | Aplicar al cuerpo las variables configuradas, incluido el fondo completo del viewport. */
body{background:var(--bg);color:var(--ink);min-height:100vh}
/* Codex | 2026-11-23 20:46 (America/Lima) | Avisos de campaña con la misma identidad visual del diálogo de salida. */
#student-dialog{width:min(540px,calc(100% - 32px));border:1px solid var(--line);border-radius:var(--radius);padding:32px;color:var(--ink);background:var(--paper);box-shadow:0 24px 80px #170c7033}
#student-dialog::backdrop{background:#14102d99}
#student-dialog h2{color:var(--navy);font-size:1.45rem;line-height:1.3}
.student-notice-icon{display:grid;place-items:center;width:58px;height:58px;border-radius:50%;background:var(--tint,#ebe9f8);color:var(--navy);font-size:2.1rem;margin-bottom:20px}
.dialog-close{position:absolute;right:14px;top:10px;border:0;background:none;color:var(--muted);font-size:1.7rem;padding:5px 10px}
@media(max-width:520px){#student-dialog{padding:28px 22px}}
/* Codex | 2026-11-23 21:04 (America/Lima) | Errores de correo junto al campo, sin depender únicamente del color. */
.field-error{font-size:.8rem;line-height:1.45;color:var(--required-label,#b32343)}
input[aria-invalid="true"]{border-color:var(--required-label,#b32343)}
