:root {
  --ink: #0c1726;
  --navy: #10243f;
  --blue: #4f83a8;
  --gold: #caa24a;
  --red: #a64046;
  --teal: #4f9690;
  --silver: #dde6f0;
  --paper: #f4f7fb;
  --white: #ffffff;
  --cursor-x: 50%;
  --cursor-y: 42%;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
}

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

.intro-page {
  min-height: 100vh;
  overflow: hidden;
  color: var(--white);
  background: #030812;
}

.intro-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 32%, rgba(214, 180, 97, 0.18), transparent 22rem),
    radial-gradient(circle at 26% 62%, rgba(14, 88, 146, 0.26), transparent 24rem),
    radial-gradient(circle at 78% 18%, rgba(255, 238, 171, 0.12), transparent 18rem),
    linear-gradient(130deg, #020711, #062441 52%, #030812);
}

.intro-depth,
.intro-scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.intro-depth {
  background:
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 22px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 22% 78%, rgba(214, 180, 97, 0.08));
  mix-blend-mode: screen;
}

.intro-scan {
  opacity: 0.14;
  background-image:
    repeating-radial-gradient(circle at 12% 16%, rgba(255, 255, 255, 0.8) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(0deg, transparent 0 6px, rgba(255, 255, 255, 0.16) 7px, transparent 8px);
  mix-blend-mode: overlay;
}

.intro-content {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  width: min(1040px, calc(100% - 32px));
  padding: 44px 0;
  text-align: center;
}

.intro-logo {
  width: min(920px, 94vw);
  height: auto;
  filter: drop-shadow(0 34px 64px rgba(0, 0, 0, 0.62));
}

.intro-kicker {
  margin: 10px 0 12px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.intro-content h1 {
  max-width: 820px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 4rem);
  line-height: 1.04;
}

.intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 26px;
}

.intro-enter,
.intro-replay {
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  padding: 13px 18px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.intro-enter {
  color: var(--navy);
  background: var(--gold);
}

.intro-replay {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.intro-count {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-weight: 700;
}

.cinema-stage {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at var(--cursor-x) var(--cursor-y), rgba(214, 180, 97, 0.28), transparent 16rem),
    radial-gradient(circle at calc(var(--cursor-x) + 12%) calc(var(--cursor-y) + 12%), rgba(14, 88, 146, 0.34), transparent 24rem),
    radial-gradient(circle at 50% 30%, rgba(255, 224, 142, 0.12), transparent 22rem),
    linear-gradient(130deg, rgba(3, 8, 17, 0.98), rgba(6, 35, 66, 0.94) 48%, rgba(3, 8, 17, 0.98));
  transition: background 140ms ease-out;
}

.film-grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.13;
  background-image:
    repeating-radial-gradient(circle at 17% 19%, rgba(255, 255, 255, 0.85) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, transparent 0 8px, rgba(255, 255, 255, 0.16) 9px, transparent 11px);
  mix-blend-mode: overlay;
}

.cinema-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.08), transparent 18% 70%, rgba(214, 180, 97, 0.08)),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 18px),
    radial-gradient(circle at 24% 24%, rgba(214, 180, 97, 0.16), transparent 25%),
    radial-gradient(circle at 82% 58%, rgba(42, 124, 122, 0.18), transparent 28%);
  mix-blend-mode: screen;
}

.cinema-stage::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42vh;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(214, 180, 97, 0.14), transparent 42%),
    linear-gradient(transparent, rgba(4, 11, 23, 0.94));
}

#particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.95;
  z-index: 1;
}

.topbar {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0;
}

.brand-mark {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 84px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(5, 13, 25, 0.62);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.18);
}

.brand-mark img {
  width: 72px;
  max-height: 34px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  max-width: min(100%, 960px);
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(5, 13, 25, 0.46);
  backdrop-filter: blur(18px);
}

.nav-links a,
.nav-menu > a {
  display: block;
  min-height: 40px;
  padding: 10px 12px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-menu:focus-within > a,
.nav-menu:hover > a {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}

.nav-links a.is-active,
.nav-links a.is-active-parent,
.nav-menu > a.is-active,
.nav-menu > a.is-active-parent,
.nav-menu.is-active > a {
  color: var(--white);
  background: linear-gradient(135deg, rgba(202, 162, 74, 0.32), rgba(79, 131, 168, 0.24));
  box-shadow: inset 0 0 0 1px rgba(202, 162, 74, 0.34), 0 10px 24px rgba(0, 0, 0, 0.16);
}

.submenu a.is-active {
  color: var(--white);
  background: rgba(202, 162, 74, 0.2);
}

.nav-menu {
  position: relative;
  flex: 0 0 auto;
}

.submenu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 10;
  display: grid;
  width: min(82vw, 260px);
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(5, 13, 25, 0.92);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.submenu a {
  white-space: normal;
}

.nav-menu:hover .submenu,
.nav-menu:focus-within .submenu,
.nav-menu.is-open .submenu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.hero {
  position: relative;
  z-index: 3;
  display: grid;
  justify-items: center;
  align-content: center;
  min-height: calc(100svh - 88px);
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 30px 0 70px;
  text-align: center;
}

.reveal-logo {
  width: min(900px, 92vw);
  max-width: 100%;
  padding: 0;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.reveal-logo img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 52px rgba(0, 0, 0, 0.54));
}

.reveal-logo img[hidden] {
  display: none;
}

.eyebrow,
.subtitle,
.action-grid,
.hero h1 {
  opacity: 0;
  transform: translateY(18px);
  animation: riseIn 0.85s ease forwards;
}

.eyebrow {
  margin: 2px 0 12px;
  color: var(--gold);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  animation-delay: 3s;
}

.hero h1 {
  max-width: 960px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.6vw, 4.7rem);
  line-height: 1.02;
  text-wrap: balance;
  animation-delay: 8.7s;
}

.subtitle {
  max-width: 720px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.65;
  animation-delay: 8.95s;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: min(980px, 100%);
  margin-top: 38px;
  animation-delay: 9.2s;
}

.action-card {
  display: grid;
  align-content: end;
  min-height: 118px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  text-align: left;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(16px);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.action-card::before {
  content: "";
  display: block;
  width: 34px;
  height: 3px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: var(--gold);
}

.action-card:hover,
.action-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(214, 180, 97, 0.72);
  background: rgba(255, 255, 255, 0.14);
  outline: none;
}

.action-card span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.action-card strong {
  margin-top: 8px;
  color: var(--white);
  font-size: 1.08rem;
}

.action-card.primary {
  border-color: rgba(214, 180, 97, 0.65);
  background: linear-gradient(135deg, rgba(214, 180, 97, 0.28), rgba(166, 47, 53, 0.2), rgba(14, 88, 146, 0.28));
}

.replay-button {
  margin-top: 20px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.replay-button:hover,
.replay-button:focus-visible {
  color: var(--white);
  border-color: rgba(214, 180, 97, 0.72);
  outline: none;
}

.content-band {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(280px, 1fr);
  gap: 36px;
  align-items: center;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 72px 0 54px;
}

.section-kicker,
.feature p {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.content-band h2,
.feature h2 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 3vw, 2.7rem);
  line-height: 1.06;
}

.search-panel {
  padding: 22px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 46px rgba(11, 35, 65, 0.08);
}

.search-panel label {
  display: block;
  margin-bottom: 12px;
  color: #48576a;
  font-weight: 700;
}

.search-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.search-row input,
.search-row button {
  height: 48px;
  border-radius: 6px;
  font: inherit;
}

.search-row input {
  min-width: 0;
  border: 1px solid #c8d4e2;
  padding: 0 14px;
}

.search-row button {
  border: 0;
  padding: 0 22px;
  color: var(--white);
  background: var(--navy);
  font-weight: 800;
  cursor: pointer;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: #dce4ee;
}

.feature {
  min-height: 260px;
  padding: 36px;
  background: var(--white);
}

.feature:nth-child(2) {
  border-top: 4px solid var(--gold);
}

.feature:nth-child(3) {
  border-top: 4px solid var(--teal);
}

.feature:nth-child(4) {
  border-top: 4px solid var(--red);
}

.feature a {
  display: inline-flex;
  margin-top: 26px;
  color: var(--blue);
  font-weight: 800;
}

.contact-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 54px max(18px, calc((100% - 1120px) / 2));
  color: var(--white);
  background: linear-gradient(110deg, var(--navy), #10233c 56%, #2a1c23);
}

.contact-band h2 {
  max-width: 720px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 2.6vw, 2.6rem);
  line-height: 1.1;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.contact-actions a {
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: var(--white);
  font-weight: 800;
  background: rgba(255, 255, 255, 0.08);
}

.site-footer {
  padding: 18px;
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
  background: #050d19;
}

.site-footer p {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
}

.inner-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 12%, rgba(214, 180, 97, 0.14), transparent 24rem),
    radial-gradient(circle at 88% 24%, rgba(14, 88, 146, 0.14), transparent 26rem),
    #f6f8fb;
}

.page-topbar {
  color: var(--white);
  width: auto;
  padding: 18px max(18px, calc((100% - 1180px) / 2));
  background: linear-gradient(110deg, #050d19, var(--navy));
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(260px, 0.7fr);
  gap: 34px;
  align-items: center;
  padding: 72px max(18px, calc((100% - 1120px) / 2));
  color: var(--white);
  background:
    linear-gradient(112deg, rgba(5, 13, 25, 0.98), rgba(7, 48, 93, 0.9) 58%, rgba(42, 28, 35, 0.95));
}

.page-hero-copy h1 {
  max-width: 760px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 5vw, 5rem);
  line-height: 1;
}

.page-hero-copy p:not(.section-kicker) {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.65;
}

.page-hero-logo {
  display: grid;
  place-items: center;
}

.page-hero-logo img {
  width: min(420px, 100%);
  filter: drop-shadow(0 26px 48px rgba(0, 0, 0, 0.35));
}

.deans-section {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 64px 0 76px;
}

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

.deans-heading h2 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.back-home {
  flex: 0 0 auto;
  padding: 12px 16px;
  border-radius: 6px;
  color: var(--white);
  background: var(--navy);
  font-weight: 800;
}

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

.dean-card {
  min-height: 238px;
  padding: 24px;
  border: 1px solid #dfe6ef;
  border-top: 4px solid var(--blue);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 22px 52px rgba(11, 35, 65, 0.08);
}

.dean-card.featured {
  border-top-color: var(--gold);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(214, 180, 97, 0.16));
}

.dean-card span {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.dean-card h3 {
  margin: 16px 0 10px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  line-height: 1.05;
}

.dean-card p {
  margin: 0;
  color: #536174;
  line-height: 1.55;
}

.dean-card a {
  display: inline-flex;
  margin-top: 24px;
  color: var(--blue);
  font-weight: 800;
}

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

.management-card {
  display: grid;
  grid-template-columns: 190px minmax(220px, 0.54fr) minmax(300px, 1fr);
  gap: 22px;
  align-items: center;
  min-height: 0;
}

.dean-photo {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 32%, rgba(214, 180, 97, 0.34), transparent 8rem),
    linear-gradient(145deg, #dfe6ef, #f8fafc);
}

.dean-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.dean-photo span,
.board-period-photo span {
  color: #6b7788;
  font-weight: 800;
  text-align: center;
}

.management-info span {
  display: inline-flex;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.board-period-photo {
  margin: 0;
}

.board-period-photo div {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(214, 180, 97, 0.2), rgba(14, 88, 146, 0.16)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0 1px, transparent 1px 18px);
}

.board-period-photo figcaption {
  margin-top: 10px;
  color: #647286;
  font-size: 0.9rem;
  font-weight: 800;
}

.board-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(320px, 1fr);
  gap: 34px;
  align-items: center;
  padding: 64px max(18px, calc((100% - 1120px) / 2));
  color: var(--white);
  background:
    radial-gradient(circle at 78% 20%, rgba(214, 180, 97, 0.18), transparent 25rem),
    linear-gradient(112deg, rgba(5, 13, 25, 0.98), rgba(7, 48, 93, 0.94) 54%, rgba(8, 18, 34, 0.98));
}

.board-hero-copy h1 {
  max-width: 760px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 5vw, 5rem);
  line-height: 1;
}

.board-hero-copy p:not(.section-kicker) {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.65;
}

.group-photo {
  margin: 0;
}

.group-photo-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.34);
}

.group-photo-placeholder {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(214, 180, 97, 0.2), rgba(14, 88, 146, 0.22)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 18px);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.group-photo-placeholder span {
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 800;
  background: rgba(5, 13, 25, 0.42);
}

.group-photo figcaption {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 700;
}

.board-section {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 64px 0 76px;
}

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

.board-card {
  min-height: 340px;
  padding: 16px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 52px rgba(11, 35, 65, 0.08);
}

.board-card.main-role {
  border-color: rgba(214, 180, 97, 0.55);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(214, 180, 97, 0.15));
}

.member-photo {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  border-radius: 6px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 32%, rgba(214, 180, 97, 0.32), transparent 8rem),
    linear-gradient(145deg, #dfe6ef, #f8fafc);
}

.member-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.member-photo span {
  color: #6b7788;
  font-weight: 800;
}

.board-card p {
  margin: 18px 0 8px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.board-card h3 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  line-height: 1.08;
}

.intranet-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 42px 0 76px;
}

.intranet-hero,
.dashboard-panel,
.database-panel {
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 52px rgba(11, 35, 65, 0.08);
}

.intranet-hero {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 0.72fr);
  gap: 28px;
  align-items: center;
  padding: 34px;
  color: var(--white);
  background:
    radial-gradient(circle at 86% 18%, rgba(214, 180, 97, 0.22), transparent 19rem),
    linear-gradient(110deg, #050d19, var(--navy) 58%, #10233c);
}

.intranet-hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4.5vw, 4.6rem);
  line-height: 1;
}

.intranet-hero p:not(.section-kicker) {
  max-width: 720px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.65;
}

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

.intranet-metrics article {
  min-height: 118px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.intranet-metrics span {
  display: block;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.4rem;
  font-weight: 800;
}

.intranet-metrics p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.dashboard-panel,
.database-panel {
  margin-top: 18px;
  padding: 24px;
}

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

.panel-heading h2 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 3vw, 2.8rem);
}

.sheet-connect {
  margin-bottom: 16px;
}

.sheet-connect label,
.record-form label {
  display: grid;
  gap: 8px;
  color: #48576a;
  font-weight: 800;
}

.sheet-frame-wrap {
  position: relative;
  min-height: 420px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(214, 180, 97, 0.16), rgba(14, 88, 146, 0.12)),
    #f8fafc;
}

.sheet-frame-wrap iframe {
  display: block;
  width: 100%;
  height: 520px;
  border: 0;
  background: var(--white);
}

.sheet-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 8px;
  padding: 28px;
  text-align: center;
}

.sheet-empty strong {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
}

.sheet-empty p {
  margin: 0;
  color: #647286;
}

.record-form {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}

.record-form input,
.record-form select,
.table-tools input,
.sheet-connect input {
  width: 100%;
  min-width: 0;
  height: 48px;
  border: 1px solid #c8d4e2;
  border-radius: 6px;
  padding: 0 14px;
  font: inherit;
  background: var(--white);
}

.record-form button,
.ghost-button {
  height: 48px;
  border: 0;
  border-radius: 6px;
  padding: 0 16px;
  color: var(--white);
  background: var(--navy);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.ghost-button {
  color: var(--navy);
  border: 1px solid #c8d4e2;
  background: var(--white);
}

.table-tools {
  margin: 18px 0 12px;
}

.records-table-wrap {
  overflow-x: auto;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
}

.records-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}

.records-table th,
.records-table td {
  padding: 15px;
  border-bottom: 1px solid #e8eef5;
  text-align: left;
  vertical-align: middle;
}

.records-table th {
  color: var(--navy);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.status-pill {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--navy);
  background: rgba(214, 180, 97, 0.22);
  font-size: 0.82rem;
  font-weight: 800;
}

.table-button {
  margin: 2px;
  padding: 8px 10px;
  border: 1px solid #c8d4e2;
  border-radius: 6px;
  color: var(--navy);
  background: var(--white);
  font-weight: 800;
  cursor: pointer;
}

.table-button.danger {
  color: #8f2930;
}

.services-hero {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 0.52fr);
  gap: 30px;
  align-items: center;
  padding: 64px max(18px, calc((100% - 1120px) / 2));
  color: var(--white);
  background:
    radial-gradient(circle at 76% 18%, rgba(214, 180, 97, 0.2), transparent 22rem),
    linear-gradient(112deg, #050d19, var(--navy) 58%, #10233c);
}

.services-hero h1 {
  max-width: 850px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 5vw, 5rem);
  line-height: 1;
}

.services-hero p:not(.section-kicker) {
  max-width: 720px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.65;
}

.payment-highlight {
  display: grid;
  gap: 14px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.24);
}

.payment-highlight span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.payment-highlight strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1.05;
}

.payment-highlight a,
.service-card a,
.payment-grid a {
  font-weight: 800;
}

.payment-highlight a {
  display: inline-flex;
  width: fit-content;
  padding: 13px 16px;
  border-radius: 6px;
  color: var(--navy);
  background: var(--gold);
}

.services-section,
.service-detail-grid,
.payments-section,
.habilitation-panel {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.services-section {
  padding: 64px 0 18px;
}

.service-grid,
.payment-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card,
.service-detail,
.payments-section,
.habilitation-panel {
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 52px rgba(11, 35, 65, 0.08);
}

.service-card {
  min-height: 260px;
  padding: 24px;
  border-top: 4px solid var(--blue);
}

.service-card.featured {
  border-top-color: var(--gold);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(214, 180, 97, 0.16));
}

.service-card span,
.payment-grid span {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.service-card h3 {
  margin: 16px 0 12px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  line-height: 1.05;
}

.service-card p,
.service-detail li {
  color: #536174;
  line-height: 1.55;
}

.service-card a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--blue);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 18px 0;
}

.service-detail,
.payments-section,
.habilitation-panel {
  padding: 26px;
}

.service-detail h2,
.payments-section h2,
.habilitation-panel h2 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 2.6vw, 2.5rem);
}

.service-detail ul,
.service-detail ol {
  margin: 18px 0 0;
  padding-left: 22px;
}

.payments-section {
  display: grid;
  grid-template-columns: 0.55fr 1fr;
  gap: 24px;
  align-items: start;
  margin-top: 18px;
}

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

.payment-grid a {
  display: grid;
  gap: 10px;
  min-height: 118px;
  padding: 18px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #f8fafc;
}

.payment-grid strong {
  color: var(--navy);
  font-size: 1.16rem;
}

.payment-note,
.payment-disclaimer {
  color: #536174;
  line-height: 1.55;
}

.payment-system {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 0.58fr);
  gap: 18px;
}

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

.payment-option {
  display: grid;
  gap: 8px;
  min-height: 136px;
  padding: 18px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  text-align: left;
  background: #f8fafc;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.payment-option:hover,
.payment-option:focus-visible,
.payment-option.active {
  transform: translateY(-3px);
  border-color: rgba(214, 180, 97, 0.75);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(214, 180, 97, 0.15));
  outline: none;
}

.payment-option span {
  color: var(--navy);
  font-size: 1rem;
  font-weight: 800;
}

.payment-option strong {
  color: var(--blue);
  font-size: 1.4rem;
}

.payment-option em {
  color: #647286;
  font-style: normal;
  line-height: 1.4;
}

.payment-checkout {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(11, 35, 65, 0.08);
}

.payment-checkout h3 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.payment-summary {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 16px;
  border-radius: 8px;
  background: #f8fafc;
}

.payment-summary p {
  margin: 0;
  color: #647286;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.payment-summary strong {
  color: var(--navy);
  font-size: 1.22rem;
}

.payment-checkout label {
  display: grid;
  gap: 8px;
  color: #48576a;
  font-weight: 800;
}

.payment-checkout .payment-months[hidden] {
  display: none !important;
}

.debt-lookup,
.enrollment-breakdown {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(214, 180, 97, 0.55);
  border-radius: 8px;
  background: linear-gradient(145deg, #fffdf8, #f5f8fb);
}

.debt-lookup[hidden],
.enrollment-breakdown[hidden] {
  display: none !important;
}

.debt-lookup strong,
.enrollment-breakdown strong {
  color: var(--navy);
  font-size: 1.08rem;
}

.debt-lookup span,
.enrollment-breakdown span,
.debt-result {
  color: #536174;
  line-height: 1.45;
}

.enrollment-breakdown ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.enrollment-breakdown li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 6px;
  background: #ffffff;
}

.enrollment-breakdown li:last-child {
  background: rgba(202, 162, 74, 0.16);
}

.debt-result {
  margin: 0;
  padding: 12px;
  border-radius: 6px;
  background: #ffffff;
  font-weight: 700;
}

.payment-checkout input,
.payment-checkout select {
  width: 100%;
  min-width: 0;
  height: 48px;
  border: 1px solid #c8d4e2;
  border-radius: 6px;
  padding: 0 14px;
  font: inherit;
}

.payment-checkout button,
.payment-checkout .secondary-action,
.payment-gateway-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 6px;
  padding: 0 16px;
  color: var(--white);
  background: var(--navy);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.payment-gateway-link {
  color: var(--navy);
  background: var(--gold);
}

.habilitation-panel {
  display: grid;
  grid-template-columns: minmax(240px, 0.58fr) 1fr;
  gap: 24px;
  align-items: center;
  margin-top: 18px;
  margin-bottom: 76px;
}

.news-preview,
.blog-section {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.news-preview {
  padding: 64px 0;
}

.blog-hero {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(260px, 0.46fr);
  gap: 30px;
  align-items: center;
  padding: 64px max(18px, calc((100% - 1120px) / 2));
  color: var(--white);
  background:
    radial-gradient(circle at 82% 18%, rgba(214, 180, 97, 0.2), transparent 22rem),
    linear-gradient(112deg, #050d19, var(--navy) 58%, #162034);
}

.blog-hero h1 {
  max-width: 850px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 5vw, 5rem);
  line-height: 1;
}

.blog-hero p:not(.section-kicker) {
  max-width: 720px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.65;
}

.blog-hero-panel {
  display: grid;
  gap: 12px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.24);
}

.blog-hero-panel span,
.blog-card span {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.blog-hero-panel span {
  color: var(--gold);
}

.blog-hero-panel strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1.05;
}

.blog-section {
  padding: 64px 0 76px;
}

.blog-layout {
  display: grid;
  grid-template-columns: 1fr 270px;
  gap: 18px;
  align-items: start;
}

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

.blog-grid.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.blog-card,
.blog-sidebar {
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 52px rgba(11, 35, 65, 0.08);
}

.blog-card {
  padding: 22px;
}

.blog-card.featured {
  border-top: 4px solid var(--gold);
}

.blog-media {
  aspect-ratio: 16 / 9;
  margin-bottom: 18px;
  border-radius: 6px;
  background:
    radial-gradient(circle at 30% 28%, rgba(214, 180, 97, 0.28), transparent 9rem),
    linear-gradient(135deg, rgba(14, 88, 146, 0.22), rgba(5, 13, 25, 0.1)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0 1px, transparent 1px 16px);
}

.blog-card h3 {
  margin: 14px 0 10px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  line-height: 1.05;
}

.blog-card p {
  margin: 0;
  color: #536174;
  line-height: 1.55;
}

.blog-card a {
  display: inline-flex;
  margin-top: 20px;
  color: var(--blue);
  font-weight: 800;
}

.news-article {
  width: min(920px, calc(100% - 36px));
  margin: 46px auto 76px;
  padding: 34px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 70px rgba(10, 31, 68, 0.1);
}

.news-article > span {
  display: inline-flex;
  margin-top: 26px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.news-article h1 {
  margin: 14px 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.8vw, 4.4rem);
  line-height: 1.04;
}

.news-lead {
  margin: 0;
  color: #48576a;
  font-size: 1.2rem;
  line-height: 1.65;
}

.news-article-body {
  display: grid;
  gap: 16px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #e8eef5;
}

.news-article-body p {
  margin: 0;
  color: #536174;
  font-size: 1.02rem;
  line-height: 1.75;
}

.blog-sidebar {
  display: grid;
  gap: 8px;
  padding: 22px;
  position: sticky;
  top: 16px;
}

.blog-sidebar h2 {
  margin: 0 0 10px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
}

.blog-sidebar a {
  padding: 12px;
  border-radius: 6px;
  color: #48576a;
  background: #f8fafc;
  font-weight: 800;
}

.category-directory {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid #e8eef5;
}

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

.category-card {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 190px;
  padding: 18px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 42px rgba(10, 31, 68, 0.08);
}

.category-card span {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.category-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.2rem;
}

.category-card a {
  color: #48576a;
  font-weight: 800;
  line-height: 1.45;
}

.category-card a:hover,
.category-card a:focus-visible {
  color: var(--blue);
}

.history-hero {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(260px, 0.52fr);
  gap: 34px;
  align-items: center;
  padding: 64px max(18px, calc((100% - 1120px) / 2));
  color: var(--white);
  background:
    radial-gradient(circle at 78% 22%, rgba(214, 180, 97, 0.22), transparent 22rem),
    linear-gradient(112deg, #050d19, var(--navy) 58%, #211b25);
}

.history-hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 5vw, 5rem);
  line-height: 1;
}

.history-hero p:not(.section-kicker) {
  max-width: 720px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.65;
}

.history-emblem {
  display: grid;
  place-items: center;
}

.history-emblem img {
  width: min(420px, 100%);
  filter: drop-shadow(0 26px 48px rgba(0, 0, 0, 0.36));
}

.history-section,
.timeline-section {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.history-section {
  padding: 64px 0 18px;
}

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

.history-intro article,
.timeline article {
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 52px rgba(11, 35, 65, 0.08);
}

.history-intro article {
  min-height: 230px;
  padding: 24px;
  border-top: 4px solid var(--gold);
}

.history-detail-grid {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.history-detail-grid article {
  display: grid;
  gap: 10px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 52px rgba(11, 35, 65, 0.08);
}

.history-detail-grid span {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.history-detail-grid h3 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 2vw, 2.2rem);
  line-height: 1.08;
}

.history-detail-grid p {
  margin: 0;
  color: #536174;
  line-height: 1.62;
}

.history-intro h3,
.timeline h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  line-height: 1.05;
}

.history-intro p,
.timeline p {
  margin: 0;
  color: #536174;
  line-height: 1.58;
}

.timeline-section {
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  gap: 24px;
  align-items: start;
  padding: 18px 0 76px;
}

.timeline-section h2 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.timeline {
  display: grid;
  gap: 14px;
  position: relative;
}

.timeline article {
  position: relative;
  padding: 22px 22px 22px 32px;
  border-left: 4px solid var(--blue);
}

.timeline article:nth-child(2),
.timeline article:nth-child(4) {
  border-left-color: var(--gold);
}

.timeline span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.library-hero {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 0.48fr);
  gap: 30px;
  align-items: center;
  padding: 64px max(18px, calc((100% - 1120px) / 2));
  color: var(--white);
  background:
    radial-gradient(circle at 80% 20%, rgba(214, 180, 97, 0.2), transparent 22rem),
    linear-gradient(112deg, #050d19, var(--navy) 58%, #182438);
}

.library-hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 5vw, 5rem);
  line-height: 1;
}

.library-hero p:not(.section-kicker) {
  max-width: 720px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.65;
}

.member-access {
  display: grid;
  gap: 12px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.24);
}

.member-access span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.member-access label {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

.member-access input,
.book-form input {
  width: 100%;
  min-width: 0;
  height: 48px;
  border: 1px solid #c8d4e2;
  border-radius: 6px;
  padding: 0 14px;
  font: inherit;
}

.book-form input[type="file"] {
  height: auto;
  padding: 12px 14px;
}

.member-access button,
.book-form button {
  height: 48px;
  border: 0;
  border-radius: 6px;
  padding: 0 16px;
  color: var(--navy);
  background: var(--gold);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.member-access p {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.9rem;
}

.library-locked,
.library-admin-login,
.library-app {
  width: min(1120px, calc(100% - 36px));
  margin: 28px auto 76px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 52px rgba(11, 35, 65, 0.08);
}

.library-locked {
  display: grid;
  gap: 8px;
  place-items: center;
  min-height: 220px;
  padding: 32px;
  text-align: center;
}

.library-locked strong {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
}

.library-locked p {
  margin: 0;
  color: #536174;
}

.library-admin-login {
  display: grid;
  place-items: center;
  padding: 30px;
}

.library-admin-login .member-access {
  width: min(100%, 460px);
  background:
    radial-gradient(circle at 85% 12%, rgba(202, 162, 74, 0.2), transparent 16rem),
    linear-gradient(135deg, rgba(16, 36, 63, 0.96), rgba(47, 95, 124, 0.92));
}

.library-admin-note {
  margin: 16px 0;
  padding: 14px 16px;
  border: 1px solid rgba(202, 162, 74, 0.28);
  border-radius: 8px;
  color: #536174;
  background: rgba(250, 242, 221, 0.72);
}

.library-app {
  padding: 24px;
}

.book-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}

.book-form button {
  grid-column: 1 / -1;
}

.book-form label {
  display: grid;
  gap: 8px;
  color: #48576a;
  font-weight: 800;
}

.library-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.library-card {
  display: grid;
  align-content: space-between;
  min-height: 0;
  aspect-ratio: 1;
  padding: 22px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #ffffff;
  cursor: pointer;
}

.library-card.library-empty {
  grid-column: 1 / -1;
  aspect-ratio: auto;
  min-height: 220px;
}

.library-card.has-pdf {
  border-top: 4px solid var(--gold);
}

.library-card span {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.library-card h3 {
  margin: 8px 0 6px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.22rem;
  line-height: 1.08;
}

.library-card p,
.library-card em {
  color: #536174;
}

.library-card div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.book-cover {
  display: grid !important;
  place-items: center;
  min-height: 54px;
  margin-top: 10px !important;
  border-radius: 6px;
  color: var(--navy);
  background: linear-gradient(135deg, rgba(213, 165, 64, 0.24), rgba(8, 48, 93, 0.08));
  font-weight: 900;
}

.library-card a,
.library-card button {
  padding: 9px 11px;
  border: 1px solid #c8d4e2;
  border-radius: 6px;
  color: var(--navy);
  background: #f8fafc;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.pdf-viewer-panel {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid #e8eef5;
}

.pdf-viewer-panel iframe {
  width: 100%;
  min-height: min(78vh, 820px);
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #f8fafc;
}

.jobs-hero {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 0.48fr);
  gap: 30px;
  align-items: center;
  padding: 64px max(18px, calc((100% - 1120px) / 2));
  color: var(--white);
  background:
    radial-gradient(circle at 80% 20%, rgba(214, 180, 97, 0.2), transparent 22rem),
    linear-gradient(112deg, #050d19, var(--navy) 58%, #1b2534);
}

.jobs-hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 5vw, 5rem);
  line-height: 1;
}

.jobs-hero p:not(.section-kicker) {
  max-width: 720px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.65;
}

.jobs-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.jobs-summary article {
  min-height: 132px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.jobs-summary span {
  display: block;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.7rem;
  font-weight: 800;
}

.jobs-summary p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.jobs-shell {
  width: min(1120px, calc(100% - 36px));
  margin: 28px auto 76px;
  padding: 24px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 52px rgba(11, 35, 65, 0.08);
}

.job-form,
.job-tools {
  display: grid;
  gap: 12px;
}

.job-form {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: end;
}

.job-tools {
  grid-template-columns: 1fr 220px auto;
  margin: 18px 0 16px;
}

.job-form label {
  display: grid;
  gap: 8px;
  color: #48576a;
  font-weight: 800;
}

.job-form input,
.job-form select,
.job-tools input,
.job-tools select {
  width: 100%;
  min-width: 0;
  height: 48px;
  border: 1px solid #c8d4e2;
  border-radius: 6px;
  padding: 0 14px;
  font: inherit;
  background: var(--white);
}

.job-form button {
  height: 48px;
  border: 0;
  border-radius: 6px;
  padding: 0 16px;
  color: var(--white);
  background: var(--navy);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

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

.job-card {
  min-height: 250px;
  padding: 22px;
  border: 1px solid #dfe6ef;
  border-top: 4px solid var(--gold);
  border-radius: 8px;
  background: #ffffff;
}

.job-card.jobs-empty {
  grid-column: 1 / -1;
  min-height: 220px;
}

.job-card span {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.job-card h3 {
  margin: 14px 0 10px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  line-height: 1.08;
}

.job-card p {
  margin: 0 0 14px;
  color: #536174;
}

.job-card strong {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--navy);
  background: rgba(214, 180, 97, 0.22);
  font-size: 0.82rem;
}

.job-card div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.job-card a,
.job-card button {
  padding: 9px 11px;
  border: 1px solid #c8d4e2;
  border-radius: 6px;
  color: var(--navy);
  background: #f8fafc;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.data-hero {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 0.48fr);
  gap: 30px;
  align-items: center;
  padding: 64px max(18px, calc((100% - 1120px) / 2));
  color: var(--white);
  background:
    radial-gradient(circle at 82% 18%, rgba(214, 180, 97, 0.2), transparent 22rem),
    linear-gradient(112deg, #050d19, var(--navy) 58%, #182438);
}

.data-hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 5vw, 5rem);
  line-height: 1;
}

.data-hero p:not(.section-kicker) {
  max-width: 720px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.65;
}

.data-status-card {
  display: grid;
  gap: 12px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.24);
}

.data-status-card span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.data-status-card strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1.05;
}

.data-status-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

#data-status[data-tone="success"] {
  color: var(--gold);
}

#data-status[data-tone="error"] {
  color: #ffb7b7;
}

.data-update-shell {
  width: min(1120px, calc(100% - 36px));
  margin: 28px auto 76px;
  padding: 24px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 52px rgba(11, 35, 65, 0.08);
}

.member-dashboard-shell {
  width: min(1120px, calc(100% - 36px));
  margin: 28px auto;
  padding: 24px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 52px rgba(11, 35, 65, 0.08);
}

.secure-badge {
  display: inline-flex;
  padding: 10px 13px;
  border-radius: 999px;
  color: var(--navy);
  background: rgba(214, 180, 97, 0.22);
  font-weight: 800;
}

.member-access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.member-login-panel {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 8px;
  background: #f8fafc;
}

.member-login-panel label {
  display: grid;
  gap: 8px;
  color: #48576a;
  font-weight: 800;
}

.member-login-panel input {
  width: 100%;
  min-width: 0;
  height: 48px;
  border: 1px solid #c8d4e2;
  border-radius: 6px;
  padding: 0 14px;
  font: inherit;
  background: var(--white);
}

.member-login-panel button {
  min-height: 48px;
  border: 0;
  border-radius: 6px;
  padding: 0 16px;
  color: var(--white);
  background: var(--navy);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.member-login-panel p {
  margin: 0;
  color: #647286;
  line-height: 1.45;
}

.member-dashboard {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.member-profile-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  padding: 20px;
  border-radius: 8px;
  color: var(--white);
  background:
    radial-gradient(circle at 18% 18%, rgba(214, 180, 97, 0.28), transparent 13rem),
    linear-gradient(110deg, #050d19, var(--navy));
}

.member-avatar {
  display: grid;
  place-items: center;
  width: 112px;
  aspect-ratio: 1;
  border: 2px solid rgba(214, 180, 97, 0.72);
  border-radius: 8px;
  color: var(--gold);
  background: rgba(255, 255, 255, 0.08);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.8rem;
  font-weight: 800;
}

.member-profile-card span {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--navy);
  background: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
}

.member-profile-card span[data-status="No habilitado"] {
  color: #ffffff;
  background: #8f2930;
}

.member-profile-card span[data-status="En revisión"] {
  color: var(--navy);
  background: #dfe6ef;
}

.member-profile-card h3 {
  margin: 12px 0 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.member-profile-card p {
  margin: 4px 0;
  color: rgba(255, 255, 255, 0.72);
}

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

.member-kpis article,
.payment-history-panel {
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(11, 35, 65, 0.06);
}

.member-kpis article {
  padding: 20px;
}

.member-kpis span {
  display: block;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.4rem;
  font-weight: 800;
}

.member-kpis p {
  margin: 8px 0 0;
  color: #647286;
  font-weight: 800;
}

.payment-history-panel {
  display: grid;
  gap: 16px;
  padding: 20px;
}

.payment-history-panel h3 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.colegiatura-hero {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(260px, 0.44fr);
  gap: 30px;
  align-items: center;
  padding: 64px max(18px, calc((100% - 1120px) / 2));
  color: var(--white);
  background:
    radial-gradient(circle at 78% 18%, rgba(214, 180, 97, 0.24), transparent 24rem),
    linear-gradient(135deg, #071321, #07305d);
}

.colegiatura-hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 5vw, 5rem);
  line-height: 1;
}

.colegiatura-hero p:not(.section-kicker) {
  max-width: 760px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.65;
}

.colegiatura-summary,
.colegiatura-card,
.fee-grid article,
.account-grid article,
.important-note {
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 22px 52px rgba(11, 35, 65, 0.08);
}

.colegiatura-summary {
  display: grid;
  gap: 8px;
  padding: 26px;
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.colegiatura-summary span,
.fee-grid span,
.colegiatura-card h3 + p,
.important-note strong {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.colegiatura-summary span {
  color: var(--gold);
}

.colegiatura-summary strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.3rem;
}

.colegiatura-section {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 42px 0 0;
}

.colegiatura-section:last-of-type {
  padding-bottom: 76px;
}

.colegiatura-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 16px;
}

.colegiatura-card {
  padding: 24px;
}

.colegiatura-card h3,
.accounts-section h2,
.fee-grid strong,
.account-grid h3 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
}

.colegiatura-card h3 {
  font-size: 2rem;
}

.requirements-card ol {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding-left: 22px;
  color: #536174;
  line-height: 1.58;
}

.requirements-card a,
.mail-list a {
  color: var(--blue);
  font-weight: 800;
}

.mail-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.fee-grid,
.account-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.fee-grid article,
.account-grid article,
.important-note {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.fee-grid span {
  color: var(--blue);
}

.fee-grid strong {
  font-size: 2rem;
}

.fee-grid p,
.colegiatura-card p,
.account-grid p,
.important-note p {
  margin: 0;
  color: #536174;
  line-height: 1.55;
}

.accounts-section {
  display: grid;
  gap: 18px;
}

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

.habilitation-request-section {
  display: grid;
  gap: 18px;
}

.single-fee-grid {
  grid-template-columns: minmax(260px, 0.48fr);
}

.rates-hero {
  background:
    linear-gradient(135deg, rgba(8, 24, 52, 0.94), rgba(14, 58, 108, 0.82)),
    radial-gradient(circle at 82% 18%, rgba(213, 165, 64, 0.42), transparent 34%);
}

.rates-intro-card {
  margin-bottom: 18px;
}

.admin-rates-table-wrap {
  overflow-x: auto;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 24px 70px rgba(10, 31, 68, 0.1);
}

.admin-rates-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

.admin-rates-table caption {
  padding: 22px 24px;
  color: var(--navy);
  font-weight: 800;
  text-align: left;
}

.admin-rates-table th,
.admin-rates-table td {
  padding: 18px 22px;
  border-top: 1px solid #e8eef5;
  text-align: left;
}

.admin-rates-table th {
  color: var(--navy);
  font-size: 0.78rem;
  letter-spacing: 0;
  text-transform: uppercase;
  background: #f5f8fc;
}

.admin-rates-table td:first-child {
  width: 90px;
  color: var(--blue);
  font-weight: 800;
}

.admin-rates-table td:last-child {
  width: 170px;
  color: var(--navy);
  font-weight: 900;
}

.admin-rates-table tbody tr:hover {
  background: #f9fbfe;
}

.benefits-hero {
  background:
    linear-gradient(135deg, rgba(7, 27, 58, 0.94), rgba(16, 87, 128, 0.8)),
    radial-gradient(circle at 78% 22%, rgba(213, 165, 64, 0.45), transparent 36%);
}

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

.benefit-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 245px;
  padding: 24px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 48px rgba(10, 31, 68, 0.08);
}

.benefit-card span {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.benefit-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.45rem;
}

.benefit-card p {
  margin: 0;
  color: #536174;
  line-height: 1.55;
}

.benefit-card a,
.benefits-callout a {
  color: var(--blue);
  font-weight: 800;
}

.benefits-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto 76px;
  padding: 28px;
  border: 1px solid rgba(213, 165, 64, 0.32);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(213, 165, 64, 0.14));
  box-shadow: 0 24px 70px rgba(10, 31, 68, 0.1);
}

.benefits-callout h2,
.benefits-callout p {
  margin: 0;
}

.benefits-callout h2 {
  color: var(--navy);
  font-size: 2rem;
}

.benefits-callout p:not(.section-kicker) {
  max-width: 720px;
  margin-top: 10px;
  color: #536174;
  line-height: 1.6;
}

.desk-hero {
  background:
    linear-gradient(135deg, rgba(7, 19, 33, 0.94), rgba(17, 76, 118, 0.82)),
    radial-gradient(circle at 80% 18%, rgba(213, 165, 64, 0.42), transparent 34%);
}

.digital-desk-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.4fr);
  gap: 18px;
}

.digital-desk-form,
.digital-desk-status {
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 54px rgba(10, 31, 68, 0.08);
}

.digital-desk-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 24px;
}

.digital-desk-form label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 800;
}

.digital-desk-form input,
.digital-desk-form select,
.digital-desk-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #cfd9e6;
  border-radius: 6px;
  padding: 0 13px;
  color: var(--ink);
  background: #f8fafc;
  font: inherit;
  font-weight: 600;
}

.digital-desk-form input,
.digital-desk-form select {
  height: 48px;
}

.digital-desk-form input[type="file"] {
  height: auto;
  padding: 12px;
}

.digital-desk-form textarea {
  min-height: 120px;
  padding: 12px 13px;
  resize: vertical;
}

.digital-desk-form button {
  grid-column: 1 / -1;
  min-height: 52px;
  border: 0;
  border-radius: 6px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), #0f4d82);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.digital-desk-form.submitted button {
  background: linear-gradient(135deg, #1f7a55, #176445);
}

.digital-desk-status {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 24px;
}

.digital-desk-status h3 {
  margin: 0;
  color: var(--navy);
  font-size: 2rem;
}

.digital-desk-status p {
  margin: 0;
  color: #536174;
  line-height: 1.6;
}

.desk-ticket {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(213, 165, 64, 0.36);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(213, 165, 64, 0.14), rgba(255, 255, 255, 0.94));
}

.desk-ticket span {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.desk-ticket strong {
  color: var(--navy);
  font-size: 1.4rem;
}

.desk-note {
  padding-top: 10px;
  border-top: 1px solid #e8eef5;
}

.directory-hero {
  background:
    linear-gradient(135deg, rgba(7, 25, 54, 0.95), rgba(12, 84, 124, 0.82)),
    radial-gradient(circle at 78% 20%, rgba(213, 165, 64, 0.42), transparent 36%);
}

.online-payments-hero {
  background:
    linear-gradient(135deg, rgba(6, 22, 49, 0.95), rgba(15, 78, 118, 0.82)),
    radial-gradient(circle at 80% 22%, rgba(213, 165, 64, 0.46), transparent 35%);
}

.standalone-payments {
  margin-bottom: 76px;
}

.directory-tools {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(280px, 1fr) minmax(180px, 0.42fr);
  gap: 14px;
  margin-bottom: 14px;
  padding: 20px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 50px rgba(10, 31, 68, 0.08);
}

.directory-tools label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 800;
}

.directory-tools input,
.directory-tools select {
  min-height: 48px;
  border: 1px solid #cfd9e6;
  border-radius: 6px;
  padding: 0 13px;
  color: var(--ink);
  background: #f8fafc;
  font: inherit;
  font-weight: 600;
}

.directory-tools input[type="file"] {
  height: auto;
  padding: 12px;
}

.directory-admin-tools {
  margin-bottom: 16px;
}

.directory-admin-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0 24px;
  padding: 18px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: rgba(248, 250, 252, 0.92);
}

.directory-admin-form label {
  display: grid;
  gap: 8px;
  color: #48576a;
  font-weight: 800;
}

.directory-admin-form input,
.directory-admin-form select {
  width: 100%;
  min-width: 0;
  height: 48px;
  border: 1px solid #c8d4e2;
  border-radius: 6px;
  padding: 0 14px;
  font: inherit;
}

.directory-admin-form button {
  grid-column: 1 / -1;
  min-height: 48px;
  border: 0;
  border-radius: 6px;
  color: var(--navy);
  background: var(--gold);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.directory-admin-heading {
  margin-top: 18px;
}

.directory-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: #536174;
  font-size: 0.95rem;
}

.directory-note strong {
  color: var(--navy);
}

.directory-list {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.directory-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) minmax(170px, 0.28fr);
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 16px 46px rgba(10, 31, 68, 0.08);
}

.directory-avatar {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  overflow: hidden;
  border-radius: 50%;
  color: var(--navy);
  background: linear-gradient(135deg, rgba(213, 165, 64, 0.34), rgba(255, 255, 255, 0.96));
  font-weight: 900;
}

.directory-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.directory-crip {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.directory-card h3,
.directory-card p {
  margin: 0;
}

.directory-card h3 {
  color: var(--navy);
  font-size: 1.35rem;
}

.directory-card p {
  color: #536174;
  line-height: 1.45;
}

.directory-state {
  display: grid;
  justify-items: start;
  gap: 6px;
}

.directory-state strong {
  display: inline-flex;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.directory-state span {
  color: #536174;
  font-size: 0.88rem;
}

.directory-delete {
  min-height: 38px;
  border: 1px solid rgba(166, 64, 70, 0.28);
  border-radius: 6px;
  color: #8f2c34;
  background: rgba(166, 64, 70, 0.08);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.directory-empty {
  grid-template-columns: 76px 1fr;
}

.directory-state .enabled {
  color: #0f5f43;
  background: rgba(31, 122, 85, 0.13);
}

.directory-state .not-enabled {
  color: #8f2930;
  background: rgba(166, 47, 53, 0.12);
}

.directory-state .observed {
  color: #8a610c;
  background: rgba(213, 165, 64, 0.18);
}

.search-link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 6px;
  padding: 0 18px;
  color: var(--white);
  background: var(--blue);
  font-weight: 900;
}

.important-note {
  border-color: rgba(166, 47, 53, 0.3);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(166, 47, 53, 0.08));
}

.important-note strong {
  color: var(--red);
}

.month-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.month-pill {
  display: grid;
  gap: 6px;
  padding: 12px;
  border-radius: 8px;
  color: var(--navy);
  background: #f8fafc;
  font-weight: 800;
}

.month-pill strong {
  font-size: 0.78rem;
  text-transform: uppercase;
}

.month-pill.paid {
  background: rgba(42, 124, 122, 0.14);
}

.month-pill.due {
  background: rgba(166, 47, 53, 0.12);
}

.reniec-panel,
.data-form,
.sheet-config {
  display: grid;
  gap: 12px;
}

.reniec-panel {
  grid-template-columns: 1fr 1fr auto;
  align-items: end;
  padding: 18px;
  border-radius: 8px;
  background: #f8fafc;
}

.data-form {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  margin-top: 18px;
}

.wide-field {
  grid-column: span 2;
}

.reniec-panel label,
.data-form label {
  display: grid;
  gap: 8px;
  color: #48576a;
  font-weight: 800;
}

.reniec-panel input,
.data-form input,
.data-form select {
  width: 100%;
  min-width: 0;
  height: 48px;
  border: 1px solid #c8d4e2;
  border-radius: 6px;
  padding: 0 14px;
  font: inherit;
  background: var(--white);
}

.reniec-panel button,
.data-form button {
  min-height: 48px;
  border: 0;
  border-radius: 6px;
  padding: 0 16px;
  color: var(--white);
  background: var(--navy);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.sheet-config {
  grid-template-columns: minmax(260px, 0.7fr) 1fr;
  align-items: end;
  margin-top: 18px;
  padding: 20px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #ffffff;
}

.sheet-config h2 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.sheet-config p:not(.section-kicker) {
  color: #536174;
  line-height: 1.55;
}

.data-log {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.data-log p {
  margin: 0;
  padding: 12px;
  border-radius: 6px;
  color: #48576a;
  background: #f8fafc;
}

.enrollment-hero {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 0.48fr);
  gap: 30px;
  align-items: center;
  padding: 64px max(18px, calc((100% - 1120px) / 2));
  color: var(--white);
  background:
    radial-gradient(circle at 82% 18%, rgba(214, 180, 97, 0.2), transparent 22rem),
    linear-gradient(112deg, #050d19, var(--navy) 58%, #182438);
}

.enrollment-hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 5vw, 5rem);
  line-height: 1;
}

.enrollment-hero p:not(.section-kicker) {
  max-width: 720px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.65;
}

.enrollment-shell {
  width: min(1120px, calc(100% - 36px));
  margin: 28px auto 76px;
  padding: 24px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 52px rgba(11, 35, 65, 0.08);
}

.api-config-panel {
  margin: 18px 0;
  padding: 18px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(11, 35, 65, 0.06);
}

.api-config-panel summary {
  color: var(--navy);
  font-weight: 800;
  cursor: pointer;
}

.api-config-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(220px, 0.55fr) auto;
  gap: 12px;
  align-items: end;
  margin-top: 14px;
}

.api-config-grid label {
  display: grid;
  gap: 8px;
  color: #48576a;
  font-weight: 800;
}

.api-config-grid input {
  min-height: 48px;
  border: 1px solid #c8d4e2;
  border-radius: 6px;
  padding: 0 14px;
  font: inherit;
}

.api-config-grid button {
  min-height: 48px;
  border: 0;
  border-radius: 6px;
  padding: 0 18px;
  color: var(--white);
  background: linear-gradient(135deg, #4f83a8, #4f9690);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.api-config-panel p {
  margin: 12px 0 0;
  color: #536174;
  line-height: 1.5;
}

.enrollment-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
  margin-top: 18px;
}

.enrollment-form label,
.attachments-panel label {
  display: grid;
  gap: 8px;
  color: #48576a;
  font-weight: 800;
}

.enrollment-form input,
.enrollment-form select,
.enrollment-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #c8d4e2;
  border-radius: 6px;
  padding: 0 14px;
  font: inherit;
  background: var(--white);
}

.enrollment-form input,
.enrollment-form select {
  height: 48px;
}

.enrollment-form textarea {
  min-height: 112px;
  padding: 12px 14px;
  resize: vertical;
}

.enrollment-form button {
  grid-column: 1 / -1;
  min-height: 52px;
  border: 0;
  border-radius: 6px;
  padding: 0 18px;
  color: var(--white);
  background: var(--navy);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.registration-card {
  display: grid;
  gap: 18px;
  margin-top: 8px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  padding: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(214, 180, 97, 0.1));
}

.registration-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.registration-heading h3 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
}

.registration-heading a {
  flex: 0 0 auto;
  border: 1px solid #c8d4e2;
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--blue);
  font-weight: 800;
  background: #ffffff;
}

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

.registration-pledge {
  margin: 0;
  border-left: 4px solid var(--gold);
  padding: 12px 14px;
  color: #536174;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.76);
}

.declaration-checklist {
  display: grid;
  gap: 10px;
}

.declaration-checklist label {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  padding: 12px;
  color: #48576a;
  background: rgba(255, 255, 255, 0.86);
  line-height: 1.45;
}

.declaration-checklist input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--blue);
}

.attachments-panel {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 20px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #ffffff;
}

.attachments-panel > div:first-child,
.attachment-list {
  grid-column: 1 / -1;
}

.attachments-panel h3 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.attachments-panel input[type="file"] {
  height: auto;
  padding: 12px;
  background: #f8fafc;
}

.attachment-list {
  display: grid;
  gap: 8px;
  color: #536174;
}

.enrollment-preview {
  display: grid;
  gap: 18px;
  margin-top: 24px;
  padding: 24px;
  border: 1px solid rgba(13, 58, 100, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(242, 247, 252, 0.96)),
    radial-gradient(circle at top right, rgba(198, 151, 59, 0.16), transparent 38%);
  box-shadow: 0 18px 44px rgba(11, 35, 65, 0.08);
}

.enrollment-preview[hidden] {
  display: none;
}

.send-school-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 6px;
  color: #ffffff;
  background: linear-gradient(135deg, #173f67, #0f2f4f);
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(15, 47, 79, 0.2);
}

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

.preview-section {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 16px;
  border: 1px solid #e1e8f0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
}

.preview-section h4 {
  margin: 0;
  color: var(--navy);
  font-size: 1rem;
}

.preview-row {
  display: grid;
  grid-template-columns: minmax(120px, 0.45fr) minmax(0, 1fr);
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid #edf2f7;
}

.preview-row span {
  color: #637083;
  font-size: 0.88rem;
  font-weight: 800;
}

.preview-row strong {
  color: #1f2d3d;
  font-size: 0.95rem;
  word-break: break-word;
}

.empty-preview {
  margin: 0;
  color: #536174;
}

.attachment-list span {
  padding: 10px 12px;
  border-radius: 6px;
  background: #f8fafc;
}

@keyframes logoReveal {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes riseIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 860px) {
  .topbar {
    align-items: flex-start;
    gap: 12px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: calc(100% - 100px);
  }

  .nav-links a,
  .nav-menu > a {
    padding: 9px 10px;
    font-size: 0.82rem;
  }

  .action-grid,
  .feature-grid,
  .content-band,
  .contact-band,
  .page-hero,
  .board-hero,
  .board-grid,
  .intranet-hero,
  .record-form,
  .services-hero,
  .service-grid,
  .benefits-grid,
  .digital-desk-layout,
  .digital-desk-form,
  .directory-tools,
  .directory-admin-form,
  .payments-section,
  .habilitation-panel,
  .blog-hero,
  .blog-layout,
  .blog-grid.compact,
  .category-grid,
  .history-hero,
  .history-intro,
  .timeline-section,
  .library-hero,
  .book-form,
  .library-grid,
  .jobs-hero,
  .job-form,
  .job-tools,
  .jobs-grid,
  .data-hero,
  .member-access-grid,
  .member-kpis,
  .month-grid,
  .reniec-panel,
  .data-form,
  .sheet-config,
  .management-card,
  .enrollment-hero,
  .enrollment-form,
  .registration-grid,
  .attachments-panel,
  .dean-grid {
    grid-template-columns: 1fr 1fr;
  }

  .deans-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .topbar {
    flex-direction: column;
    width: min(100% - 28px, 520px);
  }

  .nav-links {
    justify-content: flex-start;
    width: 100%;
    max-width: 100%;
  }

  .nav-links a,
  .nav-menu {
    flex: 1 1 calc(50% - 8px);
    text-align: center;
  }

  .nav-menu > a {
    text-align: center;
  }

  .submenu {
    position: static;
    width: 100%;
    margin-top: 6px;
    text-align: left;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    box-shadow: none;
  }

  .submenu a {
    min-height: 36px;
    padding: 9px 10px;
    text-align: left;
    font-size: 0.78rem;
  }

  .nav-menu {
    display: grid;
    align-content: start;
    text-align: left;
  }

  .hero {
    min-height: auto;
    padding-top: 38px;
  }

  .action-grid,
  .feature-grid,
  .content-band,
  .contact-band,
  .page-hero,
  .board-hero,
  .board-grid,
  .intranet-hero,
  .intranet-metrics,
  .record-form,
  .services-hero,
  .service-grid,
  .service-detail-grid,
  .benefits-grid,
  .digital-desk-layout,
  .digital-desk-form,
  .directory-tools,
  .directory-admin-form,
  .directory-card,
  .payments-section,
  .payment-grid,
  .payment-system,
  .payment-options,
  .habilitation-panel,
  .blog-hero,
  .blog-layout,
  .blog-grid,
  .blog-grid.compact,
  .category-grid,
  .history-hero,
  .history-intro,
  .timeline-section,
  .library-hero,
  .book-form,
  .library-grid,
  .jobs-hero,
  .jobs-summary,
  .job-form,
  .job-tools,
  .jobs-grid,
  .data-hero,
  .member-access-grid,
  .member-profile-card,
  .member-kpis,
  .month-grid,
  .reniec-panel,
  .data-form,
  .sheet-config,
  .management-card,
  .enrollment-hero,
  .enrollment-form,
  .registration-grid,
  .attachments-panel,
  .preview-grid,
  .dean-grid,
  .search-row {
    grid-template-columns: 1fr;
  }

  .preview-row {
    grid-template-columns: 1fr;
  }

  .wide-field {
    grid-column: auto;
  }

  .blog-sidebar {
    position: static;
  }

  .panel-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .benefits-callout {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .feature {
    min-height: 210px;
  }
}
.editor-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 12%, rgba(214, 180, 97, 0.2), transparent 28rem),
    radial-gradient(circle at 82% 18%, rgba(14, 88, 146, 0.2), transparent 30rem),
    linear-gradient(145deg, #f8fafc, #eef3f8 58%, #f7f1df);
}

.editor-page .page-topbar {
  color: var(--white);
}

.editor-shell {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto 44px;
}

.editor-hero {
  display: grid;
  gap: 12px;
  max-width: 920px;
  padding: 44px 0 24px;
}

.editor-hero h1 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4.8rem);
  line-height: 1.02;
}

.editor-hero p {
  max-width: 780px;
  margin: 0;
  color: rgba(7, 19, 33, 0.72);
  font-size: 1.05rem;
  line-height: 1.65;
}

.editor-workspace {
  overflow: hidden;
  border: 1px solid rgba(7, 48, 93, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 22px 70px rgba(7, 19, 33, 0.12);
  backdrop-filter: blur(18px);
}

.editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid rgba(7, 48, 93, 0.1);
  background: rgba(7, 19, 33, 0.92);
}

.editor-field {
  display: grid;
  gap: 6px;
  min-width: min(100%, 320px);
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.editor-field select {
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  padding: 0 12px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
  font-size: 0.95rem;
  text-transform: none;
}

.editor-field option {
  color: var(--ink);
}

.editor-button {
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  padding: 0 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.editor-button:hover,
.editor-button:focus-visible {
  outline: none;
  background: rgba(255, 255, 255, 0.16);
}

.editor-button.primary {
  border-color: rgba(214, 180, 97, 0.9);
  color: var(--navy);
  background: var(--gold);
}

.editor-button.danger {
  border-color: rgba(166, 47, 53, 0.4);
  background: rgba(166, 47, 53, 0.18);
}

.editor-help {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  color: rgba(7, 19, 33, 0.68);
  font-size: 0.92rem;
}

.editor-help strong {
  color: var(--navy);
}

.editor-frame-wrap {
  height: min(760px, 72vh);
  min-height: 520px;
  border-top: 1px solid rgba(7, 48, 93, 0.1);
  background: #dce4ee;
}

.editor-frame-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: var(--white);
}

@media (max-width: 760px) {
  .editor-toolbar {
    align-items: stretch;
  }

  .editor-field,
  .editor-button {
    width: 100%;
  }

  .editor-frame-wrap {
    min-height: 560px;
    height: 76vh;
  }
}

@media (max-width: 900px) {
  .colegiatura-hero,
  .colegiatura-layout,
  .fee-grid,
  .account-grid {
    grid-template-columns: 1fr;
  }
}

.contact-hero {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(260px, 0.44fr);
  gap: 30px;
  align-items: center;
  padding: 64px max(18px, calc((100% - 1120px) / 2));
  color: var(--white);
  background:
    radial-gradient(circle at 78% 20%, rgba(213, 165, 64, 0.25), transparent 22rem),
    linear-gradient(112deg, #050d19, var(--navy) 58%, #1b2534);
}

.contact-hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 5vw, 5rem);
  line-height: 1;
}

.contact-hero p:not(.section-kicker) {
  max-width: 720px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.65;
}

.contact-quick-card,
.contact-info-card,
.map-panel {
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 54px rgba(10, 31, 68, 0.08);
}

.contact-quick-card {
  display: grid;
  gap: 12px;
  padding: 26px;
  color: var(--ink);
}

.contact-quick-card span,
.contact-info-card span {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-quick-card strong {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.contact-quick-card a,
.contact-info-card a,
.map-actions a {
  color: var(--blue);
  font-weight: 900;
}

.contact-page-section {
  width: min(1120px, calc(100% - 36px));
  margin: 38px auto 76px;
}

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

.contact-info-card {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.contact-info-card.wide {
  grid-column: 1 / -1;
}

.contact-info-card h2,
.contact-info-card strong {
  margin: 0;
  color: var(--navy);
  font-size: 1.45rem;
}

.map-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.48fr) minmax(0, 1fr);
  gap: 20px;
  margin-top: 18px;
  padding: 22px;
}

.map-panel h2,
.map-panel p {
  margin: 0;
}

.map-panel h2 {
  color: var(--navy);
  font-size: 1.8rem;
}

.map-panel p:not(.section-kicker) {
  margin-top: 12px;
  color: #536174;
  line-height: 1.6;
}

.map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.map-actions a {
  border: 1px solid #c8d4e2;
  border-radius: 6px;
  padding: 11px 13px;
  background: #f8fafc;
}

.map-panel iframe {
  width: 100%;
  min-height: 420px;
  border: 0;
  border-radius: 8px;
  background: #f8fafc;
}

@media (max-width: 900px) {
  .contact-hero,
  .contact-info-grid,
  .map-panel {
    grid-template-columns: 1fr;
  }
}

/* Modern visual refresh */
body {
  background:
    radial-gradient(circle at 10% 4%, rgba(18, 108, 166, 0.10), transparent 24rem),
    radial-gradient(circle at 92% 8%, rgba(202, 162, 74, 0.14), transparent 22rem),
    linear-gradient(180deg, #f7fafc 0%, #edf3f8 48%, #f8f5eb 100%);
}

.inner-page {
  background:
    radial-gradient(circle at 12% 8%, rgba(22, 130, 125, 0.10), transparent 26rem),
    radial-gradient(circle at 88% 0%, rgba(202, 162, 74, 0.16), transparent 24rem),
    linear-gradient(180deg, #f8fbfd 0%, #eef4f8 58%, #f7f3e8 100%);
}

.topbar,
.page-topbar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.page-topbar {
  background:
    linear-gradient(110deg, rgba(7, 31, 61, 0.98), rgba(13, 69, 105, 0.96) 58%, rgba(22, 130, 125, 0.88));
  box-shadow: 0 18px 55px rgba(7, 31, 61, 0.18);
}

.brand-mark,
.nav-links {
  border-color: rgba(255, 255, 255, 0.20);
  background: rgba(7, 31, 61, 0.50);
  box-shadow: 0 18px 46px rgba(5, 13, 25, 0.18);
}

.submenu {
  background: rgba(7, 31, 61, 0.96);
  box-shadow: 0 26px 72px rgba(7, 31, 61, 0.32);
}

.cinema-stage,
.intro-stage {
  background:
    radial-gradient(circle at var(--cursor-x) var(--cursor-y), rgba(202, 162, 74, 0.26), transparent 16rem),
    radial-gradient(circle at 16% 12%, rgba(79, 150, 144, 0.16), transparent 24rem),
    linear-gradient(132deg, #07111f 0%, #10243f 48%, #2f5f7c 76%, #0b1626 100%);
}

.page-hero,
.board-hero,
.services-hero,
.blog-hero,
.history-hero,
.library-hero,
.jobs-hero,
.data-hero,
.enrollment-hero,
.colegiatura-hero,
.contact-hero {
  background:
    radial-gradient(circle at 78% 18%, rgba(202, 162, 74, 0.26), transparent 24rem),
    radial-gradient(circle at 18% 18%, rgba(79, 150, 144, 0.13), transparent 22rem),
    linear-gradient(118deg, #0b1728 0%, #10243f 52%, #456f89 78%, #365f61 100%);
}

.service-card,
.blog-card,
.blog-sidebar,
.history-intro article,
.timeline article,
.library-card,
.job-card,
.colegiatura-card,
.fee-grid article,
.account-grid article,
.important-note,
.contact-info-card,
.contact-quick-card,
.map-panel,
.category-card,
.directory-card,
.digital-desk-form,
.digital-desk-status,
.benefit-card {
  border-color: rgba(17, 87, 131, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 253, 0.94));
  box-shadow: 0 18px 44px rgba(7, 31, 61, 0.09);
}

.service-card:hover,
.blog-card:hover,
.library-card:hover,
.category-card:hover,
.benefit-card:hover,
.directory-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 64px rgba(7, 31, 61, 0.14);
}

.service-card,
.blog-card,
.library-card,
.category-card,
.benefit-card,
.directory-card {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card.featured,
.blog-card.featured,
.library-card.has-pdf {
  border-top-color: var(--gold);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.99), rgba(250, 242, 221, 0.82));
}

.section-kicker,
.service-card span,
.blog-card span,
.category-card span,
.benefit-card span,
.directory-crip,
.contact-info-card span,
.contact-quick-card span {
  color: #3f7890;
}

.back-home,
.ghost-button,
.search-link-button,
.payment-checkout button,
.digital-desk-form button,
.book-form button,
.enrollment-form button,
.data-form button,
.job-form button {
  box-shadow: 0 14px 34px rgba(79, 131, 168, 0.18);
}

.search-link-button,
.payment-checkout button,
.digital-desk-form button,
.data-form button,
.job-form button {
  background: linear-gradient(135deg, #4f83a8, #4f9690);
}

.book-form button,
.member-access button,
.intro-enter,
.payment-highlight a {
  background: linear-gradient(135deg, #d6b55f, #b78a2f);
}

input,
select,
textarea {
  border-color: rgba(18, 108, 166, 0.22) !important;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(202, 162, 74, 0.34);
  outline-offset: 2px;
}

/* Responsive adaptation for desktop, tablet and mobile */
img,
video,
canvas,
iframe {
  max-width: 100%;
}

img {
  height: auto;
}

button,
a,
input,
select,
textarea {
  max-width: 100%;
}

.topbar,
.page-topbar {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.page-topbar {
  width: 100%;
  padding-inline: max(16px, calc((100% - 1180px) / 2));
}

.brand-mark {
  flex: 0 0 auto;
}

.nav-links {
  min-width: 0;
  overflow: visible;
}

.records-table-wrap,
.admin-rates-table-wrap {
  -webkit-overflow-scrolling: touch;
}

.records-table,
.admin-rates-table {
  min-width: 720px;
}

.hero-actions,
.contact-actions,
.map-actions,
.intro-actions,
.directory-note,
.library-card div,
.job-card div {
  min-width: 0;
}

.hero-actions a,
.contact-actions a,
.map-actions a,
.intro-actions a,
.intro-actions button,
.payment-highlight a,
.back-home,
.ghost-button,
.search-link-button,
.payment-checkout button,
.digital-desk-form button,
.book-form button,
.enrollment-form button,
.data-form button,
.job-form button {
  justify-content: center;
  white-space: normal;
  text-align: center;
}

@media (min-width: 1181px) {
  .nav-links {
    flex-wrap: nowrap;
  }
}

@media (max-width: 1100px) {
  .topbar,
  .page-topbar {
    align-items: flex-start;
    gap: 12px;
  }

  .nav-links {
    flex: 1 1 auto;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .nav-links a,
  .nav-menu > a {
    padding: 10px 11px;
    font-size: 0.88rem;
  }

  .hero-grid,
  .page-hero,
  .board-hero,
  .services-hero,
  .blog-hero,
  .history-hero,
  .library-hero,
  .jobs-hero,
  .data-hero,
  .enrollment-hero,
  .colegiatura-hero,
  .contact-hero,
  .digital-desk-hero {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .benefits-grid,
  .blog-grid,
  .news-grid,
  .history-grid,
  .timeline,
  .library-grid,
  .jobs-grid,
  .fee-grid,
  .directory-stats,
  .contact-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .payments-section,
  .payment-system,
  .colegiatura-layout,
  .dashboard-panel,
  .database-panel,
  .sheet-connect,
  .map-panel,
  .dashboard-access-layout,
  .digital-desk-layout,
  .benefits-layout,
  .blog-layout,
  .history-layout,
  .directory-tools,
  .job-tools {
    grid-template-columns: 1fr;
  }

  .book-form,
  .job-form,
  .directory-admin-form,
  .enrollment-form,
  .data-form,
  .digital-desk-form,
  .member-access-grid,
  .table-tools {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .board-member,
  .directory-card {
    grid-template-columns: 90px minmax(0, 1fr);
  }

  .directory-state {
    grid-column: 2;
  }
}

@media (max-width: 760px) {
  body {
    overflow-x: hidden;
  }

  .topbar,
  .page-topbar {
    width: 100%;
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
  }

  .brand-mark {
    align-self: center;
  }

  .brand-mark img {
    max-height: 54px;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    gap: 8px;
    padding: 8px;
    overflow: visible;
  }

  .nav-links a,
  .nav-menu {
    flex: 1 1 calc(50% - 8px);
    min-width: 136px;
  }

  .nav-menu > a,
  .nav-links > a {
    display: grid;
    place-items: center;
    min-height: 44px;
    width: 100%;
    padding: 10px;
  }

  .submenu {
    position: static;
    display: none;
    width: 100%;
    margin-top: 6px;
    border-radius: 8px;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-menu:hover .submenu,
  .nav-menu:focus-within .submenu,
  .nav-menu:has(.is-active) .submenu,
  .nav-menu:has(.is-active-parent) .submenu {
    display: grid;
  }

  .submenu a {
    min-height: 40px;
    text-align: center;
  }

  .cinema-content,
  .intro-content,
  .page-hero,
  .board-hero,
  .services-hero,
  .blog-hero,
  .history-hero,
  .library-hero,
  .jobs-hero,
  .data-hero,
  .enrollment-hero,
  .colegiatura-hero,
  .contact-hero,
  .digital-desk-hero {
    padding-inline: 16px;
    padding-block: 40px;
  }

  .hero-title,
  .page-hero h1,
  .board-hero h1,
  .services-hero h1,
  .blog-hero h1,
  .history-hero h1,
  .library-hero h1,
  .jobs-hero h1,
  .data-hero h1,
  .enrollment-hero h1,
  .colegiatura-hero h1,
  .contact-hero h1 {
    font-size: clamp(2rem, 11vw, 3.25rem);
    line-height: 1.04;
  }

  .hero-actions,
  .contact-actions,
  .map-actions,
  .intro-actions {
    width: 100%;
  }

  .hero-actions a,
  .contact-actions a,
  .map-actions a,
  .intro-actions a,
  .intro-actions button,
  .payment-highlight a,
  .back-home,
  .ghost-button,
  .search-link-button,
  .payment-checkout button,
  .digital-desk-form button,
  .book-form button,
  .enrollment-form button,
  .data-form button,
  .job-form button {
    width: 100%;
    min-height: 46px;
  }

  .quick-links,
  .service-grid,
  .benefits-grid,
  .service-detail-grid,
  .payment-grid,
  .payment-options,
  .blog-grid,
  .news-grid,
  .blog-layout,
  .history-grid,
  .timeline,
  .library-grid,
  .jobs-grid,
  .jobs-summary,
  .fee-grid,
  .account-grid,
  .directory-stats,
  .contact-info-grid,
  .book-form,
  .job-form,
  .job-tools,
  .directory-tools,
  .directory-admin-form,
  .enrollment-form,
  .data-form,
  .digital-desk-form,
  .member-access-grid,
  .member-kpis,
  .month-grid,
  .table-tools,
  .api-config-grid,
  .category-list {
    grid-template-columns: 1fr;
  }

  .payments-section,
  .habilitation-panel,
  .library-app,
  .jobs-shell,
  .member-dashboard-shell,
  .colegiatura-section,
  .contact-page-section {
    width: min(100% - 24px, 1120px);
  }

  .service-card,
  .blog-card,
  .library-card,
  .job-card,
  .colegiatura-card,
  .benefit-card,
  .contact-info-card,
  .contact-quick-card,
  .map-panel,
  .payment-checkout,
  .debt-lookup,
  .digital-desk-form,
  .digital-desk-status,
  .member-profile-card,
  .payment-history-panel {
    padding: 18px;
  }

  .directory-card,
  .board-member,
  .member-profile {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .directory-state,
  .board-member > *,
  .member-profile > * {
    grid-column: auto;
  }

  .directory-avatar,
  .board-photo,
  .member-avatar {
    width: 76px;
    height: 76px;
  }

  .group-photo,
  .board-photo img,
  .directory-avatar img,
  .library-card iframe,
  .map-frame iframe {
    width: 100%;
  }

  .records-table-wrap,
  .admin-rates-table-wrap {
    margin-inline: -4px;
  }

  .records-table th,
  .records-table td,
  .admin-rates-table th,
  .admin-rates-table td {
    padding: 12px;
    font-size: 0.9rem;
  }
}

@media (max-width: 420px) {
  .nav-links a,
  .nav-menu {
    flex-basis: 100%;
    min-width: 0;
  }

  .brand-mark {
    width: 100%;
  }

  .brand-mark img {
    margin-inline: auto;
  }

  .payment-summary strong,
  .fee-grid strong,
  .member-kpis span,
  .colegiatura-summary strong {
    font-size: 1.65rem;
  }

  .payment-highlight strong,
  .contact-quick-card strong,
  .library-card h3,
  .job-card h3,
  .directory-card h3 {
    font-size: 1.18rem;
  }
}
