/* =========================================================================
   UNIDUNIA — Home page
   Design tokens extracted from the reference screenshot (1536 × 1024).
   Values marked "est." are visual estimates, not measured from source code.
   ========================================================================= */

:root {
  /* Brand palette (from UNIDUNIA brand sheet) */
  --brand-navy: #0a2d6b;
  --brand-royal: #0a82ff;
  --brand-amber: #ffc107;
  --brand-sky: #e6f4ff;

  /* Reference-screenshot palette (sampled) */
  --c-header: #0a131c;          /* header bg, sampled #000e17 → #09151f */
  --c-header-btn: #1a222b;      /* round search button */
  --c-ink: #0e1116;             /* near-black text */
  --c-ink-2: #2b2f33;           /* secondary dark text */
  --c-muted: #787a7b;           /* placeholder text */
  --c-gold: #f0bd4f;            /* italic headline, nav underline, "UNIDUNIA Tools" */
  --c-gold-cta: #f7c160;        /* search button */
  --c-amber: #eda419;           /* destinations underline */
  --c-surface: #f3f2f2;         /* destinations band */
  --c-surface-2: #f9f9f9;       /* value-props band */
  --c-card-muted: #e7e5e5;      /* "View All Destinations" */
  --c-divider: #e2e2e2;
  --c-tool-card: rgba(13, 22, 32, 0.84);
  --c-glass: rgba(14, 20, 27, 0.62);
  --c-glass-tab: rgba(255, 255, 255, 0.06);
  --c-white: #fff;

  /* Type */
  --f-sans: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --f-serif: "Newsreader", "Georgia", "Times New Roman", serif;
  --f-logo: "Montserrat", "Arial Black", sans-serif;

  /* Radii */
  --r-sm: 10px;
  --r-md: 12px;     /* destination cards (est.) */
  --r-lg: 14px;     /* tool cards (est.) */
  --r-xl: 22px;     /* search panel (est.) */
  --r-pill: 999px;

  /* Shadows */
  --sh-card: 0 6px 18px rgba(10, 20, 30, 0.12);
  --sh-pop: 0 18px 50px rgba(5, 10, 20, 0.35);

  /* Layout */
  --header-h: 67px;
  --gutter: 16px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  font-family: var(--f-sans);
  color: var(--c-ink);
  background: var(--c-surface-2);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
sup { line-height: 0; }

.ic { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--c-white); color: var(--c-ink); padding: 10px 16px; border-radius: var(--r-sm);
  font-weight: 500; transition: top .2s;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--brand-royal); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 42px; padding: 0 23px; border-radius: var(--r-pill);
  font-size: 14.5px; font-weight: 600; letter-spacing: -0.015em; white-space: nowrap;
  transition: transform .2s var(--ease), background-color .2s, box-shadow .2s, color .2s, border-color .2s;
}
.btn .ic { font-size: 18px; stroke-width: 2; transition: transform .2s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-white { background: var(--c-white); color: var(--c-ink); }
.btn-white:hover { background: #f1f1f1; box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.btn-outline { color: var(--c-white); border: 1.5px solid rgba(255,255,255,.9); background: rgba(10,15,22,.25); padding: 0 21px 0 20px; }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-gold { background: var(--c-gold-cta); color: var(--c-ink); font-weight: 600; }
.btn-gold:hover { background: #f5b545; }
.btn-sm { height: 38px; padding: 0 15px 0 17px; font-size: 13px; gap: 8px; }
.btn-sm .ic { font-size: 16px; }
.btn-navy { background: var(--brand-navy); color: var(--c-white); }
.btn-navy:hover { background: #0d3a8a; }
.btn-block { width: 100%; }

.icon-btn {
  display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  color: var(--c-white); background: var(--c-header-btn); transition: background-color .2s;
}
.icon-btn:hover { background: #28323d; }
.icon-btn .ic { font-size: 19px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--header-h);
  background: linear-gradient(180deg, #050f18 0%, var(--c-header) 100%);
  color: var(--c-white);
}
.header-inner {
  height: 100%; display: flex; align-items: center;
  padding: 0 14px 4px 40px;
}
.logo { display: flex; align-items: center; gap: 7px; flex: none; }
.logo-mark { width: 49px; height: 47px; }
.logo-text { display: flex; flex-direction: column; }
.logo-word { font-family: var(--f-logo); font-weight: 800; font-size: 25px; line-height: 1; letter-spacing: 0.005em; }
.logo-word sup { font-family: var(--f-sans); font-weight: 500; font-size: 9px; vertical-align: 14px; margin-left: 1px; }
.logo-tag { margin-top: 5px; font-size: 6.9px; font-weight: 700; letter-spacing: 0.04em; white-space: nowrap; }

.main-nav { margin-left: auto; margin-right: 27px; }
.nav-list { display: flex; align-items: center; gap: 21px; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: 4px;
  height: calc(var(--header-h) - 4px); font-size: 12.6px; font-weight: 500; letter-spacing: -0.03em; white-space: nowrap;
  color: var(--c-white); transition: color .2s;
}
.nav-link:hover, .has-dropdown.open > .nav-link { color: var(--c-gold); }
.nav-link .ic-chev { font-size: 14px; stroke-width: 2.2; transition: transform .2s; }
.has-dropdown.open > .nav-link .ic-chev { transform: rotate(180deg); }
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 3px; border-radius: 2px;
  background: var(--c-gold); transform: scaleX(0); transition: transform .25s var(--ease);
}
.nav-link.is-active::after { transform: scaleX(1); }
.nav-link.is-active:hover { color: var(--c-white); }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% - 8px); left: -14px; min-width: 220px; padding: 8px;
  background: var(--c-white); color: var(--c-ink); border-radius: var(--r-md); box-shadow: var(--sh-pop);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s, transform .18s var(--ease), visibility 0s .18s;
}
.has-dropdown.open > .dropdown { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.dropdown a, .dropdown button {
  display: block; width: 100%; text-align: left; padding: 9px 12px; border-radius: 8px; font-size: 14px; font-weight: 500;
}
.dropdown a:hover, .dropdown button:hover, .dropdown a:focus-visible, .dropdown button:focus-visible { background: var(--brand-sky); color: var(--brand-navy); }
.dd-sep { border-top: 1px solid #ececec; margin-top: 6px; padding-top: 6px; }

.header-actions { display: flex; align-items: center; gap: 16px; flex: none; }
.menu-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; z-index: 2;
  height: 523px;
  color: var(--c-white);
  background: #0b1520;
}
.hero-bg, .hero-bg video { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg { z-index: -1; overflow: hidden; }
.hero-bg video { object-fit: cover; object-position: 50% 42%; background: #0b1520; }
/* Keeps the copy legible over the moving footage (the video has no dark left side of its own) */
.hero::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(6,12,20,.82) 0%, rgba(6,12,20,.66) 32%, rgba(6,12,20,.22) 52%, rgba(6,12,20,0) 66%),
              linear-gradient(0deg, rgba(6,12,20,.45) 0%, rgba(6,12,20,0) 30%); }

.hero-content { position: relative; z-index: 1; padding: 47px 0 0 78px; }
.hero-title { max-width: 560px; }
.eyebrow {
  font-size: 12.2px; font-weight: 400; letter-spacing: 0.43em; text-transform: uppercase;
  color: rgba(255,255,255,.92); margin-left: 1px;
}
.hero-title {
  margin-top: 22px;
  font-family: var(--f-serif); font-weight: 500; font-optical-sizing: auto;
  font-size: 59.5px; line-height: 0.955; letter-spacing: -0.012em;
  text-shadow: 0 2px 16px rgba(0,0,0,.25);
}
.hero-title span, .hero-title em { display: block; }
.hero-title .l2 { margin-left: 4px; }
.hero-title em { color: var(--c-gold); font-style: italic; margin-left: 5px; padding-top: 4px; letter-spacing: -0.005em; }
.hero-lead { margin-top: 16px; margin-left: 3px; max-width: 418px; font-size: 16.5px; line-height: 24px; font-weight: 400; color: rgba(255,255,255,.95); }
.hero-ctas { display: flex; gap: 17px; margin-top: 26px; }
.hero-ctas .btn-white { width: 201px; padding: 0; }
.hero-ctas .btn-outline { width: 182px; }
.play-dot { display: grid; place-items: center; width: 23px; height: 23px; border-radius: 50%; background: var(--c-white); color: var(--c-ink); }
.play-dot .ic { font-size: 20px; margin-left: 2px; }
.btn-outline:hover .ic { transform: none; }

/* Search panel */
.search-panel {
  position: absolute; right: 74px; bottom: 30px; width: min(832px, calc(100vw - 574px));
  padding: 8px 13px 9px 12px;
  border-radius: var(--r-xl);
  background: var(--c-glass);
  -webkit-backdrop-filter: blur(14px) saturate(120%); backdrop-filter: blur(14px) saturate(120%);
  box-shadow: 0 10px 40px rgba(0,0,0,.25), inset 0 0 0 1px rgba(255,255,255,.06);
  z-index: 5;
}
.search-tabs { display: flex; gap: 20px; }
.search-tab {
  display: inline-flex; align-items: center; justify-content: center; gap: 11px;
  flex: 0 0 auto; height: 42px; border-radius: 16px; font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em;
  color: var(--c-white); background: var(--c-glass-tab);
  transition: background-color .2s, color .2s, box-shadow .2s;
}
.search-tab .ic { font-size: 21px; stroke-width: 1.7; }
.search-tab[data-tab="course"] { flex: 0 1 180px; }
.search-tab[data-tab="university"] { flex: 0 1 190px; }
.search-tab[data-tab="costs"] { flex: 0 1 206px; }
.search-tab { min-width: 0; white-space: nowrap; }
.search-tab:hover { background: rgba(255,255,255,.12); }
.search-tab.is-active { background: var(--c-white); color: var(--c-ink); box-shadow: 0 0 18px rgba(255,255,255,.35); }
.search-bar {
  position: relative; display: flex; align-items: center; margin-top: 6px;
  height: 53px; padding: 0 7px 0 18px; border-radius: var(--r-pill); background: var(--c-white);
  box-shadow: 0 0 0 1px rgba(255,255,255,.4), 0 0 16px rgba(255,255,255,.25);
}
.search-ic { font-size: 20px; color: #8a8c8e; stroke-width: 1.7; }
.search-bar input {
  flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent;
  padding: 0 12px 0 13px; font-size: 14px; letter-spacing: -0.01em; color: var(--c-ink);
}
.search-bar input::placeholder { color: var(--c-muted); opacity: 1; }
.search-bar input::-webkit-search-cancel-button { cursor: pointer; }
.search-bar:focus-within { box-shadow: 0 0 0 2px var(--brand-royal), 0 0 16px rgba(255,255,255,.25); }
.search-bar .btn-gold { height: 41px; width: 138px; padding: 0; font-size: 14.5px; }

.search-results {
  position: absolute; left: 12px; right: 13px; top: calc(100% + 8px);
  max-height: 340px; overflow: auto; padding: 8px;
  background: var(--c-white); color: var(--c-ink); border-radius: 16px; box-shadow: var(--sh-pop);
}
.sr-head { padding: 6px 10px 8px; font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: var(--c-muted); }
.sr-item {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  padding: 10px; border-radius: 10px;
}
.sr-item:hover, .sr-item:focus-visible { background: var(--brand-sky); }
.sr-item .ic { font-size: 20px; color: var(--brand-navy); }
.sr-item img { width: 24px; height: 24px; }
.sr-item strong { display: block; font-size: 14.5px; font-weight: 500; }
.sr-item small { display: block; font-size: 12.5px; color: #5d6166; }
.sr-item.sr-ask { border-top: 1px solid #eee; border-radius: 0 0 10px 10px; margin-top: 4px; }

/* ---------- Destinations ---------- */
.destinations {
  display: flex; align-items: center;
  padding: 17px 30px 11px 50px;
  background: linear-gradient(180deg, #f1f0f0 0%, var(--c-surface) 60%, #f5f4f4 100%);
}
.dest-title {
  flex: 0 0 234px; position: relative;
  font-size: 23.6px; line-height: 24px; font-weight: 700; letter-spacing: -0.025em; color: var(--c-ink);
  padding-bottom: 27px; margin-top: 2px;
}
.dest-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 37px; height: 4px; border-radius: 2px; background: var(--c-amber); }
.dest-list { flex: 1; display: grid; grid-template-columns: repeat(5, minmax(0, 201fr)) minmax(0, 168fr); gap: 9.5px; }
.dest-card {
  position: relative; display: block; width: 100%; height: 112px; overflow: hidden;
  border-radius: var(--r-md); background: #24364d; color: var(--c-white); box-shadow: var(--sh-card);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.dest-card > img:first-child { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.dest-card::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(180deg, transparent, rgba(5,10,20,.35)); pointer-events: none; }
.dest-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(10,20,30,.22); }
.dest-card:hover > img:first-child { transform: scale(1.05); }
.dest-label {
  position: absolute; left: 13px; bottom: 9px; z-index: 1;
  display: flex; align-items: center; gap: 8px;
  font-size: 19.5px; font-weight: 500; letter-spacing: -0.01em; text-shadow: 0 1px 8px rgba(0,0,0,.45);
}
.dest-label .flag { width: 30px; height: 30px; filter: drop-shadow(0 1px 3px rgba(0,0,0,.35)); }
.dest-all {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--c-card-muted); color: var(--c-ink); box-shadow: none;
  font-size: 14.2px; line-height: 16.5px; font-weight: 600; padding-top: 4px;
}
.dest-all::after { display: none; }
.dest-all .ic { font-size: 27px; stroke-width: 1.5; margin-top: 12px; transition: transform .2s var(--ease); }
.dest-all:hover { background: #dedcdc; }
.dest-all:hover .ic { transform: translateX(4px); }

/* ---------- Value props ---------- */
.features { background: var(--c-surface-2); padding: 22px 48px 28px; }
.feature-list { display: grid; grid-template-columns: 289px 289px 289px 308px 1fr; }
.feature {
  display: flex; align-items: center; gap: 19px; padding: 0 0 0 28px;
  min-height: 42px; border-left: 1px solid var(--c-divider);
}
.feature:first-child { border-left: 0; padding-left: 26px; }
.feature:nth-child(2) { padding-left: 47px; }
.feature:nth-child(3) { padding-left: 44px; }
.feature:nth-child(4) { padding-left: 48px; }
.feature:nth-child(5) { padding-left: 35px; }
.feature > .ic { font-size: 35px; stroke-width: 1.6; color: var(--c-ink); }
.feature h3 { font-size: 15.5px; line-height: 19px; letter-spacing: -0.015em; color: var(--c-ink); font-weight: 600; }
.feature p { margin-top: 2px; font-size: 12.6px; line-height: 16px; color: var(--c-ink-2); letter-spacing: -0.005em; }

/* ---------- Tools ---------- */
.tools {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center;
  padding: 42px 28px 47px 252px; min-height: 202px;
  background: #1b2633; color: var(--c-white);
}
.tools-bg, .tools-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.tools-bg { z-index: -1; }
.tools-bg img { object-fit: cover; object-position: 0% 40%; }
.tools-title {
  position: relative; z-index: 1;
  flex: 0 0 242px;
  font-size: 29px; line-height: 30.5px; font-weight: 600; letter-spacing: -0.02em;
  text-shadow: 0 2px 14px rgba(0,0,0,.35);
}
.tools-title span { color: var(--c-gold); }
.tool-list { position: relative; z-index: 1; flex: 1; display: grid; grid-template-columns: 135fr 141fr 141fr 142fr 138fr 140fr 116fr; gap: 10px; }
.tool-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 100%; height: 111px; padding: 6px 4px 0; border-radius: var(--r-lg);
  background: var(--c-tool-card); border: 1px solid rgba(255,255,255,.12);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-size: 14.3px; line-height: 18px; font-weight: 500; text-align: center; letter-spacing: -0.01em;
  transition: transform .25s var(--ease), border-color .25s, background-color .25s;
}
.tool-card > .ic { font-size: 32px; stroke-width: 1.5; margin-bottom: 9px; }
.tool-card:hover { transform: translateY(-3px); border-color: rgba(240,189,79,.7); background: rgba(16,27,40,.92); }
.tool-all { border: 2px solid var(--c-gold); padding-top: 10px; font-size: 14.3px; }
.tool-all .ic { order: 2; font-size: 26px; stroke-width: 1.5; margin: 12px 0 0; }
.tool-all:hover .ic { transform: translateX(4px); }
.tool-all .ic { transition: transform .2s var(--ease); }

/* ---------- Modal ---------- */
.modal {
  width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 32px);
  padding: 0; border: 0; border-radius: 20px; background: var(--c-white); color: var(--c-ink);
  box-shadow: var(--sh-pop); overflow: auto;
}
.modal.modal-wide { width: min(760px, calc(100vw - 32px)); }
.modal::backdrop { background: rgba(5, 10, 18, .6); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.modal[open] { animation: modal-in .25s var(--ease); }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.modal-head {
  position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 20px 14px 24px; background: var(--c-white); border-bottom: 1px solid #eef0f2;
}
.modal-head h2 { font-family: var(--f-serif); font-weight: 500; font-size: 26px; line-height: 1.1; color: var(--brand-navy); }
.modal-close { background: #f1f3f5; color: var(--c-ink); }
.modal-close:hover { background: #e4e7ea; }
.modal-body { padding: 18px 24px 24px; }
.modal-intro { font-size: 14.5px; line-height: 1.5; color: #4a4f55; margin-bottom: 16px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 500; color: #33383d; }
.field label .opt { font-weight: 400; color: #7a7f85; }
.field input, .field select, .field textarea {
  width: 100%; height: 44px; padding: 0 12px; border: 1px solid #d5d9de; border-radius: 10px; background: #fff;
  font-size: 15px; transition: border-color .15s, box-shadow .15s;
}
.field textarea { height: auto; min-height: 92px; padding: 10px 12px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--brand-royal); box-shadow: 0 0 0 3px rgba(10,130,255,.18); }
.field .err { min-height: 0; font-size: 12.5px; color: #c62828; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #c62828; }
.input-affix { position: relative; }
.input-affix span { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 13px; color: #7a7f85; pointer-events: none; }
.input-affix input { padding-right: 52px; }
.form-actions { margin-top: 18px; }
.form-note { margin-top: 10px; font-size: 12.5px; color: #6b7076; text-align: center; }

.result {
  margin-top: 18px; padding: 16px 18px; border-radius: 14px;
  background: var(--brand-sky); color: var(--brand-navy);
}
.result-main { font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; }
.result-main strong { display: block; margin-top: 4px; font-size: 30px; letter-spacing: -0.01em; text-transform: none; font-weight: 700; }
.result-rows { margin-top: 10px; display: grid; gap: 6px; font-size: 14px; }
.result-rows div { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(10,45,107,.12); padding-top: 6px; }
.result-rows dd, .result-rows dt { margin: 0; }
.result-rows dd { font-weight: 700; text-align: right; }
.result.is-warn { background: #fff4e0; color: #7a4a00; }
.result.is-good { background: #e5f7ef; color: #0b5e3b; }
.calc-note { margin-top: 12px; font-size: 12.5px; line-height: 1.45; color: #6b7076; }

.list-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.list-card {
  display: flex; align-items: center; gap: 12px; padding: 14px; text-align: left;
  border: 1px solid #e5e8ec; border-radius: 14px; background: #fff; transition: border-color .2s, background-color .2s, transform .2s;
}
.list-card:hover { border-color: var(--brand-royal); background: #f6faff; transform: translateY(-1px); }
.list-card .ic { font-size: 28px; color: var(--brand-navy); stroke-width: 1.6; }
.list-card img { width: 34px; height: 34px; }
.list-card strong { display: block; font-size: 15px; font-weight: 500; }
.list-card small { display: block; font-size: 12.5px; color: #5d6166; margin-top: 2px; }

.story-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #0b1520; }
.story-frame img, .story-frame video, .story-frame iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }
.story-overlay { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 20px; color: #fff; background: rgba(5,10,18,.55); }
.story-overlay p { font-size: 16px; line-height: 1.5; max-width: 340px; }

.success { text-align: center; padding: 10px 0 4px; }
.success-ic { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%; background: #e5f7ef; color: #0b8a55; }
.success-ic .ic { font-size: 30px; stroke-width: 2.4; }
.success h3 { font-size: 20px; font-weight: 700; }
.success p { margin-top: 8px; font-size: 14.5px; line-height: 1.5; color: #4a4f55; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 200; transform: translate(-50%, 20px);
  padding: 12px 18px; border-radius: 12px; background: var(--c-header); color: #fff; font-size: 14px;
  box-shadow: var(--sh-pop); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s var(--ease);
  max-width: calc(100vw - 32px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

body.modal-open { overflow: hidden; }

/* =========================================================================
   Responsive. The reference is a 1536px desktop; smaller layouts are a
   consistent interpretation, not a reproduction of a supplied mobile design.
   ========================================================================= */

/* Large desktop: keep composition, centre the content band */
@media (min-width: 1700px) {
  .hero-content { padding-left: calc(78px + (100vw - 1536px) / 4); }
  .search-panel { right: calc(74px + (100vw - 1536px) / 4); }
  .hero { height: 560px; }
  .hero-bg video { object-position: 50% 40%; }
}

/* Laptop: tighten nav */
@media (max-width: 1500px) {
  .nav-list { gap: 17px; }
  .main-nav { margin-right: 18px; }
  .header-inner { padding-left: 28px; }
}
@media (max-width: 1440px) {
  .nav-link { font-size: 12.5px; }
  .nav-list { gap: 13px; }
  .tools { padding-left: 120px; }
  .destinations { padding-left: 36px; }
  .dest-title { flex-basis: 210px; }
  .features { padding-left: 24px; padding-right: 24px; }
  .feature-list { grid-template-columns: repeat(5, 1fr); }
  .feature, .feature:nth-child(n) { padding-left: 22px; gap: 14px; }
  .feature:first-child { padding-left: 8px; }
}

/* Collapse nav to drawer */
@media (max-width: 1180px) {
  .menu-toggle { display: inline-grid; }
  .main-nav {
    position: fixed; top: var(--header-h); right: 0; bottom: 0; width: min(360px, 100vw);
    margin: 0; padding: 12px 16px 32px; overflow-y: auto;
    background: var(--c-header); border-top: 1px solid rgba(255,255,255,.08);
    transform: translateX(100%); visibility: hidden;
    transition: transform .3s var(--ease), visibility 0s .3s;
    box-shadow: -20px 0 40px rgba(0,0,0,.3);
  }
  .main-nav.open { transform: none; visibility: visible; transition-delay: 0s; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-link { width: 100%; height: 52px; justify-content: space-between; font-size: 15.5px; }
  .nav-link::after { bottom: 10px; right: auto; width: 32px; }
  .dropdown {
    position: static; min-width: 0; padding: 0 0 10px 8px; background: transparent; color: #fff; box-shadow: none;
    opacity: 1; visibility: visible; transform: none; display: none;
  }
  .has-dropdown.open > .dropdown { display: block; }
  .dropdown a, .dropdown button { color: rgba(255,255,255,.85); font-size: 14.5px; }
  .dropdown a:hover, .dropdown button:hover, .dropdown a:focus-visible, .dropdown button:focus-visible { background: rgba(255,255,255,.08); color: #fff; }
  .dd-sep { border-color: rgba(255,255,255,.1); }
  .header-actions { margin-left: auto; gap: 10px; }
}

/* Tools strip: stacked on smaller laptops */
@media (max-width: 1340px) {
  .tools { flex-direction: column; align-items: stretch; padding: 36px 32px 40px; }
  .tools::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(10,18,28,.1), rgba(10,18,28,.5)); }
  .tools-title { flex: none; margin-bottom: 22px; text-align: center; }
  .tools-title br:first-child { display: none; }
}

/* Tablet landscape: stack search under hero copy */
@media (max-width: 1240px) {
  .hero { height: auto; padding-bottom: 28px; }
  .hero-bg video { object-position: 50% 45%; }
  .hero::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(8,14,22,.88) 0%, rgba(8,14,22,.62) 45%, rgba(8,14,22,.1) 75%, rgba(8,14,22,0) 100%); }
  .search-panel { position: relative; right: auto; bottom: auto; width: auto; margin: 36px 32px 0; }
  .hero-content { padding-left: 40px; }

  .destinations { flex-direction: column; align-items: stretch; padding: 28px 0 24px; }
  .dest-title { flex: none; margin: 0 32px 18px; padding-bottom: 14px; }
  .dest-title br { display: none; }
  .dest-list {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 32px;
    padding: 4px 32px 14px; scrollbar-width: thin;
  }
  .dest-list > li { flex: 0 0 210px; scroll-snap-align: start; }
  .dest-list > li:last-child { flex-basis: 170px; }

  .features { padding: 24px 32px; }
  .feature-list { grid-template-columns: repeat(3, 1fr); row-gap: 22px; }
  .feature, .feature:nth-child(n) { padding-left: 20px; }
  .feature:nth-child(4) { border-left: 0; padding-left: 8px; }
  .feature:first-child { padding-left: 8px; }

  .tool-list { grid-template-columns: repeat(4, 1fr); }
}

/* Tablet portrait / large phone */
@media (max-width: 760px) {
  :root { --header-h: 60px; }
  .header-inner { padding: 0 var(--gutter); }
  .logo-mark { width: 40px; height: 38px; }
  .logo-word { font-size: 21px; }
  .logo-word sup { font-size: 8px; vertical-align: 11px; }
  .logo-tag { font-size: 5.3px; margin-top: 3px; }
  .header-cta { display: none; }

  .hero-content { padding: 36px var(--gutter) 0; }
  .eyebrow { font-size: 11px; letter-spacing: .3em; }
  .hero-title { font-size: clamp(38px, 10.5vw, 56px); margin-top: 12px; }
  .hero-title .l2, .hero-title em { margin-left: 0; }
  .hero-lead { font-size: 16px; margin-left: 0; }
  .br-lg { display: none; }
  .hero-ctas { flex-wrap: wrap; gap: 12px; }
  .hero-ctas .btn { flex: 1 1 180px; width: auto; }
  .hero-bg video { object-position: 38% 50%; }
  .hero::before { background: linear-gradient(180deg, rgba(8,14,22,.7) 0%, rgba(8,14,22,.66) 55%, rgba(8,14,22,.85) 100%); }

  .search-panel { margin: 28px var(--gutter) 0; padding: 8px; border-radius: 18px; }
  .search-tabs { padding-right: 0; gap: 6px; }
  .search-tab, .search-tab[data-tab] { flex: 1 1 0; width: auto; flex-direction: column; gap: 4px; height: 58px; font-size: 12.5px; border-radius: 12px; }
  .search-tab .ic { font-size: 19px; }
  .search-bar { height: auto; flex-wrap: wrap; padding: 6px; border-radius: 16px; margin-top: 8px; }
  .search-ic { margin-left: 8px; }
  .search-bar input { height: 44px; flex-basis: calc(100% - 40px); padding-left: 10px; font-size: 16px; }
  .search-bar .btn-gold { width: 100%; }
  .search-results { left: 8px; right: 8px; }

  .dest-title { margin: 0 var(--gutter) 16px; }
  .dest-list { padding: 4px var(--gutter) 14px; scroll-padding: 0 var(--gutter); }
  .dest-list > li { flex-basis: 72vw; max-width: 260px; }
  .dest-list > li:last-child { flex-basis: 44vw; max-width: 180px; }
  .dest-card { height: 128px; }

  .features { padding: 22px var(--gutter); }
  .feature-list { grid-template-columns: 1fr 1fr; }
  .feature, .feature:nth-child(n) { border-left: 0; padding-left: 0; gap: 12px; align-items: flex-start; }
  .feature > .ic { font-size: 32px; }
  .feature h3 { font-size: 14.5px; }

  .tools { padding: 32px var(--gutter) 36px; }
  .tools::before { background: rgba(10,18,28,.5); }
  .tools-title { text-align: left; }
  .tool-list { grid-template-columns: repeat(2, 1fr); }
  .tool-list > li:last-child { grid-column: 1 / -1; }
  .tool-card.tool-all { height: 60px; flex-direction: row; gap: 10px; padding: 0; }
  .tool-all br { display: none; }
  .tool-all .ic { margin: 0; font-size: 22px; }
  .tool-card { height: 112px; }

  .form-grid { grid-template-columns: 1fr; }
  .list-grid { grid-template-columns: 1fr; }
  .modal-body { padding: 16px 18px 20px; }
  .modal-head { padding: 16px 16px 12px 18px; }
}

/* Small phone */
@media (max-width: 400px) {
  .logo-tag { display: none; }
  .feature-list { grid-template-columns: 1fr; }
  .search-tab { font-size: 11.5px; }
  .tool-card { font-size: 13.5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* Hide number spinners so unit labels stay readable */
.input-affix input[type=number] { -moz-appearance: textfield; appearance: textfield; }
.input-affix input::-webkit-outer-spin-button, .input-affix input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* =========================================================================
   Additions: checklist, video control, content sections, footer, WhatsApp.
   Below the reference fold the page shifts to the brand-sheet palette
   (Deep Navy / Royal Blue / Sky Blue / Golden Amber).
   ========================================================================= */
:root {
  --f-hand: "Caveat", "Segoe Print", "Bradley Hand", cursive;
  --c-navy-ink: #0a2d6b;
  --c-text-2: #4a5160;
  --c-line: #e3e8ef;
  --c-wa: #1fa855;
}

/* ---------- Handwritten checklist over the film ---------- */
.checklist {
  position: absolute; z-index: 1; top: 34px; right: 58px;
  font-family: var(--f-hand); font-weight: 600; font-size: 31px; line-height: 1; color: #fff;
  transform: rotate(-8deg); transform-origin: top right; pointer-events: none;
  text-shadow: 0 1px 2px rgba(0,0,0,.55), 0 2px 14px rgba(0,0,0,.45);
}
.checklist ul { display: grid; gap: 9px; }
.checklist li { display: flex; align-items: center; gap: 12px; animation: ink-in .7s var(--ease) both; animation-delay: calc(.6s + var(--i, 0) * .45s); }
.checklist li:nth-child(1) { --i: 0; } .checklist li:nth-child(2) { --i: 1; margin-left: 4px; } .checklist li:nth-child(3) { --i: 2; margin-left: 6px; }
.checklist li:nth-child(4) { --i: 3; margin-left: 9px; } .checklist li:nth-child(5) { --i: 4; margin-left: 12px; } .checklist li:nth-child(6) { --i: 5; margin-left: 15px; }
.checklist .box { width: 30px; height: 30px; flex: none; overflow: visible; filter: drop-shadow(0 1px 3px rgba(0,0,0,.5)); }
.checklist .sq, .checklist .tick { fill: none; stroke: #fff; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.checklist .tick { stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .45s ease-out forwards; animation-delay: calc(1s + var(--i, 0) * .45s); }
.checklist .mark { font-weight: 600; margin-left: 2px; }
.checklist .reality { color: #ffd27a; position: relative; }
.checklist .reality::after { content: ""; position: absolute; left: 0; right: -4px; bottom: -6px; height: 3px; border-radius: 3px; background: currentColor; transform: rotate(-3deg); }
@keyframes ink-in { from { clip-path: inset(0 100% 0 0); opacity: .2; } to { clip-path: inset(0 -10% 0 0); opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Background video control ---------- */
.video-toggle {
  position: absolute; z-index: 6; left: 78px; bottom: 18px;
  display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px 0 10px; border-radius: var(--r-pill);
  font-size: 12.5px; font-weight: 500; color: #fff;
  background: rgba(8,14,22,.55); border: 1px solid rgba(255,255,255,.28);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background-color .2s, border-color .2s;
}
.video-toggle:hover { background: rgba(8,14,22,.8); border-color: rgba(255,255,255,.5); }
.video-toggle .ic { font-size: 16px; }

/* ---------- Shared section frame ---------- */
.section-inner { max-width: 1440px; margin: 0 auto; padding: 72px 50px; }
.section-head { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 36px; }
.section-title {
  position: relative; padding-bottom: 18px;
  font-size: clamp(26px, 2.3vw, 34px); line-height: 1.15; font-weight: 700; letter-spacing: -0.025em; color: var(--c-ink);
  text-wrap: balance;
}
.section-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 37px; height: 4px; border-radius: 2px; background: var(--c-amber); }
.section-lead { max-width: 60ch; font-size: 16.5px; line-height: 1.55; color: var(--c-text-2); }
.section-cta { margin-top: 36px; }
.link-btn { color: var(--brand-royal); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--c-navy-ink); }

/* ---------- Trust numbers ---------- */
.stats { background: var(--brand-navy); color: #fff; }
.stats-list {
  max-width: 1440px; margin: 0 auto; padding: 34px 50px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px;
}
.stat { display: flex; flex-direction: column; gap: 4px; padding-left: 18px; border-left: 2px solid rgba(255,193,7,.7); }
.stat strong { font-family: var(--f-serif); font-weight: 500; font-size: 40px; line-height: 1; color: var(--brand-amber); font-variant-numeric: tabular-nums; }
.stat span { font-size: 14.5px; color: rgba(255,255,255,.85); }

/* ---------- How it works ---------- */
.process { background: #fff; }
.steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.step { position: relative; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.step::before {
  content: ""; position: absolute; top: 26px; left: 64px; right: -16px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--brand-royal) 0 6px, transparent 6px 12px); opacity: .35;
}
.step:last-child::before { display: none; }
.step-ic { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--brand-sky); color: var(--c-navy-ink); margin-bottom: 8px; }
.step-ic .ic { font-size: 26px; stroke-width: 1.7; }
.step-no { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-royal); }
.step h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.015em; color: var(--c-ink); }
.step p { font-size: 14.5px; line-height: 1.5; color: var(--c-text-2); }

/* ---------- Cost guide ---------- */
.costs { background: var(--c-surface); }
.table-wrap { overflow-x: auto; border-radius: 16px; border: 1px solid var(--c-line); background: #fff; }
.cost-table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 15px; }
.cost-table th { text-align: left; font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--c-text-2); background: #f6f8fb; }
.cost-table th, .cost-table td { padding: 14px 20px; border-bottom: 1px solid var(--c-line); vertical-align: middle; }
.cost-table tr:last-child td { border-bottom: 0; }
.cost-table td { font-variant-numeric: tabular-nums; }
.cost-dest { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.cost-dest img { width: 26px; height: 26px; }
.cost-table .link-btn { white-space: nowrap; }

/* ---------- Stories ---------- */
.stories { background: var(--brand-sky); }
.story-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.story { display: flex; flex-direction: column; gap: 16px; padding: 26px; border-radius: 18px; background: #fff; box-shadow: 0 10px 30px rgba(10,45,107,.08); }
.story > .ic { font-size: 30px; color: var(--brand-royal); }
.story blockquote { margin: 0; font-family: var(--f-serif); font-size: 19px; line-height: 1.45; color: var(--c-ink); }
.story figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.story figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.story figcaption strong { display: block; font-size: 15px; }
.story figcaption span { display: block; font-size: 13.5px; color: var(--c-text-2); }

/* ---------- FAQ ---------- */
.faq { background: #fff; }
.faq-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 56px; align-items: start; }
.faq .section-head { position: sticky; top: calc(var(--header-h) + 24px); margin-bottom: 0; }
.faq-list { border-top: 1px solid var(--c-line); }
.faq-item { border-bottom: 1px solid var(--c-line); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 4px; cursor: pointer; list-style: none;
  font-size: 17.5px; font-weight: 600; letter-spacing: -0.01em; color: var(--c-ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--brand-sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a2d6b' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .25s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--c-navy-ink); }
.faq-item p { padding: 0 48px 22px 4px; font-size: 15.5px; line-height: 1.6; color: var(--c-text-2); max-width: 68ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-sky); color: var(--c-navy-ink); }
.footer-inner {
  max-width: 1440px; margin: 0 auto; padding: 56px 50px 40px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px;
}
.footer-emblem { width: 150px; height: auto; }
.footer-word { margin-top: 10px; font-family: var(--f-logo); font-weight: 800; font-size: 26px; letter-spacing: .01em; color: var(--c-navy-ink); }
.footer-slogan { margin-top: 4px; font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #1d4c9a; }
.footer-col h2 { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col ul { display: grid; gap: 10px; margin-bottom: 18px; }
.footer-col a, .footer-col button { font-size: 15px; color: #23406f; text-align: left; transition: color .2s; }
.footer-col a:hover, .footer-col button:hover { color: var(--brand-royal); }
.contact-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: #23406f; }
.contact-list .ic { font-size: 18px; margin-top: 2px; color: var(--brand-royal); }
.contact-list address { font-style: normal; }
.contact-list:empty { display: none; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--c-navy-ink); transition: background-color .2s, color .2s; }
.social a:hover { background: var(--c-navy-ink); color: #fff; }
.social .ic { font-size: 19px; }
.footer-bottom {
  max-width: 1440px; margin: 0 auto; padding: 18px 50px 26px; border-top: 1px solid rgba(10,45,107,.14);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13.5px; color: #3b5784;
}
.footer-bottom a:hover { color: var(--brand-royal); text-decoration: underline; }

/* ---------- WhatsApp shortcut ---------- */
.wa-fab {
  position: fixed; z-index: 40;
  right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 9px; height: 52px; padding: 0 20px 0 16px; border-radius: var(--r-pill);
  background: var(--c-wa); color: #fff; font-size: 15px; font-weight: 600;
  box-shadow: 0 10px 28px rgba(15,80,40,.35); transition: transform .2s var(--ease), background-color .2s;
}
.wa-fab:hover { transform: translateY(-2px); background: #188f47; }
.wa-fab .ic { font-size: 26px; stroke-width: 1.6; }

/* ---------- Responsive for additions ---------- */
@media (max-width: 1440px) {
  .checklist { right: 34px; font-size: 28px; }
}
@media (max-width: 1240px) {
  .checklist { display: none; }
  .video-toggle { left: auto; right: 32px; bottom: auto; top: 16px; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .step:nth-child(3)::before { display: none; }
  .section-inner { padding: 56px 32px; }
  .stats-list { padding: 30px 32px; }
  .faq-inner { grid-template-columns: 1fr; gap: 28px; }
  .faq .section-head { position: static; }
  .footer-inner { grid-template-columns: 1fr 1fr; padding: 44px 32px 32px; }
  .footer-bottom { padding: 18px 32px 26px; }
}
@media (max-width: 760px) {
  .video-toggle { right: var(--gutter); top: 12px; padding: 0 9px; }
  .video-toggle .vt-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .section-inner { padding: 44px var(--gutter); }
  .section-head { margin-bottom: 26px; }
  .steps { grid-template-columns: 1fr; row-gap: 0; }
  .step { display: grid; grid-template-columns: 54px 1fr; column-gap: 16px; row-gap: 2px; padding-bottom: 26px; }
  .step::before, .step:nth-child(3)::before { display: block; top: 58px; bottom: 4px; left: 26px; right: auto; width: 2px; height: auto;
    background: repeating-linear-gradient(180deg, var(--brand-royal) 0 6px, transparent 6px 12px); }
  .step:last-child::before { display: none; }
  .step-ic { grid-row: 1 / span 3; margin: 0; }
  .stats-list { padding: 26px var(--gutter); grid-template-columns: 1fr 1fr; }
  .stat strong { font-size: 32px; }
  .faq-item summary { font-size: 16px; }
  .faq-item p { padding-right: 4px; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; padding: 40px var(--gutter) 28px; }
  .footer-bottom { padding: 16px var(--gutter) calc(84px + env(safe-area-inset-bottom, 0px)); }
  .wa-fab { right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: 56px; height: 56px; padding: 0; justify-content: center; }
  .wa-fab span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  .checklist li { animation: none; }
  .checklist .tick { animation: none; stroke-dashoffset: 0; }
}

/* Fixes: honour the hidden attribute over component display rules; readable footer CTA */
[hidden] { display: none !important; }
.footer-col .btn-navy { color: #fff; }
.footer-col .btn-navy:hover { color: #fff; }
.checklist .reality { color: #fff; }
.checklist .reality::after { background: var(--c-gold); }
.checklist .mark { color: #fff; }
.table-wrap { position: relative; }
.story-list > li { display: flex; }
.story { margin: 0; width: 100%; }
.cost-table tbody th { font-size: 15px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--c-ink); background: #fff; }

/* ---------- Moving picture behind the tools strip ----------
   Slow camera drift over the mountain photo plus two layers of mist that roll
   across at different speeds. Pauses off screen, with the pause control and
   for reduced motion. */
.tools-bg { overflow: hidden; }
.tools-bg img {
  transform-origin: 18% 62%;
  animation: tools-drift 26s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes tools-drift {
  0%   { transform: scale(1.03) translate3d(0, 0, 0); }
  100% { transform: scale(1.12) translate3d(-2.2%, -1.6%, 0); }
}
.tools-bg .mist {
  position: absolute; inset: -20% -60%; z-index: 1; pointer-events: none; mix-blend-mode: screen;
}
.tools-bg .mist-a {
  background-image:
    radial-gradient(38% 30% at 20% 72%, rgba(205,218,236,.24), transparent 70%),
    radial-gradient(30% 24% at 62% 64%, rgba(205,218,236,.18), transparent 70%),
    radial-gradient(26% 20% at 88% 78%, rgba(205,218,236,.15), transparent 70%);
  animation: mist-roll 38s ease-in-out infinite alternate;
}
.tools-bg .mist-b {
  background-image:
    radial-gradient(34% 26% at 35% 58%, rgba(240,200,160,.13), transparent 70%),
    radial-gradient(28% 22% at 78% 52%, rgba(205,218,236,.13), transparent 70%);
  animation: mist-roll 54s ease-in-out infinite alternate-reverse;
}
@keyframes mist-roll {
  from { transform: translate3d(-14%, 0, 0); }
  to   { transform: translate3d(14%, 2%, 0); }
}
.tools.is-offscreen .tools-bg img, .tools.is-offscreen .tools-bg .mist,
.motion-paused .tools-bg img, .motion-paused .tools-bg .mist { animation-play-state: paused; }
.tools-toggle { left: auto; right: 28px; top: 6px; bottom: auto; }
@media (max-width: 1240px) { .tools-toggle { right: 32px; top: 14px; bottom: auto; } }
@media (max-width: 760px)  { .tools-toggle { right: var(--gutter); top: 12px; } }
@media (prefers-reduced-motion: reduce) {
  .tools-bg img, .tools-bg .mist { animation: none !important; transform: none; }
}

/* =========================================================================
   Country pages (study-in-*.html) — from the "Study Destinations: Country
   Pages" reference. One template for every country.
   ========================================================================= */
.country-page { background: #eef3f9; }
.c-hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 540px; background: #0c1d3a; color: var(--c-white);
}
.c-hero-bg, .c-hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.c-hero-bg img { object-fit: cover; object-position: 70% 40%; }
.c-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8,20,44,.92) 0%, rgba(8,20,44,.78) 30%, rgba(8,20,44,.25) 58%, rgba(8,20,44,0) 75%),
    linear-gradient(0deg, rgba(8,20,44,.55) 0%, rgba(8,20,44,0) 30%);
}
.c-hero-inner { position: relative; z-index: 2; max-width: 1440px; margin: 0 auto; padding: 26px 50px 120px; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 14px; color: rgba(255,255,255,.92); }
.crumbs li { display: flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: "›"; font-size: 17px; line-height: 1; opacity: .8; }
.crumbs a { color: inherit; display: inline-flex; align-items: center; }
.crumbs a:hover { color: var(--c-gold); }
.crumbs .ic { font-size: 18px; }
.c-title { margin: 30px 0 0; font-weight: 400; line-height: 1; }
.c-study { display: flex; align-items: center; gap: 14px; font-family: var(--f-sans); font-size: 31px; font-weight: 500; letter-spacing: -.01em; }
.c-study .flag { width: 46px; height: 46px; filter: drop-shadow(0 2px 6px rgba(0,0,0,.35)); }
.c-name { display: block; margin-top: 10px; font-family: var(--f-serif); font-weight: 600; font-size: 88px; letter-spacing: -.02em; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.c-tagline { margin: 20px 0 0; font-size: 26px; line-height: 1.32; font-weight: 500; letter-spacing: -.01em; text-shadow: 0 1px 10px rgba(0,0,0,.45); }
.c-tagline .gold { color: #ffd23f; }
.c-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 30px; }
.c-actions .btn-gold { background: #ffc61a; }
.c-actions .btn-gold:hover { background: #ffb800; }

.c-body { position: relative; z-index: 3; max-width: 1440px; margin: -88px auto 0; padding: 0 50px 72px; }
.c-tabs {
  display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
  padding: 12px 16px; border-radius: 22px 22px 0 0;
  background: rgba(10, 26, 54, .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 -1px 0 rgba(255,255,255,.08) inset;
}
.c-tabs::-webkit-scrollbar { display: none; }
.c-tab {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 9px;
  height: 46px; padding: 0 24px; border-radius: var(--r-pill);
  color: rgba(255,255,255,.88); font-size: 15.5px; font-weight: 500; white-space: nowrap;
  transition: background .2s, color .2s;
}
.c-tab .ic { font-size: 19px; }
.c-tab:hover { background: rgba(255,255,255,.1); color: #fff; }
.c-tab.is-active { background: var(--c-white); color: var(--c-ink); font-weight: 600; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.c-tab:focus-visible { outline: 2px solid var(--c-gold); outline-offset: 2px; }
.c-card { background: var(--c-white); border-radius: 0 0 22px 22px; box-shadow: 0 18px 40px rgba(10,30,60,.1); padding: 38px 40px 40px; }
.c-panel:focus-visible { outline: 2px solid var(--brand-royal); outline-offset: 6px; border-radius: 8px; }
.c-panel h2 { margin: 0; font-size: 27px; line-height: 1.2; font-weight: 700; letter-spacing: -.02em; color: var(--c-ink); }
.c-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; align-items: start; }
.c-why-list { list-style: none; margin: 22px 0 0; padding: 0; }
.c-why-list li { display: flex; align-items: center; gap: 18px; padding: 15px 0; border-bottom: 1px solid #e8ecf2; font-size: 18px; font-weight: 500; color: #1b2230; }
.c-why-list li:last-child { border-bottom: 0; }
.c-why-list .ic { flex: none; font-size: 34px; color: #f2a516; stroke-width: 1.6; }
.c-info { background: #f4f7fb; border: 1px solid #e3e9f1; border-radius: 18px; padding: 22px 24px 18px; }
.c-facts { margin: 14px 0 0; }
.c-facts > div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; align-items: center; padding: 11px 4px; border-bottom: 1px solid #e3e9f1; }
.c-facts > div:last-child { border-bottom: 0; }
.c-facts dt { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15.5px; color: #1b2230; }
.c-facts dt .ic { font-size: 20px; color: var(--brand-navy); stroke-width: 1.8; }
.c-facts dd { margin: 0; font-size: 15.5px; color: #2b3240; }
.c-note { margin: 12px 4px 0; font-size: 13px; line-height: 1.45; color: #5d6575; }
.c-tiles { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.c-tile {
  width: 100%; height: 100%; min-height: 132px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  padding: 18px 10px; border-radius: 16px; background: var(--c-white); border: 1px solid #e3e9f1;
  box-shadow: 0 6px 16px rgba(10,30,60,.07); color: #141a26; font-size: 16px; line-height: 1.2; font-weight: 600; text-align: center;
  transition: transform .2s var(--ease), box-shadow .2s, border-color .2s;
}
.c-tile .ic { font-size: 36px; color: var(--brand-navy); stroke-width: 1.7; }
.c-tiles li:first-child .c-tile .ic { color: #1e88e5; fill: rgba(30,136,229,.18); }
.c-tile:hover { transform: translateY(-3px); border-color: #c8d8ef; box-shadow: 0 12px 26px rgba(10,30,60,.13); }
.c-lead { max-width: 64ch; margin: 14px 0 0; font-size: 16.5px; line-height: 1.55; color: #3b4352; }
.c-facts-inline { max-width: 720px; margin: 18px 0 22px; background: #f4f7fb; border: 1px solid #e3e9f1; border-radius: 14px; padding: 4px 18px; }
.c-panel > .c-note { margin-top: -12px; margin-bottom: 18px; }
.c-tools { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.c-tools .btn .ic { font-size: 19px; }
.c-tools .btn:hover .ic { transform: none; }

@media (max-width: 1240px) {
  .c-hero { min-height: 480px; }
  .c-hero-inner { padding: 20px 32px 112px; }
  .c-name { font-size: 72px; }
  .c-body { padding: 0 32px 56px; }
  .c-card { padding: 30px 28px 32px; }
  .c-grid { gap: 28px; }
}
@media (max-width: 960px) {
  .c-grid { grid-template-columns: 1fr; }
  .c-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .c-hero { min-height: 0; }
  .c-hero-bg img { object-position: 78% 40%; }
  .c-hero::before { background: linear-gradient(90deg, rgba(8,20,44,.9) 0%, rgba(8,20,44,.62) 60%, rgba(8,20,44,.35) 100%), linear-gradient(0deg, rgba(8,20,44,.6), rgba(8,20,44,0) 40%); }
  .c-hero-inner { padding: 16px var(--gutter) 104px; }
  .crumbs ol { font-size: 13px; }
  .c-title { margin-top: 22px; }
  .c-study { font-size: 22px; gap: 10px; }
  .c-study .flag { width: 34px; height: 34px; }
  .c-name { font-size: 52px; margin-top: 6px; }
  .c-tagline { font-size: 18.5px; margin-top: 14px; }
  .c-actions { gap: 10px; margin-top: 22px; }
  .c-actions .btn { width: 100%; justify-content: center; }
  .c-body { margin-top: -78px; padding: 0 var(--gutter) 40px; }
  .c-tabs { padding: 8px; border-radius: 18px 18px 0 0; }
  .c-tab { height: 40px; padding: 0 16px; font-size: 14px; }
  .c-card { padding: 24px 18px 26px; border-radius: 0 0 18px 18px; }
  .c-panel h2 { font-size: 22px; }
  .c-why-list li { font-size: 16px; gap: 14px; padding: 12px 0; }
  .c-why-list .ic { font-size: 28px; }
  .c-info { padding: 18px 14px 14px; }
  .c-facts > div { grid-template-columns: 118px 1fr; gap: 8px; padding: 10px 2px; }
  .c-facts dt, .c-facts dd { font-size: 14px; }
  .c-facts dt { gap: 8px; }
  .c-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 24px; }
  .c-tiles li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .c-tile { min-height: 108px; font-size: 14.5px; gap: 8px; }
  .c-tile .ic { font-size: 30px; }
  .c-tools .btn { width: 100%; }
}

/* =========================================================================
   Study Destinations explorer (destinations.html) — dark & gold reference
   ========================================================================= */
.dx-page {
  --dx-bg: #050b14; --dx-panel: #0c1520; --dx-panel-2: #111c29; --dx-line: rgba(255,255,255,.12);
  --dx-text: #e9edf2; --dx-muted: #a6b0bd; --dx-gold: #f4b943; --dx-gold-2: #e8a535;
  background: var(--dx-bg); color: var(--dx-text);
}
.dx-page .site-footer { color: var(--c-ink); }
.dx-hero { position: relative; overflow: hidden; background: #0a1628; }
.dx-hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.dx-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(5,11,20,.85), rgba(5,11,20,.35) 55%, rgba(5,11,20,0)); }
.dx-hero-inner { position: relative; z-index: 2; max-width: 1640px; margin: 0 auto; padding: 30px 40px 26px 62px; }
.dx-kicker { margin: 0; color: var(--dx-gold); font-family: var(--f-logo); font-weight: 700; font-size: 20px; letter-spacing: .14em; text-transform: uppercase; }
.dx-hero h1 { margin: 0; font-family: var(--f-logo); font-weight: 800; font-size: 50px; line-height: 1.05; letter-spacing: -.01em; color: #fff; }
.dx-intro { margin: 10px 0 0; max-width: 680px; font-size: 18.5px; line-height: 1.4; color: #eef1f5; }

.dx-shell {
  max-width: 1640px; margin: 0 auto; padding: 18px 22px 22px;
  border: 1px solid var(--dx-line); border-radius: 22px; background: linear-gradient(180deg, rgba(14,24,36,.96), rgba(8,14,22,.96));
  box-shadow: 0 30px 60px rgba(0,0,0,.35); margin-top: 4px;
}
.dx-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.dx-views { display: flex; gap: 8px; }
.dx-view, .dx-filters-btn {
  display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 0 20px; border-radius: var(--r-pill);
  font-size: 16.5px; font-weight: 600; color: var(--dx-text); background: #1a2330; border: 1px solid var(--dx-line); transition: background .2s;
}
.dx-view .ic, .dx-filters-btn .ic { font-size: 20px; }
.dx-view:hover:not(:disabled) { background: #232e3d; }
.dx-view.is-active, .dx-filters-btn { background: linear-gradient(180deg, #f8c766, var(--dx-gold-2)); color: #1a1205; border-color: transparent; }
.dx-view:disabled { opacity: .45; cursor: not-allowed; }
.dx-stats { display: flex; flex-wrap: wrap; gap: 10px 40px; margin: 0; padding: 0 8px 0 0; list-style: none; font-size: 18px; color: var(--dx-text); }
.dx-stats li { display: flex; align-items: center; gap: 12px; }
.dx-stats .ic { font-size: 30px; color: var(--dx-gold); stroke-width: 1.6; }
.dx-stats strong { font-weight: 700; }

.dx-filterbar { display: flex; gap: 14px; margin-top: 18px; align-items: flex-start; }
.dx-filters-btn { border-radius: 10px; height: 44px; flex: none; }
.dx-filters { display: flex; flex-wrap: wrap; gap: 12px; }
.dx-filters.is-collapsed { display: none; }
.dx-dd { position: relative; }
.dx-dd-btn {
  display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px 0 18px; border-radius: 10px;
  background: #18212d; border: 1px solid var(--dx-line); color: var(--dx-text); font-size: 16px;
}
.dx-dd-btn .ic { font-size: 16px; transition: transform .2s; }
.dx-dd.open .dx-dd-btn .ic { transform: rotate(180deg); }
.dx-dd-btn:hover, .dx-dd.open .dx-dd-btn { border-color: rgba(244,185,67,.6); }
.dx-dd-menu {
  position: absolute; z-index: 20; top: calc(100% + 6px); left: 0; min-width: 220px; max-height: 320px; overflow: auto;
  padding: 8px; border-radius: 12px; background: #141e2b; border: 1px solid var(--dx-line); box-shadow: 0 18px 40px rgba(0,0,0,.45);
  display: none;
}
.dx-dd.open .dx-dd-menu { display: block; }
.dx-opt { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; font-size: 15px; cursor: pointer; }
.dx-opt:hover { background: rgba(255,255,255,.06); }
.dx-opt input { accent-color: var(--dx-gold); width: 16px; height: 16px; }

.dx-active { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 16px; padding: 0 10px; font-size: 16px; }
.dx-active-label { color: var(--dx-text); font-weight: 500; }
.dx-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.dx-none { color: var(--dx-muted); }
.dx-chip { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px 0 13px; border-radius: 8px; background: #222c39; border: 1px solid var(--dx-line); color: var(--dx-text); font-size: 15px; }
.dx-chip .ic { font-size: 15px; }
.dx-chip:hover { border-color: var(--dx-gold); }
.dx-clear { color: var(--dx-gold); font-weight: 600; font-size: 16px; }
.dx-clear:hover { text-decoration: underline; }
.dx-count { margin: 0 0 0 auto; font-size: 17px; color: var(--dx-text); }

.dx-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, .82fr) minmax(0, .92fr) minmax(0, 1.36fr); gap: 14px; margin-top: 16px; align-items: stretch; }
.dx-stage { position: relative; min-height: 460px; border-radius: 18px; overflow: hidden; background: radial-gradient(60% 60% at 50% 50%, rgba(244,185,67,.08), transparent 70%); }
.dx-globe { position: absolute; inset: 0; cursor: grab; }
.dx-globe:active { cursor: grabbing; }
.dx-loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--dx-muted); font-size: 15px; }
.dx-hint { position: absolute; left: 0; right: 0; bottom: 8px; margin: 0; text-align: center; font-size: 13px; color: var(--dx-muted); pointer-events: none; }
.dx-controls { position: absolute; z-index: 5; left: 12px; top: 16px; display: flex; flex-direction: column; gap: 12px; }
.dx-zoom { display: flex; flex-direction: column; border-radius: 12px; overflow: hidden; border: 1px solid var(--dx-line); }
.dx-zoom .dx-ctrl { border: 0; border-radius: 0; }
.dx-zoom .dx-ctrl + .dx-ctrl { border-top: 1px solid var(--dx-line); }
.dx-ctrl { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: rgba(20,30,42,.88); border: 1px solid var(--dx-line); color: #fff; }
.dx-ctrl .ic { font-size: 21px; }
.dx-ctrl:hover { background: #253244; }
.dx-ctrl[aria-pressed="true"] { color: var(--dx-gold); }

.dx-pill {
  display: inline-flex; align-items: center; gap: 7px; transform: translate(-50%, -120%);
  padding: 4px 11px 4px 6px; border-radius: var(--r-pill); white-space: nowrap; cursor: pointer;
  background: rgba(10,16,24,.88); border: 1.5px solid rgba(244,185,67,.75); color: #fff; font: 600 14px/1.2 var(--f-sans);
  box-shadow: 0 4px 14px rgba(0,0,0,.4); transition: background .2s, border-color .2s;
}
.dx-pill .dx-flag { width: 22px; height: 16px; }
.dx-pill:hover, .dx-pill.is-active { background: rgba(244,185,67,.95); color: #1a1205; border-color: #ffe3a6; }
.dx-tip { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 9px; background: rgba(10,16,24,.94); border: 1px solid rgba(244,185,67,.5); color: #fff; font: 14px/1.2 var(--f-sans); }
.dx-tip em { color: var(--dx-muted); font-style: normal; font-size: 12.5px; }
.dx-flag { width: 28px; height: 21px; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255,255,255,.18); flex: none; }

.dx-map { position: absolute; inset: 0; overflow: auto; display: flex; align-items: center; scrollbar-width: thin; }
.dx-map[hidden] { display: none; }
.dx-map-inner { position: relative; width: 100%; flex: none; margin: auto; cursor: pointer; transition: width .25s var(--ease); }
.dx-map-inner img { width: 100%; height: auto; border-radius: 12px; filter: saturate(1.2) brightness(1.15); }
.dx-pin { position: absolute; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 6px; padding: 0; }
.dx-pin-dot { width: 12px; height: 12px; border-radius: 50%; background: #ffc44f; box-shadow: 0 0 0 3px rgba(255,196,79,.25), 0 0 12px #ffc44f; }
.dx-pin.st-progress .dx-pin-dot { background: #ff9d3a; }
.dx-pin.st-soon .dx-pin-dot { background: #8fb4ff; box-shadow: 0 0 0 3px rgba(143,180,255,.25); }
.dx-pin-label { display: none; align-items: center; gap: 6px; padding: 3px 9px 3px 5px; border-radius: var(--r-pill); background: rgba(10,16,24,.9); border: 1px solid rgba(244,185,67,.7); color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap; }
.dx-pin-label .dx-flag { width: 20px; height: 15px; }
.dx-pin.has-label .dx-pin-label, .dx-pin:hover .dx-pin-label, .dx-pin:focus-visible .dx-pin-label { display: inline-flex; }
.dx-pin.is-active .dx-pin-label { background: var(--dx-gold); color: #1a1205; }

.dx-panel { min-width: 0; border-radius: 18px; background: var(--dx-panel); border: 1px solid var(--dx-line); padding: 14px; }
.dx-continents h2 { margin: 6px 6px 12px; font-size: 19px; font-weight: 700; }
.dx-continents ul, .dx-list { list-style: none; margin: 0; padding: 0; }
.dx-cont {
  width: 100%; display: flex; align-items: center; gap: 14px; padding: 14px 12px; border-radius: 12px;
  color: var(--dx-text); font-size: 17px; text-align: left; border-top: 1px solid var(--dx-line);
}
.dx-continents li:first-child .dx-cont { border-top: 0; }
.dx-cont-map { width: 34px; height: 30px; opacity: .85; }
.dx-cont-name { flex: 1; }
.dx-cont .ic { font-size: 18px; transform: rotate(-90deg); color: var(--dx-muted); }
.dx-cont:hover { background: rgba(255,255,255,.05); }
.dx-cont.is-active { background: linear-gradient(180deg, #c99a3e, #9c7428); color: #fff; border-color: transparent; }
.dx-cont.is-active + * , .dx-cont.is-active .ic { color: #fff; }
.dx-countries { display: flex; flex-direction: column; }
.dx-search { position: relative; margin-bottom: 8px; }
.dx-search .ic { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); font-size: 18px; color: var(--dx-muted); }
.dx-search input { width: 100%; height: 44px; padding: 0 12px 0 40px; border-radius: 10px; background: #0a121c; border: 1px solid rgba(255,255,255,.2); color: var(--dx-text); font: 15px var(--f-sans); }
.dx-search input::placeholder { color: var(--dx-muted); }
.dx-search input:focus { outline: none; border-color: var(--dx-gold); box-shadow: 0 0 0 3px rgba(244,185,67,.2); }
.dx-list { flex: 1; overflow: auto; max-height: 420px; scrollbar-width: thin; scrollbar-color: #2b3746 transparent; }
.dx-item { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 8px; border-radius: 10px; color: var(--dx-text); font-size: 15.5px; text-align: left; border-bottom: 1px solid var(--dx-line); }
.dx-item:hover { background: rgba(255,255,255,.05); }
.dx-item.is-active { background: rgba(244,185,67,.14); box-shadow: inset 0 0 0 1px rgba(244,185,67,.45); }
.dx-item-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dx-empty { padding: 16px 8px; color: var(--dx-muted); font-size: 15px; }
.dx-empty .link-btn { color: var(--dx-gold); }
.dx-badge { flex: none; padding: 3px 9px; border-radius: 6px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.dx-badge.st-complete { background: rgba(34,170,92,.2); color: #4fdc8b; box-shadow: inset 0 0 0 1px rgba(79,220,139,.35); }
.dx-badge.st-progress { background: rgba(232,140,40,.2); color: #ffaa4d; box-shadow: inset 0 0 0 1px rgba(255,170,77,.35); }
.dx-badge.st-soon { background: rgba(110,150,230,.18); color: #a9c3ff; box-shadow: inset 0 0 0 1px rgba(169,195,255,.3); }

.dx-card { padding: 8px; display: flex; flex-direction: column; }
.dx-photo { position: relative; height: 140px; border-radius: 12px; overflow: hidden; background: #1b2635; }
.dx-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 75% 45%; }
.dx-photo-flag { display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #1d2a3b, #0c1520); }
.dx-photo-bigflag { width: 120px !important; height: 90px !important; object-fit: cover; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,.45); }
.dx-card-body { padding: 12px 10px 6px; display: flex; flex-direction: column; flex: 1; }
.dx-card-head { display: flex; align-items: center; gap: 12px; margin-top: -30px; position: relative; }
.dx-card-empty { justify-content: center; }
.dx-card-empty h2 { margin: 0; font-size: 22px; }
.dx-flag-lg { width: 46px; height: 32px; border-radius: 4px; }
.dx-card-head h2 { margin: 0; flex: 1; font-size: 25px; font-weight: 700; text-shadow: 0 2px 10px rgba(0,0,0,.6); }
.dx-desc { margin: 12px 0 0; font-size: 15px; line-height: 1.45; color: #dfe4ea; }
.dx-facts { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(min(var(--n), 4), minmax(0, 1fr)); gap: 8px; }
.dx-fact, .dx-act { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 10px 6px; border-radius: 10px; background: var(--dx-panel-2); border: 1px solid var(--dx-line); text-align: center; color: var(--dx-text); }
.dx-fact .ic, .dx-act .ic { font-size: 26px; color: var(--dx-gold); stroke-width: 1.6; }
.dx-fact strong { font-size: 14px; line-height: 1.2; }
.dx-fact span { font-size: 12px; color: var(--dx-muted); }
.dx-acts { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.dx-act { width: 100%; height: 100%; min-height: 78px; font-size: 13.5px; font-weight: 600; line-height: 1.25; transition: border-color .2s, background .2s; }
.dx-act:hover { border-color: rgba(244,185,67,.6); background: #172334; }
.dx-card-actions { display: flex; gap: 12px; margin-top: auto; padding-top: 14px; }
.dx-card-actions .btn { flex: 1; justify-content: center; height: 46px; font-size: 16.5px; }
.dx-card-actions .btn-gold { flex: 1.3; background: linear-gradient(180deg, #f8c766, var(--dx-gold-2)); color: #1a1205; }
.dx-compare-btn { color: #fff; border: 1.5px solid rgba(255,255,255,.85); background: transparent; }
.dx-compare-btn:hover { background: rgba(255,255,255,.08); }
.dx-compare-btn[aria-pressed="true"] { border-color: var(--dx-gold); color: var(--dx-gold); }

.dx-legend { max-width: 1640px; margin: 18px auto 40px; padding: 0 22px; }
.dx-legend ul { list-style: none; margin: 0; padding: 18px 30px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; border: 1px solid var(--dx-line); border-radius: 16px; background: var(--dx-panel); }
.dx-legend li { display: flex; align-items: center; gap: 16px; padding: 0 10px; }
.dx-legend li + li { border-left: 1px solid var(--dx-line); padding-left: 26px; }
.dx-legend .ic { font-size: 34px; flex: none; color: var(--dx-gold); stroke-width: 1.5; }
.dx-legend .st-complete .ic { color: #3bd17d; }
.dx-legend .st-progress .ic { color: #ffaa4d; }
.dx-legend .st-soon .ic { color: #a9c3ff; }
.dx-legend strong { display: block; font-size: 17px; }
.dx-legend span { display: block; font-size: 14.5px; color: var(--dx-muted); margin-top: 2px; }

.dx-tray {
  position: fixed; z-index: 40; left: 50%; bottom: 18px; transform: translateX(-50%); max-width: calc(100% - 24px);
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 10px 14px; border-radius: 16px;
  background: rgba(12,20,30,.96); border: 1px solid rgba(244,185,67,.5); box-shadow: 0 18px 40px rgba(0,0,0,.5); color: #fff;
}
.dx-tray[hidden] { display: none; }
.dx-tray.shake { animation: dx-shake .4s; }
@keyframes dx-shake { 25% { transform: translateX(calc(-50% - 6px)); } 75% { transform: translateX(calc(-50% + 6px)); } }
.dx-tray-label { font-weight: 600; }
.dx-tray ul { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.dx-tray-item { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 10px 0 6px; border-radius: 8px; background: #1e2937; color: #fff; font-size: 14px; }
.dx-tray-item .dx-flag { width: 22px; height: 16px; }
.dx-tray-item .ic { font-size: 14px; opacity: .7; }
.dx-tray .btn:disabled { opacity: .5; cursor: not-allowed; }
.dx-tray-clear { color: var(--dx-muted); font-size: 14px; }
.dx-tray-clear:hover { color: #fff; }
.has-tray .wa-fab { bottom: 92px; }
.dx-compare-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.dx-compare-table th, .dx-compare-table td { padding: 10px 12px; border-bottom: 1px solid #e6e9ee; text-align: left; vertical-align: top; }
.dx-compare-table thead th { font-size: 15px; white-space: nowrap; }
.dx-compare-table thead .dx-flag { display: inline-block; vertical-align: -4px; margin-right: 8px; }
.dx-compare-table tbody th { color: #4b5361; font-weight: 600; white-space: nowrap; }

@media (prefers-reduced-motion: reduce) { .dx-tray.shake { animation: none; } }
@media (max-width: 1440px) {
  .dx-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, .85fr) minmax(0, .95fr) minmax(0, 1.3fr); }
  .dx-stats { gap: 8px 26px; font-size: 16.5px; }
}
@media (max-width: 1240px) {
  .dx-hero-inner { padding: 24px 32px 22px; }
  .dx-hero h1 { font-size: 42px; }
  .dx-shell { margin: 4px 16px 0; }
  .dx-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .dx-stage { grid-column: 1 / -1; min-height: 440px; }
  .dx-legend { padding: 0 16px; }
  .dx-legend ul { grid-template-columns: 1fr 1fr; }
  .dx-legend li + li { border-left: 0; padding-left: 10px; }
}
@media (max-width: 760px) {
  .dx-hero-inner { padding: 20px var(--gutter) 18px; }
  .dx-kicker { font-size: 15px; }
  .dx-hero h1 { font-size: 32px; }
  .dx-intro { font-size: 15.5px; }
  .dx-shell { margin: 4px 0 0; border-radius: 18px 18px 0 0; padding: 14px 12px 16px; border-left: 0; border-right: 0; }
  .dx-views { width: 100%; }
  .dx-view { flex: 1; justify-content: center; height: 40px; font-size: 15px; padding: 0 10px; }
  .dx-stats { gap: 8px 18px; font-size: 14.5px; padding: 0; }
  .dx-stats .ic { font-size: 22px; }
  .dx-filterbar { flex-direction: column; gap: 10px; }
  .dx-filters { gap: 8px; }
  .dx-dd-btn { height: 40px; font-size: 14.5px; padding: 0 12px; }
  .dx-dd { position: static; }
  .dx-dd-menu { left: 12px; right: 12px; top: auto; }
  .dx-active { padding: 0; font-size: 14.5px; }
  .dx-count { margin: 0; width: 100%; font-size: 15px; }
  .dx-grid { grid-template-columns: 1fr; }
  .dx-stage { min-height: 360px; }
  .dx-controls { top: 10px; left: 8px; gap: 8px; }
  .dx-ctrl { width: 40px; height: 40px; }
  .dx-continents ul { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .dx-continents h2 { font-size: 17px; margin: 2px 4px 10px; }
  .dx-cont { white-space: nowrap; border: 1px solid var(--dx-line); padding: 8px 12px; font-size: 15px; gap: 8px; }
  .dx-continents li:first-child .dx-cont { border: 1px solid var(--dx-line); }
  .dx-cont .ic { display: none; }
  .dx-cont-map { width: 26px; height: 22px; }
  .dx-list { max-height: 320px; }
  .dx-card-actions { flex-wrap: wrap; }
  .dx-legend ul { grid-template-columns: 1fr; padding: 16px; }
  .dx-legend { margin: 16px 0 30px; }
  .dx-tray { bottom: 10px; }
}

/* ---------- Explorer in the site theme ----------
   Same palette as the home and country pages: light page, white cards, navy text,
   gold/navy buttons. Only the globe stage stays dark (a night-time earth needs it). */
.dx-page {
  --dx-bg: #eef3f9; --dx-panel: #fff; --dx-panel-2: #f4f7fb; --dx-line: #e3e9f1;
  --dx-text: #141a26; --dx-muted: #5d6575; --dx-gold: var(--c-gold-cta); --dx-gold-2: #f5b545;
  background: var(--dx-bg); color: var(--dx-text);
}
.dx-hero { background: #0c1d3a; }
.dx-hero::before { background: linear-gradient(90deg, rgba(8,20,44,.9), rgba(8,20,44,.45) 55%, rgba(8,20,44,0)); }
.dx-kicker { color: var(--c-gold); }
.dx-hero h1 { font-family: var(--f-serif); font-weight: 600; letter-spacing: -.015em; }

.dx-shell { background: #fff; border-color: var(--dx-line); box-shadow: 0 18px 40px rgba(10,30,60,.1); margin-top: -18px; position: relative; z-index: 2; }
.dx-view, .dx-dd-btn, .dx-chip { background: #fff; border-color: #d5dde8; color: var(--dx-text); }
.dx-view:hover:not(:disabled), .dx-dd-btn:hover { background: var(--brand-sky); }
.dx-view.is-active, .dx-filters-btn { background: var(--brand-navy); color: #fff; border-color: var(--brand-navy); }
.dx-view.is-active:hover { background: #0d3a8a; }
.dx-stats { color: var(--dx-text); }
.dx-stats .ic { color: var(--brand-navy); }
.dx-dd-btn:hover, .dx-dd.open .dx-dd-btn { border-color: var(--brand-royal); }
.dx-dd-menu { background: #fff; border-color: var(--dx-line); box-shadow: var(--sh-pop); color: var(--dx-text); }
.dx-opt:hover { background: var(--brand-sky); }
.dx-opt input { accent-color: var(--brand-navy); }
.dx-chip:hover { border-color: var(--brand-navy); }
.dx-clear, .dx-empty .link-btn { color: var(--brand-royal); }

.dx-stage { background: radial-gradient(70% 70% at 50% 48%, #13284a 0%, #0a1830 55%, #071022 100%); }
.dx-hint { color: rgba(255,255,255,.7); }
.dx-loading { color: rgba(255,255,255,.75); }

.dx-panel { background: #fff; border-color: var(--dx-line); box-shadow: 0 6px 16px rgba(10,30,60,.05); }
.dx-cont { color: var(--dx-text); border-color: var(--dx-line); }
.dx-cont-map { filter: brightness(.55) saturate(.6); opacity: .9; }
.dx-cont .ic { color: #8a93a3; }
.dx-cont:hover { background: var(--brand-sky); }
.dx-cont.is-active { background: var(--brand-navy); color: #fff; }
.dx-cont.is-active .dx-cont-map { filter: brightness(0) invert(1); }
.dx-search .ic { color: #8a93a3; }
.dx-search input { background: #fff; border-color: #d5dde8; color: var(--dx-text); }
.dx-search input:focus { border-color: var(--brand-royal); box-shadow: 0 0 0 3px rgba(10,130,255,.18); }
.dx-list { scrollbar-color: #c9d3e0 transparent; }
.dx-item { color: var(--dx-text); border-color: var(--dx-line); }
.dx-item:hover { background: var(--brand-sky); }
.dx-item.is-active { background: #fff7e3; box-shadow: inset 0 0 0 1.5px var(--c-gold); }
.dx-flag { box-shadow: 0 0 0 1px rgba(10,30,60,.15); }
.dx-badge.st-complete { background: #e5f7ef; color: #0b7a47; box-shadow: inset 0 0 0 1px #bfe8d3; }
.dx-badge.st-progress { background: #fff2df; color: #a35a00; box-shadow: inset 0 0 0 1px #f6d3a3; }
.dx-badge.st-soon { background: #eaf0ff; color: #2f4fa3; box-shadow: inset 0 0 0 1px #c9d6f7; }

.dx-photo { background: #dfe7f2; }
.dx-photo-flag { background: radial-gradient(circle at 50% 40%, #f4f7fb, #dfe7f2); }
.dx-card-head { margin-top: 0; }
.dx-card-head h2 { text-shadow: none; color: var(--dx-text); font-size: 24px; }
.dx-desc { color: #3b4352; }
.dx-fact, .dx-act { background: var(--dx-panel-2); border-color: var(--dx-line); color: var(--dx-text); }
.dx-fact .ic, .dx-act .ic { color: var(--brand-navy); }
.dx-fact span { color: var(--dx-muted); }
.dx-act:hover { background: var(--brand-sky); border-color: #c8d8ef; }
.dx-card-actions .btn-gold { background: var(--c-gold-cta); color: var(--c-ink); }
.dx-card-actions .btn-gold:hover { background: #f5b545; }
.dx-compare-btn { color: var(--brand-navy); border-color: var(--brand-navy); }
.dx-compare-btn:hover { background: var(--brand-sky); }
.dx-compare-btn[aria-pressed="true"] { background: var(--brand-navy); color: #fff; border-color: var(--brand-navy); }

.dx-legend ul { background: #fff; border-color: var(--dx-line); }
.dx-legend .ic { color: var(--brand-navy); }
.dx-legend .st-complete .ic { color: #0b8a55; }
.dx-legend .st-progress .ic { color: #d17a00; }
.dx-legend .st-soon .ic { color: #3b5fc0; }
.dx-legend span { color: var(--dx-muted); }

.dx-tray { background: #fff; color: var(--dx-text); border-color: var(--dx-line); box-shadow: 0 18px 40px rgba(10,30,60,.2); }
.dx-tray-item { background: var(--brand-sky); color: var(--c-navy-ink); }
.dx-tray-clear { color: var(--dx-muted); }
.dx-tray-clear:hover { color: var(--dx-text); }
@media (max-width: 760px) { .dx-shell { margin-top: -12px; } }

/* =========================================================================
   Finance Hub (finance.html) — "Plan, Fund & Afford" reference, in the site theme
   ========================================================================= */
.fx-page { background: #eef3f9; }
.fx-hero { position: relative; isolation: isolate; overflow: hidden; min-height: 470px; background: #0c1d3a; color: #fff; }
.fx-hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 30%; }
.fx-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(8,20,44,.92) 0%, rgba(8,20,44,.72) 26%, rgba(8,20,44,.1) 48%, rgba(8,20,44,0) 70%), linear-gradient(0deg, rgba(8,20,44,.55), rgba(8,20,44,0) 35%); }
.fx-hero-inner { position: relative; z-index: 2; max-width: 1640px; margin: 0 auto; padding: 26px 32px 110px 40px; display: flex; justify-content: space-between; gap: 32px; align-items: flex-start; }
.fx-copy { max-width: 600px; }
.fx-badge { display: inline-block; padding: 7px 16px; border-radius: var(--r-pill); border: 1.5px solid var(--c-gold); background: rgba(8,20,44,.55); color: var(--c-gold); font-size: 15px; font-weight: 600; }
.fx-copy h1 { margin: 18px 0 0; font-family: var(--f-logo); font-weight: 800; font-size: 44px; line-height: 1.1; letter-spacing: -.015em; text-shadow: 0 2px 16px rgba(0,0,0,.35); }
.fx-copy h1 em { font-style: normal; color: var(--c-gold); }
.fx-sub { margin: 12px 0 0; font-size: 22px; font-weight: 600; }
.fx-lead { margin: 14px 0 0; font-size: 16px; line-height: 1.5; color: rgba(255,255,255,.92); max-width: 390px; }
.fx-stats { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.fx-stats li { display: flex; align-items: center; gap: 14px; }
.fx-stats .ic { font-size: 34px; color: var(--c-gold); stroke-width: 1.5; }
.fx-stats strong { display: block; font-size: 18px; }
.fx-stats span { font-size: 14px; color: rgba(255,255,255,.88); }
.fx-reach { width: 390px; flex: none; margin-top: 4px; padding: 20px 22px; border-radius: 20px; background: rgba(10,22,44,.82); border: 1px solid rgba(255,255,255,.22);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 18px 40px rgba(0,0,0,.3); }
.fx-reach-head { display: flex; align-items: center; gap: 14px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.16); }
.fx-reach-head .ic { font-size: 44px; color: var(--c-gold); stroke-width: 1.4; }
.fx-reach-head p { margin: 0; font-size: 16px; line-height: 1.3; }
.fx-reach-head strong { font-size: 18px; }
.fx-reach ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.fx-reach li { display: flex; align-items: center; gap: 12px; font-size: 15.5px; }
.fx-reach li .ic { font-size: 20px; color: rgba(255,255,255,.85); }

.fx-body { position: relative; z-index: 3; max-width: 1640px; margin: -86px auto 0; padding: 0 32px 56px; }
.fx-row { display: grid; grid-template-columns: minmax(0, 1.58fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.fx-row-tools { margin-top: 22px; grid-template-columns: minmax(0, 2.05fr) minmax(0, 0.8fr); align-items: stretch; }
.fx-card { background: #fff; border: 1px solid #e3e9f1; border-radius: 22px; box-shadow: 0 18px 40px rgba(10,30,60,.1); color: var(--c-ink); }

.fx-calc { padding: 12px 22px 24px; }
.fx-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 14px; background: #eef3f9; }
.fx-mode { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 44px; border-radius: 11px; font-size: 15.5px; font-weight: 600; color: #34405a; }
.fx-mode span { font-weight: 500; }
.fx-mode .ic { font-size: 22px; }
.fx-mode:hover { background: #fff; }
.fx-mode.is-active { background: var(--c-gold-cta); color: var(--c-ink); box-shadow: 0 4px 12px rgba(200,140,30,.25); }
.fx-calc h2 { margin: 18px 0 0; font-size: 25px; font-weight: 700; letter-spacing: -.02em; }
.fx-calc-lead { margin: 4px 0 0; font-size: 15px; color: #4a5160; }
.fx-fields { display: grid; grid-template-columns: 1.15fr 1fr 1.1fr .95fr 1.05fr; gap: 10px; margin-top: 18px; }
.fx-fields-budget { grid-template-columns: 1.4fr .8fr 1fr .9fr; }
.fx-field label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: #1b2230; }
.fx-field .opt { font-weight: 400; color: #7a8292; }
.fx-select { position: relative; }
.fx-select > .ic { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-size: 19px; color: var(--brand-navy); pointer-events: none; }
.fx-select select, .fx-select input {
  width: 100%; height: 46px; padding: 0 28px 0 38px; border-radius: 11px; border: 1px solid #d5dde8; background: #fff;
  font: 14.5px var(--f-sans); color: var(--c-ink); appearance: none; -webkit-appearance: none;
}
.fx-select select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23334' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 10px center / 16px no-repeat; }
.fx-select input { padding-right: 12px; }
.fx-select select:focus, .fx-select input:focus { outline: 0; border-color: var(--brand-royal); box-shadow: 0 0 0 3px rgba(10,130,255,.18); }
.fx-err { min-height: 1.2em; margin: 8px 0 0; font-size: 13.5px; color: #c62828; }
.fx-submit { display: flex; justify-content: center; margin-top: 4px; }
.fx-submit .btn { height: 48px; min-width: 300px; font-size: 17px; }

.fx-result { margin-top: 18px; padding: 18px 20px; border-radius: 16px; background: var(--brand-sky); color: var(--c-navy-ink); }
.fx-result h3 { margin: 0; font-size: 20px; }
.fx-result-main > span { display: block; font-size: 13px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.fx-result-main strong { display: block; margin-top: 4px; font-size: 28px; letter-spacing: -.01em; }
.fx-inr { display: block; margin-top: 4px; font-size: 14px; color: #2b4a80; }
.fx-result-rows { margin: 12px 0 0; display: grid; gap: 6px; font-size: 14.5px; }
.fx-result-rows div { display: flex; justify-content: space-between; gap: 14px; padding-top: 6px; border-top: 1px solid rgba(10,45,107,.12); }
.fx-result-rows dt, .fx-result-rows dd { margin: 0; }
.fx-result-rows dd { font-weight: 700; text-align: right; white-space: nowrap; }
.fx-result-note { margin: 12px 0 0; font-size: 13.5px; line-height: 1.5; color: #3b4d6e; }
.fx-credit a, .fx-inr a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.fx-result-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.fx-result-actions .btn { height: 42px; }
.fx-btn-line { border: 1.5px solid var(--brand-navy); color: var(--brand-navy); background: #fff; }
.fx-btn-line:hover { background: #f4f8ff; }
.fx-fit-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; }
.fx-fit-list li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: #fff; }
.fx-fit-list img { width: 28px; height: 21px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(10,30,60,.15); }
.fx-fit-name { flex: 1; min-width: 0; }
.fx-fit-name a { font-weight: 600; color: var(--c-ink); }
.fx-fit-name a:hover { color: var(--brand-royal); text-decoration: underline; }
.fx-fit-name small { display: block; font-size: 12.5px; color: #5d6575; }
.fx-fit-badge { flex: none; padding: 4px 10px; border-radius: 7px; font-size: 12.5px; font-weight: 600; }
.fit-fits .fx-fit-badge { background: #e5f7ef; color: #0b7a47; }
.fit-partly .fx-fit-badge { background: #fff2df; color: #a35a00; }
.fit-over .fx-fit-badge { background: #f3f4f6; color: #5d6575; }

.fx-dests { padding: 18px 20px 20px; }
.fx-dests-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.fx-dests h2 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 21px; font-weight: 700; }
.fx-dests h2 .ic { font-size: 28px; color: var(--c-amber); stroke-width: 1.6; }
.fx-all { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 600; color: var(--brand-royal); }
.fx-all:hover { text-decoration: underline; }
.fx-conts { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.fx-cont { position: relative; display: block; height: 96px; border-radius: 14px; overflow: hidden; color: #fff; box-shadow: var(--sh-card); transition: transform .25s var(--ease), box-shadow .25s; }
.fx-cont img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.fx-cont::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,20,44,.6), rgba(8,20,44,.05) 70%); }
.fx-cont:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(10,20,30,.22); }
.fx-cont:hover img { transform: scale(1.05); }
.fx-cont-text { position: absolute; z-index: 1; left: 14px; bottom: 12px; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.fx-cont-text strong { display: block; font-size: 17px; }
.fx-cont-n { font-size: 13.5px; }

.fx-tools { padding: 14px; }
.fx-tools ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.fx-tool { width: 100%; height: 100%; min-height: 104px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 6px; border-radius: 14px; background: #f4f7fb; border: 1px solid #e3e9f1; color: var(--c-ink); font-size: 15px; font-weight: 600; line-height: 1.2; text-align: center;
  transition: transform .2s var(--ease), border-color .2s, background .2s; }
.fx-tool .ic { font-size: 32px; color: var(--brand-navy); stroke-width: 1.6; }
.fx-tool:hover { transform: translateY(-3px); background: var(--brand-sky); border-color: #c8d8ef; }
.fx-tool.is-featured { background: var(--c-gold-cta); border-color: var(--c-gold-cta); }
.fx-tool.is-featured .ic { color: var(--c-ink); }
.fx-tool.is-featured:hover { background: #f5b545; }
.fx-coverage { display: flex; align-items: center; gap: 18px; padding: 20px 24px; position: relative; overflow: hidden;
  background: #0c1d3a url("../img/globe/earth-night-map.webp") right -40px center / 360px auto no-repeat; color: #fff; border-color: #0c1d3a; transition: transform .2s var(--ease); }
.fx-coverage::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,29,58,.96) 40%, rgba(12,29,58,.4)); }
.fx-coverage > * { position: relative; }
.fx-coverage:hover { transform: translateY(-3px); }
.fx-coverage > .ic { font-size: 50px; color: var(--c-gold); stroke-width: 1.3; flex: none; }
.fx-coverage strong { display: block; font-size: 21px; }
.fx-coverage span span { display: block; margin-top: 4px; font-size: 14.5px; line-height: 1.4; color: rgba(255,255,255,.88); max-width: 230px; }

@media (max-width: 1440px) {
  .fx-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fx-fields-budget { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fx-tools ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1240px) {
  .fx-hero-inner { padding: 22px 32px 104px; }
  .fx-reach { display: none; }
  .fx-row, .fx-row-tools { grid-template-columns: 1fr; }
  .fx-body { padding: 0 24px 48px; }
}
@media (max-width: 760px) {
  .fx-hero { min-height: 0; }
  .fx-hero-bg img { object-position: 62% 30%; }
  .fx-hero::before { background: linear-gradient(180deg, rgba(8,20,44,.82), rgba(8,20,44,.55) 60%, rgba(8,20,44,.85)); }
  .fx-hero-inner { padding: 18px var(--gutter) 96px; }
  .fx-copy h1 { font-size: 32px; }
  .fx-sub { font-size: 18px; }
  .fx-lead { font-size: 15px; }
  .fx-body { padding: 0 12px 36px; margin-top: -76px; }
  .fx-calc { padding: 10px 14px 20px; }
  .fx-mode { flex-direction: column; gap: 2px; height: 58px; font-size: 14px; line-height: 1.15; }
  .fx-mode .ic { display: none; }
  .fx-mode span { font-size: 12.5px; }
  .fx-fields, .fx-fields-budget { grid-template-columns: 1fr; }
  .fx-select select, .fx-select input { font-size: 16px; }
  .fx-submit .btn { width: 100%; min-width: 0; }
  .fx-result-actions .btn { width: 100%; }
  .fx-conts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .fx-cont { height: 88px; }
  .fx-tools ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fx-tools li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* =========================================================================
   Inner pages: Our Services, The Truth, Careers, Accommodation
   ========================================================================= */
.pg-page { background: #eef3f9; }
.pg-hero { position: relative; isolation: isolate; overflow: hidden; background: #0c1d3a; color: #fff; }
.pg-hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.pg-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(8,20,44,.92) 0%, rgba(8,20,44,.7) 38%, rgba(8,20,44,.15) 75%), linear-gradient(0deg, rgba(8,20,44,.5), rgba(8,20,44,0) 40%); }
.pg-hero-inner { position: relative; z-index: 2; max-width: 1440px; margin: 0 auto; padding: 26px 50px 64px; }
.pg-kicker { margin: 28px 0 0; color: var(--c-gold); font-size: 13px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; }
.pg-hero h1 { margin: 10px 0 0; max-width: 720px; font-family: var(--f-serif); font-weight: 600; font-size: 56px; line-height: 1.02; letter-spacing: -.015em; text-shadow: 0 2px 16px rgba(0,0,0,.35); }
.pg-hero h1 em { display: block; color: var(--c-gold); font-style: italic; font-weight: 500; }
.pg-lead { margin: 16px 0 0; max-width: 560px; font-size: 17.5px; line-height: 1.5; color: rgba(255,255,255,.93); }
.pg-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.pg-body { max-width: 1440px; margin: 0 auto; padding: 0 0 20px; }
.pg-section { padding: 56px 50px 8px; }
.pg-section.pg-white { background: #fff; margin: 40px 0 0; padding-bottom: 56px; }
.pg-head { margin-bottom: 26px; display: grid; gap: 12px; }
.pg-card { background: #fff; border: 1px solid #e3e9f1; border-radius: 18px; box-shadow: 0 10px 28px rgba(10,30,60,.07); }
.pg-white .pg-card { box-shadow: none; background: #f7f9fc; }

/* Services */
.pg-svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.pg-service { padding: 24px; display: flex; flex-direction: column; gap: 10px; scroll-margin-top: calc(var(--header-h) + 20px); }
.pg-service:target { box-shadow: 0 0 0 3px var(--c-gold), 0 10px 28px rgba(10,30,60,.1); }
.pg-service-ic { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--brand-sky); color: var(--brand-navy); }
.pg-service-ic .ic { font-size: 26px; stroke-width: 1.7; }
.pg-service h3 { margin: 6px 0 0; font-size: 21px; }
.pg-service p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--c-text-2); }
.pg-service h4 { margin: 8px 0 0; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: #6b7280; }
.pg-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pg-service .btn { margin-top: auto; align-self: flex-start; }
.pg-note { display: flex; align-items: center; gap: 18px; padding: 22px 24px; flex-wrap: wrap; }
.pg-note > .ic { font-size: 34px; color: #0b8a55; }
.pg-note p { flex: 1 1 320px; margin: 0; font-size: 16px; line-height: 1.55; }

/* Truth */
.pg-myths { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.pg-myth { padding: 20px 22px; display: grid; gap: 12px; }
.pg-myth p { display: flex; gap: 12px; margin: 0; font-size: 15.5px; line-height: 1.5; }
.pg-myth .ic { font-size: 22px; flex: none; margin-top: 1px; }
.pg-myth strong { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 2px; }
.pg-myth-m { color: #6b2a2a; } .pg-myth-m .ic { color: #c62828; }
.pg-myth-m span { text-decoration: line-through; text-decoration-color: rgba(198,40,40,.35); }
.pg-myth-m strong { text-decoration: none; display: block; }
.pg-myth-r { padding-top: 12px; border-top: 1px solid #eef1f5; color: var(--c-ink); } .pg-myth-r .ic { color: #0b8a55; }
.pg-split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; align-items: start; }
.pg-checks { list-style: none; margin: 0; padding: 10px 22px; }
.pg-checks li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid #e8ecf2; font-size: 15.5px; line-height: 1.45; }
.pg-checks li:last-child { border-bottom: 0; }
.pg-checks .ic { font-size: 20px; color: #d17a00; flex: none; margin-top: 1px; }
.pg-q .ic { color: var(--brand-royal); }
.pg-aside { padding: 24px; display: grid; gap: 12px; justify-items: start; }
.pg-aside h3 { margin: 0; font-size: 20px; }
.pg-aside p { margin: 0; color: var(--c-text-2); }
.page-truth .faq-list { padding: 0 22px; border-top: 0; }
.page-truth .faq-item:last-child { border-bottom: 0; }

/* Careers */
.pg-works { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.pg-work { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.pg-work-head { display: flex; align-items: center; gap: 12px; }
.pg-work-head .flag { width: 34px; height: 34px; }
.pg-work-head h3 { margin: 0; font-size: 19px; }
.pg-work-route { display: flex; gap: 12px; align-items: center; margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--brand-sky); color: var(--brand-navy); font-weight: 600; }
.pg-work-route .ic { font-size: 24px; }
.pg-work-route small { display: block; font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; opacity: .8; }
.pg-work-why { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14.5px; color: var(--c-text-2); }
.pg-work-why li { display: flex; gap: 8px; align-items: center; } .pg-work-why .ic { color: #0b8a55; }
.pg-work-links { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14.5px; }
.pg-plan { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: plan; }
.pg-plan li { padding: 22px; }
.pg-plan .ic { font-size: 30px; color: var(--brand-navy); stroke-width: 1.6; }
.pg-plan h3 { margin: 12px 0 6px; font-size: 18px; }
.pg-plan p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--c-text-2); }
.pg-roi { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 26px; }
.pg-roi > div:first-child { flex: 1 1 380px; }
.pg-roi .ic { font-size: 34px; color: var(--brand-navy); }
.pg-roi h3 { margin: 8px 0 6px; font-size: 21px; }
.pg-roi p { margin: 0; color: var(--c-text-2); line-height: 1.55; }
.pg-roi-actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 1240px) {
  .pg-hero-inner { padding: 22px 32px 56px; }
  .pg-section { padding: 44px 32px 4px; }
  .pg-section.pg-white { padding-bottom: 44px; }
  .pg-plan { grid-template-columns: 1fr 1fr; }
  .pg-split { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .pg-hero-inner { padding: 16px var(--gutter) 44px; }
  .pg-kicker { margin-top: 20px; }
  .pg-hero h1 { font-size: 38px; }
  .pg-lead { font-size: 16px; }
  .pg-ctas .btn { flex: 1 1 100%; }
  .pg-section { padding: 36px var(--gutter) 4px; }
  .pg-section.pg-white { padding-bottom: 36px; }
  .pg-plan { grid-template-columns: 1fr; }
  .pg-myths { grid-template-columns: 1fr; }
}
.steps.n-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1000px; }
@media (max-width: 760px) { .steps.n-3 { grid-template-columns: 1fr; } }

.footer-links { display: inline-flex; gap: 20px; flex-wrap: wrap; }
/* Credits page */
.pg-credits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.pg-credits li { overflow: hidden; display: flex; flex-direction: column; }
.pg-credits img { width: 100%; height: 150px; object-fit: cover; }
.pg-credits div { padding: 14px 16px 16px; font-size: 14px; line-height: 1.5; color: var(--c-text-2); }
.pg-credits strong { display: block; color: var(--c-ink); font-size: 15px; margin-bottom: 4px; }
.pg-credits a { color: var(--brand-royal); text-decoration: underline; text-underline-offset: 2px; word-break: break-word; }
.pg-plain { padding: 22px 24px; font-size: 15px; line-height: 1.6; color: var(--c-text-2); }
.pg-plain li + li { margin-top: 8px; }
.pg-plain a { color: var(--brand-royal); text-decoration: underline; }
/* Keep the tools-strip title readable over the bright HD mountain photo */
.tools::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(8,14,22,.82) 0%, rgba(8,14,22,.55) 22%, rgba(8,14,22,.25) 55%, rgba(8,14,22,.35) 100%); }
.tools-title, .tool-list, .tools-toggle { z-index: 2; }
@media (max-width: 1340px) { .tools::after { background: rgba(8,14,22,.45); } }

/* The top bar is fixed (always visible); reserve its height so content starts below it */
body { padding-top: var(--header-h); }

/* Home-page items that now lead to their pages */
.feature-link { display: flex; align-items: inherit; gap: inherit; color: inherit; border-radius: 10px; }
.feature-link:hover h3, .feature-link:focus-visible h3 { color: var(--brand-royal); text-decoration: underline; text-underline-offset: 3px; }
.step-link { color: inherit; }
.step-link::after { content: ""; position: absolute; inset: -6px; border-radius: 14px; }
.step { position: relative; }
.step:hover .step-link { color: var(--brand-royal); text-decoration: underline; text-underline-offset: 3px; }
.step:hover .step-ic { background: var(--brand-navy); color: #fff; }
.step-ic { transition: background .2s, color .2s; }

/* ---------- Quick-links bar (fixed with the header) ---------- */
:root { --qnav-h: 0px; --top-h: var(--header-h); }
.site-header { height: auto; }
.header-inner { height: var(--header-h); }
body { padding-top: var(--top-h); }
html { scroll-padding-top: calc(var(--top-h) + 8px); }
.faq .section-head { top: calc(var(--top-h) + 24px); }
.pg-service { scroll-margin-top: calc(var(--top-h) + 16px); }
.quick-nav { height: var(--qnav-h); background: #101d2b; border-top: 1px solid rgba(255,255,255,.08); box-shadow: 0 6px 16px rgba(0,0,0,.18); }
.quick-nav ul { height: 100%; display: flex; align-items: center; justify-content: center; gap: 4px; padding: 0 16px; margin: 0; list-style: none;
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.quick-nav ul::-webkit-scrollbar { display: none; }
.quick-nav a { display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: var(--r-pill); white-space: nowrap;
  font-size: 13.5px; font-weight: 500; color: rgba(255,255,255,.82); transition: background .2s, color .2s; }
.quick-nav a:hover { background: rgba(255,255,255,.1); color: #fff; }
.quick-nav a[aria-current="page"] { background: var(--c-gold-cta); color: var(--c-ink); font-weight: 600; }
.quick-nav a:focus-visible { outline: 2px solid var(--c-gold); outline-offset: 1px; }
@media (max-width: 1180px) { .main-nav { top: var(--top-h); } }
@media (max-width: 1100px) { .quick-nav ul { justify-content: flex-start; } }


/* Accommodation page */
.pg-houses { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.pg-house { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.pg-house h3 { margin: 4px 0 0; font-size: 19px; }
.pg-house p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--c-text-2); }
.pg-house .pg-good { margin-top: auto; padding-top: 10px; border-top: 1px solid #eef1f5; font-size: 14px; }
.pg-good strong { color: var(--c-ink); }
.pg-livings { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.pg-living a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; color: var(--c-ink); }
.pg-living .flag { width: 30px; height: 30px; }
.pg-living span { flex: 1; }
.pg-living strong { display: block; font-size: 16px; }
.pg-living small { display: block; font-size: 13.5px; color: var(--c-text-2); }
.pg-living .ic { color: var(--brand-royal); transition: transform .2s; }
.pg-living a:hover .ic { transform: translateX(3px); }
.pg-living a:hover strong { color: var(--brand-royal); }
.pg-tools2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.pg-tool2 { padding: 22px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.pg-tool2 > .ic { font-size: 32px; color: var(--brand-navy); stroke-width: 1.6; }
.pg-tool2 h3 { margin: 0 0 4px; font-size: 19px; }
.pg-tool2 p { margin: 0; color: var(--c-text-2); line-height: 1.5; }
.pg-tool2 .btn { margin-top: auto; }

/* Destination pages with basic facts */
.c-hero-lite { min-height: 460px; }
.c-hero-lite .c-hero-inner { padding-bottom: 70px; }
.flag-rect { width: 46px !important; height: 34px !important; border-radius: 5px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255,255,255,.4); }
.pg-glance { margin: 0; padding: 8px 20px; }
.page-country-lite .c-tiles .c-tile span { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.page-country-lite .c-tiles small { font-size: 12.5px; font-weight: 400; color: var(--c-text-2); }
.pg-more { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pg-more a { display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px 9px 12px; border-radius: var(--r-pill); background: #fff; border: 1px solid #d5dde8; font-size: 15px; font-weight: 500; color: var(--c-ink); transition: border-color .2s, background .2s; }
.pg-more a:hover { border-color: var(--brand-royal); background: var(--brand-sky); }
.pg-more img { width: 24px; height: 18px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(10,30,60,.15); }
@media (max-width: 760px) { .c-hero-lite { min-height: 0; } .c-hero-lite .c-hero-inner { padding-bottom: 48px; } }

/* Study Destinations: full country list */
.dx-all { max-width: 1640px; margin: 22px auto 48px; padding: 0 22px; }
.dx-all-inner { background: #fff; border: 1px solid var(--dx-line); border-radius: 22px; padding: 30px 32px 34px; box-shadow: 0 10px 28px rgba(10,30,60,.07); }
.dx-all .section-title { margin-bottom: 22px; }
.dx-all-group + .dx-all-group { margin-top: 22px; }
.dx-all-group h3 { margin: 0 0 12px; font-size: 17px; font-weight: 700; color: var(--c-ink); }
.dx-all-group h3 span { font-weight: 500; color: var(--dx-muted); }
.dx-all-group ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.dx-all-group a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; border: 1px solid #e3e9f1; background: #f8fafd; color: var(--c-ink); font-size: 15px; font-weight: 500; transition: border-color .2s, background .2s; }
.dx-all-group a:hover { border-color: var(--brand-royal); background: var(--brand-sky); color: var(--brand-navy); }
.dx-all-group img { width: 24px; height: 18px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(10,30,60,.15); flex: none; }
@media (max-width: 760px) { .dx-all { padding: 0 12px; margin: 16px auto 32px; } .dx-all-inner { padding: 22px 16px 24px; } .dx-all-group ul { grid-template-columns: 1fr 1fr; } }

/* Flat map: destinations shaded instead of pinned */
.dx-map-shapes { position: absolute; inset: 0; width: 100%; height: 100%; }
.dx-map-shapes path { fill: transparent; stroke: none; transition: fill .2s; }
.dx-map-shapes path.is-listed { fill: rgba(255, 196, 79, .28); stroke: rgba(255, 207, 112, .7); stroke-width: .15; cursor: pointer; }
.dx-map-shapes path.is-listed:hover { fill: rgba(255, 196, 79, .5); }
.dx-map-shapes path.is-active { fill: rgba(255, 196, 79, .75); stroke: #ffe3a6; stroke-width: .3; }
.dx-pin.has-label { pointer-events: none; transform: translate(-50%, -140%); }

/* ---------- Geometry: comfortable, consistent click/tap targets everywhere ---------- */
/* Stand-alone text links get a real target height (WCAG 2.5.8) without changing how they look */
.footer-col ul { gap: 0; }
.footer-col a, .footer-col button, .footer-links a, .footer-bottom > a { display: inline-flex; align-items: center; min-height: 32px; }
.pg-links { gap: 0; }
.pg-links a, .pg-links .link-btn, .pg-work-links .link-btn, .pg-aside .link-btn, .fx-all, .dx-clear, .dx-tray-clear { display: inline-flex; align-items: center; min-height: 32px; }
.crumbs a { min-width: 28px; min-height: 28px; justify-content: center; }
.crumbs li:not(:first-child) a { justify-content: flex-start; }
/* Buttons never spill out of their card: long labels wrap inside the button */
.btn { max-width: 100%; }
.pg-service .btn, .pg-note .btn, .pg-tool2 .btn, .pg-aside .btn, .fx-result-actions .btn, .pg-roi .btn {
  white-space: normal; height: auto; min-height: 42px; padding-top: 9px; padding-bottom: 9px; text-align: center; line-height: 1.25; }
/* Cards in the same row share one height */
.pg-livings li, .dx-all-group li, .pg-more li { display: flex; }
.pg-living, .pg-living a, .dx-all-group a { width: 100%; height: 100%; }
@media (max-width: 760px) {
  .footer-col a, .footer-col button, .footer-links a, .footer-bottom > a { min-height: 40px; }
  .pg-links a, .pg-links .link-btn, .pg-work-links .link-btn, .pg-aside .link-btn { min-height: 40px; }
  .dx-continents li { flex: none; }
  .dx-cont { width: auto; }
}

/* Privacy page: "Back to home" link target */
.back { display: inline-flex; align-items: center; min-height: 40px; }
.footer-bottom { align-items: center; }

/* Test Prep page */
.pg-tp-form { padding: 22px; }
.pg-tp-fields { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 14px; align-items: end; }
.pg-tp-fields .pg-actions { margin: 0; }
.pg-tp-fields .field .err { min-height: 1.1em; }
.pg-tp-result { margin-top: 16px; padding: 22px 24px; }
.pg-tp-result h3 { margin: 0 0 12px; font-size: 20px; }
.pg-tp-result ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.pg-tp-result li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; line-height: 1.5; }
.pg-tp-result li .ic { flex: none; font-size: 22px; color: var(--brand-navy); margin-top: 1px; }
.pg-tp-result .pg-tp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.pg-tests { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.pg-test { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.pg-test h3 { margin: 0; font-size: 20px; }
.pg-test-for { margin: 0; font-size: 14px; color: var(--brand-royal); font-weight: 500; }
.pg-test dl { margin: 0; display: grid; gap: 8px; font-size: 14.5px; }
.pg-test dl div { display: grid; grid-template-columns: 92px 1fr; gap: 10px; padding-top: 8px; border-top: 1px solid #eef1f5; }
.pg-test dt { color: #5d6575; } .pg-test dd { margin: 0; font-weight: 500; }
.pg-test .link-btn { margin-top: auto; display: inline-flex; align-items: center; min-height: 32px; }
.pg-plan-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1240px) { .pg-plan-5 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .pg-tp-fields { grid-template-columns: 1fr; } .pg-tp-fields .btn { width: 100%; } .pg-plan-5 { grid-template-columns: 1fr; } }
/* Test Prep form: fields and button share one top line */
.pg-tp-fields { align-items: start; }
.pg-tp-fields .pg-actions { padding-top: 25px; }
@media (max-width: 760px) { .pg-tp-fields .pg-actions { padding-top: 0; } }
/* Country name with its flag in tables */
.pg-country { display: inline-flex; align-items: center; gap: 10px; min-height: 32px; font-weight: 600; color: var(--c-ink); text-transform: none; letter-spacing: 0; font-size: 15px; }
.pg-country .flag { width: 26px; height: 26px; }
.pg-country:hover { color: var(--brand-royal); }

/* Daylit globe and map */
.dx-map-inner img { filter: none; }
.dx-map-shapes path.is-listed { fill: rgba(255, 196, 79, .38); stroke: rgba(255, 214, 120, .95); stroke-width: .2; }
.dx-map-shapes path.is-listed:hover { fill: rgba(255, 196, 79, .6); }
.dx-map-shapes path.is-active { fill: rgba(255, 190, 60, .82); stroke: #fff1c9; stroke-width: .35; }
/* Invisible tap areas for tiny countries */
.dx-map-shapes circle.dx-tap { fill: transparent; stroke: none; pointer-events: none; }
.dx-map-shapes circle.dx-tap.is-listed { pointer-events: all; cursor: pointer; }
.dx-map-shapes circle.dx-tap.is-active { fill: rgba(255, 190, 60, .45); stroke: #fff1c9; stroke-width: .3; }

/* ---- Country pages: details from the counselling briefings (entry rules, costs, work, visa steps) */
.c-detail { max-width: 880px; margin: 22px 0 0; }
.c-detail h3 { margin: 0 0 10px; font-size: 19px; font-weight: 700; color: var(--c-ink); display: flex; align-items: center; gap: 10px; }
.c-detail h3::before { content: ""; width: 4px; height: 20px; border-radius: 2px; background: #f2a516; }
.c-rows { margin: 0; background: #f4f7fb; border: 1px solid #e3e9f1; border-radius: 14px; padding: 2px 18px; max-width: 880px; }
.c-panel > .c-rows { margin: 18px 0 14px; }
.c-rows > div { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 12px 2px; border-bottom: 1px solid #e3e9f1; }
.c-rows > div:last-child { border-bottom: 0; }
.c-rows dt { font-weight: 600; font-size: 15px; color: #1b2230; }
.c-rows dd { margin: 0; font-size: 15px; line-height: 1.5; color: #2b3240; }
.c-text { margin: 0; max-width: 880px; font-size: 15px; line-height: 1.6; color: #2b3240; background: #f4f7fb; border: 1px solid #e3e9f1; border-radius: 14px; padding: 14px 18px; }
.c-steps { list-style: none; counter-reset: st; margin: 0; padding: 0; display: grid; gap: 10px; }
.c-steps li { counter-increment: st; position: relative; padding: 11px 16px 11px 54px; min-height: 44px; display: flex; align-items: center;
  background: var(--c-white); border: 1px solid #e3e9f1; border-radius: 12px; font-size: 15px; line-height: 1.45; color: #2b3240; }
.c-steps li::before { content: counter(st); position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--brand-navy); color: #fff; font-weight: 700; font-size: 14px; }
.c-glance { margin: 26px 0 0; }
.c-glance-list { margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.c-glance-list > div { background: #f4f7fb; border: 1px solid #e3e9f1; border-radius: 12px; padding: 9px 14px; }
.c-glance-list dt { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #5d6575; }
.c-glance-list dd { margin: 2px 0 0; font-size: 15px; font-weight: 600; color: #1b2230; }
.c-panel .c-detail + .c-note, .c-panel .c-detail ~ .c-note { margin-top: 14px; margin-bottom: 18px; }
@media (max-width: 640px) {
  .c-rows { padding: 2px 14px; }
  .c-rows > div { grid-template-columns: 1fr; gap: 4px; }
  .c-glance-list > div { flex: 1 1 calc(50% - 10px); }
}

/* ---- The Truth: UGC fake universities */
.pg-fake { padding: 22px 26px; }
.pg-fake-lead { display: flex; gap: 14px; align-items: flex-start; margin: 0 0 18px; font-size: 16px; line-height: 1.55; color: #2b3240; }
.pg-fake-lead .ic { flex: none; font-size: 26px; color: #d64545; margin-top: 2px; }
.pg-fake-list { margin: 0; padding: 0 0 0 22px; columns: 2; column-gap: 40px; font-size: 15px; line-height: 1.5; color: #1b2230; }
.pg-fake-list li { break-inside: avoid; padding: 4px 0; }
.pg-fake-src { margin: 18px 0 0; font-size: 13px; color: #5d6575; }
@media (max-width: 720px) { .pg-fake-list { columns: 1; } }
@media (max-width: 480px) {
  .pg-country { gap: 7px; font-size: 14px; }
  .pg-country .flag { width: 20px; height: 20px; }
}
.c-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.c-links a { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border-radius: 999px; background: #f4f7fb; border: 1px solid #e3e9f1;
  color: var(--brand-navy); font-weight: 600; font-size: 15px; text-decoration: none; }
.c-links a:hover { border-color: #c8d8ef; background: #eaf1fb; }

/* ---- Explorer layout: big globe on top, the selected country and the comparison below it */
.dx-grid { grid-template-columns: minmax(0, 2.2fr) minmax(0, .8fr) minmax(0, .95fr); grid-template-areas: "stage cont list" "card card card" "cmp cmp cmp"; }
.dx-stage { grid-area: stage; min-height: 600px; }
.dx-continents { grid-area: cont; }
.dx-countries { grid-area: list; }
.dx-card { grid-area: card; }
.dx-cmp { grid-area: cmp; }
.dx-list { max-height: 520px; }
@media (min-width: 1001px) {
  .dx-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 8px 22px; padding: 12px; align-items: stretch; }
  .dx-card.dx-card-empty { display: flex; }
  .dx-card .dx-photo { height: auto; min-height: 340px; }
  .dx-card .dx-card-body { padding: 10px 8px 4px; }
  .dx-card .dx-card-head { margin-top: 0; }
  .dx-card .dx-card-head h2 { font-size: 32px; text-shadow: none; }
  .dx-card .dx-flag-lg { width: 58px; height: 40px; }
  .dx-card .dx-desc { font-size: 17px; }
  .dx-card .dx-fact strong { font-size: 16px; }
  .dx-card .dx-fact span { font-size: 13px; }
  .dx-card .dx-act { font-size: 14.5px; }
  .dx-card .dx-card-actions { max-width: 560px; }
}
@media (max-width: 1440px) {
  .dx-grid { grid-template-columns: minmax(0, 2fr) minmax(0, .85fr) minmax(0, 1fr); }
  .dx-stage { min-height: 540px; }
}
@media (max-width: 1240px) {
  .dx-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "stage stage" "cont list" "card card" "cmp cmp"; }
  .dx-stage { min-height: 480px; }
  .dx-list { max-height: 420px; }
}
@media (max-width: 760px) {
  .dx-grid { grid-template-columns: 1fr; grid-template-areas: "stage" "cont" "list" "card" "cmp"; }
  .dx-stage { min-height: 360px; }
  .dx-list { max-height: 320px; }
}

/* Inline comparison */
.dx-cmp { padding: 20px 22px 22px; }
.dx-cmp-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; }
.dx-cmp-head h2 { margin: 0; font-size: 22px; font-weight: 700; }
.dx-cmp-sub { margin: 0; font-size: 14.5px; color: var(--dx-muted); }
.dx-cmp-body { margin-top: 14px; }
.dx-cmp-slots { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.dx-cmp-slots li { display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 10px 14px; border-radius: 12px; border: 1.5px dashed #c9d4e3; color: var(--dx-muted); font-size: 15px; }
.dx-cmp-slots li .ic { font-size: 20px; }
.dx-cmp-slots li.is-filled { border-style: solid; border-color: var(--dx-gold); background: #fff8e8; color: var(--dx-text); font-weight: 600; }
.dx-cmp-slots li.is-filled span { flex: 1; }
.dx-cmp-x { display: inline-grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 8px; background: transparent; color: var(--dx-muted); cursor: pointer; }
.dx-cmp-x:hover { background: #eef3f9; color: var(--dx-text); }
.dx-cmp-th { display: inline-flex; align-items: center; gap: 4px; }
.dx-cmp .dx-compare-table { font-size: 15.5px; }
.dx-cmp .dx-compare-table thead th { font-size: 17px; }
.dx-cmp .dx-compare-table td { min-width: 180px; }
.dx-cmp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 16px; }
@media (max-width: 760px) {
  .dx-cmp { padding: 16px 14px; }
  .dx-cmp-slots { grid-template-columns: 1fr; }
  .dx-cmp .dx-compare-table td { min-width: 140px; }
}
.dx-tray.is-near { opacity: 0; visibility: hidden; transform: translate(-50%, 12px); }
.dx-tray { transition: opacity .2s, transform .2s, visibility .2s; }

/* ---- Universities: list on the country page and the university page */
.uni-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-width: 880px; }
.uni-item { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 14px; background: #fff; border: 1px solid #e3e9f1;
  box-shadow: 0 4px 12px rgba(10,30,60,.05); color: var(--c-ink); text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.uni-item:hover { border-color: #c8d8ef; box-shadow: 0 10px 22px rgba(10,30,60,.1); }
.uni-item-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.uni-item-main strong { font-size: 17px; }
.uni-item-main small { font-size: 14px; color: #5d6575; }
.uni-item-n { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--brand-navy); white-space: nowrap; }
.uni-rank { display: flex; align-items: center; gap: 10px; padding: 6px 12px 6px 6px; border-radius: 12px; background: #eef3fb; max-width: 260px; }
.uni-rank b { display: grid; place-items: center; min-width: 40px; height: 30px; padding: 0 8px; border-radius: 999px; background: var(--brand-navy); color: #fff; font-size: 14px; }
.uni-rank small { font-size: 12.5px; line-height: 1.3; color: #4b5361; }
.uni-rank-lg { flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 20px; align-self: flex-start; min-width: 200px; }
.uni-rank-lg b { min-width: 72px; height: 54px; font-size: 24px; }
.uni-about { display: flex; gap: 24px; padding: 22px 24px; align-items: flex-start; }
.uni-about-main { flex: 1; min-width: 0; }
.uni-about .c-rows { max-width: none; }
.uni-about-text { margin: 16px 2px 0; font-size: 16px; line-height: 1.6; color: #2b3240; }
.uni-course-nav { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.uni-course { padding: 22px 24px; margin-bottom: 18px; scroll-margin-top: 140px; }
.uni-course-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-bottom: 16px; border-bottom: 1px solid #e3e9f1; }
.uni-level { margin: 0 0 4px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #b7791f; }
.uni-course-head h3 { margin: 0 0 6px; font-size: 24px; color: var(--c-ink); }
.uni-src { font-size: 14px; font-weight: 600; color: var(--brand-royal); }
p.uni-src { margin: 8px 2px 0; }
.uni-cost { margin: 0; padding: 12px 18px; border-radius: 14px; background: #fff8e8; border: 1px solid #f3dca4; align-self: flex-start; }
.uni-cost small { display: block; font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: #8a6a1f; }
.uni-cost strong { font-size: 18px; color: var(--c-ink); }
.uni-course-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; margin-top: 18px; }
.uni-course-grid h4 { margin: 0 0 10px; font-size: 16px; color: var(--c-ink); }
.uni-course-grid .c-rows > div { grid-template-columns: 150px 1fr; }
.uni-wide { grid-column: 1 / -1; }
.uni-bullets { margin: 0; padding: 12px 18px 12px 34px; background: #f4f7fb; border: 1px solid #e3e9f1; border-radius: 14px; font-size: 15px; line-height: 1.55; color: #2b3240; }
.uni-bullets li + li { margin-top: 6px; }
.uni-ask { color: #5d6575; font-style: italic; }
.uni-course-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.uni-foot { margin: 6px 2px 0; font-size: 13.5px; color: #5d6575; }
@media (max-width: 860px) {
  .uni-course-grid { grid-template-columns: 1fr; }
  .uni-about { flex-direction: column; }
  .uni-rank-lg { align-self: stretch; flex-direction: row; justify-content: flex-start; text-align: left; }
}
@media (max-width: 560px) {
  .uni-item { flex-wrap: wrap; }
  .uni-item .uni-rank { order: 3; max-width: none; }
  .uni-course, .uni-about { padding: 18px 16px; }
  .uni-course-grid .c-rows > div { grid-template-columns: 1fr; gap: 2px; }
}
.c-panel .c-detail + .btn { margin-top: 18px; }
.uni-src, p.uni-src a, .uni-about .c-rows a { display: inline-flex; align-items: center; min-height: 32px; }
@media (max-width: 760px) { .uni-src, p.uni-src a, .uni-about .c-rows a { min-height: 40px; } }
.uni-course-about { margin: 14px 0 0; font-size: 15.5px; line-height: 1.55; color: #2b3240; } .uni-course-grid section .c-rows + .c-rows { margin-top: 10px; }
.uni-course-nav .link-btn { display: inline-flex; align-items: center; min-height: 32px; } @media (max-width: 760px) { .uni-course-nav .link-btn { min-height: 40px; } }

/* ---- Country page: partner universities list */
.uni-names { max-width: 980px; }
.uni-names-sum { margin: 0 0 12px; font-size: 15px; color: #4b5361; }
.uni-search { display: flex; align-items: center; gap: 10px; max-width: 460px; height: 46px; padding: 0 14px; margin-bottom: 14px; border-radius: 12px; border: 1px solid #d5dde8; background: #fff; }
.uni-search:focus-within { border-color: var(--brand-royal); box-shadow: 0 0 0 3px rgba(30,100,220,.15); }
.uni-search .ic { font-size: 18px; color: #5d6575; flex: none; }
.uni-search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font: inherit; font-size: 15.5px; color: var(--c-ink); }
.uni-n-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; }
.uni-n-list li[hidden] { display: none; }
.uni-n { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; min-height: 48px; height: 100%; padding: 10px 14px; border-radius: 12px; background: #f4f7fb; border: 1px solid #e3e9f1; color: var(--c-ink); text-decoration: none; }
.uni-n-name { flex: 1 1 200px; font-size: 15px; font-weight: 600; line-height: 1.35; }
.uni-n-count { font-size: 13.5px; color: #5d6575; white-space: nowrap; }
.uni-n.is-link { background: #fff; border-color: #c8d8ef; }
.uni-n.is-link:hover { border-color: var(--brand-royal); box-shadow: 0 6px 16px rgba(10,30,60,.08); }
.uni-n-go { display: inline-flex; align-items: center; gap: 4px; font-size: 13.5px; font-weight: 600; color: var(--brand-royal); white-space: nowrap; }
.uni-more { margin-top: 8px; }
.uni-more > summary { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; margin: 4px 0 10px; border-radius: 999px; border: 1.5px solid var(--brand-navy);
  color: var(--brand-navy); font-weight: 600; font-size: 15px; cursor: pointer; list-style: none; }
.uni-more > summary::-webkit-details-marker { display: none; }
.uni-more > summary[hidden] { display: none; }
.uni-more[open] > summary { margin-bottom: 12px; }
.uni-none { margin: 12px 2px 0; font-size: 15px; color: #4b5361; }
@media (max-width: 760px) { .uni-n-list { grid-template-columns: 1fr; } .uni-search { max-width: none; } }

/* ---- University page: simple course table */
.uni-table-wrap { padding: 0; overflow-x: auto; }
.uni-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.uni-table th, .uni-table td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid #e6e9ee; }
.uni-table thead th { background: #f4f7fb; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #4b5361; white-space: nowrap; }
.uni-table tbody tr:last-child > * { border-bottom: 0; }
.uni-table tbody th { font-weight: 600; color: var(--c-ink); min-width: 240px; }
.uni-table tbody th a { color: var(--c-ink); text-decoration: underline; text-decoration-color: #c8d8ef; text-underline-offset: 3px; }
.uni-table tbody th a:hover { color: var(--brand-royal); }
.uni-table small { display: block; margin-top: 3px; font-size: 12.5px; font-weight: 500; color: #5d6575; }
.uni-table td:nth-child(2) { font-weight: 600; min-width: 160px; }
.uni-yes, .uni-no { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 700; }
.uni-yes { background: #e3f6ea; color: #17733d; }
.uni-no { background: #f1f3f6; color: #4b5361; }
.uni-unknown { color: #5d6575; font-style: italic; font-weight: 400; }
.uni-t-ask { text-align: right; white-space: nowrap; }
.uni-t-ask .link-btn { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; font-weight: 600; }
@media (max-width: 760px) {
  .uni-table thead { display: none; }
  .uni-table, .uni-table tbody, .uni-table tr, .uni-table th, .uni-table td { display: block; width: auto; }
  .uni-table tr { padding: 12px 16px; border-bottom: 1px solid #e6e9ee; }
  .uni-table tbody tr:last-child { border-bottom: 0; }
  .uni-table th, .uni-table td { padding: 4px 0; border: 0; min-width: 0; }
  .uni-table tbody th { font-size: 16px; margin-bottom: 6px; }
  .uni-table td[data-label]::before { content: attr(data-label) ": "; font-weight: 600; color: #4b5361; }
  .uni-t-ask { text-align: left; }
  .uni-t-ask .link-btn { min-height: 40px; }
}

.uni-table tbody th a { display: inline-block; padding: 6px 0; margin: -6px 0; line-height: 1.35; }
@media (max-width: 760px) { .uni-table tbody th a { padding: 10px 0; margin: -10px 0; } }

/* ---- Course finder (country page, Courses tab) */
.cf { max-width: 1100px; }
.cf-sub { margin: 0 0 12px; font-size: 15px; color: #4b5361; }
.cf-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin-bottom: 12px; }
.cf-field { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; color: #4b5361; }
.cf-field input, .cf-field select { height: 46px; padding: 0 12px; border-radius: 12px; border: 1px solid #d5dde8; background: #fff; font: inherit; font-size: 15px; font-weight: 400; color: var(--c-ink); }
.cf-field input:focus, .cf-field select:focus { outline: 0; border-color: var(--brand-royal); box-shadow: 0 0 0 3px rgba(30,100,220,.15); }
.cf-q { flex: 1 1 320px; }
.cf-reset { min-height: 46px; }
.cf-count { margin: 0 0 10px; font-size: 14.5px; font-weight: 600; color: var(--c-ink); }
.cf-wrap { border: 1px solid #e3e9f1; border-radius: 14px; background: #fff; overflow-x: auto; }
.cf-table td:nth-child(2) a { color: var(--brand-royal); font-weight: 600; }
.cf-table td:nth-child(3) { font-weight: 600; min-width: 150px; }
.cf-more { margin-top: 14px; }
.cf-more[hidden] { display: none; }
@media (max-width: 760px) { .cf-field { flex: 1 1 140px; } .cf-field select { width: 100%; } }
.cf-table td:nth-child(2) a { display: inline-block; padding: 6px 0; margin: -6px 0; }
@media (max-width: 760px) { .cf-table td:nth-child(2) a { padding: 10px 0; margin: -10px 0; } }

/* ---- Loan enquiry form */
.field.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 14.5px; line-height: 1.45; cursor: pointer; min-height: 32px; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--brand-navy); }

.fx-loan { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; margin-top: 18px; padding: 24px 28px; }
.fx-loan-ic { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: #fff3d6; flex: none; }
.fx-loan-ic .ic { font-size: 32px; color: #b7791f; }
.fx-loan-text { flex: 1 1 360px; }
.fx-loan-text h2 { margin: 0 0 6px; font-size: 22px; }
.fx-loan-text p { margin: 0; font-size: 15.5px; line-height: 1.55; color: #4b5361; }
.fx-loan-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.fx-loan-actions .link-btn { display: inline-flex; align-items: center; min-height: 40px; }
@media (max-width: 760px) { .fx-loan { padding: 20px 18px; } .fx-loan-actions { width: 100%; } .fx-loan-actions .btn { flex: 1; justify-content: center; } }

/* ---- 404 page */
.nf-link { display: flex; flex-direction: column; gap: 8px; color: inherit; text-decoration: none; min-height: 44px; }
.nf-link:hover h3 { color: var(--brand-royal); }


/* =====================================================================
   Polish pass, following the unslop method by Damir Sokolovsky
   (@heydamir, https://github.com/heydamir/unslop, CC BY 4.0).
   Direction — candid, grounded, warm; a counsellor's desk; moments: the
   departure photo and real ₹ figures; signature: the dashed route line.
   Brand kept: navy + gold, Newsreader headlines, Roboto interface.
   ===================================================================== */

/* Type: sentence case, no wide tracking on labels */
.eyebrow, .sr-head, .result-main, .step-no, .cost-table th, .footer-slogan, .footer-col h2, .dx-kicker,
.fx-result-main > span, .pg-kicker, .pg-service h4, .pg-myth strong, .pg-work-route small, .c-glance-list dt,
.uni-level, .uni-cost small, .uni-table thead th {
  text-transform: none; letter-spacing: .01em;
}
.eyebrow { font-size: 15px; font-weight: 500; }
.pg-kicker, .dx-kicker { font-size: 15px; font-weight: 500; }
.step-no { font-size: 13px; font-weight: 500; }
.footer-col h2 { font-size: 14px; }
.uni-table thead th { font-size: 13px; }

/* Type: hierarchy from size and colour, not heavy weights; no italic emphasis */
h2, h3, .section-title { font-weight: 600; }
.hero-title .l3, .pg-hero h1 em { font-style: normal; }
.uni-ask, .uni-unknown { font-style: normal; }
.dx-hero h1, .fx-copy h1 { font-family: var(--f-serif); font-weight: 500; letter-spacing: -0.01em; }

/* Colour: no glows, no gradient buttons, no colour washes */
.search-tab.is-active { box-shadow: 0 1px 2px rgba(0,0,0,.12); }
.search-bar { box-shadow: 0 0 0 1px rgba(255,255,255,.35), 0 8px 24px rgba(0,0,0,.18); }
.search-bar:focus-within { box-shadow: 0 0 0 2px var(--brand-royal), 0 8px 24px rgba(0,0,0,.18); }
.dx-card-actions .btn-gold { background: var(--c-gold-cta); }
.dx-card-actions .btn-gold:hover { background: #f5b545; }
.dx-stage { background: none; }

/* Layout: one primary action in the hero, the story as a quiet secondary */
.hero-ctas .btn-outline { border-color: transparent; background: transparent; padding-left: 8px; }
.hero-ctas .btn-outline:hover { background: rgba(255,255,255,.1); }

/* Motion: the tools photo stays still; no zoom on hover */
.tools-bg img { animation: none; transform: none; will-change: auto; }
.tools-bg .mist, .tools-toggle { display: none; }
.dest-card:hover > img:first-child, .fx-cont:hover img { transform: none; }

/* Brand moment kept: the last line of the hero headline in gold, upright */
.hero-title .l3 { color: var(--c-gold); }


/* =====================================================================
   Polish pass 2: each row gets its own shape instead of identical boxes
   ===================================================================== */
/* Why UNIDUNIA: one lead promise, four supporting points as a quiet list */
.features { padding: 34px 48px 36px; }
.feature-list { grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)); column-gap: 48px; row-gap: 4px; align-items: stretch; }
.feature-list > .feature:nth-child(n) { border-left: 0; padding: 12px 0; min-height: 0; }
.feature-list > .feature:not(.feature-lead) { border-top: 1px solid var(--c-divider); }
.feature-list > .feature:not(.feature-lead) .ic { display: none; }
.feature-list > .feature:not(.feature-lead) h3 { font-size: 15.5px; }
.feature-list > .feature:not(.feature-lead) p { font-size: 13.5px; line-height: 1.4; }
.feature-list > .feature-lead { grid-row: 1 / span 2; padding: 0 32px 0 0; border-right: 1px solid var(--c-divider); }
.feature-lead .feature-link { align-items: flex-start; gap: 18px; }
.feature-lead .ic { font-size: 40px; color: var(--c-navy-ink); flex: none; margin-top: 4px; }
.feature-lead h3 { font-family: var(--f-serif); font-size: 28px; line-height: 1.15; font-weight: 500; letter-spacing: -0.01em; }
.feature-lead p { margin-top: 6px; font-size: 16px; line-height: 1.45; }
@media (max-width: 760px) {
  .features { padding: 26px var(--gutter); }
  .feature-list { grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .feature-list > .feature-lead { grid-column: 1 / -1; grid-row: auto; border-right: 0; padding: 0 0 14px; }
  .feature-lead h3 { font-size: 23px; }
}
@media (max-width: 400px) { .feature-list { grid-template-columns: 1fr; } }

/* Tools: the main calculator as one card, the rest as a plain list of links */
.tool-list { grid-template-columns: minmax(220px, 1.25fr) repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto; column-gap: 28px; row-gap: 0; align-items: stretch; }
.tool-list > .tool-lead { grid-row: 1 / span 2; }
.tool-lead .tool-card { height: 100%; min-height: 128px; align-items: flex-start; justify-content: flex-end; text-align: left; padding: 18px 20px; font-size: 17px; font-weight: 600; line-height: 1.25; }
.tool-lead .tool-card > .ic { color: var(--c-gold); margin-bottom: 10px; }
.tool-lead small { display: block; margin-top: 6px; font-size: 13.5px; font-weight: 400; line-height: 1.4; color: rgba(255,255,255,.82); }
.tool-list > li:not(.tool-lead) .tool-card {
  height: 100%; min-height: 0; flex-direction: row; justify-content: flex-start; gap: 10px; text-align: left;
  padding: 12px 0; border: 0; border-bottom: 1px solid rgba(255,255,255,.22); border-radius: 0;
  background: none; -webkit-backdrop-filter: none; backdrop-filter: none; font-size: 14.5px; line-height: 1.3;
}
.tool-list > li:not(.tool-lead) .tool-card br { display: none; }
.tool-list > li:not(.tool-lead) .tool-card > .ic { font-size: 22px; margin: 0; flex: none; }
.tool-list > li:not(.tool-lead) .tool-card:hover { transform: none; background: none; color: var(--c-gold); }
.tool-list .tool-card.tool-all { color: var(--c-gold); font-weight: 600; }
.tool-list .tool-card.tool-all .ic { order: 2; font-size: 20px; }
@media (max-width: 1180px) { .tool-list { grid-template-columns: minmax(200px, 1.2fr) repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(3, auto); } .tool-list > .tool-lead { grid-row: 1 / span 3; } }
@media (max-width: 760px) {
  .tool-list { grid-template-columns: 1fr 1fr; grid-template-rows: none; column-gap: 18px; }
  .tool-list > .tool-lead { grid-column: 1 / -1; grid-row: auto; margin-bottom: 6px; }
  .tool-list > li:not(.tool-lead) .tool-card, .tool-list .tool-card.tool-all { height: 100%; padding: 12px 0; font-size: 13.5px; }
}

/* How it works: a numbered timeline instead of six icon circles */
.steps-home { padding-left: 0; }
.steps-home .step-ic, .steps-home .step::before { display: none; }
.steps-home .step { border-top: 2px solid var(--c-divider); padding-top: 16px; transition: border-color .25s var(--ease); }
.steps-home .step:hover { border-top-color: var(--brand-royal); }
.steps-home .step-no { font-family: var(--f-serif); font-size: 46px; line-height: 1; font-weight: 500; letter-spacing: 0; color: var(--brand-royal); }
@media (max-width: 760px) {
  .steps-home { row-gap: 0; }
  .steps-home .step { grid-template-columns: 44px 1fr; border-top: 0; border-bottom: 1px solid var(--c-divider); padding: 16px 0; }
  .steps-home .step-no { grid-row: 1 / span 2; font-size: 34px; }
  .steps-home .step::before, .steps-home .step:nth-child(3)::before { display: none; }
}

/* =====================================================================
   Transitions: a soft fade between pages, and sections that rise into
   view once as you scroll. Off for anyone who asks for reduced motion.
   ===================================================================== */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .site-header { view-transition-name: site-header; }
  /* The old page fades and lifts away; the new one glides up into place. The menu bar stays still. */
  ::view-transition-old(root) { animation: ptOut .22s cubic-bezier(.4, 0, 1, 1) both; }
  ::view-transition-new(root) { animation: ptIn .45s cubic-bezier(.2, .7, .2, 1) .06s both; }
  ::view-transition-group(site-header) { animation: none; }
  /* Browsers without page-to-page transitions (e.g. Firefox) get the same feel from main.js */
  html.pt-js main, html.pt-js .site-footer { animation: ptIn .45s cubic-bezier(.2, .7, .2, 1) both; }
  html.pt-js.pt-leaving main, html.pt-js.pt-leaving .site-footer { opacity: 0; transform: translateY(-10px); transition: opacity .2s ease, transform .2s ease; }
  .rv-on .rv { opacity: 0; transform: translateY(18px); }
  .rv-on .rv.is-in { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--rv-i, 0) * 70ms); }
}
@media print { .rv-on .rv { opacity: 1 !important; transform: none !important; } }


/* All destinations: one dropdown instead of a wall of country boxes */
.dx-all-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.dx-all-head .section-title { margin-bottom: 10px; }
.dx-all-lead { color: var(--dx-muted, #5b6b80); font-size: 15.5px; }
.dx-pick { position: relative; flex: 0 1 460px; min-width: 0; }
.dx-pick-btn { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border: 1px solid #cfd9e6; border-radius: 12px; background: #fff;
  cursor: pointer; list-style: none; font-size: 16px; font-weight: 600; color: var(--c-ink); transition: border-color .2s, box-shadow .2s; }
.dx-pick-btn::-webkit-details-marker { display: none; }
.dx-pick-btn:hover, .dx-pick[open] .dx-pick-btn { border-color: var(--brand-royal); box-shadow: 0 0 0 3px rgba(31,95,214,.12); }
.dx-pick-btn > .ic:first-child { font-size: 22px; color: var(--brand-royal); flex: none; }
.dx-pick-btn > span:first-of-type { flex: 1; }
.dx-pick-n { font-size: 13.5px; font-weight: 500; color: var(--dx-muted, #5b6b80); }
.dx-pick-btn > .ic:last-child { font-size: 18px; flex: none; transition: transform .2s var(--ease); }
.dx-pick[open] .dx-pick-btn > .ic:last-child { transform: rotate(180deg); }
.dx-pick-panel { position: absolute; z-index: 30; top: calc(100% + 8px); left: 0; right: 0; background: #fff; border: 1px solid #dbe3ee;
  border-radius: 14px; box-shadow: 0 18px 40px rgba(10,30,60,.16); padding: 12px; }
.dx-pick[open] .dx-pick-panel { animation: dxPickIn .18s var(--ease); }
@keyframes dxPickIn { from { opacity: 0; transform: translateY(-6px); } }
.dx-pick-search { display: flex; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid #dbe3ee; border-radius: 10px; background: #f8fafd; }
.dx-pick-search .ic { color: var(--dx-muted, #5b6b80); flex: none; }
.dx-pick-search input { flex: 1; min-width: 0; border: 0; background: none; padding: 11px 0; font: inherit; font-size: 15px; outline: none; }
.dx-pick-list { max-height: min(420px, 60vh); overflow-y: auto; overscroll-behavior: contain; margin-top: 8px; padding-right: 4px; }
.dx-pick .dx-all-group + .dx-all-group { margin-top: 10px; }
.dx-pick .dx-all-group h3 { position: sticky; top: 0; z-index: 1; margin: 0; padding: 8px 6px 6px; background: #fff; font-size: 13.5px; font-weight: 600; color: var(--dx-muted, #5b6b80); }
.dx-pick .dx-all-group ul { display: block; }
.dx-pick .dx-all-group a { border: 0; background: none; border-radius: 8px; padding: 9px 8px; }
.dx-pick .dx-all-group a:hover, .dx-pick .dx-all-group a:focus-visible { background: var(--brand-sky); color: var(--brand-navy); }
.dx-pick-none { padding: 14px 8px 6px; color: var(--dx-muted, #5b6b80); font-size: 14.5px; }
@media (max-width: 760px) {
  .dx-all-inner { padding: 22px 18px 24px; }
  .dx-pick { flex-basis: 100%; }
  .dx-pick-n { display: none; }
  .dx-pick-panel { position: static; margin-top: 8px; box-shadow: none; }
}

@keyframes ptOut { to { opacity: 0; transform: translateY(-12px); } }
@keyframes ptIn { from { opacity: 0; transform: translateY(18px); } }


/* Email / WhatsApp verification codes in the enquiry forms */
.vf-row { display: flex; gap: 8px; align-items: stretch; }
.vf-row > input { flex: 1; min-width: 0; }
.vf-row .vf-send { flex: none; height: auto; min-height: 42px; white-space: nowrap; }
.vf-code { display: flex; gap: 8px; margin-top: 2px; }
.vf-code .vf-input { width: 150px; letter-spacing: .3em; font-variant-numeric: tabular-nums; font-size: 17px; text-align: center; }
.vf-code .vf-check { height: auto; min-height: 42px; }
.vf-status { font-size: 13px; line-height: 1.45; color: var(--c-text-2, #4a5563); }
.vf-status:empty { display: none; }
.vf-status.is-err { color: #b42318; }
.vf-status.is-ok { color: #157347; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.vf-status .ic { font-size: 16px; }
.field.is-verified .vf-row > input { border-color: #2e9e5b; background: #f3fbf6; }
@media (max-width: 480px) { .vf-row { flex-direction: column; } .vf-row > input { flex: none; } .vf-row .vf-send { align-self: flex-start; } }
.vf-row .vf-send { background: #fff; color: var(--brand-navy, #0c1d3a); border: 1.5px solid var(--brand-navy, #0c1d3a); }
.vf-row .vf-send:hover:not(:disabled) { background: var(--brand-sky, #eaf3ff); }
.vf-row .vf-send:disabled { opacity: .6; cursor: default; }
