/* Self-hosted IRANSans (assets/fonts). No external font requests. */
@font-face{font-family:"IRANSans";font-style:normal;font-weight:100 200;font-display:swap;src:url("../assets/fonts/IRANSans-UltraLight.woff2") format("woff2");}
@font-face{font-family:"IRANSans";font-style:normal;font-weight:300;font-display:swap;src:url("../assets/fonts/IRANSans-Light.woff2") format("woff2");}
@font-face{font-family:"IRANSans";font-style:normal;font-weight:400;font-display:swap;src:url("../assets/fonts/IRANSans-Regular.woff2") format("woff2");}
@font-face{font-family:"IRANSans";font-style:normal;font-weight:500;font-display:swap;src:url("../assets/fonts/IRANSans-Medium.woff2") format("woff2");}
@font-face{font-family:"IRANSans";font-style:normal;font-weight:600 700;font-display:swap;src:url("../assets/fonts/IRANSans-Bold.woff2") format("woff2");}
@font-face{font-family:"IRANSans";font-style:normal;font-weight:800 900;font-display:swap;src:url("../assets/fonts/IRANSans-Black.woff2") format("woff2");}

/* ==========================================================================
   PIEC Global — Pure Standard CSS (Zero-Build / cPanel Ready)
   Brand Palette: Deep Navy (#0F253E / #152E4A / #0A1A2C) & Champagne Gold (#B78B43 / #DFBE84)
   Geometry: Sharp Executive Rectangular (border-radius: 0)
   ========================================================================== */

:root {
  --navy-950: #0a1a2c;
  --navy-900: #0f253e;
  --navy-800: #152e4a;
  --navy-750: #1b3654;
  --navy-700: #1e3b5c;
  --gold-700: #7a561b;
  --gold-650: #8b6424;
  --gold-600: #b78b43;
  --gold-300: #dfbe84;
  --gold-border: #e5d7bc;
  --gold-wash: #f8f4ec;
  --gold-badge-bg: #f5efe4;
  --canvas: #ffffff;
  --surface: #f7f8fa;
  --border: #e2e7ee;
  --ink: #0f253e;
  --muted: #526478;
  --placeholder-light: #6b7c90;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --danger: #b91c1c;
  --container-max: 1280px;
}

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

html {
  scroll-behavior: smooth;
  color: var(--ink);
  background-color: var(--canvas);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--canvas);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html[dir="rtl"] body {
  font-family: "IRANSans", Tahoma, "Segoe UI", system-ui, -apple-system, sans-serif;
}

html[dir="ltr"] body {
  font-family: "IRANSans", Tahoma, "Segoe UI", system-ui, -apple-system, sans-serif;
}

::selection {
  background: rgba(183, 139, 67, 0.22);
  color: var(--navy-900);
}

h1, h2, h3, h4, p, ul, ol, dl, dd, dt, figure, blockquote {
  margin: 0;
}

h1, h2, h3, h4 {
  text-wrap: balance;
}

ul, ol {
  padding: 0;
  list-style: none;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  outline-color: var(--gold-600);
}

button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.font-mono-tabular {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-variant-numeric: tabular-nums;
}

.tabular-nums {
  font-variant-numeric: tabular-nums;
}

.icon {
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
}

.icon-xs { width: 14px; height: 14px; }
.icon-sm { width: 16px; height: 16px; }
.icon-md { width: 20px; height: 20px; }
.icon-lg { width: 28px; height: 28px; }
.icon-xl { width: 36px; height: 36px; }
.icon-2xl { width: 40px; height: 40px; }

/* Layout Shell */
.app-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--canvas);
  color: var(--ink);
}

.app-main {
  flex: 1 0 auto;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1rem;
}

.container-narrow {
  width: 100%;
  max-width: 768px;
  margin-inline: auto;
  padding-inline: 1rem;
}

.container-medium {
  width: 100%;
  max-width: 896px;
  margin-inline: auto;
  padding-inline: 1rem;
}

@media (min-width: 640px) {
  .container,
  .container-narrow,
  .container-medium {
    padding-inline: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container,
  .container-medium {
    padding-inline: 2rem;
  }
}

/* Common Typography & Rules */
.kicker {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold-650);
}

.gold-rule {
  width: 48px;
  height: 2px;
  background: var(--gold-600);
}

.gold-rule-center {
  margin-inline: auto;
}

.gold-rule-light {
  background: var(--gold-300);
}

.section-header-center {
  text-align: center;
  max-width: 42rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.3;
}

@media (min-width: 640px) {
  .section-title {
    font-size: 1.875rem;
  }
}

.page-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding-block: 3rem;
}

@media (min-width: 1024px) {
  .page-hero {
    padding-block: 3.5rem;
  }
}

.page-hero-inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.page-hero-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.25;
}

@media (min-width: 640px) {
  .page-hero-title {
    font-size: 1.875rem;
  }
}

@media (min-width: 1024px) {
  .page-hero-title {
    font-size: 2.25rem;
  }
}

.page-hero-subtitle {
  font-size: 0.9375rem;
  color: var(--muted);
  max-width: 48rem;
  line-height: 1.75;
}

/* Buttons (Sharp Executive Rectangular) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}

.btn-navy {
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
  color: #ffffff;
  background: var(--navy-900);
  border: 2px solid var(--navy-900);
}

.btn-navy:hover {
  background: transparent;
  color: var(--navy-900);
}

.btn-navy-sm {
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  color: #ffffff;
  background: var(--navy-900);
  border: 2px solid var(--navy-900);
}

.btn-navy-sm:hover {
  background: transparent;
  color: var(--navy-900);
}

.btn-navy-outline {
  padding: 0.85rem 1.75rem;
  font-size: 0.875rem;
  color: var(--navy-900);
  background: transparent;
  border: 2px solid var(--navy-900);
}

.btn-navy-outline:hover {
  background: var(--navy-900);
  color: #ffffff;
}

.btn-gold {
  padding: 0.75rem 2rem;
  font-size: 0.875rem;
  color: #ffffff;
  background: var(--gold-600);
  border: 2px solid var(--gold-600);
}

.btn-gold:hover {
  background: transparent;
  color: var(--gold-650);
}

.btn-champagne {
  padding: 0.75rem 1.75rem;
  font-size: 0.875rem;
  color: var(--navy-900);
  background: var(--gold-300);
  border: 2px solid var(--gold-300);
}

.btn-champagne:hover {
  background: transparent;
  color: var(--gold-300);
}

.btn-hero-secondary {
  padding: 0.75rem 1.75rem;
  font-size: 0.875rem;
  color: #ffffff;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.75);
}

.btn-hero-secondary:hover {
  background: #ffffff;
  color: var(--navy-900);
  border-color: #ffffff;
}

.btn-ghost-border {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy-900);
  background: #ffffff;
  border: 2px solid var(--border);
}

.btn-ghost-border:hover {
  border-color: var(--navy-900);
  background: var(--surface);
}

.btn-dark-outline {
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-dark-outline:hover {
  border-color: var(--gold-300);
  color: var(--gold-300);
}

.btn-navy-card-cta {
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  color: #ffffff;
  border: 2px solid var(--gold-300);
  background: transparent;
}

.btn-navy-card-cta:hover {
  background: var(--gold-300);
  color: var(--navy-900);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .header-inner {
    height: 74px;
    gap: 1.5rem;
  }
}

.brand-btn {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding-block: 0.25rem;
}

.brand-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}

@media (min-width: 640px) {
  .brand-logo {
    height: 54px;
  }
}

.primary-nav {
  display: none;
  align-items: center;
  gap: 1.25rem;
}

@media (min-width: 1024px) {
  .primary-nav {
    display: flex;
  }
}

@media (min-width: 1280px) {
  .primary-nav {
    gap: 1.75rem;
  }
}

.nav-link {
  position: relative;
  padding-block: 0.5rem;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 150ms ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--navy-900);
}

.nav-link.is-active::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -1px;
  height: 2px;
  background: var(--gold-600);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.header-socials {
  display: none;
  align-items: center;
  gap: 0.25rem;
  border-inline-end: 1px solid var(--border);
  padding-inline-end: 0.625rem;
}

@media (min-width: 1280px) {
  .header-socials {
    display: flex;
  }
}

.header-social-link {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: color 150ms ease;
}

.header-social-link:hover {
  color: var(--navy-900);
}

.lang-dropdown {
  position: relative;
}

.lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  height: 36px;
  padding-inline: 0.625rem;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--navy-900);
  white-space: nowrap;
  transition: background-color 150ms ease, border-color 150ms ease;
}

.lang-trigger:hover {
  background: var(--gold-wash);
  border-color: var(--gold-600);
}

.lang-trigger .globe-icon {
  color: var(--gold-650);
}

.lang-trigger .chevron-icon {
  color: var(--muted);
  transition: transform 150ms ease;
}

.lang-trigger[aria-expanded="true"] .chevron-icon {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 6px);
  width: 160px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(15, 37, 62, 0.12);
  padding-block: 0.25rem;
  z-index: 50;
}

.lang-option {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  transition: background-color 150ms ease, color 150ms ease;
}

.lang-option:hover {
  background: var(--surface);
  color: var(--navy-900);
}

.lang-option.is-selected {
  background: var(--gold-wash);
  color: var(--navy-900);
  font-weight: 600;
}

.lang-option-code {
  font-size: 10px;
  color: var(--gold-650);
}

.header-cta {
  display: none;
  height: 36px;
  padding-inline: 1rem;
  font-size: 13px;
}

@media (min-width: 640px) {
  .header-cta {
    display: inline-flex;
  }
}

.mobile-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--navy-900);
  border: 1px solid var(--border);
}

.mobile-menu-btn:hover {
  background: var(--surface);
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-drawer {
  background: #ffffff;
  border-top: 1px solid var(--border);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

@media (min-width: 1024px) {
  .mobile-drawer {
    display: none;
  }
}

.mobile-nav-link {
  width: 100%;
  text-align: start;
  padding: 0.625rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
}

.mobile-nav-link:hover {
  background: var(--surface);
  color: var(--navy-900);
}

.mobile-nav-link.is-active {
  background: var(--gold-wash);
  color: var(--navy-900);
  font-weight: 600;
  border-inline-start: 2px solid var(--gold-600);
}

.mobile-drawer-cta {
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

/* ==========================================================================
   HERO BANNER SLIDER
   ========================================================================== */
.hero-slider {
  position: relative;
  width: 100%;
  height: calc(100svh - 64px);
  min-height: 460px;
  max-height: 840px;
  overflow: hidden;
  background: var(--navy-900);
  border-bottom: 1px solid var(--border);
}

@media (min-width: 1024px) {
  .hero-slider {
    height: calc(100svh - 74px);
  }
}

.hero-bg-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 700ms ease-out;
  z-index: 0;
}

.hero-bg-slide.is-active {
  opacity: 1;
}

.hero-bg-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-scrim-dir {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to left,
    rgba(11, 28, 48, 0.95) 0%,
    rgba(15, 37, 62, 0.82) 52%,
    rgba(15, 37, 62, 0.24) 100%
  );
}

html[dir="ltr"] .hero-scrim-dir {
  background: linear-gradient(
    to right,
    rgba(11, 28, 48, 0.95) 0%,
    rgba(15, 37, 62, 0.82) 52%,
    rgba(15, 37, 62, 0.24) 100%
  );
}

.hero-scrim-bottom {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(11, 28, 48, 0.82) 0%,
    rgba(11, 28, 48, 0) 55%,
    rgba(11, 28, 48, 0.2) 100%
  );
}

.hero-content-wrap {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-block: 1.5rem;
}

@media (min-width: 640px) {
  .hero-content-wrap {
    padding-block: 2rem;
  }
}

@media (min-width: 1024px) {
  .hero-content-wrap {
    padding-block: 2.5rem;
  }
}

.hero-editorial {
  margin-block: auto;
  padding-block: 0.75rem;
  max-width: 48rem;
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
}

.hero-title {
  font-size: 1.625rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.22;
  letter-spacing: -0.01em;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 44px;
  }
}

.hero-sub {
  font-size: 0.9375rem;
  color: var(--slate-200);
  line-height: 1.7;
  max-width: 42rem;
}

@media (min-width: 1024px) {
  .hero-sub {
    font-size: 17px;
  }
}

.hero-matrix {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  max-width: 42rem;
  padding-top: 0.25rem;
}

@media (min-width: 640px) {
  .hero-matrix {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

.hero-matrix-box {
  background: rgba(11, 28, 48, 0.65);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.875rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hero-matrix-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold-300);
}

.hero-matrix-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.25rem 0.75rem;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.25rem;
}

.hero-controls-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

@media (min-width: 640px) {
  .hero-controls-bar {
    justify-content: flex-end;
  }
}

@media (min-width: 768px) {
  .hero-controls-bar {
    padding-inline-end: 11rem;
  }
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  transition: all 200ms ease;
}

.hero-dot:hover {
  border-color: #ffffff;
}

.hero-dot.is-active {
  background: var(--gold-300);
  border-color: var(--gold-300);
}

.hero-nav-btns {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.hero-ctrl-btn {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.38);
  color: #ffffff;
  transition: background-color 150ms ease;
}

.hero-ctrl-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.hero-ctrl-round {
  border-radius: 999px;
}

/* ==========================================================================
   HOME SECTIONS
   ========================================================================== */
.pillars-section {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  padding-block: 3rem;
}

@media (min-width: 1024px) {
  .pillars-section {
    padding-block: 4rem;
  }
}

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .pillars-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
}

.pillar-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.pillar-icon {
  color: var(--gold-600);
  padding-top: 2px;
}

.pillar-body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pillar-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-900);
}

.pillar-desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.85;
}

/* Split Assurance Section */
.split-section {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .split-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.split-text-col {
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 1.5rem;
}

@media (min-width: 1024px) {
  .split-text-col {
    padding: 5rem 4rem;
  }
}

.split-text-inner {
  max-width: 32rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.split-desc {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.95;
}

.split-media-col {
  position: relative;
  min-height: 300px;
  background: var(--navy-900);
  overflow: hidden;
}

@media (min-width: 1024px) {
  .split-media-col {
    min-height: 420px;
  }
}

.split-media-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Quick Program Finder & Featured Universities */
.featured-section {
  padding-block: 3.5rem;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

@media (min-width: 1024px) {
  .featured-section {
    padding-block: 5rem;
  }
}

.section-stack {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.quick-finder {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1.25rem 1.5rem;
}

.quick-finder-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: end;
  margin-top: 1rem;
}

@media (min-width: 640px) {
  .quick-finder-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .quick-finder-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.field-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 0.375rem;
}

.input-light,
.select-light,
.textarea-light {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 0;
  font-size: 0.875rem;
  color: var(--navy-900);
  transition: border-color 150ms ease;
}

.input-light,
.select-light {
  height: 44px;
  padding-inline: 0.875rem;
}

.textarea-light {
  padding: 0.625rem 0.875rem;
  resize: vertical;
}

.input-light::placeholder,
.textarea-light::placeholder {
  color: var(--placeholder-light);
}

.select-light.is-placeholder {
  color: var(--placeholder-light);
}

.input-light:focus,
.select-light:focus,
.textarea-light:focus {
  border-color: var(--gold-600);
  outline: none;
}

/* Featured Universities Editorial Rows */
.featured-list {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.featured-row {
  padding-block: 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
}

.featured-row + .featured-row {
  border-top: 1px solid var(--border);
}

@media (min-width: 768px) {
  .featured-row {
    grid-template-columns: 4fr 8fr;
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .featured-row {
    grid-template-columns: 3fr 9fr;
  }
}

.featured-thumb {
  aspect-ratio: 16 / 10;
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
}

.featured-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-row-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.featured-row-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy-900);
}

.featured-row-summary {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.85;
  max-width: 48rem;
}

.text-center {
  text-align: center;
}

/* Trusted Pathway & Navy Service Cards */
.pathway-section {
  padding-block: 4rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

@media (min-width: 1024px) {
  .pathway-section {
    padding-block: 5rem;
  }
}

.two-col-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .two-col-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.navy-card {
  background: var(--navy-900);
  border: 1px solid var(--navy-750);
  color: #ffffff;
  padding: 1.75rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.navy-card-icon {
  color: var(--gold-300);
}

.navy-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.navy-card-desc {
  font-size: 0.875rem;
  color: var(--slate-300);
  line-height: 1.85;
  margin-top: 0.5rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-top: 0.5rem;
}

@media (min-width: 640px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .steps-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step-item {
  padding-top: 1.25rem;
  border-top: 2px solid rgba(183, 139, 67, 0.5);
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.step-num {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gold-650);
}

.step-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-900);
}

.step-desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
}

/* Network Split + Navy Tool Cards + Stories */
.network-section {
  padding-block: 4rem;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

@media (min-width: 1024px) {
  .network-section {
    padding-block: 5rem;
  }
}

.network-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .network-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.network-copy {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.network-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

@media (min-width: 640px) {
  .network-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy-900);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.5;
  margin-top: 0.25rem;
}

.tools-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.navy-tool-card {
  background: var(--navy-900);
  border: 1px solid var(--navy-750);
  color: #ffffff;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 640px) {
  .navy-tool-card {
    flex-direction: row;
    align-items: center;
  }
}

.navy-tool-left {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}

.navy-tool-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
}

.navy-tool-desc {
  font-size: 0.75rem;
  color: var(--slate-300);
  line-height: 1.65;
  margin-top: 0.25rem;
}

/* Student Stories */
.stories-block {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.stories-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .stories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.story-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
}

.story-quote {
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--navy-900);
}

.story-meta {
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.story-author {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy-900);
}

.story-origin {
  font-weight: 400;
  color: var(--muted);
}

.story-program {
  font-size: 0.75rem;
  color: var(--muted);
}

.story-outcome {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gold-650);
}

/* ==========================================================================
   CONSULTATION BAND & UNIFIED 2-STEP ASSESSMENT FORM (DARK + LIGHT)
   ========================================================================== */
.consult-band {
  position: relative;
  padding-block: 4rem;
  background: var(--navy-800);
  color: #ffffff;
}

@media (min-width: 1024px) {
  .consult-band {
    padding-block: 5rem;
  }
}

.consult-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 14px solid #ffffff;
}

.consult-heading {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.consult-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
}

@media (min-width: 640px) {
  .consult-title {
    font-size: 1.875rem;
  }
}

.consult-sub {
  font-size: 0.875rem;
  color: var(--slate-300);
  line-height: 1.7;
}

/* Assessment Form */
.assess-form-dark {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  color: #ffffff;
}

.assess-form-light {
  background: #ffffff;
  color: var(--navy-900);
}

.assess-steps-dark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

@media (min-width: 640px) {
  .assess-steps-dark {
    gap: 2.5rem;
  }
}

.assess-steps-light {
  padding: 0.875rem 1.5rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.assess-step-pill {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.step-badge {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.assess-form-dark .step-badge.is-active {
  background: var(--gold-300);
  color: var(--navy-900);
}

.assess-form-dark .step-badge.is-done {
  background: var(--gold-600);
  color: #ffffff;
}

.assess-form-dark .step-badge.is-idle {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--slate-300);
}

.assess-form-light .step-badge.is-active {
  background: var(--navy-900);
  color: #ffffff;
}

.assess-form-light .step-badge.is-done {
  background: var(--gold-600);
  color: #ffffff;
}

.assess-form-light .step-badge.is-idle {
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--muted);
}

.step-label {
  font-size: 0.8125rem;
  font-weight: 500;
}

.assess-form-dark .step-label.is-active { color: #ffffff; }
.assess-form-dark .step-label.is-idle { color: var(--slate-300); }
.assess-form-light .step-label.is-active { color: var(--navy-900); }
.assess-form-light .step-label.is-idle { color: var(--muted); }

.assess-body-dark {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.assess-body-light {
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.assess-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.875rem;
}

.assess-form-light .assess-grid {
  gap: 0.75rem;
}

.assess-form-light .input-light,
.assess-form-light .select-light {
  height: 42px;
}

@media (min-width: 640px) {
  .assess-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.input-dark,
.select-dark,
.textarea-dark {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 0;
  font-size: 0.875rem;
  color: #ffffff;
  transition: border-color 150ms ease;
}

.input-dark {
  height: 46px;
  padding-inline: 1rem;
  background: rgba(255, 255, 255, 0.1);
}

.select-dark {
  height: 46px;
  padding-inline: 1rem;
  background: var(--navy-700);
}

.select-dark.is-placeholder {
  color: var(--slate-300);
}

.select-dark option {
  background: var(--navy-900);
  color: #ffffff;
}

.select-light option {
  background: #ffffff;
  color: var(--navy-900);
}

.textarea-dark {
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  resize: vertical;
}

.input-dark::placeholder,
.textarea-dark::placeholder {
  color: var(--slate-300);
}

.input-dark:focus,
.select-dark:focus,
.textarea-dark:focus {
  border-color: var(--gold-300);
  outline: none;
}

.form-error-dark {
  font-size: 0.75rem;
  color: var(--gold-300);
  margin-top: 0.375rem;
}

.form-error-light {
  font-size: 0.75rem;
  color: var(--danger);
  margin-top: 0.25rem;
}

.assess-footer-dark {
  padding-top: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.assess-footer-light {
  padding: 1rem 1.5rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

.assess-success-dark {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(223, 190, 132, 0.5);
  padding: 2rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  color: #ffffff;
}

.assess-success-light {
  background: #ffffff;
  padding: 2rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.success-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.assess-success-dark .success-icon-circle {
  background: rgba(223, 190, 132, 0.16);
  color: var(--gold-300);
}

.assess-success-light .success-icon-circle {
  background: var(--gold-wash);
  color: var(--gold-650);
}

.tracking-box {
  width: 100%;
  max-width: 24rem;
  padding: 1rem 1.25rem;
}

.assess-success-dark .tracking-box {
  background: rgba(15, 37, 62, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.assess-success-light .tracking-box {
  background: var(--surface);
  border: 1px solid var(--border);
}

.tracking-code-value {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 0.25rem;
}

.assess-success-dark .tracking-code-value { color: var(--gold-300); }
.assess-success-light .tracking-code-value { color: var(--navy-900); }

.success-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  padding-top: 0.5rem;
}

/* ==========================================================================
   UNIVERSITIES DIRECTORY & MODALS
   ========================================================================== */
.directory-section {
  padding-block: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.uni-directory-banner {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--border);
  overflow: hidden;
}

.uni-directory-banner img {
  width: 100%;
  height: auto;
  display: block;
}

.filter-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.filter-row-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .filter-row-top {
    grid-template-columns: 5fr 3fr 4fr;
  }
}

.filter-row-bottom {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: end;
}

@media (min-width: 640px) {
  .filter-row-bottom {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .filter-row-bottom {
    grid-template-columns: repeat(4, 1fr);
  }
}

.search-input-wrap {
  position: relative;
}

.search-input-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  inset-inline-start: 0.875rem;
  color: var(--muted);
  pointer-events: none;
}

.input-with-icon {
  padding-inline-start: 2.5rem;
}

.range-field-col {
  display: flex;
  flex-direction: column;
}

.range-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 0.375rem;
  white-space: nowrap;
}

.range-box {
  height: 44px;
  background: #ffffff;
  border: 1px solid var(--border);
  padding-inline: 0.875rem;
  display: flex;
  align-items: center;
}

.range-input {
  width: 100%;
  height: 20px;
  margin: 0;
  accent-color: var(--navy-900);
  cursor: pointer;
}

.filter-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
}

.text-link-gold {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold-650);
  transition: color 150ms ease;
}

.text-link-gold:hover {
  color: var(--navy-900);
}

.compare-hint-strip {
  background: var(--gold-wash);
  border: 1px solid var(--gold-border);
  padding: 0.75rem 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: var(--navy-900);
}

.compare-hint-icon {
  color: var(--gold-650);
  display: inline-flex;
  align-items: center;
}

.uni-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .uni-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .uni-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.uni-card {
  background: #ffffff;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: border-color 150ms ease;
}

.uni-card:hover {
  border-color: var(--gold-600);
}

.uni-card-img {
  aspect-ratio: 4 / 3;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.uni-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.uni-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.uni-card-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.city-badge {
  display: inline-block;
  flex-shrink: 0;
  white-space: nowrap;
  padding: 0.125rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.5;
  background: var(--gold-badge-bg);
  color: var(--gold-700);
  border: 1px solid var(--gold-border);
  border-radius: 0;
}

.uni-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--navy-900);
  min-width: 0;
}

.uni-card-summary {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
}

.uni-card-accred {
  font-size: 0.75rem;
  color: var(--muted);
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

.uni-card-footer {
  padding: 1rem 1.25rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.uni-metrics-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  background: #ffffff;
}

.uni-metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
}

.uni-metric-row + .uni-metric-row {
  border-top: 1px solid var(--border);
}

.uni-tuition-val {
  font-weight: 700;
  color: var(--navy-900);
  white-space: nowrap;
  direction: ltr;
  unicode-bidi: isolate;
  flex-shrink: 0;
}

.uni-metric-text {
  font-weight: 600;
  color: var(--navy-900);
  text-align: end;
}

.uni-detail-kpis {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .uni-detail-kpis {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .uni-detail-kpis {
    grid-template-columns: repeat(4, 1fr);
  }
}

.uni-detail-kpi {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.75rem 0.875rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.75rem;
}

.meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  gap: 0.5rem;
}

.meta-label {
  color: var(--muted);
}

.meta-val {
  font-weight: 600;
  color: var(--navy-900);
}

.uni-card-btns {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.uni-card-btns .btn-navy-sm {
  flex: 1;
}

.btn-compare {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  border: 2px solid var(--border);
  background: #ffffff;
  color: var(--navy-900);
  white-space: nowrap;
  transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease;
}

.btn-compare:hover {
  border-color: var(--gold-600);
}

.btn-compare.is-active {
  background: var(--gold-wash);
  border-color: var(--gold-600);
  color: var(--gold-650);
}

.empty-box {
  border: 1px solid var(--border);
  padding: 3rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

/* ==========================================================================
   SERVICES WORKBENCH (CALCULATOR / GRADE CONVERTER / TRACKER)
   ========================================================================== */
.workbench-section {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  padding-block: 3rem;
  scroll-margin-top: 6rem;
}

@media (min-width: 1024px) {
  .workbench-section {
    padding-block: 4rem;
  }
}

.workbench-header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .workbench-header {
    flex-direction: row;
    align-items: flex-end;
  }
}

.tablist {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
}

.tab-btn {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  transition: background-color 150ms ease, color 150ms ease;
}

.tab-btn:hover {
  color: var(--navy-900);
}

.tab-btn.is-active {
  background: var(--navy-900);
  color: #ffffff;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .calc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.grade-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .grade-grid {
    grid-template-columns: 5fr 7fr;
  }
}

.panel-surface {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.panel-white {
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.currency-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.currency-toggle {
  display: inline-flex;
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 2px;
}

.currency-btn {
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
}

.currency-btn.is-active {
  background: var(--navy-900);
  color: #ffffff;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--navy-900);
  cursor: pointer;
}

.checkbox-row input {
  width: 16px;
  height: 16px;
  accent-color: var(--navy-900);
}

.breakdown-list {
  display: flex;
  flex-direction: column;
}

.breakdown-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.75rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}

.breakdown-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
}

.breakdown-total-val {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy-900);
}

.note-strip {
  font-size: 0.75rem;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.625rem 0.875rem;
}

.grade-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.grade-kpi-val {
  font-size: 1.875rem;
  font-weight: 700;
  margin-top: 0.25rem;
}

.grade-scholarship-note-only {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gold-650);
  text-align: end;
}

/* Tracker */
.tracker-form-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .tracker-form-row {
    flex-direction: row;
    align-items: flex-end;
  }
}

.tracker-form-row .flex-1 {
  flex: 1;
}

.sample-codes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--muted);
}

.sample-code-btn {
  font-weight: 600;
  color: var(--navy-900);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.sample-code-btn:hover {
  color: var(--gold-650);
}

.tracker-summary {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  font-size: 0.75rem;
}

@media (min-width: 640px) {
  .tracker-summary {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .tracker-summary {
    grid-template-columns: repeat(4, 1fr);
  }
}

.tracker-stage {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.tracker-stage:first-child {
  border-top: 0;
}

@media (min-width: 640px) {
  .tracker-stage {
    flex-direction: row;
    align-items: flex-start;
  }
}

.tracker-stage-left {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}

.status-completed { color: var(--navy-900); }
.status-in_progress { color: var(--gold-650); }
.status-pending { color: var(--slate-400); }
.status-action_required { color: var(--danger); }

.core-services-section {
  padding-block: 3.5rem;
  background: var(--surface);
}

.service-pillar-card {
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.bullet-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.bullet-dot {
  color: var(--gold-650);
  font-weight: 700;
}

/* ==========================================================================
   BLOG & FAQ
   ========================================================================== */
.category-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.cat-tab {
  padding: 0.375rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface);
  transition: background-color 150ms ease, color 150ms ease;
}

.cat-tab:hover {
  color: var(--navy-900);
}

.cat-tab.is-active {
  background: var(--navy-900);
  color: #ffffff;
}

.blog-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .blog-layout {
    grid-template-columns: minmax(0, 8fr) minmax(280px, 4fr);
    gap: 2.25rem;
  }
}

.blog-main-col {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  min-width: 0;
}

.blog-featured-card {
  background: #ffffff;
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.blog-featured-media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.blog-featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
}

.blog-featured-card:hover .blog-featured-media img {
  transform: scale(1.02);
}

.blog-featured-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.blog-featured-title {
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--navy-900);
}

@media (min-width: 640px) {
  .blog-featured-title {
    font-size: 1.5rem;
  }
}

.blog-title-link {
  text-align: start;
  color: var(--navy-900);
  transition: color 150ms ease;
}

.blog-title-link:hover {
  color: var(--gold-650);
}

.blog-excerpt {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.8;
}

.blog-card-footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.875rem;
  border-top: 1px solid var(--border);
}

.blog-author-byline {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
}

.blog-feed-section {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.blog-feed-heading-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--navy-900);
}

.blog-feed-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.blog-feed-card {
  background: #ffffff;
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  transition: border-color 150ms ease;
}

.blog-feed-card:hover {
  border-color: var(--gold-600);
}

@media (min-width: 640px) {
  .blog-feed-card {
    grid-template-columns: 240px minmax(0, 1fr);
  }
}

.blog-feed-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--surface);
  overflow: hidden;
}

@media (min-width: 640px) {
  .blog-feed-thumb {
    aspect-ratio: auto;
    height: 100%;
    min-height: 190px;
  }
}

.blog-feed-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-feed-body {
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.75rem;
}

.blog-feed-title {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--navy-900);
}

/* Blog Sidebar */
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.blog-sidebar-box {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.blog-sidebar-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--navy-900);
  padding-bottom: 0.625rem;
  border-bottom: 2px solid var(--gold-600);
}

.blog-cat-list {
  display: flex;
  flex-direction: column;
}

.blog-cat-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.55rem 0.625rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--navy-900);
  border-bottom: 1px solid var(--border);
  transition: background-color 150ms ease, color 150ms ease;
}

.blog-cat-list li:last-child .blog-cat-item {
  border-bottom: 0;
}

.blog-cat-item:hover {
  background: #ffffff;
  color: var(--gold-650);
}

.blog-cat-item.is-active {
  background: var(--navy-900);
  color: #ffffff;
  font-weight: 600;
}

.blog-cat-count {
  font-size: 0.75rem;
  color: var(--muted);
}

.blog-cat-item.is-active .blog-cat-count {
  color: var(--gold-300);
}

.blog-recent-list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.blog-recent-item {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  text-align: start;
  padding-bottom: 0.875rem;
  border-bottom: 1px solid var(--border);
}

.blog-recent-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.blog-recent-thumb {
  width: 68px;
  height: 52px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border);
}

.blog-recent-body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.blog-recent-title {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--navy-900);
  transition: color 150ms ease;
}

.blog-recent-item:hover .blog-recent-title {
  color: var(--gold-650);
}

.blog-recent-meta {
  font-size: 0.6875rem;
  color: var(--muted);
}

.blog-sidebar-cta {
  background: var(--navy-900);
  color: #ffffff;
  border: 1px solid var(--navy-750);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Single Article View */
.blog-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.625rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.blog-article-card {
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 1.75rem;
}

.blog-article-header {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.blog-author-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.25rem;
}

.blog-author-avatar {
  width: 38px;
  height: 38px;
  background: var(--navy-900);
  color: var(--gold-300);
  font-size: 0.6875rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.blog-article-cover {
  aspect-ratio: 16 / 9;
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--surface);
}

.blog-article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-meta-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--muted);
}

.article-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy-900);
}

.article-link-btn:hover {
  color: var(--gold-650);
}

.article-prose {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--navy-900);
}

.article-cta-box {
  background: var(--gold-wash);
  border: 1px solid var(--border);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 640px) {
  .article-cta-box {
    flex-direction: row;
    align-items: center;
  }
}

/* FAQ Accordion */
.faq-list {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.faq-item + .faq-item {
  border-top: 1px solid var(--border);
}

.faq-trigger {
  width: 100%;
  padding-block: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: start;
}

.faq-question {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-top: 0.25rem;
}

.faq-chevron {
  color: var(--muted);
  transition: transform 150ms ease;
}

.faq-trigger[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
  color: var(--navy-900);
}

.faq-answer {
  padding-bottom: 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--muted);
  max-width: 48rem;
}

/* ==========================================================================
   ABOUT & CONTACT
   ========================================================================== */
.about-band {
  padding-block: 3.5rem;
  border-bottom: 1px solid var(--border);
}

.about-band-surface {
  background: var(--surface);
}

.about-mission-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .about-mission-grid {
    grid-template-columns: 5fr 7fr;
  }
}

.advisors-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .advisors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .advisors-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.advisor-card {
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.advisor-card-minimal {
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 0.875rem;
  padding: 1.125rem 1.25rem;
}

.advisor-minimal-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.advisor-minimal-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.35;
}

.advisor-minimal-role {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.45;
}

.advisor-avatar {
  width: 44px;
  height: 44px;
  background: var(--navy-900);
  color: var(--gold-300);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.reps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .reps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .reps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contact-info-card {
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.875rem;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.contact-row-icon {
  color: var(--gold-650);
  margin-top: 0.125rem;
}

/* WhatsApp Icon Accents (About Page & Contact) */
.wa-icon-color {
  color: #16a34a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.wa-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy-900);
  transition: color 150ms ease;
}

.wa-contact-link:hover {
  color: #15803d;
}

.wa-icon-badge {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ecfdf3;
  border: 1px solid #bbf7d0;
  color: #15803d;
  flex-shrink: 0;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}

.wa-contact-link:hover .wa-icon-badge {
  background: #15803d;
  border-color: #15803d;
  color: #ffffff;
}

.wa-icon-badge.is-placeholder {
  background: #f5f7fa;
  border: 1px dashed var(--gold-600);
  color: var(--muted);
}

.wa-contact-placeholder {
  margin-top: 0.375rem;
  padding: 0.5rem 0.625rem;
  background: #ffffff;
  border: 1px dashed var(--gold-border);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.wa-contact-placeholder-row {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
}

.wa-placeholder-note {
  font-size: 0.72rem;
  color: var(--gold-650);
  line-height: 1.5;
}

.wa-field-label {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  min-height: 19px;
}

/* Affiliated / Partner Institution Logo Slots */
.partner-card {
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  gap: 1rem;
  transition: border-color 150ms ease;
}

.partner-card:hover {
  border-color: var(--gold-600);
}

@media (min-width: 640px) {
  .partner-card {
    flex-direction: row;
    align-items: flex-start;
  }
}

.partner-card-main {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  min-width: 0;
}

.partner-logo-slot {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.partner-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.partner-visit-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  flex-shrink: 0;
}

/* Anti-spam honeypot field (RTL-safe, zero horizontal overflow) */
.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.contact-success-box {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
  background: var(--gold-wash);
  border: 1px solid rgba(183, 139, 67, 0.5);
  padding: 1rem;
}

.email-preview-frame-wrap {
  background: #eef2f6;
  padding: 1rem;
}

.email-preview-iframe {
  width: 100%;
  height: 520px;
  border: 1px solid var(--border);
  background: #ffffff;
  display: block;
}

/* ==========================================================================
   MODALS & SUPPORT WIDGET
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 37, 62, 0.55);
  backdrop-filter: blur(2px);
  padding: 1rem;
  overflow-y: auto;
}

.modal-panel {
  width: 100%;
  max-width: 42rem;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 24px 48px rgba(15, 37, 62, 0.22);
  margin-block: auto;
  overflow: hidden;
}

.modal-panel-lg {
  max-width: 48rem;
}

.modal-panel-xl {
  max-width: 64rem;
}

.modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.modal-close-btn {
  padding: 0.5rem;
  color: var(--muted);
  transition: color 150ms ease, background-color 150ms ease;
}

.modal-close-btn:hover {
  color: var(--navy-900);
  background: var(--surface);
}

.modal-hero-img {
  position: relative;
  height: 220px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.modal-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-hero-close {
  position: absolute;
  top: 1rem;
  inset-inline-end: 1rem;
  z-index: 6;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border);
  color: var(--navy-900);
  transition: background-color 150ms ease, color 150ms ease;
}

.modal-hero-close:hover {
  background: var(--navy-900);
  color: #ffffff;
}

/* University Detail Campus Photo Slider */
.uni-slider {
  background: var(--navy-900);
  border-bottom: 1px solid var(--border);
}

.uni-slider-stage {
  position: relative;
  height: 230px;
  background: var(--navy-900);
  overflow: hidden;
}

@media (min-width: 640px) {
  .uni-slider-stage {
    height: 300px;
  }
}

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

.uni-slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 37, 62, 0.84);
  border: 1px solid rgba(223, 190, 132, 0.55);
  color: #ffffff;
  transition: background-color 150ms ease, border-color 150ms ease;
}

.uni-slider-nav:hover {
  background: var(--gold-600);
  border-color: var(--gold-300);
  color: var(--navy-900);
}

.uni-slider-prev {
  inset-inline-start: 0.875rem;
}

.uni-slider-next {
  inset-inline-end: 0.875rem;
}

.uni-slider-scrim {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 4;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 1.25rem 0.875rem;
  background: linear-gradient(to top, rgba(10, 26, 44, 0.9) 0%, rgba(10, 26, 44, 0.45) 60%, transparent 100%);
  color: #ffffff;
}

.uni-slider-caption {
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.95);
}

.uni-slider-counter {
  flex-shrink: 0;
  padding: 0.2rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(15, 37, 62, 0.88);
  border: 1px solid rgba(223, 190, 132, 0.6);
  color: var(--gold-300);
}

.uni-slider-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.uni-slider-thumb {
  height: 56px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  opacity: 0.62;
  transition: opacity 150ms ease, border-color 150ms ease;
}

.uni-slider-thumb:hover {
  opacity: 0.9;
}

.uni-slider-thumb.is-active {
  opacity: 1;
  border-color: var(--gold-600);
}

.uni-slider-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* University Detail Header & Dedicated Logo Slot */
.uni-detail-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .uni-detail-head {
    flex-direction: row;
    align-items: flex-start;
  }
}

.uni-detail-logo-slot {
  width: 96px;
  height: 96px;
  min-width: 96px;
  min-height: 96px;
  flex-shrink: 0;
  background: #ffffff;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  box-sizing: border-box;
  overflow: hidden;
}

.uni-detail-logo-slot.is-empty {
  background: var(--surface);
  border: 1px dashed var(--gold-border);
}

.uni-detail-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.uni-logo-empty-icon {
  color: var(--muted);
  opacity: 0.45;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.uni-detail-title-col {
  flex: 1;
  min-width: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.uni-detail-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.uni-detail-title {
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy-900);
  min-width: 0;
}

/* Floating Bottom-Center Compare Dock (Checkout-style CTA after 2+ selected) */
.floating-compare-dock {
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  z-index: 45;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--navy-900);
  color: #ffffff;
  border: 2px solid var(--gold-600);
  padding: 0.5rem 0.625rem 0.5rem 0.875rem;
  box-shadow: 0 14px 36px rgba(10, 26, 44, 0.34);
  max-width: calc(100vw - 1.5rem);
}

.floating-compare-meta {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding-inline-end: 0.375rem;
}

@media (min-width: 640px) {
  .floating-compare-meta {
    display: inline-flex;
  }
}

.floating-compare-badge {
  background: rgba(223, 190, 132, 0.16);
  border: 1px solid rgba(223, 190, 132, 0.45);
  color: var(--gold-300);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
}

.floating-compare-count {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
}

.floating-compare-cta {
  padding: 0.55rem 1.25rem;
  font-size: 0.8125rem;
}

.floating-compare-clear {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-300);
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: color 150ms ease, border-color 150ms ease, background-color 150ms ease;
}

.floating-compare-clear:hover {
  color: #ffffff;
  border-color: var(--gold-300);
  background: rgba(255, 255, 255, 0.08);
}

/* Excel-Like Categorized Comparison Spreadsheet Modal */
.excel-modal-panel {
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.excel-modal-header {
  background: var(--surface);
  align-items: center;
  flex-shrink: 0;
}

.excel-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.excel-sheet-wrap {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 0 1.25rem 1.25rem;
  background: #f1f4f8;
  position: relative;
}

.excel-table {
  width: 100%;
  min-width: 680px;
  border-collapse: separate;
  border-spacing: 0;
  background: #ffffff;
  font-size: 0.8125rem;
  border-inline-start: 2px solid var(--navy-900);
  border-inline-end: 2px solid var(--navy-900);
  border-bottom: 2px solid var(--navy-900);
}

.excel-table th,
.excel-table td {
  border-inline-end: 1px solid #d4dde8;
  border-bottom: 1px solid #d4dde8;
  padding: 0.625rem 0.875rem;
  text-align: start;
  vertical-align: top;
}

.excel-table th:last-child,
.excel-table td:last-child {
  border-inline-end: 0;
}

.excel-col-letters th {
  position: sticky;
  top: 0;
  z-index: 21;
  height: 28px;
  min-height: 28px;
  max-height: 28px;
  line-height: 1;
  box-sizing: border-box;
  background: #e6ecf3;
  color: #4b5e73;
  font-size: 0.6875rem;
  font-weight: 700;
  text-align: center;
  vertical-align: middle;
  padding: 0 0.5rem;
  border-top: 2px solid var(--navy-900);
  border-bottom: 1px solid #c3d0df;
  border-inline-end: 1px solid #c3d0df;
}

.excel-col-letters .excel-corner-cell {
  inset-inline-start: 0;
  z-index: 24;
}

.excel-uni-headers th {
  position: sticky;
  top: 27px;
  z-index: 20;
  background: var(--navy-900);
  color: #ffffff;
  border-inline-end: 1px solid #243f5e;
  border-bottom: 2px solid var(--gold-600);
  padding: 0.875rem;
  box-shadow: 0 3px 8px rgba(10, 26, 44, 0.2);
}

.excel-attr-head {
  width: 210px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--gold-300);
  vertical-align: middle;
  inset-inline-start: 0;
  z-index: 23 !important;
}

.excel-uni-head-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.625rem;
}

.excel-uni-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
}

.excel-uni-city {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gold-300);
  margin-top: 2px;
}

.excel-remove-btn {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-300);
  border: 1px solid rgba(255, 255, 255, 0.22);
  flex-shrink: 0;
  transition: color 150ms ease, border-color 150ms ease;
}

.excel-remove-btn:hover {
  color: #ffffff;
  border-color: var(--gold-300);
}

.excel-section-row th {
  background: var(--gold-wash);
  color: var(--navy-900);
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 0.55rem 0.875rem;
  border-top: 2px solid var(--gold-600);
  border-bottom: 1px solid var(--gold-border);
}

.excel-attr-cell {
  position: sticky;
  inset-inline-start: 0;
  z-index: 5;
  background: #f7f9fc;
  color: var(--navy-900);
  font-weight: 600;
  width: 210px;
}

.excel-data-row:nth-child(even) .excel-cell {
  background: #fbfcfd;
}

.excel-highlight-row .excel-attr-cell,
.excel-highlight-row .excel-cell {
  background: #fcfaf4;
}

.excel-highlight-val {
  font-weight: 700;
  color: var(--navy-900);
}

.excel-nowrap {
  white-space: nowrap;
}

.excel-ltr-val {
  display: inline-block;
  direction: ltr;
  unicode-bidi: isolate;
}

.excel-check-yes {
  color: #15803d;
  font-weight: 600;
  background: #f4fbf6;
}

.excel-check-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.excel-check-no {
  color: var(--slate-400);
  font-weight: 500;
}

.excel-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.78125rem;
  line-height: 1.55;
}

.excel-list li::before {
  content: "· ";
  color: var(--gold-650);
  font-weight: 700;
}

.excel-action-row .excel-attr-cell,
.excel-action-row .excel-cell {
  background: var(--surface);
  vertical-align: middle;
}

/* Floating Support Widget — WhatsApp Representatives Only */
.support-widget {
  position: fixed;
  bottom: 1.25rem;
  inset-inline-end: 1.25rem;
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.625rem;
}

.support-popover {
  width: 312px;
  max-width: calc(100vw - 2rem);
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 12px 32px rgba(15, 37, 62, 0.18);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.support-popover-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  padding-bottom: 0.625rem;
  border-bottom: 1px solid var(--border);
}

.support-rep-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 340px;
  overflow-y: auto;
}

.support-rep-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.625rem 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: start;
  transition: background-color 150ms ease, border-color 150ms ease;
}

.support-rep-btn:hover {
  background: #ecfdf3;
  border-color: #16a34a;
}

.support-rep-btn:hover .wa-icon-badge {
  background: #15803d;
  border-color: #15803d;
  color: #ffffff;
}

.support-rep-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.support-rep-region {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--gold-650);
}

.support-rep-name {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--navy-900);
}

.support-rep-phone {
  font-size: 0.75rem;
  color: var(--muted);
  direction: ltr;
  unicode-bidi: isolate;
  align-self: flex-start;
}

.support-rep-btn.is-placeholder {
  background: #fafbfd;
  border: 1px dashed var(--gold-border);
  cursor: default;
}

.support-rep-btn.is-placeholder:hover {
  background: #fafbfd;
  border-color: var(--gold-border);
}

.support-rep-btn.is-placeholder:hover .wa-icon-badge {
  background: #f5f7fa;
  border-color: var(--gold-600);
  color: var(--muted);
}

.support-rep-placeholder-note {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--gold-650);
  margin-top: 2px;
}

.support-fab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 44px;
  width: 44px;
  background: var(--navy-900);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  border: 2px solid var(--gold-600);
  box-shadow: 0 6px 18px rgba(15, 37, 62, 0.25);
  transition: background-color 150ms ease;
}

.support-fab-wa-icon {
  color: #4ade80;
  display: inline-flex;
  align-items: center;
}

.support-fab:hover {
  background: #15803d;
  border-color: #15803d;
}

.support-fab:hover .support-fab-wa-icon {
  color: #ffffff;
}

.support-fab-label {
  display: none;
}

@media (min-width: 640px) {
  .support-fab {
    width: auto;
    padding-inline: 1rem;
  }
  .support-fab-label {
    display: inline;
  }
}

/* ==========================================================================
   FOOTER (3-COLUMN: ABOUT | CENTERED LOGO + 3 ICONS | OFFICE + AFFILIATED)
   ========================================================================== */
.site-footer {
  background: var(--navy-900);
  color: #ffffff;
  border-top: 1px solid var(--navy-750);
}

.footer-main {
  padding-block: 3.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
}

.footer-heading {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gold-300);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-heading-plain {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gold-300);
}

.footer-text {
  font-size: 13px;
  line-height: 1.85;
  color: var(--slate-300);
  margin-top: 0.75rem;
}

.footer-center-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-self: center;
  gap: 1.25rem;
  padding-block: 0.75rem;
}

.footer-logo-img {
  height: 104px;
  width: auto;
  object-fit: contain;
  transition: opacity 150ms ease;
}

.footer-logo-img:hover {
  opacity: 0.9;
}

.footer-social-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.footer-social-box {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--slate-200);
  transition: border-color 150ms ease, color 150ms ease, background-color 150ms ease;
}

.footer-social-box:hover {
  border-color: var(--gold-300);
  color: var(--gold-300);
  background: rgba(255, 255, 255, 0.05);
}

.footer-affiliated {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-affiliated-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.75rem;
  font-size: 13px;
  color: var(--slate-300);
}

.footer-affiliated-list a:hover {
  color: var(--gold-300);
}

.footer-socket {
  background: var(--navy-950);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-socket-inner {
  padding-top: 1rem;
  padding-bottom: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.75rem;
  color: var(--slate-400);
}

@media (min-width: 640px) {
  .footer-socket-inner {
    padding-bottom: 1rem;
  }
}

/* Print Rules */
@media print {
  header,
  footer,
  nav,
  .no-print {
    display: none !important;
  }
  body {
    background: #ffffff !important;
    color: var(--navy-900) !important;
  }
}


/* Blog/media images: always occupy their aspect-ratio box (fixes 0x0 / clipped images in some browsers) */
.blog-featured-media img,
.blog-feed-thumb img,
.blog-article-cover img,
.uni-card-img img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 1px;
  object-fit: cover;
}
.blog-featured-media,
.blog-feed-thumb { position: relative; padding: 0; }
.blog-feed-thumb img,
.blog-featured-media img { position: absolute; inset: 0; }


/* Dark navy variant of .panel-surface (about page: credentials + international representatives) */
.panel-surface.panel-dark {
  --muted: #b4c2d3;
  --border: rgba(255, 255, 255, 0.14);
  background: linear-gradient(160deg, var(--navy-800) 0%, var(--navy-900) 100%);
  border-color: var(--navy-700);
  color: #ffffff;
}
.panel-dark h3,
.panel-dark p { color: inherit; }
.panel-dark [style*="--gold-650"] { color: var(--gold-300) !important; }
.panel-dark .wa-contact-link { color: #ffffff; }
.panel-dark .wa-contact-link:hover { color: #86efac; }
.panel-dark .wa-icon-badge { background: rgba(34, 197, 94, 0.14); border-color: rgba(134, 239, 172, 0.45); color: #86efac; }
.panel-dark .wa-contact-link:hover .wa-icon-badge { background: #15803d; border-color: #15803d; color: #ffffff; }
.panel-dark .wa-icon-badge.is-placeholder { background: rgba(255, 255, 255, 0.06); border-color: var(--gold-600); color: var(--gold-300); }
.panel-dark .wa-contact-placeholder { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.14); }
.panel-dark .wa-placeholder-note { color: var(--muted); }


/* ---- Representatives: equal-height cards, multiple contacts side by side ---- */
.reps-grid { align-items: stretch; grid-auto-rows: 1fr; }
.reps-grid > .panel-surface { height: 100%; }
.rep-contacts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
  gap: 0.625rem;
  align-items: stretch;
  flex: 1;
}
.rep-contact {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.4rem;
  padding: 0.65rem 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-inline-start: 2px solid var(--gold-600);
  min-width: 0;
}
.rep-contact-name { font-size: 0.8125rem; font-weight: 700; line-height: 1.5; }
.rep-contact .wa-contact-link { margin-top: 0 !important; font-size: 0.75rem; }
.rep-contact .wa-contact-link:hover { background: transparent; }

/* ---- Central team: strong navy cards with gold accent ---- */
.advisor-card.advisor-card-minimal {
  background: linear-gradient(160deg, var(--navy-700) 0%, var(--navy-900) 100%);
  border: 1px solid var(--navy-700);
  border-top: 3px solid var(--gold-600);
  box-shadow: 0 10px 24px -14px rgba(10, 26, 44, 0.65);
}
.advisor-card-minimal .advisor-minimal-name { color: #ffffff; }
.advisor-card-minimal .advisor-minimal-role { color: #c3d0df; }
.advisor-card-minimal .advisor-avatar {
  background: var(--gold-600);
  color: var(--navy-950);
}

.rep-contact { padding: 0.6rem 0.6rem; }
.rep-contact .wa-contact-link { gap: 0.4rem; white-space: nowrap; font-size: 0.6875rem; letter-spacing: -0.01em; }
.rep-contact .wa-icon-badge { width: 24px; height: 24px; }
