:root {
  --blue: #00539b;
  --blue-dark: #003f78;
  --cyan: #00a7d8;
  --ink: #133348;
  --muted: #61798b;
  --line: #d7e2ea;
  --paper: #ffffff;
  --soft: #eef4f8;
  --accent: #8a4fb3;
  --green: #39a96b;
  --gold: #f4b942;
  --shadow: 0 14px 34px rgba(15, 42, 62, 0.13);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f7fafc;
  font-family: "Barlow Semi Condensed", "Nunito Sans", Arial, sans-serif;
  font-size: 1.08rem;
  line-height: 1.32;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  background: var(--paper);
  box-shadow: 0 3px 12px rgba(0, 39, 74, 0.12);
  cursor: pointer;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header a,
.site-header button {
  cursor: pointer;
}

.main-nav {
  cursor: default;
}

.utility-bar {
  align-items: center;
  background: #e5e5e5;
  color: #596975;
  display: flex;
  font-size: 0.84rem;
  gap: 16px;
  justify-content: flex-end;
  margin: 0 auto;
  max-width: 1180px;
  padding: 5px 18px;
}

.utility-bar a {
  align-items: center;
  display: inline-flex;
  gap: 6px;
  font-weight: 700;
}

.utility-bar span {
  align-items: center;
  color: #6a7177;
  display: inline-flex;
  font-size: 0.68rem;
  height: 18px;
  justify-content: center;
  line-height: 1;
  width: 18px;
}

.utility-bar svg {
  fill: none;
  height: 17px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
  width: 17px;
}

.brand-bar {
  align-items: center;
  background: linear-gradient(115deg, var(--blue-dark) 0%, var(--blue) 52%, #0074b8 100%);
  border-bottom: 7px solid var(--cyan);
  display: flex;
  gap: 24px;
  justify-content: flex-start;
  margin: 0 auto;
  max-width: 1180px;
  min-height: 82px;
  overflow: hidden;
  padding: 17px 28px;
  position: relative;
}

.brand-bar::after {
  background: linear-gradient(90deg, rgba(0, 28, 52, 0.48) 0%, rgba(0, 28, 52, 0) 15%, rgba(0, 28, 52, 0) 85%, rgba(0, 28, 52, 0.42) 100%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.brand {
  position: relative;
  z-index: 2;
}

.brand img {
  display: block;
  height: 45px;
  max-width: 330px;
  object-fit: contain;
  width: 100%;
}

.main-nav {
  align-items: stretch;
  background: linear-gradient(180deg, #ffffff 0%, #f4f9fc 100%);
  border-bottom: 1px solid rgba(0, 83, 155, 0.18);
  border-top: 1px solid rgba(0, 167, 216, 0.28);
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  justify-content: center;
  margin: 0 auto;
  max-width: 1180px;
  min-height: 47px;
  overflow: visible;
  padding: 0 16px;
  position: relative;
  z-index: 1001;
}

.mobile-menu-toggle {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(0, 88, 145, 0.18);
  color: #064c7b;
  cursor: pointer;
  display: none;
  font: inherit;
  font-family: "Barlow Semi Condensed", "Nunito Sans", Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  gap: 10px;
  justify-content: center;
  margin: 0 auto;
  max-width: 1180px;
  min-height: 44px;
  padding: 0 18px;
  text-transform: uppercase;
  width: 100%;
}

.mobile-menu-toggle > span:first-child,
.mobile-menu-toggle > span:first-child::before,
.mobile-menu-toggle > span:first-child::after {
  background: currentColor;
  content: "";
  display: block;
  height: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
  width: 22px;
}

.mobile-menu-toggle > span:first-child {
  position: relative;
}

.mobile-menu-toggle > span:first-child::before,
.mobile-menu-toggle > span:first-child::after {
  left: 0;
  position: absolute;
}

.mobile-menu-toggle > span:first-child::before {
  top: -7px;
}

.mobile-menu-toggle > span:first-child::after {
  top: 7px;
}

.mobile-menu-toggle[aria-expanded="true"] > span:first-child {
  background: transparent;
}

.mobile-menu-toggle[aria-expanded="true"] > span:first-child::before {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] > span:first-child::after {
  transform: translateY(-7px) rotate(-45deg);
}

.main-nav > a,
.nav-item > button {
  align-items: center;
  background: transparent;
  border: 0;
  border-left: 1px solid transparent;
  border-right: 1px solid transparent;
  color: #064c7b;
  cursor: pointer;
  display: flex;
  font: inherit;
  font-family: "Barlow Semi Condensed", "Nunito Sans", Arial, sans-serif;
  font-size: 1.06rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  min-height: 47px;
  padding: 0 10px;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}

.nav-item {
  position: relative;
  z-index: 31;
}

.nav-item:hover {
  z-index: 80;
}

.nav-item > button::after {
  content: "▾";
  font-size: 1.24rem;
  line-height: 1;
  margin-left: 8px;
  transform: translateY(2px);
}

.main-nav > a:hover,
.nav-item:hover > button {
  background: linear-gradient(180deg, var(--blue) 0%, var(--blue-dark) 100%);
  border-left-color: rgba(255, 255, 255, 0.24);
  border-right-color: rgba(255, 255, 255, 0.24);
  color: #fff;
}

.main-nav > a:focus-visible,
.nav-item > button:focus-visible,
.dropdown a:focus-visible,
.dropdown-subitem > button:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: -2px;
}

.dropdown {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfe 100%);
  border: 1px solid rgba(0, 83, 155, 0.22);
  border-top: 5px solid var(--cyan);
  box-shadow: 0 18px 38px rgba(15, 42, 62, 0.17);
  display: none;
  left: 0;
  min-width: 260px;
  padding: 5px 0;
  position: absolute;
  top: 100%;
  width: max-content;
  z-index: 1002;
}

.dropdown.wide {
  min-width: 380px;
}

.nav-item:last-of-type .dropdown,
.nav-item:nth-last-of-type(2) .dropdown {
  left: auto;
  right: 0;
}

.nav-item:hover > .dropdown {
  display: block;
}

.dropdown a {
  border-bottom: 1px solid rgba(0, 83, 155, 0.08);
  color: #064c7b;
  display: block;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.16;
  max-width: min(390px, calc(100vw - 32px));
  padding: 9px 13px;
  transition: background 0.16s ease, color 0.16s ease, padding-left 0.16s ease;
}

.dropdown-subitem {
  position: relative;
}

.dropdown-subitem > button {
  align-items: center;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(0, 83, 155, 0.08);
  color: #064c7b;
  cursor: pointer;
  display: flex;
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  justify-content: space-between;
  padding: 9px 13px;
  text-align: left;
  transition: background 0.16s ease, color 0.16s ease, padding-left 0.16s ease;
  width: 100%;
}

.dropdown-subitem > button::after {
  content: "›";
  font-size: 1.25rem;
  line-height: 1;
  margin-left: 18px;
}

.submenu {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfe 100%);
  border: 1px solid rgba(0, 83, 155, 0.2);
  border-left: 5px solid var(--cyan);
  box-shadow: 0 18px 38px rgba(15, 42, 62, 0.16);
  display: none;
  left: 100%;
  min-width: 220px;
  padding: 5px 0;
  position: absolute;
  top: 0;
}

.dropdown a:hover,
.dropdown a:focus,
.dropdown-subitem:hover > button,
.dropdown-subitem:focus-within > button {
  background: linear-gradient(90deg, var(--blue) 0%, #0069ad 100%);
  color: #fff;
  padding-left: 18px;
}

.dropdown-subitem:hover > .submenu {
  display: block;
}

main {
  margin: 0 auto;
  max-width: 1180px;
  background: #fff;
}

.hero {
  border-bottom: 5px solid var(--blue);
  min-height: 300px;
  overflow: hidden;
  position: relative;
}

.hero img {
  display: block;
  height: clamp(300px, 42vw, 450px);
  object-fit: cover;
  width: 100%;
}

.hero::after {
  background: linear-gradient(180deg, rgba(0, 28, 52, 0), rgba(0, 28, 52, 0.16));
  content: "";
  inset: 0;
  position: absolute;
}

.hero-copy {
  bottom: 36px;
  color: #fff;
  left: 50%;
  position: absolute;
  text-align: center;
  transform: translateX(-50%);
  width: min(92%, 760px);
  z-index: 1;
}

.hero-copy p {
  font-family: "Barlow Semi Condensed", "Nunito Sans", Arial, sans-serif;
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  margin: 0 0 5px;
  text-transform: uppercase;
}

.hero-copy h1 {
  font-family: "Barlow Semi Condensed", "Nunito Sans", Arial, sans-serif;
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.1;
  margin: 0;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.34);
}

.page-title {
  background: #fff;
  color: var(--blue-dark);
  padding: 42px clamp(18px, 5vw, 72px) 0;
}

.page-title p {
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 500;
  margin: 0 0 4px;
  text-transform: uppercase;
}

.page-title h1 {
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 500;
  line-height: 0.95;
  margin: 0;
}

.content-page {
  padding: 28px clamp(18px, 5vw, 72px) 54px;
}

.content-page article {
  max-width: 920px;
}

.content-page .wide-article {
  max-width: 1040px;
}

.content-page h2 {
  color: var(--blue-dark);
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1;
  margin: 0 0 14px;
}

.content-page h3 {
  color: var(--blue);
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1.05;
  margin: 24px 0 8px;
}

.content-page p {
  font-size: 1.18rem;
  margin: 0 0 14px;
}

.content-list {
  list-style: disc;
  margin: 18px 0 22px 1.25em;
  max-width: 780px;
  padding: 0;
}

.content-list li {
  background: transparent;
  padding: 3px 0;
}

.operativity-grid {
  display: grid;
  gap: 26px;
  margin: 30px 0 38px;
}

.operativity-program {
  align-items: start;
  border-top: 1px solid var(--line);
  display: grid;
  gap: clamp(18px, 3vw, 34px);
  grid-template-columns: minmax(150px, 230px) minmax(0, 1fr);
  padding-top: 28px;
}

.operativity-program img {
  box-shadow: 0 16px 34px rgba(0, 48, 82, 0.12);
  display: block;
  height: auto;
  width: 100%;
}

.operativity-program h2 {
  margin-top: 0;
}

.operativity-program .content-list {
  max-width: none;
}

.columns-list {
  columns: 2;
  column-gap: 36px;
  max-width: 880px;
}

.qr-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  margin-top: 28px;
}

.qr-card {
  border: 1px solid rgba(0, 74, 119, 0.16);
  margin: 0;
  padding: 16px;
  text-align: center;
}

.qr-card img {
  display: block;
  height: auto;
  margin: 0 auto;
  max-width: 100%;
  width: 230px;
}

.qr-card figcaption {
  color: var(--blue-dark);
  font-family: "Barlow Semi Condensed", "Nunito Sans", Arial, sans-serif;
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.05;
  margin-top: 12px;
}

.induction-intro {
  margin-bottom: 34px;
}

.induction-visual {
  display: block;
  height: auto;
  margin: 22px 0 0;
  max-width: 100%;
  filter: saturate(1.04);
  box-shadow: 0 22px 48px rgba(0, 48, 82, 0.12);
  width: 100%;
}

.induction-page h2 {
  color: var(--blue-dark);
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  letter-spacing: 0.02em;
  line-height: 1;
  margin: 34px 0 14px;
  position: relative;
}

.induction-page h2::after {
  background: var(--cyan);
  content: "";
  display: block;
  height: 3px;
  margin-top: 9px;
  width: 74px;
}

.induction-video-grid,
.induction-resource-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: center;
  margin: 24px 0 38px;
}

.induction-video-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.induction-resource-grid {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.induction-video-grid .induction-card {
  grid-column: span 2;
}

.induction-video-grid .induction-card:first-child {
  grid-column: 3 / span 2;
  grid-row: 1;
}

.induction-video-grid .induction-card:nth-child(2) {
  grid-column: 1 / span 2;
  grid-row: 2;
}

.induction-video-grid .induction-card:nth-child(3) {
  grid-column: 3 / span 2;
  grid-row: 2;
}

.induction-video-grid .induction-card:nth-child(4) {
  grid-column: 5 / span 2;
  grid-row: 2;
}

.induction-card {
  background: transparent;
  border: 0;
  display: grid;
  gap: 12px;
  padding: 0;
  transition: transform 0.22s ease;
}

.induction-card img {
  aspect-ratio: 1;
  display: block;
  height: auto;
  object-fit: cover;
  transition: transform 0.32s ease, filter 0.32s ease;
  width: 100%;
}

.induction-video-link {
  background: transparent;
  box-shadow: 0 16px 34px rgba(0, 48, 82, 0.14);
  color: #fff;
  cursor: pointer;
  display: block;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  transition: box-shadow 0.28s ease, transform 0.28s ease;
}

.induction-resource-grid .induction-video-link {
  border-radius: 8%;
}

.induction-video-link::before {
  background: linear-gradient(180deg, rgba(0, 75, 122, 0), rgba(0, 75, 122, 0.76));
  content: "";
  inset: 0;
  opacity: 0;
  position: absolute;
  transition: opacity 0.28s ease;
  z-index: 1;
}

.induction-video-link::after {
  background: rgba(0, 75, 122, 0.92);
  bottom: 14px;
  color: #fff;
  content: "Abrir";
  font-family: "Barlow Semi Condensed", "Nunito Sans", sans-serif;
  font-size: 1.04rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  opacity: 0;
  padding: 8px 13px;
  position: absolute;
  right: 14px;
  text-transform: uppercase;
  transform: translateY(8px);
  transition: opacity 0.28s ease, transform 0.28s ease;
  z-index: 2;
}

.induction-video-link.is-video::after {
  content: "Ver video";
}

.induction-video-link.is-pdf::after {
  content: "Abrir PDF";
}

.induction-video-link.is-section::after {
  content: "Ver sección";
}

.induction-video-link:hover,
.induction-video-link:focus-visible {
  box-shadow: 0 22px 44px rgba(0, 48, 82, 0.2);
  filter: none;
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
  transform: translateY(-3px);
}

.induction-video-link:hover::before,
.induction-video-link:focus-visible::before,
.induction-video-link:hover::after,
.induction-video-link:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.induction-video-link:hover img,
.induction-video-link:focus-visible img {
  filter: saturate(1.08) contrast(1.03);
  transform: scale(1.075);
}

.induction-divider {
  background: linear-gradient(90deg, var(--blue-dark) 0 8%, #ef7b22 13%, #f29a3a 50%, #ef7b22 87%, rgba(239, 123, 34, 0) 100%);
  height: 18px;
  margin: 14px auto 42px;
  max-width: 1080px;
  width: 100%;
}

.induction-divider-grid {
  grid-column: 1 / -1;
  margin-bottom: 18px;
  margin-top: 8px;
}

.induction-card h3 {
  color: var(--blue-dark);
  font-size: 1.42rem;
  line-height: 1.05;
  margin: 0;
}

.induction-card p {
  color: var(--ink);
  font-size: 1.05rem;
  margin: 0;
}

.induction-card .resource-links {
  margin-top: 0;
}

.induction-status {
  color: var(--muted);
  display: inline-block;
  font-size: 0.94rem;
  font-weight: 700;
  margin-top: 2px;
  text-transform: uppercase;
}

.program-groups {
  display: grid;
  gap: 20px;
  margin-top: 10px;
}

.program-groups section {
  border-top: 1px solid var(--line);
  padding-top: 4px;
}

.program-groups .content-list {
  max-width: 900px;
}

.map-viewer {
  background: #fff;
  border: 1px solid var(--line);
  margin-top: 18px;
  overflow-x: auto;
  padding: 10px;
}

.map-viewer img {
  display: block;
  height: auto;
  min-width: 760px;
  width: 100%;
}

.salones-map {
  background: #eef3f6;
  border: 1px solid var(--line);
  height: clamp(320px, 48vh, 480px);
  margin-top: 0;
  position: relative;
  width: 100%;
  z-index: 0;
}

.salones-page {
  padding: 16px clamp(8px, 2vw, 28px) 38px;
}

.salones-page .wide-article {
  margin: 0 auto;
  max-width: 1360px;
}

.salones-map .leaflet-control-zoom a {
  color: var(--blue-dark);
  font-family: Arial, sans-serif;
  font-weight: 700;
}

.salones-map .leaflet-top {
  top: 14px;
}

.calendar-viewer img {
  min-width: 900px;
}

.calendar-mobile-viewer {
  display: none;
}

.calendar-mobile-viewer img {
  background: #fff;
  display: block;
  height: auto;
  margin: 0 auto 18px;
  max-width: 520px;
  width: 100%;
}

.resource-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.resource-links a {
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  padding: 10px 15px;
}

.resource-links a:hover,
.resource-links a:focus {
  background: var(--blue-dark);
}

.date-strip {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 22px 0;
}

.date-strip div {
  background: var(--blue);
  color: #fff;
  padding: 15px 18px;
}

.date-strip strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 600;
}

.color-list {
  display: block;
  list-style: disc;
  margin: 18px 0 22px 1.25em;
  padding: 0;
}

.color-list li {
  background: transparent;
  border: 0;
  display: list-item;
  padding: 3px 0;
}

.color-list strong {
  color: var(--blue-dark);
  font-weight: 600;
}

.notice-note {
  background: #fff7e0;
  border-left: 5px solid var(--gold);
  margin-top: 18px;
  padding: 14px 16px;
}

.notice-section,
.postgrad-section,
.quick-links,
.institutional-section {
  padding: 44px clamp(18px, 4vw, 62px);
}

.section-heading {
  align-items: end;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 18px;
}

.section-heading p {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  margin: 0;
  text-transform: uppercase;
}

.section-heading h2 {
  color: var(--blue-dark);
  font-family: "Barlow Semi Condensed", "Nunito Sans", Arial, sans-serif;
  font-size: 2.2rem;
  font-weight: 600;
  margin: 0;
  text-align: right;
}

.notice-heading {
  border-bottom: 1px solid var(--line);
  justify-content: center;
  margin-bottom: 22px;
  padding-bottom: 10px;
}

.notice-heading h2 {
  color: var(--blue);
  font-size: clamp(3.2rem, 7vw, 5.6rem);
  font-weight: 600;
  line-height: 0.92;
  text-align: center;
  text-transform: uppercase;
}

.notice-tabs {
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.tab-button {
  background: transparent;
  border: 0;
  border-bottom: 4px solid transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-family: "Barlow Semi Condensed", "Nunito Sans", Arial, sans-serif;
  font-weight: 600;
  padding: 10px 14px;
}

.tab-button.active {
  border-color: var(--cyan);
  color: var(--blue);
}

.carousel-shell {
  align-items: center;
  display: grid;
  gap: 14px;
  grid-template-columns: 44px 1fr 44px;
  min-height: 300px;
}

.carousel-shell.single-notice {
  grid-template-columns: 1fr;
}

.notice-track {
  cursor: grab;
  display: none;
  height: 300px;
  min-height: 300px;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.notice-track.active {
  display: block;
}

.notice-track.is-dragging,
.postgrad-track.is-dragging {
  cursor: grabbing;
}

.notice-track a,
.postgrad-track a,
.notice-track img,
.postgrad-track img {
  -webkit-user-drag: none;
  user-select: none;
}

.notice-slide {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(0, 83, 155, 0.08), rgba(0, 167, 216, 0.12)),
    var(--soft);
  display: none;
  gap: 28px;
  height: 300px;
  min-height: 300px;
  overflow: hidden;
  padding: clamp(22px, 4vw, 44px);
}

.notice-slide.current {
  display: grid;
  grid-template-columns: minmax(120px, 170px) 1fr;
  height: 300px;
}

.calendar-notice {
  background: #eef3f6;
  color: var(--blue-dark);
  gap: 0;
  padding: 0;
}

.calendar-notice.current {
  grid-template-columns: minmax(210px, 260px) 1fr;
}

.calendar-notice:hover,
.calendar-notice:focus {
  background: #e5edf2;
}

.calendar-summary {
  align-self: stretch;
  border-right: 3px solid var(--blue);
  display: grid;
  padding: 28px 30px;
}

.calendar-summary p {
  color: #6d7c86;
  font-size: 1.05rem;
  font-weight: 500;
  margin: 0;
  text-transform: uppercase;
}

.calendar-summary h3 {
  color: #1c2932;
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  font-weight: 600;
  line-height: 0.95;
  margin: 5px 0 12px;
  text-transform: uppercase;
}

.calendar-summary span {
  align-items: center;
  display: flex;
  gap: 8px;
}

.calendar-summary i {
  border-radius: 50%;
  display: block;
  height: 12px;
  width: 12px;
}

.calendar-summary i:nth-child(1) { background: #92b72d; }
.calendar-summary i:nth-child(2) { background: #168fc1; }
.calendar-summary i:nth-child(3) { background: #6c6bb4; }
.calendar-summary i:nth-child(4) { background: #b12a33; }
.calendar-summary i:nth-child(5) { background: #df5a18; }
.calendar-summary i:nth-child(6) { background: #f2ab16; }

.calendar-message {
  align-self: center;
  padding: 30px 34px;
}

.calendar-message h3 {
  color: var(--blue);
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.calendar-message p {
  color: var(--blue-dark);
  font-size: 1.28rem;
  margin: 0 0 10px;
}

.calendar-message strong {
  color: var(--blue);
  display: inline-block;
  font-size: 1.15rem;
  font-weight: 500;
}

.notice-date {
  align-items: center;
  aspect-ratio: 1;
  background: #fff;
  border-top: 8px solid var(--gold);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 170px;
  padding: 16px;
  text-align: center;
}

.notice-date strong {
  color: var(--blue);
  font-family: "Barlow Semi Condensed", "Nunito Sans", Arial, sans-serif;
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.05;
}

.notice-date span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  margin-top: 6px;
  text-transform: uppercase;
}

.notice-kicker {
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 600;
  margin: 0 0 6px;
  text-transform: uppercase;
}

.notice-copy-only {
  margin: 0;
  max-width: 780px;
  text-align: left;
}

.notice-copy-only .notice-kicker {
  color: var(--blue);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
}

.regularization-notice.current {
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 132, 188, 0.42), transparent 31%),
    radial-gradient(circle at 82% 18%, rgba(160, 135, 236, 0.48), transparent 34%),
    radial-gradient(circle at 62% 96%, rgba(104, 210, 245, 0.45), transparent 36%),
    linear-gradient(115deg, #f7eefc 0%, #d8f3ff 55%, #fce9f3 100%);
  grid-template-columns: minmax(120px, 170px) minmax(0, 1fr);
  padding-left: clamp(28px, 6vw, 72px);
  padding-right: clamp(28px, 6vw, 72px);
}

.regularization-notice:hover,
.regularization-notice:focus {
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 132, 188, 0.5), transparent 31%),
    radial-gradient(circle at 82% 18%, rgba(160, 135, 236, 0.55), transparent 34%),
    radial-gradient(circle at 62% 96%, rgba(104, 210, 245, 0.52), transparent 36%),
    linear-gradient(115deg, #f5e7fb 0%, #cef0ff 55%, #fbe1ef 100%);
}

.regularization-notice .notice-copy-only {
  border-left: 3px solid var(--blue);
  padding-left: clamp(24px, 4vw, 42px);
}

.notice-alert-icon {
  align-items: center;
  aspect-ratio: 1;
  background: var(--blue);
  clip-path: polygon(46% 8%, 54% 8%, 95% 82%, 90% 90%, 10% 90%, 5% 82%);
  color: #fff;
  display: flex;
  font-size: 3.8rem;
  font-weight: 700;
  justify-content: center;
  line-height: 1;
  padding-top: 24px;
  width: clamp(110px, 13vw, 165px);
}

.notice-slide h3,
.feature-band h2 {
  color: var(--blue-dark);
  font-family: "Barlow Semi Condensed", "Nunito Sans", Arial, sans-serif;
  font-size: 2.35rem;
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 12px;
}

.notice-slide p {
  max-width: 680px;
  line-height: 1.34;
  margin-bottom: 14px;
}

.button-link {
  align-items: center;
  background: var(--blue);
  color: #fff;
  display: inline-flex;
  font-weight: 600;
  min-height: 42px;
  padding: 10px 16px;
}

.button-link:hover,
.button-link:focus {
  background: var(--blue-dark);
}

.button-link.secondary {
  background: var(--accent);
  justify-self: end;
}

.carousel-control {
  align-items: center;
  background: var(--blue);
  border: 0;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-size: 2rem;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.carousel-control:hover,
.carousel-control:focus {
  background: var(--blue-dark);
}

.carousel-dots {
  display: flex;
  gap: 7px;
  justify-content: center;
  margin-top: 18px;
}

.carousel-dots button {
  background: #bad2e2;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  height: 9px;
  padding: 0;
  width: 9px;
}

.carousel-dots button.active {
  background: var(--blue);
  width: 28px;
}

.postgrad-section {
  background: #f9fbfd;
  border-top: 1px solid var(--line);
}

.postgrad-heading {
  border-bottom: 1px solid var(--line);
  justify-content: center;
  margin-bottom: 22px;
  padding-bottom: 10px;
}

.postgrad-heading h2 {
  color: var(--blue);
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  font-weight: 600;
  line-height: 0.95;
  text-align: center;
  text-transform: uppercase;
}

.postgrad-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 0 auto 22px;
  max-width: 980px;
}

.postgrad-links a {
  background: #fff;
  border: 1px solid rgba(0, 75, 122, 0.18);
  color: var(--blue-dark);
  font-family: "Barlow Semi Condensed", "Nunito Sans", sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.1;
  padding: 10px 16px;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.postgrad-links a:hover,
.postgrad-links a:focus-visible {
  background: var(--blue);
  color: #fff;
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
  transform: translateY(-2px);
}

.postgrad-carousel {
  align-items: center;
  display: grid;
  gap: 14px;
  grid-template-columns: 44px 1fr 44px;
}

.postgrad-track {
  aspect-ratio: 948 / 375;
  cursor: grab;
  height: auto;
  max-height: 375px;
  overflow: hidden;
  position: relative;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  width: 100%;
}

.postgrad-slide {
  align-items: center;
  background: #fff;
  display: none;
  height: 100%;
  justify-content: center;
}

.postgrad-slide.current {
  display: flex;
}

.postgrad-slide img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.postgrad-control {
  align-items: center;
  background: var(--blue);
  border: 0;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-size: 2rem;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.postgrad-control:hover,
.postgrad-control:focus {
  background: var(--blue-dark);
}

.postgrad-dots {
  display: flex;
  gap: 7px;
  justify-content: center;
  margin-top: 18px;
}

.postgrad-dots button {
  background: #bad2e2;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  height: 9px;
  padding: 0;
  width: 9px;
}

.postgrad-dots button.active {
  background: var(--blue);
  width: 28px;
}

.quick-links {
  background: #f9fbfd;
  border-top: 1px solid var(--line);
}

.institutional-section {
  background: #f9fbfd;
  border-top: 1px solid var(--line);
}

.institutional-heading {
  align-items: end;
  margin-bottom: 22px;
}

.institutional-intro {
  margin-bottom: 22px;
  padding: 4px 0;
}

.institutional-intro h3,
.institutional-grid h3 {
  color: var(--blue-dark);
  font-size: 1.85rem;
  font-weight: 600;
  line-height: 1.05;
  margin: 0 0 8px;
}

.institutional-intro p {
  margin: 0;
  max-width: 900px;
}

.institutional-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.institutional-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
  padding: 20px;
}

.institutional-grid span {
  color: var(--green);
  display: block;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.institutional-grid p {
  margin: 0;
}

.document-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.document-links a {
  background: var(--soft);
  color: var(--blue-dark);
  font-weight: 600;
  padding: 8px 12px;
}

.document-links a:hover,
.document-links a:focus {
  background: var(--blue);
  color: #fff;
}

.link-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.link-grid a {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--cyan);
  color: var(--blue-dark);
  font-weight: 600;
  min-height: 98px;
  padding: 18px;
}

.link-grid a:hover,
.link-grid a:focus {
  border-left-color: var(--accent);
  box-shadow: var(--shadow);
}

.link-grid span {
  color: var(--muted);
  display: block;
  font-size: 0.76rem;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.feature-band {
  align-items: center;
  background: linear-gradient(90deg, #edf4f8 0%, #ffffff 100%);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr auto;
  padding: 38px clamp(18px, 4vw, 62px);
}

.feature-band p {
  max-width: 720px;
}

.site-footer {
  align-items: center;
  background: linear-gradient(115deg, var(--blue-dark) 0%, var(--blue) 58%, #0074b8 100%);
  color: #fff;
  display: flex;
  gap: clamp(24px, 5vw, 70px);
  justify-content: center;
  margin: 0 auto;
  max-width: 1180px;
  overflow: hidden;
  padding: 17px clamp(20px, 5vw, 62px);
  position: relative;
}

.site-footer::before {
  background: var(--cyan);
  content: "";
  height: 5px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 3;
}

.site-footer::after {
  background: linear-gradient(90deg, rgba(0, 28, 52, 0.5) 0%, rgba(0, 28, 52, 0) 18%, rgba(0, 28, 52, 0) 82%, rgba(0, 28, 52, 0.42) 100%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.footer-info {
  align-items: center;
  display: flex;
  gap: clamp(26px, 5vw, 58px);
  justify-content: center;
  position: relative;
  text-align: center;
  width: 100%;
  z-index: 2;
}

.footer-contact {
  color: rgba(255, 255, 255, 0.94);
}

.social-links {
  display: flex;
  gap: 18px;
  margin: 0;
  order: 2;
}

.social-links a {
  align-items: center;
  background: transparent;
  color: #fff;
  display: inline-flex;
  height: 30px;
  justify-content: center;
  opacity: 0.9;
  width: 30px;
}

.social-links a:hover,
.social-links a:focus {
  color: #d9f3ff;
  opacity: 1;
}

.social-links svg {
  fill: currentColor;
  stroke: none;
  height: 22px;
  width: 22px;
}

.site-footer p {
  font-size: 0.98rem;
  line-height: 1.22;
  margin: 3px 0;
}

@media (max-width: 1020px) {
  .brand-bar,
  .site-footer,
  .section-heading,
  .feature-band {
    align-items: start;
    display: grid;
  }

  .site-footer {
    gap: 16px;
  }

  .footer-info {
    align-items: center;
    display: grid;
    gap: 10px;
    justify-content: center;
    justify-items: center;
    text-align: center;
  }

  .social-links {
    justify-content: center;
    order: 0;
    width: 100%;
  }

  .mobile-menu-toggle {
    background: linear-gradient(180deg, #ffffff 0%, #eef7fc 100%);
    border-bottom: 3px solid var(--cyan);
    border-left: 0;
    border-right: 0;
    border-top: 1px solid rgba(0, 83, 155, 0.16);
    color: var(--blue-dark);
    display: flex;
    letter-spacing: 0.02em;
  }

  .main-nav {
    background: #eaf3f8;
    border-bottom: 1px solid rgba(0, 83, 155, 0.24);
    display: none;
    gap: 0;
    padding: 8px;
  }

  .main-nav.open {
    display: flex;
    flex-direction: column;
  }

  .main-nav > a,
  .nav-item > button {
    background: #fff;
    border: 1px solid rgba(0, 83, 155, 0.16);
    border-left: 5px solid var(--blue);
    box-shadow: 0 6px 16px rgba(0, 48, 82, 0.06);
    color: var(--blue-dark);
    justify-content: space-between;
    margin-top: 6px;
    min-height: 46px;
    padding: 0 16px 0 14px;
    width: 100%;
  }

  .main-nav > a:hover,
  .nav-item:hover > button {
    background: linear-gradient(90deg, var(--blue) 0%, #0069ad 100%);
    border-color: var(--blue);
    border-left-color: var(--cyan);
    color: #fff;
  }

  .nav-item {
    width: 100%;
  }

  .dropdown {
    background: #f8fbfd;
    border: 1px solid rgba(0, 83, 155, 0.18);
    border-left: 5px solid #8bbfdc;
    border-top: 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
    left: auto;
    margin: 0 0 4px;
    min-width: 100%;
    padding: 5px 0 6px;
    position: static;
    width: 100%;
  }

  .dropdown.wide {
    min-width: 100%;
  }

  .nav-item:hover .dropdown,
  .nav-item:focus-within .dropdown {
    display: none;
  }

  .nav-item.open > .dropdown {
    display: block;
  }

  .dropdown a,
  .dropdown-subitem > button {
    background: transparent;
    border-bottom: 1px solid rgba(0, 83, 155, 0.1);
    border-top: 0;
    color: #17445f;
    font-size: 0.98rem;
    line-height: 1.18;
    padding: 12px 18px 12px 38px;
    position: relative;
  }

  .dropdown a::before,
  .dropdown-subitem > button::before {
    background: #8bbfdc;
    content: "";
    height: 1px;
    left: 18px;
    position: absolute;
    top: 50%;
    width: 10px;
  }

  .dropdown a:hover,
  .dropdown a:focus,
  .dropdown-subitem:hover > button,
  .dropdown-subitem:focus-within > button {
    background: #dcecf5;
    color: var(--blue-dark);
    padding-left: 42px;
  }

  .submenu {
    background: #e9f2f7;
    border-left: 5px solid var(--cyan);
    box-shadow: inset 0 1px 0 rgba(0, 83, 155, 0.08);
    left: auto;
    margin: 0;
    min-width: 100%;
    padding: 3px 0;
    position: static;
  }

  .dropdown-subitem:hover .submenu,
  .dropdown-subitem:focus-within .submenu {
    display: none;
  }

  .dropdown-subitem.open > .submenu {
    display: block;
  }

  .submenu a {
    color: #1f506a;
    padding-left: 58px;
  }

  .submenu a:hover,
  .submenu a:focus {
    padding-left: 62px;
  }

  .submenu a::before {
    left: 36px;
    width: 12px;
  }

  .dropdown-subitem > button::after {
    content: "▾";
  }

  .section-heading h2 {
    text-align: left;
  }

  .carousel-shell {
    grid-template-columns: 38px 1fr 38px;
    gap: 8px;
    min-height: 340px;
  }

  .carousel-control {
    height: 38px;
    width: 38px;
  }

  .postgrad-carousel {
    grid-template-columns: 38px 1fr 38px;
    gap: 8px;
  }

  .postgrad-control {
    height: 38px;
    width: 38px;
  }

  .notice-slide.current {
    grid-template-columns: 1fr;
    height: 340px;
  }

  .regularization-notice.current {
    grid-template-columns: minmax(92px, 120px) minmax(0, 1fr);
    padding-left: 22px;
    padding-right: 22px;
  }

  .regularization-notice .notice-copy-only {
    padding-left: 20px;
  }

  .calendar-notice.current {
    grid-template-columns: 1fr;
  }

  .calendar-summary {
    border-bottom: 3px solid var(--blue);
    border-right: 0;
    padding: 20px 24px 16px;
  }

  .calendar-message {
    padding: 18px 24px 24px;
  }

  .notice-track,
  .notice-slide {
    height: 340px;
    min-height: 340px;
  }

  .notice-date {
    max-width: 140px;
  }

  .link-grid {
    grid-template-columns: 1fr;
  }

  .institutional-grid {
    grid-template-columns: 1fr;
  }

  .button-link.secondary {
    justify-self: start;
  }

  .columns-list {
    columns: 1;
  }

  .operativity-program {
    grid-template-columns: 1fr;
  }

  .operativity-program img {
    max-width: 230px;
  }

  .induction-video-grid,
  .induction-resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .induction-video-grid .induction-card,
  .induction-video-grid .induction-card:first-child,
  .induction-video-grid .induction-card:nth-child(2),
  .induction-video-grid .induction-card:nth-child(3),
  .induction-video-grid .induction-card:nth-child(4) {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 540px) {
  .utility-bar {
    justify-content: start;
  }

  .brand-bar {
    padding: 16px;
  }

  .brand img {
    height: auto;
  }

  .hero-copy h1 {
    font-size: 1.65rem;
  }

  .carousel-shell {
    grid-template-columns: 1fr;
    min-height: 390px;
  }

  .carousel-control {
    display: none;
  }

  .notice-section,
  .postgrad-section,
  .quick-links,
  .institutional-section,
  .feature-band {
    padding-left: 16px;
    padding-right: 16px;
  }

  .postgrad-carousel {
    grid-template-columns: 1fr;
  }

  .calendar-desktop-viewer {
    display: none;
  }

  .calendar-mobile-viewer {
    display: block;
    margin-top: 18px;
  }

  .salones-map {
    height: clamp(280px, 50vh, 380px);
  }

  .postgrad-control {
    display: none;
  }

  .postgrad-track {
    height: auto;
  }

  .notice-slide h3,
  .feature-band h2 {
    font-size: 1.45rem;
  }

  .calendar-summary h3 {
    font-size: 2.2rem;
  }

  .calendar-message h3 {
    font-size: 1.85rem;
    margin-bottom: 8px;
  }

  .calendar-message p,
  .calendar-message strong {
    font-size: 1rem;
  }

  .notice-track,
  .notice-slide,
  .notice-slide.current {
    height: 390px;
    min-height: 390px;
  }

  .regularization-notice.current {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .regularization-notice .notice-copy-only {
    border-left: 0;
    border-top: 3px solid var(--blue);
    padding-left: 0;
    padding-top: 18px;
    text-align: center;
  }

  .notice-alert-icon {
    width: 96px;
  }

  .induction-video-grid,
  .induction-resource-grid {
    grid-template-columns: 1fr;
  }
}

