/* Portada circular, navegación y pie institucional. */
.portal-icon{display:inline-block;width:24px;height:24px;flex:0 0 auto;vertical-align:middle}
.site-header{border-bottom:1px solid #e9ebf2;box-shadow:0 3px 18px #25218b05}
.header-inner{min-height:96px;gap:24px}.header-inner .brand img{width:180px}
.header-inner nav{gap:7px;font-size:15px;font-weight:600}
.header-inner nav>a{display:flex;align-items:center;justify-content:center;gap:8px;position:relative;padding:14px 12px;border-radius:8px;color:#25218b;min-height:48px;transition:background .18s,color .18s}
.header-inner nav>a .portal-icon{width:21px;height:21px}
.header-inner nav>a:not(.button):hover{background:#f1f2fa}
.header-inner nav>a[aria-current]{background:#eef0ff;color:#25218b;text-decoration:none}
.header-inner nav>a[aria-current]:after{content:"";height:3px;position:absolute;bottom:0;left:12px;right:12px;border-radius:3px;background:#579934}
.header-inner nav>.button{border:0;font-size:14px;padding:14px 17px}
.header-inner nav>.green{color:#fff;margin-left:6px;background:#579934}
.header-inner nav>.green:hover{background:#437d27}
.header-inner nav>.outline{background:#f7f8fc;box-shadow:inset 0 0 0 1px #e3e5f0}
.portada-stage{position:relative;isolation:isolate;background:linear-gradient(110deg,#f8f7f4,#f5f4ef);overflow:hidden;padding-bottom:30px}
.portada-stage:before{content:"";position:absolute;z-index:-1;width:130%;height:190px;left:-15%;bottom:-95px;background:#e7eff5;border-radius:50%;transform:rotate(-3deg)}
.portada-stage:after{content:"";position:absolute;z-index:-1;width:100%;height:90px;left:-20%;bottom:-50px;background:#fff;border-radius:50%;transform:rotate(3deg)}
.portada-inner{position:relative}
.portada-hero{margin:0;padding:32px 34px 40px;min-height:485px;gap:30px;background:none;border:0;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}
.portada-hero .hero-copy{z-index:2;padding-bottom:20px}
.portada-hero h1{font-size:clamp(42px,4.6vw,78px);gap:14px;letter-spacing:-1.6px;font-weight:400;line-height:1.1}
.portada-hero .hero-ips{font-size:.42em;letter-spacing:0}
.portada-hero .green-rule{height:3px;width:82px;margin:22px 0}
.portada-hero .hero-copy p{font-size:clamp(18px,1.6vw,25px);max-width:530px;line-height:1.5;margin-bottom:26px}
.portada-hero .button-row{gap:14px;flex-wrap:wrap}
.portada-hero .button{gap:12px;padding:16px 22px;min-height:56px;border-radius:5px;font-size:16px;font-weight:600}
.portada-hero .hero-photo{max-width:460px;width:100%;justify-self:center;padding:0;margin:0 0 0 16px;position:relative;isolation:isolate}
.portada-botanical{position:absolute;z-index:-1;width:130%;height:125%;max-width:none;left:-12%;top:-10%;pointer-events:none}
.portada-hero .building{width:100%;aspect-ratio:1;object-fit:cover;border:8px solid #fff;border-radius:50%;box-shadow:none}
.portada-hero .sample-photo{left:-21%;bottom:8px;width:47%;border:7px solid white;border-radius:9px;overflow:hidden;box-shadow:0 12px 30px #25218b18}
.portada-hero .sample-photo img{aspect-ratio:1.35;object-fit:cover}
.portada-access{position:relative;z-index:3;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#fff;border:1px solid #f1f1f4;border-radius:15px;box-shadow:0 12px 34px #25218b0d;padding:22px 12px;margin-top:-10px;gap:0}
.portada-access>a,.portada-access>a:first-child{display:flex;flex-direction:row;align-items:center;gap:16px;padding:8px 24px;min-width:0;border-right:1px solid #e6e7ef;font-size:14px}
.portada-access>a:last-child{border:0}.portada-access>a:hover{background:#f8faf5;border-radius:7px}
.access-icon{position:relative;color:#25218b;border-right:1px solid #8fb271;padding:4px 17px 8px 0;flex:0 0 auto}
.access-icon>.portal-icon{width:36px;height:36px}
.access-icon:after{content:"";position:absolute;left:0;bottom:0;width:29px;height:2px;background:#579934}
.access-copy{display:flex;flex-direction:column;min-width:0;line-height:1.35}
.access-number{font-size:12px;color:#579934;font-weight:700}
.portada-access strong{font-size:18px;line-height:1.3;margin:3px 0 5px}
.access-description{font-size:13px;color:#626779}
.access-arrow{margin-left:auto;border:1px solid #dfe2e7;border-radius:50%;width:30px;height:30px;display:grid;place-items:center;color:#579934;flex:0 0 auto}
.access-arrow>.portal-icon{width:17px;height:17px}
.site-footer{background:#211d77;color:#e0e3f5;border-top:4px solid #6daf45;padding:48px 0 20px}
.site-footer .footer-grid{grid-template-columns:1.15fr 1fr 1fr 1.3fr;gap:38px;font-size:15px}
.site-footer .footer-grid>.brand{background:#fff;padding:20px;border-radius:10px;align-self:start;width:fit-content}
.site-footer .footer-grid>.brand img{width:180px}
.site-footer .footer-grid>div{border-left:1px solid #ffffff26;padding-left:30px}
.site-footer .footer-grid h3{color:#fff;display:flex;align-items:center;gap:10px;font-family:Georgia,'Times New Roman',serif;font-size:25px;font-weight:400;line-height:1.3;margin-bottom:22px;position:relative;padding-bottom:13px}
.site-footer .footer-grid h3:after{content:"";position:absolute;bottom:0;left:0;width:40px;height:2px;background:#8fc768}
.site-footer .footer-grid h3 .portal-icon{width:23px;height:23px;color:#a4d486}
.site-footer .footer-grid a:not(.brand){margin:9px 0;line-height:1.5}
.site-footer a:hover{color:#fff;text-decoration:underline;text-underline-offset:4px}
.site-footer .footer-bottom{border-color:#ffffff26;color:#c8cbe4;font-size:13px;margin-top:36px}
.site-footer .footer-bottom a{display:flex;align-items:center;gap:8px}
@media(min-width:1600px){.portada-hero{min-height:510px}.portada-hero .hero-photo{max-width:475px}}
@media(max-width:1250px){
.header-inner nav{gap:2px;font-size:14px}.header-inner nav>a{padding:12px 8px;gap:6px}.header-inner .brand img{width:155px}.header-inner nav>.button{padding:12px 10px;font-size:13px}
.portada-hero{padding:32px 16px 42px;min-height:445px;gap:24px}.portada-hero h1{font-size:clamp(40px,4.7vw,62px);gap:10px}.portada-hero .hero-photo{max-width:380px}
.portada-hero .button{font-size:14px;padding:14px 16px;gap:8px;min-height:52px}.portada-hero .sample-photo{left:-12%}
.portada-access>a,.portada-access>a:first-child{padding:8px 14px;gap:12px}.access-icon{padding-right:12px}.access-icon>.portal-icon{width:30px;height:30px}.portada-access strong{font-size:16px}.access-description{font-size:12px}.access-arrow{width:25px;height:25px}
}
@media(max-width:1100px){
.header-inner{min-height:86px}.nav-toggle{display:block;border:1px solid #dfe1e8;border-radius:7px;background:#f4f5fc;color:#25218b;padding:10px 18px;font-size:15px;font-weight:600}
.header-inner nav{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;padding:20px;box-shadow:0 14px 24px #25218b12;border-bottom:1px solid #e5e7ee;gap:8px;flex-wrap:wrap}
.header-inner nav.is-open{display:flex}.header-inner nav>a{justify-content:flex-start;padding:14px;font-size:15px}
.portada-access{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:18px;padding:20px}.portada-access>a:nth-child(even){border-right:0}.portada-access>a,.portada-access>a:first-child{padding:8px 18px}.access-description{font-size:14px}.portada-access strong{font-size:19px}
.site-footer .footer-grid{gap:24px}.site-footer .footer-grid>div{padding-left:20px}.site-footer .footer-grid h3{font-size:23px}
}
@media(max-width:760px){
.portada-stage{padding-bottom:24px}.portada-hero{grid-template-columns:minmax(0,1fr);padding:32px 12px 30px;gap:16px;min-height:0}
.portada-hero .hero-copy{padding-bottom:0}.portada-hero h1{font-size:clamp(32px,7.5vw,56px);gap:10px;letter-spacing:-1px}
.portada-hero .hero-copy p{font-size:19px;max-width:490px;margin-bottom:24px}.portada-hero .hero-photo{max-width:330px;width:76%;margin:12px 0 0 36px;justify-self:center}
.portada-hero .sample-photo{left:-16%;width:48%;bottom:8px;border-width:5px}
.portada-access{margin-top:0;padding:16px 8px;row-gap:14px;border-radius:12px}
.portada-access>a,.portada-access>a:first-child{padding:8px 12px;gap:10px}.access-icon{border:0;padding-right:0}.access-icon>.portal-icon{width:29px;height:29px}.access-arrow{display:none}.portada-access strong{font-size:16px}.access-description{font-size:12px}
.site-footer .footer-grid{grid-template-columns:1fr 1fr;gap:30px}.site-footer .footer-grid>.brand{grid-column:1/-1;padding:15px}.site-footer .footer-grid>.brand img{width:160px}.site-footer .footer-grid>div{padding-left:0;border:0}.site-footer .footer-grid>div:last-child{grid-column:1/-1}.site-footer .footer-grid h3{font-size:25px}
}
@media(max-width:420px){
.portada-hero{padding:28px 4px}.portada-hero h1{font-size:clamp(29px,8.3vw,35px);gap:8px}.portada-hero .hero-copy p{font-size:17px}
.portada-hero .button-row{flex-direction:column;align-items:stretch;gap:10px}.portada-hero .button{font-size:15px}.portada-access>a,.portada-access>a:first-child{padding:6px 8px;gap:8px}.access-icon>.portal-icon{width:25px;height:25px}.access-icon:after{width:22px}.portada-access strong{font-size:15px}.access-description{font-size:11px}.site-footer .footer-bottom{gap:16px;flex-wrap:wrap}
}
@media(prefers-reduced-motion:reduce){.header-inner nav>a{transition:none}}

/* Ajustes aprobados: franja azul y fichas de sedes. */
.topbar .wrap{justify-content:flex-end}
.portada-stage{padding-bottom:30px}
.portada-stage:before{width:130%;height:190px;left:-15%;bottom:-65px;background:#211d77;border-radius:50% 50% 0 0;transform:none}
.portada-stage:after{display:none}
.sede-heading-rule{display:block;width:38px;height:2px;background:#579934;margin:14px 0}
.sedes-section .section-heading{align-items:flex-end;margin-bottom:28px}
.sedes-section .section-heading h2{margin:0}.sedes-section .section-heading p{font-size:17px}
.sedes-section .section-heading .sedes-note{font-size:13px;color:#6a6f7e;max-width:350px;text-align:right}
.sede-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.sede-card{border:1px solid #e1e3ef;border-radius:10px;padding:18px;background:#fff;box-shadow:0 6px 20px #25218b06;display:flex;flex-direction:column;min-width:0}
.sede-photo{position:relative;margin:0 0 20px;overflow:hidden;border-radius:7px}
.sede-photo img{display:block;width:100%;height:170px;object-fit:cover;object-position:center 55%}
.sede-photo figcaption{position:absolute;bottom:8px;right:8px;padding:3px 8px;border-radius:3px;background:#252a37bd;color:#fff;font-size:11px}
.sede-title{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.sede-title h3{font-family:Georgia,'Times New Roman',serif;font-size:30px;font-weight:400;line-height:1.2}
.sede-badge{display:inline-block;border-radius:20px;padding:4px 12px;background:#579934;color:#fff;font-size:12px;line-height:1.4}
.sede-card>.sede-heading-rule{margin:12px 0 18px}
.sede-details{margin:0 0 22px;font-size:16px;line-height:1.5}
.sede-details>div{display:grid;grid-template-columns:24px minmax(0,1fr);gap:14px;margin-bottom:13px}
.sede-details>div:last-child{margin-bottom:0}.sede-details dt{color:#25218b}.sede-details dd{margin:0;overflow-wrap:anywhere}.sede-details small{color:#7b8090;font-size:12px}
.sede-location{display:flex;align-items:center;justify-content:center;gap:12px;min-height:44px;width:100%;border:1px solid #579934;border-radius:5px;background:#fff;color:#316e25;font-size:15px;font-weight:600;padding:8px 12px;margin-top:auto}
.sede-location:hover{background:#f2f7ed}.sede-location:disabled{cursor:default;color:#69835f;border-color:#a4b59a;background:#fafcf7}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1050px){.sede-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.sede-title h3{font-size:28px}}
@media(max-width:640px){.sede-cards{grid-template-columns:minmax(0,1fr);gap:20px}.sede-photo img{height:185px}.sedes-section .section-heading{display:block}.sedes-section .section-heading .sedes-note{margin-top:14px;text-align:left;max-width:none}.sede-details{font-size:16px}.sede-title h3{font-size:29px}.portada-stage:before{height:180px;bottom:-50px}}

/* Nuestra institución: panel superpuesto, opción 4. */
.institution-overlay{position:relative;isolation:isolate;background:#f5f3ef;display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,.9fr);align-items:center;padding:52px 42px 66px;margin-top:8px;gap:0;border-bottom:7px solid #25218b}
.institution-overlay>img{width:100%;height:490px;object-fit:cover;object-position:center 48%;position:relative;z-index:0}
.institution-overlay .institution-copy{position:relative;z-index:1;background:white;margin:42px 0 0 -66px;padding:46px 42px;box-shadow:0 18px 36px #27213c10}
.institution-overlay .institution-copy h2{font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:clamp(38px,4vw,62px);line-height:1.08;color:#25218b;letter-spacing:-1.2px;margin:0}
.institution-rule{display:block;width:76px;height:4px;background:#579934;margin:25px 0}
.institution-overlay .institution-copy p{font-size:18px;line-height:1.65;margin:0 0 28px}
.institution-overlay .institution-button{display:inline-flex;align-items:center;justify-content:center;gap:16px;max-width:100%;min-height:54px;padding:16px 23px;border-radius:6px;font-size:16px;line-height:1.35;background:#25218b;color:#fff;border:1px solid #25218b}
.institution-overlay .institution-button:hover{background:#171564}
@media(max-width:1100px){.institution-overlay{padding:36px 28px 48px;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}.institution-overlay>img{height:440px}.institution-overlay .institution-copy{margin-left:-36px;padding:32px}.institution-overlay .institution-copy p{font-size:17px}.institution-overlay .institution-button{font-size:15px;padding:14px 18px}}
@media(max-width:760px){.institution-overlay{grid-template-columns:minmax(0,1fr);padding:24px 20px 30px}.institution-overlay>img{height:330px;object-position:center 42%}.institution-overlay .institution-copy{margin:-35px 14px 0;padding:28px 26px}.institution-overlay .institution-copy h2{font-size:40px}.institution-overlay .institution-copy h2 br{display:none}.institution-rule{margin:20px 0}.institution-overlay .institution-copy p{font-size:17px}.institution-overlay .institution-button{font-size:15px}}
@media(max-width:420px){.institution-overlay{padding:18px 14px 24px}.institution-overlay>img{height:275px}.institution-overlay .institution-copy{margin:-25px 0 0;padding:26px 22px}.institution-overlay .institution-copy h2{font-size:35px}.institution-overlay .institution-copy p{font-size:16px}.institution-overlay .institution-button{width:100%;font-size:14px;gap:10px;padding:14px 10px}}
