:root { color-scheme: light; --ink: #092b48; --blue: #1167a2; --line: #d7e2e7; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--site-header-height, 86px); }
body { margin: 0; color: var(--ink); font-family: 'DM Sans', sans-serif; }
a { color: inherit; }
.skip-link { position: absolute; top: -70px; left: 12px; z-index: 30; padding: 12px 16px; background: white; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 86px; padding: 12px clamp(24px, 5vw, 84px); background: rgba(255, 255, 255, .72); border-bottom: 1px solid var(--line); box-shadow: 0 8px 20px rgba(0, 24, 42, .12); }
.brand { display: inline-flex; align-items: center; min-width: 0; text-decoration: none; }
.brand img { display: block; width: clamp(210px, 21vw, 295px); height: auto; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(14px, 2.3vw, 34px); }
.site-nav a { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; transition: color .2s ease; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--blue); text-decoration: underline; text-underline-offset: 5px; }
.nav-dropdown { position: relative; }
.nav-dropdown > button { appearance: none; padding: 0; border: 0; background: transparent; color: inherit; font: 700 .78rem 'DM Sans', sans-serif; letter-spacing: .1em; text-transform: uppercase; cursor: default; }
.nav-dropdown > button:hover, .nav-dropdown > button:focus-visible { color: var(--blue); text-decoration: underline; text-underline-offset: 5px; }
.nav-dropdown.is-current > button { color: var(--blue); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 7px; }
.nav-dropdown::before { content: ''; position: absolute; top: 100%; right: 0; width: 100%; height: 10px; }
.nav-submenu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 30; display: none; min-width: 205px; padding: 8px; background: rgba(255, 255, 255, .96); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 14px 34px rgba(0, 24, 42, .18); }
.nav-dropdown:hover .nav-submenu, .nav-dropdown:focus-within .nav-submenu { display: grid; }
.nav-submenu a { padding: 10px 12px; border-radius: 6px; white-space: nowrap; }
.nav-submenu a:hover, .nav-submenu a:focus-visible { background: rgba(17, 103, 162, .1); }
.students-page { position: relative; isolation: isolate; min-height: calc(100svh - 86px); padding: clamp(40px, 5vw, 76px) clamp(24px, 6vw, 96px) 110px; overflow: hidden; background: #092b48; }
.students-page::before { content: ''; position: absolute; z-index: -2; inset: 0; background: url('Fondo%205-fotor-ppt.png') center / cover no-repeat; }
.students-page::after { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(135deg, rgba(5, 31, 54, .94), rgba(6, 38, 62, .82) 55%, rgba(8, 47, 69, .78)); }
.page-inner { max-width: 1200px; margin: 0 auto; }
.level-navigation { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); margin: 0 0 clamp(42px, 5vw, 62px); }
.level-link { display: flex; align-items: baseline; gap: 18px; padding-bottom: 14px; border-bottom: 1px solid rgba(215, 226, 231, .35); color: white; text-decoration: none; transition: border-color .2s ease, transform .2s ease; }
.level-link:hover, .level-link:focus-visible, .level-link[aria-current="page"] { border-color: #b8e5cb; }
.level-link:hover, .level-link:focus-visible { transform: translateY(-2px); }
.level-link:focus-visible { outline: 2px solid #b8e5cb; outline-offset: 8px; }
.level-number { color: #b8e5cb; font-size: .72rem; font-weight: 700; letter-spacing: .16em; }
.level-name { font-family: Manrope, sans-serif; font-size: clamp(1.45rem, 2.6vw, 2.2rem); font-weight: 700; letter-spacing: -.035em; }
.eyebrow { margin: 0 0 18px; color: #b8e5cb; font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.eyebrow a:hover, .eyebrow a:focus-visible { color: white; }
h1 { margin: 0; color: white; font-family: Manrope, sans-serif; font-size: clamp(2.2rem, 5vw, 4.8rem); font-weight: 700; letter-spacing: -.055em; line-height: 1.02; }
.intro { max-width: 700px; margin: 24px 0 0; color: #e4eff1; font-size: clamp(1rem, 1.3vw, 1.2rem); line-height: 1.7; }
.student-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; margin-top: clamp(46px, 6vw, 72px); }
.student-grid--grouped { display: grid; gap: 30px; }
.student-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; }
.student-grid--centered { justify-content: center; }
.student-card { width: 256px; }
.student-card img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 24%; background: #cbd8de; box-shadow: 0 16px 40px rgba(0, 12, 24, .22); }
.student-card h2 { min-height: 72px; margin: 0; padding-top: 18px; color: #f0f8f8; font-family: Manrope, sans-serif; font-size: 1.04rem; font-weight: 700; line-height: 1.35; text-align: center; }
.student-card h2 span { display: block; }
.back-link { display: inline-block; margin-top: clamp(46px, 6vw, 72px); color: #b8e5cb; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-underline-offset: 5px; text-transform: uppercase; }
.back-link:hover, .back-link:focus-visible { color: white; }
@media (max-width: 900px) {
  .site-header { align-items: flex-start; flex-direction: column; gap: 18px; padding-block: 16px; }
  .brand img { width: 230px; }
  .site-nav { gap: 18px; }
  .site-nav a, .nav-dropdown > button { font-size: .68rem; }
  .level-navigation { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 580px) {
  .students-page { padding-bottom: 80px; }
  .student-grid { justify-content: center; }
  .student-card { width: min(100%, 320px); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
