/* =========================================================
   FLYING HORSE IMMIGRATION — Design System
   Editorial-minimal. Navy + Gold. Serif display + clean sans.
   ========================================================= */

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

/* ----- Tokens ----- */
:root {
  /* Colors */
  --navy:        #0A2540;
  --navy-deep:   #061528;
  --navy-soft:   #1a3a5f;
  --gold:        #F5C842;
  --gold-deep:   #D9AC2A;
  --gold-soft:   #FAE8A8;
  --cream:       #FBFAF6;
  --cream-warm:  #F4F1EA;
  --ink:         #1D1D1F;
  --grey:        #6E6E73;
  --grey-light:  #D2D2D7;
  --grey-soft:   #EDEDEE;
  --white:       #FFFFFF;

  /* Type */
  --font-display: "Fraunces", "Times New Roman", Georgia, serif;
  --font-body:    "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  --font-mono:    "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Spacing scale (8pt) */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px;
  --s-9: 96px; --s-10: 128px; --s-11: 160px; --s-12: 200px;

  /* Layout */
  --container: 1240px;
  --container-narrow: 880px;
  --container-wide: 1480px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Radii */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-pill: 999px;
}

/* ----- Base ----- */
html, body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: -0.005em;
}

::selection { background: var(--gold); color: var(--navy); }

/* ----- Typography ----- */
.display, h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings: "opsz" 100, "SOFT" 50;
  color: var(--navy);
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.display em, h1 em, h2 em, h3 em {
  font-style: italic;
  font-variation-settings: "opsz" 100, "SOFT" 100;
  color: var(--navy);
}

.h-1, h1 { font-size: clamp(36px, 5.5vw, 76px); }
.h-2, h2 { font-size: clamp(28px, 4vw, 52px); }
.h-3, h3 { font-size: clamp(22px, 2.8vw, 36px); }
.h-4    { font-size: clamp(20px, 2vw, 26px); font-family: var(--font-body); font-weight: 500; letter-spacing: -0.01em; color: var(--navy); line-height: 1.2; }

.italic { font-style: italic; }
em { font-style: italic; font-family: var(--font-display); font-weight: 400; letter-spacing: 0; }

.eyebrow {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold-deep);
  display: inline-block;
}

.eyebrow--navy { color: var(--navy); }
.eyebrow--light { color: var(--gold); }

.lede {
  font-size: clamp(18px, 1.6vw, 22px);
  color: var(--grey);
  line-height: 1.55;
  font-weight: 400;
  max-width: 60ch;
}

.caption {
  font-size: 13px;
  color: var(--grey);
  letter-spacing: 0.01em;
}

.mono {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ----- Layout ----- */
.container { width: 100%; max-width: var(--container); padding: 0 32px; margin: 0 auto; }
.container--narrow { max-width: var(--container-narrow); }
.container--wide { max-width: var(--container-wide); }

.section { padding: clamp(64px, 10vw, 140px) 0; }
.section--lg { padding: clamp(96px, 14vw, 200px) 0; }
.section--sm { padding: clamp(48px, 7vw, 96px) 0; }

.section--cream   { background: var(--cream); }
.section--warm    { background: var(--cream-warm); }
.section--navy    { background: var(--navy); color: var(--cream); }
.section--white   { background: var(--white); }
.section--ink     { background: var(--ink); color: var(--cream); }

.section--navy h1, .section--navy h2, .section--navy h3,
.section--ink h1, .section--ink h2, .section--ink h3 { color: var(--cream); }
.section--navy .lede, .section--ink .lede { color: rgba(251,250,246,0.7); }

.grid { display: grid; gap: var(--s-6); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.stack-sm > * + * { margin-top: var(--s-4); }
.stack > * + * { margin-top: var(--s-5); }
.stack-lg > * + * { margin-top: var(--s-7); }

.divider { height: 1px; background: var(--grey-light); border: 0; margin: 0; }
.divider--gold { background: var(--gold); height: 2px; width: 48px; }
.divider--navy { background: rgba(10,37,64,0.12); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 246, 0.82);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 250ms var(--ease), background 250ms var(--ease);
}

.nav.scrolled {
  border-color: rgba(10,37,64,0.08);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 32px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav__logo img { height: 38px; width: auto; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.005em;
  position: relative;
  padding: 6px 0;
  transition: opacity 200ms var(--ease);
}

.nav__link:hover { opacity: 0.6; }

.nav__link--active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--navy);
  color: var(--cream);
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 500;
  transition: background 200ms var(--ease), transform 200ms var(--ease);
}

.nav__cta:hover { background: var(--navy-deep); transform: translateY(-1px); }

.nav__toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--navy);
  position: relative;
  transition: background 200ms;
}

.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--navy);
  transition: transform 250ms var(--ease);
}

.nav__toggle span::before { top: -7px; }
.nav__toggle span::after { top: 7px; }

.nav__toggle.open span { background: transparent; }
.nav__toggle.open span::before { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 980px) {
  .nav__links {
    position: fixed;
    inset: 72px 0 0 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 48px 32px;
    gap: 28px;
    transform: translateX(100%);
    transition: transform 350ms var(--ease);
    overflow-y: auto;
  }
  .nav__links.open { transform: translateX(0); }
  .nav__link { font-size: 28px; font-family: var(--font-display); font-weight: 400; }
  .nav__cta { display: none; }
  .nav__toggle { display: flex; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: clamp(80px, 13vw, 160px) 0 clamp(72px, 10vw, 140px);
  position: relative;
  overflow: hidden;
}

.hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}
.hero__eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.hero__title {
  font-size: clamp(56px, 9vw, 132px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  max-width: 14ch;
}

.hero__title em {
  color: var(--navy);
  font-style: italic;
}

.hero__lede {
  margin-top: 40px;
  max-width: 52ch;
  font-size: clamp(18px, 1.6vw, 22px);
  color: var(--grey);
}

.hero__actions {
  margin-top: 48px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.hero__scroll {
  position: absolute;
  bottom: -40px;
  right: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--grey);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero__scroll::after {
  content: "";
  width: 1px;
  height: 64px;
  background: linear-gradient(to bottom, var(--grey-light), transparent);
}

@media (max-width: 760px) {
  .hero__scroll { display: none; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: all 250ms var(--ease);
  cursor: pointer;
  white-space: nowrap;
}

.btn--primary {
  background: var(--navy);
  color: var(--cream);
}
.btn--primary:hover { background: var(--navy-deep); transform: translateY(-2px); box-shadow: 0 12px 32px -16px rgba(10,37,64,0.4); }

.btn--gold {
  background: var(--gold);
  color: var(--navy);
}
.btn--gold:hover { background: var(--gold-deep); transform: translateY(-2px); box-shadow: 0 12px 32px -16px rgba(217,172,42,0.5); }

.btn--ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid rgba(10,37,64,0.18);
}
.btn--ghost:hover { background: var(--navy); color: var(--cream); border-color: var(--navy); }

.btn--text {
  padding: 0;
  background: none;
  color: var(--navy);
  border-bottom: 1px solid var(--gold);
  border-radius: 0;
  padding-bottom: 4px;
}

.btn--lg { padding: 20px 36px; font-size: 16px; }
.btn--sm { padding: 10px 18px; font-size: 13px; }

.btn .arrow {
  transition: transform 250ms var(--ease);
}
.btn:hover .arrow { transform: translateX(4px); }

/* ============================================================
   CARDS — DESTINATION
   ============================================================ */
.destinations {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

.dest-card {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 36px 32px 32px;
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  transition: all 350ms var(--ease);
  display: flex;
  flex-direction: column;
  min-height: 320px;
}

.dest-card:hover {
  transform: translateY(-4px);
  border-color: rgba(10,37,64,0.08);
  box-shadow: 0 24px 48px -24px rgba(10,37,64,0.15);
}

.dest-card__flag {
  width: 32px;
  height: 22px;
  border-radius: 3px;
  margin-bottom: 24px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.dest-card__coords {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--grey);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.dest-card__name {
  font-family: var(--font-display);
  font-size: 38px;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--navy);
  margin-bottom: 12px;
}

.dest-card__country {
  font-size: 13px;
  color: var(--gold-deep);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.dest-card__desc {
  font-size: 15px;
  color: var(--grey);
  line-height: 1.5;
  flex-grow: 1;
}

.dest-card__cta {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.005em;
}

.dest-card__cta .arrow { transition: transform 250ms var(--ease); }
.dest-card:hover .dest-card__cta .arrow { transform: translateX(4px); }

/* ============================================================
   PROCESS / STEPS
   ============================================================ */
.steps {
  display: grid;
  gap: 0;
}

.step {
  padding: 56px 0;
  border-top: 1px solid rgba(10,37,64,0.1);
  display: grid;
  grid-template-columns: 120px 1fr 2fr;
  gap: 48px;
  align-items: start;
}

.step:last-child { border-bottom: 1px solid rgba(10,37,64,0.1); }

.step__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(56px, 8vw, 96px);
  line-height: 0.9;
  color: var(--gold-deep);
  letter-spacing: -0.03em;
}

.step__label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey);
  font-weight: 500;
  font-family: var(--font-mono);
  margin-bottom: 12px;
  display: block;
}

.step__title {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 34px);
  letter-spacing: -0.015em;
  color: var(--navy);
  line-height: 1.1;
}

.step__desc {
  font-size: 17px;
  color: var(--grey);
  line-height: 1.6;
  max-width: 56ch;
}

@media (max-width: 880px) {
  .step {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 40px 0;
  }
  .step__num { font-size: 56px; margin-bottom: 4px; }
}

/* ============================================================
   FINANCIAL BREAKDOWN TABLE
   ============================================================ */
.cost-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 32px;
  background: var(--white);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(10,37,64,0.06);
}

.cost-table th,
.cost-table td {
  text-align: left;
  padding: 20px 24px;
  font-size: 15px;
  vertical-align: top;
}

.cost-table thead th {
  background: var(--cream-warm);
  color: var(--navy);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-top: 18px;
  padding-bottom: 18px;
}

.cost-table tbody tr {
  border-top: 1px solid rgba(10,37,64,0.06);
}

.cost-table tbody td:first-child {
  color: var(--navy);
  font-weight: 500;
  width: 50%;
}

.cost-table tbody td:not(:first-child) {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--grey);
  letter-spacing: 0.01em;
}

.cost-table tbody tr:hover {
  background: var(--cream-warm);
}

.cost-table tfoot td {
  background: var(--navy);
  color: var(--cream);
  font-weight: 500;
  padding: 24px;
  font-size: 15px;
}
.cost-table tfoot td:not(:first-child) {
  font-family: var(--font-mono);
  color: var(--gold);
}

@media (max-width: 640px) {
  .cost-table th, .cost-table td { padding: 14px 16px; font-size: 13px; }
  .cost-table tbody td:not(:first-child) { font-size: 11px; }
}

/* ============================================================
   COUNTRY HERO (passport-style)
   ============================================================ */
.country-hero {
  padding: clamp(100px, 13vw, 160px) 0 clamp(64px, 10vw, 120px);
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.country-hero__inner {
  position: relative;
  z-index: 1;
}

.country-hero__meta {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.country-hero__flag {
  width: 64px;
  height: 44px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.country-hero__coords {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--grey);
  letter-spacing: 0.08em;
}

.country-hero__title {
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings: "opsz" 144;
  margin-bottom: 24px;
}

.country-hero__title em { font-style: italic; font-weight: 400; font-variation-settings: "opsz" 144; color: var(--gold-deep); }

.country-hero__subtitle {
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--grey);
  max-width: 60ch;
  line-height: 1.55;
  font-weight: 400;
}

/* Hero grid: text column + destination photo */
.country-hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
}
.country-hero__visual {
  position: relative;
}
.country-hero__image {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: 0 24px 64px -32px rgba(10,37,64,0.28), 0 4px 16px -8px rgba(10,37,64,0.1);
  border: 1px solid rgba(10,37,64,0.06);
}
@media (max-width: 1024px) {
  .country-hero__grid { grid-template-columns: 1fr; gap: 36px; margin-bottom: 40px; }
}

.page-hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 1024px) {
  .page-hero__grid { grid-template-columns: 1fr; gap: 36px; }
}

.country-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 72px;
  border-top: 1px solid rgba(10,37,64,0.1);
  border-bottom: 1px solid rgba(10,37,64,0.1);
}

.country-stat {
  padding: 32px 24px;
  border-right: 1px solid rgba(10,37,64,0.1);
}
.country-stat:last-child { border-right: 0; }

.country-stat__label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
  font-weight: 500;
  margin-bottom: 12px;
  font-family: var(--font-mono);
}

.country-stat__value {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  color: var(--navy);
  letter-spacing: -0.015em;
  line-height: 1.1;
}

.country-stat__value em { font-style: italic; color: var(--gold-deep); }

.country-stat__sub {
  font-size: 12px;
  color: var(--grey);
  margin-top: 8px;
}

@media (max-width: 900px) {
  .country-stats { grid-template-columns: repeat(2, 1fr); }
  .country-stat:nth-child(2n) { border-right: 0; }
  .country-stat:nth-child(-n+2) { border-bottom: 1px solid rgba(10,37,64,0.1); }
}
@media (max-width: 480px) {
  .country-stats { grid-template-columns: 1fr; }
  .country-stat { border-right: 0; border-bottom: 1px solid rgba(10,37,64,0.1); }
  .country-stat:last-child { border-bottom: 0; }
}

/* ============================================================
   FEATURE / VALUE PROPS
   ============================================================ */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
@media (max-width: 880px) { .features { grid-template-columns: 1fr; gap: 32px; } }

.feature {
  padding: 8px 0;
}

.feature__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--gold-deep);
}

.feature__title {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--navy);
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}

.feature__desc {
  font-size: 16px;
  color: var(--grey);
  line-height: 1.55;
}

/* ============================================================
   FORM
   ============================================================ */
.form {
  display: grid;
  gap: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
}

.field {
  position: relative;
}

.field__label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--grey);
  font-weight: 500;
  margin-bottom: 10px;
}

.field__input,
.field__textarea,
.field__select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(10,37,64,0.2);
  padding: 12px 0;
  font-size: 17px;
  color: var(--navy);
  font-family: var(--font-body);
  transition: border-color 200ms var(--ease);
  outline: none;
  font-weight: 400;
}

.field__textarea {
  resize: vertical;
  min-height: 100px;
}

.field__input:focus,
.field__textarea:focus,
.field__select:focus {
  border-color: var(--gold-deep);
}

.field__input::placeholder,
.field__textarea::placeholder {
  color: rgba(110,110,115,0.5);
}

.field__select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1L6 6L11 1' stroke='%230A2540' stroke-width='1.5' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 24px;
  cursor: pointer;
}

.field--inverse .field__input,
.field--inverse .field__textarea,
.field--inverse .field__select {
  color: var(--cream);
  border-bottom-color: rgba(251,250,246,0.2);
}
.field--inverse .field__label { color: rgba(251,250,246,0.6); }
.field--inverse .field__input::placeholder { color: rgba(251,250,246,0.4); }
.field--inverse .field__input:focus,
.field--inverse .field__textarea:focus,
.field--inverse .field__select:focus { border-bottom-color: var(--gold); }
.field--inverse .field__select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1L6 6L11 1' stroke='%23FBFAF6' stroke-width='1.5' stroke-linecap='round'/></svg>");
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.form-note {
  font-size: 13px;
  color: var(--grey);
  max-width: 30ch;
}

.form-status {
  margin-top: 24px;
  padding: 20px 24px;
  border-radius: var(--r-md);
  background: rgba(245,200,66,0.12);
  border: 1px solid var(--gold);
  font-size: 15px;
  color: var(--navy);
  display: none;
}
.form-status.show { display: block; }

/* ============================================================
   QUOTE / TESTIMONIAL
   ============================================================ */
.quote {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.quote__text {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.2;
  color: var(--navy);
  letter-spacing: -0.015em;
  font-style: italic;
}

.quote__mark {
  font-family: var(--font-display);
  font-size: 64px;
  color: var(--gold);
  line-height: 0.5;
  margin-bottom: -8px;
  display: block;
}

.quote__cite {
  margin-top: 32px;
  font-size: 13px;
  color: var(--grey);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy-deep);
  color: var(--cream);
  padding: 96px 0 32px;
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(251,250,246,0.1);
}

@media (max-width: 980px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: 48px 32px; }
}
@media (max-width: 580px) {
  .footer__top { grid-template-columns: 1fr; }
}

.footer__logo {
  margin-bottom: 24px;
  height: 44px;
}
.footer__logo img { height: 100%; width: auto; }

.footer__tag {
  color: rgba(251,250,246,0.6);
  font-size: 15px;
  line-height: 1.55;
  max-width: 36ch;
  margin-bottom: 32px;
}

.footer__offices {
  display: grid;
  gap: 8px;
}
.footer__office {
  font-size: 14px;
  color: rgba(251,250,246,0.6);
  line-height: 1.5;
}
.footer__office strong {
  color: var(--gold);
  font-weight: 500;
  margin-right: 8px;
  font-family: var(--font-display);
  font-size: 16px;
  font-style: italic;
}

.footer__col-title {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 20px;
  font-family: var(--font-mono);
}

.footer__list {
  list-style: none;
  display: grid;
  gap: 12px;
}

.footer__list a {
  font-size: 14px;
  color: rgba(251,250,246,0.7);
  transition: color 200ms var(--ease);
}
.footer__list a:hover { color: var(--cream); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  font-size: 12px;
  color: rgba(251,250,246,0.4);
  flex-wrap: wrap;
  gap: 16px;
}

.footer__legal {
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

.footer__credit {
  font-family: var(--font-mono);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }
.reveal-delay-4 { transition-delay: 320ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   MISC UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.text-grey { color: var(--grey); }
.text-gold { color: var(--gold-deep); }
.text-navy { color: var(--navy); }

.mb-sm { margin-bottom: var(--s-4); }
.mb-md { margin-bottom: var(--s-6); }
.mb-lg { margin-bottom: var(--s-8); }

.mt-sm { margin-top: var(--s-4); }
.mt-md { margin-top: var(--s-6); }
.mt-lg { margin-top: var(--s-8); }

/* Header + intro pattern */
.section-head { max-width: 720px; margin-bottom: 80px; }
.section-head .eyebrow { margin-bottom: 20px; }
.section-head h2 { margin-bottom: 20px; }
.section-head .lede { max-width: 60ch; }

.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .lede { margin-left: auto; margin-right: auto; }

/* Pill badge */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(245,200,66,0.16);
  color: var(--gold-deep);
  border-radius: var(--r-pill);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
}

.pill--navy { background: rgba(10,37,64,0.06); color: var(--navy); }
.pill--inverse { background: rgba(245,200,66,0.18); color: var(--gold); }

/* List with gold dot */
.dot-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.dot-list li {
  position: relative;
  padding-left: 24px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}
.dot-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
}

.dot-list--inverse li { color: rgba(251,250,246,0.8); }
.dot-list--inverse li::before { background: var(--gold); }

/* Two-column content layout (text + sidebar) */
.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 96px; align-items: start; }
@media (max-width: 980px) { .split { grid-template-columns: 1fr; gap: 48px; } }

/* Sidebar callout box */
.callout {
  background: var(--white);
  padding: 32px;
  border-radius: var(--r-md);
  border: 1px solid rgba(10,37,64,0.08);
  position: sticky;
  top: 100px;
}

.callout__title {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.callout__desc {
  font-size: 14px;
  color: var(--grey);
  line-height: 1.5;
  margin-bottom: 24px;
}

@media (max-width: 980px) { .callout { position: static; } }

/* Inline gold underline */
.gold-line {
  background-image: linear-gradient(to top, var(--gold) 30%, transparent 30%);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  display: inline;
  padding: 0 2px;
}

/* Marquee row for offices/destinations */
.marquee {
  display: flex;
  gap: 80px;
  padding: 24px 0;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
}

.marquee__item {
  font-family: var(--font-display);
  font-size: 32px;
  font-style: italic;
  color: var(--navy);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 32px;
}

.marquee__item::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
}
.marquee__item:last-child::after { display: none; }

/* Contact strip */
.contact-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(10,37,64,0.1);
  border-bottom: 1px solid rgba(10,37,64,0.1);
}
.contact-strip__item {
  padding: 40px 32px;
  border-right: 1px solid rgba(10,37,64,0.1);
}
.contact-strip__item:last-child { border-right: 0; }
.contact-strip__label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey);
  font-family: var(--font-mono);
  margin-bottom: 12px;
}
.contact-strip__value {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.contact-strip__value a:hover { color: var(--gold-deep); }
@media (max-width: 760px) {
  .contact-strip { grid-template-columns: 1fr; }
  .contact-strip__item { border-right: 0; border-bottom: 1px solid rgba(10,37,64,0.1); }
  .contact-strip__item:last-child { border-bottom: 0; }
}

/* ============================================================
   v2 — ICONBAR NAV, COUNTRY HUBS, WORLD MAP, COUNSEL PANEL
   ============================================================ */

/* ----- Utility strip (thin top bar) ----- */
.utility-bar {
  background: var(--navy);
  color: rgba(251,250,246,0.85);
  font-size: 12px;
  letter-spacing: 0.01em;
}
.utility-bar__inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 8px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.utility-bar__left, .utility-bar__right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.utility-bar a {
  color: rgba(251,250,246,0.85);
  font-weight: 500;
  transition: color 200ms var(--ease);
  font-family: var(--font-body);
}
.utility-bar a:hover { color: var(--gold); }
.utility-bar__sep {
  width: 1px;
  height: 12px;
  background: rgba(251,250,246,0.2);
}
.utility-bar a svg, .utility-bar__phone svg { width: 12px; height: 12px; flex-shrink: 0; }
.utility-bar a { display: inline-flex; align-items: center; gap: 7px; }

@media (max-width: 760px) {
  .utility-bar__inner { padding: 8px 20px; font-size: 11px; gap: 12px; }
  .utility-bar__left, .utility-bar__right { gap: 12px; }
  .utility-bar__sep { display: none; }
}

/* ----- Iconbar nav (Akbar-style) ----- */
.iconbar {
  background: var(--white);
  border-bottom: 1px solid rgba(10,37,64,0.08);
  position: sticky;
  top: 0;
  z-index: 60;
  transition: box-shadow 250ms var(--ease);
}
.iconbar.scrolled {
  box-shadow: 0 1px 0 rgba(10,37,64,0.05), 0 8px 24px -16px rgba(10,37,64,0.12);
}
.iconbar__inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.iconbar__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.iconbar__logo img {
  height: 42px;
  width: auto;
}
.iconbar__nav {
  display: flex;
  align-items: stretch;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  justify-content: center;
}
.iconbar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 18px;
  color: var(--grey-dark, #3a3a3c);
  position: relative;
  transition: color 200ms var(--ease);
  border-bottom: 3px solid transparent;
  font-family: var(--font-body);
}
.iconbar__item svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.6;
  transition: transform 200ms var(--ease), stroke 200ms var(--ease);
}
.iconbar__item-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--navy);
  line-height: 1.2;
  white-space: nowrap;
}
.iconbar__item:hover {
  color: var(--navy);
}
.iconbar__item:hover svg {
  transform: translateY(-2px);
}
.iconbar__item--active {
  border-bottom-color: var(--gold);
}
.iconbar__item--active svg {
  stroke: var(--gold-deep);
  color: var(--gold-deep);
}
.iconbar__item--active .iconbar__item-label {
  color: var(--gold-deep);
}

.iconbar__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--cream);
  padding: 12px 22px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: -0.005em;
  transition: all 200ms var(--ease);
  flex-shrink: 0;
}
.iconbar__cta:hover {
  background: var(--gold-deep);
  color: var(--navy);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -10px rgba(217,172,42,0.5);
}
.iconbar__cta svg { width: 14px; height: 14px; }

.iconbar__toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  cursor: pointer;
  background: none;
  border: 0;
}
.iconbar__toggle span {
  width: 22px;
  height: 2px;
  background: var(--navy);
  transition: transform 200ms var(--ease), opacity 200ms var(--ease);
}
.iconbar__toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.iconbar__toggle.open span:nth-child(2) { opacity: 0; }
.iconbar__toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  .iconbar__item { padding: 10px 12px; }
  .iconbar__item-label { font-size: 12px; }
  .iconbar__inner { gap: 16px; padding: 12px 24px; }
}
@media (max-width: 900px) {
  .iconbar__nav { display: none; }
  .iconbar__cta { display: none; }
  .iconbar__toggle { display: flex; }
  .iconbar__inner { padding: 14px 20px; }
}

/* Mobile menu drawer */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  height: 100dvh;
  width: 88%;
  max-width: 400px;
  background: var(--white);
  z-index: 80;
  padding: 80px 32px 40px;
  transform: translateX(100%);
  transition: transform 320ms var(--ease);
  overflow-y: auto;
  box-shadow: -8px 0 40px rgba(10,37,64,0.15);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(10,37,64,0.08);
  color: var(--navy);
  font-weight: 600;
  font-size: 16px;
  font-family: var(--font-body);
}
.mobile-menu__item svg { width: 22px; height: 22px; color: var(--gold-deep); flex-shrink: 0; }
.mobile-menu__cta {
  margin-top: 24px;
  background: var(--navy);
  color: var(--cream);
  padding: 16px 24px;
  border-radius: var(--r-pill);
  text-align: center;
  font-weight: 600;
  display: block;
}
.mobile-menu__cta:hover { background: var(--gold-deep); color: var(--navy); }
.mobile-menu__overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,37,64,0.5);
  z-index: 75;
  backdrop-filter: blur(4px);
}
.mobile-menu__overlay.show { display: block; }
@media (max-width: 900px) {
  .mobile-menu { display: block; }
}

/* ============================================================
   HOMEPAGE HERO v2
   ============================================================ */
.hero-v2 {
  position: relative;
  padding: clamp(60px, 9vw, 120px) 0 clamp(72px, 10vw, 140px);
  overflow: hidden;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-warm) 100%);
}
.hero-v2__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 1024px) {
  .hero-v2__grid { grid-template-columns: 1fr; gap: 48px; }
}
.hero-v2__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(245,200,66,0.18);
  border: 1px solid rgba(245,200,66,0.35);
  padding: 8px 16px;
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 24px;
}
.hero-v2__eyebrow .dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.hero-v2__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings: "opsz" 144;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin-bottom: 24px;
}
.hero-v2__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-deep);
}
.hero-v2__lede {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--grey);
  max-width: 56ch;
  margin-bottom: 32px;
}
.hero-v2__cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-v2__trust {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}
.hero-v2__trust-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-v2__trust-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-variation-settings: "opsz" 100;
  color: var(--navy);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
}
.hero-v2__trust-label {
  font-size: 12px;
  color: var(--grey);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

/* ----- Free counsel form panel ----- */
.counsel-card {
  background: var(--white);
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: 0 24px 64px -32px rgba(10,37,64,0.25), 0 4px 16px -8px rgba(10,37,64,0.08);
  border: 1px solid rgba(10,37,64,0.06);
  position: relative;
}
.counsel-card__badge {
  position: absolute;
  top: -14px;
  right: 24px;
  background: var(--gold);
  color: var(--navy);
  padding: 6px 16px;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.counsel-card__title {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1.1;
  color: var(--navy);
  font-weight: 500;
  font-variation-settings: "opsz" 100;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}
.counsel-card__title em {
  font-style: italic;
  color: var(--gold-deep);
}
.counsel-card__sub {
  font-size: 14px;
  color: var(--grey);
  margin-bottom: 24px;
  line-height: 1.5;
}
.counsel-card__field {
  margin-bottom: 14px;
}
.counsel-card__field input,
.counsel-card__field select {
  width: 100%;
  padding: 14px 16px;
  background: var(--cream);
  border: 1px solid rgba(10,37,64,0.1);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  transition: border-color 200ms var(--ease), background 200ms var(--ease);
}
.counsel-card__field input::placeholder { color: var(--grey-light); }
.counsel-card__field input:focus,
.counsel-card__field select:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(245,200,66,0.15);
}
.counsel-card__field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%230A2540' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.counsel-card__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 480px) {
  .counsel-card__row { grid-template-columns: 1fr; }
}
.counsel-card__submit {
  width: 100%;
  background: var(--navy);
  color: var(--cream);
  padding: 16px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
  transition: all 200ms var(--ease);
  font-family: var(--font-body);
  letter-spacing: -0.005em;
}
.counsel-card__submit:hover {
  background: var(--gold-deep);
  color: var(--navy);
  transform: translateY(-1px);
  box-shadow: 0 12px 32px -16px rgba(217,172,42,0.5);
}
.counsel-card__note {
  font-size: 12px;
  color: var(--grey);
  text-align: center;
  margin-top: 14px;
  line-height: 1.5;
}

/* ============================================================
   WORLD MAP SECTION (Homepage)
   Interactive SVG map — real country shapes, not pins.
   Highlighted countries are wrapped in <a> links (works with
   or without JS) and carry a name pill positioned above them.
   ============================================================ */
.worldmap-section {
  background: var(--navy);
  color: var(--cream);
  padding: clamp(80px, 12vw, 140px) 0;
  position: relative;
  overflow: hidden;
}
.worldmap-section__head {
  text-align: center;
  margin-bottom: 56px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.worldmap-section__head h2 {
  color: var(--cream);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.worldmap-section__head h2 em {
  color: var(--gold);
  font-style: italic;
}
.worldmap-section__head p {
  color: rgba(251,250,246,0.7);
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.55;
}

.worldmap {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}
.worldmap::before {
  content: "";
  position: absolute;
  inset: -8%;
  background: radial-gradient(ellipse at center, rgba(245,200,66,0.10) 0%, rgba(120,200,255,0.06) 45%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}
.worldmap__scroll {
  position: relative;
  z-index: 1;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(245,200,66,0.4) transparent;
}
.worldmap__svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

/* Non-highlighted countries — muted context so the 7 destinations pop */
.worldmap__svg .continent {
  fill: rgba(251,250,246,0.10);
  stroke: rgba(251,250,246,0.16);
  stroke-width: 0.6;
  transition: fill 280ms var(--ease);
}

/* The 7 destination countries — fully highlighted, clickable area */
.worldmap__svg .country {
  fill: rgba(245,200,66,0.30);
  stroke: rgba(245,200,66,0.85);
  stroke-width: 1;
  transition: fill 240ms var(--ease), stroke 240ms var(--ease);
  paint-order: stroke;
}
.worldmap__country-link {
  cursor: pointer;
}
.worldmap__country-link:hover .country,
.worldmap__country-link:focus-visible .country {
  fill: var(--gold);
  stroke: var(--gold);
}
.worldmap__country-link:hover .worldmap__label-pill,
.worldmap__country-link:focus-visible .worldmap__label-pill {
  fill: var(--gold);
  stroke: var(--gold);
}
.worldmap__country-link:hover .worldmap__label,
.worldmap__country-link:focus-visible .worldmap__label {
  fill: var(--navy);
}
.worldmap__country-link:focus-visible {
  outline: none;
}
.worldmap__country-link:focus-visible .worldmap__label-pill {
  stroke-width: 1.4;
}

/* Name pill + label, always visible above each highlighted country */
.worldmap__label-pill {
  fill: rgba(10,37,64,0.92);
  stroke: rgba(245,200,66,0.5);
  stroke-width: 0.6;
  transition: fill 240ms var(--ease), stroke 240ms var(--ease);
}
.worldmap__label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 17px;
  fill: var(--cream);
  letter-spacing: -0.005em;
  transition: fill 240ms var(--ease);
  pointer-events: none;
}

.worldmap-section__legend {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-top: 56px;
  flex-wrap: wrap;
  color: rgba(251,250,246,0.6);
  font-size: 13px;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  position: relative;
  z-index: 1;
}
.worldmap-section__legend strong {
  color: var(--gold);
  font-weight: 500;
  font-family: var(--font-display);
  font-size: 22px;
  font-variation-settings: "opsz" 100;
  letter-spacing: -0.01em;
  margin-right: 6px;
}

@media (max-width: 720px) {
  .worldmap-section__head { margin-bottom: 40px; }
}


/* ============================================================
   SERVICE CARDS (Homepage — like Y-Axis services grid)
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 980px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  background: var(--white);
  border-radius: 18px;
  padding: 32px 28px;
  border: 1px solid rgba(10,37,64,0.06);
  transition: all 280ms var(--ease);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 280px;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(245,200,66,0.06) 100%);
  opacity: 0;
  transition: opacity 280ms var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 24px 48px -24px rgba(10,37,64,0.18);
}
.service-card:hover::before { opacity: 1; }
.service-card__icon {
  width: 92px;
  height: 92px;
  background: var(--cream-warm);
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.service-card:hover .service-card__icon { box-shadow: 0 8px 20px -8px rgba(10,37,64,0.3); }
.service-card__icon svg { width: 28px; height: 28px; color: var(--navy); }
.service-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.22);
  transition: transform 400ms var(--ease);
}
.service-card:hover .service-card__icon img { transform: scale(1.3); }
.service-card__title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  font-variation-settings: "opsz" 100;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  line-height: 1.15;
  position: relative;
  z-index: 1;
}
.service-card__title em { font-style: italic; color: var(--gold-deep); }
.service-card__desc {
  font-size: 14px;
  color: var(--grey);
  line-height: 1.55;
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
  flex-grow: 1;
}
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  position: relative;
  z-index: 1;
  letter-spacing: -0.005em;
}
.service-card__link svg { width: 12px; height: 12px; transition: transform 200ms var(--ease); }
.service-card:hover .service-card__link svg { transform: translateX(4px); }

/* ============================================================
   COUNTRY HUB — VISA TYPE CARDS
   ============================================================ */
.visatype-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
@media (max-width: 980px) { .visatype-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .visatype-grid { grid-template-columns: 1fr; } }

.visatype-card {
  background: var(--white);
  border: 1px solid rgba(10,37,64,0.08);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all 280ms var(--ease);
  cursor: pointer;
  text-decoration: none;
  position: relative;
}
.visatype-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(10,37,64,0.18);
}
.visatype-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--cream-warm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-deep);
}
.visatype-card:hover .visatype-card__icon {
  background: var(--gold-soft);
}
.visatype-card__icon svg { width: 24px; height: 24px; }
.visatype-card__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  font-variation-settings: "opsz" 100;
  color: var(--navy);
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.visatype-card__desc {
  font-size: 13.5px;
  color: var(--grey);
  line-height: 1.5;
}
.visatype-card__arrow {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.005em;
  font-family: var(--font-body);
}
.visatype-card__arrow svg { width: 12px; height: 12px; transition: transform 200ms var(--ease); }
.visatype-card:hover .visatype-card__arrow svg { transform: translateX(4px); }

/* Tabs / quick anchor nav for sub-sections within country hub */
.subnav {
  position: sticky;
  top: 74px;
  z-index: 30;
  background: rgba(251,250,246,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(10,37,64,0.08);
  margin-bottom: 0;
}
.subnav__inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.subnav__inner::-webkit-scrollbar { display: none; }
.subnav__item {
  padding: 16px 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--grey);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color 200ms var(--ease), border-color 200ms var(--ease);
  font-family: var(--font-body);
  letter-spacing: -0.005em;
}
.subnav__item:hover { color: var(--navy); }
.subnav__item.active {
  color: var(--navy);
  border-bottom-color: var(--gold);
}

/* Section ID anchor offset for sticky bars */
section[id] { scroll-margin-top: 140px; }

/* ============================================================
   TRUST / STATS strip (homepage)
   ============================================================ */
.stats-strip {
  background: var(--cream-warm);
  padding: 48px 0;
  border-top: 1px solid rgba(10,37,64,0.06);
  border-bottom: 1px solid rgba(10,37,64,0.06);
}
.stats-strip__grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
@media (max-width: 720px) {
  .stats-strip__grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
}
.stat-item__num {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  color: var(--navy);
  font-weight: 500;
  font-variation-settings: "opsz" 100;
  letter-spacing: -0.025em;
  line-height: 1;
}
.stat-item__num em {
  font-style: italic;
  color: var(--gold-deep);
}
.stat-item__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
  margin-top: 12px;
}

/* ============================================================
   Why-us / How-we-work strip
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr; } }
.why-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.why-item__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 56px;
  color: var(--gold);
  font-variation-settings: "opsz" 100;
  letter-spacing: -0.02em;
  line-height: 1;
  font-weight: 400;
}
.why-item__title {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--navy);
  font-weight: 500;
  font-variation-settings: "opsz" 100;
  letter-spacing: -0.018em;
  line-height: 1.2;
}
.why-item__desc {
  font-size: 15px;
  color: var(--grey);
  line-height: 1.55;
}

/* Make existing nav (.nav) hidden when iconbar exists, but keep classes for compat */
.iconbar + .nav { display: none; }

/* Adjust scroll-margin for subnav and iconbar together */
.has-subnav section[id] { scroll-margin-top: 160px; }

/* ============================================================
   MOBILE LAYOUT FIXES (split layout, country-hero stats)
   ============================================================ */
@media (max-width: 980px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split .callout { max-width: 100%; }
}

/* Country-hero stats: stack into 2 columns on mobile */
@media (max-width: 720px) {
  .country-stats { grid-template-columns: repeat(2, 1fr) !important; }
  .country-hero { padding: 60px 0 40px; }
  .country-hero__title { font-size: clamp(32px, 9vw, 56px); }
}

/* Tighten the homepage hero grid on mobile */
@media (max-width: 720px) {
  .hero-v2 { padding: 40px 0 60px; }
  .hero-v2__grid { gap: 32px; }
  .hero-v2__title { font-size: clamp(30px, 8.5vw, 46px); }
  .hero-v2__trust { gap: 24px; }
  .hero-v2__trust-num { font-size: 26px; }
}

/* Counsel card slightly tighter on small screens */
@media (max-width: 540px) {
  .counsel-card { padding: 28px 22px; }
  .counsel-card__title { font-size: 26px; }
}

/* Section default padding tighter on mobile */
@media (max-width: 720px) {
  .section { padding: 56px 0; }
  .section-head h2 { font-size: clamp(26px, 6.5vw, 38px); }
}

/* Iconbar: balance 4-item layout */
.iconbar__nav {
  max-width: 640px;
}

/* ============================================================
   v4 — PARTNER WITH US + FRANCHISE PAGE STYLES
   ============================================================ */

/* Partner / franchise hero variants — shorter than country hero */
.page-hero {
  padding: clamp(80px, 12vw, 140px) 0 clamp(48px, 6vw, 80px);
  background: linear-gradient(180deg, var(--cream) 0%, var(--warm-cream, #F4F1EA) 100%);
  position: relative;
  overflow: hidden;
}
.page-hero__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 24px;
}
.page-hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings: "opsz" 144;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin: 0 0 24px;
  max-width: 18ch;
}
.page-hero__title em { font-style: italic; color: var(--gold-deep); font-weight: 400; }
.page-hero__lede {
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--grey);
  max-width: 62ch;
  line-height: 1.55;
}

/* Two-up partner cards */
.partner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 12px;
}
@media (max-width: 880px) { .partner-grid { grid-template-columns: 1fr; } }

.partner-card {
  background: var(--cream);
  border: 1px solid rgba(10, 37, 64, 0.08);
  border-radius: 20px;
  padding: clamp(28px, 3vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all 320ms var(--ease);
}
.partner-card:hover {
  border-color: rgba(245, 200, 66, 0.4);
  box-shadow: 0 12px 40px -12px rgba(10, 37, 64, 0.1);
  transform: translateY(-2px);
}
.partner-card__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.partner-card__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings: "opsz" 120;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0;
}
.partner-card__title em { font-style: italic; color: var(--gold-deep); font-weight: 400; }
.partner-card__desc {
  font-size: 15px;
  color: var(--grey-dark, #3a3a3c);
  line-height: 1.6;
}
.partner-card__list {
  list-style: none;
  padding: 0;
  margin: 8px 0 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.partner-card__list li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: var(--grey-dark, #3a3a3c);
  line-height: 1.5;
}
.partner-card__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--gold-deep);
  font-weight: 700;
  font-size: 13px;
}

/* Partnership / franchise form layout */
.app-form {
  background: var(--white);
  border: 1px solid rgba(10, 37, 64, 0.1);
  border-radius: 20px;
  padding: clamp(28px, 3vw, 40px);
}
.app-form__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings: "opsz" 120;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 0 8px;
}
.app-form__title em { font-style: italic; color: var(--gold-deep); font-weight: 400; }
.app-form__sub {
  color: var(--grey);
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 24px;
}
.app-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 640px) { .app-form__row { grid-template-columns: 1fr; } }
.app-form__field {
  margin-bottom: 14px;
}
.app-form__field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 6px;
}
.app-form__field input,
.app-form__field select,
.app-form__field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(10, 37, 64, 0.18);
  padding: 8px 0 12px;
  font-size: 15px;
  color: var(--navy);
  font-family: var(--font-body);
  font-weight: 500;
  border-radius: 0;
  outline: none;
  transition: border-color 240ms var(--ease);
}
.app-form__field input:focus,
.app-form__field select:focus,
.app-form__field textarea:focus {
  border-bottom-color: var(--gold);
}
.app-form__field textarea {
  min-height: 80px;
  resize: vertical;
}
.app-form__submit {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--navy);
  color: var(--cream);
  border: 0;
  border-radius: var(--r-pill);
  padding: 16px 28px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: all 240ms var(--ease);
  margin-top: 8px;
}
.app-form__submit:hover {
  background: var(--ink);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -8px rgba(10, 37, 64, 0.4);
}
.app-form__small {
  margin-top: 12px;
  font-size: 12px;
  color: var(--grey);
  line-height: 1.5;
}

/* Stats strip (franchise market figures) */
.market-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(10, 37, 64, 0.1);
  border-bottom: 1px solid rgba(10, 37, 64, 0.1);
  margin: 40px 0;
}
@media (max-width: 880px) { .market-stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .market-stats { grid-template-columns: 1fr; } }

.market-stat {
  padding: 28px 24px;
  border-right: 1px solid rgba(10, 37, 64, 0.1);
}
.market-stat:last-child { border-right: 0; }
@media (max-width: 880px) {
  .market-stat:nth-child(2n) { border-right: 0; }
  .market-stat:nth-child(-n+2) { border-bottom: 1px solid rgba(10, 37, 64, 0.1); }
}
@media (max-width: 480px) {
  .market-stat { border-right: 0; border-bottom: 1px solid rgba(10, 37, 64, 0.1); }
  .market-stat:last-child { border-bottom: 0; }
}
.market-stat__num {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 120;
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin-bottom: 8px;
}
.market-stat__num em { color: var(--gold-deep); font-style: italic; font-weight: 400; }
.market-stat__label {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--grey);
  line-height: 1.4;
}
.market-stat__label strong { color: var(--navy); font-weight: 600; }

/* "For whom" / "Why us" three-column blocks */
.three-up {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.three-up--4col { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 880px) { .three-up, .three-up--4col { grid-template-columns: 1fr; } }
@media (min-width: 881px) and (max-width: 1100px) { .three-up--4col { grid-template-columns: repeat(2, 1fr); } }

.three-up__item {
  background: var(--cream);
  border: 1px solid rgba(10, 37, 64, 0.08);
  border-radius: 16px;
  padding: 32px 28px;
}
.three-up__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--gold-deep);
  margin-bottom: 18px;
  text-transform: uppercase;
}
.three-up__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings: "opsz" 100;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 0 12px;
}
.three-up__title em { font-style: italic; color: var(--gold-deep); font-weight: 400; }
.three-up__desc {
  font-size: 14.5px;
  color: var(--grey-dark, #3a3a3c);
  line-height: 1.6;
}
.three-up__desc strong { color: var(--navy); font-weight: 600; }

/* Franchise support 6-card grid */
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 880px) { .support-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .support-grid { grid-template-columns: 1fr; } }

.support-card {
  background: var(--white);
  border: 1px solid rgba(10, 37, 64, 0.08);
  border-radius: 16px;
  padding: 28px 24px;
  transition: all 280ms var(--ease);
}
.support-card:hover {
  border-color: rgba(245, 200, 66, 0.4);
  box-shadow: 0 8px 24px -8px rgba(10, 37, 64, 0.08);
}
.support-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(245, 200, 66, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-deep);
  margin-bottom: 16px;
}
.support-card__icon svg { width: 22px; height: 22px; }
.support-card__title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 17px;
  color: var(--navy);
  margin: 0 0 10px;
  letter-spacing: -0.005em;
}
.support-card__desc {
  font-size: 14px;
  color: var(--grey-dark, #3a3a3c);
  line-height: 1.55;
}

/* Iconbar dropdown for Partner/Franchise */
.iconbar__dropdown {
  position: relative;
}
.iconbar__dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--white);
  border: 1px solid rgba(10, 37, 64, 0.1);
  border-radius: 14px;
  padding: 10px;
  min-width: 220px;
  box-shadow: 0 16px 40px -12px rgba(10, 37, 64, 0.18);
  display: none;
  z-index: 100;
}
.iconbar__dropdown:hover .iconbar__dropdown-menu,
.iconbar__dropdown:focus-within .iconbar__dropdown-menu {
  display: block;
}
.iconbar__dropdown-menu a {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  border-radius: 8px;
  text-decoration: none;
  transition: background 200ms var(--ease);
}
.iconbar__dropdown-menu a:hover {
  background: rgba(245, 200, 66, 0.12);
  color: var(--gold-deep);
}

/* ============================================================
   v5 — FLAGS · PARTNERS · IMAGE PLACEHOLDERS · INSTITUTIONS · 5-CARD SERVICES
   ============================================================ */

/* Flag icon (Unicode emoji wrapper for consistent sizing) */
.flag {
  display: inline-block;
  font-size: 1.05em;
  line-height: 1;
  margin-right: 6px;
  vertical-align: -0.05em;
  letter-spacing: 0;
}
.flag--lg { font-size: 1.4em; margin-right: 10px; }
.flag--xl { font-size: 1.8em; margin-right: 12px; vertical-align: -0.08em; }

/* Image placeholder — designer-facing, shows dimensions */
.img-placeholder {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(245, 200, 66, 0.06) 0%, rgba(10, 37, 64, 0.04) 100%);
  border: 2px dashed rgba(10, 37, 64, 0.18);
  border-radius: 14px;
  color: var(--grey);
  font-family: var(--font-mono);
  text-align: center;
  padding: 32px;
  min-height: 160px;
  transition: background 240ms var(--ease);
}
.img-placeholder:hover { background: linear-gradient(135deg, rgba(245, 200, 66, 0.1) 0%, rgba(10, 37, 64, 0.07) 100%); }
.img-placeholder__icon {
  width: 32px; height: 32px;
  margin: 0 auto 14px;
  display: block;
  color: var(--gold-deep);
  opacity: 0.65;
}
.img-placeholder__title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  color: var(--navy);
  letter-spacing: -0.005em;
  margin-bottom: 6px;
}
.img-placeholder__dims {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--grey);
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.img-placeholder__file {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--gold-deep);
  letter-spacing: 0.02em;
}

/* Partners strip — IELTS IDP, British Council, PTE Pearson */
.partners {
  background: var(--white);
  padding: 56px 0;
  border-top: 1px solid rgba(10, 37, 64, 0.06);
  border-bottom: 1px solid rgba(10, 37, 64, 0.06);
}
.partners__head {
  text-align: center;
  margin-bottom: 36px;
}
.partners__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 12px;
  display: block;
}
.partners__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings: "opsz" 100;
  font-size: clamp(22px, 2.6vw, 30px);
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0;
}
.partners__title em { font-style: italic; color: var(--gold-deep); font-weight: 400; }
.partners__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 880px;
  margin: 0 auto;
  align-items: center;
}
@media (max-width: 720px) { .partners__grid { grid-template-columns: 1fr; gap: 24px; } }

.partner-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  border: 1px solid rgba(10, 37, 64, 0.08);
  border-radius: 14px;
  padding: 22px 28px;
  min-height: 148px;
  transition: all 280ms var(--ease);
}
.partner-logo:hover {
  border-color: rgba(245, 200, 66, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -10px rgba(10, 37, 64, 0.12);
}
.partner-logo img {
  max-width: 100%;
  width: 220px;
  max-height: 92px;
  object-fit: contain;
}
.partner-logo__placeholder {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  color: var(--navy);
  letter-spacing: 0.04em;
  line-height: 1.35;
}
.partner-logo__placeholder small {
  display: block;
  font-weight: 400;
  font-size: 10px;
  color: var(--grey);
  margin-top: 4px;
  letter-spacing: 0.06em;
}

/* 5-card service grid (Study Loan added) */
.services-grid--5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}
@media (max-width: 1200px) { .services-grid--5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .services-grid--5 { grid-template-columns: 1fr; } }

/* Institution grid (universities we represent) */
.institutions {
  margin-top: 36px;
}
.institutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 960px) { .institutions-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .institutions-grid { grid-template-columns: 1fr; } }

.institution {
  background: var(--cream);
  border: 1px solid rgba(10, 37, 64, 0.07);
  border-radius: 10px;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.4;
  transition: all 200ms var(--ease);
}
.institution:hover {
  border-color: rgba(245, 200, 66, 0.4);
  background: var(--white);
  transform: translateY(-1px);
}
.institution small {
  display: block;
  font-size: 11.5px;
  font-weight: 400;
  color: var(--grey);
  margin-top: 2px;
  letter-spacing: 0.01em;
}
.institutions__note {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--grey);
  letter-spacing: 0.04em;
  margin-top: 24px;
}
.institutions__count {
  display: inline-block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--gold-deep);
  margin: 0 4px;
  font-variation-settings: "opsz" 100;
}

/* Toggle "Show all institutions" */
.institutions-collapse { display: none; }
.institutions-collapse.expanded { display: contents; }
.institutions__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  background: transparent;
  border: 1px solid rgba(10, 37, 64, 0.18);
  border-radius: var(--r-pill);
  padding: 10px 22px;
  cursor: pointer;
  margin-top: 18px;
  transition: all 200ms var(--ease);
}
.institutions__toggle:hover {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
}

/* Dest-card sub-element styling (fix for num/coord rendering inline) */
.dest-card__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
}
.dest-card__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--gold-deep);
  font-weight: 500;
}
.dest-card__coord {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--grey);
  letter-spacing: 0.04em;
  text-align: right;
}
.dest-card__meta {
  margin-top: 10px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--grey);
  line-height: 1.5;
}
.dest-card__arrow {
  position: absolute;
  bottom: 28px;
  right: 28px;
  font-size: 20px;
  color: var(--gold-deep);
  opacity: 0.7;
  transition: all 240ms var(--ease);
}
.dest-card { position: relative; }
.dest-card:hover .dest-card__arrow { opacity: 1; transform: translate(2px, -2px); }

/* ============================================================
   INSTITUTION DIRECTORY (per-country study visa pages)
   Searchable list of universities/colleges we work with.
   ============================================================ */
.inst-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.inst-search {
  position: relative;
  flex: 1;
  min-width: 240px;
  max-width: 420px;
}
.inst-search input {
  width: 100%;
  padding: 13px 16px 13px 44px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(10,37,64,0.14);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  transition: border-color 220ms var(--ease), box-shadow 220ms var(--ease);
}
.inst-search input::placeholder { color: var(--grey-light); }
.inst-search input:focus {
  outline: none;
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 3px rgba(245,200,66,0.18);
}
.inst-search svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--grey);
  pointer-events: none;
}
.inst-count {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--grey);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.inst-count strong {
  color: var(--navy);
  font-weight: 600;
}
.inst-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 2px 28px;
}
.inst-chip {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(10,37,64,0.07);
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink);
  min-width: 0;
}
.inst-chip span {
  overflow-wrap: break-word;
  word-break: break-word;
}
.inst-chip::before {
  content: "";
  width: 4px;
  height: 4px;
  min-width: 4px;
  border-radius: 50%;
  background: var(--gold-deep);
  margin-top: 8px;
}
.inst-chip--more {
  display: none;
}
.inst-grid.is-expanded .inst-chip--more {
  display: flex;
}
.inst-chip.is-search-hidden {
  display: none !important;
}
.inst-showmore {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 32px auto 0;
  padding: 13px 28px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(10,37,64,0.16);
  background: transparent;
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 220ms var(--ease);
}
.inst-showmore:hover {
  border-color: var(--gold-deep);
  background: rgba(245,200,66,0.08);
}
.inst-showmore svg {
  width: 15px;
  height: 15px;
  transition: transform 220ms var(--ease);
}
.inst-showmore.is-expanded svg { transform: rotate(180deg); }
.inst-showmore[hidden] { display: none; }
.inst-empty {
  display: none;
  text-align: center;
  padding: 48px 20px;
  color: var(--grey);
  font-size: 14px;
}
.inst-note {
  margin-top: 32px;
  font-size: 14px;
  color: var(--grey);
  text-align: center;
}
.inst-note a { color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 720px) {
  .inst-grid { grid-template-columns: 1fr; }
  .inst-toolbar { flex-direction: column; align-items: stretch; }
  .inst-search { max-width: none; }
}

/* ============================================================
   PERSISTENT WHATSAPP BAR (all pages)
   ============================================================ */
body { padding-bottom: 74px; }
@media (max-width: 640px) { body { padding-bottom: 66px; } }

.whatsapp-bar-wrap {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  transition: transform 280ms var(--ease);
}
.whatsapp-bar-wrap.is-dismissed { transform: translateY(100%); pointer-events: none; }

.whatsapp-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 24px;
  background: var(--navy);
  color: var(--cream);
  text-decoration: none;
  box-shadow: 0 -8px 28px -10px rgba(10, 37, 64, 0.4);
}
.whatsapp-bar__icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.whatsapp-bar__icon svg { width: 21px; height: 21px; fill: #fff; }
.whatsapp-bar__text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.whatsapp-bar__text strong {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--cream);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.whatsapp-bar__text span {
  font-size: 12px;
  color: rgba(251, 250, 246, 0.65);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.whatsapp-bar__cta {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: var(--gold);
  color: var(--navy);
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13.5px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 220ms var(--ease), transform 220ms var(--ease);
}
.whatsapp-bar:hover .whatsapp-bar__cta { background: var(--gold-deep); }
.whatsapp-bar__cta .arrow { transition: transform 220ms var(--ease); }
.whatsapp-bar:hover .whatsapp-bar__cta .arrow { transform: translateX(3px); }
.whatsapp-bar__close {
  position: absolute;
  top: -13px;
  right: 10px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--navy);
  border: 1px solid rgba(251, 250, 246, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  cursor: pointer;
  padding: 0;
}
.whatsapp-bar__close svg { width: 13px; height: 13px; }

@media (max-width: 560px) {
  .whatsapp-bar { padding: 10px 16px; gap: 10px; }
  .whatsapp-bar__text span { display: none; }
  .whatsapp-bar__cta { padding: 9px 14px; font-size: 13px; }
}
