:root{--blue:#102f46;--gold:#cfad6c;--paper:#f5f3ee;--ink:#173348}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:85px}body{margin:0;font-family:Arial,sans-serif;color:var(--ink);background:var(--paper)}header{height:80px;padding:0 5vw;display:flex;align-items:center;justify-content:space-between;background:var(--blue);color:white}header a{color:white;text-decoration:none;font:28px Georgia,serif}header a span{font:10px Arial;letter-spacing:.18em;border-left:1px solid #ffffff55;margin-left:18px;padding-left:18px}.tag,.eyebrow{font-size:10px;letter-spacing:.2em;font-weight:bold}.tag{color:#e4d3ad}.hero{position:relative;min-height:850px;min-height:calc(100svh - 80px);display:flex;align-items:center;padding:80px 8vw;color:white;overflow:hidden}.hero video,.shade{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.shade{background:linear-gradient(90deg,#071d30e8 0%,#092b42a6 50%,#071d3033)}.hero-content{position:relative;max-width:850px}.eyebrow{color:#99733a}.hero .eyebrow{color:#edcb86}h1{font:clamp(44px,5.2vw,78px)/1.06 Georgia,serif;letter-spacing:-.04em;margin:25px 0}h1 em{color:#e6c78d;font-weight:normal}.hero p{max-width:620px;line-height:1.65;font-size:18px}.hero .intro{font-size:15px;color:#e1e6e9;max-width:570px}.button{display:inline-flex;gap:45px;align-items:center;justify-content:center;background:var(--gold);color:#102c40;border:0;padding:18px 26px;text-decoration:none;font:600 14px Arial;cursor:pointer;border-radius:3px}.hero .button{margin-top:18px}.dates{font-size:10px;letter-spacing:.12em;margin-top:26px;color:#d1dbe0}.pause{position:absolute;bottom:26px;right:5vw;border:1px solid #ffffff66;background:#102f4680;color:white;border-radius:30px;padding:10px 18px;cursor:pointer}.welcome{padding:85px 8vw;display:grid;grid-template-columns:1fr 2fr 1fr;gap:35px;align-items:center;border-bottom:1px solid #dedbd3}h2{font:clamp(30px,3.3vw,48px)/1.13 Georgia,serif;letter-spacing:-.025em;margin:18px 0}.welcome p{line-height:1.7;font-size:14px}.survey{max-width:1100px;margin:auto;padding:90px 30px}.survey-top{display:flex;align-items:center;justify-content:space-between}.survey-top h2{font-size:36px}.progress{height:3px;background:#dedbd3;margin:25px 0}.progress div{height:100%;background:#a37e3e;transition:width .3s}#step{font-size:13px}.preview{font-size:13px;color:#6e5a35}details{margin-bottom:30px;font-size:13px;line-height:1.7}summary{cursor:pointer}.section-banner{position:relative;min-height:310px;display:flex;align-items:end;padding:35px;color:white;overflow:hidden;border-radius:5px}.section-banner img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.section-banner:after{position:absolute;inset:0;content:'';background:linear-gradient(0deg,#082b42e8,transparent)}.section-banner div{position:relative;z-index:1}.section-banner small{letter-spacing:.2em;color:#ecd5a5}.section-banner h2{max-width:700px;margin-bottom:0}.form-body{background:white;padding:15px 38px 35px;border:1px solid #e6e3dc;border-top:none}fieldset{padding:27px 0 10px;margin:0;border:0;border-bottom:1px solid #eee}legend{float:left;width:100%;margin:0 0 16px;font-size:16px;line-height:1.55;font-weight:600}fieldset:after{display:block;content:'';clear:both}.choices{display:grid;gap:9px;clear:both}.choice{display:flex;align-items:center;gap:12px;border:1px solid #dfE4e6;background:#fafbfB;padding:14px 17px;border-radius:4px;font-size:14px;line-height:1.45;cursor:pointer}.choice:has(input:checked){border-color:#b28c4a;background:#f8f1e4}input[type=radio]{accent-color:#967239;width:18px;height:18px;flex-shrink:0}input:not([type=radio]),textarea{display:block;width:100%;border:1px solid #bac5cb;padding:15px;border-radius:4px;font:16px Arial;color:var(--ink);clear:both}textarea{min-height:100px;resize:vertical}.navigation{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-top:30px}.navigation>button:not(.button){border:0;background:none;padding:15px 0;color:var(--ink);cursor:pointer}button:disabled{opacity:.4;cursor:default}#status{font-size:12px}.closing{display:grid;grid-template-columns:1fr 1fr;background:var(--blue);color:white}.closing img{width:100%;height:100%;min-height:500px;object-fit:cover}.closing>div{padding:65px 6vw}.closing .eyebrow{color:#dcc08a}.closing p{font-size:14px;line-height:1.8;color:#d0dbe0}footer{padding:30px 5vw;display:flex;justify-content:space-between;font-size:10px;letter-spacing:.12em}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #b58d45;outline-offset:4px}@media(max-width:700px){header{height:68px}.tag{display:none}header a span{font-size:8px}.hero{padding:65px 24px 95px;min-height:800px}.welcome{display:block;padding:50px 25px}.survey{padding:55px 18px}.survey-top h2{font-size:28px}.section-banner{min-height:250px;padding:24px}.form-body{padding:10px 20px 25px}.closing{grid-template-columns:1fr}.closing img{min-height:0;max-height:300px}.closing>div{padding:45px 25px}footer{display:grid;gap:16px}.navigation{flex-wrap:wrap}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.hero video{display:none}.hero{background:url('assets/EntradaIIJUNAM_3.JPG') center/cover}.progress div{transition:none}}

fieldset[hidden]{display:none}.invalid{border-left:3px solid #a52d28;padding-left:16px}.field-error{clear:both;color:#a52d28;font-size:13px;padding-top:12px}#status{color:#8c332b}

/* Refinamiento visual del formulario y navegación */
:root{--paper:#f4f2ed;--gold:#d2b279;--blue:#102f46}
body{-webkit-font-smoothing:antialiased}header{border-bottom:1px solid #ffffff18}.hero .button{box-shadow:0 8px 28px #0002}.button{transition:background .18s,transform .18s,box-shadow .18s;min-height:52px}.button:hover{background:#e1c48d;transform:translateY(-1px);box-shadow:0 6px 18px #102f4615}.survey{max-width:1140px}.survey-top h2{font-size:44px}.survey-top #step{font:22px Georgia,serif;color:#927344}.progress{height:4px;border-radius:6px;overflow:hidden}.section-guide{display:flex;gap:8px;overflow-x:auto;padding:0 0 20px;scrollbar-width:thin;margin-bottom:6px}.section-guide span{flex-shrink:0;padding:10px 14px;border:1px solid #ddd9ce;border-radius:24px;font-size:11px;color:#68777e;background:#f9f8f4}.section-guide span.active{background:#173b51;color:white;border-color:#173b51}.section-guide span.visited{color:#6f572e;border-color:#cdbb96;background:#f0e8da}.section-banner{min-height:340px;border-radius:12px 12px 0 0}.section-banner img{object-position:center 47%}.section-banner h2{font-size:clamp(32px,4vw,48px);max-width:760px}.section-banner:after{background:linear-gradient(0deg,#082b42f0, #082b4210 95%)}.form-help{padding:20px 34px;background:#e9e5dc;display:flex;justify-content:space-between;gap:20px;font-size:11px;line-height:1.5}.form-help #completion{color:#72592e;font-weight:bold;white-space:nowrap}.form-body{border-radius:0 0 12px 12px;box-shadow:0 16px 45px #102f4606;padding:12px 42px 40px}fieldset{padding:30px 0 22px}legend{font-size:17px;font-weight:500;color:#14364e}.choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.choice{min-height:60px;background:#fff;border-color:#dce2e4;transition:background .16s,border-color .16s,box-shadow .16s}.choice:hover{background:#f7f8f8;border-color:#91a5b2}.choice:has(input:checked){background:#f7f1e6;border-color:#b08a49;box-shadow:inset 0 0 0 1px #b08a4920}.choice input{margin:0;accent-color:#967239}.navigation{padding:22px 0;border-bottom:1px solid #dedbd3}.navigation .button{min-width:200px}.survey details{border-bottom:1px solid #dedbd3;padding:12px 0 20px}.closing{margin-top:30px}input:not([type=radio]):focus,textarea:focus{border-color:#ad8746;background:#fffcf6}#status{max-width:260px;line-height:1.5}
@media(max-width:700px){.survey-top h2{font-size:30px}.survey-top #step{font-size:19px}.choices{grid-template-columns:1fr}.section-banner{min-height:250px}.form-body{padding:12px 21px 24px}.form-help{padding:16px 21px;flex-direction:column;gap:8px}.section-guide{margin-right:-18px;padding-right:18px}.navigation{position:sticky;bottom:0;background:#f4f2edf5;backdrop-filter:blur(12px);z-index:3;padding:14px 0;margin-top:12px}.navigation .button{min-width:0;padding:15px 20px}.navigation #status{order:3;max-width:none;width:100%;font-size:12px}fieldset{padding-top:24px}legend{font-size:16px}}
@media(prefers-reduced-motion:reduce){.button,.choice{transition:none}.button:hover{transform:none}}

.photo-credit{display:inline-block;margin-top:16px;font-size:11px;color:#f0dfbc;text-decoration:none;letter-spacing:.08em}.photo-credit:hover{text-decoration:underline}

/* Acabado editorial y controles de lectura */
.section-guide button{flex-shrink:0;padding:10px 14px;border:1px solid #cdbb96;border-radius:24px;font:11px Arial;color:#6f572e;background:#f0e8da;cursor:pointer}.section-guide button:hover{background:#e7dcc8}.section-guide .active{box-shadow:0 3px 10px #102f4618}.question-number{display:inline-flex;align-items:center;justify-content:center;flex:0 0 30px;width:30px;height:30px;background:#f1eee6;color:#94733a;border-radius:50%;font-size:10px;letter-spacing:.06em;margin-right:12px}legend{display:flex;align-items:baseline}.question-number+span{flex:1}.form-body fieldset:last-child{border-bottom:0}.form-body .choices{padding-left:42px}.form-body input:not([type=radio]),.form-body textarea{width:calc(100% - 42px);margin-left:42px}.form-body .field-error{margin-left:42px}.choice:has(input:checked){box-shadow:inset 3px 0 #b08a49}.choice:has(input:checked) span{font-weight:600}.section-banner img{filter:saturate(.88)}.section-banner>div{width:100%}.photo-credit{border-top:1px solid #ffffff44;padding-top:12px}.section-banner #section-title:focus{outline:none}.survey-top{border-top:1px solid #cbb992;padding-top:24px}.survey-top .eyebrow{font-size:9px}.navigation{margin-top:0}.form-help{border-left:1px solid #e1dbce;border-right:1px solid #e1dbce}header a:hover{color:#ecd4a5}#panel{animation:section-enter .3s ease-out}@keyframes section-enter{from{opacity:.7;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.preview{display:inline-block;border:1px solid #d8caaa;padding:8px 12px;border-radius:4px;background:#f7f0e2;line-height:1.6}.survey details summary{font-weight:500;color:#54666f}.survey details p{max-width:780px;color:#53646d}.section-banner{box-shadow:0 10px 30px #102f4612}
@media(min-width:1000px){.survey{padding-top:65px}.section-banner{min-height:380px}.form-body{padding:20px 55px 40px}.section-banner>div{padding-right:10%}}
@media(max-width:700px){.form-body .choices{padding-left:0}.form-body input:not([type=radio]),.form-body textarea{width:100%;margin-left:0}.form-body .field-error{margin-left:0}.question-number{width:25px;height:25px;flex-basis:25px;margin-right:10px}.form-help{font-size:11px}.survey-top{padding-top:16px}.section-banner{min-height:280px}.section-banner h2{font-size:32px}.choice{padding:16px;min-height:64px}.section-guide button{min-height:38px}.preview{font-size:12px}footer{line-height:1.7}}
@media(prefers-reduced-motion:reduce){#panel{animation:none}}

.choice input[type=checkbox]{width:20px;height:20px;margin:0;accent-color:#967239}.navigation[hidden]{display:none}

.section-instruction{background:#f5eddd;border-left:4px solid #b79454;padding:22px 30px;color:#173348}.section-instruction strong{font-size:13px;letter-spacing:.15em;text-transform:uppercase;color:#8c6b33}.section-instruction p{font-size:20px;line-height:1.8;margin:8px 0 0;max-width:850px}.no-question-numbers .choices{padding-left:0}.no-question-numbers input:not([type=radio]),.no-question-numbers textarea{margin-left:0;width:100%}@media(max-width:700px){.section-instruction{padding:20px}.section-instruction p{font-size:18px}}
/* Todas las secciones visibles, sin desplazamiento horizontal. */
.section-guide{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;overflow:visible;margin:0 0 24px;padding:0;width:100%}
.section-guide span,.section-guide button{display:flex;align-items:center;justify-content:flex-start;white-space:normal;overflow-wrap:anywhere;text-align:left;line-height:1.5;min-height:54px;width:100%;padding:12px 16px;border-radius:9px;font-size:12px}
@media(max-width:800px){.section-guide{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-right:0;padding-right:0}.section-guide span,.section-guide button{font-size:11px;padding:11px 12px}}
@media(max-width:380px){.section-guide{grid-template-columns:1fr}.section-guide span,.section-guide button{min-height:44px}}

.survey details.privacy-notice{display:block;background:#fff8e9;border:1px solid #c8a668;border-left:5px solid #a77e36;border-radius:8px;padding:22px 26px;margin:18px 0 30px;box-shadow:0 5px 18px #17334808}.survey .privacy-notice summary{font-size:17px;font-weight:700;color:#173348;line-height:1.5}.survey .privacy-notice p{font-size:15px;line-height:1.8;color:#334d5e;max-width:940px;margin:14px 0 0}@media(max-width:700px){.survey details.privacy-notice{padding:18px 20px}.survey .privacy-notice summary{font-size:16px}.survey .privacy-notice p{font-size:14px}}

/* Entity image carousel */
.closing{align-items:stretch}
.closing>.entity-carousel{position:relative;min-width:0;padding:0;align-self:center;overflow:hidden}
.entity-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;scroll-behavior:smooth}
.entity-track::-webkit-scrollbar{display:none}
.entity-track figure{position:relative;flex:0 0 100%;min-width:0;height:440px;margin:0;scroll-snap-align:start}
.closing .entity-track img{display:block;width:100%;height:100%;min-height:0;max-height:none;object-fit:cover}
.entity-track figcaption{position:absolute;inset:auto 0 0;padding:65px 28px 82px;background:linear-gradient(transparent,#071f32ed);color:white;font-size:16px;line-height:1.4}
.entity-controls{position:absolute;bottom:20px;left:24px;right:24px;display:flex;align-items:center;justify-content:space-between;gap:16px;pointer-events:none}
.entity-controls button{pointer-events:auto;cursor:pointer;border:1px solid #ffffff80;background:#102f46cc;color:white;width:44px;height:44px;border-radius:50%;font-size:22px}
.entity-controls button:hover{background:#284d65}
.entity-dots{display:flex;gap:12px;pointer-events:auto}
.entity-dots button{position:relative;width:24px;height:32px;border:0;background:transparent;padding:0}
.entity-dots button:before{content:'';position:absolute;width:8px;height:8px;border-radius:50%;background:#ffffff70;left:8px;top:12px}
.entity-dots button[aria-current="true"]:before{background:var(--gold);transform:scale(1.4)}
.entity-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.closing>div:not(.entity-carousel){padding:40px 4vw}
.closing>div:not(.entity-carousel) h2{font-size:clamp(29px,3vw,40px)}
.closing>div:not(.entity-carousel) p{font-size:13px;line-height:1.75}
@media(max-width:700px){.entity-track figure{height:340px}.closing>div:not(.entity-carousel){padding:32px 25px}.entity-track figcaption{padding-left:24px;font-size:14px}}
@media(prefers-reduced-motion:reduce){.entity-track{scroll-behavior:auto}}

/* Institutional header logos */
header{height:100px;gap:24px}
header .institutional-brand{display:flex;align-items:center;gap:24px;min-width:0}
.institutional-brand img{display:block;object-fit:contain;flex-shrink:0}
.institutional-brand .unam-logo{width:210px;height:63px}
header .institutional-brand .brand-divider{height:52px;width:1px;padding:0;margin:0;border:0;background:#ffffff55}
.institutional-brand .posgrado-logo{width:174px;height:77px;background:white;border-radius:3px}
.hero{min-height:calc(100svh - 100px)}
@media(max-width:700px){header{height:84px;padding:0 20px}header .institutional-brand{gap:14px}.institutional-brand .unam-logo{width:145px;height:44px}.institutional-brand .posgrado-logo{width:136px;height:60px}header .institutional-brand .brand-divider{height:40px}.hero{min-height:800px}}
@media(max-width:360px){header{padding:0 12px}header .institutional-brand{gap:10px}.institutional-brand .unam-logo{width:130px}.institutional-brand .posgrado-logo{width:122px}}

.entity-link{display:block;position:relative;width:100%;height:100%;color:white;text-decoration:none}
.entity-link:focus-visible{outline:3px solid var(--gold);outline-offset:-5px}
.entity-link figcaption:after{content:' ↗';color:var(--gold)}
.entity-link:hover figcaption{text-decoration:underline;text-underline-offset:4px}

.institutional-brand .posgrado-logo{background:transparent;border-radius:0;width:200px;height:84px}
@media(max-width:700px){.institutional-brand .posgrado-logo{width:136px;height:64px}}
@media(max-width:360px){.institutional-brand .posgrado-logo{width:122px}}

.social-links{display:flex;flex-wrap:wrap;justify-content:center;gap:14px;margin:26px 0 6px}
.social-links a{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:56px;padding:14px 22px;border:1px solid #cfad6c80;border-radius:8px;background:var(--blue);color:#fff;text-decoration:none;font-size:16px;font-weight:600;transition:background .18s,border-color .18s}
.social-links svg{width:24px;height:24px;flex-shrink:0;color:#e2c58e}
.social-links a:hover{background:#23485f;border-color:var(--gold)}
@media(max-width:700px){.social-links{gap:10px}.social-links a{padding:12px 16px;font-size:15px}}
@media(prefers-reduced-motion:reduce){.social-links a{transition:none}}

.completion-carousel{position:relative;overflow:hidden;min-width:0;background:var(--blue);border-radius:12px;margin:24px 0;color:white}
.completion-carousel .entity-track figure{height:340px}
.completion-carousel .entity-track img{display:block;width:100%;height:100%;object-fit:cover}
@media(max-width:700px){.completion-carousel .entity-track figure{height:260px}}

.survey details.privacy-notice[hidden]{display:none}

.question-hint{clear:both;font-size:13px;line-height:1.6;color:#87672d;background:#fbf4e6;padding:10px 15px;border-radius:4px;margin:0 0 16px}.choice:has(input[type=checkbox]:checked){border-color:#b08a49;background:#f7f1e6}.choice input[type=checkbox]{flex:0 0 20px}.choice:has(input[type=checkbox]:checked) span{font-weight:600}

.thank-you>p{line-height:1.85;font-size:16px;max-width:900px;margin:22px 0}.thank-you .completion-folio{display:inline-block;font-size:23px;font-weight:700;color:#173348;background:#f5eddd;border:1px solid #ccb17c;border-radius:8px;padding:15px 22px;margin:10px 0 20px}.thank-you .folio-reminder{border-left:4px solid #b79454;padding:14px 20px;background:#faf5ea}.completion-legends{text-align:center;border-top:1px solid #ded9cb;margin-top:35px;padding-top:24px}.completion-legends p{font-weight:bold;font-size:15px;letter-spacing:.06em;line-height:1.8;margin:12px 0}.completion-actions{text-align:center;margin-top:28px}@media(max-width:700px){.thank-you>p{font-size:14px}.thank-you .completion-folio{font-size:20px}.completion-legends p{font-size:13px}}

/* Keep the Unidad de Posgrado sign in view. */
.entity-track img[src="assets/posgrado-20261022.jpg"]{object-position:center bottom}
