/* =========================================================
   Feria de la Ciencia y Tecnología - sistema visual con nueva paleta institucional
   ========================================================= */

@font-face {
  font-family: "Tipo UBB";
  src: url("../font/Tipo-UBB-Bold_Condensed.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Tipo UBB";
  src: url("../font/Tipo-UBB-Light_Condensed.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Tipo UBB";
  src: url("../font/Tipo-UBB-Black_Condensed.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-display: "Tipo UBB", "Arial Narrow", sans-serif;
  --font-display-light: "Tipo UBB", "Arial Narrow", sans-serif;
  --font-body: "Fira Sans", sans-serif;
  --font-mono: "Fira Sans", sans-serif;
  --wrapper-max: 1340px;
  --header-height: 176px;
  --header-height-compact: 76px;
  --institutional-blue: #1d3c71;
  --institutional-blue-strong: #172949;
  --institutional-teal: #17a2b8;
  --institutional-neutral: #dce5f0;
  --institutional-neutral-soft: #eef3f8;
  --institutional-divider: #d9dfe5;
  --border-subtle: rgba(29, 60, 113, 0.08);
  --border-default: rgba(29, 60, 113, 0.12);
  --border-strong: rgba(29, 60, 113, 0.18);
  --border-contrast: rgba(255, 255, 255, 0.14);
  --corp-blue: #014898;
  --corp-silver: #b9bbbb;
  --corp-red: #e41b1a;
  --corp-yellow: #f9b214;
  --header-corporate-line: linear-gradient(
    90deg,
    var(--corp-blue) 0%,
    var(--corp-blue) 58%,
    var(--corp-silver) 58%,
    var(--corp-silver) 77%,
    var(--corp-yellow) 77%,
    var(--corp-yellow) 89%,
    var(--corp-red) 89%,
    var(--corp-red) 100%
  );
  --gradient-strip-light: linear-gradient(90deg, #0544b1 0%, #d3dbde 30%, #fecc37 67%, #fe3737 100%);
  --gradient-strip-dark: linear-gradient(90deg, #1d3c71 0%, #1d3c71 100%);
  --gradient-strip: var(--gradient-strip-light);
  --border-thin: 1px;
  --border-regular: 1px;
  --radius-small: 3px;
  --radius-medium: 10px;
  --radius-large-max: 99px;
  --radius-large: min(var(--radius-large-max), clamp(18px, 2.2vw, 24px));
  --radius-header-bar: 0.12rem;
  --radius-header-bar-bottom: 0 0 var(--radius-header-bar) var(--radius-header-bar);
  --radius-section: var(--radius-large);
  --radius-surface: var(--radius-medium);
  --radius-card: var(--radius-surface);
  --radius-control: var(--radius-small);
  --radius-soft: var(--radius-section);
  --radius-pill: 999px;
  --bg: #f4f7fa;
  --bg-alt: #e8eef5;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: #ffffff;
  --header-surface: rgba(235, 235, 235, 0.98);
  --header-surface-strong: #ebebeb;
  --header-border: var(--border-default);
  --header-panel-bg: rgba(255, 255, 255, 0.14);
  --header-panel-bg-strong: rgba(255, 255, 255, 0.12);
  --header-panel-bg-hover: rgba(255, 255, 255, 0.22);
  --header-panel-border: var(--border-default);
  --surface-border: var(--header-panel-border);
  --surface-border-strong: var(--header-border);
  --header-panel-text: rgba(27, 46, 81, 0.9);
  --header-panel-text-soft: rgba(27, 46, 81, 0.8);
  --section-divider: var(--border-default);
  --header-shadow: 0 10px 24px rgba(27, 46, 81, 0.08);
  --text: #39485d;
  --text-soft: rgba(57, 72, 93, 0.9);
  --text-faint: rgba(57, 72, 93, 0.68);
  --line: var(--border-default);
  --brand-primary: #014898;
  --brand-primary-strong: #003a79;
  --brand-indigo: #1d3c71;
  --brand-indigo-strong: #172949;
  --brand-teal: #014898;
  --brand-teal-strong: #003a79;
  --brand-accent: #17a2b8;
  --brand-accent-strong: #0e7f91;
  --interactive-hover-bg: rgba(23, 162, 184, 0.08);
  --interactive-hover-border: rgba(23, 162, 184, 0.24);
  --interactive-hover-text: var(--brand-accent-strong);
  --menu-hover-bg: var(--interactive-hover-bg);
  --menu-hover-border: var(--interactive-hover-border);
  --shadow-soft: 0 18px 36px rgba(27, 46, 81, 0.08);
  --shadow-strong: 0 24px 56px rgba(27, 46, 81, 0.12);
  --hover-shadow: rgba(27, 46, 81, 0.18);
  --hover-ring: rgba(23, 162, 184, 0.14);
  --hover-glow: rgba(23, 162, 184, 0.12);
  --card-hover-y: -4px;
  --card-hover-shadow: 0 22px 42px rgba(27, 46, 81, 0.14);
  --card-hover-border: var(--interactive-hover-border);
  --card-media-scale: 1.03;
}

html[data-theme="dark"] {
  --bg: #0f1828;
  --bg-alt: #122236;
  --surface: rgba(16, 31, 49, 0.82);
  --surface-strong: rgba(14, 24, 39, 0.96);
  --header-surface: rgba(14, 24, 39, 0.96);
  --header-surface-strong: rgba(14, 24, 39, 0.98);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-default: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.18);
  --border-contrast: rgba(255, 255, 255, 0.14);
  --header-border: var(--border-default);
  --header-panel-bg: rgba(255, 255, 255, 0.05);
  --header-panel-bg-strong: rgba(255, 255, 255, 0.06);
  --header-panel-bg-hover: rgba(255, 255, 255, 0.1);
  --header-panel-border: var(--border-default);
  --surface-border: var(--header-panel-border);
  --surface-border-strong: var(--header-border);
  --header-panel-text: rgba(247, 243, 255, 0.86);
  --header-panel-text-soft: rgba(247, 243, 255, 0.66);
  --section-divider: var(--border-strong);
  --header-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
  --text: #d9dfe5;
  --text-soft: rgba(217, 223, 229, 0.82);
  --text-faint: rgba(217, 223, 229, 0.58);
  --line: var(--border-default);
  --brand-primary: #7fb4e6;
  --brand-primary-strong: #9ac4ed;
  --brand-indigo: #90acd6;
  --brand-indigo-strong: #c3d4eb;
  --brand-teal: #7fb4e6;
  --brand-teal-strong: #9ac4ed;
  --brand-accent: #4bc5d8;
  --brand-accent-strong: #17a2b8;
  --institutional-blue: #1d3c71;
  --interactive-hover-bg: rgba(75, 197, 216, 0.12);
  --interactive-hover-border: rgba(75, 197, 216, 0.24);
  --interactive-hover-text: #7fddea;
  --menu-hover-bg: var(--interactive-hover-bg);
  --menu-hover-border: var(--interactive-hover-border);
  --gradient-strip: var(--gradient-strip-dark);
  --shadow-soft: 0 24px 46px rgba(0, 0, 0, 0.28);
  --shadow-strong: 0 34px 80px rgba(0, 0, 0, 0.38);
  --hover-shadow: rgba(0, 0, 0, 0.4);
  --hover-ring: rgba(75, 197, 216, 0.18);
  --hover-glow: rgba(75, 197, 216, 0.12);
  --card-hover-shadow: 0 24px 46px rgba(0, 0, 0, 0.32);
  --card-hover-border: var(--interactive-hover-border);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html.theme-switching *,
html.theme-switching *::before,
html.theme-switching *::after {
  transition: none !important;
  animation-duration: 0.001ms !important;
  animation-delay: 0ms !important;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font-body);
  background:
    radial-gradient(circle at top left, rgba(29, 60, 113, 0.06), transparent 22%),
    radial-gradient(circle at 86% 12%, rgba(23, 162, 184, 0.05), transparent 18%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}


img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button,
.btn,
input,
textarea {
  font: inherit;
}

figure {
  margin: 0;
}

::selection {
  background: rgba(162, 25, 91, 0.22);
  color: inherit;
}

:focus-visible {
  outline: 2px solid rgba(162, 25, 91, 0.92);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--brand-indigo);
  color: #fff;
}

.wrapper {
  width: min(100% - 40px, var(--wrapper-max));
  margin-inline: auto;
}

.section-shell {
  --section-radius: var(--radius-section);
  position: relative;
  padding: clamp(4.5rem, 7vw, 7rem) 0;
}

.site-main {
  position: relative;
}

.site-main--home {
  padding-top: 0;
}

.site-main>section {
  position: relative;
  width: 100%;
  border-bottom: 1px solid var(--section-divider);
}

.site-main>section+section::before {
  content: none;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(27, 46, 81, 0.82);
}

.section-eyebrow::before {
  content: "";
  width: 0.56rem;
  height: 0.56rem;
  border-radius: var(--radius-small);
  background: var(--brand-accent);
  box-shadow: 0 0 0 3px rgba(23, 162, 184, 0.12);
  flex: 0 0 auto;
}

.section-eyebrow--light {
  color: rgba(255, 255, 255, 0.84);
}

.section-eyebrow--light::before {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
}


.display-title,
.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 0.92;
  text-transform: uppercase;
}

.display-title {
  /* max-width: min(100%, 16ch); */
  font-size: clamp(3.1rem, 7vw, 8.6rem);
}

.hero-line {
  display: block;
}

.hero-line--small {
  margin-bottom: 0.12em;
  font-weight: 300;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.92);
}

.hero-line--strong {
  font-weight: 900;
}

.hero-line--light {
  font-weight: 300;
  color: rgba(255, 255, 255, 0.92);
}

.hero-subtitle {
  /* max-width: 36ch; */
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.6rem, 2.7vw, 2.35rem);
  line-height: 1;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.94);
}

.section-title {
  /* max-width: min(100%, 22ch); */
  font-size: clamp(2.2rem, 4vw, 3.55rem);
}

.title-accent {
  color: var(--brand-accent);
}

.title-accent--hero {
  text-shadow: 0 0 18px rgba(23, 162, 184, 0.22);
}

html[data-theme="dark"] .title-accent {
  color: var(--brand-accent);
}

.lead-copy {
  margin: 0;
  font-size: clamp(1rem, 1.7vw, 1.16rem);
  color: var(--text-soft);
}

.section-heading {
  display: grid;
  gap: 0.9rem;
  margin-bottom: clamp(1.6rem, 3vw, 3.4rem);
}

.section-heading--center {
  max-width: min(100%, 1180px);
  margin-inline: auto;
  text-align: center;
}

.section-heading--center .section-eyebrow {
  justify-content: center;
}

.section-heading--center .section-title,
.section-heading--center .lead-copy {
  margin-inline: auto;
}

.btn {
  --btn-bg: linear-gradient(135deg, var(--brand-indigo) 0%, #325895 100%);
  --btn-color: #fff;
  --btn-border: transparent;
  --btn-border-hover: var(--btn-border);
  --btn-border-active: var(--btn-border-hover);
  --btn-bg-hover: linear-gradient(135deg, #254b87 0%, var(--brand-indigo-strong) 100%);
  --btn-bg-active: linear-gradient(135deg, #203f72 0%, #142743 100%);
  --btn-shadow: none;
  --btn-shadow-hover: 0 12px 28px rgba(27, 46, 81, 0.14);
  --btn-shadow-active: 0 8px 18px rgba(27, 46, 81, 0.12);
  --btn-ring: rgba(23, 162, 184, 0.18);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.72rem;
  min-height: 60px;
  padding: 0 24px;
  border: 1px solid var(--btn-border);
  border-radius: 3px;
  background: var(--btn-bg);
  color: var(--btn-color);
  box-shadow: var(--btn-shadow);
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  text-decoration: none;
  overflow: hidden;
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 0 34%, rgba(255, 255, 255, 0.28) 48%, transparent 62%);
  transform: translateX(-120%);
  transition: transform 420ms ease;
}

.btn:hover::before {
  transform: translateX(120%);
}

.btn:hover,
.btn:focus-visible {
  background: var(--btn-bg-hover);
  color: var(--btn-color);
  border-color: var(--btn-border-hover);
  box-shadow: var(--btn-shadow-hover);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px var(--btn-ring), var(--btn-shadow-hover);
}

.btn:active {
  transform: translateY(0);
  background: var(--btn-bg-active);
  border-color: var(--btn-border-active);
  box-shadow: var(--btn-shadow-active);
}

.btn:disabled,
.btn.disabled,
.btn[aria-disabled="true"] {
  opacity: 0.58;
  pointer-events: none;
  transform: none;
  box-shadow: none;
  filter: saturate(0.78);
}

.btn-icon {
  width: 58px;
  min-width: 58px;
  padding: 0;
  border-radius: 0.8rem;
}

.btn:not(.btn-icon)>i:last-child {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-left: 0.1rem;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 0.55rem;
  background: transparent;
  font-size: 0.96rem;
  line-height: 1;
  transition: transform 180ms ease, border-color 180ms ease;
}

.btn:hover>i:last-child,
.btn:focus-visible>i:last-child {
  transform: translateX(2px);
  border-color: rgba(255, 255, 255, 0.68);
}

.btn-primary-brand {
  --btn-bg: linear-gradient(135deg, var(--institutional-blue) 0%, #325895 100%);
  --btn-bg-hover: linear-gradient(135deg, #254b87 0%, var(--brand-indigo-strong) 100%);
  --btn-bg-active: linear-gradient(135deg, #203f72 0%, #142743 100%);
  --btn-ring: rgba(29, 60, 113, 0.18);
}

.btn-secondary-brand {
  --btn-bg: linear-gradient(135deg, #375d97 0%, var(--brand-indigo) 100%);
  --btn-bg-hover: linear-gradient(135deg, #27497f 0%, var(--brand-indigo-strong) 100%);
  --btn-bg-active: linear-gradient(135deg, #1c355f 0%, #11233d 100%);
  --btn-ring: rgba(49, 85, 139, 0.18);
  --btn-shadow-hover: 0 12px 28px rgba(27, 46, 81, 0.18);
}

.btn-accent-brand {
  --btn-bg: linear-gradient(135deg, var(--brand-accent) 0%, var(--brand-accent-strong) 100%);
  --btn-bg-hover: linear-gradient(135deg, #39b6cb 0%, var(--brand-accent-strong) 100%);
  --btn-bg-active: linear-gradient(135deg, #138da2 0%, #0d7283 100%);
  --btn-ring: rgba(23, 162, 184, 0.18);
  --btn-shadow-hover: 0 12px 28px rgba(23, 162, 184, 0.22);
  --btn-shadow-active: 0 8px 18px rgba(23, 162, 184, 0.18);
}

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  flex-direction: column;
  height: var(--header-height);
  background: var(--header-surface-strong);
  border-bottom: 1px solid var(--header-border);
  box-shadow: 0 12px 28px rgba(31, 33, 72, 0.06);
  overflow: clip;
  transition:
    height 360ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 500ms ease,
    border-color 500ms ease,
    background-color 500ms ease,
    backdrop-filter 500ms ease;
}

.site-header-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height-compact);
  background: var(--header-surface);
  border-bottom: 1px solid var(--header-border);
  box-shadow: 0 14px 30px rgba(31, 33, 72, 0.1);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-header-sticky.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.site-header-sticky>.wrapper {
  height: 100%;
}

.site-header>.wrapper {
  flex: 1 1 0%;
  min-height: 0;
}

@media (max-width: 991.98px) {
  :root {
    --header-height: var(--header-height-compact);
  }
}

.site-utility-bar {
  /* flex: 0 0 auto; */
  /* border-bottom: 1px solid var(--header-panel-border); */
  /* border-top: 0; */
  /* background: var(--header-panel-bg); */
  /* backdrop-filter: blur(18px); */
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  /* max-width: 95%; */
  /* width: 100%; */
  /* margin: 0 auto; */
  /* border-radius: var(--radius-header-bar-bottom); */
}

.site-utility-shell {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
  min-height: 44px;
  padding: 0;
}

.site-utility-nav {
  margin-left: auto;
}

.site-utility-meta {
  display: flex;
  align-items: center;
}

.site-utility-actions {
  display: flex;
  align-items: center;
}

.institutional-menu {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.institutional-item {
  position: relative;
}

.institutional-item+.institutional-item::before {
  content: "";
  position: absolute;
  left: -0.48rem;
  top: 50%;
  width: 1px;
  height: 9px;
  background: rgba(31, 33, 72, 0.12);
  transform: translateY(-50%);
}

.institutional-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 20px;
  font-family: var(--font-mono);
  font-size: 0.69rem;
  font-weight: 500;
  letter-spacing: 0.035em;
  color: var(--header-panel-text-soft);
  transition: color 200ms ease, opacity 200ms ease;
}

.institutional-link--trigger i {
  font-size: 0.62rem;
  transition: transform 200ms ease;
}

.institutional-submenu {
  position: absolute;
  z-index: 12;
  top: 100%;
  left: 50%;
  min-width: 100px;
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--header-border);
  border-radius: 4px;
  background: var(--surface-strong);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(2px);
  transition: opacity 120ms ease, transform 120ms ease, visibility 120ms ease;
}

.institutional-submenu::before {
  content: none;
}

.institutional-submenu li {
  position: relative;
}

.institutional-submenu li+li {
  margin-top: 0.1rem;
}

.institutional-submenu a {
  display: flex;
  align-items: center;
  min-height: 22px;
  padding: 0.05rem 0.6rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-soft);
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  transition: color 120ms ease;
}

.institutional-link:hover,
.institutional-link:focus-visible {
  color: var(--brand-indigo);
}

.institutional-submenu a:hover,
.institutional-submenu a:focus-visible {
  color: var(--brand-primary);
}

.institutional-item--has-submenu:hover .institutional-submenu,
.institutional-item--has-submenu:focus-within .institutional-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.institutional-item--has-submenu:hover .institutional-link--trigger i,
.institutional-item--has-submenu:focus-within .institutional-link--trigger i {
  transform: rotate(180deg);
}


.site-nav {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1rem, 1.8vw, 1.65rem);
  height: 100%;
}

.site-nav--header {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.site-header-main {
  display: grid;
  grid-template-columns: minmax(280px, max-content) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1.2rem, 2vw, 1.9rem);
  min-height: 96px;
  padding: 0.82rem 0 0.78rem;
}

.site-nav--sticky {
  grid-template-rows: none;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(0.9rem, 1.6vw, 1.35rem);
  align-items: center;
}

.site-nav--sticky .site-nav__brand {
  align-items: center;
}

.site-nav--sticky .site-nav__menu {
  justify-content: flex-end;
}

.site-nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.header-wordmark {
  display: inline-grid;
  gap: 0.14rem;
  min-width: 0;
  max-width: min(100%, 36rem);
  padding-block: 0.08rem;
}

.header-wordmark__line {
  display: block;
  line-height: 0.94;
}

.header-wordmark__line--bold {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.04rem, 0.92rem + 0.42vw, 1.28rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--header-panel-text-soft);
}

.header-wordmark__line--black {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.92rem, 1.58rem + 0.76vw, 2.55rem);
  /* letter-spacing: 0.015em; */
  text-transform: uppercase;
  color: var(--institutional-blue);
}

.header-wordmark__accent {
  color: var(--brand-accent-strong);
}

.header-logo {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  max-width: 150px;
  /* padding: 0.45rem 0.25rem 0.45rem 0.55rem; */
  overflow: hidden;
  transition:
    max-width 420ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 360ms ease,
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    padding 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.header-logo img {
  height: 96px;
  width: auto;
  transition: height 420ms cubic-bezier(0.22, 1, 0.36, 1), opacity 340ms ease, transform 420ms cubic-bezier(0.22, 1, 0.36, 1), filter 340ms ease;
}

.header-logo__image--dark {
  display: none;
}

html[data-theme="dark"] .header-logo__image--light {
  display: none;
}

html[data-theme="dark"] .header-logo__image--dark {
  display: block;
}

.site-nav__menu {
  display: flex;
  justify-content: center;
  width: 100%;
  min-width: 0;
}

.site-nav__menu--header {
  justify-content: center;
  align-self: center;
  min-width: 0;
  text-align: right;
}

.site-menu,
.mobile-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.28rem, 0.55vw, 0.58rem);
}

.site-nav__menu--header .site-menu {
  justify-content: end;
  gap: clamp(0.28rem, 0.55vw, 0.52rem);
  width: 100%;
  margin-left: auto;
}

.site-nav__menu--sticky .site-menu {
  justify-content: center;
  gap: clamp(0.24rem, 0.45vw, 0.44rem);
}

.site-menu a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 0.9rem;
  border-radius: var(--radius-control);
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--header-panel-text-soft);
  transition: color 180ms ease, opacity 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
  border: 1px solid transparent;
  position: relative;
  isolation: isolate;
}

.site-menu__item--cta > .site-menu__link,
.site-menu__item--cta > .site-menu__link:hover,
.site-menu__item--cta > .site-menu__link:focus-visible {
  min-height: 48px;
  padding: 0 1.05rem;
  border-radius: var(--radius-small);
  gap: 0.45rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #fff;
  background: linear-gradient(135deg, var(--institutional-blue) 0%, #325895 100%) !important;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 22px rgba(27, 46, 81, 0.12);
  transition: color 180ms ease, opacity 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-menu__item--cta > .site-menu__link i {
  font-size: 0.86rem;
}

.site-menu__item--cta > .site-menu__link:hover,
.site-menu__item--cta > .site-menu__link:focus-visible {
  color: #fff;
  background: linear-gradient(135deg, #2f568d 0%, #3b679f 100%) !important;
  border-color: rgba(255, 255, 255, 0.18);
  transform: none !important;
  box-shadow: 0 10px 22px rgba(27, 46, 81, 0.12);
}

.mobile-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(31, 33, 72, 0.74);
  transition: color 200ms ease, background 200ms ease, transform 200ms ease;
}

.mobile-menu__item--cta > .mobile-menu__link,
.mobile-menu__item--cta > .mobile-menu__link:hover,
.mobile-menu__item--cta > .mobile-menu__link:focus-visible {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  margin-top: 10px;
  border-radius: var(--radius-small);
  gap: 0.45rem;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.08) 100%);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.mobile-menu__item--cta > .mobile-menu__link i {
  font-size: 0.86rem;
}

.mobile-menu__item--cta > .mobile-menu__link:hover,
.mobile-menu__item--cta > .mobile-menu__link:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.mobile-menu a:hover {
  color: var(--brand-primary);
}

.site-menu .current-menu-item a,
.site-menu a:hover,
.site-menu a:focus-visible {
  color: var(--interactive-hover-text);
  background: var(--menu-hover-bg);
  border-color: var(--menu-hover-border);
}

.site-menu a::after {
  content: none;
}

.site-header .site-nav__menu--header .site-menu .current-menu-item a,
.site-header .site-nav__menu--header .site-menu a:hover,
.site-header .site-nav__menu--header .site-menu a:focus-visible {
  background: var(--menu-hover-bg);
  border-color: var(--menu-hover-border);
}

.site-nav__right {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0;
}

.site-nav__right--desktop {
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  flex: 0 0 auto;
}

.site-nav__right--desktop .header-logo {
  justify-content: flex-end;
  flex: 0 0 auto;
  max-width: none;
  padding-left: 0;
  margin-left: 0;
  border-left: 0;
}

.site-nav__right--mobile {
  justify-content: flex-end;
  width: 100%;
  margin-left: auto;
}

.site-nav__right--mobile .site-nav__toggle {
  margin-left: auto;
}

.site-nav__toggle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-small);
  background: transparent;
  color: var(--header-panel-text);
}

.site-header .site-theme-toggle,
.site-header-sticky .site-theme-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--brand-accent);
  border-radius: 3px;
  background: var(--brand-accent);
  color: #fff;
  cursor: pointer;
  transition: background-color 220ms ease, border-color 220ms ease, color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.site-header .site-theme-toggle:hover,
.site-header .site-theme-toggle:focus-visible,
.site-header-sticky .site-theme-toggle:hover,
.site-header-sticky .site-theme-toggle:focus-visible {
  background: var(--brand-accent-strong);
  border-color: var(--brand-accent-strong);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 0 0 3px rgba(23, 162, 184, 0.16);
}

.site-theme-toggle i {
  font-size: 0.85rem;
  line-height: 1;
}

.site-header-sticky .site-menu a {
  min-height: 42px;
  padding: 0 0.82rem;
  font-size: 1rem;
}

.site-header-sticky .site-theme-toggle {
  width: 38px;
  height: 38px;
}

.site-header-sticky .site-menu__item--cta {
  flex: 0 0 auto;
}

.site-header-sticky .site-menu__item--cta > .site-menu__link {
  display: inline-grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  align-items: center;
  justify-content: center;
  column-gap: 0.45rem;
  min-width: 9.25rem;
  height: 42px;
  min-height: 42px;
  padding: 0 1rem;
  white-space: nowrap;
  transform: none !important;
  box-shadow: none;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
  font-size: 1rem !important;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1;
}

html[data-theme="dark"] .site-header .site-nav__menu--header .site-menu__item--cta > .site-menu__link {
  color: #fff !important;
  background: linear-gradient(135deg, var(--brand-accent) 0%, var(--brand-accent-strong) 100%) !important;
  border-color: rgba(255, 255, 255, 0.1);
}

.site-header-sticky .site-menu__item--cta > .site-menu__link i {
  width: 0.9rem;
  display: inline-flex;
  justify-content: center;
  font-size: 0.86rem;
}

.site-header-sticky .site-menu__item--cta > .site-menu__link:hover,
.site-header-sticky .site-menu__item--cta > .site-menu__link:focus-visible {
  transform: none !important;
  box-shadow: none;
  min-width: 9.25rem;
  height: 42px;
  min-height: 42px;
  padding: 0 1rem;
  font-size: 1rem !important;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1;
}

.site-header-sticky .header-wordmark__line--bold {
  font-size: clamp(0.82rem, 0.72rem + 0.26vw, 0.96rem);
}

.site-header-sticky .header-wordmark__line--black {
  font-size: clamp(1.34rem, 1.16rem + 0.4vw, 1.62rem);
}

.site-nav__toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: var(--radius-pill);
  background: currentColor;
}

.site-nav__toggle span+span {
  margin-top: 0;
}

.offcanvas-shell {
  background: linear-gradient(180deg, var(--brand-indigo) 0%, var(--brand-indigo-strong) 100%);
  color: #fff;
  border-left: 0;
}

.offcanvas-header {
  align-items: flex-start;
  padding: 28px 24px 16px;
}

.offcanvas-shell .header-wordmark {
  gap: 0.22rem;
  max-width: 100%;
}

.offcanvas-shell .header-wordmark__line--bold,
.offcanvas-shell .header-wordmark__line--black {
  color: #fff;
}

.header-wordmark--mobile .header-wordmark__line--bold {
  font-size: clamp(0.66rem, 2.9vw, 0.82rem);
}

.header-wordmark--mobile .header-wordmark__line--black {
  font-size: clamp(1.14rem, 5.3vw, 1.46rem);
}

.offcanvas-body {
  /* display: grid; */
  gap: 28px;
  padding: 0 24px 32px;
}

.mobile-menu {
  display: grid;
  gap: 0;
  margin-top: 30px;
}

.mobile-menu li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.mobile-menu li:first-child {
  /* border-top: 1px solid rgba(255, 255, 255, 0.18); */
  padding: 0px;
}

.mobile-menu a {
  display: flex;
  align-items: center;
  width: 100%;
  /* min-height: 64px; */
  /* padding: 0.95rem 0; */
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.9);
  transition: color 180ms ease, opacity 180ms ease;
}

.offcanvas-shell .mobile-menu a:hover,
.offcanvas-shell .mobile-menu a:focus-visible {
  color: #fff;
  background: transparent;
  transform: none;
}

.offcanvas-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}

.site-theme-toggle--mobile {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-contrast);
  color: #fff;
}

.site-theme-toggle--mobile:hover {
  background: var(--interactive-hover-bg);
  border-color: var(--interactive-hover-border);
  color: #fff;
}

.home .site-header {
  background: var(--header-surface-strong);
  border-bottom-color: var(--header-border);
  box-shadow: none;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

html[data-theme="dark"] .home .site-header {
  background: var(--header-surface-strong);
  border-bottom-color: var(--header-border);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
}

html[data-theme="dark"] .home .site-header .header-wordmark__line--bold,
html[data-theme="dark"] .home .site-header .institutional-link,
html[data-theme="dark"] .home .site-header .site-menu a,
html[data-theme="dark"] .home .site-header .site-theme-toggle,
html[data-theme="dark"] .home .site-header .site-nav__toggle {
  color: var(--header-panel-text-soft);
}

html[data-theme="dark"] .home .site-header .header-wordmark__line--black {
  color: var(--header-panel-text);
}

html[data-theme="dark"] .home .site-header .site-theme-toggle {
  background: #fff;
  border-color: #fff;
  color: var(--brand-accent-strong);
}

html[data-theme="dark"] .site-header-sticky .site-theme-toggle {
  background: #fff;
  border-color: #fff;
  color: var(--brand-accent-strong);
}

html[data-theme="dark"] .home .site-header .site-theme-toggle:hover,
html[data-theme="dark"] .home .site-header .site-theme-toggle:focus-visible,
html[data-theme="dark"] .site-header-sticky .site-theme-toggle:hover,
html[data-theme="dark"] .site-header-sticky .site-theme-toggle:focus-visible {
  background: #fff;
  border-color: #fff;
  color: var(--brand-accent-strong);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.18);
}

html[data-theme="dark"] .site-menu__item--cta > .site-menu__link,
html[data-theme="dark"] .site-menu__item--cta > .site-menu__link:hover,
html[data-theme="dark"] .site-menu__item--cta > .site-menu__link:focus-visible {
  background: linear-gradient(135deg, var(--brand-accent) 0%, var(--brand-accent-strong) 100%) !important;
  border-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

html[data-theme="dark"] .site-menu__item--cta > .site-menu__link:hover,
html[data-theme="dark"] .site-menu__item--cta > .site-menu__link:focus-visible {
  background: linear-gradient(135deg, #56c7d8 0%, var(--brand-accent-strong) 100%) !important;
  transform: none !important;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

html[data-theme="dark"] .home .site-header .site-nav__menu--header .site-menu__item--cta > .site-menu__link,
html[data-theme="dark"] .home .site-header .site-nav__menu--header .site-menu__item--cta > .site-menu__link:hover,
html[data-theme="dark"] .home .site-header .site-nav__menu--header .site-menu__item--cta > .site-menu__link:focus-visible {
  color: #fff !important;
}

html[data-theme="dark"] .home .site-header .site-nav__toggle {
  border-color: var(--border-default);
  background: transparent;
}

.home-hero {
  --hero-space-progress: 0;
  /* min-height: min(100svh, 760px); */
  padding-top: clamp(1.6rem, 2.4vw, 2.35rem);
  padding-bottom: clamp(5.8rem, 9vw, 7.8rem);
  background: linear-gradient(180deg, #29347f 0%, #273377 100%);
  /* border-bottom-left-radius: var(--radius-section); */
  /* border-bottom-right-radius: var(--radius-section); */
  color: #fff;
  overflow: clip;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    conic-gradient(from 210deg at 0% 20%, rgba(108, 199, 255, 0.16), transparent 38%),
    conic-gradient(from 20deg at 100% 10%, rgba(39, 166, 255, 0.22), transparent 34%),
    linear-gradient(135deg, rgba(72, 175, 255, 0.08) 0 18%, transparent 18% 100%),
    linear-gradient(180deg, rgba(9, 16, 58, 0.08) 0%, rgba(9, 16, 58, 0.24) 100%);
  pointer-events: none;
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 18%, rgba(255, 255, 255, 0.78) 0 1px, transparent 1.4px),
    radial-gradient(circle at 22% 24%, rgba(255, 215, 102, 0.9) 0 1.8px, transparent 2.1px),
    radial-gradient(circle at 30% 12%, rgba(255, 255, 255, 0.52) 0 1px, transparent 1.4px),
    radial-gradient(circle at 38% 20%, rgba(255, 255, 255, 0.64) 0 1.1px, transparent 1.5px),
    radial-gradient(circle at 48% 14%, rgba(111, 227, 255, 0.88) 0 1.6px, transparent 1.9px),
    radial-gradient(circle at 58% 28%, rgba(255, 255, 255, 0.56) 0 1px, transparent 1.4px),
    radial-gradient(circle at 68% 18%, rgba(255, 255, 255, 0.76) 0 1.1px, transparent 1.5px),
    radial-gradient(circle at 78% 26%, rgba(195, 121, 255, 0.86) 0 1.6px, transparent 1.9px),
    radial-gradient(circle at 88% 16%, rgba(255, 255, 255, 0.68) 0 1px, transparent 1.4px),
    radial-gradient(circle at 94% 28%, rgba(135, 221, 255, 0.94) 0 1.7px, transparent 2px),
    radial-gradient(circle at 14% 42%, rgba(255, 255, 255, 0.52) 0 1px, transparent 1.4px),
    radial-gradient(circle at 24% 56%, rgba(255, 171, 221, 0.9) 0 1.7px, transparent 2px),
    radial-gradient(circle at 36% 48%, rgba(255, 255, 255, 0.58) 0 1.1px, transparent 1.5px),
    radial-gradient(circle at 46% 62%, rgba(255, 255, 255, 0.68) 0 1.1px, transparent 1.5px),
    radial-gradient(circle at 57% 52%, rgba(255, 215, 102, 0.92) 0 1.7px, transparent 2px),
    radial-gradient(circle at 68% 60%, rgba(255, 255, 255, 0.42) 0 1px, transparent 1.4px),
    radial-gradient(circle at 78% 46%, rgba(96, 227, 255, 0.9) 0 1.6px, transparent 1.9px),
    radial-gradient(circle at 88% 54%, rgba(255, 255, 255, 0.74) 0 1px, transparent 1.4px),
    radial-gradient(circle at 18% 78%, rgba(255, 255, 255, 0.58) 0 1.1px, transparent 1.5px),
    radial-gradient(circle at 34% 84%, rgba(195, 121, 255, 0.84) 0 1.5px, transparent 1.8px),
    radial-gradient(circle at 48% 76%, rgba(255, 255, 255, 0.66) 0 1.1px, transparent 1.5px),
    radial-gradient(circle at 62% 88%, rgba(255, 171, 221, 0.9) 0 1.6px, transparent 1.9px),
    radial-gradient(circle at 76% 80%, rgba(255, 255, 255, 0.48) 0 1px, transparent 1.4px),
    radial-gradient(circle at 90% 86%, rgba(255, 255, 255, 0.76) 0 1.1px, transparent 1.5px);
  opacity: 1;
  pointer-events: none;
}

.home-hero .wrapper {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  min-height: clamp(420px, calc(100svh - var(--header-height) - 8rem), 560px);
  padding-top: clamp(0.8rem, 1.6vw, 1.4rem);
}



.hero-copy {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 1.1rem;
}

.hero-copy--center {
  /* max-width: 860px; */
  margin: 0 auto;
  text-align: center;
  align-items: center;
}

.hero-copy--center .display-title,
.hero-copy--center .hero-subtitle {
  margin-inline: auto;
}


.editorial-split,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.editorial-frame {
  --editorial-offset: clamp(1.4rem, 2.6vw, 2.35rem);
  --editorial-float-bottom: clamp(-3.6rem, -4vw, -2.7rem);
  --editorial-float-width: min(56%, 450px);
  position: relative;
  isolation: isolate;
  overflow: visible;
  padding-bottom: clamp(3.6rem, 5vw, 4.6rem);
  border-radius: var(--section-radius);
  background: transparent;
}


.editorial-frame>img:not(.editorial-frame__floating) {
  position: relative;
  z-index: 2;
  display: block;
  width: calc(100% - var(--editorial-offset));
  margin-left: auto;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: center;
  border-radius: 3px;
}

.editorial-frame__floating {
  position: absolute;
  left: 0;
  bottom: var(--editorial-float-bottom);
  z-index: 3;
  width: var(--editorial-float-width);
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border: 10px solid rgba(255, 255, 255, 0.94);
  border-radius: 3px;
  background: var(--surface-strong);
  outline: 1px solid rgba(255, 255, 255, 0.72);
  outline-offset: -11px;
}

.editorial-frame__caption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  display: grid;
  gap: 0.45rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-medium);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 36px rgba(14, 18, 54, 0.18);
  backdrop-filter: blur(12px);
}

.editorial-frame__caption span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.editorial-frame__caption strong {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2vw, 2.05rem);
  line-height: 0.96;
  letter-spacing: -0.02em;
  color: #fff;
  text-transform: uppercase;
}

.editorial-copy,
.contact-copy {
  display: grid;
  gap: 0.85rem;
}

.editorial-copy--overview {
  gap: 1.2rem;
}





.site-menu__theme-item {
  margin-left: 0.25rem;
}

html[data-theme="dark"] .site-menu a,
html[data-theme="dark"] .mobile-menu a,
html[data-theme="dark"] .site-theme-toggle {
  color: rgba(247, 243, 255, 0.84);
}

html[data-theme="dark"] .institutional-link {
  color: var(--header-panel-text-soft);
}

html[data-theme="dark"] .institutional-item+.institutional-item::before {
  background: var(--border-default);
}

html[data-theme="dark"] .institutional-submenu {
  border-color: var(--border-default);
  background: var(--header-surface-strong);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.22);
}

html[data-theme="dark"] .institutional-submenu a {
  color: rgba(247, 243, 255, 0.82);
}

html[data-theme="dark"] .header-wordmark__line--bold {
  color: rgba(247, 243, 255, 0.72);
}

html[data-theme="dark"] .header-wordmark__line--black {
  color: rgba(247, 243, 255, 0.96);
}

html[data-theme="dark"] .site-theme-toggle {
  border-color: var(--border-default);
  background: linear-gradient(180deg, rgba(18, 31, 52, 0.92), rgba(13, 24, 41, 0.96));
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}

html[data-theme="dark"] .site-theme-toggle:hover,
html[data-theme="dark"] .site-theme-toggle:focus-visible {
  background: var(--interactive-hover-bg);
  border-color: var(--interactive-hover-border);
  color: var(--interactive-hover-text);
  box-shadow: 0 0 0 3px var(--hover-ring);
}

html[data-theme="dark"] .institutional-submenu a:hover,
html[data-theme="dark"] .institutional-submenu a:focus-visible {
  background: var(--menu-hover-bg);
  color: var(--interactive-hover-text);
}

html[data-theme="dark"] .site-nav__toggle {
  background: transparent;
  border-color: var(--border-default);
  color: rgba(247, 243, 255, 0.92);
}

/* Dark mode section backgrounds moved to new section-specific rules */

html[data-theme="dark"] .scroll-btn {
  /* background: rgba(15, 16, 47, 0.96); */
  color: #f7f3ff;
  /* box-shadow: 0 20px 42px rgba(0, 0, 0, 0.34); */
}

html[data-theme="dark"] .scroll-btn .bg {
  stroke: rgba(255, 255, 255, 0.14);
}

.contact-meta {
  display: grid;
  gap: 0;
  margin-top: 0.5rem;
}

.contact-meta__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.contact-meta__row:last-child {
  border-bottom: 1px solid var(--line);
}

.contact-meta__group {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

.contact-meta__icon {
  display: inline-grid;
  place-items: center;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 0.85rem;
  background: rgba(23, 162, 184, 0.1);
  color: var(--brand-primary);
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-meta__group>span {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-primary);
}

.contact-meta__row strong {
  text-align: right;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.contact-meta__row:hover .contact-meta__icon {
  background: rgba(23, 162, 184, 0.16);
}


.footer {
  position: relative;
  overflow: hidden;
  margin-top: 0;
  color: rgba(255, 255, 255, 0.92);
  background: linear-gradient(180deg, #17345f 0%, #14305a 52%, #102543 100%);
}

html[data-theme="dark"] .footer {
  background: linear-gradient(180deg, #123048 0%, #10293f 50%, #0d2235 100%);
}

.footer::before {
  content: "";
  position: absolute;
  left: max(20px, calc((100vw - var(--wrapper-max)) / 2));
  bottom: 0;
  width: min(38vw, 1000px);
  height: 8px;
  background: linear-gradient(
    90deg,
    var(--corp-blue) 0%,
    var(--corp-blue) 58%,
    var(--corp-silver) 58%,
    var(--corp-silver) 76%,
    var(--corp-yellow) 76%,
    var(--corp-yellow) 89%,
    var(--corp-red) 89%,
    var(--corp-red) 100%
  );
  opacity: 0.96;
  box-shadow: none;
  pointer-events: none;
}

.footer::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0%, transparent 18%),
    radial-gradient(circle at 86% 16%, rgba(255, 255, 255, 0.05), transparent 20%);
  pointer-events: none;
}

html[data-theme="dark"] .footer::after {
  background:
    linear-gradient(90deg, rgba(75, 197, 216, 0.05) 0%, transparent 24%),
    radial-gradient(circle at 84% 18%, rgba(75, 197, 216, 0.08), transparent 22%);
}

.footer > .wrapper.row.w-100 {
  position: relative;
  min-height: 100%;
  padding-top: clamp(2.5rem, 4vw, 3.5rem);
  padding-bottom: clamp(2rem, 3vw, 2.75rem);
}

.footer > .wrapper.row.w-100 > * {
  position: relative;
  z-index: 1;
}

.footer-cortina h3,
.footer-cortina h6 {
  color: #fff;
}

.footer-cortina p {
  color: rgba(255, 255, 255, 0.86);
}

.footer strong {
  color: #fff;
}

footer a {
  color: #fff;
  text-decoration: none;
}

.footer .footer-brand-image {
  width: auto;
  height: 106px;
  max-width: none;
  filter: brightness(0) invert(1);
}

.footer-brand-cluster {
  display: inline-flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: nowrap;
}

.footer .footer-anniversary-image {
  width: auto;
  height: 154px;
  max-width: none;
}

.footer .footer-seal {
  width: min(400px, 100%);
  height: auto;
}

.footer-menu {
  align-self: flex-start;
}

.footer-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

.footer-menu__list li + li {
  margin-top: 0.3rem;
}

.footer-menu__list a {
  display: block;
  padding: 0.18rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.84);
  transition: color 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.footer-menu__list a:hover,
.footer-menu__list a:focus-visible {
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.28);
  transform: translateX(2px);
}

.footer .section-social {
  position: relative;
  overflow: visible;
}

.footer .icons {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.footer .icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.15rem;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.footer .icons a:hover,
.footer .icons a:focus-visible {
  transform: scale(1.12);
  background: rgba(255, 255, 255, 0.2);
}

html[data-theme="dark"] .footer .icons a {
  background: rgba(127, 180, 230, 0.12);
  color: #f4f8fc;
}

html[data-theme="dark"] .footer .icons a:hover,
html[data-theme="dark"] .footer .icons a:focus-visible {
  background: rgba(75, 197, 216, 0.18);
}

.footer .icon-footer {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 2px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: #fff;
  font-size: 1rem;
}

.footer .footer-svg {
  right: 15%;
  bottom: -20px;
  max-width: 500px;
  pointer-events: none;
  opacity: 0.92;
}

.footer .footer-svg path {
  fill: rgba(255, 255, 255, 0.12) !important;
}

.footer [id="footerYear"] {
  color: #fff;
}

@media (max-width: 767px) {
  .footer::before {
    left: 20px;
    width: min(44vw, 170px);
    height: 7px;
  }
}

.scroll-btn {
  position: fixed;
  right: 18px;
  bottom: 20px;
  z-index: 60;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: var(--radius-small);
  background: transparent;
  color: var(--brand-indigo);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease, transform 200ms ease, box-shadow 220ms ease, background 220ms ease, color 220ms ease;
}

.scroll-btn:hover {
  transform: translateY(-2px);
}

.scroll-btn .progress-square {
  position: absolute;
  inset: 3px;
  width: calc(100% - 6px);
  height: calc(100% - 6px);
}

.scroll-btn .bg,
.scroll-btn .progress {
  fill: none;
  stroke-width: 2.5;
}

.scroll-btn .bg {
  stroke: rgba(255, 255, 255, 0.28);
}

.scroll-btn .progress {
  stroke: var(--brand-primary);
  stroke-linecap: round;
  transform-origin: 50% 50%;
  height: 42px;
}

.scroll-btn .arrow {
  position: relative;
  z-index: 1;
  font-size: 1.1rem;
  font-weight: 700;
}

.scroll-btn.footer-contrast {
  color: #fff;
}

.scroll-btn.footer-contrast .progress {
  stroke: #fff;
}

.scroll-btn.footer-contrast .arrow {
  color: #fff;
}

html[data-theme="dark"] .scroll-btn {
  color: #f7f3ff;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, var(--reveal-y, 22px), 0) scale(var(--reveal-scale, 0.985));
  transition:
    opacity var(--reveal-duration, 780ms) ease,
    transform var(--reveal-duration, 780ms) ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-inview {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}


/* =========================================================
   Ajustes visuales para acercar la raiz al lenguaje UBB
   ========================================================= */

::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

::-webkit-scrollbar-track {
  border-radius: 0;
}

::-webkit-scrollbar-thumb {
  border-radius: 0;
  background: #162f5a;
}

::-webkit-scrollbar-thumb:window-inactive {
  background: #162f5a;
}

::selection {
  background: rgba(23, 162, 184, 0.24);
}

:focus-visible {
  outline-color: rgba(23, 162, 184, 0.92);
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  background: rgba(244, 246, 246, 0.92);
  backdrop-filter: blur(10px);
  transition: opacity 260ms ease, visibility 260ms ease;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader__inner {
  display: grid;
  justify-items: center;
  gap: 0;
}

.page-loader__ring {
  width: 38px;
  height: 38px;
  border: 2px solid rgba(29, 60, 113, 0.14);
  border-top-color: var(--brand-teal);
  border-radius: 50%;
  animation: page-loader-spin 0.8s linear infinite;
}

@keyframes page-loader-spin {
  to {
    transform: rotate(360deg);
  }
}

.site-header,
.home .site-header {
  height: auto;
  min-height: var(--header-height);
  background: #ffffff;
  border-bottom: 0;
  box-shadow: none;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: visible;
}

.site-header>.wrapper {
  flex: 0 0 auto;
  min-height: auto;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--header-corporate-line);
  opacity: 0.92;
  pointer-events: none;
}

.site-header-sticky {
  height: var(--header-height-compact);
  min-height: var(--header-height-compact);
  background: #ffffff;
  border-bottom: 0;
  box-shadow: 0 14px 32px rgba(27, 46, 81, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-header-sticky::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--header-corporate-line);
  opacity: 0.78;
  pointer-events: none;
}

.site-utility-bar {
  border-bottom: 1px solid var(--border-default);
  background: #ffffff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  padding: 0;
  max-width: none;
  width: 100%;
  margin: 0 auto;
}

.site-utility-shell {
  /* justify-content: space-between; */
  gap: 1.5rem;
  min-height: 42px;
  padding: 0.08rem 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.site-utility-nav {
  margin-left: 0;
}

.institutional-menu {
  justify-content: flex-start;
  gap: 1.45rem;
}

.institutional-link {
  min-height: 18px;
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(27, 46, 81, 0.76);
  transition: color 180ms ease;
}

.site-utility-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  min-height: 28px;
}


.institutional-item+.institutional-item::before {
  left: -0.74rem;
  width: 1px;
  height: 10px;
  background: var(--border-default);
}

.institutional-link:hover,
.institutional-link:focus-visible {
  color: var(--interactive-hover-text);
}

.institutional-submenu {
  z-index: 12;
  top: calc(100% + 0.55rem);
  left: 50%;
  min-width: 200px;
  width: max-content;
  margin: 0;
  padding: 0.55rem;
  border: 1px solid var(--border-default);
  border-radius: 3px;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  border-top: 0px;
  background: #ffffff;
  box-shadow: 0 20px 40px rgba(27, 46, 81, 0.1);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(6px) scaleY(0.98);
  transform-origin: top center;
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.institutional-submenu::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 12px;
  height: 12px;
  background: inherit;
  border-left: 1px solid var(--header-border);
  border-top: 1px solid var(--header-border);
  transform: translate(-50%, -50%) rotate(45deg);
}

.institutional-submenu li {
  position: relative;
}

.institutional-submenu li+li {
  margin-top: 0.1rem;
}

.institutional-submenu a {
  display: flex;
  align-items: center;
  min-height: 30px;
  padding: 0rem 0.82rem;
  border: 1px solid transparent;
  border-radius: 0px;
  font-family: var(--font-body);
  font-size: 0.90rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--header-panel-text);
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.institutional-submenu a:hover,
.institutional-submenu a:focus-visible {
  background: var(--menu-hover-bg);
  color: var(--interactive-hover-text);
  border-color: var(--menu-hover-border);
}


.site-utility-actions {
  display: flex;
  align-items: center;
  padding-left: 0.85rem;
  margin-left: 0.25rem;
  border-left: 1px solid var(--header-border);
}


.site-header-sticky .header-wordmark__line--bold {
  color: var(--header-panel-text-soft);
}

.site-header-sticky .header-wordmark__line--black {
  color: var(--header-panel-text);
}

.site-header-sticky .header-wordmark__accent {
  color: var(--brand-accent-strong);
}


.offcanvas-shell {
  background: linear-gradient(180deg, var(--institutional-blue) 0%, var(--institutional-blue-strong) 100%);
}

.home-hero {
  padding-bottom: clamp(3.8rem, 5.8vw, 4rem);
  background: linear-gradient(125deg, #1b2e51 0%, #1d3c71 58%, #17a2b8 100%);
}

.home-hero::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 100%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, rgba(7, 18, 37, 0.08) 0%, rgba(7, 18, 37, 0.28) 100%);
  background-size: 120px 120px, 120px 120px, auto;
}

.home-hero::after {
  opacity: 0.34;
}


.hero-subtitle {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(1.12rem, 2vw, 1.42rem);
  line-height: 1.25;
}

.home-hero .wrapper {
  min-height: clamp(360px, calc(100svh - var(--header-height) - 10rem), 500px);
  padding-top: clamp(0.5rem, 1vw, 0.9rem);
}


/* Section backgrounds are defined in the new section-specific rules below */

.editorial-frame::before {
  /* content: ""; */
  position: absolute;
  inset: 0 var(--editorial-offset) 0 0;
  border-radius: var(--section-radius);
  background: linear-gradient(180deg, #d9dfe5 0%, #eef2f5 100%);
}

.editorial-frame__floating {
  /* border: 8px solid rgba(255, 255, 255, 0.96); */
  /* outline: 1px solid rgba(217, 223, 229, 0.72); */
  /* outline-offset: -9px; */
}

.editorial-frame__caption {
  background: rgba(27, 46, 81, 0.9);
  box-shadow: 0 18px 36px rgba(27, 46, 81, 0.18);
  backdrop-filter: blur(8px);
}




html[data-theme="dark"] .page-loader {
  background: rgba(10, 18, 32, 0.94);
}

html[data-theme="dark"] .page-loader__ring {
  border-color: rgba(255, 255, 255, 0.12);
  border-top-color: var(--brand-teal);
}

html[data-theme="dark"] .site-header,
html[data-theme="dark"] .site-header-sticky {
  background: var(--header-surface-strong);
  border-bottom-color: var(--header-border);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
}

html[data-theme="dark"] .site-header::after,
html[data-theme="dark"] .site-header-sticky::after {
  opacity: 0.84;
}

html[data-theme="dark"] .site-utility-bar {
  border-color: var(--border-default);
  border-top: 0;
  background: transparent;
}

html[data-theme="dark"] .site-utility-shell {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}


html[data-theme="dark"] .site-menu .current-menu-item a,
html[data-theme="dark"] .site-menu a:hover,
html[data-theme="dark"] .mobile-menu a:hover,
html[data-theme="dark"] .institutional-link:hover,
html[data-theme="dark"] .institutional-link:focus-visible {
  color: var(--interactive-hover-text);
}

html[data-theme="dark"] .site-menu .current-menu-item a,
html[data-theme="dark"] .site-menu a:hover {
  background: var(--menu-hover-bg);
  border-color: var(--menu-hover-border);
}

html[data-theme="dark"] .site-header .site-nav__menu--header .site-menu .current-menu-item a,
html[data-theme="dark"] .site-header .site-nav__menu--header .site-menu a:hover {
  background: var(--menu-hover-bg);
  border-color: var(--menu-hover-border);
}

/* Dark mode section backgrounds moved to new section-specific rules */

@media (max-width: 1199px) {

  .editorial-split,
  .contact-layout,
  .highlights-layout {
    grid-template-columns: 1fr;
  }

  :root {
    --header-height: 128px;
    --header-height-compact: 74px;
  }

  .header-wordmark__line--bold {
    font-size: 1.08rem;
  }

  .header-wordmark__line--black {
    font-size: clamp(1.95rem, 1.6rem + 0.9vw, 2.3rem);
  }

  .institutional-menu {
    gap: 0.9rem;
  }

  .institutional-link {
    font-size: 0.68rem;
  }

  .site-menu {
    gap: 0.3rem;
  }

  .site-header-main {
    grid-template-columns: minmax(220px, max-content) minmax(0, 1fr) auto;
    min-height: 90px;
    padding: 0.46rem 0 0.38rem;
  }

  .site-nav__menu--header .site-menu {
    gap: 0.08rem;
  }

  .site-menu a {
    min-height: 44px;
    padding-inline: 0.78rem;
    font-size: 0.88rem;
    letter-spacing: 0.02em;
  }

  .header-logo img {
    height: 76px;
  }

  .editorial-frame__floating {
    width: min(38%, 220px);
    bottom: -2.6rem;
  }

}

@media (max-width: 991px) {
  :root {
    --header-height: 96px;
    --header-height-compact: 78px;
  }

  .wrapper {
    width: min(100% - 3rem, var(--wrapper-max));
  }

  .header-logo {
    max-width: 98px;
  }

  .site-header-main {
    min-height: 86px;
    padding: 0.45rem 0;
    grid-template-columns: auto 1fr auto;
  }

  .site-nav__right--mobile {
    min-width: max-content;
  }

  .header-logo img {
    height: 74px;
  }

  .editorial-frame__floating {
    width: min(40%, 200px);
    bottom: -2rem;
  }


}

@media (max-width: 767px) {
  .wrapper {
    width: min(100% - 3rem, var(--wrapper-max));
  }

  .section-shell {
    padding: 4rem 0;
  }

  .site-nav {
    grid-template-columns: auto 1fr auto;
    gap: 12px;
  }

  .site-nav__brand {
    gap: 10px;
  }

  .site-nav__right--mobile {
    gap: 0.75rem;
  }

  .header-wordmark--mobile .header-wordmark__line--bold {
    font-size: 0.72rem;
  }

  .header-wordmark--mobile .header-wordmark__line--black {
    font-size: 1.24rem;
  }

  .editorial-frame__caption {
    left: 16px;
    right: 16px;
    bottom: 16px;
    padding: 0.9rem 0.95rem;
  }

  .editorial-frame__floating {
    width: min(46%, 170px);
    bottom: -1.4rem;
  }

  .editorial-frame__caption strong {
    font-size: clamp(1.1rem, 5vw, 1.5rem);
  }

  .overview-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .overview-note {
    max-width: none;
  }



  .header-wordmark__line--bold {
    font-size: 1rem;
  }

  .header-wordmark__line--black {
    font-size: 1.55rem;
  }

  .header-logo img {
    height: 66px;
  }

  .display-title {
    font-size: clamp(2.8rem, 11.4vw, 4.3rem);
  }

  .home-hero .display-title {
    font-size: clamp(3.05rem, 12.4vw, 4.85rem);
  }

  .hero-line--small {
    font-size: clamp(1.34rem, 5vw, 1.9rem);
  }

  .hero-subtitle {
    font-size: clamp(1.18rem, 5.8vw, 1.55rem);
  }

  .home-hero::after {
    inset: 0;
  }

  .home-hero .wrapper {
    min-height: clamp(360px, calc(100svh - var(--header-height) - 6rem), 460px);
    padding-top: 0.5rem;
  }



  .contact-meta__row {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-meta__row strong {
    text-align: left;
  }

  .footer > .wrapper {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .footer .icons a {
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

.error-page {
  background:
    radial-gradient(circle at top left, rgba(1, 72, 152, 0.08), transparent 32%),
    linear-gradient(180deg, #f7fafd 0%, #eef3f8 100%);
}

.error-page__code {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(6rem, 16vw, 12rem);
  line-height: 0.85;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-indigo));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.error-page__message {
  margin: 0.5rem 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  text-transform: uppercase;
  color: var(--text);
}

.error-page__description {
  margin: 1rem 0 2rem;
  max-width: 44ch;
  font-size: 1.05rem;
  color: var(--text-soft);
}

/* =========================================================
   404 hero
   ========================================================= */

.site-main--error {
  position: relative;
}

.error-hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: calc(100vh - var(--header-height));
  padding: clamp(3.5rem, 6vw, 6rem) 0;
  color: var(--text);
  overflow: hidden;
}

.error-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 15%, rgba(1, 72, 152, 0.12), transparent 28%),
    radial-gradient(circle at 90% 20%, rgba(23, 162, 184, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.error-hero .wrapper {
  position: relative;
  z-index: 1;
}

.error-hero__copy {
  display: grid;
  justify-items: center;
  gap: 1rem;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.error-hero__code {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(5rem, 14vw, 10rem);
  line-height: 0.85;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: rgba(1, 72, 152, 0.18);
}

.error-hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.96;
  text-transform: uppercase;
  color: var(--brand-indigo);
}

.error-hero__subtitle {
  margin: 0;
  max-width: 48ch;
  font-size: clamp(1rem, 1.6vw, 1.14rem);
  color: var(--text-soft);
}

.error-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 0.5rem;
}

html[data-theme="dark"] .error-page {
  background:
    radial-gradient(circle at top left, rgba(75, 197, 216, 0.08), transparent 32%),
    linear-gradient(180deg, #0f1828 0%, #122236 100%);
}

html[data-theme="dark"] .error-hero {
  color: #fff;
}

html[data-theme="dark"] .error-hero__code {
  color: rgba(75, 197, 216, 0.18);
}

html[data-theme="dark"] .error-hero__title {
  color: #fff;
}

html[data-theme="dark"] .error-hero__subtitle {
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 991.98px) {
  .error-hero {
    min-height: calc(100vh - var(--header-height-compact));
    padding: 2.5rem 0;
  }
}

@media (max-width: 575.98px) {
  .error-hero__actions {
    width: 100%;
    flex-direction: column;
  }

  .error-hero__actions .btn {
    width: 100%;
  }
}



/* =========================================================
   Dark mode comprehensive fixes
   ========================================================= */


html[data-theme="dark"] .contact-meta__group>span {
  color: var(--brand-teal);
}

html[data-theme="dark"] .contact-meta__icon {
  background: rgba(75, 197, 216, 0.12);
  color: var(--brand-teal);
}

html[data-theme="dark"] .page-body h2 {
  color: var(--brand-teal);
}

html[data-theme="dark"] .page-body blockquote {
  background: rgba(255, 255, 255, 0.03);
  border-left-color: var(--brand-teal);
}

html[data-theme="dark"] .section-eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

html[data-theme="dark"] .section-eyebrow::before {
  background: var(--brand-accent);
  box-shadow: 0 0 0 3px rgba(75, 197, 216, 0.18);
}


html[data-theme="dark"] .btn-accent-brand {
  --btn-bg: linear-gradient(135deg, var(--brand-accent) 0%, var(--brand-accent-strong) 100%);
  --btn-bg-hover: linear-gradient(135deg, #79d4e3 0%, var(--brand-accent-strong) 100%);
}


html[data-theme="dark"] ::-webkit-scrollbar-thumb {
  background: rgba(75, 197, 216, 0.32);
}

html[data-theme="dark"] ::-webkit-scrollbar-thumb:window-inactive {
  background: rgba(75, 197, 216, 0.18);
}

/* =========================================================
   1199px responsive additions
   ========================================================= */

@media (max-width: 1199px) {
  .header-wordmark__line--bold {
    font-size: 0.96rem;
  }

  .header-wordmark__line--black {
    font-size: clamp(1.56rem, 1.28rem + 0.62vw, 1.92rem);
  }
}

@media (max-width: 767px) {
  .header-wordmark__line--bold {
    font-size: 0.8rem;
  }

  .header-wordmark__line--black {
    font-size: 1.32rem;
  }
}
/* =========================================================
   Sesión de Rectores 2026 — estilos específicos
   ========================================================= */

/* Offset para anclas del menú: evita que el header fijo tape la sección */
section[id] {
  scroll-margin-top: calc(var(--header-height-compact) + 1px);
}

/* ── HERO: fondo geométrico institucional ─────── */
.home-hero {
  background:
    radial-gradient(ellipse at 22% 55%, rgba(14, 55, 130, 0.16) 0%, transparent 52%),
    linear-gradient(160deg, #050d1c 0%, #091b38 60%, #060f28 100%);
  position: relative;
  overflow: hidden;
}

/* Textura de puntos sutil */
.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
  z-index: 0;
}

/* Línea corporativa UBB en la parte superior */
.home-hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: var(--header-corporate-line);
  z-index: 3;
}

/* Contenedor de figuras geométricas decorativas */
.hero-geo {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

/* Gran bloque — paralelogramo derecho */
.hero-geo__block {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(12, 40, 105, 0.52) 0%, rgba(8, 28, 80, 0.46) 100%);
  clip-path: polygon(48% 0%, 100% 0%, 100% 100%, 33% 100%);
}

/* Línea acento teal — franja diagonal fina */
.hero-geo__accent {
  position: absolute;
  inset: 0;
  background: rgba(23, 162, 184, 0.35);
  clip-path: polygon(44.5% 0%, 46.5% 0%, 31.5% 100%, 29.5% 100%);
}

/* Segunda línea acento — más delgada y transparente */
.hero-geo__accent--2 {
  background: rgba(23, 162, 184, 0.14);
  clip-path: polygon(49.5% 0%, 50.8% 0%, 35.8% 100%, 34.5% 100%);
}

/* Triángulo esquina superior derecha — detalle */
.hero-geo__corner {
  position: absolute;
  inset: 0;
  background: rgba(5, 20, 58, 0.50);
  clip-path: polygon(72% 0%, 100% 0%, 100% 42%);
}

/* Contenido del hero sobre las figuras */
.home-hero .wrapper {
  position: relative;
  z-index: 2;
}

/* Ocultar la escena de planetas/estrellas */
.home-hero .hero-scene {
  display: none;
}

/* ── HERO: dark mode ── */
html[data-theme="dark"] .home-hero {
  background:
    radial-gradient(ellipse at 22% 55%, rgba(8, 30, 72, 0.12) 0%, transparent 52%),
    linear-gradient(160deg, #040c1a 0%, #060f24 60%, #040c1a 100%);
}

html[data-theme="dark"] .hero-geo__block {
  background: linear-gradient(160deg, rgba(8, 26, 70, 0.55) 0%, rgba(5, 18, 52, 0.50) 100%);
}

html[data-theme="dark"] .hero-geo__accent {
  background: rgba(15, 110, 128, 0.28);
}

html[data-theme="dark"] .hero-geo__accent--2 {
  background: rgba(15, 110, 128, 0.10);
}

html[data-theme="dark"] .hero-geo__corner {
  background: rgba(2, 8, 28, 0.60);
}

html[data-theme="dark"] .home-hero::before {
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
}

/* Ficha: efecto cristal más oscuro y discreto */
html[data-theme="dark"] .hero-ficha {
  background: rgba(0, 0, 0, 0.28);
  border-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .hero-ficha__item {
  border-right-color: rgba(255, 255, 255, 0.07);
}

/* Icono ficha: teal institucional apagado */
html[data-theme="dark"] .hero-ficha__icon {
  color: #0e8fa0;
  opacity: 0.85;
}

/* Acento del título: teal más oscuro, sin glow */
html[data-theme="dark"] .home-hero .title-accent {
  color: #0e8fa0;
  text-shadow: none;
}

/* Título hero: reducir tamaño */
.home-hero .display-title {
  font-size: clamp(1.7rem, 5.4vw, 7.8rem);
}

/* Ficha institucional (fecha, sede) */
.hero-ficha {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  background: rgba(255, 255, 255, 0.07);
  /* border: 1px solid rgba(255, 255, 255, 0.13); */
  border-radius: var(--radius-small);
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}

.hero-ficha__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 2.25rem;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.2s ease;
}

.hero-ficha__item:last-child {
  border-right: none;
}

.hero-ficha__icon {
  color: var(--institutional-teal);
  font-size: 1.75rem;
  flex-shrink: 0;
  opacity: 0.9;
}

.hero-ficha__copy {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  text-align: left;
}

.hero-ficha__label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: rgba(255, 255, 255, 0.45);
}

.hero-ficha__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  color: #fff;
  line-height: 1.15;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .hero-ficha {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-ficha__item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
  }
  .hero-ficha__item:last-child { border-bottom: none; }
  .hero-ficha__value {
    white-space: normal;
    font-size: clamp(1.1rem, 5vw, 1.4rem);
  }
}

/* ── Strip de logos institucionales ── */
.logos-strip {
  background: var(--bg);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 2rem 0;
}

.logos-strip__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(5.5rem, 7vw, 1rem);
  flex-wrap: wrap;
}

.logos-strip__item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logos-strip__img {
  display: block;
  height: 102px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
  transition: opacity 0.2s ease;
}

.logos-strip__img[src$="logo-3.svg"],
.logos-strip__img[src$="logo-4.svg"] { display: none; }

.logos-strip__item:has(.logos-strip__img[src$="logo-3.svg"]),
.logos-strip__item:has(.logos-strip__img[src$="logo-4.svg"]) { display: none; }

.logos-strip__img:hover { opacity: 1; }

.logos-strip__img--dark  { display: none; }
.logos-strip__img--light { display: block; }

html[data-theme="dark"] .logos-strip__img--light { display: none; }
html[data-theme="dark"] .logos-strip__img--dark  { display: block; }

@media (max-width: 575px) {
  .logos-strip__list { gap: 2rem; }
  .logos-strip__img  { height: 36px; }
  .logos-strip__img[src*="logo-cruch"] {
    height: 88px;
    max-width: min(80vw, 320px);
  }
}

/* ── Sección Descripción ── */
.home-descripcion { background: var(--bg-alt); }

.home-descripcion .descripcion-body {
  margin: 0 auto;
  text-align: center;
}

.home-descripcion .descripcion-stats {
  display: flex;
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-top: clamp(2rem, 3vw, 2.5rem);
  flex-wrap: wrap;
}

.descripcion-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.descripcion-stat__number {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--institutional-teal);
  line-height: 1;
}

.descripcion-stat__label {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-soft);
}

.descripcion-divider {
  width: 2px;
  height: 56px;
  background: var(--border-default);
  align-self: center;
}

@media (max-width: 575px) {
  .descripcion-divider { display: none; }
}

/* ── Sección Programa ── */
.home-programa {
  background: linear-gradient(160deg, #091c3a 0%, #0c2450 60%, #091c3a 100%);
  position: relative;
}

.home-programa::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

.home-programa .wrapper {
  position: relative;
  z-index: 1;
}

html[data-theme="dark"] .home-programa {
  background: linear-gradient(160deg, #040c1a 0%, #060f24 60%, #040c1a 100%);
}

.home-programa .section-eyebrow { color: var(--institutional-teal); opacity: 0.9; }
.home-programa .section-title { color: #fff; }
.home-programa .section-title .title-accent { color: var(--institutional-teal); }
.home-programa .lead-copy { color: rgba(255, 255, 255, 0.62); }

.programa-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 3rem;
  align-items: start;
}

@media (max-width: 900px) {
  .programa-grid { grid-template-columns: 1fr; gap: 3rem 0; }
}

.programa-day { display: block; }

.programa-day__label {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fff;
  opacity: 0.75;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.programa-schedule {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  max-width: 860px;
  margin: 0 auto;
}

.schedule-item {
  display: grid;
  grid-template-columns: 70px 32px 1fr;
  align-items: stretch;
  min-height: 72px;
}

.schedule-item__time {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 1.1rem 1.25rem 1.1rem 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--institutional-teal);
  line-height: 1;
  white-space: nowrap;
  gap: 0.2rem;
}

.schedule-item__time span {
  font-size: 0.82rem;
  font-weight: 600;
  opacity: 0.65;
}

.schedule-item__track {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 1.35rem;
}

.schedule-item__dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--institutional-teal);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 3px rgba(23, 162, 184, 0.18);
}

.schedule-item__line {
  flex: 1;
  width: 2px;
  background: rgba(255, 255, 255, 0.1);
  margin-top: 4px;
  min-height: 20px;
}

.schedule-item__body {
  padding: 0.9rem 1rem 0.9rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  border-radius: var(--radius-small);
  background: rgba(255, 255, 255, 0.04);
  transition: background 0.15s ease;
}

.schedule-item--pending .schedule-item__body { background: transparent; }

.schedule-item:not(.schedule-item--pending):hover .schedule-item__body {
  background: rgba(23, 162, 184, 0.10);
}

.programa-cell__title {
  font-family: var(--font-display);
  font-weight: 300;
  display: block;
  font-size: 1.3rem;
  line-height: 1.3;
  color: #fff;
}

.programa-cell__sub {
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.52);
  display: block;
  line-height: 1.45;
}

.programa-lugar {
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.38);
  display: block;
}

.schedule-item--break .schedule-item__dot {
  background: rgba(255, 255, 255, 0.35);
  box-shadow: none;
}

.schedule-item--break .schedule-item__time { color: rgba(255, 255, 255, 0.45); }

.schedule-item--break .programa-cell__title {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
}

.schedule-item--pending {
  min-height: 48px;
  opacity: 0.3;
}

.schedule-item--pending .schedule-item__dot {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: none;
}

@media (max-width: 575px) {
  .schedule-item { grid-template-columns: 68px 26px 1fr; }
  .schedule-item__time { font-size: 0.9rem; padding-right: 0.75rem; }
  .programa-cell__title { font-size: 1rem; }
}

/* ── Sección Ubicaciones ── */
.home-ubicaciones {
  background: #dde6ef;
}

.home-ubicaciones.section-shell {
  padding: clamp(3rem, 4.8vw, 4.4rem) 0;
}

.home-ubicaciones .section-heading {
  margin-bottom: clamp(1.8rem, 3vw, 2.8rem);
}

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

.locations-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(2.6rem, 5vw, 5.5rem);
  row-gap: 1.4rem;
}

.location-secondary {
  display: grid;
  gap: 1.1rem;
  align-content: start;
}

.location-gallery {
  display: grid;
  gap: 0.8rem;
}

.location-copy {
  display: grid;
  gap: 0.75rem;
  align-content: start;
  padding-top: 0.35rem;
}

.location-kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--institutional-blue);
}

.location-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.6vw, 1.7rem);
  font-weight: 700;
  line-height: 0.98;
  text-transform: uppercase;
  color: var(--institutional-blue);
}

.location-summary {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--text-soft);
}

.location-details {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 0.65rem;
}

.location-details__row {
  display: grid;
  grid-template-columns: minmax(118px, max-content) minmax(0, 1fr);
  gap: 0.7rem;
  align-items: start;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(29, 60, 113, 0.08);
}

.location-details dt,
.location-details dd {
  margin: 0;
}

.location-details dt {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--institutional-blue);
}

.location-details dd {
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--text-soft);
}

.location-media {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-small);
  background: rgba(27, 46, 81, 0.08);
}

.location-media {
  aspect-ratio: 16 / 10;
}

.location-media img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.28s ease;
}

.location-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.location-gallery__thumb {
  padding: 0;
  border: 1px solid rgba(29, 60, 113, 0.14);
  border-radius: var(--radius-small);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.location-gallery__thumb:hover {
  transform: translateY(-1px);
  border-color: rgba(23, 162, 184, 0.45);
}

.location-gallery__thumb.is-active {
  border-color: var(--institutional-teal);
}

.location-gallery__thumb img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.location-secondary:hover .location-media img {
  transform: scale(1.02);
}

.location-media--focus-center img { object-position: center center; }
.location-media--focus-right img { object-position: 72% center; }
.location-media--focus-left img { object-position: 28% center; }

html[data-theme="dark"] .home-ubicaciones {
  background: #16263b;
}

html[data-theme="dark"] .location-kicker,
html[data-theme="dark"] .location-name,
html[data-theme="dark"] .location-details dt {
  color: var(--text);
}

html[data-theme="dark"] .location-gallery__thumb {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.14);
}

html[data-theme="dark"] .location-gallery__thumb.is-active {
  border-color: var(--brand-accent);
}

html[data-theme="dark"] .location-details__row {
  border-top-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 991px) {
  .locations-grid,
  .locations-grid--three {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .location-secondary {
    gap: 0.95rem;
  }

  .location-copy {
    padding-top: 0;
  }
}

@media (max-width: 575px) {
  .home-ubicaciones.section-shell {
    padding: 2.6rem 0;
  }

  .location-details__row {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .location-gallery__thumbs {
    gap: 0.35rem;
  }
}

/* ── Sección Alojamiento ── */
.home-alojamiento { background: var(--bg); }

.hoteles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

@media (max-width: 991px) { .hoteles-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .hoteles-grid { grid-template-columns: 1fr; } }

.hotel-card {
  background: var(--surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-small);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.hotel-card:hover {
  box-shadow: 0 6px 22px rgba(29, 60, 113, 0.12);
  transform: translateY(-3px);
  border-color: var(--institutional-teal);
}

.hotel-card__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  flex-shrink: 0;
}

.hotel-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.hotel-card:hover .hotel-card__image img { transform: scale(1.04); }

.hotel-card__body {
  padding: 1.1rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}

.hotel-card__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  color: var(--institutional-blue);
  line-height: 1.2;
  margin: 0;
}

html[data-theme="dark"] .hotel-card__name { color: var(--text); }

.hotel-card__info {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: auto;
}

.hotel-card__row {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.83rem;
  color: var(--text-soft);
}

.hotel-card__row i {
  color: var(--institutional-teal);
  flex-shrink: 0;
  margin-top: 0.1rem;
  font-size: 0.85rem;
}

.hotel-card__row a {
  color: var(--institutional-teal);
  text-decoration: none;
  font-weight: 600;
}

.hotel-card__row a:hover { text-decoration: underline; }

.hotel-card__note {
  font-size: 0.75rem;
  color: var(--text-faint);
  font-style: italic;
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.6rem;
  margin-top: 0.1rem;
}

/* ── Sección Contacto ── */
.home-contacto-info {
  background: #e3edf0;
  overflow: hidden;
}

html[data-theme="dark"] .home-contacto-info {
  background: #112331;
  overflow: hidden;
}

.home-contacto-info .section-eyebrow { color: var(--text-faint); }
.home-contacto-info .section-title { color: var(--institutional-blue); }
html[data-theme="dark"] .home-contacto-info .section-title { color: var(--text); }
.home-contacto-info .section-title .title-accent { color: var(--institutional-teal); }
.home-contacto-info .lead-copy { color: var(--text-soft); }
.home-contacto-info .contact-layout { align-items: stretch; }

.contacto-inscripcion-col {
  display: grid;
  align-content: start;
  gap: 0.9rem;
  padding-left: clamp(2rem, 4vw, 3.5rem);
  border-left: 1px solid rgba(29, 60, 113, 0.1);
}

.contact-meta__row--action {
  align-items: center;
}

.contact-meta__action {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
}

.contact-meta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.8rem;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(23, 162, 184, 0.24);
  border-radius: var(--radius-small);
  background: linear-gradient(135deg, rgba(29, 60, 113, 0.94) 0%, rgba(50, 88, 149, 0.96) 100%);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 22px rgba(27, 46, 81, 0.12);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.contact-meta__btn:hover,
.contact-meta__btn:focus-visible {
  background: linear-gradient(135deg, #2f568d 0%, #3b679f 100%);
  border-color: rgba(23, 162, 184, 0.42);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(27, 46, 81, 0.18);
}

.contact-action__plazo {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-faint);
  margin: 0;
}

.contact-action__plazo i { color: var(--institutional-teal); }
.contact-action__plazo strong { color: var(--text-soft); }

html[data-theme="dark"] .contacto-inscripcion-col {
  border-color: rgba(255, 255, 255, 0.1);
}

html[data-theme="dark"] .contact-meta__btn {
  background: linear-gradient(135deg, var(--brand-accent) 0%, var(--brand-accent-strong) 100%);
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

html[data-theme="dark"] .contact-meta__btn:hover,
html[data-theme="dark"] .contact-meta__btn:focus-visible {
  background: linear-gradient(135deg, #56c7d8 0%, var(--brand-accent-strong) 100%);
  color: #fff;
  transform: translateY(-1px);
}

@media (max-width: 991px) {
  .contacto-inscripcion-col { padding-left: 0; padding-top: 2rem; }

  .footer-brand-cluster {
    justify-content: center;
    width: 100%;
    gap: 0.9rem;
    flex-wrap: nowrap;
  }

  .footer .col-lg-4 {
    justify-content: center !important;
  }

  .footer .footer-brand-image {
    height: 106px;
  }

  .footer .footer-anniversary-image {
    height: 154px;
  }
}

@media (max-width: 575px) {
  .contact-meta__row--action {
    align-items: flex-start;
  }

  .contact-meta__action {
    justify-content: flex-start;
  }

  .contact-meta__btn {
    width: 100%;
  }
}
