
:root{--red:#b5121b;--red-dark:#760b13;--wine:#5b1020;--gold:#d5a53a;--cream:#fffaf2;--ink:#1f2530;--muted:#667085;--line:#e7e1dc;--white:#fff;--green:#2f7d4a;--blue:#205ca5;--shadow:0 18px 45px rgba(41,19,21,.10);--radius:18px;--container:1240px;--font:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:150px}body{margin:0;font-family:var(--font);color:var(--ink);background:#fff;line-height:1.6}body::selection{background:#f4cdd0;color:var(--wine)}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}button,input,textarea,select{font:inherit}.container{width:min(calc(100% - 32px),var(--container));margin:auto}.skip-link{position:absolute;left:-9999px;top:8px;background:#fff;color:#000;padding:10px 16px;z-index:9999;border-radius:8px}.skip-link:focus{left:16px}.topbar{background:var(--wine);color:#fff;font-size:.82rem}.topbar-inner{min-height:36px;display:flex;gap:22px;align-items:center}.topbar span,.topbar a{display:inline-flex;gap:7px;align-items:center}.topbar svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:1.8}.top-actions{margin-left:auto;display:flex;gap:13px;align-items:center}.icon-button{border:0;background:rgba(255,255,255,.12);color:#fff;border-radius:6px;padding:3px 8px;cursor:pointer}.brandbar{background:#fff;border-bottom:1px solid var(--line)}.brandbar-inner{min-height:96px;display:flex;align-items:center;gap:22px}.brand{display:flex;align-items:center;gap:15px;min-width:330px}.brand img{width:64px;height:72px;object-fit:contain}.brand strong{display:block;color:var(--wine);font-size:1.28rem;letter-spacing:.02em}.brand span{font-size:.86rem;color:var(--muted)}.quick-portals{margin-left:auto;display:flex;gap:8px}.portal-btn{display:flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:14px;padding:9px 12px;min-width:132px;transition:.2s;background:#fff}.portal-btn:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(0,0,0,.08)}.portal-btn svg{width:24px;height:24px;stroke:var(--red);fill:none;stroke-width:1.7}.portal-btn b,.portal-btn small{display:block;line-height:1.25}.portal-btn b{font-size:.88rem}.portal-btn small{font-size:.69rem;color:var(--muted)}.portal-btn.siapa{border-color:#f1c2c5}.portal-btn.siedi{border-color:#dfd0ef}.portal-btn.siedi svg{stroke:#70429a}.portal-btn.aula{border-color:#c9d8ec}.portal-btn.aula svg{stroke:var(--blue)}.portal-btn.correo{border-color:#cbe2d3}.portal-btn.correo svg{stroke:var(--green)}.mobile-toggle{display:none;border:0;background:var(--wine);color:#fff;width:44px;height:44px;border-radius:10px}.mobile-toggle svg{width:24px;stroke:currentColor;fill:none;stroke-width:2}.mainnav{background:#fff;box-shadow:0 5px 15px rgba(0,0,0,.05);position:sticky;top:0;z-index:90}.nav-scroll{display:flex;align-items:stretch;justify-content:center}.nav-item{position:relative}.nav-link{min-height:52px;padding:0 9px;display:flex;align-items:center;gap:5px;font-size:.79rem;font-weight:700;color:#3d4048;border-bottom:3px solid transparent;white-space:nowrap}.nav-link svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:1.8}.nav-link:hover,.nav-link.active{color:var(--red);border-bottom-color:var(--red)}.nav-accent .nav-link{color:var(--red)}.chevron{font-size:.8rem;margin-left:1px}.submenu{position:absolute;top:100%;left:0;width:265px;background:#fff;border:1px solid var(--line);border-top:3px solid var(--red);box-shadow:var(--shadow);border-radius:0 0 12px 12px;padding:9px;opacity:0;visibility:hidden;transform:translateY(8px);transition:.18s;z-index:100}.submenu a{padding:9px 10px;border-radius:8px;display:flex;justify-content:space-between;align-items:center;font-size:.84rem;color:#40434a}.submenu a:hover{background:#fff3f3;color:var(--red)}.submenu svg{width:14px;height:14px;stroke:currentColor;fill:none}.has-submenu:hover>.submenu,.has-submenu:focus-within>.submenu{opacity:1;visibility:visible;transform:none}.hero{position:relative;overflow:hidden;background:linear-gradient(122deg,var(--wine),var(--red) 55%,#d12d36);color:#fff}.hero::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 80% 30%,rgba(255,255,255,.18),transparent 26%),linear-gradient(90deg,transparent 49%,rgba(255,255,255,.06) 50%,transparent 51%);background-size:auto,42px 42px}.hero-inner{position:relative;min-height:580px;display:grid;grid-template-columns:1.15fr .85fr;gap:50px;align-items:center;padding:68px 0}.eyebrow{display:inline-flex;align-items:center;gap:8px;text-transform:uppercase;letter-spacing:.13em;font-size:.78rem;font-weight:800;color:var(--gold)}.eyebrow::before{content:"";width:34px;height:2px;background:currentColor}.hero h1{font-size:clamp(2.55rem,5vw,5.2rem);line-height:1.03;margin:14px 0 20px;max-width:820px}.hero p{font-size:1.12rem;max-width:690px;color:rgba(255,255,255,.88)}.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:12px 18px;border-radius:11px;font-weight:800;border:1px solid transparent;cursor:pointer;transition:.2s}.btn svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.8}.btn-primary{background:var(--gold);color:#2b1d00}.btn-primary:hover{background:#e8bd58;transform:translateY(-2px)}.btn-outline{border-color:rgba(255,255,255,.55);color:#fff}.btn-outline:hover{background:#fff;color:var(--wine)}.btn-red{background:var(--red);color:#fff}.btn-red:hover{background:var(--wine)}.btn-light{background:#fff;color:var(--wine);border-color:var(--line)}.hero-visual{position:relative;display:flex;justify-content:center}.hero-badge{width:min(390px,80vw);aspect-ratio:1;border-radius:50%;background:rgba(255,255,255,.96);display:grid;place-items:center;box-shadow:0 30px 80px rgba(37,0,5,.32);position:relative}.hero-badge::before,.hero-badge::after{content:"";position:absolute;border-radius:50%;border:1px solid rgba(255,255,255,.35)}.hero-badge::before{inset:-22px}.hero-badge::after{inset:-45px}.hero-badge img{width:48%;max-height:66%;object-fit:contain}.hero-chip{position:absolute;background:#fff;color:var(--ink);border-radius:13px;padding:10px 14px;box-shadow:var(--shadow);font-weight:800;font-size:.82rem}.hero-chip.one{top:16%;left:-7%}.hero-chip.two{right:-4%;bottom:23%}.hero-chip.three{left:4%;bottom:4%}.stats-strip{position:relative;margin-top:-38px;z-index:3}.stats-grid{background:#fff;border-radius:18px;box-shadow:var(--shadow);display:grid;grid-template-columns:repeat(4,1fr);overflow:hidden}.stat{padding:24px;text-align:center;border-right:1px solid var(--line)}.stat:last-child{border:0}.stat strong{display:block;font-size:1.55rem;color:var(--red)}.stat span{font-size:.82rem;color:var(--muted)}.section{padding:84px 0}.section-alt{background:var(--cream)}.section-wine{background:var(--wine);color:#fff}.section-header{max-width:780px;margin:0 auto 42px;text-align:center}.section-header.left{text-align:left;margin-left:0}.section-header h2{font-size:clamp(2rem,3.5vw,3.2rem);line-height:1.13;margin:9px 0 14px;color:var(--wine)}.section-wine .section-header h2{color:#fff}.section-header p{color:var(--muted);font-size:1.03rem}.section-wine .section-header p{color:rgba(255,255,255,.75)}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:26px;box-shadow:0 8px 30px rgba(42,22,24,.04);transition:.25s}.card:hover{transform:translateY(-5px);box-shadow:var(--shadow)}.card-icon{width:50px;height:50px;border-radius:14px;background:#fff0f1;color:var(--red);display:grid;place-items:center;margin-bottom:16px}.card-icon svg{width:24px;height:24px;stroke:currentColor;fill:none;stroke-width:1.7}.card h3{margin:0 0 8px;color:var(--wine)}.card p{color:var(--muted);margin:0 0 15px}.text-link{color:var(--red);font-weight:800;display:inline-flex;gap:6px;align-items:center}.text-link svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:2}.feature-grid{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:center}.feature-image{border-radius:24px;overflow:hidden;box-shadow:var(--shadow);background:#eee}.feature-image img{width:100%;height:440px;object-fit:cover}.check-list{list-style:none;padding:0;margin:24px 0}.check-list li{position:relative;padding:9px 0 9px 34px}.check-list li::before{content:"✓";position:absolute;left:0;top:8px;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#e9f6ed;color:var(--green);font-weight:900;font-size:.75rem}.portal-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.portal-card{color:#fff;padding:28px;border-radius:20px;min-height:225px;display:flex;flex-direction:column;position:relative;overflow:hidden}.portal-card::after{content:"";position:absolute;width:170px;height:170px;border-radius:50%;background:rgba(255,255,255,.1);right:-60px;bottom:-70px}.portal-card.red{background:linear-gradient(135deg,var(--red),var(--wine))}.portal-card.purple{background:linear-gradient(135deg,#7545a8,#3e1f63)}.portal-card.blue{background:linear-gradient(135deg,#2c74c9,#153d75)}.portal-card.green{background:linear-gradient(135deg,#398f58,#1e5d38)}.portal-card svg{width:36px;height:36px;stroke:currentColor;fill:none;stroke-width:1.5}.portal-card h3{font-size:1.5rem;margin:14px 0 4px}.portal-card p{color:rgba(255,255,255,.8);margin:0}.portal-card .text-link{color:#fff;margin-top:auto}.news-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:22px}.news-feature{border-radius:20px;overflow:hidden;position:relative;min-height:470px;background:linear-gradient(160deg,#47101b,#b5121b);color:#fff;padding:34px;display:flex;align-items:flex-end}.news-feature::before{content:"";position:absolute;inset:0;background:linear-gradient(transparent,rgba(0,0,0,.68)),url('../img/proyecto-institucional.png') center/cover;opacity:.78}.news-feature>*{position:relative}.news-list{display:grid;gap:15px}.news-item{background:#fff;border:1px solid var(--line);border-radius:16px;padding:19px;display:grid;grid-template-columns:95px 1fr;gap:16px}.news-date{border-radius:12px;background:#fff2f2;color:var(--red);display:grid;place-items:center;text-align:center;line-height:1.1}.news-date b{font-size:1.65rem}.news-date span{font-size:.72rem;text-transform:uppercase}.news-item h3{font-size:1rem;margin:0 0 5px}.news-item p{font-size:.86rem;color:var(--muted);margin:0}.cta-band{background:linear-gradient(135deg,var(--wine),var(--red));border-radius:24px;padding:38px;color:#fff;display:flex;justify-content:space-between;align-items:center;gap:28px}.cta-band h2{margin:0 0 8px;font-size:2rem}.cta-band p{margin:0;color:rgba(255,255,255,.8)}.page-hero{background:linear-gradient(120deg,var(--wine),var(--red));color:#fff;padding:62px 0;position:relative;overflow:hidden}.page-hero::after{content:"";position:absolute;right:-120px;top:-140px;width:420px;height:420px;border:70px solid rgba(255,255,255,.06);border-radius:50%}.breadcrumbs{display:flex;flex-wrap:wrap;gap:8px;font-size:.82rem;color:rgba(255,255,255,.75);margin-bottom:18px}.breadcrumbs a:hover{color:#fff}.page-hero h1{font-size:clamp(2.4rem,5vw,4.4rem);margin:0 0 10px;line-height:1.05}.page-hero p{max-width:760px;font-size:1.08rem;color:rgba(255,255,255,.82)}.subnav{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:52px;z-index:70}.subnav .container{display:flex;gap:6px;overflow:auto;padding-top:9px;padding-bottom:9px}.subnav a{padding:8px 12px;border-radius:9px;white-space:nowrap;font-size:.82rem;font-weight:700;color:var(--muted)}.subnav a:hover{background:#fff1f1;color:var(--red)}.content-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:42px}.prose h2{font-size:2rem;color:var(--wine);margin-top:0}.prose h3{color:var(--wine);margin-top:30px}.prose p{color:#4c5360}.prose section{padding:38px 0;border-bottom:1px solid var(--line)}.prose section:first-child{padding-top:0}.sidebar{position:sticky;top:125px;align-self:start}.sidebar-card{background:var(--cream);border:1px solid var(--line);border-radius:16px;padding:22px;margin-bottom:18px}.sidebar-card h3{margin-top:0;color:var(--wine)}.sidebar-card a{display:block;padding:8px 0;border-bottom:1px solid var(--line);font-size:.9rem}.sidebar-card a:last-child{border:0}.data-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.data-item{padding:18px;border-radius:14px;background:#fff;border:1px solid var(--line)}.data-item b{display:block;color:var(--wine);font-size:.8rem;text-transform:uppercase;letter-spacing:.07em}.data-item span{display:block;margin-top:4px}.quote{border-left:4px solid var(--gold);background:var(--cream);padding:20px 22px;border-radius:0 14px 14px 0;font-size:1.05rem;color:var(--wine)}.timeline{position:relative;margin:25px 0}.timeline::before{content:"";position:absolute;left:15px;top:0;bottom:0;width:2px;background:#ead7d9}.timeline-item{position:relative;padding:0 0 25px 48px}.timeline-item::before{content:"";position:absolute;left:7px;top:3px;width:18px;height:18px;border-radius:50%;background:var(--red);border:4px solid #f9dadd}.timeline-item b{color:var(--red)}.org-image{background:#fff;border:1px solid var(--line);border-radius:18px;padding:15px}.tag-list{display:flex;flex-wrap:wrap;gap:9px}.tag{background:#fff1f1;color:var(--red);border-radius:999px;padding:7px 11px;font-weight:700;font-size:.78rem}.accordion{border:1px solid var(--line);border-radius:14px;overflow:hidden;margin:12px 0}.accordion-button{width:100%;border:0;background:#fff;padding:17px 18px;text-align:left;font-weight:800;color:var(--wine);display:flex;justify-content:space-between;cursor:pointer}.accordion-button::after{content:"+";font-size:1.25rem}.accordion-button[aria-expanded="true"]::after{content:"−"}.accordion-panel{padding:0 18px 18px;background:#fff}.accordion-panel[hidden]{display:none}.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.gallery-card{border-radius:16px;overflow:hidden;background:#fff;border:1px solid var(--line);cursor:pointer}.gallery-card img{width:100%;height:240px;object-fit:cover;transition:.25s}.gallery-card:hover img{transform:scale(1.03)}.gallery-card figcaption{padding:13px;font-size:.85rem;color:var(--muted)}.lightbox{position:fixed;inset:0;background:rgba(0,0,0,.88);z-index:999;display:none;place-items:center;padding:30px}.lightbox.open{display:grid}.lightbox img{max-height:88vh;max-width:92vw}.lightbox-close{position:absolute;right:24px;top:18px;border:0;background:#fff;color:#000;width:42px;height:42px;border-radius:50%;font-size:1.5rem;cursor:pointer}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.field{display:flex;flex-direction:column;gap:6px}.field.full{grid-column:1/-1}.field label{font-weight:700;font-size:.86rem}.field input,.field textarea,.field select{border:1px solid #cfd2d8;border-radius:10px;padding:11px 12px;background:#fff}.field input:focus,.field textarea:focus,.field select:focus{outline:3px solid #f7cdd0;border-color:var(--red)}.map-placeholder{min-height:390px;border-radius:18px;background:linear-gradient(135deg,#f2e5e6,#fff9f0);display:grid;place-items:center;text-align:center;padding:30px;border:1px solid var(--line)}.doc-list{display:grid;gap:12px}.doc-item{background:#fff;border:1px solid var(--line);border-radius:14px;padding:17px;display:flex;gap:14px;align-items:center}.doc-item svg{width:28px;height:28px;stroke:var(--red);fill:none;stroke-width:1.6}.doc-item div{flex:1}.doc-item b,.doc-item small{display:block}.doc-item small{color:var(--muted)}.notice{padding:17px 19px;border-radius:13px;background:#fff7df;border:1px solid #eed598;color:#6f5206}.reveal{opacity:0;transform:translateY(18px);transition:.65s}.reveal.visible{opacity:1;transform:none}.footer-main{background:#2d0a12;color:#fff;padding:58px 0}.footer-grid{display:grid;grid-template-columns:1.4fr .8fr .8fr 1fr;gap:40px}.footer-grid h2{font-size:1rem;margin:0 0 14px}.footer-grid a{display:block;color:rgba(255,255,255,.72);font-size:.88rem;padding:4px 0}.footer-grid a:hover{color:#fff}.footer-grid p{color:rgba(255,255,255,.68);font-size:.88rem}.footer-brand{display:flex;gap:12px;align-items:center}.footer-brand img{width:52px;height:60px;object-fit:contain;background:#fff;border-radius:9px;padding:3px}.footer-brand b,.footer-brand span{display:block}.footer-brand span{font-size:.78rem;color:rgba(255,255,255,.65)}.social-links{display:flex;gap:8px}.social-links a{width:34px;height:34px;border-radius:50%;background:rgba(255,255,255,.1);display:grid;place-items:center;padding:0}.footer-bottom{background:#1d060b;color:rgba(255,255,255,.62);font-size:.78rem}.footer-bottom .container{min-height:48px;display:flex;justify-content:space-between;align-items:center}.footer-bottom a{color:inherit}
.top-whatsapp{color:#fff;font-weight:750}.top-whatsapp svg{width:16px;height:16px}.systems-note{display:grid;grid-template-columns:1fr auto 1fr;gap:18px;align-items:stretch;margin-top:28px}.system-panel{border:1px solid var(--line);border-radius:18px;padding:24px;background:#fff}.system-panel h3{margin:0 0 8px;color:var(--wine)}.system-panel p{margin:0;color:var(--muted)}.system-panel .tag{margin-bottom:12px;display:inline-flex}.systems-divider{display:grid;place-items:center;color:var(--muted);font-weight:900}.whatsapp-float{position:fixed;right:22px;bottom:22px;z-index:300;display:flex;align-items:center;gap:9px;background:#20a95a;color:#fff;padding:12px 16px;border-radius:999px;box-shadow:0 12px 35px rgba(0,0,0,.25);font-weight:850;transition:.2s}.whatsapp-float:hover{background:#168747;transform:translateY(-2px)}.whatsapp-float svg{width:25px;height:25px;stroke:currentColor;fill:none;stroke-width:1.7}.whatsapp-card{background:#eaf9ef;border-color:#bfe6cd}.whatsapp-card .card-icon{background:#d5f2df;color:#168747}
.high-contrast{--red:#ffea00;--red-dark:#000;--wine:#000;--gold:#ffea00;--cream:#fff;--ink:#000;--muted:#1f1f1f;--line:#000}.high-contrast body{background:#fff}.high-contrast .hero,.high-contrast .page-hero{background:#000;color:#fff}.high-contrast .btn-primary{background:#ffea00;color:#000}.large-text{font-size:112.5%}
@media(max-width:1100px){.quick-portals{display:none}.brandbar-inner{min-height:78px}.brand{min-width:0}.mobile-toggle{display:grid;place-items:center;margin-left:auto}.mainnav{display:none;position:relative;top:0}.mainnav.open{display:block}.nav-scroll{display:block;padding:8px 16px}.nav-link{font-size:.9rem;border-radius:8px;min-height:45px}.submenu{position:static;width:100%;opacity:1;visibility:visible;transform:none;display:none;box-shadow:none;border:0;border-left:3px solid var(--red);border-radius:0;margin-left:15px}.nav-item.expanded>.submenu{display:block}.stats-grid{grid-template-columns:repeat(2,1fr)}.stat:nth-child(2){border-right:0}.stat:nth-child(-n+2){border-bottom:1px solid var(--line)}.cards,.portal-grid{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.top-whatsapp{margin-left:auto}.systems-note{grid-template-columns:1fr}.systems-divider{min-height:20px}.whatsapp-float span{display:none}.whatsapp-float{width:56px;height:56px;padding:0;justify-content:center;border-radius:50%}.topbar-inner>span{display:none}.top-actions{margin-left:0;width:100%;justify-content:flex-end}.brand img{width:48px;height:56px}.brand strong{font-size:1rem}.brand span{display:none}.hero-inner{grid-template-columns:1fr;min-height:auto;padding:58px 0 90px}.hero-visual{display:none}.hero h1{font-size:2.75rem}.stats-strip{margin-top:-30px}.section{padding:62px 0}.cards,.portal-grid,.feature-grid,.news-grid,.content-grid,.gallery-grid,.footer-grid{grid-template-columns:1fr}.feature-grid{gap:28px}.feature-image img{height:310px}.news-feature{min-height:390px}.cta-band{flex-direction:column;align-items:flex-start}.subnav{top:0}.sidebar{position:static}.data-grid,.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.footer-bottom .container{flex-direction:column;justify-content:center;gap:3px;text-align:center}.page-hero{padding:48px 0}}
@media(max-width:480px){.container{width:min(calc(100% - 22px),var(--container))}.hero h1{font-size:2.25rem}.hero-actions .btn{width:100%}.stats-grid{grid-template-columns:1fr}.stat{border-right:0;border-bottom:1px solid var(--line)!important}.cards{grid-template-columns:1fr}.news-item{grid-template-columns:74px 1fr}.section-header h2{font-size:1.85rem}}

/* Correo institucional y registro docente */
.security-steps{display:grid;gap:12px;margin:24px 0}.security-steps>div{display:flex;gap:13px;align-items:flex-start;background:#fff;border:1px solid var(--line);border-radius:14px;padding:15px}.security-steps b{display:grid;place-items:center;flex:0 0 34px;height:34px;border-radius:50%;background:var(--red);color:#fff}.security-steps span,.security-steps strong,.security-steps small{display:block}.security-steps small{color:var(--muted);margin-top:4px;line-height:1.45}
