:root {
  --blue: #003da5;
  --yellow: #ffc72c;
  --navy: #071c3b;
  --ink: #142033;
  --muted: #526176;
  --paper: #f5f7fa;
  --white: #fff;
  --line: #d7deea;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Trebuchet MS', 'Segoe UI', sans-serif;
  --space: clamp(1.25rem, 3vw, 3rem);
  --frame-line: 2px solid var(--navy);
  --frame-mat: 4px;
  --frame-shadow: 0 4px 10px rgba(7,28,59,.1);
  --control-shadow: 4px 4px 0 var(--blue);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.6; overflow-x: hidden; }
body.menu-open { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }
.skip-link { position: fixed; top: .5rem; left: .5rem; z-index: 20; padding: .7rem 1rem; color: var(--navy); background: var(--yellow); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.container { width: min(1180px, calc(100% - 2 * var(--space))); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 10; color: var(--white); background: var(--navy); border-bottom: 1px solid rgba(255,255,255,.16); }
.header-inner { min-height: 76px; display: flex; align-items: center; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .8rem; min-width: 250px; text-decoration: none; }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.brand strong { max-width: 185px; font-size: .88rem; line-height: 1.1; letter-spacing: .04em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: clamp(.7rem, 1.7vw, 1.4rem); margin-left: auto; }
.site-nav a { padding: .8rem 0; color: #eef4ff; font-size: .83rem; font-weight: 700; text-decoration: none; }
.site-nav a:hover { color: var(--yellow); }
.admission-link, .button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 52px; padding: .8rem 1.15rem; border: 2px solid var(--navy); font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none; box-shadow: var(--control-shadow); transition: background-color .2s, color .2s, box-shadow .2s, transform .2s; }
.admission-link, .button-primary { color: var(--navy) !important; background-color: var(--yellow); background-image: linear-gradient(135deg, #ffe071 0 11px, transparent 11px); }
.button-outline { color: var(--white); background-color: var(--blue); background-image: linear-gradient(135deg, var(--yellow) 0 9px, transparent 9px); border-color: var(--yellow); box-shadow: 4px 4px 0 rgba(255,255,255,.9); }
.admission-link:hover, .button:hover { transform: translateY(-2px); }
.admission-link:hover, .button-primary:hover { color: var(--navy) !important; background-color: #ffe071; box-shadow: 4px 6px 0 var(--blue); }
.button-outline:hover { color: var(--white); background-color: #0b4b9b; box-shadow: 4px 6px 0 var(--yellow); }
.admission-link:active, .button:active { transform: translateY(1px); box-shadow: 2px 2px 0 var(--blue); }
.button-outline:active { box-shadow: 2px 2px 0 var(--yellow); }
.admission-link:focus-visible, .button:focus-visible { outline: 0; box-shadow: 0 0 0 3px var(--white), 0 0 0 6px var(--navy); }
.site-nav .admission-link { padding: .8rem 1.15rem; }
.menu-toggle { display: none; margin-left: auto; padding: .6rem; color: var(--white); background: transparent; border: 1px solid rgba(255,255,255,.5); cursor: pointer; }
.menu-toggle svg { width: 25px; height: 25px; }
.hero { position: relative; min-height: min(780px, calc(100vh - 76px)); display: flex; align-items: end; color: var(--white); background: var(--navy); isolation: isolate; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(7,28,59,.96) 0%, rgba(7,28,59,.68) 43%, rgba(7,28,59,.12) 100%), url('../imagenes/portada-grupo-completo.jpeg') center 38% / cover; }
.hero-content { width: min(1180px, calc(100% - 2 * var(--space))); margin: 0 auto; padding-block: clamp(4rem, 11vh, 8rem) clamp(3rem, 8vh, 6rem); }
.eyebrow { margin: 0 0 1rem; color: var(--yellow); font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hero h1 { max-width: 850px; margin: 0; font-family: var(--serif); font-size: clamp(3.2rem, 8vw, 7.5rem); line-height: .92; letter-spacing: 0; }
.hero-lede { max-width: 650px; margin: 2rem 0; color: #f2f5fb; font-size: clamp(1rem, 1.6vw, 1.25rem); }
.hero-actions, .button-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.button-primary { color: var(--navy); }
.section { padding-block: clamp(4.5rem, 9vw, 8rem); }
.section-light { background: var(--paper); }
#identidad { overflow-x: hidden; }
.section-white { background: var(--white); }
.section-blue { color: var(--white); background: var(--blue); }
.section-label { display: block; margin-bottom: 1rem; color: var(--blue); font-size: .76rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.section-blue .section-label { color: var(--yellow); }
.section-title { max-width: 760px; margin: 0 0 2rem; font-family: var(--serif); font-size: clamp(2.5rem, 5vw, 5rem); line-height: .98; }
.identity-wrap { width: min(1180px, calc(100vw - 2 * var(--space))); }
.intro-grid { width: 100%; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
.intro-copy { max-width: 540px; }
.intro-grid > :last-child { align-self: center; }
.intro-copy p { color: var(--muted); font-size: 1.08rem; }
.editorial-photo { overflow: hidden; }
.editorial-photo img { width: 100%; height: 100%; object-fit: cover; }
.identity-photo { aspect-ratio: 1.18; margin-top: .5rem; padding: var(--frame-mat); background: var(--white); border: var(--frame-line); box-shadow: 8px 8px 0 var(--yellow), var(--frame-shadow); }
.identity-side { margin-top: clamp(3.5rem, 6vw, 5.5rem); }
.identity-side h3 { margin: 0; padding-bottom: .9rem; color: var(--blue); font-size: 1rem; letter-spacing: .1em; text-transform: uppercase; border-bottom: 1px solid var(--line); }
.identity-side p { max-width: none; margin: 0; padding-top: .9rem; font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 2rem); line-height: 1.25; }
.intro-grid > .intro-copy .section-title { max-width: 540px; font-size: clamp(2.5rem, 3.8vw, 3.8rem); }
.intro-copy > .source-link { margin-top: .5rem; }
.source-link { display: inline-block; margin-top: 1rem; color: var(--blue); font-size: .86rem; font-weight: 700; }
.declarations { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 7vw, 7rem); align-items: start; }
.purpose { padding-left: 1.4rem; border-left: 5px solid var(--yellow); }
.purpose p { margin: 0; font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.7rem); line-height: 1.13; }
.declaration { padding-block: 1.4rem; border-top: 1px solid rgba(255,255,255,.35); }
.declaration h3 { margin: 0 0 .7rem; color: var(--yellow); font-size: .8rem; letter-spacing: .13em; text-transform: uppercase; }
.declaration p { margin: 0; color: #e9eff9; }
.relation { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.35); }
.relation ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 2.5rem; padding: 0; margin: 0; list-style: none; color: #eef4ff; }
.relation li { display: flex; align-items: flex-start; gap: .7rem; min-width: 0; }
.relation li::before { content: ''; flex: 0 0 .45rem; width: .45rem; height: .45rem; margin-top: .55rem; background: var(--yellow); border-radius: 50%; }
.formation-wrap { width: min(1180px, calc(100vw - 2 * var(--space))); }
.formation-title { max-width: none; margin-bottom: clamp(2.5rem, 5vw, 4rem); font-size: clamp(2.8rem, 5vw, 5rem); }
.formation-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
.formation-lead p { color: var(--muted); font-size: 1.08rem; }
.subject-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.subject-list li { display: flex; align-items: baseline; gap: .8rem; padding: .95rem 0; border-bottom: 1px solid var(--line); }
.subject-list li::before { content: ''; flex: 0 0 .45rem; width: .45rem; height: .45rem; margin-top: .2rem; background: var(--yellow); border-radius: 50%; }
.subject-list strong { font-family: var(--serif); font-size: clamp(1.2rem, 1.8vw, 1.75rem); font-weight: 400; }
.lab-note { margin-top: 2.5rem; padding: 1.2rem 1.4rem; background: #eaf0fb; border-left: 4px solid var(--blue); }
.lab-note p { margin: 0; font-size: .92rem; }
.experience-intro { display: grid; grid-template-columns: 1fr .8fr; gap: 3rem; align-items: end; margin-bottom: 3rem; }
.experience-intro p { max-width: 560px; margin: 0; font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 2.4rem); line-height: 1.16; }
.experience-intro small { color: var(--muted); }
.feature-band { display: grid; grid-template-columns: 1fr 1fr; min-height: 430px; }
.feature-band img { width: 100%; height: 100%; object-fit: cover; }
.feature-text { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 6vw, 5rem); color: var(--white); background: var(--navy); }
.feature-text h3 { margin: 0 0 1rem; color: var(--yellow); font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1; }
.feature-text p { margin: 0; color: #e4ebf6; }
.sub-experience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1rem; }
.sub-experience figure { margin: 0; }
.sub-experience img { width: 100%; aspect-ratio: 1.25; object-fit: cover; }
.sub-experience figcaption { padding-top: .65rem; color: var(--muted); font-size: .8rem; }
.experience-photos-wrapper { max-width: 900px; margin-left: auto; margin-right: auto; margin-top: 3rem; }
.experience-photos { display: grid; grid-template-columns: 1.65fr 1fr; align-items: start; gap: 2.4rem; }
.experience-column { display: flex; flex-direction: column; gap: 2.8rem; }
.experience-column-right { align-self: center; }
.photo-frame { --frame-ratio: 1; --plate-x: 10px; --plate-y: 10px; position: relative; isolation: isolate; margin: 0; }
.photo-frame::before { content: ''; position: absolute; top: 0; left: 0; z-index: -1; width: 100%; aspect-ratio: var(--frame-ratio); background: var(--yellow); box-shadow: 0 5px 12px rgba(7,28,59,.1); transform: translate(var(--plate-x), var(--plate-y)); pointer-events: none; }
.photo-frame img { position: relative; z-index: 1; width: 100%; height: 100%; display: block; box-sizing: border-box; object-fit: cover; background: var(--white); border: var(--frame-mat) solid var(--white); outline: var(--frame-line); box-shadow: inset 0 0 0 2px var(--blue), var(--frame-shadow); }
.photo-frame figcaption { padding-top: .75rem; color: var(--muted); font-size: .8rem; line-height: 1.4; }
.photo-frame-1 { --frame-ratio: 1.11; --plate-x: -10px; --plate-y: -10px; }
.photo-frame-1 img { aspect-ratio: 1.11; }
.photo-frame-2 { --frame-ratio: 1; --plate-x: 10px; --plate-y: 10px; }
.photo-frame-2 img { aspect-ratio: 1; }
.photo-frame-3 { --frame-ratio: 1.57; --plate-x: 10px; --plate-y: -10px; }
.photo-frame-3 img { aspect-ratio: 1.57; }
.photo-frame-4 { --frame-ratio: 1.1; --plate-x: -10px; --plate-y: 10px; }
.photo-frame-4 img { aspect-ratio: 1.1; }
.gallery-wrap { position: relative; }
.gallery-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: repeat(2, clamp(220px, 25vw, 340px)); gap: clamp(12px, 1.2vw, 16px); }
.gallery-item { position: relative; min-width: 0; margin: 0; overflow: hidden; background: var(--white); border: var(--frame-line); box-shadow: var(--frame-shadow); }
.gallery-item:nth-child(1) { grid-column: span 5; }
.gallery-item:nth-child(2) { grid-column: span 3; }
.gallery-item:nth-child(3) { grid-column: span 4; }
.gallery-item:nth-child(4) { grid-column: span 3; }
.gallery-item:nth-child(5) { grid-column: span 4; }
.gallery-item:nth-child(6) { grid-column: span 5; }
.gallery-open { display: block; width: 100%; height: 100%; padding: 3px; overflow: hidden; background: var(--white); border: 0; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; display: block; object-fit: cover; }
.gallery-item:nth-child(1) img { object-position: center 42%; }
.gallery-item:nth-child(2) img { object-position: center 40%; }
.gallery-item:nth-child(3) img { object-position: center 48%; }
.gallery-item:nth-child(4) img { object-position: center 45%; }
.gallery-item:nth-child(5) img { object-position: center 42%; }
.gallery-item:nth-child(6) img { object-position: center 50%; }
.gallery-item figcaption { position: absolute; bottom: 14px; left: 14px; z-index: 2; max-width: 85%; padding: .45rem .65rem; color: var(--navy); background: var(--yellow); border: 1px solid var(--navy); box-shadow: 4px 4px 0 var(--navy); font-size: .8rem; font-weight: 700; line-height: 1.3; pointer-events: none; }
.gallery-item:nth-child(even) figcaption { background: var(--white); box-shadow: 4px 4px 0 var(--yellow); }
.icon-button { width: 48px; height: 48px; display: inline-grid; place-items: center; color: var(--white); background: transparent; border: 1px solid rgba(255,255,255,.55); cursor: pointer; }
.icon-button:hover { color: var(--navy); background: var(--yellow); }
#logros { padding-block: clamp(3.75rem, 7vw, 6rem); }
#logros .section-title { max-width: 880px; margin-bottom: clamp(2rem, 4vw, 3rem); font-size: clamp(2.5rem, 4.5vw, 4.5rem); line-height: .94; }
.achievements { position: relative; max-width: 920px; margin: 0 auto; }
.achievements::before { content: ''; position: absolute; top: .35rem; bottom: .35rem; left: 108px; width: 1px; background: var(--line); }
.achievement { display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 1.4rem; padding: 0 0 2.35rem; }
.achievement:last-child { padding-bottom: 0; }
.achievement-year { color: var(--blue); font-family: var(--serif); font-size: clamp(1.5rem, 2.2vw, 1.8rem); line-height: 1.2; }
.achievement-body { position: relative; padding-left: 1rem; }
.achievement-body::before { content: ''; position: absolute; top: .55rem; left: -.02rem; width: 11px; height: 11px; background: var(--yellow); border: 3px solid var(--paper); border-radius: 50%; }
.achievement h3 { margin: 0 0 .5rem; font-size: 1.35rem; }
.achievement p { margin: 0 0 .75rem; color: var(--muted); }
.achievement a { color: var(--blue); font-size: .87rem; font-weight: 700; }
.admission-section { color: var(--white); background: var(--navy); }
.admission-head { display: grid; grid-template-columns: 1fr .8fr; gap: 3rem; align-items: end; }
.admission-head .section-title { margin-bottom: 0; }
.admission-head p { margin: 0; color: #dce7f6; }
.admission-content { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); margin-top: 4rem; }
.admission-panel { border-top: 1px solid rgba(255,255,255,.35); }
.admission-panel h3 { margin: 1.2rem 0 .8rem; color: var(--yellow); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }
.admission-panel ul, .admission-panel ol { padding-left: 1.3rem; margin-top: 0; color: #ecf1f8; }
.admission-panel li { margin: .35rem 0; }
.weights { display: flex; gap: 2rem; padding-block: 1.2rem; border-block: 1px solid rgba(255,255,255,.35); }
.weight strong { display: block; color: var(--yellow); font-family: var(--serif); font-size: 2.4rem; line-height: 1; }
.weight span { font-size: .8rem; }
.dates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 1rem; padding: 0 6px 6px; }
.date { position: relative; min-height: 118px; padding: 1.15rem; color: var(--navy); background: #f4f7fb; border: 2px solid var(--blue); box-shadow: 6px 6px 0 var(--yellow); }
.date:nth-child(even) { box-shadow: -6px 6px 0 var(--yellow); }
.date::after { content: ''; position: absolute; top: 0; left: 0; width: 13px; height: 13px; background: var(--yellow); border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); pointer-events: none; }
.date:nth-child(even)::after { top: auto; right: 0; bottom: 0; left: auto; border: 0; border-top: 2px solid var(--blue); border-left: 2px solid var(--blue); }
.date strong { display: block; font-size: 1.15rem; }
.date span { font-size: .83rem; }
.document-list { columns: 2; padding-left: 1.2rem; }
.admission-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; width: 100%; margin-top: 3rem; padding: 0 5px 5px 0; }
.admission-actions .button { width: 100%; }
.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 7vw, 7rem); align-items: stretch; }
.contact-copy { display: flex; flex-direction: column; justify-content: center; }
.contact-copy .section-title { margin-bottom: 1.5rem; }
.contact-list { padding: 0; margin: 0; list-style: none; border-top: 1px solid var(--line); }
.contact-list li { padding: .9rem 0; border-bottom: 1px solid var(--line); }
.contact-list strong { display: block; color: var(--blue); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.contact-list a { color: var(--ink); font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.map-frame { position: relative; isolation: isolate; min-height: 480px; padding: var(--frame-mat); background: var(--white); border: var(--frame-line); box-shadow: var(--frame-shadow); }
.map-frame::before { content: ''; position: absolute; inset: 10px -10px -10px 10px; z-index: -2; background: var(--yellow); pointer-events: none; }
.map-frame::after { content: ''; position: absolute; top: -7px; left: -7px; z-index: -1; width: 20px; height: 20px; background: var(--blue); pointer-events: none; }
.map-frame iframe { position: relative; z-index: 1; display: block; width: 100%; height: 100%; min-height: 468px; border: 0; }
.footer { color: var(--white); background: var(--navy); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding-block: 3rem; }
.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-brand img { width: 58px; height: 58px; object-fit: contain; }
.footer-brand strong { max-width: 220px; line-height: 1.15; }
.footer p, .footer a { color: #ccd8e9; font-size: .86rem; }
.footer nav { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem 1rem; }
.footer nav a, .socials a { text-decoration: none; }
.footer nav a:hover, .socials a:hover { color: var(--yellow); }
.socials { display: flex; flex-direction: column; gap: .35rem; }
.footer-bottom { padding-block: 1rem; border-top: 1px solid rgba(255,255,255,.2); color: #aebbd0; font-size: .76rem; }
.lightbox { position: fixed; inset: 0; z-index: 30; display: none; place-items: center; padding: 2rem; background: rgba(7,28,59,.94); }
.lightbox.is-open { display: grid; }
.lightbox figure { display: grid; place-items: center; max-width: 90vw; margin: 0; }
.lightbox img { width: auto; height: auto; max-width: 90vw; max-height: 85vh; display: block; aspect-ratio: auto; object-fit: contain; object-position: center; }
.lightbox figcaption { margin-top: .7rem; color: var(--white); text-align: center; }
.lightbox .icon-button { position: absolute; }
.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-prev { left: 1rem; top: 50%; }
.lightbox-next { right: 1rem; top: 50%; }
@media (max-width: 980px) {
  .site-nav { gap: .75rem; }
  .site-nav a { font-size: .76rem; }
  .intro-grid, .declarations, .formation-grid, .contact-layout { gap: 2.5rem; }
}
@media (max-width: 800px) {
  .header-inner { min-height: 68px; }
  .brand { min-width: 0; }
  .brand img { width: 42px; height: 42px; }
  .brand strong { max-width: 150px; font-size: .75rem; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .site-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: .8rem var(--space) 1.4rem; background: var(--navy); border-top: 1px solid rgba(255,255,255,.2); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: .85rem 0; font-size: .9rem; border-bottom: 1px solid rgba(255,255,255,.12); }
  .site-nav .admission-link { margin-top: .8rem; text-align: center; }
  .hero { min-height: 680px; }
  .hero::before { background: linear-gradient(0deg, rgba(7,28,59,.96) 0%, rgba(7,28,59,.56) 60%, rgba(7,28,59,.2) 100%), url('../imagenes/portada-grupo-completo.jpeg') 52% center / cover; }
  .intro-grid, .declarations, .formation-grid, .experience-intro, .admission-head, .admission-content, .contact-layout { grid-template-columns: 1fr; }
  .formation-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  #identidad .intro-grid { grid-template-columns: minmax(0, 1fr); }
  #identidad .intro-grid > * { min-width: 0; }
  #identidad .intro-grid > :last-child { align-self: auto; }
  .identity-side { margin-top: 3rem; }
  .relation ul { grid-template-columns: 1fr; }
  .identity-photo { margin-top: 0; }
  .feature-band { grid-template-columns: 1fr; }
  .feature-band img { min-height: 300px; }
  .experience-photos { grid-template-columns: 1fr 1fr; gap: 1.2rem; }
  .experience-column { gap: 2rem; }
  .experience-column-right { align-self: center; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(3, clamp(210px, 38vw, 300px)); gap: 14px; }
  .gallery-item:nth-child(n) { grid-column: span 1; }
  .sub-experience { grid-template-columns: 1fr 1fr; }
  .admission-head p { max-width: 560px; }
  .document-list { columns: 1; }
  .map-frame { min-height: 360px; }
  .map-frame iframe { min-height: 348px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  :root { --space: 1rem; }
  .brand strong { max-width: 125px; }
  .hero h1 { font-size: clamp(2.8rem, 14vw, 4.2rem); }
  .hero-actions, .button-row, .admission-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .hero::before { background-position: 58% center; }
  .dates { grid-template-columns: 1fr; }
  .admission-actions { grid-template-columns: 1fr; }
  .weights { gap: 1rem; }
  .experience-photos { grid-template-columns: 1fr; gap: 1rem; }
  .experience-column { gap: 1.5rem; }
  .experience-column-right { align-self: stretch; }
  .photo-frame { --plate-x: 5px; --plate-y: 5px; }
  .photo-frame-1, .photo-frame-4 { --plate-x: -5px; }
  .photo-frame-1, .photo-frame-3 { --plate-y: -5px; }
  .identity-photo { box-shadow: 5px 5px 0 var(--yellow), var(--frame-shadow); }
  .map-frame::before { inset: 5px -5px -5px 5px; }
  .map-frame::after { top: -4px; left: -4px; width: 14px; height: 14px; }
  .gallery-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-auto-rows: auto; gap: 12px; }
  .gallery-open { aspect-ratio: 4 / 3; }
  .gallery-item figcaption { bottom: 10px; left: 10px; padding: .38rem .55rem; font-size: .74rem; box-shadow: 3px 3px 0 var(--navy); }
  .gallery-item:nth-child(even) figcaption { box-shadow: 3px 3px 0 var(--yellow); }
  .sub-experience { grid-template-columns: 1fr; }
  #logros { padding-block: 3.5rem; }
  #logros .section-title { margin-bottom: 2rem; font-size: clamp(2.15rem, 11vw, 3rem); line-height: .96; }
  .achievement { grid-template-columns: 60px minmax(0, 1fr); gap: .7rem; padding-bottom: 2rem; }
  .achievement-year { font-size: 1.35rem; }
  .achievements::before { left: 60px; }
  .achievement-body { padding-left: .85rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > :first-child { grid-column: auto; }
  .lightbox { padding: 1rem; }
  .lightbox figure { max-width: 94vw; }
  .lightbox img { max-width: 94vw; max-height: 80dvh; }
  .lightbox-prev { left: .5rem; }
  .lightbox-next { right: .5rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .admission-link:hover, .admission-link:active, .button:hover, .button:active { transform: none; }
}
