
:root {
  --background: #ffffff;
  --foreground: #153124;
  --card: #ffffff;
  --card-foreground: #153124;
  --popover: #ffffff;
  --popover-foreground: #153124;
  --primary: #086036;
  --primary-foreground: #ffffff;
  --secondary: #edf4ee;
  --secondary-foreground: #153124;
  --muted-foreground: #617266;
  --accent: #edf4ee;
  --accent-foreground: #153124;
  --destructive: #c92727;
  --border: #dbe5dc;
  --input: #cbd9cd;
  --ring: #13924e;
  --radius: .65rem;
  --ink: #153124;
  --navy: #086036;
  --navy-deep: #043d24;
  --blue: #118445;
  --gold: #f2cf18;
  --gold-light: #fff16a;
  --red: #d92b2b;
  --cream: #f5f8f1;
  --paper: #ffffff;
  --muted: #617266;
  --line: #dbe5dc;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }

.top-strip { background: var(--navy-deep); color: #dbe7f3; font-size: 12px; }
.top-strip-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.top-strip p { margin: 0; letter-spacing: .025em; }
.top-contact { display: flex; align-items: center; gap: 22px; }
.top-contact a { display: inline-flex; align-items: center; gap: 7px; opacity: .9; }

.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(16,43,78,.1); backdrop-filter: blur(12px); }
.header-inner { min-height: 82px; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; }
.brand-mark { width: 47px; height: 56px; object-fit: contain; filter: drop-shadow(0 4px 6px rgba(4,61,36,.14)); }
.brand strong { display: block; color: var(--navy); font-size: 17px; line-height: 1.2; }
.brand small { display: block; margin-top: 4px; color: #758094; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.desktop-nav { display: flex; align-items: center; justify-content: center; gap: 29px; margin-left: auto; }
.desktop-nav a { position: relative; padding: 30px 0; color: #405449; font-size: 14px; font-weight: 700; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 20px; height: 2px; background: var(--gold); transition: right .2s ease; }
.desktop-nav a:hover::after { right: 0; }
.intranet-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 17px; border-radius: 8px; background: var(--navy); color: white; font-size: 13px; font-weight: 800; box-shadow: 0 7px 18px rgba(4,61,36,.2); transition: transform .2s ease, background .2s ease; }
.intranet-button:hover { background: var(--blue); transform: translateY(-1px); }

.header-actions { display: inline-flex; align-items: center; gap: 10px; }
.admin-access-button { display: inline-flex; align-items: center; justify-content: center; padding: 12px 15px; border: 1px solid var(--navy); border-radius: 8px; color: var(--navy); background: #fff; font-size: 13px; font-weight: 800; transition: background .2s ease, color .2s ease, transform .2s ease; }
.admin-access-button:hover { background: var(--navy); color: #fff; transform: translateY(-1px); }
.mobile-admin-link { margin-top: 4px; color: var(--navy) !important; background: var(--secondary); border: 1px solid var(--border); }
.mobile-menu { display: none; margin-left: auto; position: relative; }
.mobile-menu summary { list-style: none; cursor: pointer; padding: 10px; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu nav { position: absolute; right: 0; top: 48px; width: 220px; display: grid; padding: 10px; border: 1px solid var(--line); background: white; border-radius: 12px; box-shadow: 0 16px 40px rgba(7,27,49,.16); }
.mobile-menu nav a { padding: 12px; border-radius: 8px; font-weight: 700; font-size: 14px; }
.mobile-menu nav a:hover { background: #eef3f8; }

.hero { position: relative; min-height: 690px; display: grid; align-items: center; overflow: hidden; background: var(--navy-deep); color: white; }
.hero-image { position: absolute; inset: 0; background-image: url("https://iesanfernando.com/aulavirtual/pluginfile.php/1/theme_academi/slide1image/1773070432/AV.jpg"); background-position: center; background-size: cover; filter: saturate(.85); transform: scale(1.01); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,45,25,.98) 0%, rgba(4,61,36,.93) 43%, rgba(4,61,36,.5) 75%, rgba(31,30,12,.65) 100%); }
.hero-content { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) 300px; align-items: center; gap: 64px; padding: 80px 0 150px; }
.hero-copy { min-width: 0; }
.hero-identity { display: grid; justify-items: center; align-content: center; gap: 18px; }
.hero-insignia { width: min(230px, 100%); max-height: 286px; object-fit: contain; filter: drop-shadow(0 18px 28px rgba(0,0,0,.34)); }
.jec-badge { width: 225px; padding: 10px 15px; border-radius: 14px; background: rgba(255,255,255,.94); box-shadow: 0 12px 28px rgba(0,0,0,.22); }
.jec-badge img { display: block; width: 100%; height: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 20px; color: var(--gold-light); font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero h1 { max-width: 720px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(48px, 6.2vw, 76px); font-weight: 600; line-height: .98; letter-spacing: -.045em; text-wrap: balance; }
.hero-lead { max-width: 640px; margin: 26px 0 0; color: #dbe6ef; font-size: clamp(17px, 2vw, 20px); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 35px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 20px; border-radius: 7px; font-size: 14px; font-weight: 800; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-gold { background: var(--gold); color: #173520; }
.button-gold:hover { background: var(--gold-light); }
.button-glass { border: 1px solid rgba(255,255,255,.42); background: rgba(255,255,255,.08); color: white; backdrop-filter: blur(6px); }
.button-glass:hover { background: rgba(255,255,255,.15); }
.highlight-row { position: absolute; z-index: 3; left: 50%; bottom: 0; transform: translateX(-50%); display: grid; grid-template-columns: repeat(3,1fr); background: rgba(255,255,255,.97); color: var(--navy); border-radius: 10px 10px 0 0; box-shadow: 0 -12px 35px rgba(3,17,32,.13); }
.highlight { min-height: 100px; display: flex; flex-direction: column; justify-content: center; padding: 20px 38px; border-right: 1px solid var(--line); }
.highlight:last-child { border-right: 0; }
.highlight strong { color: var(--red); font-family: Georgia, serif; font-size: 27px; }
.highlight span { margin-top: 3px; color: #687589; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }

.services-section { padding: 100px 0; background: #fff; }
.section-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.section-heading h2, .institution-intro h2, .information-copy h2 { margin: 8px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(34px, 4vw, 50px); line-height: 1.08; letter-spacing: -.035em; }
.section-heading-row > p { max-width: 425px; margin: 0 0 4px; color: var(--muted); line-height: 1.65; }
.kicker { margin: 0; color: #b52b2b; font-size: 12px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 38px; }
.service-card { min-height: 124px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 24px; border: 1px solid var(--line); border-radius: 11px; background: #fff; box-shadow: 0 8px 28px rgba(16,43,78,.055); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.service-card:hover { transform: translateY(-4px); border-color: #afc2d6; box-shadow: 0 14px 34px rgba(16,43,78,.1); }
.service-card-primary { background: var(--navy); border-color: var(--navy); color: white; }
.service-card-primary { border-top: 4px solid var(--gold); }
.service-card-primary .service-icon { background: var(--gold); color: var(--navy); }
.service-card-primary .service-copy small { color: #ccdae8; }
.service-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 10px; background: #e7f4eb; color: var(--blue); }
.service-copy strong { display: block; font-size: 17px; }
.service-copy small { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; line-height: 1.4; }
.service-arrow { opacity: .6; }

.publications-section { padding: 100px 0; background: #fff; }
.publications-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 38px; }
.publication-card { overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: white; box-shadow: 0 10px 30px rgba(4,61,36,.07); }
.publication-image { display: block; width: 100%; height: 190px; object-fit: cover; background: #edf4ee; }
.publication-card-body { padding: 25px; }
.publication-meta { display: flex; align-items: center; justify-content: space-between; gap: 15px; color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.publication-meta span { color: #b52b2b; }
.publication-card h3 { margin: 15px 0 10px; color: var(--navy-deep); font-family: Georgia, serif; font-size: 22px; line-height: 1.2; }
.publication-card h2 { margin: 15px 0 10px; color: var(--navy-deep); font-family: Georgia, serif; font-size: 22px; line-height: 1.2; }
.publication-card h2 a:hover, .publication-card h3 a:hover { color: var(--blue); }
.publication-card p { display: -webkit-box; overflow: hidden; margin: 0; color: var(--muted); line-height: 1.65; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.publication-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 20px; }
.publication-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 20px; color: var(--navy); font-size: 13px; font-weight: 800; }
.publication-actions .publication-link { margin-top: 0; }
.publication-attachment { color: var(--muted); }
.publication-link:hover { color: var(--red); }
.publications-empty { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 38px; padding: 38px; border: 1px dashed #b9ccbC; border-radius: 13px; background: var(--cream); color: var(--muted); }
.publications-empty svg { color: var(--navy); }
.publications-empty strong, .publications-empty span { display: block; }
.publications-empty strong { margin-bottom: 6px; color: var(--ink); }

.gallery-preview-section { padding: 100px 0; background: var(--cream); }
.gallery-view-all { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); font-size: 14px; font-weight: 900; }
.gallery-preview-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: 215px 215px; gap: 12px; margin-top: 38px; }
.gallery-preview-item { position: relative; overflow: hidden; border-radius: 12px; background: #dbe8de; }
.gallery-preview-item-1 { grid-column: span 2; grid-row: span 2; }
.gallery-preview-item-2, .gallery-preview-item-3 { grid-column: span 1; }
.gallery-preview-item-4 { grid-column: span 2; }
.gallery-preview-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery-preview-item:hover img { transform: scale(1.045); }
.gallery-preview-item::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(3,43,26,.8)); }
.gallery-preview-item span { position: absolute; z-index: 2; right: 16px; bottom: 14px; left: 16px; color: white; font-size: 13px; font-weight: 800; }

.institution-section { padding: 105px 0; background: var(--cream); }
.institution-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 85px; align-items: center; }
.institution-intro > p:not(.kicker) { margin: 22px 0 0; color: var(--muted); line-height: 1.75; }
.motto { margin-top: 30px; padding: 22px 0 0 22px; border-left: 4px solid var(--gold); }
.motto span { display: block; margin-bottom: 7px; color: #758094; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .13em; }
.motto strong { font-family: Georgia, serif; font-size: 18px; color: var(--navy); }
.purpose-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.purpose-card { position: relative; min-height: 355px; overflow: hidden; padding: 34px; border-radius: 12px; background: white; box-shadow: 0 15px 42px rgba(16,43,78,.08); }
.vision-card { margin-top: 35px; background: linear-gradient(145deg, var(--navy), var(--navy-deep)); color: white; border-bottom: 5px solid var(--red); }
.purpose-icon { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 50%; background: #edf3f8; color: var(--blue); }
.vision-card .purpose-icon { background: rgba(255,255,255,.12); color: var(--gold-light); }
.purpose-card h3 { margin: 50px 0 14px; font-family: Georgia, serif; font-size: 27px; }
.purpose-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.vision-card p { color: #cbd8e6; }
.card-number { position: absolute; top: 23px; right: 25px; color: #cdd7e0; font-family: Georgia, serif; font-size: 52px; line-height: 1; opacity: .55; }
.vision-card .card-number { color: rgba(255,255,255,.22); }

.information-section { padding: 90px 0; background: linear-gradient(120deg, var(--navy-deep), var(--navy)); color: white; border-top: 5px solid var(--gold); }
.information-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 80px; }
.information-copy p:last-child { max-width: 620px; margin: 21px 0 0; color: #cbd8e6; line-height: 1.7; }
.kicker-light { color: var(--gold-light); }
.information-actions { display: grid; gap: 10px; }
.information-actions > div { display: flex; align-items: center; gap: 15px; padding: 18px 20px; border: 1px solid rgba(255,255,255,.13); border-radius: 9px; background: rgba(255,255,255,.055); }
.information-actions svg { color: var(--gold-light); }
.information-actions span { display: flex; flex-direction: column; gap: 3px; }
.information-actions strong { font-size: 15px; }
.information-actions small { color: #b8c8d8; }

.contact-section { padding: 100px 0; background: #f5f8f1; }
.contact-layout { display: grid; grid-template-columns: 1.15fr .85fr; align-items: stretch; gap: 42px; }
.contact-map-card { position: relative; min-height: 480px; overflow: hidden; border: 1px solid #cadaca; border-radius: 18px; background: #dfe9e1; box-shadow: 0 18px 45px rgba(4,61,36,.12); }
.contact-map-card iframe { display: block; width: 100%; height: 100%; min-height: 480px; border: 0; filter: saturate(.9) contrast(1.02); }
.map-open-button { position: absolute; right: 20px; bottom: 20px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 49px; padding: 0 18px; border: 2px solid rgba(255,255,255,.7); border-radius: 10px; background: var(--navy-deep); color: white; font-size: 13px; font-weight: 900; box-shadow: 0 10px 26px rgba(3,43,26,.28); transition: transform .2s ease, background .2s ease; }
.map-open-button:hover { background: var(--navy); transform: translateY(-2px); }
.contact-content { display: flex; flex-direction: column; justify-content: center; }
.contact-content h2 { margin: 9px 0 20px; color: var(--navy-deep); font-family: Georgia, "Times New Roman", serif; font-size: clamp(36px, 4.2vw, 54px); line-height: 1.05; letter-spacing: -.04em; }
.contact-content > p:not(.kicker) { margin: 0; color: var(--muted); line-height: 1.75; }
.social-contact-list { display: grid; gap: 12px; margin-top: 30px; }
.social-contact-list > a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 15px; padding: 17px; border: 1px solid var(--line); border-radius: 12px; background: white; box-shadow: 0 8px 25px rgba(4,61,36,.06); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.social-contact-list > a:hover { transform: translateY(-3px); border-color: #aac4af; box-shadow: 0 14px 30px rgba(4,61,36,.11); }
.social-contact-list > a > svg { color: #91a398; }
.social-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; color: white; }
.social-icon-facebook { background: #1877f2; }
.social-icon-tiktok { background: #101010; border-bottom: 4px solid #25f4ee; }
.social-contact-list small, .social-contact-list strong, .social-contact-list em { display: block; }
.social-contact-list small { color: #9a3a35; font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .11em; }
.social-contact-list strong { margin-top: 3px; color: var(--navy-deep); font-size: 16px; }
.social-contact-list em { margin-top: 2px; color: var(--muted); font-size: 12px; font-style: normal; }

footer { padding: 70px 0 25px; background: #032b1a; color: #d7e8de; }
.footer-grid { display: grid; grid-template-columns: 1.25fr 1fr .7fr; gap: 65px; }
.brand-footer strong { color: white; }
.brand-footer small { color: #9dafbf; }
.footer-brand > p { max-width: 390px; margin: 22px 0 0; color: #9dafbf; line-height: 1.65; }
footer h3 { margin: 0 0 20px; color: white; font-size: 14px; text-transform: uppercase; letter-spacing: .1em; }
.contact-list, .footer-links { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; color: #aebdca; font-size: 14px; line-height: 1.55; }
.contact-list li { display: flex; align-items: flex-start; gap: 10px; }
.contact-list svg { flex: 0 0 auto; margin-top: 2px; color: var(--gold); }
.footer-links a { display: inline-flex; align-items: center; gap: 7px; }
.footer-links a:hover, .contact-list a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 55px; padding-top: 23px; border-top: 1px solid rgba(255,255,255,.1); color: #708396; font-size: 12px; }

.admin-page { min-height: 100vh; background: #f2f6f2; }
.admin-shell { width: min(1240px, calc(100% - 40px)); margin-inline: auto; }
.admin-header { background: var(--navy-deep); color: white; }
.admin-header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.admin-back { display: inline-flex; align-items: center; gap: 8px; color: #d9eadf; font-size: 14px; font-weight: 700; }
.admin-account { display: flex; align-items: center; gap: 22px; }
.admin-account span { display: grid; text-align: right; }
.admin-account strong { font-size: 13px; }
.admin-account small { margin-top: 2px; color: #a9c8b4; font-size: 11px; }
.admin-account > a { padding: 9px 12px; border: 1px solid rgba(255,255,255,.25); border-radius: 7px; font-size: 12px; font-weight: 800; }
.admin-intro { padding: 58px 0 30px; }
.admin-intro h1 { margin: 7px 0 11px; color: var(--navy-deep); font-family: Georgia, serif; font-size: clamp(36px, 5vw, 55px); letter-spacing: -.035em; }
.admin-intro > p:last-child { max-width: 720px; margin: 0; color: var(--muted); line-height: 1.65; }
.admin-content-tabs { padding-bottom: 70px; }
.admin-tabs-list { width: min(1240px, calc(100% - 40px)); height: 56px; margin: 0 auto 24px; padding: 6px; border: 1px solid #d2dfd5; background: #e5eee7; box-shadow: inset 0 1px 0 rgba(255,255,255,.7); }
.admin-tabs-list [data-slot="tabs-trigger"] { min-height: 42px; padding-inline: 20px; border: 1px solid transparent; border-radius: 9px; color: #355443; font-weight: 800; transition: color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease; }
.admin-tabs-list [data-slot="tabs-trigger"]:hover { background: rgba(255,255,255,.65); color: var(--navy-deep); }
.admin-tabs-list [data-slot="tabs-trigger"][data-state="active"] { border-color: #07512f; border-bottom: 4px solid var(--gold); background: linear-gradient(135deg, var(--navy), var(--navy-deep)); color: white; box-shadow: 0 7px 16px rgba(4,61,36,.25), inset 0 1px 0 rgba(255,255,255,.15); transform: translateY(-1px); }
.admin-tabs-list [data-slot="tabs-trigger"][data-state="active"] svg { color: var(--gold-light); }
.admin-workspace { display: grid; grid-template-columns: 420px minmax(0, 1fr); align-items: start; gap: 24px; padding-bottom: 70px; }
.admin-editor, .admin-list-card { border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: 0 12px 34px rgba(4,61,36,.07); }
.admin-editor { display: grid; gap: 20px; padding: 27px; }
.admin-list-card { overflow: hidden; padding: 27px; }

.admin-team-list { display: grid; gap: 12px; margin-top: 18px; }
.admin-team-card { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; align-items: center; gap: 15px; padding: 16px; border: 1px solid var(--line); border-radius: 11px; }
.team-initials { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(145deg, var(--navy), var(--navy-deep)); color: var(--gold-light); font-family: Georgia, serif; font-size: 18px; font-weight: 800; }
.admin-team-info > div { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .05em; }
.admin-team-info h3 { margin: 7px 0 4px; color: var(--navy-deep); font-size: 15px; }
.admin-team-info p { margin: 0; color: var(--muted); font-size: 12px; }
.admin-team-actions { display: flex; align-items: center; gap: 4px; }
.admin-achievements-list { display: grid; gap: 12px; margin-top: 18px; }
.admin-achievement-card { display: grid; grid-template-columns: 78px minmax(0, 1fr) auto; align-items: center; gap: 15px; padding: 13px; border: 1px solid var(--line); border-radius: 11px; }
.admin-achievement-card > img, .admin-achievement-placeholder { width: 78px; height: 70px; border-radius: 9px; object-fit: cover; }
.admin-achievement-placeholder { display: grid; place-items: center; background: #e7f4eb; color: var(--navy); }
.admin-achievement-info > div { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .05em; }
.admin-achievement-info h3 { margin: 7px 0 4px; color: var(--navy-deep); font-size: 15px; }
.admin-achievement-info p { margin: 0; color: var(--muted); font-size: 11px; }
.admin-achievement-actions { display: flex; align-items: center; gap: 4px; }

.achievements-page { min-height: 100vh; background: #f6f8f2; }
.achievements-hero { padding: 82px 0; overflow: hidden; background: linear-gradient(125deg, #5d251d, #a43d2c 58%, #ca7d17); color: white; border-bottom: 5px solid var(--gold); }
.achievements-hero-layout { display: grid; grid-template-columns: minmax(0, 1fr) 230px; align-items: center; gap: 60px; }
.achievements-hero h1 { max-width: 780px; margin: 12px 0 20px; font-family: Georgia, serif; font-size: clamp(48px, 6.5vw, 74px); line-height: .98; letter-spacing: -.045em; }
.achievements-hero p:last-child { max-width: 690px; margin: 0; color: #f7e4d2; font-size: 17px; line-height: 1.7; }
.achievements-trophy { position: relative; width: 180px; height: 180px; display: grid; place-items: center; justify-self: end; border: 2px solid rgba(255,255,255,.25); border-radius: 50%; background: rgba(255,255,255,.1); color: var(--gold-light); box-shadow: inset 0 0 0 12px rgba(255,255,255,.05); }
.achievements-trophy svg:last-child { position: absolute; top: 23px; right: 18px; color: white; }
.achievements-content { min-height: 480px; padding-top: 85px; padding-bottom: 100px; }
.achievements-empty { max-width: 720px; margin: 35px auto; padding: 58px; border: 1px dashed #d8b99a; border-radius: 18px; background: white; text-align: center; box-shadow: 0 14px 38px rgba(93,37,29,.07); }
.achievements-empty > div { width: 84px; height: 84px; display: grid; place-items: center; margin: 0 auto 22px; border-radius: 50%; background: #fff2d6; color: #a43d2c; }
.achievements-empty h2 { margin: 10px 0 14px; color: #5d251d; font-family: Georgia, serif; font-size: 36px; }
.achievements-empty > p:last-child { margin: 0; color: var(--muted); line-height: 1.7; }
.achievements-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.achievement-card { overflow: hidden; border: 1px solid #e1d4c6; border-radius: 16px; background: white; box-shadow: 0 14px 38px rgba(93,37,29,.075); }
.achievement-card > img, .achievement-image-placeholder { display: block; width: 100%; height: 285px; object-fit: cover; }
.achievement-image-placeholder { display: grid; place-items: center; background: linear-gradient(145deg, #efe3ca, #fff6df); color: #a43d2c; }
.achievement-card-body { padding: 29px; }
.achievement-meta { display: flex; align-items: center; justify-content: space-between; gap: 15px; color: #8b796b; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.achievement-meta span { color: #a43d2c; }
.achievement-card h2 { margin: 14px 0 12px; color: #51251f; font-family: Georgia, serif; font-size: 27px; line-height: 1.15; }
.achievement-card-body > p { margin: 0; color: var(--muted); line-height: 1.7; }
.achievement-result { display: flex; align-items: center; gap: 8px; margin-top: 20px; padding: 12px 14px; border-radius: 9px; background: #fff2d6; color: #6b3728; font-size: 13px; }
.achievement-honorees { display: flex; align-items: flex-start; gap: 8px; margin-top: 16px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.achievement-honorees svg { flex: 0 0 auto; color: var(--navy); }

.team-page { min-height: 100vh; background: #f5f8f1; }
.team-hero { padding: 78px 0; overflow: hidden; background: linear-gradient(120deg, var(--navy-deep), var(--navy)); color: white; border-bottom: 5px solid var(--gold); }
.team-hero-layout { display: grid; grid-template-columns: minmax(0, 1fr) 230px; align-items: center; gap: 60px; }
.team-hero h1 { margin: 10px 0 17px; font-family: Georgia, serif; font-size: clamp(48px, 7vw, 76px); line-height: .98; letter-spacing: -.045em; }
.team-hero p:last-child { max-width: 690px; margin: 0; color: #d4e4d9; font-size: 17px; line-height: 1.7; }
.team-hero-mark { min-height: 170px; display: grid; place-items: center; align-content: center; gap: 15px; border: 1px solid rgba(255,255,255,.18); border-radius: 20px; background: rgba(255,255,255,.08); color: var(--gold-light); text-align: center; }
.team-hero-mark span { color: white; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .11em; }
.team-content { min-height: 480px; padding-top: 85px; padding-bottom: 100px; }
.team-empty { max-width: 680px; margin: 35px auto; padding: 58px; border: 1px dashed #aac4af; border-radius: 18px; background: white; text-align: center; box-shadow: 0 14px 38px rgba(4,61,36,.07); }
.team-empty > div { width: 82px; height: 82px; display: grid; place-items: center; margin: 0 auto 22px; border-radius: 50%; background: #e7f4eb; color: var(--navy); }
.team-empty h2 { margin: 10px 0 14px; color: var(--navy-deep); font-family: Georgia, serif; font-size: 36px; }
.team-empty > p:last-child { margin: 0; color: var(--muted); line-height: 1.7; }
.team-group + .team-group { margin-top: 75px; }
.team-group-heading { display: flex; align-items: center; gap: 18px; margin-bottom: 30px; }
.team-group-heading > span { color: #d8e4da; font-family: Georgia, serif; font-size: 60px; font-weight: 700; line-height: 1; }
.team-group-heading h2 { margin: 5px 0 0; color: var(--navy-deep); font-family: Georgia, serif; font-size: 38px; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.team-card { min-height: 230px; padding: 30px; border: 1px solid var(--line); border-top: 5px solid var(--gold); border-radius: 14px; background: white; box-shadow: 0 13px 35px rgba(4,61,36,.075); }
.team-photo { width: 112px; height: 112px; display: block; margin-bottom: 22px; border-radius: 50%; object-fit: cover; object-position: center top; border: 4px solid #fff; box-shadow: 0 9px 24px rgba(4,61,36,.18); }
.team-avatar { width: 72px; height: 72px; display: grid; place-items: center; margin-bottom: 27px; border-radius: 50%; background: linear-gradient(145deg, var(--navy), var(--navy-deep)); color: var(--gold-light); font-family: Georgia, serif; font-size: 23px; font-weight: 900; box-shadow: 0 9px 22px rgba(4,61,36,.2); }
.team-card span { color: #9a3a35; font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .11em; }
.team-card h3 { margin: 8px 0 7px; color: var(--navy-deep); font-family: Georgia, serif; font-size: 22px; line-height: 1.2; }
.team-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.institution-team-cta { padding: 28px 0; background: #edf4ee; border-top: 1px solid var(--line); }
.institution-team-cta > div { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.institution-team-cta > div > div { display: flex; align-items: center; gap: 15px; color: var(--navy); }
.institution-team-cta strong, .institution-team-cta small { display: block; }
.institution-team-cta small { margin-top: 4px; color: var(--muted); }
.institution-team-cta a { padding: 13px 17px; border-radius: 8px; background: var(--navy); color: white; font-size: 13px; font-weight: 900; }
.admin-card-heading { display: flex; align-items: center; gap: 13px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.admin-card-icon { width: 42px; height: 42px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 10px; background: #e7f4eb; color: var(--navy); }
.admin-card-heading h2 { margin: 0; color: var(--navy-deep); font-size: 18px; }
.admin-card-heading p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.admin-field { display: grid; gap: 8px; }
.admin-field > span { color: var(--ink); font-size: 12px; font-weight: 800; }
.admin-field [data-slot="native-select-wrapper"] { width: 100%; }
.admin-upload > span { display: inline-flex; align-items: center; gap: 7px; }
.admin-upload small { color: var(--muted); font-size: 11px; }
.admin-publish-control { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px; border-radius: 10px; background: var(--cream); }
.admin-publish-control strong, .admin-publish-control small { display: block; }
.admin-publish-control strong { font-size: 13px; }
.admin-publish-control small { margin-top: 3px; color: var(--muted); font-size: 11px; }
.admin-form-actions { display: flex; justify-content: flex-end; gap: 9px; }
.admin-list-card [data-slot="table-container"] { margin-top: 17px; }
.admin-title-cell { display: grid; max-width: 280px; white-space: normal; }
.admin-title-cell strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-title-cell span { overflow: hidden; margin-top: 4px; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.admin-row-actions { display: flex; justify-content: flex-end; gap: 4px; }
.admin-delete-button { color: var(--destructive); }
.admin-empty { min-height: 260px; display: grid; place-items: center; align-content: center; gap: 8px; color: var(--muted); text-align: center; }
.admin-empty svg { color: var(--navy); }
.admin-empty strong { color: var(--ink); }
.admin-empty span { font-size: 13px; }
.admin-access-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: var(--cream); }
.admin-access-card { width: min(480px, 100%); padding: 45px; border: 1px solid var(--line); border-radius: 15px; background: white; box-shadow: 0 18px 50px rgba(4,61,36,.1); text-align: center; }
.admin-access-card svg { color: var(--red); }
.admin-access-card h1 { margin: 18px 0 9px; font-family: Georgia, serif; }
.admin-access-card p { color: var(--muted); line-height: 1.6; }
.admin-access-card a { display: inline-block; margin-top: 15px; padding: 11px 16px; border-radius: 8px; background: var(--navy); color: white; font-weight: 800; }

.gallery-admin-workspace { display: grid; grid-template-columns: 420px minmax(0, 1fr); align-items: start; gap: 24px; }
.gallery-admin-list { min-width: 0; padding: 27px; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: 0 12px 34px rgba(4,61,36,.07); }
.gallery-list-heading { margin-bottom: 18px; }
.gallery-empty { min-height: 320px; }
.admin-albums-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.admin-album-card { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: white; }
.admin-album-cover { position: relative; height: 165px; display: grid; place-items: center; background: #e9f1ea; color: var(--navy); }
.admin-album-cover img { width: 100%; height: 100%; object-fit: cover; }
.admin-album-cover [data-slot="badge"] { position: absolute; top: 12px; right: 12px; }
.admin-album-body { padding: 17px; }
.admin-album-body h3 { overflow: hidden; margin: 0; color: var(--navy-deep); font-size: 16px; text-overflow: ellipsis; white-space: nowrap; }
.admin-album-body > p { display: flex; align-items: center; gap: 6px; margin: 8px 0 15px; color: var(--muted); font-size: 12px; }
.admin-album-controls { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.admin-album-controls > label { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; }
.admin-album-controls > div { display: flex; gap: 3px; }

.gallery-page { min-height: 100vh; background: #f7faf6; }
.gallery-page-header { background: white; border-bottom: 1px solid var(--line); }
.gallery-page-nav { min-height: 83px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.gallery-back { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); font-size: 13px; font-weight: 800; }
.gallery-page-hero { padding: 90px 0; background: linear-gradient(120deg, var(--navy-deep), var(--navy)); color: white; border-bottom: 5px solid var(--gold); }
.gallery-page-hero h1 { margin: 9px 0 16px; font-family: Georgia, serif; font-size: clamp(48px, 7vw, 78px); letter-spacing: -.04em; }
.gallery-page-hero > .shell > p:last-child { max-width: 700px; margin: 0; color: #d4e5da; font-size: 18px; line-height: 1.65; }
.gallery-albums-section { padding: 78px 0 100px; }
.gallery-public-album + .gallery-public-album { margin-top: 75px; padding-top: 75px; border-top: 1px solid var(--line); }
.gallery-album-heading { display: flex; align-items: end; justify-content: space-between; gap: 35px; margin-bottom: 27px; }
.gallery-album-heading p { display: flex; align-items: center; gap: 7px; margin: 0 0 8px; color: #b52b2b; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.gallery-album-heading h2 { margin: 0; color: var(--navy-deep); font-family: Georgia, serif; font-size: clamp(30px, 4vw, 46px); }
.gallery-album-heading span { display: block; max-width: 750px; margin-top: 12px; color: var(--muted); line-height: 1.65; }
.gallery-album-heading > strong { min-width: max-content; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.gallery-photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery-photo-grid figure { position: relative; min-height: 250px; overflow: hidden; margin: 0; border-radius: 11px; background: #e1eae3; }
.gallery-photo-grid figure:first-child { grid-column: span 2; grid-row: span 2; }
.gallery-photo-grid img { width: 100%; height: 100%; min-height: 250px; object-fit: cover; transition: transform .35s ease; }
.gallery-photo-grid figure:hover img { transform: scale(1.035); }
.gallery-photo-grid figcaption { position: absolute; right: 0; bottom: 0; left: 0; padding: 35px 16px 14px; background: linear-gradient(transparent, rgba(0,0,0,.72)); color: white; font-size: 13px; }
.gallery-public-empty { min-height: 380px; display: grid; place-items: center; align-content: center; color: var(--muted); text-align: center; }
.gallery-public-empty svg { color: var(--navy); }
.gallery-public-empty h2 { margin: 14px 0 5px; color: var(--navy-deep); font-family: Georgia, serif; font-size: 34px; }
.gallery-public-empty p { margin: 0; }
.gallery-footer { padding: 27px 0; background: var(--navy-deep); color: #abc8b4; font-size: 12px; }

.publications-page, .publication-detail-page { min-height: 100vh; background: #f7faf6; }
.publications-page-hero { padding: 80px 0; background: linear-gradient(120deg, var(--navy-deep), var(--navy)); color: white; border-bottom: 5px solid var(--gold); }
.publications-page-hero h1 { margin: 9px 0 16px; font-family: Georgia, serif; font-size: clamp(46px, 7vw, 76px); letter-spacing: -.04em; }
.publications-page-hero > .shell > p:last-child { max-width: 700px; margin: 0; color: #d4e5da; font-size: 18px; line-height: 1.65; }
.publications-archive { padding-top: 45px; padding-bottom: 100px; }
.publications-archive-grid { margin-top: 0; }
.publication-detail { padding-top: 48px; padding-bottom: 100px; }
.publication-detail-back { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); font-size: 13px; font-weight: 800; }
.publication-detail-heading { max-width: 900px; margin-top: 38px; }
.publication-detail-heading .publication-meta { justify-content: flex-start; }
.publication-detail-heading h1 { margin: 20px 0 18px; color: var(--navy-deep); font-family: Georgia, serif; font-size: clamp(42px, 6vw, 70px); line-height: 1.06; letter-spacing: -.035em; }
.publication-detail-summary { max-width: 800px; margin: 0; color: var(--muted); font-size: 20px; line-height: 1.65; }
.publication-detail-image { display: block; width: 100%; max-height: 610px; margin-top: 45px; object-fit: cover; border-radius: 15px; box-shadow: 0 18px 50px rgba(4,61,36,.12); }
.publication-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; align-items: start; gap: 65px; margin-top: 50px; }
.publication-detail-content { color: #405449; font-size: 17px; line-height: 1.85; }
.publication-detail-content p { margin: 0; white-space: pre-wrap; }
.publication-file-card { display: grid; gap: 11px; padding: 25px; border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: 12px; background: white; box-shadow: 0 12px 34px rgba(4,61,36,.08); }
.publication-file-card svg { color: var(--navy); }
.publication-file-card span { color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.publication-file-card strong { overflow-wrap: anywhere; color: var(--ink); font-size: 14px; line-height: 1.45; }
.publication-file-card a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: 8px; padding: 12px 14px; border-radius: 8px; background: var(--navy); color: white; font-size: 13px; font-weight: 800; }
.publication-file-card a svg { color: white; }

.institution-page { min-height: 100vh; background: #f8faf6; }
.institution-page-hero { position: relative; overflow: hidden; padding: 85px 0; background: linear-gradient(120deg, #032b1a, var(--navy)); color: white; border-bottom: 5px solid var(--gold); }
.institution-page-hero::after { content: "1983"; position: absolute; right: -20px; bottom: -75px; color: rgba(255,255,255,.045); font-family: Georgia, serif; font-size: 310px; font-weight: 800; line-height: 1; }
.institution-hero-layout { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 220px; align-items: center; gap: 70px; }
.institution-hero-layout h1 { max-width: 870px; margin: 12px 0 20px; font-family: Georgia, serif; font-size: clamp(45px, 6.5vw, 76px); line-height: 1.04; letter-spacing: -.04em; }
.institution-hero-layout > div > p:last-child { max-width: 720px; margin: 0; color: #d0e3d7; font-size: 18px; line-height: 1.65; }
.institution-hero-layout > img { width: 205px; max-height: 235px; object-fit: contain; filter: drop-shadow(0 18px 28px rgba(0,0,0,.28)); }
.institution-facts { position: relative; z-index: 2; background: white; border-bottom: 1px solid var(--line); }
.institution-facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.institution-facts-grid div { display: grid; gap: 5px; min-height: 112px; align-content: center; padding: 20px 30px; border-right: 1px solid var(--line); }
.institution-facts-grid div:first-child { border-left: 1px solid var(--line); }
.institution-facts-grid strong { color: var(--navy); font-family: Georgia, serif; font-size: 30px; }
.institution-facts-grid span { color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .075em; }
.institution-history-section { padding-top: 100px; padding-bottom: 105px; }
.institution-section-heading { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); align-items: end; gap: 70px; }
.institution-section-heading h2 { max-width: 720px; margin: 10px 0 0; color: var(--navy-deep); font-family: Georgia, serif; font-size: clamp(35px, 5vw, 55px); line-height: 1.1; letter-spacing: -.03em; }
.institution-section-heading > p { margin: 0; color: var(--muted); line-height: 1.7; }
.institution-history-intro { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 45px; margin-top: 65px; padding: 42px; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: 0 14px 40px rgba(4,61,36,.06); }
.institution-drop-year { color: var(--gold); font-family: Georgia, serif; font-size: 70px; font-weight: 800; line-height: 1; -webkit-text-stroke: 1px #b19300; }
.institution-history-intro p { margin: 0; color: #405449; font-size: 18px; line-height: 1.8; }
.institution-timeline { position: relative; display: grid; gap: 0; margin-top: 65px; }
.institution-timeline::before { content: ""; position: absolute; top: 9px; bottom: 10px; left: 73px; width: 2px; background: #c8d8ca; }
.institution-timeline article { position: relative; display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 40px; padding: 0 0 48px; }
.institution-timeline article:last-child { padding-bottom: 0; }
.institution-timeline-year { position: relative; z-index: 1; width: 90px; padding: 10px 8px; border: 2px solid #c4d7c8; border-radius: 999px; background: #f8faf6; color: var(--navy); font-size: 14px; font-weight: 900; text-align: center; }
.institution-timeline article:last-child .institution-timeline-year { border-color: var(--gold); background: var(--gold); color: var(--navy-deep); }
.institution-timeline h3 { margin: 5px 0 9px; color: var(--navy-deep); font-family: Georgia, serif; font-size: 25px; }
.institution-timeline p { max-width: 830px; margin: 0; color: var(--muted); line-height: 1.75; }
.institution-community-section { padding: 100px 0; background: #edf4ee; }
.institution-community-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 85px; align-items: center; }
.institution-community-copy h2 { margin: 10px 0 24px; color: var(--navy-deep); font-family: Georgia, serif; font-size: clamp(35px, 5vw, 52px); line-height: 1.1; }
.institution-community-copy > p:not(.kicker) { margin: 0 0 18px; color: var(--muted); line-height: 1.75; }
.institution-community-cards { display: grid; gap: 14px; }
.institution-community-cards article { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 18px; padding: 25px; border: 1px solid #d5e2d7; border-radius: 12px; background: white; }
.institution-community-cards svg { grid-row: span 2; width: 44px; height: 44px; padding: 10px; border-radius: 10px; background: #e5f2e8; color: var(--navy); }
.institution-community-cards h3 { margin: 2px 0 7px; color: var(--navy-deep); font-size: 16px; }
.institution-community-cards p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.institution-pedagogy-section { padding-top: 100px; padding-bottom: 100px; }
.institution-pedagogy-card { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 32px; padding: 50px; border-radius: 16px; background: white; border: 1px solid var(--line); box-shadow: 0 16px 46px rgba(4,61,36,.075); }
.institution-pedagogy-icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: white; }
.institution-pedagogy-card h2 { margin: 10px 0 18px; color: var(--navy-deep); font-family: Georgia, serif; font-size: clamp(32px, 4vw, 48px); }
.institution-pedagogy-card > div:last-child > p:not(.kicker) { max-width: 900px; margin: 0; color: var(--muted); line-height: 1.8; }
.institution-pedagogy-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.institution-pedagogy-tags span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 13px; border-radius: 999px; background: #edf4ee; color: var(--navy); font-size: 12px; font-weight: 800; }
.institution-purpose-section { padding: 100px 0; background: var(--navy-deep); border-top: 5px solid var(--gold); }
.institution-purpose-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.institution-purpose-grid article { position: relative; overflow: hidden; min-height: 325px; padding: 45px; border: 1px solid rgba(255,255,255,.13); border-radius: 14px; background: rgba(255,255,255,.055); color: white; }
.institution-purpose-grid article:last-child { background: white; color: var(--ink); }
.institution-purpose-grid article > span { position: absolute; top: 25px; right: 30px; color: rgba(255,255,255,.12); font-family: Georgia, serif; font-size: 75px; font-weight: 800; }
.institution-purpose-grid article:last-child > span { color: rgba(4,61,36,.09); }
.institution-purpose-grid h2 { margin: 45px 0 18px; font-family: Georgia, serif; font-size: 38px; }
.institution-purpose-grid p { margin: 0; color: #c9ddd0; line-height: 1.8; }
.institution-purpose-grid article:last-child p { color: var(--muted); }
.institution-organization-section { padding-top: 105px; padding-bottom: 105px; }
.institution-organization-section .kicker { display: inline-flex; align-items: center; gap: 7px; }
.digital-org-chart { position: relative; overflow: hidden; margin-top: 50px; padding: 36px; border: 1px solid var(--line); border-radius: 20px; background: radial-gradient(circle at 50% 0, rgba(242,207,24,.12), transparent 30%), linear-gradient(145deg, #f9fcf8, #eef5ef); box-shadow: 0 22px 60px rgba(4,61,36,.12); }
.digital-org-chart::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(4,61,36,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(4,61,36,.025) 1px, transparent 1px); background-size: 28px 28px; }
.org-chart-brand { position: relative; z-index: 1; display: flex; align-items: center; gap: 13px; width: max-content; margin-bottom: 26px; padding: 10px 16px 10px 10px; border: 1px solid #d3e0d5; border-radius: 999px; background: rgba(255,255,255,.9); }
.org-chart-brand img { width: 40px; height: 48px; object-fit: contain; }
.org-chart-brand span, .org-chart-brand strong { display: block; }
.org-chart-brand span { color: var(--muted); font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.org-chart-brand strong { margin-top: 3px; color: var(--navy-deep); font-family: Georgia, serif; font-size: 16px; }
.org-chart-leadership { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(250px, .9fr) minmax(360px, 1.1fr); align-items: center; gap: 95px; max-width: 960px; margin: 0 auto 54px; }
.org-director-node { position: relative; min-height: 115px; display: grid; place-content: center; padding: 24px; border: 2px solid #0d7a42; border-radius: 17px; background: linear-gradient(145deg, var(--navy), var(--navy-deep)); color: white; box-shadow: 0 16px 35px rgba(4,61,36,.24); text-align: center; }
.org-director-node::after { content: ""; position: absolute; top: 50%; left: 100%; width: 95px; height: 2px; background: #7aa28a; }
.org-director-node span { color: var(--gold-light); font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; }
.org-director-node strong { margin-top: 8px; font-family: Georgia, serif; font-size: 29px; }
.org-participation-group { position: relative; padding: 19px; border: 1px solid #d6c15a; border-radius: 15px; background: rgba(255,252,226,.92); }
.org-participation-group::before { content: ""; position: absolute; top: 50%; right: 100%; width: 24px; height: 2px; background: #7aa28a; }
.org-participation-group h3 { margin: 0 0 12px; color: #7a6200; font-size: 10px; text-transform: uppercase; letter-spacing: .11em; }
.org-participation-group > div { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.org-participation-group span { padding: 10px; border: 1px solid rgba(150,120,0,.2); border-radius: 8px; background: white; color: #5b4b0d; font-size: 12px; font-weight: 800; text-align: center; }
.org-level { position: relative; z-index: 1; display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 30px; padding: 31px 0; border-top: 1px solid #cbdace; }
.org-level::before { content: ""; position: absolute; top: -28px; left: 50%; width: 2px; height: 28px; background: #7aa28a; }
.org-level-label { align-self: start; display: grid; grid-template-columns: 42px minmax(0, 1fr); align-items: center; gap: 11px; min-height: 58px; padding: 10px 14px 10px 9px; border-radius: 12px; background: white; box-shadow: 0 8px 22px rgba(4,61,36,.07); }
.org-level-label span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: var(--navy); color: white; font-family: Georgia, serif; font-size: 16px; font-weight: 800; }
.org-level-label strong { color: var(--navy-deep); font-size: 11px; line-height: 1.35; text-transform: uppercase; letter-spacing: .06em; }
.org-level-content { position: relative; }
.org-grid-four { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding-top: 18px; }
.org-grid-four::before, .org-subgrid::before { content: ""; position: absolute; top: 0; right: 12.5%; left: 12.5%; height: 2px; background: #91ad99; }
.org-grid-four .org-node::before, .org-subgrid .org-node::before { content: ""; position: absolute; bottom: 100%; left: 50%; width: 2px; height: 18px; background: #91ad99; }
.org-node { position: relative; min-height: 76px; display: grid; place-items: center; padding: 14px; border: 1px solid #c9d9cc; border-top: 4px solid var(--navy); border-radius: 11px; background: white; color: var(--navy-deep); box-shadow: 0 8px 22px rgba(4,61,36,.065); text-align: center; }
.org-node strong { font-size: 12px; line-height: 1.4; }
.org-branch { display: grid; justify-items: center; }
.org-parent-node { width: min(310px, 100%); min-height: 65px; }
.org-branch > .org-parent-node::after, .org-admin-branch > .org-parent-node::after { content: ""; position: absolute; top: 100%; left: 50%; width: 2px; height: 20px; background: #91ad99; }
.org-subgrid { position: relative; display: grid; gap: 12px; width: 100%; padding-top: 20px; }
.org-subgrid-two { grid-template-columns: repeat(2, minmax(150px, 250px)); justify-content: center; }
.org-subgrid-four { grid-template-columns: repeat(4, 1fr); }
.org-subgrid-two::before { right: calc(50% - 128px); left: calc(50% - 128px); }
.org-level-pedagogical .org-level-label span { background: #1875ad; }
.org-level-pedagogical .org-node { border-top-color: #1875ad; }
.org-support-branches { display: grid; grid-template-columns: minmax(0, 1fr) 220px; align-items: start; gap: 25px; }
.org-admin-branch { display: grid; justify-items: center; }
.org-education-assistant { margin-top: 0; border-top-color: var(--red); }
.org-level-support .org-level-label span { background: var(--red); }
.org-level-support .org-node { border-top-color: var(--red); }
.org-chart-legend { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin-top: 22px; padding-top: 22px; border-top: 1px solid #cfddd1; color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.org-chart-legend span { display: inline-flex; align-items: center; gap: 7px; }
.org-dot { width: 9px; height: 9px; border-radius: 50%; }
.org-dot-green { background: var(--navy); }
.org-dot-blue { background: #1875ad; }
.org-dot-gold { background: var(--gold); }
.org-dot-red { background: var(--red); }
.institution-present-section { padding: 82px 0; background: linear-gradient(120deg, var(--navy), #118445); color: white; }
.institution-present-grid { display: grid; grid-template-columns: 65px minmax(0, 1fr); align-items: start; gap: 25px; }
.institution-present-grid > svg { width: 58px; height: 58px; padding: 13px; border-radius: 50%; background: var(--gold); color: var(--navy-deep); }
.institution-present-grid h2 { margin: 8px 0 15px; font-family: Georgia, serif; font-size: clamp(32px, 4vw, 48px); }
.institution-present-grid > div > p:last-child { max-width: 900px; margin: 0; color: #d5e8da; line-height: 1.75; }

.home-agenda-section { padding: 100px 0; background: #edf4ee; }
.home-agenda-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 38px; }
.home-agenda-card { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 18px; padding: 23px; border: 1px solid #d4e1d6; border-radius: 13px; background: white; box-shadow: 0 10px 30px rgba(4,61,36,.06); }
.home-agenda-date { display: grid; place-content: center; min-height: 76px; border-radius: 10px; background: var(--navy); color: white; text-align: center; }
.home-agenda-date strong { font-family: Georgia, serif; font-size: 31px; line-height: 1; }
.home-agenda-date span { margin-top: 4px; color: var(--gold-light); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.home-agenda-card > div:last-child > span { color: #b52b2b; font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.home-agenda-card h3 { margin: 7px 0 8px; color: var(--navy-deep); font-family: Georgia, serif; font-size: 19px; line-height: 1.2; }
.home-agenda-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.agenda-page { min-height: 100vh; background: #f8faf6; }
.agenda-page-hero { padding: 80px 0; background: linear-gradient(120deg, var(--navy-deep), var(--navy)); color: white; border-bottom: 5px solid var(--gold); }
.agenda-page-hero h1 { margin: 9px 0 16px; font-family: Georgia, serif; font-size: clamp(48px, 7vw, 76px); letter-spacing: -.04em; }
.agenda-page-hero > .shell > p:last-child { max-width: 730px; margin: 0; color: #d4e5da; font-size: 18px; line-height: 1.65; }
.agenda-content { padding-top: 75px; padding-bottom: 100px; }
.agenda-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.agenda-heading h2 { margin: 9px 0 0; color: var(--navy-deep); font-family: Georgia, serif; font-size: clamp(34px, 4vw, 50px); }
.agenda-heading > svg { color: var(--navy); }
.agenda-events-list { display: grid; gap: 16px; margin-top: 35px; }
.agenda-event-card { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 28px; padding: 30px; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: 0 12px 35px rgba(4,61,36,.065); }
.agenda-date-block { display: grid; align-content: center; min-height: 105px; padding: 12px; border-radius: 11px; background: var(--navy); color: white; text-align: center; }
.agenda-date-block strong { font-family: Georgia, serif; font-size: 42px; line-height: 1; }
.agenda-date-block span { margin-top: 5px; color: var(--gold-light); font-size: 13px; font-weight: 900; text-transform: uppercase; }
.agenda-date-block small { margin-top: 3px; color: #c9ddd0; font-size: 11px; }
.agenda-category { display: inline-block; color: #b52b2b; font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .09em; }
.agenda-event-body h3 { margin: 8px 0 10px; color: var(--navy-deep); font-family: Georgia, serif; font-size: 27px; }
.agenda-event-body > p { margin: 0; color: var(--muted); line-height: 1.65; }
.agenda-event-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 18px; color: #52685a; font-size: 12px; font-weight: 700; }
.agenda-event-meta span { display: inline-flex; align-items: center; gap: 6px; }
.agenda-event-meta svg { color: var(--navy); }
.agenda-empty { min-height: 300px; }
.agenda-past { margin-top: 85px; padding-top: 70px; border-top: 1px solid var(--line); }
.agenda-events-past { opacity: .82; }
.event-form-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 12px; }
.admin-events-list { display: grid; gap: 12px; margin-top: 18px; }
.admin-event-card { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 16px; border: 1px solid var(--line); border-radius: 11px; }
.admin-event-date { display: grid; place-content: center; min-height: 60px; border-radius: 9px; background: #e7f4eb; color: var(--navy); text-align: center; }
.admin-event-date strong { font-family: Georgia, serif; font-size: 24px; line-height: 1; }
.admin-event-date span { margin-top: 3px; font-size: 10px; font-weight: 900; text-transform: uppercase; }
.admin-event-info > div { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.admin-event-info h3 { margin: 7px 0 5px; color: var(--navy-deep); font-size: 15px; }
.admin-event-info p { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; color: var(--muted); font-size: 11px; }
.admin-event-info p span { display: inline-flex; align-items: center; gap: 5px; }
.admin-event-actions { display: flex; align-items: center; gap: 4px; }

.home-procedures-section { padding: 95px 0; background: linear-gradient(120deg, var(--navy-deep), var(--navy)); color: white; border-top: 5px solid var(--gold); }
.home-procedures-layout { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 75px; }
.home-procedures-copy h2 { margin: 10px 0 18px; font-family: Georgia, serif; font-size: clamp(36px, 5vw, 55px); line-height: 1.08; }
.home-procedures-copy > p:not(.kicker) { margin: 0; color: #d1e4d7; line-height: 1.7; }
.home-procedures-copy .button { margin-top: 26px; }
.home-procedures-list { display: grid; gap: 10px; }
.home-procedures-list > a { display: grid; grid-template-columns: 45px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 16px; border: 1px solid rgba(255,255,255,.15); border-radius: 10px; background: rgba(255,255,255,.07); }
.home-procedures-list > a:hover { background: rgba(255,255,255,.12); }
.home-procedures-list > a > span { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 9px; background: var(--gold); color: var(--navy-deep); }
.home-procedures-list strong, .home-procedures-list small { display: block; }
.home-procedures-list strong { font-size: 14px; }.home-procedures-list small { margin-top: 4px; color: #bcd2c3; font-size: 11px; }
.home-procedures-empty { display: grid; justify-items: center; gap: 8px; padding: 45px 25px; border: 1px dashed rgba(255,255,255,.25); border-radius: 13px; color: #c6dacb; text-align: center; }
.home-procedures-empty svg { color: var(--gold); }.home-procedures-empty strong { color: white; }.home-procedures-empty span { font-size: 12px; }
.procedures-page { min-height: 100vh; background: #f8faf6; }
.procedures-hero { padding: 80px 0; background: linear-gradient(120deg, var(--navy-deep), var(--navy)); color: white; border-bottom: 5px solid var(--gold); }
.procedures-hero-layout { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.procedures-hero h1 { max-width: 800px; margin: 9px 0 16px; font-family: Georgia, serif; font-size: clamp(46px, 7vw, 74px); line-height: 1.05; letter-spacing: -.04em; }
.procedures-hero-layout > div > p:last-child { max-width: 700px; margin: 0; color: #d4e5da; font-size: 18px; line-height: 1.65; }
.procedures-hero-layout > svg { flex: 0 0 auto; padding: 17px; border-radius: 50%; background: var(--gold); color: var(--navy-deep); }
.procedures-content { padding-top: 75px; padding-bottom: 100px; }
.procedures-intro { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 65px; }
.procedures-intro h2 { margin: 9px 0 0; color: var(--navy-deep); font-family: Georgia, serif; font-size: clamp(34px, 4vw, 50px); line-height: 1.12; }
.procedures-intro > p { margin: 0; color: var(--muted); line-height: 1.7; }
.procedures-list { display: grid; gap: 14px; margin-top: 45px; }
.procedure-card { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: 0 10px 30px rgba(4,61,36,.055); }
.procedure-card summary { display: grid; grid-template-columns: 58px minmax(0, 1fr) 30px; align-items: center; gap: 18px; padding: 23px 25px; cursor: pointer; list-style: none; }
.procedure-card summary::-webkit-details-marker { display: none; }
.procedure-card summary > i { color: var(--navy); font-size: 28px; font-style: normal; text-align: center; transition: transform .2s ease; }
.procedure-card[open] summary > i { transform: rotate(45deg); }
.procedure-icon { width: 55px; height: 55px; display: grid; place-items: center; border-radius: 12px; background: #e7f4eb; color: var(--navy); }
.procedure-card summary span { color: #b52b2b; font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.procedure-card summary h3 { margin: 5px 0 0; color: var(--navy-deep); font-family: Georgia, serif; font-size: 24px; }
.procedure-card summary p { margin: 7px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.procedure-details { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 45px; padding: 30px 35px 35px 101px; border-top: 1px solid var(--line); background: #fbfdfb; }
.procedure-detail-main { display: grid; gap: 30px; }
.procedure-detail-main h4 { display: flex; align-items: center; gap: 9px; margin: 0 0 15px; color: var(--navy-deep); font-size: 15px; }
.procedure-detail-main h4 svg { color: var(--navy); }
.procedure-detail-main ul, .procedure-detail-main ol { display: grid; gap: 10px; margin: 0; padding-left: 22px; color: #4e6255; font-size: 14px; line-height: 1.6; }
.procedure-info-card { display: grid; gap: 15px; padding: 22px; border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: 11px; background: white; }
.procedure-info-card > div:not(.procedure-actions) { display: flex; align-items: flex-start; gap: 10px; }
.procedure-info-card > div > svg { flex: 0 0 auto; margin-top: 2px; color: var(--navy); }
.procedure-info-card small, .procedure-info-card strong { display: block; }
.procedure-info-card small { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }.procedure-info-card strong { margin-top: 3px; font-size: 13px; line-height: 1.4; }
.procedure-info-card > p { margin: 0; padding-top: 13px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.5; }
.procedure-actions { display: grid; gap: 8px; }
.procedure-actions a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 13px; border-radius: 8px; background: var(--navy); color: white; font-size: 12px; font-weight: 800; }
.procedure-actions a + a { background: #edf4ee; color: var(--navy); }
.procedures-empty { min-height: 330px; }

.enrollment-page { min-height: 100vh; background: #f7faf6; }
.enrollment-hero { position: relative; overflow: hidden; padding: 92px 0; background: linear-gradient(118deg, #032b1a 0%, #07552f 66%, #0d7140 100%); color: white; border-bottom: 5px solid var(--gold); }
.enrollment-hero::after { content: ""; position: absolute; width: 430px; height: 430px; right: -115px; top: -175px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 55px rgba(255,255,255,.035), 0 0 0 115px rgba(255,255,255,.025); }
.enrollment-hero-layout { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 190px; align-items: center; gap: 70px; }
.enrollment-hero h1 { max-width: 850px; margin: 11px 0 20px; font-family: Georgia, serif; font-size: clamp(46px, 6vw, 74px); line-height: 1.03; letter-spacing: -.045em; }
.enrollment-hero p:last-child { max-width: 720px; margin: 0; color: #d2e7d9; font-size: 18px; line-height: 1.7; }
.enrollment-hero-mark { width: 170px; height: 170px; display: grid; place-items: center; align-content: center; gap: 9px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; background: rgba(255,255,255,.08); color: var(--gold-light); box-shadow: inset 0 0 0 12px rgba(255,255,255,.035); }
.enrollment-hero-mark span { color: white; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .15em; }
.enrollment-content { padding-top: 82px; padding-bottom: 105px; }
.enrollment-intro { display: grid; grid-template-columns: 1.05fr .95fr; align-items: end; gap: 70px; }
.enrollment-intro h2, .enrollment-section-heading h2 { margin: 9px 0 0; color: var(--navy-deep); font-family: Georgia, serif; font-size: clamp(34px, 4vw, 50px); line-height: 1.1; }
.enrollment-intro > p { margin: 0; color: var(--muted); line-height: 1.75; }
.enrollment-guide { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 44px; }
.enrollment-guide article { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: center; gap: 16px; min-height: 130px; padding: 25px; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: 0 10px 30px rgba(4,61,36,.055); }
.enrollment-guide article > span { position: absolute; top: 13px; right: 16px; color: #d7e5d9; font-family: Georgia, serif; font-size: 31px; font-weight: 800; }
.enrollment-guide article > svg { width: 46px; height: 46px; padding: 11px; border-radius: 10px; background: #e7f4eb; color: var(--navy); }
.enrollment-guide strong { display: block; color: var(--navy-deep); font-size: 16px; }
.enrollment-guide p { margin: 5px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.enrollment-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 35px; margin-top: 85px; }
.enrollment-section-heading > a { display: inline-flex; align-items: center; gap: 7px; flex: 0 0 auto; color: var(--navy); font-size: 13px; font-weight: 900; }
.enrollment-procedures { margin-top: 35px; }
.enrollment-empty { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 23px; margin-top: 35px; padding: 32px; border: 1px dashed #abc4b0; border-radius: 15px; background: #eff6ef; }
.enrollment-empty > span { width: 70px; height: 70px; display: grid; place-items: center; border-radius: 50%; background: white; color: var(--navy); }
.enrollment-empty h3 { margin: 0; color: var(--navy-deep); font-family: Georgia, serif; font-size: 24px; }
.enrollment-empty p { max-width: 680px; margin: 7px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.enrollment-empty > a { padding: 12px 16px; border-radius: 8px; background: var(--navy); color: white; font-size: 12px; font-weight: 900; white-space: nowrap; }

.academic-page { min-height: 100vh; background: #f8faf6; }
.academic-hero { position: relative; overflow: hidden; padding: 92px 0; background: linear-gradient(120deg, #032b1a 0%, #086036 65%, #118445 100%); color: white; border-bottom: 5px solid var(--gold); }
.academic-hero::before { content: "CNEB"; position: absolute; right: -20px; bottom: -60px; color: rgba(255,255,255,.045); font-family: Georgia, serif; font-size: 230px; font-weight: 900; line-height: 1; letter-spacing: -.08em; }
.academic-hero-layout { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 220px; align-items: center; gap: 80px; }
.academic-hero h1 { max-width: 820px; margin: 12px 0 21px; font-family: Georgia, serif; font-size: clamp(47px, 6vw, 75px); line-height: 1.02; letter-spacing: -.045em; }
.academic-hero-copy > p:last-child { max-width: 700px; margin: 0; color: #d4e8da; font-size: 18px; line-height: 1.7; }
.academic-hero-seal { width: 205px; min-height: 205px; display: grid; place-items: center; align-content: center; gap: 5px; padding: 24px; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; background: rgba(255,255,255,.09); color: var(--gold-light); text-align: center; box-shadow: inset 0 0 0 12px rgba(255,255,255,.035); }
.academic-hero-seal strong { color: white; font-family: Georgia, serif; font-size: 28px; letter-spacing: .08em; }
.academic-hero-seal span { color: #d1e5d7; font-size: 10px; font-weight: 800; line-height: 1.35; text-transform: uppercase; letter-spacing: .08em; }
.academic-content { padding-top: 82px; padding-bottom: 105px; }
.academic-intro { display: grid; grid-template-columns: .9fr 1.1fr; align-items: end; gap: 80px; }
.academic-intro h2 { margin: 9px 0 0; color: var(--navy-deep); font-family: Georgia, serif; font-size: clamp(38px, 5vw, 56px); line-height: 1.06; }
.academic-intro > p { margin: 0; color: var(--muted); line-height: 1.75; }
.academic-summary { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 43px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: 0 12px 34px rgba(4,61,36,.06); }
.academic-summary > div { min-height: 115px; display: flex; flex-direction: column; justify-content: center; padding: 24px 30px; border-right: 1px solid var(--line); }
.academic-summary > div:last-child { border-right: 0; }
.academic-summary strong { color: var(--red); font-family: Georgia, serif; font-size: 31px; }
.academic-summary span { margin-top: 5px; color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.academic-areas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 55px; }
.academic-area-card { position: relative; min-height: 270px; overflow: hidden; padding: 30px; border: 1px solid var(--line); border-top: 5px solid var(--navy); border-radius: 14px; background: white; box-shadow: 0 10px 30px rgba(4,61,36,.055); transition: transform .2s ease, box-shadow .2s ease; }
.academic-area-card:hover { transform: translateY(-4px); box-shadow: 0 17px 36px rgba(4,61,36,.1); }
.academic-area-number { position: absolute; top: 18px; right: 21px; color: #dce8de; font-family: Georgia, serif; font-size: 33px; font-weight: 900; }
.academic-area-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 12px; background: #e7f4eb; color: var(--navy); }
.academic-area-card h3 { margin: 28px 0 12px; color: var(--navy-deep); font-family: Georgia, serif; font-size: 23px; line-height: 1.16; }
.academic-area-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.academic-area-card small { display: inline-block; margin-top: 18px; padding: 6px 9px; border-radius: 999px; background: #eef4ef; color: var(--navy); font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.academic-area-gold { border-top-color: var(--gold); }.academic-area-gold .academic-area-icon { background: #fff8c8; color: #7d6810; }
.academic-area-blue { border-top-color: #2599bb; }.academic-area-blue .academic-area-icon { background: #e4f4f8; color: #177b98; }
.academic-area-red { border-top-color: var(--red); }.academic-area-red .academic-area-icon { background: #fdeaea; color: #b82b2b; }
.academic-source-note { display: flex; align-items: center; justify-content: space-between; gap: 35px; margin-top: 55px; padding: 28px 30px; border-radius: 14px; background: var(--navy-deep); color: white; }
.academic-source-note > div { display: flex; align-items: flex-start; gap: 17px; }
.academic-source-note > div > svg { flex: 0 0 auto; color: var(--gold); }
.academic-source-note strong { display: block; font-size: 15px; }
.academic-source-note p { max-width: 670px; margin: 6px 0 0; color: #bdd4c4; font-size: 12px; line-height: 1.55; }
.academic-source-note > a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: 0 0 auto; padding: 13px 16px; border-radius: 8px; background: var(--gold); color: #173520; font-size: 12px; font-weight: 900; }

.wellbeing-page { min-height: 100vh; background: #f7faf6; }
.wellbeing-hero { position: relative; overflow: hidden; padding: 95px 0; background: linear-gradient(120deg, #032b1a 0%, #07552f 60%, #0d7140 100%); color: white; border-bottom: 5px solid var(--gold); }
.wellbeing-hero::after { content: ""; position: absolute; width: 540px; height: 540px; right: -185px; top: -220px; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 145px rgba(255,255,255,.02); }
.wellbeing-hero-layout { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 280px; align-items: center; gap: 75px; }
.wellbeing-hero h1 { max-width: 820px; margin: 12px 0 22px; font-family: Georgia, serif; font-size: clamp(48px, 6vw, 75px); line-height: 1.02; letter-spacing: -.045em; }
.wellbeing-hero-copy > p:last-child { max-width: 680px; margin: 0; color: #d5e9dc; font-size: 18px; line-height: 1.7; }
.wellbeing-symbol { position: relative; width: 245px; height: 245px; display: grid; place-items: center; margin-inline: auto; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; }
.wellbeing-symbol > span { width: 120px; height: 120px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: var(--navy-deep); box-shadow: 0 15px 35px rgba(0,0,0,.2); }
.wellbeing-orbit { position: absolute; width: 48px; height: 48px; display: grid; place-items: center; border: 4px solid #07552f; border-radius: 50%; background: white; color: var(--navy); font-style: normal; }
.wellbeing-orbit-one { top: -9px; left: 98px; }.wellbeing-orbit-two { right: 4px; bottom: 34px; }.wellbeing-orbit-three { left: 3px; bottom: 34px; }
.wellbeing-content { padding-top: 82px; padding-bottom: 105px; }
.wellbeing-intro { display: grid; grid-template-columns: 1.05fr .95fr; align-items: end; gap: 75px; }
.wellbeing-intro h2 { max-width: 620px; margin: 9px 0 0; color: var(--navy-deep); font-family: Georgia, serif; font-size: clamp(38px, 5vw, 56px); line-height: 1.06; }
.wellbeing-intro > p { margin: 0; color: var(--muted); line-height: 1.75; }
.wellbeing-services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 48px; }
.wellbeing-service-card { position: relative; min-height: 330px; overflow: hidden; padding: 34px; border: 1px solid var(--line); border-left: 6px solid var(--navy); border-radius: 15px; background: white; box-shadow: 0 12px 34px rgba(4,61,36,.065); }
.wellbeing-service-index { position: absolute; top: 21px; right: 25px; color: #dbe7dc; font-family: Georgia, serif; font-size: 42px; font-weight: 900; }
.wellbeing-service-icon { width: 60px; height: 60px; display: grid; place-items: center; border-radius: 14px; background: #e7f4eb; color: var(--navy); }
.wellbeing-service-card h3 { max-width: 430px; margin: 27px 0 13px; color: var(--navy-deep); font-family: Georgia, serif; font-size: 27px; line-height: 1.14; }
.wellbeing-service-card > p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.wellbeing-service-card ul { display: flex; flex-wrap: wrap; gap: 7px; margin: 23px 0 0; padding: 0; list-style: none; }
.wellbeing-service-card li { display: inline-flex; align-items: center; gap: 5px; padding: 7px 9px; border-radius: 999px; background: #eef5ef; color: #446052; font-size: 10px; font-weight: 800; }
.wellbeing-service-card li svg { color: var(--navy); }
.wellbeing-service-red { border-left-color: var(--red); }.wellbeing-service-red .wellbeing-service-icon { background: #fdeaea; color: #b82b2b; }
.wellbeing-service-blue { border-left-color: #2599bb; }.wellbeing-service-blue .wellbeing-service-icon { background: #e4f4f8; color: #177b98; }
.wellbeing-service-gold { border-left-color: var(--gold); }.wellbeing-service-gold .wellbeing-service-icon { background: #fff8c8; color: #7d6810; }
.wellbeing-access { margin-top: 75px; padding: 45px; border-radius: 18px; background: linear-gradient(125deg, var(--navy-deep), var(--navy)); color: white; }
.wellbeing-access-heading { display: flex; align-items: flex-start; gap: 18px; }
.wellbeing-access-heading > span { width: 54px; height: 54px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 12px; background: var(--gold); color: var(--navy-deep); }
.wellbeing-access-heading h2 { margin: 8px 0 0; font-family: Georgia, serif; font-size: clamp(31px, 4vw, 46px); }
.wellbeing-access-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; margin-top: 32px; }
.wellbeing-access-grid article { display: grid; grid-template-columns: 50px minmax(0, 1fr); gap: 16px; padding: 25px; border: 1px solid rgba(255,255,255,.14); border-radius: 13px; background: rgba(255,255,255,.065); }
.wellbeing-access-grid article > span { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 11px; background: rgba(255,255,255,.12); color: var(--gold-light); }
.wellbeing-access-grid h3 { margin: 2px 0 8px; font-size: 17px; }.wellbeing-access-grid p { margin: 0; color: #c5dacb; font-size: 13px; line-height: 1.6; }
.wellbeing-access-grid a { display: inline-flex; align-items: center; gap: 7px; margin-top: 15px; color: var(--gold-light); font-size: 12px; font-weight: 900; }
.wellbeing-closing { display: flex; align-items: center; gap: 20px; margin-top: 30px; padding: 25px 28px; border: 1px solid var(--line); border-radius: 13px; background: white; }
.wellbeing-closing > svg { flex: 0 0 auto; color: var(--red); }
.wellbeing-closing p { margin: 0; }.wellbeing-closing strong, .wellbeing-closing span { display: block; }.wellbeing-closing strong { color: var(--navy-deep); font-size: 15px; }.wellbeing-closing span { margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.5; }

.transparency-page { min-height: 100vh; background: #f8faf6; }
.transparency-hero { padding: 90px 0; background: linear-gradient(118deg, #032b1a, #086036); color: white; border-bottom: 5px solid var(--gold); }
.transparency-hero-layout { display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.transparency-hero h1 { max-width: 820px; margin: 11px 0 19px; font-family: Georgia, serif; font-size: clamp(47px, 6vw, 74px); line-height: 1.03; letter-spacing: -.045em; }
.transparency-hero-layout > div > p:last-child { max-width: 680px; margin: 0; color: #d2e7d9; font-size: 18px; line-height: 1.7; }
.transparency-hero-layout > span { width: 175px; height: 175px; display: grid; place-items: center; align-content: center; gap: 10px; flex: 0 0 auto; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; background: rgba(255,255,255,.08); color: var(--gold-light); }
.transparency-hero-layout > span small { color: white; font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .13em; }
.transparency-content { padding-top: 82px; padding-bottom: 105px; }
.transparency-intro { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 75px; }
.transparency-intro h2 { margin: 9px 0 0; color: var(--navy-deep); font-family: Georgia, serif; font-size: clamp(38px, 5vw, 55px); line-height: 1.07; }
.transparency-intro > p { margin: 0; color: var(--muted); line-height: 1.75; }
.transparency-principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 42px; }
.transparency-principles > div { display: flex; align-items: center; gap: 13px; min-height: 88px; padding: 19px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.transparency-principles svg { flex: 0 0 auto; color: var(--navy); }.transparency-principles strong, .transparency-principles small { display: block; }.transparency-principles strong { color: var(--navy-deep); font-size: 13px; }.transparency-principles small { margin-top: 4px; color: var(--muted); font-size: 10px; line-height: 1.4; }
.transparency-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; margin-top: 52px; }
.transparency-card { position: relative; min-height: 325px; display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--line); border-top: 6px solid var(--navy); border-radius: 14px; background: white; box-shadow: 0 12px 34px rgba(4,61,36,.065); }
.transparency-card-pat { border-top-color: var(--gold); }.transparency-card-ri { border-top-color: var(--red); }.transparency-card-otro { border-top-color: #2599bb; }
.transparency-card-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; }.transparency-card-top > span { color: var(--red); font-size: 12px; font-weight: 900; letter-spacing: .12em; }.transparency-card-top small { color: var(--muted); font-size: 11px; font-weight: 800; }
.transparency-card h3 { margin: 32px 0 13px; color: var(--navy-deep); font-family: Georgia, serif; font-size: 25px; line-height: 1.15; }.transparency-card > p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }.transparency-card > em { margin-top: 17px; color: #8b514e; font-size: 11px; font-style: normal; font-weight: 800; }
.transparency-actions { display: grid; gap: 8px; margin-top: auto; padding-top: 26px; }.transparency-actions a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 43px; padding: 0 13px; border-radius: 8px; background: var(--navy); color: white; font-size: 12px; font-weight: 900; }.transparency-actions a + a { background: #edf4ee; color: var(--navy); }
.transparency-empty { display: grid; justify-items: center; margin-top: 50px; padding: 62px 30px; border: 1px dashed #abc4b0; border-radius: 15px; background: #eff6ef; text-align: center; }.transparency-empty svg { color: var(--navy); }.transparency-empty h2 { margin: 17px 0 8px; color: var(--navy-deep); font-family: Georgia, serif; font-size: 28px; }.transparency-empty p { max-width: 620px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.admin-transparency-list { display: grid; gap: 12px; margin-top: 18px; }.admin-transparency-card { position: relative; padding: 18px; border: 1px solid var(--line); border-radius: 11px; }.admin-transparency-card > div:first-child { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }.admin-transparency-card h3 { margin: 9px 0 6px; padding-right: 100px; color: var(--navy-deep); font-size: 15px; }.admin-transparency-card > p { margin: 0; color: var(--muted); font-size: 11px; word-break: break-word; }.admin-transparency-card > div:last-child { position: absolute; top: 14px; right: 14px; display: flex; align-items: center; gap: 3px; }
.admin-tabs-list { overflow-x: auto; justify-content: flex-start; }
.admin-procedures-list { display: grid; gap: 12px; margin-top: 18px; }
.admin-procedure-card { position: relative; padding: 18px; border: 1px solid var(--line); border-radius: 11px; }
.admin-procedure-card > div:first-child { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.admin-procedure-card h3 { margin: 9px 0 6px; color: var(--navy-deep); font-size: 15px; }.admin-procedure-card > p { margin: 0; color: var(--muted); font-size: 11px; }
.admin-procedure-card > div:last-child { position: absolute; top: 14px; right: 14px; display: flex; align-items: center; gap: 3px; }

@media (max-width: 960px) {
  .desktop-nav, .header-actions, .intranet-button { display: none; }
  .mobile-menu { display: block; }
  .hero { min-height: 650px; }
  .hero-content { grid-template-columns: minmax(0, 1fr) 220px; gap: 34px; }
  .hero-insignia { width: 180px; }
  .jec-badge { width: 180px; }
  .institution-grid { grid-template-columns: 1fr; gap: 55px; }
  .institution-intro { max-width: 690px; }
  .information-grid { grid-template-columns: 1fr; gap: 45px; }
  .publications-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-workspace { grid-template-columns: 1fr; }
  .gallery-admin-workspace { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .publication-detail-layout { grid-template-columns: 1fr; gap: 35px; }
  .publication-file-card { max-width: 420px; }
  .institution-hero-layout { grid-template-columns: minmax(0, 1fr) 155px; gap: 35px; }
  .institution-hero-layout > img { width: 150px; }
  .institution-facts-grid { grid-template-columns: repeat(2, 1fr); }
  .institution-community-grid { grid-template-columns: 1fr; gap: 50px; }
  .home-agenda-grid { grid-template-columns: 1fr 1fr; }
  .home-procedures-layout { grid-template-columns: 1fr; gap: 45px; }
  .procedure-details { grid-template-columns: 1fr; padding-left: 35px; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-content { max-width: 720px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .achievements-grid { grid-template-columns: 1fr; }
  .enrollment-guide { grid-template-columns: 1fr; }
  .academic-areas-grid { grid-template-columns: repeat(2, 1fr); }
  .wellbeing-hero-layout { grid-template-columns: minmax(0, 1fr) 220px; gap: 50px; }
  .wellbeing-symbol { width: 205px; height: 205px; }
  .wellbeing-orbit-one { left: 78px; }
  .transparency-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .shell { width: min(100% - 28px, 1160px); }
  .top-strip-inner { min-height: 30px; justify-content: center; }
  .top-strip p, .top-contact a:first-child { display: none; }
  .header-inner { min-height: 72px; }
  .brand small { display: none; }
  .brand-mark { width: 39px; height: 48px; }
  .hero { min-height: 685px; align-items: start; }
  .hero-overlay { background: linear-gradient(90deg, rgba(3,45,25,.98), rgba(4,61,36,.8)); }
  .hero-content { display: block; padding: 68px 0 225px; }
  .hero-identity { display: none; }
  .hero h1 { font-size: clamp(43px, 13vw, 64px); }
  .hero-lead { font-size: 16px; }
  .hero-actions { display: grid; }
  .highlight-row { grid-template-columns: 1fr; width: calc(100% - 28px); border-radius: 9px 9px 0 0; }
  .highlight { min-height: 58px; flex-direction: row; align-items: center; justify-content: flex-start; gap: 14px; padding: 10px 18px; border-right: 0; border-bottom: 1px solid var(--line); }
  .highlight:last-child { border-bottom: 0; }
  .highlight strong { min-width: 60px; font-size: 21px; }
  .highlight span { margin: 0; }
  .services-section, .institution-section, .publications-section, .gallery-preview-section, .home-agenda-section, .contact-section { padding: 72px 0; }
  .section-heading-row { display: block; }
  .section-heading-row > p { margin-top: 18px; }
  .service-grid, .purpose-grid { grid-template-columns: 1fr; }
  .purpose-card { min-height: auto; }
  .vision-card { margin-top: 0; }
  .purpose-card h3 { margin-top: 35px; }
  .information-section { padding: 72px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 42px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .contact-map-card, .contact-map-card iframe { min-height: 390px; }
  .map-open-button { right: 13px; bottom: 13px; left: 13px; }
  .team-hero-layout { grid-template-columns: 1fr; }
  .team-hero-mark { display: none; }
  .team-grid { grid-template-columns: 1fr; }
  .team-empty { padding: 38px 24px; }
  .admin-team-card { grid-template-columns: 54px minmax(0, 1fr); }
  .admin-team-actions { grid-column: 1 / -1; justify-content: flex-end; padding-top: 10px; border-top: 1px solid var(--line); }
  .institution-team-cta > div { align-items: flex-start; flex-direction: column; }
  .achievements-hero-layout { grid-template-columns: 1fr; }
  .achievements-trophy { display: none; }
  .achievements-empty { padding: 38px 24px; }
  .achievement-card > img, .achievement-image-placeholder { height: 230px; }
  .admin-achievement-card { grid-template-columns: 70px minmax(0, 1fr); }
  .admin-achievement-card > img, .admin-achievement-placeholder { width: 70px; height: 66px; }
  .admin-achievement-actions { grid-column: 1 / -1; justify-content: flex-end; padding-top: 10px; border-top: 1px solid var(--line); }
  .publications-grid { grid-template-columns: 1fr; }
  .publications-empty { align-items: flex-start; padding: 27px; }
  .admin-shell { width: min(100% - 28px, 1240px); }
  .admin-header-inner { min-height: 84px; }
  .admin-account span { display: none; }
  .admin-intro { padding-top: 42px; }
  .admin-tabs-list { width: min(100% - 28px, 1240px); }
  .admin-tabs-list [data-slot="tabs-trigger"] { padding-inline: 10px; font-size: 12px; }
  .admin-editor, .admin-list-card { padding: 20px; }
  .gallery-admin-list { padding: 20px; }
  .admin-albums-grid { grid-template-columns: 1fr; }
  .gallery-preview-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 230px 170px 170px; }
  .gallery-preview-item-1 { grid-column: 1 / -1; grid-row: auto; }
  .gallery-preview-item-2, .gallery-preview-item-3, .gallery-preview-item-4 { grid-column: auto; }
  .gallery-page-nav { min-height: 74px; }
  .gallery-page-nav .brand small { display: block; }
  .gallery-back { font-size: 0; }
  .gallery-back svg { width: 22px; height: 22px; }
  .gallery-page-hero { padding: 65px 0; }
  .publications-page-hero { padding: 60px 0; }
  .publications-archive { padding-top: 28px; padding-bottom: 72px; }
  .publication-detail { padding-top: 34px; padding-bottom: 72px; }
  .publication-detail-heading { margin-top: 28px; }
  .publication-detail-summary { font-size: 17px; }
  .publication-detail-image { margin-top: 32px; }
  .publication-detail-layout { margin-top: 35px; }
  .institution-page-hero { padding: 62px 0; }
  .institution-page-hero::after { font-size: 180px; }
  .institution-hero-layout { display: block; }
  .institution-hero-layout > img { display: none; }
  .institution-facts-grid div { min-height: 92px; padding: 16px; }
  .institution-facts-grid div:nth-child(odd) { border-left: 1px solid var(--line); }
  .institution-facts-grid strong { font-size: 25px; }
  .institution-history-section, .institution-community-section, .institution-pedagogy-section, .institution-purpose-section, .institution-organization-section { padding-top: 72px; padding-bottom: 72px; }
  .institution-section-heading { display: block; }
  .institution-section-heading > p { margin-top: 18px; }
  .institution-history-intro { display: block; margin-top: 38px; padding: 28px; }
  .institution-drop-year { display: block; margin-bottom: 18px; font-size: 52px; }
  .institution-history-intro p { font-size: 16px; }
  .institution-timeline { margin-top: 45px; }
  .institution-timeline::before { left: 45px; }
  .institution-timeline article { grid-template-columns: 100px minmax(0, 1fr); gap: 18px; padding-bottom: 38px; }
  .institution-timeline-year { width: 90px; }
  .institution-timeline h3 { margin-top: 4px; font-size: 21px; }
  .institution-pedagogy-card { display: block; padding: 28px; }
  .institution-pedagogy-icon { margin-bottom: 24px; }
  .institution-purpose-grid { grid-template-columns: 1fr; }
  .institution-purpose-grid article { min-height: auto; padding: 30px; }
  .institution-purpose-grid h2 { margin-top: 28px; }
  .digital-org-chart { margin-top: 35px; padding: 20px; }
  .org-chart-brand { margin-bottom: 30px; }
  .org-chart-leadership { grid-template-columns: 1fr; gap: 20px; margin-bottom: 35px; }
  .org-director-node::after, .org-participation-group::before { display: none; }
  .org-level { grid-template-columns: 1fr; gap: 18px; padding: 25px 0; }
  .org-level::before { display: none; }
  .org-level-label { width: 100%; }
  .org-grid-four { grid-template-columns: 1fr 1fr; padding-top: 0; }
  .org-grid-four::before, .org-grid-four .org-node::before { display: none; }
  .org-support-branches { grid-template-columns: 1fr; }
  .org-subgrid-four { grid-template-columns: 1fr 1fr; }
  .org-subgrid-four::before, .org-subgrid-four .org-node::before { display: none; }
  .institution-present-grid { grid-template-columns: 1fr; }
  .home-agenda-grid { grid-template-columns: 1fr; }
  .agenda-page-hero { padding: 60px 0; }
  .agenda-content { padding-top: 55px; padding-bottom: 72px; }
  .agenda-event-card { grid-template-columns: 78px minmax(0, 1fr); gap: 17px; padding: 18px; }
  .agenda-date-block { min-height: 82px; }
  .agenda-date-block strong { font-size: 33px; }
  .agenda-event-body h3 { font-size: 22px; }
  .event-form-grid { grid-template-columns: 1fr; }
  .admin-event-card { grid-template-columns: 54px minmax(0, 1fr); }
  .admin-event-actions { grid-column: 1 / -1; justify-content: flex-end; border-top: 1px solid var(--line); padding-top: 10px; }
  .home-procedures-section { padding: 72px 0; }
  .procedures-hero { padding: 60px 0; }
  .procedures-hero-layout > svg { display: none; }
  .procedures-content { padding-top: 55px; padding-bottom: 72px; }
  .procedures-intro { display: block; }
  .procedures-intro > p { margin-top: 18px; }
  .procedure-card summary { grid-template-columns: 48px minmax(0, 1fr) 22px; gap: 13px; padding: 18px; }
  .procedure-icon { width: 46px; height: 46px; }
  .procedure-card summary h3 { font-size: 20px; }
  .procedure-details { padding: 24px 18px; }
  .admin-procedure-card { padding-top: 53px; }
  .enrollment-hero { padding: 65px 0; }
  .enrollment-hero-layout { display: block; }
  .enrollment-hero-mark { display: none; }
  .enrollment-content { padding-top: 58px; padding-bottom: 76px; }
  .enrollment-intro { display: block; }
  .enrollment-intro > p { margin-top: 18px; }
  .enrollment-section-heading { display: block; margin-top: 62px; }
  .enrollment-section-heading > a { margin-top: 18px; }
  .enrollment-empty { grid-template-columns: 1fr; justify-items: start; padding: 26px; }
  .academic-hero { padding: 65px 0; }
  .academic-hero::before { font-size: 145px; }
  .academic-hero-layout { display: block; }
  .academic-hero-seal { display: none; }
  .academic-content { padding-top: 58px; padding-bottom: 76px; }
  .academic-intro { display: block; }
  .academic-intro > p { margin-top: 18px; }
  .academic-summary { grid-template-columns: 1fr; }
  .academic-summary > div { min-height: 88px; border-right: 0; border-bottom: 1px solid var(--line); }
  .academic-summary > div:last-child { border-bottom: 0; }
  .academic-areas-grid { grid-template-columns: 1fr; margin-top: 40px; }
  .academic-area-card { min-height: auto; }
  .academic-source-note { display: block; padding: 25px; }
  .academic-source-note > a { margin-top: 22px; }
  .wellbeing-hero { padding: 65px 0; }
  .wellbeing-hero-layout { display: block; }
  .wellbeing-symbol { display: none; }
  .wellbeing-content { padding-top: 58px; padding-bottom: 76px; }
  .wellbeing-intro { display: block; }
  .wellbeing-intro > p { margin-top: 18px; }
  .wellbeing-services-grid, .wellbeing-access-grid { grid-template-columns: 1fr; }
  .wellbeing-service-card { min-height: auto; padding: 28px; }
  .wellbeing-access { margin-top: 55px; padding: 28px; }
  .wellbeing-access-heading { display: block; }
  .wellbeing-access-heading > span { margin-bottom: 18px; }
  .wellbeing-access-grid article { grid-template-columns: 44px minmax(0, 1fr); padding: 20px; }
  .wellbeing-access-grid article > span { width: 42px; height: 42px; }
  .transparency-hero { padding: 62px 0; }
  .transparency-hero-layout > span { display: none; }
  .transparency-content { padding-top: 58px; padding-bottom: 76px; }
  .transparency-intro { display: block; }
  .transparency-intro > p { margin-top: 18px; }
  .transparency-principles, .transparency-grid { grid-template-columns: 1fr; }
  .transparency-card { min-height: auto; }
  .admin-transparency-card { padding-top: 53px; }
  .gallery-album-heading { display: block; }
  .gallery-album-heading > strong { display: block; margin-top: 15px; }
  .gallery-photo-grid { grid-template-columns: 1fr 1fr; }
  .gallery-photo-grid figure:first-child { grid-column: 1 / -1; grid-row: auto; }
  .gallery-photo-grid figure, .gallery-photo-grid img { min-height: 190px; }
}

@media (max-width: 480px) {
  .org-participation-group > div, .org-grid-four, .org-subgrid-two, .org-subgrid-four { grid-template-columns: 1fr; }
  .org-subgrid-two::before, .org-subgrid-two .org-node::before, .org-branch > .org-parent-node::after, .org-admin-branch > .org-parent-node::after { display: none; }
  .org-subgrid { padding-top: 12px; }
  .org-chart-brand { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* Adaptación PHP/MySQL para hosting cPanel */
input, textarea, select, button { font: inherit; }
.portal-btn { display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:9px;background:var(--navy);color:#fff;padding:12px 18px;font-weight:800;cursor:pointer }
.portal-btn.secondary { background:#eef4ef;color:var(--navy);border:1px solid var(--line) }
.portal-simple,.portal-content { padding:72px 0 90px }.portal-content>h2{font-size:34px;margin:0 0 28px}
.portal-empty { margin:45px auto;padding:54px 28px;border:1px dashed #b8cbbb;border-radius:18px;text-align:center;background:#f7faf7;max-width:840px }
.portal-empty>span{display:grid;place-items:center;width:64px;height:64px;margin:0 auto 18px;border-radius:50%;background:#e4f1e7;color:var(--navy);font-size:32px}.portal-empty h2{margin:0 0 8px}.portal-empty p{margin:0;color:var(--muted)}
.portal-link-stack{display:grid;gap:12px;margin-top:24px}.portal-link-stack a{padding:16px;border:1px solid var(--line);border-radius:10px;font-weight:800;background:white}
.publication-detail{padding:70px 0 95px;max-width:860px}.publication-detail h1{font-size:clamp(35px,5vw,58px);line-height:1.05;margin:16px 0}.publication-detail .lead{font-size:21px;color:var(--muted)}.publication-detail .prose{font-size:17px;line-height:1.8;margin:30px 0}
.login-wrap{min-height:calc(100vh - 180px);display:grid;place-items:center;padding:45px 16px;background:#f2f6f0}.login-card{width:min(440px,100%);display:grid;gap:17px;background:#fff;padding:34px;border:1px solid var(--line);border-radius:18px;box-shadow:0 22px 65px rgba(4,61,36,.13)}.login-card>img{width:80px;height:94px;object-fit:contain;margin:auto}.login-card h1,.login-card p{margin:0;text-align:center}.login-card label{display:grid;gap:7px;font-weight:800}.login-card input,.admin-php-form input,.admin-php-form textarea,.admin-php-form select,.photo-manager input,.photo-manager select{width:100%;padding:11px 12px;border:1px solid var(--input);border-radius:8px;background:white;color:var(--ink)}
.admin-php-page{min-height:80vh;background:#f4f7f3;padding-bottom:90px}.admin-php-intro{display:flex;justify-content:space-between;align-items:center;gap:30px;padding:52px 0 32px}.admin-php-intro h1{margin:5px 0;font-size:42px}.admin-php-intro p{margin:0;color:var(--muted)}
.admin-flash{padding:14px 18px;margin-bottom:18px;border-radius:9px;font-weight:700}.admin-flash.ok{background:#dff4e5;color:#075b2f}.admin-flash.bad{background:#fde9e9;color:#8c1c1c}
.admin-php-tabs{display:flex;gap:8px;overflow:auto;padding:8px;background:#fff;border:1px solid var(--line);border-radius:13px;box-shadow:0 7px 24px rgba(4,61,36,.06)}.admin-php-tabs button{display:flex;align-items:center;gap:8px;white-space:nowrap;border:0;background:transparent;color:#435548;padding:12px 14px;border-radius:9px;font-weight:800;cursor:pointer}.admin-php-tabs button.active{background:var(--navy);color:#fff;box-shadow:inset 0 -3px var(--gold),0 5px 14px rgba(4,61,36,.18)}
.admin-php-workspace{display:grid;grid-template-columns:minmax(300px,430px) minmax(0,1fr);gap:24px;align-items:start;padding-top:24px}.admin-php-workspace[hidden]{display:none}.admin-php-form,.admin-php-list{background:white;border:1px solid var(--line);border-radius:15px;padding:24px;box-shadow:0 7px 24px rgba(4,61,36,.05)}.admin-php-form{display:grid;gap:15px;position:sticky;top:104px}.admin-card-heading{display:flex;gap:12px;align-items:center;margin-bottom:8px}.admin-card-heading h2,.admin-card-heading p{margin:0}.admin-card-heading p{margin-top:4px;color:var(--muted);font-size:13px}.admin-card-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:10px;background:#e7f1e9;color:var(--navy);font-size:20px;font-weight:900}.admin-field{display:grid;gap:7px}.admin-field>span{font-weight:800;font-size:13px}.admin-field textarea{resize:vertical;min-height:90px}.admin-field small{color:var(--muted)}.admin-status{display:flex;align-items:center;gap:9px;padding:12px;background:#f1f6f2;border-radius:9px;font-weight:800}.admin-status input{width:auto}.admin-form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:6px}
.admin-php-row{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:15px 0;border-bottom:1px solid var(--line)}.admin-php-row>div:first-child{display:grid;gap:4px}.admin-php-row small{color:var(--muted)}.admin-row-actions{display:flex;gap:6px;align-items:center}.admin-row-actions form{margin:0}.admin-row-actions button,.admin-row-actions a{display:grid;place-items:center;width:34px;height:34px;border:0;border-radius:7px;background:#eef4ef;color:var(--navy);cursor:pointer}.admin-row-actions .danger{background:#feeaea;color:#b51d1d}.admin-empty{padding:35px;text-align:center;display:grid;gap:8px;color:var(--muted)}
.photo-manager{border-top:1px solid var(--line);margin-top:25px;padding-top:20px}.photo-manager>form{display:grid;gap:9px}.photo-admin-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:18px}.photo-admin-grid figure{margin:0;border:1px solid var(--line);border-radius:9px;overflow:hidden}.photo-admin-grid img{width:100%;height:110px;object-fit:cover}.photo-admin-grid figcaption{padding:8px;font-size:12px}.photo-admin-grid button{border:0;color:#b51d1d;background:transparent;cursor:pointer;padding:0;margin-top:5px}
.portal-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:10px 0 55px}.portal-steps article{padding:26px;background:#f6f9f5;border:1px solid var(--line);border-radius:14px}.portal-steps strong{font-size:28px;color:var(--navy)}.portal-steps h3{margin:12px 0 7px}.portal-steps p{margin:0;color:var(--muted)}.enrollment-item{padding:22px;border:1px solid var(--line);border-radius:12px;margin:14px 0}.enrollment-item h3{margin-top:0}
.wellbeing-service-card>span,.achievements-trophy,.team-hero-mark{font-size:40px;color:var(--gold)}.academic-area-card{border-top-color:var(--navy)}
@media(max-width:980px){.admin-php-workspace{grid-template-columns:1fr}.admin-php-form{position:static}.desktop-nav{display:none}.mobile-menu{display:block}.header-actions{display:none}.intranet-button{display:none}}
@media(max-width:700px){.admin-php-intro{align-items:flex-start;flex-direction:column}.admin-php-intro h1{font-size:34px}.admin-php-workspace{width:min(100% - 24px,1160px)}.admin-php-form,.admin-php-list{padding:18px}.portal-steps{grid-template-columns:1fr}.photo-admin-grid{grid-template-columns:1fr 1fr}.top-contact{display:none}.shell{width:min(100% - 28px,1160px)}}

/* Transparencia: diferenciación visual de instrumentos de gestión */
.transparency-card-pei { border-top-color: var(--navy); }
.transparency-card-pat { border-top-color: var(--gold); }
.transparency-card-ri { border-top-color: var(--red); }
.transparency-principles > div > span { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: #edf5ef; color: var(--navy); font-weight: 900; }


/* Acceso administrativo discreto en el pie de página */
.portal-footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:42px}
.footer-admin-access{display:inline-flex;align-items:center;gap:7px;color:inherit;text-decoration:none;font-weight:800;opacity:.88;transition:opacity .2s ease,transform .2s ease}
.footer-admin-access:hover{opacity:1;transform:translateY(-1px);text-decoration:underline}
.footer-admin-access span{font-size:13px}
@media(max-width:700px){.portal-footer-bottom{flex-direction:column;align-items:flex-start;gap:12px}.footer-admin-access{padding-top:10px;border-top:1px solid rgba(255,255,255,.12);width:100%}}

/* Footer institucional ampliado */
.portal-mega-footer{padding-top:34px}
.portal-footer-grid{display:grid;grid-template-columns:1.45fr 1fr 1fr .9fr;gap:34px;padding-bottom:28px}
.portal-footer-col{display:flex;flex-direction:column;align-items:flex-start;gap:9px}
.portal-footer-col>strong{font-size:14px;letter-spacing:.06em;text-transform:uppercase;margin-bottom:5px}
.portal-footer-col a{color:inherit;text-decoration:none;opacity:.84;line-height:1.35}
.portal-footer-col a:hover{opacity:1;text-decoration:underline}
.portal-footer-admin .footer-admin-access{margin-top:2px}
.portal-footer-bottom{border-top:1px solid rgba(255,255,255,.16);padding:18px 0 20px;min-height:0}
.footer-author{font-weight:800;letter-spacing:.02em}
@media(max-width:900px){.portal-footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.portal-footer-grid{grid-template-columns:1fr;gap:24px}.portal-footer-bottom{align-items:flex-start}.footer-author{padding-top:0}}


/* Footer institucional - corrección de caché y maquetación */
footer.portal-mega-footer.gallery-footer {
  display:block;
  width:100%;
  margin:0;
  padding:46px 0 0;
  background:var(--navy-deep);
  color:#e4efe7;
  font-size:14px;
}
footer.portal-mega-footer .portal-footer-grid {
  width:min(1160px, calc(100% - 40px));
  margin-inline:auto;
  display:grid;
  grid-template-columns:1.45fr 1fr 1fr .9fr;
  gap:48px;
  padding:0 0 38px;
}
footer.portal-mega-footer .portal-footer-col {
  min-width:0;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:10px;
}
footer.portal-mega-footer .portal-footer-col > strong {
  display:block;
  margin:0 0 8px;
  color:#fff;
  font-size:13px;
  font-weight:900;
  letter-spacing:.09em;
  text-transform:uppercase;
}
footer.portal-mega-footer .portal-footer-col a {
  display:block;
  color:#d6e5da;
  font-size:14px;
  line-height:1.45;
  text-decoration:none;
  opacity:.92;
}
footer.portal-mega-footer .portal-footer-col a:hover {
  color:#fff;
  opacity:1;
  text-decoration:underline;
  text-underline-offset:3px;
}
footer.portal-mega-footer .footer-admin-access {
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 13px;
  border:1px solid rgba(255,255,255,.20);
  border-radius:8px;
  background:rgba(255,255,255,.06);
  color:#fff;
  font-weight:800;
}
footer.portal-mega-footer .portal-footer-bottom {
  width:min(1160px, calc(100% - 40px));
  margin-inline:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:20px 0 24px;
  border-top:1px solid rgba(255,255,255,.16);
  color:#bcd0c2;
  font-size:13px;
}
footer.portal-mega-footer .footer-author {
  color:#fff;
  font-weight:800;
  white-space:nowrap;
}
@media (max-width:900px) {
  footer.portal-mega-footer .portal-footer-grid {grid-template-columns:1fr 1fr;gap:32px 44px;}
}
@media (max-width:600px) {
  footer.portal-mega-footer {padding-top:34px;}
  footer.portal-mega-footer .portal-footer-grid {width:min(100% - 32px,1160px);grid-template-columns:1fr;gap:28px;padding-bottom:30px;}
  footer.portal-mega-footer .portal-footer-bottom {width:min(100% - 32px,1160px);flex-direction:column;align-items:flex-start;gap:8px;}
  footer.portal-mega-footer .footer-author {white-space:normal;}
}
