/* ──────────────────────────────────────────────────────────────────────
   MBBSAdmissions.com — Modern & Simple redesign
   Aesthetic: Stripe / Linear / Apple-edu — clarity over ornament.
   ────────────────────────────────────────────────────────────────────── */

:root {
  /* Palette — "High-Confidence Academic": navy authority + blue action + emerald trust + gold premium */
  --ink:          #0F172A;   /* primary text, dark surface */
  --ink-deep:     #0A1020;   /* deepest navy — footer/hero gradient floor */
  --ink-90:       rgba(15, 23, 42, 0.92);
  --slate:        #475569;   /* secondary text */
  --slate-light:  #94A3B8;   /* tertiary / placeholder */
  --accent:       #2563EB;   /* primary action */
  --accent-hover: #1D4ED8;
  --accent-bright:#3B82F6;   /* lighter blue for gradients / on-dark */
  --accent-soft:  rgba(37, 99, 235, 0.08);
  --accent-line:  rgba(37, 99, 235, 0.12);
  --accent-subtle:#EFF6FF;   /* compare-table highlighted column */
  --accent-hover-tint: #E0EBFF;

  /* Trust system */
  --emerald:      #059669;   /* verified / success */
  --emerald-soft: rgba(5, 150, 105, 0.10);
  --gold:         #D97706;   /* premium / stars */
  --gold-bright:  #F59E0B;
  --gold-soft:    rgba(217, 119, 6, 0.10);
  --whatsapp:     #25D366;   /* WhatsApp green */
  --whatsapp-dark:#1EBE5A;

  --success:      #15803D;
  --warning:      #B45309;
  --danger:       #B91C1C;
  --surface:      #F8FAFC;   /* alt section bg */
  --surface-2:    #F1F5F9;   /* deeper alt */
  --white:        #FFFFFF;
  --border:       #EDF1F6;
  --border-strong:#E2E8F0;

  /* On-dark tokens — for use over --ink / --ink-deep surfaces */
  --on-ink:        #FFFFFF;
  --on-ink-muted:  rgba(255, 255, 255, 0.72);
  --on-ink-faint:  rgba(255, 255, 255, 0.52);
  --on-ink-line:   rgba(255, 255, 255, 0.12);

  /* Typography — Fraunces (display) + Inter (text) */
  --font-display: 'Fraunces', 'Georgia', 'Times New Roman', serif;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --text-xs:    0.75rem;     /* 12 */
  --text-sm:    0.875rem;    /* 14 */
  --text-base:  1rem;        /* 16 */
  --text-lg:    1.125rem;    /* 18 */
  --text-xl:    1.25rem;     /* 20 */
  --text-2xl:   1.5rem;      /* 24 */
  --text-3xl:   1.875rem;    /* 30 */
  --text-4xl:   2.25rem;     /* 36 */
  --text-h1:    clamp(2.5rem, 5.5vw, 4rem);

  /* Spacing — 8pt scale */
  --space-1: 0.25rem; --space-2: 0.5rem;  --space-3: 0.75rem;
  --space-4: 1rem;    --space-5: 1.25rem; --space-6: 1.5rem;
  --space-8: 2rem;    --space-10: 2.5rem; --space-12: 3rem;
  --space-16: 4rem;   --space-20: 5rem;   --space-24: 6rem;

  /* Radius — softer, modern */
  --radius-sm: 8px; --radius-md: 12px; --radius-lg: 16px;  --radius-xl: 22px;

  /* Shadows */
  --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.04);
  --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.06), 0 1px 2px -1px rgb(0 0 0 / 0.04);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.06), 0 2px 4px -2px rgb(0 0 0 / 0.04);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.05);
  --shadow-premium: 0 20px 25px -5px rgb(0 0 0 / 0.10), 0 8px 10px -6px rgb(0 0 0 / 0.06);

  /* Section vertical rhythm */
  --section-y: clamp(3rem, 8vw, 5rem);

  /* Easing */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ───────────────────────────────────────────────────────────── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; scroll-padding-top: 80px; }
body {
  font-family: var(--font-main);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: inherit; }
a { color: inherit; text-decoration: none; }

/* ── Global focus state ──────────────────────────────────────────────── */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* ── Layout primitives ──────────────────────────────────────────────── */
.container {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.section-eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: var(--space-3);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.12;
  margin-bottom: var(--space-4);
}
.section-sub {
  font-size: var(--text-lg);
  color: var(--slate);
  max-width: 36rem;
  line-height: 1.6;
}

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: background 0.15s var(--ease), color 0.15s var(--ease), border-color 0.15s var(--ease), transform 0.1s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn [data-lucide] { width: 16px; height: 16px; }

.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-hover); }

.btn-secondary {
  background: var(--white); color: var(--ink); border-color: var(--border);
}
.btn-secondary:hover { border-color: var(--border-strong); background: var(--surface); }

.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--surface); }

.btn-lg { padding: var(--space-4) var(--space-6); font-size: var(--text-base); }

/* ── Nav ─────────────────────────────────────────────────────────────── */
nav {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
  height: 60px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--space-6);
}
.nav-logo {
  font-size: var(--text-lg); font-weight: 800;
  color: var(--ink); letter-spacing: -0.03em;
  display: inline-flex; align-items: center; gap: 0;
}
.nav-logo svg { margin-right: var(--space-2); flex-shrink: 0; }
.nav-logo span { color: var(--ink); font-weight: 500; letter-spacing: -0.01em; }
.nav-links { list-style: none; display: flex; align-items: center; gap: var(--space-6); }
.nav-links a {
  color: var(--slate);
  font-size: var(--text-sm); font-weight: 500;
  transition: color 0.15s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  background: var(--ink); color: var(--white) !important;
  padding: 0.5rem 0.9rem; border-radius: var(--radius-md);
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--accent); }

/* Hamburger — hidden on desktop */
.nav-hamburger {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: none; border: none;
  color: var(--ink); border-radius: var(--radius-md);
  transition: background 0.15s var(--ease);
}
.nav-hamburger:hover { background: var(--surface); }
.nav-hamburger [data-lucide] { width: 22px; height: 22px; }

/* ── Hero ────────────────────────────────────────────────────────────── */
#hero {
  padding: calc(60px + var(--space-16)) var(--space-6) var(--space-20);
  background:
    radial-gradient(ellipse 900px 500px at -5% 110%, rgba(37,99,235,0.07) 0%, transparent 65%),
    radial-gradient(ellipse 700px 400px at 108% -10%, rgba(37,99,235,0.05) 0%, transparent 65%),
    var(--white);
  text-align: center;
}
.hero-inner { max-width: 760px; margin: 0 auto; }
.hero-badge {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
  font-size: var(--text-xs); font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: var(--space-6);
}
.hero-badge [data-lucide] { width: 14px; height: 14px; }
.hero-title {
  font-family: var(--font-display);
  font-size: var(--text-h1);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.02;
  color: var(--ink);
  margin-bottom: var(--space-5);
}
.hero-title em {
  font-style: italic;
  color: var(--accent);
}
.hero-sub {
  font-size: var(--text-lg);
  color: var(--slate);
  max-width: 36rem;
  margin: 0 auto var(--space-8);
  line-height: 1.6;
}
.hero-ctas {
  display: flex; gap: var(--space-3); justify-content: center;
  flex-wrap: wrap; margin-bottom: var(--space-12);
}

.hero-search {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
  display: flex; gap: var(--space-2); align-items: stretch;
  max-width: 640px; margin: 0 auto;
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
}
.search-select {
  flex: 1; min-width: 180px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  color: var(--ink);
  font-size: var(--text-sm);
  transition: border-color 0.15s var(--ease);
}
.search-select:hover { border-color: var(--border-strong); }
.search-select:focus { border-color: var(--accent); }
.search-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  background: var(--ink); color: var(--white);
  border: none; border-radius: var(--radius-md);
  padding: 0 var(--space-5);
  font-weight: 600; font-size: var(--text-sm);
  transition: background 0.15s var(--ease);
}
.search-btn:hover { background: var(--accent); }
.search-btn [data-lucide] { width: 16px; height: 16px; }

/* Hero stats — below fold, smaller */
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6);
  max-width: 720px; margin: var(--space-16) auto 0;
  padding-top: var(--space-10);
  border-top: 1px solid var(--border);
}
.hero-stat { text-align: center; }
.hero-stat strong {
  display: block;
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.hero-stat span {
  font-size: var(--text-xs);
  color: var(--slate);
  letter-spacing: 0.04em; text-transform: uppercase;
}

/* ── NMC quiet strip ─────────────────────────────────────────────────── */
#nmc {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--space-4) var(--space-6);
}
.nmc-strip {
  max-width: 1024px; margin: 0 auto;
  display: flex; align-items: center; gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--slate);
}
.nmc-strip [data-lucide] { width: 18px; height: 18px; color: var(--warning); flex-shrink: 0; }
.nmc-strip strong { color: var(--ink); font-weight: 600; }

/* ── NMC guidelines — 4 cards on white ───────────────────────────────── */
#nmc-guidelines { padding: var(--section-y) var(--space-6); background: var(--white); }
.nmc-header { text-align: center; max-width: 640px; margin: 0 auto var(--space-12); }
.nmc-header .section-sub { margin: 0 auto; }
.nmc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-4);
  align-items: start;
}

/* Base card */
.nmc-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}

/* Expandable interaction */
.nmc-card.expandable { cursor: pointer; }
.nmc-card.expandable:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}
.nmc-card.expandable:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Open state — elevation + accent border + soft tint */
.nmc-card[aria-expanded="true"] {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  background: var(--accent-soft);
}

/* Card header row */
.nmc-card-header {
  display: flex; align-items: center; gap: var(--space-3);
  margin-bottom: var(--space-3);
}
.nmc-card-header h3 { flex: 1; margin-bottom: 0; }

/* Chevron */
.nmc-chevron {
  width: 16px; height: 16px;
  color: var(--slate);
  flex-shrink: 0;
  transition: transform 0.25s var(--ease), color 0.2s var(--ease);
}
.nmc-card[aria-expanded="true"] .nmc-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

/* Icon — accent shift on open */
.nmc-card .icon {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface);
  color: var(--slate);
  border-radius: var(--radius-md);
  flex-shrink: 0;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.nmc-card .icon [data-lucide] { width: 18px; height: 18px; }
.nmc-card[aria-expanded="true"] .nmc-card-header .icon {
  background: rgba(37, 99, 235, 0.12);
  color: var(--accent);
}

/* Summary — visible by default, clamped to 2 lines */
.nmc-summary {
  font-size: var(--text-sm); color: var(--slate); line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s var(--ease);
}
.nmc-card[aria-expanded="true"] .nmc-summary {
  -webkit-line-clamp: unset;
  overflow: visible;
}

/* Expand area — CSS grid rows (no magic number heights) */
.nmc-expand {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s var(--ease);
}
.nmc-expand > * { overflow: hidden; }
.nmc-card[aria-expanded="true"] .nmc-expand {
  grid-template-rows: 1fr;
}

/* Detail list */
.nmc-detail-list {
  list-style: none;
  display: flex; flex-direction: column; gap: var(--space-2);
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(37, 99, 235, 0.12);
}
.nmc-detail-list li {
  font-size: var(--text-sm); color: var(--slate); line-height: 1.6;
  padding-left: var(--space-4); position: relative;
}
.nmc-detail-list li::before {
  content: "·";
  position: absolute; left: 0;
  color: var(--accent); font-weight: 700; font-size: 1.1rem; line-height: 1.4;
}
.nmc-detail-list strong { color: var(--ink); }

.nmc-card h3 {
  font-size: var(--text-lg); font-weight: 600;
  color: var(--ink); margin-bottom: 0;
  letter-spacing: -0.01em;
}
.nmc-card p { font-size: var(--text-sm); color: var(--slate); line-height: 1.6; }

.nmc-alert {
  display: flex; gap: var(--space-3);
  margin-top: var(--space-8);
  background: rgba(180, 83, 9, 0.06);
  border: 1px solid rgba(180, 83, 9, 0.18);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
}
.nmc-alert [data-lucide] { width: 20px; height: 20px; color: var(--warning); flex-shrink: 0; margin-top: 2px; }
.nmc-alert p { font-size: var(--text-sm); color: var(--ink); line-height: 1.6; }
.nmc-alert strong { color: var(--warning); font-weight: 600; }

/* ── Countries — flat white cards ────────────────────────────────────── */
#countries { padding: var(--section-y) var(--space-6); background: var(--surface); }
.countries-header { text-align: center; max-width: 640px; margin: 0 auto var(--space-10); }
.countries-header .section-sub { margin: 0 auto; }

.country-tabs {
  display: flex; gap: var(--space-2); flex-wrap: wrap; justify-content: center;
  margin-bottom: var(--space-10);
}
.tab-btn {
  padding: 0.5rem 0.9rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: var(--text-sm); font-weight: 500;
  color: var(--slate);
  transition: all 0.15s var(--ease);
}
.tab-btn:hover { color: var(--ink); border-color: var(--border-strong); background: var(--surface); }
.tab-btn.active {
  background: var(--white);
  color: var(--ink);
  border-color: var(--border-strong);
  font-weight: 600;
  box-shadow: inset 0 -2px 0 var(--accent);
}

.countries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-4);
}
.country-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
  display: flex; flex-direction: column;
}
.country-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.country-card:active { transform: translateY(0); box-shadow: var(--shadow-sm); }
.country-card-header {
  display: flex; align-items: center; gap: var(--space-3);
  margin-bottom: var(--space-4);
}
.country-flag { font-size: 1.6rem; line-height: 1; }
.country-card-header h3 {
  font-size: var(--text-base); font-weight: 600;
  color: var(--ink); letter-spacing: -0.01em;
}
.country-card-header span { font-size: var(--text-xs); color: var(--slate); }

.country-meta {
  display: flex; gap: var(--space-2); flex-wrap: wrap;
  margin-bottom: var(--space-4);
}
.meta-tag {
  font-size: var(--text-xs); font-weight: 500;
  padding: 0.2rem 0.55rem; border-radius: 999px;
  background: var(--surface);
  color: var(--slate);
  border: 1px solid var(--border);
}
.meta-tag.green { background: rgba(21, 128, 61, 0.08); color: var(--success); border-color: transparent; }
.meta-tag.blue  { background: var(--surface); color: var(--slate); border-color: var(--border); }

.country-points {
  list-style: none;
  display: flex; flex-direction: column; gap: var(--space-2);
  margin-bottom: var(--space-5);
}
.country-points li {
  display: flex; align-items: flex-start; gap: var(--space-2);
  font-size: var(--text-sm); color: var(--slate); line-height: 1.5;
}
.country-points li [data-lucide] {
  width: 14px; height: 14px;
  color: var(--success); flex-shrink: 0; margin-top: 4px;
}

.country-card-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.fee-range strong { display: block; font-size: var(--text-base); font-weight: 600; color: var(--ink); }
.fee-range span { font-size: var(--text-xs); color: var(--slate); }
.view-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: var(--text-sm); font-weight: 500;
  color: var(--ink);
  background: transparent; border: none;
  padding: 0;
}
.view-btn:hover { color: var(--accent); }
.view-btn [data-lucide] { width: 14px; height: 14px; }

/* ── University search — light ───────────────────────────────────────── */
#university-search {
  padding: var(--section-y) var(--space-6);
  background: var(--surface);
  color: var(--ink);
}
.uni-search-inner { text-align: center; max-width: 640px; margin: 0 auto var(--space-8); }
.uni-search-inner .section-sub { margin: 0 auto; }

.uni-search-bar {
  display: flex; gap: var(--space-2); flex-wrap: wrap;
  max-width: 760px; margin: 0 auto var(--space-10);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
}
.uni-search-bar select, .uni-search-bar input {
  flex: 1; min-width: 200px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  color: var(--ink);
  font-size: var(--text-sm);
}
.uni-search-bar select:focus,
.uni-search-bar input:focus { border-color: var(--ink); outline: none; }
.uni-search-bar input::placeholder { color: var(--slate-light); }

.uni-search-btn {
  background: var(--ink); color: var(--white);
  border: none; border-radius: var(--radius-md);
  padding: 0 var(--space-5);
  font-weight: 600; font-size: var(--text-sm);
  transition: background 0.15s var(--ease);
}
.uni-search-btn:hover { background: var(--accent); }

.uni-results {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-3);
  max-width: 1024px; margin: 0 auto;
}
.uni-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.uni-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.uni-card:active { transform: translateY(0); box-shadow: var(--shadow-sm); }
.uni-card-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: var(--space-3); gap: var(--space-2);
}
.uni-card h4 {
  font-size: var(--text-sm); font-weight: 600;
  color: var(--ink); line-height: 1.4;
}
.nmc-tag {
  display: inline-flex; align-items: center; gap: 4px;
  background: rgba(21, 128, 61, 0.08);
  color: var(--success);
  font-size: 0.72rem; font-weight: 600;
  padding: 0.15rem 0.5rem; border-radius: var(--radius-sm);
  white-space: nowrap;
}
.nmc-tag [data-lucide] { width: 11px; height: 11px; }
.uni-details { display: flex; flex-direction: column; gap: var(--space-1); }
.uni-detail {
  font-size: var(--text-xs);
  color: var(--slate);
  display: flex; gap: var(--space-2); align-items: center;
}
.uni-detail strong { color: var(--ink); font-weight: 600; }
.uni-detail [data-lucide] { width: 12px; height: 12px; color: var(--slate-light); }

/* ── Comparison — 3 featured + modal ─────────────────────────────────── */
#comparison { padding: var(--section-y) var(--space-6); background: var(--white); }
.compare-header { text-align: center; max-width: 640px; margin: 0 auto var(--space-12); }
.compare-header .section-sub { margin: 0 auto; }

.compare-featured {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  max-width: 980px; margin: 0 auto var(--space-8);
}
.compare-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex; flex-direction: column;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.compare-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.compare-card:active { transform: translateY(0); box-shadow: var(--shadow-sm); }
.compare-card.recommended {
  border-color: var(--ink);
}
.compare-card h3 {
  font-size: var(--text-lg); font-weight: 600;
  color: var(--ink); letter-spacing: -0.01em;
  display: flex; align-items: center; gap: var(--space-2);
  margin-bottom: var(--space-4);
}
.compare-card .flag { font-size: 1.6rem; line-height: 1; }
.compare-rows { display: flex; flex-direction: column; gap: var(--space-3); }
.compare-row {
  display: flex; justify-content: space-between;
  font-size: var(--text-sm);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--border);
}
.compare-row:last-child { border-bottom: none; padding-bottom: 0; }
.compare-row .key { color: var(--slate); }
.compare-row .value { color: var(--ink); font-weight: 600; }

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

/* Full comparison modal */
.compare-dialog {
  border: none; border-radius: var(--radius-xl);
  padding: 0;
  /* Explicit centering — some browsers don't auto-center a sized <dialog> */
  position: fixed;
  inset: 0;
  margin: auto;
  max-width: min(96vw, 1200px);
  width: 100%;
  max-height: 86vh;
  background: var(--white);
  box-shadow: var(--shadow-premium);
}
.compare-dialog::backdrop {
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
}
.compare-dialog-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-5) var(--space-6);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; background: var(--white);
}
.compare-dialog-header h3 {
  font-size: var(--text-lg); font-weight: 600;
  color: var(--ink); letter-spacing: -0.01em;
}
.compare-dialog-close {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: none;
  color: var(--slate); border-radius: var(--radius-md);
  transition: background 0.15s var(--ease);
}
.compare-dialog-close:hover { background: var(--surface); color: var(--ink); }
.compare-dialog-close [data-lucide] { width: 18px; height: 18px; }

.compare-wrapper {
  overflow: auto;
  scroll-behavior: smooth;
  padding: 0;
  max-height: calc(86vh - 64px);
}
table.compare-table {
  table-layout: fixed;
  width: 100%;
  min-width: 1200px;
  border-collapse: separate;   /* sticky cells need separate */
  border-spacing: 0;
  font-size: var(--text-sm);
}

/* Header row — flag above name */
.compare-table thead th {
  background: var(--white);
  color: var(--ink);
  padding: var(--space-6) var(--space-3) var(--space-4);
  vertical-align: bottom;
  text-align: center;
  font-weight: 600;
  white-space: nowrap;
  border-bottom: 1px solid var(--border-strong);
  position: sticky; top: 0; z-index: 10;
}
.compare-table thead th:first-child { text-align: left; }
.compare-table thead .country-flag {
  display: block;
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: var(--space-2);
}
.compare-table thead .country-name {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink);
}

/* Parameter (first) column — sticky */
.compare-table th:first-child,
.compare-table td:first-child {
  position: sticky;
  left: 0;
  background: var(--white);
  z-index: 5;
  border-right: 1px solid var(--border-strong);
}
.compare-table thead th:first-child { z-index: 15; }

.compare-table td:first-child {
  font-weight: 500;
  color: var(--slate);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

/* Body cells */
.compare-table tbody td {
  padding: var(--space-4) var(--space-3);
  border-bottom: 1px solid var(--border);
  color: var(--ink);
  text-align: center;
  vertical-align: middle;
  line-height: 1.4;
}
.compare-table tbody td.fee-cell {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.compare-table tbody tr:hover td { background-color: var(--surface); }
.compare-table tbody tr:hover td:first-child { background-color: var(--surface); }

/* Color discipline — "Yes" goes quiet, only exceptions get color */
.compare-table .check   { color: var(--slate-light); font-weight: 500; }
.compare-table .check.yes { display: inline-block; color: var(--slate-light); font-weight: 500; }
.compare-table .check.yes::before { content: "✓"; }
.compare-table .partial { color: var(--warning); font-weight: 600; }
.compare-table .cross   { color: var(--danger);  font-weight: 600; }

/* Romania highlight — subtle column tint */
.compare-table .highlight-col {
  background-color: var(--accent-subtle) !important;
}
.compare-table thead th.highlight-col {
  padding-top: calc(var(--space-6) + 18px);
  position: sticky; top: 0;
}
.compare-table thead th.highlight-col::before {
  content: "Best EU Recognition";
  position: absolute; top: 0; left: 0; right: 0;
  background: var(--accent); color: var(--white);
  font-size: 10px; font-weight: 700;
  padding: 3px 0;
  text-align: center;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.compare-table tbody tr:hover td.highlight-col { background-color: var(--accent-hover-tint); }

/* Romania "Best for EU recognition" badge in featured cards */
.compare-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
  margin-left: var(--space-2);
  vertical-align: middle;
}

/* Safety score — dots instead of "3/5" text */
.safety-score {
  display: inline-flex; gap: 4px;
  justify-content: center; align-items: center;
}
.safety-score .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--border-strong);
}
.safety-score .dot.filled { background: var(--ink); }
.compare-table tbody tr:hover td.highlight-col .dot { background: var(--border-strong); }
.compare-table tbody tr:hover td.highlight-col .dot.filled { background: var(--ink); }

/* ── Courses — flat ──────────────────────────────────────────────────── */
#courses { padding: var(--section-y) var(--space-6); background: var(--surface); }
.courses-header { text-align: center; max-width: 640px; margin: 0 auto var(--space-10); }
.courses-header .section-sub { margin: 0 auto; }
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-4);
}
.course-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.course-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.course-card:active { transform: translateY(0); box-shadow: var(--shadow-sm); }
.course-card-top {
  display: flex; align-items: center; gap: var(--space-3);
  margin-bottom: var(--space-4);
}
.course-icon {
  width: 36px; height: 36px;
  background: var(--surface); color: var(--slate);
  border-radius: var(--radius-md);
  display: inline-flex; align-items: center; justify-content: center;
}
.course-icon [data-lucide] { width: 18px; height: 18px; }
.course-card-top h3 {
  font-size: var(--text-base); font-weight: 600;
  color: var(--ink); letter-spacing: -0.01em;
}
.course-card-top span { font-size: var(--text-xs); color: var(--slate); }
.course-card-body {
  display: flex; flex-direction: column; gap: var(--space-2);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
}
.course-row {
  display: flex; justify-content: space-between;
  font-size: var(--text-sm);
}
.course-row span { color: var(--slate); }
.course-row strong { color: var(--ink); font-weight: 600; }

/* ── Contact ─────────────────────────────────────────────────────────── */
#contact { padding: var(--section-y) var(--space-6); background: var(--white); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: var(--space-12);
  max-width: 1040px; margin: 0 auto;
  align-items: start;
}
.trust-row {
  display: flex; gap: var(--space-6); flex-wrap: wrap;
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
}
.trust-stat strong {
  display: block; font-size: var(--text-2xl); font-weight: 700;
  color: var(--ink); letter-spacing: -0.02em;
}
.trust-stat span {
  font-size: var(--text-xs); color: var(--slate);
  text-transform: uppercase; letter-spacing: 0.04em;
}

.contact-methods { display: flex; flex-direction: column; gap: var(--space-3); margin-top: var(--space-6); }
.contact-method {
  display: flex; align-items: center; gap: var(--space-3);
  padding: var(--space-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.contact-method .icon {
  width: 36px; height: 36px;
  background: var(--surface); color: var(--accent);
  border-radius: var(--radius-md);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-method .icon [data-lucide] { width: 16px; height: 16px; }
.contact-method .label { font-size: var(--text-xs); color: var(--slate); }
.contact-method .value { font-size: var(--text-sm); color: var(--ink); font-weight: 500; }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
}
.contact-form h3 {
  font-size: var(--text-lg); font-weight: 600;
  color: var(--ink); letter-spacing: -0.01em;
  margin-bottom: var(--space-5);
}
.form-group { margin-bottom: var(--space-4); }
.form-group label {
  display: block; font-size: var(--text-xs); font-weight: 500;
  color: var(--slate); margin-bottom: 6px;
  letter-spacing: 0.02em; text-transform: uppercase;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  color: var(--ink);
  font-size: var(--text-sm);
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  outline: none;
}
.form-group textarea { resize: vertical; min-height: 96px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.submit-btn {
  width: 100%;
  background: var(--accent); color: var(--white);
  border: none; border-radius: var(--radius-md);
  padding: var(--space-4);
  font-size: var(--text-sm); font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  transition: background 0.15s var(--ease);
}
.submit-btn:hover { background: var(--accent-hover); }
.submit-btn [data-lucide] { width: 16px; height: 16px; }
.urgent-tag {
  display: flex; align-items: center; gap: var(--space-2);
  justify-content: center;
  margin-top: var(--space-3);
  font-size: var(--text-xs); color: var(--slate);
}
.urgent-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--success);
}

/* ── Chat widget — clean glyph ───────────────────────────────────────── */
#chat-widget { position: fixed; bottom: var(--space-6); right: var(--space-6); z-index: 9999; }
.chat-trigger {
  width: 56px; height: 56px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  border: none;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-premium);
  transition: transform 0.15s var(--ease), background 0.15s var(--ease);
  position: relative;
}
.chat-trigger:hover { background: var(--accent); }
.chat-trigger [data-lucide] { width: 22px; height: 22px; }

.chat-window {
  position: absolute; bottom: 72px; right: 0;
  width: 380px; max-width: calc(100vw - 2 * var(--space-6));
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-premium);
  display: none; flex-direction: column;
  overflow: hidden;
}
.chat-window.open { display: flex; animation: reveal 0.25s var(--ease); }

.chat-header {
  display: flex; align-items: center; gap: var(--space-3);
  padding: var(--space-4);
  background: var(--ink); color: var(--white);
}
.chat-avatar {
  width: 36px; height: 36px;
  background: rgba(255, 255, 255, 0.10);
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--white);
}
.chat-avatar [data-lucide] { width: 18px; height: 18px; }
.chat-header-info h4 {
  font-size: var(--text-sm); font-weight: 600;
  letter-spacing: -0.01em;
}
.chat-online {
  display: flex; align-items: center; gap: 6px;
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.72);
}
.chat-online .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--success);
}
.chat-close-btn {
  margin-left: auto;
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: none;
  color: rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-md);
  transition: background 0.15s var(--ease);
}
.chat-close-btn:hover { background: rgba(255, 255, 255, 0.10); color: var(--white); }
.chat-close-btn [data-lucide] { width: 16px; height: 16px; }

.chat-messages {
  flex: 1; overflow-y: auto;
  padding: var(--space-4);
  display: flex; flex-direction: column; gap: var(--space-2);
  max-height: 320px;
}
.chat-msg {
  max-width: 84%; padding: 0.6rem 0.85rem;
  border-radius: var(--radius-lg);
  font-size: var(--text-sm); line-height: 1.5;
}
.chat-msg.bot { background: var(--surface); color: var(--ink); border-bottom-left-radius: 4px; align-self: flex-start; }
.chat-msg.user { background: var(--accent); color: var(--white); border-bottom-right-radius: 4px; align-self: flex-end; }

.chat-typing {
  display: none; gap: 4px; align-items: center;
  padding: 0.6rem 0.85rem; margin: 0 var(--space-4);
  background: var(--surface);
  border-radius: var(--radius-lg); border-bottom-left-radius: 4px;
  width: fit-content;
}
.chat-typing span {
  width: 6px; height: 6px;
  background: var(--slate-light);
  border-radius: 50%;
  animation: typing 1.2s infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }

.chat-quick {
  display: flex; gap: var(--space-2); flex-wrap: wrap;
  padding: var(--space-3) var(--space-4);
  border-top: 1px solid var(--border);
}
.quick-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.3rem 0.65rem;
  font-size: var(--text-xs); color: var(--ink);
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}
.quick-btn:hover { background: var(--accent); color: var(--white); border-color: var(--accent); }

.chat-input-bar {
  display: flex; gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  border-top: 1px solid var(--border);
}
.chat-input {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  font-size: var(--text-sm);
  color: var(--ink);
}
.chat-input:focus { border-color: var(--accent); outline: none; }
.chat-send {
  width: 36px; height: 36px;
  background: var(--ink); color: var(--white);
  border: none; border-radius: var(--radius-md);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.15s var(--ease);
}
.chat-send:hover { background: var(--accent); }
.chat-send [data-lucide] { width: 16px; height: 16px; }

/* ── Footer ──────────────────────────────────────────────────────────── */
footer {
  background: var(--ink); color: rgba(255, 255, 255, 0.68);
  padding: var(--space-16) var(--space-6) var(--space-6);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  max-width: 1024px; margin: 0 auto var(--space-10);
}
.footer-brand .nav-logo {
  font-size: var(--text-lg); color: var(--white);
  margin-bottom: var(--space-3);
}
.footer-brand .nav-logo span { color: var(--white); }
.footer-brand p { font-size: var(--text-sm); line-height: 1.7; color: rgba(255, 255, 255, 0.62); }
.footer-col h5 {
  color: var(--white);
  font-size: var(--text-xs); font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: var(--space-3);
}
.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  font-size: var(--text-sm);
  margin-bottom: var(--space-2);
  transition: color 0.15s var(--ease);
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1024px; margin: 0 auto;
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-2);
  font-size: var(--text-xs); color: rgba(255, 255, 255, 0.48);
}
.footer-bottom strong { color: var(--white); font-weight: 600; }

.built-by {
  display: inline-flex; align-items: center; gap: 6px;
}
.built-by-text {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.32);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.built-by-link {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: var(--text-xs); font-weight: 600;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, #60a5fa, #a78bfa, #f472b6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  transition: opacity 0.2s var(--ease);
}
.built-by-link:hover { opacity: 0.8; }
.built-by-heart {
  -webkit-text-fill-color: #f472b6;
  animation: heartbeat 1.4s ease-in-out infinite;
  display: inline-block;
}
@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  14%       { transform: scale(1.25); }
  28%       { transform: scale(1); }
  42%       { transform: scale(1.15); }
  56%       { transform: scale(1); }
}

/* ── Toast ───────────────────────────────────────────────────────────── */
.toast {
  position: fixed; top: 80px; right: var(--space-6);
  background: var(--ink); color: var(--white);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-md);
  font-size: var(--text-sm); font-weight: 500;
  box-shadow: var(--shadow-premium);
  z-index: 9999;
  display: none;
}
.toast.show { display: block; animation: reveal 0.3s var(--ease); }

/* ── Motion ──────────────────────────────────────────────────────────── */
@keyframes reveal {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30%           { transform: translateY(-4px); opacity: 1; }
}

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

/* ── Trust rating link ───────────────────────────────────────────────── */
.trust-rating-link {
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.trust-rating-link:hover strong { color: var(--accent); }

/* ── Chat tap-target fixes ───────────────────────────────────────────── */
.chat-close-btn {
  width: 44px !important; height: 44px !important;
}
.quick-btn {
  min-height: 36px;
  padding: 0.5rem 0.8rem !important;
}

/* ── Chat iOS safe-area & keyboard ──────────────────────────────────── */
#chat-widget {
  bottom: max(var(--space-6), env(safe-area-inset-bottom));
}
.chat-messages {
  max-height: min(320px, 40dvh);
}

/* ── Nav scroll shadow ───────────────────────────────────────────────── */
nav.nav-scrolled {
  box-shadow: 0 1px 16px 0 rgb(0 0 0 / 0.08);
}

/* ── Hero proof bar ──────────────────────────────────────────────────── */
.hero-proof {
  display: flex; align-items: center; justify-content: center;
  gap: var(--space-5); flex-wrap: wrap;
  margin-bottom: var(--space-8);
  font-size: var(--text-sm); color: var(--slate);
}
.hero-proof-item {
  display: inline-flex; align-items: center; gap: var(--space-2);
}
.hero-proof-item [data-lucide] { width: 14px; height: 14px; color: var(--accent); }
.hero-proof-item strong { color: var(--ink); font-weight: 600; }
.hero-proof-sep { color: var(--border-strong); }

/* ── Verification strip ──────────────────────────────────────────────── */
.verify-strip {
  background: var(--ink);
  padding: var(--space-4) var(--space-6);
}
.verify-strip-inner {
  max-width: 1024px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  gap: var(--space-6); flex-wrap: wrap;
}
.verify-item {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: var(--text-xs); font-weight: 500;
  color: rgba(255,255,255,0.78); white-space: nowrap;
}
.verify-item [data-lucide] { width: 13px; height: 13px; color: var(--accent); }
.verify-divider {
  width: 1px; height: 16px;
  background: rgba(255,255,255,0.15); flex-shrink: 0;
}

/* ── How it works ────────────────────────────────────────────────────── */
#how-it-works { padding: var(--section-y) var(--space-6); background: var(--surface); }
.hiw-header { text-align: center; max-width: 640px; margin: 0 auto var(--space-12); }
.hiw-header .section-sub { margin: 0 auto; }
.hiw-steps {
  display: flex; align-items: flex-start;
  max-width: 960px; margin: 0 auto;
}
.hiw-step {
  flex: 1; text-align: center; padding: 0 var(--space-4);
  display: flex; flex-direction: column; align-items: center;
}
.hiw-step-num {
  font-size: var(--text-xs); font-weight: 700;
  color: var(--accent); letter-spacing: 0.08em;
  margin-bottom: var(--space-3);
}
.hiw-step-icon {
  width: 60px; height: 60px;
  background: var(--white);
  border: 2px solid var(--border-strong);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  margin-bottom: var(--space-4);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.hiw-step:hover .hiw-step-icon {
  border-color: var(--accent);
  box-shadow: 0 0 0 5px rgba(37,99,235,0.1);
}
.hiw-step-icon [data-lucide] { width: 22px; height: 22px; }
.hiw-step h3 {
  font-size: var(--text-base); font-weight: 600;
  color: var(--ink); margin-bottom: var(--space-2); letter-spacing: -0.01em;
}
.hiw-step p {
  font-size: var(--text-sm); color: var(--slate); line-height: 1.6; max-width: 200px;
}
.hiw-connector {
  flex-shrink: 0; width: 48px; height: 2px;
  background: var(--border-strong);
  margin-top: 38px; position: relative;
}
.hiw-connector::after {
  content: '';
  position: absolute; right: -5px; top: -4px;
  width: 8px; height: 8px;
  border-right: 2px solid var(--border-strong);
  border-top: 2px solid var(--border-strong);
  transform: rotate(45deg);
}

/* ── FAQ ─────────────────────────────────────────────────────────────── */
#faq { padding: var(--section-y) var(--space-6); background: var(--white); }
.faq-header { text-align: center; max-width: 640px; margin: 0 auto var(--space-10); }
.faq-header .section-sub { margin: 0 auto; }
.faq-list {
  max-width: 720px; margin: 0 auto;
  display: flex; flex-direction: column; gap: var(--space-3);
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s var(--ease);
}
.faq-item[open] { border-color: var(--accent); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: var(--space-5) var(--space-6);
  font-size: var(--text-base); font-weight: 600;
  color: var(--ink); letter-spacing: -0.01em;
  cursor: pointer; list-style: none; gap: var(--space-4);
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: '+'; font-size: 1.25rem; font-weight: 300;
  color: var(--slate); flex-shrink: 0;
  transition: transform 0.2s var(--ease), color 0.2s var(--ease);
}
.faq-item[open] .faq-q { color: var(--accent); }
.faq-item[open] .faq-q::after { transform: rotate(45deg); color: var(--accent); }
.faq-a { padding: 0 var(--space-6) var(--space-5); }
.faq-a p { font-size: var(--text-sm); color: var(--slate); line-height: 1.7; }
.faq-a strong { color: var(--ink); }

/* ── Testimonials ────────────────────────────────────────────────────── */
#testimonials { padding: var(--section-y) var(--space-6); background: var(--surface); }
.testi-header { text-align: center; max-width: 640px; margin: 0 auto var(--space-10); }
.testi-header .section-sub { margin: 0 auto; }
.testi-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5); max-width: 980px; margin: 0 auto var(--space-8);
}
.testi-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  display: flex; flex-direction: column; gap: var(--space-4);
  transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.testi-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.testi-stars { color: var(--gold-bright); font-size: var(--text-base); letter-spacing: 2px; }
.testi-quote {
  font-size: var(--text-sm); color: var(--slate);
  line-height: 1.75; flex: 1; font-style: italic;
}
.testi-author {
  display: flex; align-items: center; gap: var(--space-3);
  padding-top: var(--space-4); border-top: 1px solid var(--border);
}
.testi-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent); color: var(--white);
  font-size: var(--text-xs); font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.testi-author strong { display: block; font-size: var(--text-sm); font-weight: 600; color: var(--ink); }
.testi-author span { font-size: var(--text-xs); color: var(--slate); }
.testi-footer { text-align: center; }
.testi-footer .btn [data-lucide] { width: 14px; height: 14px; }

/* ── Mobile ──────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .contact-inner { grid-template-columns: 1fr; gap: var(--space-8); }
  .compare-featured { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .testi-grid { grid-template-columns: 1fr; max-width: 480px; }
  .hiw-steps { flex-direction: column; align-items: center; gap: var(--space-4); }
  .hiw-connector {
    width: 2px; height: 32px; margin-top: 0;
  }
  .hiw-connector::after {
    right: -3px; top: auto; bottom: -5px;
    border-right: 2px solid var(--border-strong);
    border-top: none;
    border-bottom: 2px solid var(--border-strong);
    transform: rotate(135deg);
  }
  .verify-divider { display: none; }
}

@media (max-width: 640px) {
  /* Nav — hamburger replaces links */
  .nav-hamburger { display: inline-flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    height: calc(100dvh - 60px);
    background: var(--white);
    flex-direction: column;
    padding: var(--space-6);
    gap: var(--space-2);
    z-index: 999;
    border-top: 1px solid var(--border);
    overflow-y: auto;
  }
  .nav-links.open { display: flex; animation: reveal 0.2s var(--ease); }
  .nav-links li { display: block !important; }
  .nav-links a {
    display: block;
    padding: var(--space-4);
    font-size: var(--text-base);
    border-radius: var(--radius-md);
    color: var(--ink);
  }
  .nav-links a:hover { background: var(--surface); }
  .nav-cta {
    margin-top: var(--space-2);
    text-align: center;
    background: var(--accent) !important;
  }

  /* Other 640px fixes */
  .hero-proof { gap: var(--space-3); }
  .hero-proof-sep { display: none; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: var(--space-5); }
  .form-row { grid-template-columns: 1fr; }
  .chat-window { width: calc(100vw - var(--space-8)); max-width: 380px; }

  /* Comparison modal — full screen on mobile */
  .compare-dialog {
    max-width: 100vw;
    max-height: 100dvh;
    border-radius: 0;
    margin: 0;
    width: 100%;
  }
  .compare-wrapper {
    -webkit-overflow-scrolling: touch;
    max-height: calc(100dvh - 64px);
  }
  .compare-wrapper::after {
    content: "← Swipe to compare all countries";
    display: block;
    text-align: center;
    font-size: var(--text-xs);
    color: var(--slate-light);
    padding: var(--space-3);
    position: sticky;
    left: 0;
  }
}

/* ══════════════════════════════════════════════════════════════════════
   FRESH 2026 — "High-Confidence Academic" redesign layer
   Appended overrides; preserves all DOM ids/classes that app.js relies on.
   ══════════════════════════════════════════════════════════════════════ */

/* ── Scroll-reveal (staggered) ───────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal][data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal][data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal][data-reveal-delay="3"] { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ── Nav polish ──────────────────────────────────────────────────────── */
nav { height: 64px; }
.nav-cta {
  background: var(--accent); color: var(--white) !important;
  box-shadow: 0 4px 12px -4px rgba(37,99,235,0.5);
}
.nav-cta:hover { background: var(--accent-hover); }

/* ── HERO — bolder, warmer, conversion-framed ────────────────────────── */
#hero {
  padding: calc(64px + var(--space-16)) var(--space-6) var(--space-16);
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(37,99,235,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 0%, rgba(5,150,105,0.06) 0%, transparent 55%),
    linear-gradient(180deg, #FBFCFE 0%, var(--white) 60%);
  position: relative;
}
.hero-badge {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
  padding: var(--space-2) var(--space-4);
  font-weight: 600;
}
.hero-badge [data-lucide] { color: var(--emerald); width: 15px; height: 15px; }
.hero-sub { font-size: var(--text-xl); color: var(--slate); }

/* Hero CTAs — WhatsApp primary feel */
.hero-ctas { margin-bottom: var(--space-8); }
.btn-whatsapp {
  background: var(--whatsapp); color: var(--white);
  box-shadow: 0 8px 20px -8px rgba(37,211,102,0.7);
}
.btn-whatsapp:hover { background: var(--whatsapp-dark); }
.btn-whatsapp [data-lucide] { width: 18px; height: 18px; }

/* Hero search reframed as "shortlist engine" */
.hero-search {
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
  padding: var(--space-4);
  position: relative;
}
.hero-search-label {
  display: block;
  font-size: var(--text-xs); font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent);
  text-align: left;
  width: 100%;
  margin-bottom: var(--space-2);
}
.search-btn { background: var(--accent); }
.search-btn:hover { background: var(--accent-hover); }

/* Hero proof — pill row */
.hero-proof {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: var(--space-2) var(--space-5);
  width: fit-content; margin-left: auto; margin-right: auto;
  box-shadow: var(--shadow-xs);
}
.hero-proof-item [data-lucide] { color: var(--gold-bright); }

/* Hero stats — card-ish */
.hero-stat strong { font-size: var(--text-3xl); color: var(--accent); font-family: var(--font-display); font-weight: 600; }

/* ── Verification strip — premium, gold-accented ─────────────────────── */
.verify-strip {
  background: linear-gradient(100deg, var(--ink-deep), var(--ink) 55%, #14223f);
}
.verify-item { color: var(--on-ink-muted); font-weight: 600; }
.verify-item [data-lucide] { color: var(--emerald); width: 15px; height: 15px; }
.verify-divider { background: var(--on-ink-line); }

/* ── NMC quiet strip → urgent banner ─────────────────────────────────── */
#nmc { background: var(--gold-soft); border-color: rgba(217,119,6,0.2); }
.nmc-strip { color: var(--ink); }
.nmc-strip [data-lucide] { color: var(--gold); }

/* ── Section eyebrow — accent ────────────────────────────────────────── */
.section-eyebrow { color: var(--accent); font-weight: 700; }

/* ── Cards — unified lift on hover ───────────────────────────────────── */
.nmc-card, .country-card, .uni-card, .compare-card, .course-card, .testi-card {
  border-color: var(--border-strong);
}
.nmc-card[aria-expanded="true"] { background: var(--accent-subtle); }
.compare-card.recommended {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-md);
}

/* How-it-works — numbered, accent-driven */
.hiw-step-icon { border-color: var(--accent-line); color: var(--accent); }
.hiw-step-num { color: var(--accent); }

/* ════════════════════════════════════════════════════════════════════
   NEW SECTION — "Agent vs Authority" anti-fraud comparison
   ════════════════════════════════════════════════════════════════════ */
#trust-promise { padding: var(--section-y) var(--space-6); background: var(--white); }
.trust-promise-header { text-align: center; max-width: 680px; margin: 0 auto var(--space-12); }
.trust-promise-header .section-sub { margin: 0 auto; }
.agent-vs {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--space-5); max-width: 900px; margin: 0 auto;
}
.avs-col {
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  border: 1px solid var(--border-strong);
}
.avs-col.bad { background: var(--surface); }
.avs-col.good {
  background: linear-gradient(180deg, var(--emerald-soft), var(--white));
  border-color: var(--emerald);
  box-shadow: var(--shadow-md);
}
.avs-head {
  display: flex; align-items: center; gap: var(--space-3);
  margin-bottom: var(--space-5);
  font-family: var(--font-display);
  font-size: var(--text-xl); font-weight: 600; letter-spacing: -0.01em;
}
.avs-col.bad .avs-head { color: var(--slate); }
.avs-col.good .avs-head { color: var(--ink); }
.avs-badge {
  width: 38px; height: 38px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.avs-col.bad .avs-badge { background: rgba(185,28,28,0.1); color: var(--danger); }
.avs-col.good .avs-badge { background: var(--emerald); color: var(--white); }
.avs-badge [data-lucide] { width: 20px; height: 20px; }
.avs-list { list-style: none; display: flex; flex-direction: column; gap: var(--space-4); }
.avs-list li {
  display: flex; align-items: flex-start; gap: var(--space-3);
  font-size: var(--text-sm); line-height: 1.55; color: var(--slate);
}
.avs-list li [data-lucide] { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; }
.avs-col.bad .avs-list li [data-lucide] { color: var(--danger); }
.avs-col.good .avs-list li { color: var(--ink); }
.avs-col.good .avs-list li [data-lucide] { color: var(--emerald); }
.avs-list strong { color: var(--ink); font-weight: 600; }

/* ════════════════════════════════════════════════════════════════════
   NEW SECTION — "For Parents" reassurance band
   ════════════════════════════════════════════════════════════════════ */
#parents {
  padding: var(--section-y) var(--space-6);
  background: linear-gradient(120deg, var(--ink-deep), var(--ink) 60%, #15294a);
  color: var(--on-ink);
}
.parents-inner { max-width: 1024px; margin: 0 auto; }
.parents-inner .section-eyebrow { color: var(--accent-bright); }
.parents-inner .section-title { color: var(--on-ink); }
.parents-inner .section-sub { color: var(--on-ink-muted); }
.parents-head { text-align: center; max-width: 640px; margin: 0 auto var(--space-12); }
.parents-head .section-sub { margin: 0 auto; }
.parents-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-5);
}
.parent-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--on-ink-line);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.parent-card:hover { background: rgba(255,255,255,0.07); transform: translateY(-3px); }
.parent-card .icon {
  width: 44px; height: 44px; border-radius: var(--radius-md);
  background: rgba(59,130,246,0.18); color: var(--accent-bright);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-4);
}
.parent-card .icon [data-lucide] { width: 22px; height: 22px; }
.parent-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg); font-weight: 600; color: var(--on-ink);
  margin-bottom: var(--space-2); letter-spacing: -0.01em;
}
.parent-card p { font-size: var(--text-sm); color: var(--on-ink-muted); line-height: 1.65; }

/* ════════════════════════════════════════════════════════════════════
   MOBILE STICKY CTA BAR — WhatsApp + Free shortlist
   ════════════════════════════════════════════════════════════════════ */
.sticky-cta {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: 9998;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4) calc(var(--space-3) + env(safe-area-inset-bottom));
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-top: 1px solid var(--border-strong);
  box-shadow: 0 -6px 24px -10px rgba(15,23,42,0.18);
}
.sticky-cta a {
  flex: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  font-size: var(--text-sm); font-weight: 700;
  min-height: 52px;
}
.sticky-cta [data-lucide] { width: 18px; height: 18px; }
.sticky-cta-wa { background: var(--whatsapp); color: var(--white); }
.sticky-cta-form { background: var(--accent); color: var(--white); }

@media (max-width: 720px) {
  .sticky-cta { display: flex; }
  body { padding-bottom: 76px; }              /* room for the bar */
  #chat-widget { bottom: calc(84px + env(safe-area-inset-bottom)); }  /* lift chat above bar */
}

/* ── Mobile redesign tweaks ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .agent-vs { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  #hero { padding-top: calc(64px + var(--space-12)); }
  .hero-stats { border-top: none; padding-top: var(--space-6); margin-top: var(--space-10); }
  .avs-col { padding: var(--space-6); }
}

/* ══════════════════════════════════════════════════════════════════════
   KINETIC RETHEME — applies "The Kinetic Guide" look to all inner pages
   (about, team, testimonials, blog, cost-calculator, privacy, guides…).
   Token redefinitions cascade to every selector; component overrides
   follow. The homepage uses its own home.css and is unaffected.
   ══════════════════════════════════════════════════════════════════════ */
:root {
  --ink:          #1E1B39;
  --ink-deep:     #14122B;
  --slate:        #56516E;
  --slate-light:  #9590AC;
  --accent:       #4F46E5;
  --accent-hover: #4338CA;
  --accent-soft:  rgba(79,70,229,0.08);
  --accent-subtle:#EEF0FF;
  --success:      #16A34A;
  --warning:      #D97706;
  --danger:       #DC2626;
  --surface:      #F5F4FF;
  --white:        #FFFFFF;
  --border:       #ECEAFB;
  --border-strong:#DEDAF6;

  --indigo:       #4F46E5;
  --indigo-d:     #4338CA;
  --orange:       #FB923C;
  --orange-d:     #F97316;

  --font-main:    'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-sm: 12px; --radius-md: 14px; --radius-lg: 18px; --radius-xl: 26px;
}

/* Headings → Outfit */
h1, h2, h3, h4, .section-title { font-family: var(--font-display); }
.section-title { font-weight: 800; letter-spacing: -0.02em; }
.section-eyebrow { color: var(--indigo); font-weight: 700; }

/* Logo wordmark */
.nav-logo span { color: var(--indigo); }

/* Buttons → pill + sticker */
.btn { font-family: var(--font-display); font-weight: 700; border-radius: 999px; transition: transform .18s cubic-bezier(.34,1.56,.64,1), background .18s, box-shadow .18s; }
.btn:active { transform: translateY(2px); }
.btn-primary { background: var(--orange); color: #3a1d00; box-shadow: 0 4px 0 0 var(--orange-d); }
.btn-primary:hover { background: var(--orange-d); color: #fff; transform: translateY(-2px); box-shadow: 0 7px 0 0 var(--orange-d); }
.btn-secondary { border-radius: 999px; border: 2px solid var(--border-strong); }
.btn-secondary:hover { border-color: var(--indigo); color: var(--indigo); }
.nav-cta { background: var(--indigo) !important; border-radius: 999px; box-shadow: 0 4px 0 0 var(--indigo-d); transition: transform .15s cubic-bezier(.34,1.56,.64,1); }
.nav-cta:hover { background: var(--indigo-d) !important; transform: translateY(-2px); }

/* Footer brand accent */
.footer-brand .nav-logo span { color: var(--orange); }

/* Blog + article cards — softer, springier */
.blog-card { border-radius: 22px !important; border: 1px solid var(--border-strong); transition: box-shadow .2s, transform .2s cubic-bezier(.34,1.56,.64,1); }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -16px rgba(49,46,129,0.30) !important; }
.blog-card-img { background: linear-gradient(150deg, var(--indigo), var(--indigo-d)) !important; }
.blog-tag, .article-tag { border-radius: 999px; font-family: var(--font-display); }
.article-cta { background: linear-gradient(150deg, var(--indigo-d), var(--indigo)) !important; border-radius: 26px !important; }
.country-table th { background: var(--ink) !important; }

/* ══════════════════════════════════════════════════════════════════════
   MOBILE & TABLET OPTIMISATION — inner + blog pages (loaded via styles.css)
   ══════════════════════════════════════════════════════════════════════ */
/* Contain wide tables so they scroll inside their own box, never the page.
   Higher specificity than the per-page inline `.country-table` rule. */
@media (max-width: 760px) {
  .article-body .country-table,
  .content-wrap .country-table,
  table.country-table {
    display: block;
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  /* Tighten generous desktop padding on phones/tablets */
  .article-layout { padding-left: var(--space-5); padding-right: var(--space-5); }
  .content-wrap   { padding-left: var(--space-5); padding-right: var(--space-5); }
  .calc-wrap      { padding-left: var(--space-5); padding-right: var(--space-5); }
}
@media (max-width: 480px) {
  .article-layout, .content-wrap, .calc-wrap {
    padding-left: var(--space-4); padding-right: var(--space-4);
  }
  /* Stack any 2-col helper rows */
  .form-row { grid-template-columns: 1fr !important; }
}
/* Belt-and-braces: never allow the page itself to scroll sideways */
html, body { max-width: 100%; overflow-x: hidden; }
img, svg, table, iframe { max-width: 100%; }

/* ── Nav: collapse to hamburger on tablets/narrow laptops (match homepage) ── */
.nav-logo { white-space: nowrap; flex-shrink: 0; }
.nav-links a, .nav-cta { white-space: nowrap; }
@media (max-width: 860px) {
  .nav-hamburger { display: inline-flex; }
  .nav-links {
    display: none; position: fixed; top: 60px; left: 0; right: 0;
    height: calc(100dvh - 60px); background: var(--white);
    flex-direction: column; padding: var(--space-6); gap: var(--space-2);
    z-index: 999; border-top: 1px solid var(--border); overflow-y: auto;
  }
  .nav-links.open { display: flex; animation: reveal 0.2s var(--ease); }
  .nav-links li { display: block !important; }
  .nav-links a { display: block; padding: var(--space-4); font-size: var(--text-base); border-radius: var(--radius-md); color: var(--ink); white-space: normal; }
  .nav-links a:hover { background: var(--surface); }
  .nav-links .nav-cta { align-self: flex-start; }
}
