:root {
  --uch-primary: #20366d;
  --uch-primary-deep: #142652;
  --uch-primary-soft: #edf1fa;
  --uch-accent: #e62b4a;
  --uch-accent-dark: #bd1936;
  --uch-ink: #17213a;
  --uch-muted: #65708a;
  --uch-line: #dfe4ef;
  --uch-bg: #f5f7fb;
  --uch-white: #fff;
  --uch-radius: 18px;
  --uch-shadow: 0 22px 64px rgba(20, 38, 82, .14);
  --uch-container: 1240px;
  --uch-ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--uch-ink);
  background: var(--uch-white);
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { font-weight: 750; letter-spacing: -.025em; line-height: 1.12; }
h1 { font-size: clamp(2.45rem, 5vw, 5.6rem); }
h2 { font-size: clamp(2rem, 3.4vw, 3.8rem); }
h3 { font-size: clamp(1.22rem, 1.8vw, 1.75rem); }
::selection { color: #fff; background: var(--uch-accent); }

.uch-container { width: min(calc(100% - 48px), var(--uch-container)); margin-inline: auto; }
.content-narrow { width: min(calc(100% - 48px), 820px); }
.section { position: relative; padding: clamp(72px, 9vw, 128px) 0; overflow: clip; }
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
  z-index: 100000; top: 8px; left: 8px; width: auto; height: auto;
  padding: 12px 18px; margin: 0; overflow: visible; clip: auto;
  color: var(--uch-primary); background: #fff; box-shadow: var(--uch-shadow);
}
:focus-visible { outline: 3px solid #f5a623; outline-offset: 3px; }

.icon { width: 1.25em; height: 1.25em; flex: 0 0 auto; vertical-align: middle; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 12px 24px; border: 1px solid transparent; border-radius: 999px;
  font-size: .83rem; font-weight: 800; letter-spacing: .065em; line-height: 1.1; text-transform: uppercase;
  transition: transform .25s var(--uch-ease), background .25s, color .25s, box-shadow .25s;
}
.button:hover { transform: translateY(-2px); }
.button-accent { color: #fff; background: var(--uch-accent); box-shadow: 0 12px 30px rgba(230, 43, 74, .25); }
.button-accent:hover { background: var(--uch-accent-dark); box-shadow: 0 16px 36px rgba(230, 43, 74, .35); }
.button-light { color: var(--uch-primary); background: #fff; }
.button-light:hover { color: #fff; background: var(--uch-accent); }
.button-wide { width: 100%; }
.text-link {
  display: inline-flex; align-items: center; gap: 9px; color: var(--uch-primary);
  font-size: .82rem; font-weight: 800; letter-spacing: .055em; text-transform: uppercase;
}
.text-link .icon { transition: transform .25s var(--uch-ease); }
.text-link:hover .icon { transform: translateX(5px); }
.eyebrow {
  margin-bottom: 16px; color: var(--uch-accent); font-size: .75rem; font-weight: 850;
  letter-spacing: .18em; line-height: 1.2; text-transform: uppercase;
}

/* Cabecera */
.site-topbar { color: #fff; background: var(--uch-primary-deep); font-size: .75rem; }
.topbar-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.topbar-message { margin: 0; font-weight: 650; }
.utility-menu, .primary-menu, .footer-menu { list-style: none; padding: 0; margin: 0; }
.utility-menu { display: flex; align-items: center; gap: 22px; }
.utility-menu a { opacity: .8; transition: opacity .2s; }
.utility-menu a:hover { opacity: 1; }
.site-header {
  z-index: 1000; position: sticky; top: 0; background: rgba(255, 255, 255, .98);
  border-bottom: 1px solid rgba(32, 54, 109, .1); box-shadow: 0 5px 24px rgba(23, 33, 58, .06);
}
.admin-bar .site-header { top: 32px; }
.header-inner { min-height: 84px; display: flex; align-items: center; gap: 26px; }
.site-branding { flex: 0 0 228px; }
.site-branding img { width: auto; max-width: 228px; max-height: 54px; object-fit: contain; }
.custom-logo-link { display: inline-flex; }
.primary-nav { flex: 1 1 auto; align-self: stretch; }
.primary-menu { height: 100%; display: flex; align-items: stretch; justify-content: center; gap: 2px; }
.primary-menu > li { position: relative; display: flex; align-items: center; }
.primary-menu > li > a {
  display: flex; align-items: center; height: 100%; padding: 8px 10px;
  color: var(--uch-primary); font-size: .73rem; font-weight: 750; line-height: 1.15; text-align: center;
}
.primary-menu > li > a::after {
  content: ""; position: absolute; right: 10px; bottom: 0; left: 10px; height: 3px;
  background: var(--uch-accent); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.primary-menu > li:hover > a::after, .primary-menu > .current-menu-item > a::after, .primary-menu > .current-menu-ancestor > a::after { transform: scaleX(1); }
.primary-menu .menu-item-has-children > a { padding-right: 22px; }
.primary-menu .menu-item-has-children > a::before {
  content: ""; position: absolute; right: 8px; top: 50%; width: 6px; height: 6px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-65%) rotate(45deg);
}
.primary-menu .sub-menu {
  visibility: hidden; opacity: 0; position: absolute; z-index: 50; top: calc(100% - 1px); left: 0;
  width: 310px; max-height: 68vh; overflow: auto; list-style: none; margin: 0; padding: 14px;
  background: #fff; border-top: 4px solid var(--uch-accent); border-radius: 0 0 12px 12px;
  box-shadow: 0 22px 55px rgba(20, 38, 82, .18); transform: translateY(10px);
  transition: opacity .2s, visibility .2s, transform .2s;
}
.primary-menu li:hover > .sub-menu, .primary-menu li:focus-within > .sub-menu { visibility: visible; opacity: 1; transform: translateY(0); }
.primary-menu .sub-menu a { display: block; padding: 10px 12px; color: var(--uch-ink); border-radius: 7px; font-size: .84rem; line-height: 1.35; }
.primary-menu .sub-menu a:hover { color: var(--uch-primary); background: var(--uch-primary-soft); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.search-toggle, .menu-toggle {
  display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0;
  color: var(--uch-primary); background: transparent; border: 0; border-radius: 50%;
}
.search-toggle:hover, .menu-toggle:hover { background: var(--uch-primary-soft); }
.header-apply { min-height: 44px; padding-inline: 18px; font-size: .72rem; }
.menu-toggle { display: none; }
.menu-toggle-close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle-open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle-close { display: inline-flex; }
.search-panel { padding: 20px 0; background: #fff; border-top: 1px solid var(--uch-line); }
.search-form { display: flex; align-items: center; max-width: 760px; margin-inline: auto; border-bottom: 2px solid var(--uch-primary); }
.search-form label { flex: 1; }
.search-field { width: 100%; padding: 14px 4px; color: var(--uch-ink); background: transparent; border: 0; outline: 0; font-size: 1.15rem; }
.search-submit { width: 48px; height: 48px; display: grid; place-items: center; color: var(--uch-primary); background: transparent; border: 0; }

/* Hero */
.hero { position: relative; height: min(810px, calc(100vh - 80px)); min-height: 620px; color: #fff; background: var(--uch-primary-deep); overflow: hidden; }
.hero-slides, .hero-slide, .hero-media, .hero-overlay { position: absolute; inset: 0; }
.hero-slide { opacity: 0; pointer-events: none; transition: opacity .9s var(--uch-ease); }
.hero-slide.is-active { z-index: 1; opacity: 1; pointer-events: auto; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.035); transition: transform 8s linear; }
.hero-slide.is-active .hero-media img { transform: scale(1.105); }
.hero-overlay { background: linear-gradient(90deg, rgba(12, 26, 62, .9) 0%, rgba(19, 38, 82, .66) 42%, rgba(20, 38, 82, .08) 80%), linear-gradient(0deg, rgba(10, 24, 56, .34), transparent 45%); }
.hero-content { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; padding-bottom: 78px; }
.hero-copy { max-width: 720px; }
.hero-copy .eyebrow { color: #fff; opacity: .74; }
.hero-copy h1 { max-width: 840px; margin-bottom: 22px; color: #fff; text-wrap: balance; }
.hero-copy > p:not(.eyebrow) { max-width: 650px; margin-bottom: 30px; font-size: clamp(1.05rem, 1.5vw, 1.32rem); opacity: .9; }
.hero-controls { position: absolute; z-index: 4; right: 0; bottom: 44px; left: 0; display: flex; align-items: center; gap: 15px; }
.carousel-arrow, .testimonial-arrows button {
  display: grid; place-items: center; width: 44px; height: 44px; color: #fff;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.35); border-radius: 50%;
  transition: background .2s, color .2s, transform .2s;
}
.carousel-arrow:hover, .testimonial-arrows button:hover { color: var(--uch-primary); background: #fff; transform: translateY(-2px); }
.carousel-dots { display: flex; align-items: center; gap: 7px; }
.carousel-dots button { width: 9px; height: 9px; padding: 0; background: rgba(255,255,255,.45); border: 0; border-radius: 20px; transition: width .25s, background .25s; }
.carousel-dots button[aria-selected="true"] { width: 34px; background: #fff; }
.carousel-count { margin-left: 4px; font-size: .75rem; font-variant-numeric: tabular-nums; opacity: .75; }
.carousel-count strong { color: #fff; font-size: 1rem; }
.hero-scroll { position: absolute; z-index: 4; right: 38px; bottom: 37px; display: flex; align-items: center; gap: 12px; font-size: .68rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; writing-mode: vertical-rl; }
.hero-scroll i { position: relative; display: block; width: 1px; height: 48px; background: rgba(255,255,255,.45); overflow: hidden; }
.hero-scroll i::after { content: ""; position: absolute; top: -100%; left: 0; width: 1px; height: 100%; background: #fff; animation: scrollLine 2s infinite; }
@keyframes scrollLine { 0% { top: -100%; } 70%,100% { top: 100%; } }

/* Formulario */
.application-section { position: relative; padding: clamp(64px, 8vw, 110px) 0; background: var(--uch-primary-soft); overflow: hidden; }
.application-section::before { content: ""; position: absolute; width: 560px; height: 560px; right: -240px; top: -280px; border: 110px solid rgba(32,54,109,.055); border-radius: 50%; }
.application-grid { position: relative; display: grid; grid-template-columns: minmax(0,.82fr) minmax(560px,1.18fr); gap: clamp(45px, 7vw, 100px); align-items: center; }
.application-intro h2 { margin-bottom: 24px; color: var(--uch-primary); }
.application-intro > p:not(.eyebrow) { color: var(--uch-muted); font-size: 1.08rem; }
.application-benefits { list-style: none; padding: 0; margin: 28px 0 0; }
.application-benefits li { display: flex; align-items: center; gap: 13px; margin: 12px 0; color: var(--uch-primary); font-weight: 700; }
.application-benefits .icon { color: var(--uch-accent); }
.application-card { padding: clamp(26px, 3.5vw, 46px); background: #fff; border-radius: var(--uch-radius); box-shadow: var(--uch-shadow); }
.application-form .form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.application-form label > span { display: block; margin-bottom: 7px; color: var(--uch-primary); font-size: .75rem; font-weight: 800; }
.application-form input:not([type="checkbox"]), .application-form select, .application-form textarea {
  width: 100%; height: 48px; padding: 10px 13px; color: var(--uch-ink); background: #f8f9fc;
  border: 1px solid var(--uch-line); border-radius: 8px; outline: 0; transition: border .2s, box-shadow .2s;
}
.application-form input:focus, .application-form select:focus { border-color: var(--uch-primary); box-shadow: 0 0 0 3px rgba(32,54,109,.1); }
.form-span { grid-column: 1 / -1; }
.privacy-check { display: flex; align-items: flex-start; gap: 10px; margin: 20px 0; color: var(--uch-muted); font-size: .78rem; }
.privacy-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--uch-primary); }
.privacy-check > span { margin: 0 !important; color: inherit !important; font-weight: 500 !important; }
.form-honeypot { position: absolute; left: -999em; }
.form-notice { margin-bottom: 20px; padding: 13px 16px; border-radius: 8px; font-weight: 650; }
.form-notice.success { color: #176542; background: #e7f6ef; }
.form-notice.error { color: #9d1730; background: #fff0f2; }

/* Encabezados de sección */
.section-heading { max-width: 710px; margin-bottom: 50px; }
.section-heading h2 { margin-bottom: 16px; color: var(--uch-primary); }
.section-heading > p:not(.eyebrow) { margin: 0; color: var(--uch-muted); font-size: 1.05rem; }
.section-heading-center { margin-inline: auto; text-align: center; }
.section-heading-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.section-heading-row .section-heading { margin-bottom: 50px; }
.section-heading-row > .text-link { margin-bottom: 56px; }
.section-heading-light h2, .section-heading-light > p:not(.eyebrow) { color: #fff; }
.section-heading-light .eyebrow { color: #ffb8c5; }

/* Facultades */
.faculties-section { background: #fff; }
.faculties-section::before { content: ""; position: absolute; left: -180px; bottom: -240px; width: 520px; height: 520px; border: 1px solid rgba(32,54,109,.09); border-radius: 50%; box-shadow: 0 0 0 64px rgba(32,54,109,.025), 0 0 0 128px rgba(32,54,109,.018); }
.faculty-explorer { position: relative; z-index: 1; display: grid; grid-template-columns: 310px minmax(0,1fr); min-height: 570px; background: var(--uch-bg); border-radius: 22px; overflow: hidden; box-shadow: 0 24px 70px rgba(32,54,109,.11); }
.faculty-tabs { padding: 30px 0; background: var(--uch-primary); }
.faculty-tabs button { position: relative; width: 100%; display: flex; align-items: center; gap: 16px; padding: 16px 22px; color: rgba(255,255,255,.68); background: transparent; border: 0; text-align: left; transition: color .2s, background .2s; }
.faculty-tabs button::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 4px; background: var(--uch-accent); transform: scaleY(0); transition: transform .25s; }
.faculty-tabs button b { width: 34px; color: rgba(255,255,255,.36); font-size: .74rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.faculty-tabs button span { flex: 1; font-size: .83rem; font-weight: 680; line-height: 1.3; }
.faculty-tabs button:hover, .faculty-tabs button[aria-selected="true"] { color: #fff; background: rgba(255,255,255,.08); }
.faculty-tabs button[aria-selected="true"]::after { transform: scaleY(1); }
.faculty-panels { min-width: 0; }
.faculty-panel { display: grid; grid-template-columns: 47% 53%; height: 100%; min-height: 570px; }
.faculty-panel[hidden] { display: none; }
.faculty-image { min-height: 570px; overflow: hidden; }
.faculty-image img { width: 100%; height: 100%; object-fit: cover; }
.faculty-copy { position: relative; padding: clamp(34px, 5vw, 70px); background: #fff; overflow: hidden; }
.faculty-copy::after { content: ""; position: absolute; right: -85px; bottom: -85px; width: 220px; height: 220px; border: 42px solid var(--uch-primary-soft); border-radius: 50%; }
.faculty-number { position: absolute; top: 22px; right: 30px; color: #d9deea; font-size: clamp(3.4rem, 7vw, 6.7rem); font-weight: 850; line-height: 1; }
.faculty-mark { position: relative; z-index: 1; width: 62px; height: 62px; display: grid; place-items: center; margin-bottom: 27px; color: #fff; background: var(--uch-accent); border-radius: 50%; box-shadow: 0 12px 26px rgba(230,43,74,.22); }
.faculty-mark .icon { width: 31px; height: 31px; }
.faculty-copy h3 { position: relative; z-index: 1; max-width: 430px; margin-bottom: 23px; color: var(--uch-primary); font-size: clamp(1.55rem, 2.5vw, 2.45rem); }
.faculty-copy ul { position: relative; z-index: 1; list-style: none; padding: 0; margin: 0 0 30px; }
.faculty-copy li { border-top: 1px solid var(--uch-line); }
.faculty-copy li:last-child { border-bottom: 1px solid var(--uch-line); }
.faculty-copy li a { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px 0; color: var(--uch-muted); font-size: .88rem; line-height: 1.35; transition: color .2s, padding .2s; }
.faculty-copy li a:hover { padding-left: 6px; color: var(--uch-primary); }
.faculty-copy li .icon { width: 17px; }
.faculty-copy .button { position: relative; z-index: 1; }

/* Accesos */
.explore-section { color: #fff; background: var(--uch-primary-deep); }
.explore-section::before { content: ""; position: absolute; inset: 0; opacity: .055; background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 24px 24px; }
.explore-section .uch-container { position: relative; }
.explore-section .section-heading h2, .explore-section .section-heading > p:not(.eyebrow) { color: #fff; }
.explore-section .section-heading .eyebrow { color: #ff9caf; }
.explore-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.explore-card { position: relative; min-height: 520px; border-radius: 16px; overflow: hidden; box-shadow: 0 22px 45px rgba(0,0,0,.2); }
.explore-card:nth-child(even) { transform: translateY(34px); }
.explore-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--uch-ease); }
.explore-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,24,56,.94) 0%, rgba(10,24,56,.25) 60%, rgba(10,24,56,.02) 100%); }
.explore-copy { position: absolute; right: 24px; bottom: 28px; left: 24px; display: flex; flex-direction: column; }
.explore-copy strong { font-size: 1.35rem; line-height: 1.12; }
.explore-copy small { max-height: 0; margin-top: 0; overflow: hidden; opacity: 0; line-height: 1.45; transition: max-height .35s, margin .35s, opacity .35s; }
.explore-icon { position: absolute; z-index: 2; top: 22px; right: 22px; width: 46px; height: 46px; display: grid; place-items: center; color: var(--uch-primary); background: #fff; border-radius: 50%; transition: color .25s, background .25s, transform .25s; }
.explore-card:hover img { transform: scale(1.08); }
.explore-card:hover .explore-copy small { max-height: 80px; margin-top: 10px; opacity: .76; }
.explore-card:hover .explore-icon { color: #fff; background: var(--uch-accent); transform: rotate(-25deg); }

/* Noticias */
.news-section { background: var(--uch-bg); }
.news-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.news-card { min-width: 0; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 14px 42px rgba(32,54,109,.08); transition: transform .3s var(--uch-ease), box-shadow .3s; }
.news-card:hover { transform: translateY(-8px); box-shadow: 0 24px 55px rgba(32,54,109,.15); }
.news-image { display: block; height: 246px; overflow: hidden; }
.news-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s var(--uch-ease); }
.news-card:hover .news-image img { transform: scale(1.065); }
.news-copy { position: relative; min-height: 225px; padding: 25px 26px 65px; }
.news-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 15px; color: var(--uch-muted); font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.news-meta span { color: var(--uch-accent); }
.news-copy h3 { margin: 0; color: var(--uch-primary); font-size: 1.2rem; line-height: 1.3; }
.news-copy h3 a:hover { color: var(--uch-accent); }
.card-link { position: absolute; right: 25px; bottom: 22px; width: 38px; height: 38px; display: grid; place-items: center; color: var(--uch-primary); border: 1px solid var(--uch-line); border-radius: 50%; transition: color .2s, background .2s; }
.card-link:hover { color: #fff; background: var(--uch-primary); }
.card-link .icon { width: 18px; }

/* Videoteca */
.video-section { background: #fff; }
.video-layout { display: grid; grid-template-columns: 390px minmax(0,1fr); min-height: 570px; border-radius: 18px; overflow: hidden; box-shadow: var(--uch-shadow); }
.video-list { max-height: 570px; padding: 15px; overflow-y: auto; background: var(--uch-primary); }
.video-item { width: 100%; display: grid; grid-template-columns: 78px 1fr; gap: 15px; align-items: center; padding: 12px; color: rgba(255,255,255,.72); background: transparent; border: 0; border-radius: 10px; text-align: left; line-height: 1.3; transition: color .2s, background .2s; }
.video-item + .video-item { margin-top: 4px; }
.video-item:hover, .video-item.is-active { color: #fff; background: rgba(255,255,255,.1); }
.video-item.is-active { box-shadow: inset 3px 0 var(--uch-accent); }
.video-thumb { position: relative; height: 68px; border-radius: 8px; overflow: hidden; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-thumb::after { content: ""; position: absolute; inset: 0; background: rgba(20,38,82,.2); }
.video-thumb i { position: absolute; z-index: 1; inset: 0; display: grid; place-items: center; }
.video-thumb .icon { width: 23px; height: 23px; fill: #fff; stroke: none; }
.video-item > span:last-child { font-size: .83rem; font-weight: 650; }
.video-player { padding: 24px; background: #0d1730; }
.video-frame { aspect-ratio: 16/9; height: calc(100% - 42px); background: #050914; }
.video-frame iframe { width: 100%; height: 100%; border: 0; }
.video-now-playing { margin: 14px 0 0; color: rgba(255,255,255,.82); font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Testimonios */
.testimonials-section { background: var(--uch-primary-soft); }
.testimonials-section::after { content: "“"; position: absolute; right: 1vw; top: -80px; color: rgba(32,54,109,.045); font-family: Georgia,serif; font-size: 32rem; line-height: 1; }
.testimonials-layout { position: relative; z-index: 1; display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px; align-items: center; }
.testimonial-heading h2 { margin-bottom: 20px; color: var(--uch-primary); }
.testimonial-heading > p:not(.eyebrow) { color: var(--uch-muted); }
.testimonial-arrows { display: flex; gap: 10px; margin-top: 34px; }
.testimonial-arrows button { color: var(--uch-primary); background: #fff; border-color: var(--uch-line); }
.testimonial-arrows button:hover { color: #fff; background: var(--uch-primary); }
.testimonial-stage { position: relative; min-height: 370px; }
.testimonial-card { position: absolute; inset: 0 0 34px; display: grid; grid-template-columns: 235px 1fr; opacity: 0; visibility: hidden; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: var(--uch-shadow); transform: translateX(28px); transition: opacity .45s, visibility .45s, transform .45s var(--uch-ease); }
.testimonial-card.is-active { opacity: 1; visibility: visible; transform: translateX(0); }
.testimonial-photo img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-copy { padding: clamp(28px, 4vw, 52px); }
.quote-icon { color: var(--uch-accent); }
.quote-icon .icon { width: 38px; height: 38px; }
.testimonial-copy blockquote { margin: 16px 0 24px; color: var(--uch-primary); font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.08rem, 1.7vw, 1.42rem); line-height: 1.55; }
.testimonial-copy blockquote p { margin: 0; }
.testimonial-copy h3 { margin: 0 0 5px; color: var(--uch-primary); font-size: 1.05rem; }
.testimonial-copy > p { margin: 0; color: var(--uch-muted); font-size: .78rem; }
.testimonial-dots { position: absolute; z-index: 10; bottom: 4px; left: 50%; transform: translateX(-50%); }
.testimonial-dots button { background: rgba(32,54,109,.25); }
.testimonial-dots button[aria-selected="true"] { background: var(--uch-primary); }

/* Logros */
.achievements-section { color: #fff; background: var(--uch-primary); }
.achievements-section::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 0%, rgba(255,255,255,.11), transparent 34%), radial-gradient(circle at 95% 90%, rgba(230,43,74,.28), transparent 28%); }
.achievements-section .uch-container { position: relative; }
.achievements-grid { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid rgba(255,255,255,.22); border-bottom: 1px solid rgba(255,255,255,.22); }
.achievement-card { position: relative; min-height: 310px; padding: 40px 30px; border-right: 1px solid rgba(255,255,255,.22); }
.achievement-card:last-child { border-right: 0; }
.achievement-icon { display: inline-grid; place-items: center; width: 50px; height: 50px; margin-bottom: 38px; color: var(--uch-primary); background: #fff; border-radius: 50%; font-size: 1.4rem; }
.achievement-card h3 { margin: 0 0 10px; color: #fff; font-size: 3rem; }
.achievement-card h4 { margin: 0 0 14px; color: #ffb1bf; font-size: 1.05rem; }
.achievement-card div { color: rgba(255,255,255,.72); font-size: .87rem; }
.achievement-card div p { margin: 0; }

/* Pie */
.site-footer { color: #fff; background: #101f46; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .75fr .9fr 1.25fr; gap: clamp(30px, 5vw, 70px); padding-top: 76px; padding-bottom: 66px; }
.footer-brand img { width: 260px; height: auto; margin-bottom: 25px; }
.footer-brand > p { max-width: 330px; color: rgba(255,255,255,.62); font-size: .88rem; }
.social-links { display: flex; gap: 9px; margin-top: 25px; }
.social-links a { width: 38px; height: 38px; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.09); border-radius: 50%; font-size: .7rem; font-weight: 800; text-transform: uppercase; transition: background .2s, transform .2s; }
.social-links a:hover { background: var(--uch-accent); transform: translateY(-3px); }
.footer-column h2 { margin-bottom: 23px; color: #fff; font-size: 1rem; letter-spacing: .04em; }
.footer-menu li + li { margin-top: 10px; }
.footer-menu a { color: rgba(255,255,255,.62); font-size: .84rem; transition: color .2s; }
.footer-menu a:hover { color: #fff; }
.footer-contact p { display: grid; grid-template-columns: 24px 1fr; gap: 10px; margin-bottom: 15px; color: rgba(255,255,255,.68); font-size: .83rem; line-height: 1.45; }
.footer-contact p span { color: #fff; }
.footer-contact p a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom .uch-container { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: rgba(255,255,255,.48); font-size: .74rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a:hover { color: #fff; }
.back-to-top { position: fixed; z-index: 900; right: 20px; bottom: 20px; width: 45px; height: 45px; display: grid; place-items: center; color: #fff; background: var(--uch-accent); border-radius: 50%; box-shadow: 0 10px 25px rgba(230,43,74,.3); opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .25s, transform .25s; }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* Interiores */
.inner-hero { position: relative; min-height: 330px; display: flex; align-items: end; padding: 110px 0 70px; color: #fff; background: linear-gradient(135deg, var(--uch-primary-deep), var(--uch-primary)); overflow: hidden; }
.inner-hero::after { content: ""; position: absolute; right: -80px; bottom: -230px; width: 520px; height: 520px; border: 95px solid rgba(255,255,255,.07); border-radius: 50%; }
.inner-hero-media { position: absolute; inset: 0; }
.inner-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.inner-hero.has-image::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(12,26,62,.92), rgba(12,26,62,.3)); }
.inner-hero .uch-container, .inner-hero-content { position: relative; z-index: 2; }
.inner-hero h1 { margin: 0; color: #fff; font-size: clamp(2.4rem, 5vw, 4.8rem); }
.inner-hero .archive-description { max-width: 700px; margin-top: 16px; color: rgba(255,255,255,.78); }
.content-section { background: #fff; }
.entry-content { color: #37415a; font-size: 1.05rem; }
.entry-content > * { margin-block: 0 1.45em; }
.entry-content h2, .entry-content h3, .entry-content h4 { margin-top: 1.8em; color: var(--uch-primary); }
.entry-content h2 { font-size: 2.1rem; }
.entry-content h3 { font-size: 1.55rem; }
.entry-content a { color: var(--uch-accent); text-decoration: underline; text-underline-offset: 3px; }
.entry-content img { border-radius: 12px; }
.entry-content blockquote { margin-inline: 0; padding: 25px 30px; color: var(--uch-primary); background: var(--uch-primary-soft); border-left: 5px solid var(--uch-accent); font-family: Georgia,serif; font-size: 1.2rem; }
.entry-content .wp-block-button__link { color: #fff; background: var(--uch-accent); text-decoration: none; }
.archive-section { background: var(--uch-bg); }
.archive-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 25px; }
.archive-card { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 14px 42px rgba(32,54,109,.08); }
.archive-card-image { display: block; height: 240px; overflow: hidden; }
.archive-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.archive-card:hover .archive-card-image img { transform: scale(1.05); }
.archive-card-copy { padding: 25px; }
.archive-card-copy h2 { margin-bottom: 14px; color: var(--uch-primary); font-size: 1.35rem; }
.archive-card-excerpt { color: var(--uch-muted); font-size: .9rem; }
.navigation.pagination { margin-top: 50px; }
.nav-links { display: flex; justify-content: center; gap: 8px; }
.page-numbers { min-width: 40px; height: 40px; display: grid; place-items: center; padding: 0 10px; color: var(--uch-primary); background: #fff; border-radius: 8px; }
.page-numbers.current { color: #fff; background: var(--uch-primary); }
.article-header { padding: 90px 0 55px; background: var(--uch-primary-soft); }
.article-header h1 { margin-bottom: 25px; color: var(--uch-primary); font-size: clamp(2.25rem, 4.7vw, 4.6rem); }
.article-meta { display: flex; gap: 20px; color: var(--uch-muted); font-size: .78rem; font-weight: 700; text-transform: uppercase; }
.article-meta a { color: var(--uch-accent); }
.article-featured { margin-top: 50px; }
.article-featured img { width: 100%; max-height: 680px; object-fit: cover; border-radius: 18px; box-shadow: var(--uch-shadow); }
.single-article .section { padding-top: 65px; }
.post-navigation-wrap { padding-bottom: 70px; }
.post-navigation .nav-links { justify-content: space-between; border-top: 1px solid var(--uch-line); padding-top: 28px; }
.post-navigation a { color: var(--uch-primary); font-weight: 700; }
.comments-area { padding-top: 0; }
.comment-list { padding-left: 24px; }
.comment-body { margin-bottom: 25px; padding: 22px; background: var(--uch-bg); border-radius: 10px; }
.comment-form input:not([type="submit"]), .comment-form textarea { width: 100%; padding: 12px; border: 1px solid var(--uch-line); border-radius: 7px; }
.comment-form .submit { padding: 12px 22px; color: #fff; background: var(--uch-accent); border: 0; border-radius: 999px; font-weight: 700; }
.empty-state, .error-page { text-align: center; }
.empty-state { padding: 55px; background: #fff; border-radius: 16px; }
.error-page { min-height: 70vh; display: grid; place-items: center; padding: 90px 0; background: var(--uch-primary-soft); }
.error-code { margin: 0; color: var(--uch-accent); font-size: clamp(6rem, 16vw, 12rem); font-weight: 900; line-height: .8; }
.error-page h1 { margin-top: 35px; color: var(--uch-primary); font-size: clamp(2rem, 4vw, 3.6rem); }
.error-page .search-form { margin-block: 35px; }

/* Animación discreta */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--uch-ease), transform .7s var(--uch-ease); }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1180px) {
  .uch-container { width: min(calc(100% - 36px), var(--uch-container)); }
  .site-branding { flex-basis: 188px; }
  .site-branding img { max-width: 188px; }
  .primary-menu > li > a { padding-inline: 7px; font-size: .68rem; }
  .header-apply { display: none; }
  .application-grid { grid-template-columns: .8fr 1.2fr; gap: 45px; }
  .faculty-explorer { grid-template-columns: 270px minmax(0,1fr); }
  .faculty-panel { grid-template-columns: 43% 57%; }
  .explore-card { min-height: 460px; }
  .footer-grid { grid-template-columns: 1.2fr .8fr .9fr 1.1fr; gap: 35px; }
}

@media (max-width: 960px) {
  .admin-bar .site-header { top: 46px; }
  .site-topbar { display: none; }
  .header-inner { min-height: 74px; }
  .site-branding { flex: 1; }
  .menu-toggle { display: inline-grid; order: 3; }
  .header-actions { margin-left: auto; }
  .primary-nav {
    visibility: hidden; opacity: 0; position: fixed; z-index: 999; inset: 74px 0 0;
    padding: 20px 18px 70px; overflow-y: auto; background: #fff; transform: translateX(100%);
    transition: opacity .3s, visibility .3s, transform .35s var(--uch-ease);
  }
  .admin-bar .primary-nav { top: 120px; }
  .primary-nav.is-open { visibility: visible; opacity: 1; transform: translateX(0); }
  .primary-menu { height: auto; display: block; }
  .primary-menu > li { display: block; border-bottom: 1px solid var(--uch-line); }
  .primary-menu > li > a { display: block; padding: 16px 5px; font-size: .95rem; text-align: left; }
  .primary-menu > li > a::after { display: none; }
  .primary-menu .menu-item-has-children > a::before { right: 10px; }
  .primary-menu .sub-menu { visibility: visible; opacity: 1; position: static; width: auto; max-height: none; display: none; padding: 0 0 12px 15px; border: 0; box-shadow: none; transform: none; }
  .primary-menu .menu-item-has-children.submenu-open > .sub-menu { display: block; }
  .hero { height: 690px; min-height: 0; }
  .hero-copy { max-width: 70%; }
  .hero-scroll { display: none; }
  .application-grid { grid-template-columns: 1fr; }
  .application-intro { max-width: 700px; }
  .faculty-explorer { grid-template-columns: 1fr; }
  .faculty-tabs { display: flex; overflow-x: auto; padding: 0; }
  .faculty-tabs button { min-width: 220px; padding: 17px; }
  .faculty-tabs button::after { top: auto; left: 0; width: auto; height: 4px; transform: scaleX(0); }
  .faculty-tabs button[aria-selected="true"]::after { transform: scaleX(1); }
  .faculty-panel { min-height: 540px; grid-template-columns: 43% 57%; }
  .faculty-image { min-height: 540px; }
  .explore-grid { grid-template-columns: repeat(2,1fr); gap: 20px; }
  .explore-card { min-height: 500px; }
  .explore-card:nth-child(even) { transform: translateY(0); }
  .news-grid, .archive-grid { grid-template-columns: repeat(2,1fr); }
  .video-layout { grid-template-columns: 320px minmax(0,1fr); min-height: 500px; }
  .video-list { max-height: 500px; }
  .testimonials-layout { grid-template-columns: 1fr; gap: 40px; }
  .testimonial-heading { max-width: 700px; }
  .testimonial-stage { min-height: 390px; }
  .achievements-grid { grid-template-columns: repeat(2,1fr); }
  .achievement-card:nth-child(2) { border-right: 0; }
  .achievement-card:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.22); }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 680px) {
  .uch-container, .content-narrow { width: min(calc(100% - 28px), var(--uch-container)); }
  .section { padding-block: 72px; }
  .site-branding img { max-width: 180px; }
  .search-toggle { display: none; }
  .hero { height: 620px; }
  .hero-overlay { background: linear-gradient(0deg, rgba(10,24,56,.92), rgba(10,24,56,.22)), linear-gradient(90deg, rgba(10,24,56,.58), transparent); }
  .hero-content { align-items: flex-end; padding-bottom: 125px; }
  .hero-copy { max-width: 100%; }
  .hero-copy h1 { font-size: clamp(2.25rem, 11vw, 3.6rem); }
  .hero-copy > p:not(.eyebrow) { font-size: 1rem; }
  .hero-controls { bottom: 39px; }
  .hero-controls .carousel-count { display: none; }
  .application-form .form-grid { grid-template-columns: 1fr; }
  .form-span { grid-column: auto; }
  .application-card { padding: 22px 18px; }
  .section-heading-row { display: block; }
  .section-heading-row > .text-link { margin: -20px 0 46px; }
  .faculty-panel { display: block; min-height: 0; }
  .faculty-image { min-height: 290px; height: 290px; }
  .faculty-copy { padding: 35px 24px 42px; }
  .faculty-number { font-size: 4rem; }
  .faculty-mark { width: 52px; height: 52px; }
  .explore-grid { grid-template-columns: 1fr; }
  .explore-card { min-height: 420px; }
  .news-grid, .archive-grid { grid-template-columns: 1fr; }
  .news-image, .archive-card-image { height: 230px; }
  .video-layout { display: flex; flex-direction: column-reverse; }
  .video-player { padding: 12px; }
  .video-frame { height: auto; }
  .video-list { max-height: 390px; }
  .testimonial-stage { min-height: 545px; }
  .testimonial-card { display: block; }
  .testimonial-photo { height: 210px; }
  .testimonial-copy { padding: 26px; }
  .achievements-grid { grid-template-columns: 1fr; }
  .achievement-card { min-height: 270px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.22); }
  .achievement-card:last-child { border-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr; padding-block: 60px; }
  .footer-bottom .uch-container { padding-block: 18px; flex-direction: column; align-items: flex-start; justify-content: center; }
  .inner-hero { min-height: 280px; padding: 90px 0 55px; }
  .article-header { padding: 65px 0 40px; }
  .article-meta { flex-direction: column; gap: 5px; }
  .article-featured { width: 100%; margin-top: 0; }
  .article-featured img { border-radius: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
