:root {
  --navy: #1a3673;
  --navy-deep: #12265a;
  --sky: #2b6cb0;
  --gold: #ffcc00;
  --gold-dark: #e6b800;
  --cream: #fefdf5;
  --ice: #f0f4ff;
  --muted: #5b6b8c;
  --line: #d9e2f2;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", system-ui, sans-serif;
  color: var(--navy);
  background: #fff;
}

.gold-btn {
  background: var(--gold);
  color: var(--navy);
  font-weight: 600;
  box-shadow: 0 6px 16px -8px rgba(255, 204, 0, 0.9);
  transition: background 0.2s ease, transform 0.2s ease;
}

.gold-btn:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
}

.navy-btn {
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  transition: background 0.2s ease;
}

.navy-btn:hover {
  background: var(--navy-deep);
}

.ghost-btn {
  border: 1.5px solid var(--sky);
  color: var(--navy);
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}

.ghost-btn:hover {
  background: var(--ice);
}

.ticker {
  display: flex;
  align-items: center;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
  height: 2.15rem;
}

.ticker-track {
  display: flex;
  align-items: center;
  height: 100%;
  width: max-content;
  animation: ticker-scroll 32s linear infinite;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-group {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 2.25rem;
  padding-inline: 2.25rem;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  line-height: 1;
}

.ticker-group > span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.ticker-dot {
  display: inline-block;
  width: 3px;
  height: 3px;
  min-width: 3px;
  min-height: 3px;
  max-width: 3px;
  max-height: 3px;
  border-radius: 50%;
  background: var(--gold);
  flex: 0 0 3px;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

#mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

#mobile-menu.open {
  max-height: 28rem;
}

.hero-wrap {
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 204, 0, 0.22), transparent 32%),
    radial-gradient(circle at 92% 10%, rgba(43, 108, 176, 0.16), transparent 28%),
    linear-gradient(180deg, #fefdf5 0%, #f0f4ff 100%);
}

.hero-shapes {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 82%, rgba(255, 204, 0, 0.14), transparent 22%),
    radial-gradient(circle at 42% 88%, rgba(26, 54, 115, 0.06), transparent 18%);
}

.hero-form {
  box-shadow: 0 16px 40px -18px rgba(26, 54, 115, 0.28);
}

.hero-mobile-banner {
  position: relative;
  width: 100%;
  line-height: 0;
}

.hero-mobile-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-mobile-actions {
  position: absolute;
  left: 1.15rem;
  right: 1.15rem;
  bottom: 9%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
  padding: 0;
  background: none;
  line-height: normal;
}

.hero-mobile-actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.8rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 700;
}

.hero-mobile-actions i {
  font-size: 0.95rem;
}

.hero-mobile-explore {
  background: #fff;
  color: var(--navy);
  font-weight: 700;
  border-radius: 0.375rem;
  box-shadow: 0 6px 16px -8px rgba(26, 54, 115, 0.45);
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-mobile-explore:hover {
  background: var(--ice);
}

@media (min-width: 1024px) {
  .hero-mobile-banner {
    display: none;
  }
}

.hero-figure {
  position: relative;
  display: none;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
  z-index: 0;
}

.hero-ring {
  position: absolute;
  left: 50%;
  bottom: 6%;
  width: 14rem;
  height: 14rem;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 204, 0, 0.42) 0%, rgba(255, 204, 0, 0.08) 48%, transparent 72%);
  z-index: 0;
}

.hero-char {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  max-height: 460px;
  object-fit: contain;
  object-position: bottom;
  filter: drop-shadow(0 18px 22px rgba(26, 54, 115, 0.2));
}

@media (min-width: 1024px) {
  .hero-figure {
    display: flex;
    height: 100%;
    min-height: 420px;
  }
}

.line-field {
  width: 100%;
  background: #faf7f2;
  border: none;
  border-bottom: 1.5px solid #111;
  border-radius: 0;
  padding: 0.7rem 0.8rem;
  font-size: 0.875rem;
  color: #111;
  appearance: none;
}

select.line-field {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23111' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  padding-right: 2rem;
}

.line-field::placeholder {
  color: #8a8a8a;
}

.line-field:focus {
  outline: none;
  box-shadow: none !important;
  background: #fff;
  border: none !important;
  border-bottom: 1.5px solid var(--navy) !important;
}

.course-head {
  position: relative;
  margin-bottom: 1.75rem;
  padding-right: 3rem;
}

.course-underline {
  display: inline-block;
  border-bottom: 3px solid var(--gold);
  padding-bottom: 0.05rem;
}

.course-plane {
  position: absolute;
  top: 0.15rem;
  right: 0;
  color: var(--navy);
  font-size: 1.35rem;
}

.course-plane::before {
  content: "";
  position: absolute;
  right: 1.4rem;
  top: 0.55rem;
  width: 2.6rem;
  border-top: 2px dashed var(--gold);
  transform: rotate(-18deg);
  transform-origin: right center;
}

.prog-card {
  --accent: var(--sky);
  --soft: #e8f1ff;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  background: #fff;
  box-shadow: 0 14px 32px -18px rgba(26, 54, 115, 0.28);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.05rem 1rem 0.95rem;
  min-height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.prog-card::after {
  content: "";
  position: absolute;
  right: -2rem;
  bottom: -2.2rem;
  width: 6.5rem;
  height: 6.5rem;
  border-radius: 50%;
  background: var(--soft);
  opacity: 0.7;
  z-index: 0;
}

.prog-card > * {
  position: relative;
  z-index: 1;
}

.prog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -16px rgba(26, 54, 115, 0.32);
}

.t-blue { --accent: #2b6cb0; --soft: #dbeafe; }
.t-green { --accent: #16a34a; --soft: #dcfce7; }
.t-purple { --accent: #7c3aed; --soft: #ede9fe; }
.t-teal { --accent: #0d9488; --soft: #ccfbf1; }
.t-orange { --accent: #ea580c; --soft: #ffedd5; }
.t-rose { --accent: #e11d48; --soft: #ffe4e6; }
.t-indigo { --accent: #4f46e5; --soft: #e0e7ff; }
.t-gold { --accent: #ca8a04; --soft: #fef9c3; }
.t-navy { --accent: #1a3673; --soft: #dbe4f5; }

.prog-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.prog-icon {
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 0.8rem;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1rem;
  background: var(--accent);
  box-shadow: 0 8px 16px -10px var(--accent);
  flex-shrink: 0;
}

.prog-top h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
}

.prog-top p {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 0.12rem;
  line-height: 1.35;
}

.prog-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.pill-dur,
.pill-el {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  white-space: nowrap;
}

.pill-dur {
  color: var(--sky);
  background: #e8f1ff;
}

.pill-el {
  color: #b45309;
  background: #fff7d6;
}

.prog-btn {
  margin-top: auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  border: none;
  border-radius: 999px;
  padding: 0.28rem 0.28rem 0.28rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  background: var(--navy);
  transition: background 0.2s ease;
}

.prog-btn:hover {
  background: var(--navy-deep);
}

.prog-btn-arrow {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  display: grid;
  place-items: center;
  font-size: 0.7rem;
}

.cat-tabs {
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.cat-tabs::-webkit-scrollbar {
  display: none;
}

.cat-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.48rem 0.9rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
  background: #e8f0fe;
  border: none;
  border-radius: 999px;
}

.cat-tab.active {
  background: var(--navy);
  color: #fff;
}

.cat-badge {
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--navy);
}

.cat-tab.active .cat-badge {
  background: var(--gold);
  color: var(--navy);
}

.course-panel[hidden] {
  display: none !important;
}

.prog-card[hidden] {
  display: none !important;
}

.board-card {
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: 1rem;
  padding: 1rem 0.9rem 1.15rem;
  text-align: center;
  box-shadow: 0 16px 40px -18px rgba(26, 54, 115, 0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.board-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -16px rgba(26, 54, 115, 0.32);
}

.board-logo {
  width: 100%;
  height: 6.25rem;
  display: grid;
  place-items: center;
  background: var(--ice);
  border-radius: 0.75rem;
  padding: 0.7rem 0.85rem;
}

.board-logo img {
  max-height: 4.75rem;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}

.board-card h3 {
  font-weight: 800;
  color: var(--navy);
  font-size: 1.15rem;
  margin-top: 0.35rem;
  letter-spacing: 0.02em;
}

.board-card p {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.4;
}

.why-list {
  display: grid;
  gap: 0.9rem 1.15rem;
}

@media (min-width: 640px) {
  .why-list {
    grid-template-columns: 1fr 1fr;
  }
}

.why-item {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}

.why-icon {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.65rem;
  background: #fff;
  color: var(--navy);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 0.9rem;
}

.why-item span:last-child {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.4;
}

.why-item strong {
  display: block;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 0.12rem;
}

.enroll-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--gold-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.enroll-kicker::before {
  content: "";
  width: 1.6rem;
  height: 2px;
  background: var(--gold);
}

.enroll-steps {
  --enroll-num: 3rem;
  --enroll-gap: 1.25rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  position: relative;
  list-style: none;
  padding: 0;
  margin: 0;
}

.enroll-step {
  display: grid;
  grid-template-columns: var(--enroll-num) 1fr;
  column-gap: 1rem;
  row-gap: 0.35rem;
  text-align: left;
  position: relative;
  z-index: 1;
}

.enroll-num {
  grid-row: 1 / span 2;
  width: var(--enroll-num);
  height: var(--enroll-num);
  border-radius: 50%;
  border: 2px solid var(--line);
  background: #fff;
  color: var(--navy);
  font-weight: 800;
  font-size: 1.05rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 18px -12px rgba(26, 54, 115, 0.4);
}

.enroll-num.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--gold);
  box-shadow: 0 10px 20px -10px rgba(26, 54, 115, 0.7);
}

.enroll-step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  align-self: end;
}

.enroll-step p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
  grid-column: 2;
}

@media (min-width: 768px) {
  .enroll-steps {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--enroll-gap);
  }

  .enroll-steps::before {
    content: "";
    position: absolute;
    top: calc(var(--enroll-num) / 2);
    left: calc((100% - 3 * var(--enroll-gap)) / 8);
    right: calc((100% - 3 * var(--enroll-gap)) / 8);
    height: 2px;
    background: var(--line);
    transform: translateY(-50%);
    z-index: 0;
    pointer-events: none;
  }

  .enroll-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.55rem;
  }

  .enroll-num {
    grid-row: auto;
  }

  .enroll-step h3 {
    align-self: center;
    width: 100%;
  }

  .enroll-step p {
    grid-column: auto;
    max-width: 16rem;
    margin-inline: auto;
    text-align: center;
  }
}

.apply-page {
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 204, 0, 0.16), transparent 28%),
    radial-gradient(circle at 92% 4%, rgba(43, 108, 176, 0.1), transparent 24%),
    var(--cream);
}

.apply-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  padding: 1.5rem 1.25rem 1.6rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 16px 36px -22px rgba(26, 54, 115, 0.28);
}

.apply-card-title {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.apply-card-title span {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-size: 0.9rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.apply-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.apply-steps li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  padding: 0.45rem 0.4rem;
}

.apply-steps li.is-on {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.apply-lead {
  font-size: 0.9rem;
  color: #4b5d7a;
  line-height: 1.5;
  margin: -0.35rem 0 1.15rem;
}

.apply-lead em {
  color: #c2410c;
  font-style: normal;
}

.apply-note {
  background: var(--ice);
  border-left: 3px solid var(--gold);
  border-radius: 0.65rem;
  padding: 0.7rem 0.85rem;
  font-size: 0.84rem;
  color: var(--navy);
  margin-bottom: 1rem;
}

.apply-empty {
  background: #f7f8fb;
  border: 1px dashed var(--line);
  border-radius: 0.75rem;
  padding: 0.9rem 1rem;
  font-size: 0.86rem;
  color: var(--muted);
}

.apply-submit-note {
  font-size: 0.8rem;
  color: var(--muted);
  max-width: 22rem;
  line-height: 1.45;
}

.apply-grid {
  display: grid;
  gap: 1.05rem 1.15rem;
}

.apply-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}

.apply-field > span {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--navy);
}

.apply-field em {
  color: #c2410c;
  font-style: normal;
}

.apply-field input,
.apply-field select,
.apply-field textarea {
  width: 100%;
  background: #f7f8fb;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  padding: 0.72rem 0.9rem;
  font-size: 0.88rem;
  color: var(--navy);
  appearance: none;
}

.apply-field textarea {
  resize: vertical;
  min-height: 5.5rem;
}

.apply-field input:focus,
.apply-field select:focus,
.apply-field textarea:focus {
  outline: none;
  border-color: var(--sky);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(43, 108, 176, 0.12);
}

.apply-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%231a3673' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.1rem;
}

.apply-levels {
  display: grid;
  gap: 0.75rem;
}

.apply-level {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  text-align: left;
  background: #f7f8fb;
  border: 1.5px solid var(--line);
  border-radius: 1rem;
  padding: 1rem 1.05rem;
  color: var(--navy);
}

.apply-level i {
  color: var(--sky);
  margin-bottom: 0.25rem;
}

.apply-level strong {
  font-size: 1rem;
}

.apply-level span {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
}

.apply-level.is-on {
  background: var(--ice);
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(26, 54, 115, 0.08);
}

.apply-level.is-on i {
  color: var(--navy);
}

@media (min-width: 768px) {
  .apply-levels {
    grid-template-columns: repeat(3, 1fr);
  }
}

.apply-switch {
  display: inline-flex;
  background: var(--ice);
  border-radius: 999px;
  padding: 0.2rem;
  gap: 0.15rem;
  width: fit-content;
}

.apply-switch button {
  border: none;
  background: transparent;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.4rem 1rem;
  border-radius: 999px;
}

.apply-switch button.is-on {
  background: var(--navy);
  color: #fff;
}

.apply-file {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 2.75rem;
  background: #f7f8fb;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  padding: 0.35rem 0.4rem;
  cursor: pointer;
}

.apply-file input {
  position: absolute;
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
}

.apply-file-btn {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.42rem 0.8rem;
  white-space: nowrap;
}

.apply-file-name {
  font-size: 0.75rem;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.apply-submit {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.7rem;
  padding: 0.25rem 0 1rem;
}

@media (min-width: 768px) {
  .apply-steps {
    grid-template-columns: repeat(4, 1fr);
  }

  .apply-card {
    padding: 1.85rem 1.85rem 1.9rem;
  }

  .apply-grid {
    grid-template-columns: 1fr 1fr;
  }

  .apply-span-2 {
    grid-column: 1 / -1;
  }
}

.toast {
  position: fixed;
  right: 1.25rem;
  bottom: 1.5rem;
  z-index: 80;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

#suggest-modal:not(.open) {
  display: none;
}

#suggest-modal.open {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

.modal-panel {
  transform: translateY(18px);
  transition: transform 0.28s ease;
}

#suggest-modal.open .modal-panel {
  transform: translateY(0);
}

input:focus:not(.line-field),
select:focus:not(.line-field),
textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 204, 0, 0.45);
  border-color: var(--gold) !important;
}

.q-row:hover {
  background: var(--ice);
}

.stat-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: var(--ice);
  color: var(--sky);
  display: grid;
  place-items: center;
}

.site-footer {
  background: linear-gradient(
    90deg,
    #050814 0%,
    #0a1638 22%,
    #163a7a 52%,
    #1e4d96 72%,
    #0b1736 100%
  );
}

.wa-float {
  animation: pulse-wa 2.4s ease-out infinite;
  z-index: 70;
}

@keyframes pulse-wa {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wa-float, .course-card, .ticker-track { animation: none; transition: none; }
}

@media (max-width: 1023px) {
  .cat-tabs {
    gap: 0.45rem;
    padding-bottom: 0.15rem;
  }

  .cat-tab {
    font-size: 0.78rem;
    padding: 0.4rem 0.75rem;
  }

  .prog-card {
    padding: 0.85rem 0.75rem 0.8rem;
    gap: 0.55rem;
    border-radius: 1rem;
  }

  .prog-top {
    gap: 0.5rem;
  }

  .prog-icon {
    width: 2.35rem;
    height: 2.35rem;
    font-size: 0.82rem;
    border-radius: 0.65rem;
  }

  .prog-top h3 {
    font-size: 0.92rem;
  }

  .prog-top p {
    font-size: 0.62rem;
  }

  .prog-pills {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.28rem;
  }

  .pill-dur,
  .pill-el {
    font-size: 0.6rem;
    padding: 0.16rem 0.4rem;
  }

  .prog-btn {
    font-size: 0.68rem;
    padding: 0.2rem 0.2rem 0.2rem 0.6rem;
  }

  .prog-btn-arrow {
    width: 1.55rem;
    height: 1.55rem;
    font-size: 0.62rem;
  }

  .board-logo {
    height: 4.5rem;
    padding: 0.5rem;
  }

  .board-logo img {
    max-height: 3.4rem;
  }

  .board-card h3 {
    font-size: 1rem;
  }

  .board-card p {
    font-size: 0.68rem;
  }
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  background: linear-gradient(165deg, #1a3673 0%, #12265a 58%, #0e1c45 100%);
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
}

.loader-mark {
  position: relative;
  width: 9.5rem;
  height: 9.5rem;
  display: grid;
  place-items: center;
}

.loader-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--gold);
  animation: loader-spin 0.85s linear infinite;
}

.loader-crest {
  width: 7.1rem;
  height: 7.1rem;
  object-fit: contain;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.4));
  animation: loader-pulse 1.7s ease-in-out infinite;
}

.loader-name {
  margin: 1.35rem 0 0;
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
}

.loader-motto {
  margin: 0.4rem 0 0;
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.loader-bar {
  margin-top: 1.45rem;
  width: 8.25rem;
  height: 3px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.loader-bar span {
  display: block;
  height: 100%;
  width: 38%;
  border-radius: 99px;
  background: var(--gold);
  animation: loader-bar 1.15s ease-in-out infinite;
}

@keyframes loader-spin {
  to { transform: rotate(360deg); }
}

@keyframes loader-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.045); }
}

@keyframes loader-bar {
  0% { transform: translateX(-130%); }
  100% { transform: translateX(340%); }
}

@media (prefers-reduced-motion: reduce) {
  .loader-ring,
  .loader-crest,
  .loader-bar span {
    animation: none;
  }
}
