:root {
  --navy: #042363;
  --navy-dark: #021640;
  --gold: #DDA92A;
  --gold-light: #F3CD46;
  --gold-hover: #F3CD46;
  --gold-soft: #FBF3DF;
  --bg: #FFFFFF;
  --bg-alt: #F4F6FA;
  --card: #FFFFFF;
  --text: #1F2A3D;
  --muted: #5E6B7E;
  --line: #E3E8EF;
  --heading: #042363;
  --field: #FFFFFF;
  --shadow: 0 10px 30px -12px rgba(10, 34, 64, .18);
  --emblem-letter: #042363;
  --radius: 10px;
  --wrap: 1200px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #020E28; --bg-alt: #041637; --card: #07204A; --field: #041637;
    --text: #E3E8F2; --muted: #9EACC6; --line: #173263; --heading: #FFFFFF;
    --gold-soft: rgba(201,154,44,.14); --shadow: 0 10px 30px -12px rgba(0,0,0,.6);
    --emblem-letter: #FFFFFF;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #020E28; --bg-alt: #041637; --card: #07204A; --field: #041637;
  --text: #E3E8F2; --muted: #9EACC6; --line: #173263; --heading: #FFFFFF;
  --gold-soft: rgba(201,154,44,.14); --shadow: 0 10px 30px -12px rgba(0,0,0,.6);
  --emblem-letter: #FFFFFF;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: var(--fs-body); line-height: 1.7; color: var(--text); background: var(--bg); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; color: var(--heading); font-weight: 600; }
h1, .title h2, .cta-band h2, .country.cta h3 { font-family: var(--font); font-weight: 700; letter-spacing: .01em; }
p { margin: 0; }
section { scroll-margin-top: 90px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.icon { width: 18px; height: 18px; flex-shrink: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 26px; border-radius: 6px; font: 600 var(--fs-sm)/1 var(--font); border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn-gold { background: var(--gold); color: var(--navy-dark); }
.btn-gold:hover { background: var(--gold-hover); }
.btn-outline { border-color: #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--navy); }

/* Section titles */
.section { padding: 90px 0; }
.section.alt { background: var(--bg-alt); }
.title { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.title .sub { display: block; color: var(--gold); font-weight: 600; font-size: var(--fs-sm); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px; }
.title h2 { font-size: clamp(26px, 3.4vw, 36px); }
.title h2::after { content: ""; display: block; width: 140px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 18'%3E%3Cpath d='M0 9h66M94 9h66' stroke='%23DDA92A' stroke-width='1.5'/%3E%3Cpath d='M80 1l2.6 5.4L88 9l-5.4 2.6L80 17l-2.6-5.4L72 9l5.4-2.6z' fill='%23DDA92A'/%3E%3C/svg%3E") center / contain no-repeat; margin: 16px auto 0; }
.title p { margin-top: 16px; color: var(--muted); }
.title.left { text-align: left; margin-left: 0; }
.title.left h2::after { margin-left: 0; }

/* Top bar */
.topbar { background: var(--navy); color: rgba(255,255,255,.85); font-size: var(--fs-sm); }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 42px; flex-wrap: wrap; }
.topbar-group { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: var(--gold); }
.topbar .icon { width: 15px; height: 15px; color: var(--gold); }
.topbar .motto { color: var(--gold); font-weight: 500; letter-spacing: .08em; font-size: var(--fs-small); }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: var(--card); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.header.scrolled { box-shadow: 0 6px 20px -10px rgba(10,34,64,.25); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 80px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 97px; height: 60px; flex-shrink: 0; }
.brand-mark img, .brand-mark svg { width: 100%; height: 100%; object-fit: contain; }
.brand-name { display: block; font-family: var(--font); font-size: 25px; font-weight: 700; color: var(--heading); letter-spacing: .05em; line-height: 1; }
.brand-sub { display: block; font-family: var(--font); font-size: 10.5px; font-weight: 700; color: var(--gold); letter-spacing: .28em; text-transform: uppercase; margin-top: 6px; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { font-weight: 500; font-size: var(--fs-body); white-space: nowrap; color: var(--text); padding: 6px 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.nav a:hover { color: var(--gold); border-color: var(--gold); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 42px; height: 42px; border-radius: 6px; border: 1px solid var(--line); background: transparent; color: var(--heading); display: grid; place-items: center; cursor: pointer; }
.icon-btn:hover { border-color: var(--gold); color: var(--gold); }
.menu-btn { display: none; }
.theme-btn .i-sun { display: none; }
[data-theme-active="dark"] .theme-btn .i-sun { display: block; }
[data-theme-active="dark"] .theme-btn .i-moon { display: none; }

/* Hero */
.hero { position: relative; min-height: 600px; display: flex; align-items: center; color: #fff; background: var(--navy) url("https://images.unsplash.com/photo-1541339907198-e08756dedf3f?auto=format&fit=crop&w=1920&q=75") center 40% / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2,22,64,.95) 0%, rgba(4,35,99,.8) 45%, rgba(4,35,99,.3) 100%); }
.hero .wrap { position: relative; width: 100%; padding-top: 80px; padding-bottom: 80px; }
.hero-content { max-width: 640px; }
.hero .tag { display: inline-block; background: rgba(201,154,44,.18); border: 1px solid rgba(201,154,44,.6); color: #F1D48A; font-size: var(--fs-sm); font-weight: 500; padding: 6px 14px; border-radius: 30px; }
.hero h1 { color: #fff; font-size: clamp(30px, 3.6vw, 46px); margin-top: 20px; line-height: 1.18; }
.hero .hero-sub { font-family: var(--font); color: var(--gold-light); font-size: clamp(16px, 1.8vw, 20px); letter-spacing: .14em; margin-top: 14px; }
.hero h1 span { color: var(--gold-light); }
.hero p { margin-top: 18px; font-size: var(--fs-lead); color: rgba(255,255,255,.85); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* Feature strip under hero */
.features { position: relative; z-index: 2; margin-top: -50px; }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.feature { display: flex; gap: 14px; align-items: center; padding: 26px 24px; }
.feature + .feature { border-left: 1px solid var(--line); }
.feature-ico { width: 50px; height: 50px; border-radius: 50%; background: var(--gold-soft); color: var(--gold); display: grid; place-items: center; flex-shrink: 0; }
.feature-ico .icon { width: 24px; height: 24px; }
.feature h4 { font-size: var(--fs-body); }
.feature p { font-size: var(--fs-sm); color: var(--muted); line-height: 1.5; }

/* Countries */
.countries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.country { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.country:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.country-img { position: relative; height: 200px; overflow: hidden; background: var(--navy); }
.country-img img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; top: 14px; left: 14px; background: var(--gold); color: var(--navy-dark); font-size: var(--fs-xs); font-weight: 600; padding: 4px 11px; border-radius: 4px; }
.country-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.country-body h3 { font-size: var(--fs-h3); }
.country-body p { margin-top: 8px; color: var(--muted); font-size: var(--fs-sm); }
.read-more { margin-top: auto; padding-top: 16px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: var(--fs-sm); color: var(--gold); }
.read-more:hover { gap: 10px; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-img { position: relative; }
.about-img img { border-radius: var(--radius); width: 100%; height: 440px; object-fit: cover; }
.about-text p { color: var(--muted); margin-top: 14px; }
.checks { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: var(--fs-body); }
.checks .icon { color: var(--gold); margin-top: 3px; }

/* Stats */

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.service:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--gold); }
.service-ico { width: 60px; height: 60px; border-radius: 12px; background: var(--navy); color: var(--gold); display: grid; place-items: center; }
.service-ico .icon { width: 28px; height: 28px; }
.service h3 { font-size: var(--fs-h3); margin-top: 20px; }
.service p { margin-top: 8px; color: var(--muted); font-size: var(--fs-sm); }

/* Course finder */
.link-btn { background: none; border: 0; padding: 0; font: 500 var(--fs-sm) var(--font); color: var(--gold); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.no-results { grid-column: 1 / -1; text-align: center; padding: 40px; background: var(--card); border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }
.fine-print { margin-top: 22px; text-align: center; font-size: var(--fs-small); color: var(--muted); }
.fine-print.left { text-align: left; margin-top: 16px; }

/* Scholarships */

/* Tools */

/* Steps */

/* Why + form */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.why-list { display: grid; gap: 22px; margin-top: 10px; }
.why-item { display: flex; gap: 16px; }
.why-item .feature-ico { width: 52px; height: 52px; }
.why-item h4 { font-size: var(--fs-lead); }
.why-item p { color: var(--muted); font-size: var(--fs-sm); margin-top: 4px; }
.form-card { position: relative; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); border-top: 4px solid var(--gold); padding: 36px; }
.form-card h3 { font-size: var(--fs-h3l); }
.form-card > p { color: var(--muted); font-size: var(--fs-sm); margin-top: 4px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: var(--fs-sm); font-weight: 500; color: var(--heading); }
.field input, .field select, .field textarea { font: 400 var(--fs-sm) var(--font); color: var(--text); background: var(--field); border: 1px solid var(--line); border-radius: 6px; padding: 12px 14px; width: 100%; min-width: 0; }
.field textarea { min-height: 90px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.form-card .btn { width: 100%; margin-top: 20px; padding: 15px; }
.form-note { text-align: center; font-size: var(--fs-small); color: var(--muted); margin-top: 10px; }

/* CTA band */

/* Footer */
.footer { background: var(--navy-dark); color: rgba(255,255,255,.72); padding: 70px 0 0; font-size: var(--fs-sm); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.footer .brand-name { color: #fff; }
.footer .brand { --emblem-letter: #fff; }
.footer p.footer-about { margin-top: 18px; max-width: 300px; }
.footer h4 { color: #fff; font-size: var(--fs-lead); margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 2px; background: var(--gold); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul a:hover { color: var(--gold); }
.footer .contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer .contact .icon { color: var(--gold); margin-top: 3px; }
.footer-bottom { margin-top: 50px; background: linear-gradient(rgba(255,255,255,.1), rgba(255,255,255,.1)) center top / calc(100% - 40px) 1px no-repeat; padding-top: 20px; padding-bottom: 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: var(--fs-sm); color: rgba(255,255,255,.55); }
.footer-bottom .motto { color: var(--gold); letter-spacing: .1em; }

/* WhatsApp float */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.wa-fab { position: relative; width: 58px; height: 58px; border: 0; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 10px 24px -8px rgba(0,0,0,.4); transition: transform .2s; }
.wa-fab:hover { transform: scale(1.07); }
.wa-fab .icon { width: 28px; height: 28px; position: relative; z-index: 1; }
.wa-fab::before, .wa-fab::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); opacity: .55; animation: wa-pulse 2.2s ease-out infinite; }
.wa-fab::after { animation-delay: 1.1s; }
.wa-float.open .wa-fab::before, .wa-float.open .wa-fab::after { animation: none; opacity: 0; }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.75); opacity: 0; } }
.wa-menu { width: 270px; background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--wa); border-radius: var(--radius); box-shadow: var(--shadow); padding: 10px; }
.wa-menu[hidden] { display: none; }
.wa-menu-title { font-size: var(--fs-sm); font-weight: 600; color: var(--heading); padding: 4px 8px 8px; }
.wa-menu a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 8px; font-size: var(--fs-sm); color: var(--text); }
.wa-menu a:hover { background: var(--bg-alt); }
.wa-menu a .icon { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--wa); color: #fff; flex-shrink: 0; }
.wa-menu b { display: block; font-size: var(--fs-small); font-weight: 600; color: var(--heading); }

/* Responsive */
@media (max-width: 1024px) {
  .countries, .services { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature:nth-child(3) { border-left: 0; }
  .feature:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .topbar .motto, .topbar .hide-sm { display: none; }
  .about, .why { grid-template-columns: 1fr; gap: 50px; }
  .section { padding: 70px 0; }
}
@media (max-width: 1180px) {
  .menu-btn { display: grid; }
  .header .apply { display: none; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--card); border-bottom: 1px solid var(--line); padding: 8px 20px 20px; box-shadow: 0 12px 20px -12px rgba(0,0,0,.25); }
  .nav.open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; border-bottom: 0; color: var(--navy-dark); justify-content: center; }
}
@media (min-width: 1181px) { .nav .btn, .nav .mobile-only { display: none; } }
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .topbar .wrap { justify-content: center; padding-top: 6px; padding-bottom: 6px; }
  .topbar-group { gap: 14px; justify-content: center; }
  .header .wrap { height: 70px; }
  .brand-mark { width: 68px; height: 42px; }
  .brand-name { font-size: 20px; }
  .hero { min-height: 520px; }
  .hero::before { background: linear-gradient(180deg, rgba(2,22,64,.92), rgba(4,35,99,.85)); }
  .hero-actions .btn { flex: 1 1 100%; }
  .features { margin-top: -30px; }
  .features-grid, .countries, .services, .steps { grid-template-columns: 1fr; }
  .feature + .feature { border-left: 0; border-top: 1px solid var(--line); }
  .checks { grid-template-columns: 1fr; }
  .about-img img { height: 300px; }
  .form-card { padding: 26px 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .wa-float { right: 14px; bottom: 14px; }
  .wa-menu { width: min(270px, calc(100vw - 28px)); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ===================================================================
   v4 additions
   =================================================================== */

/* Sample / placeholder marker — remove the element when real content is added */

/* Top bar extras */
.topbar .lang-btn { background: none; border: 1px solid rgba(255,255,255,.3); color: #fff; border-radius: 4px; padding: 2px 10px; font: 500 var(--fs-small) var(--font), "Noto Nastaliq Urdu", sans-serif; cursor: pointer; }
.topbar .lang-btn:hover { border-color: var(--gold); color: var(--gold); }

/* Nav: active + dropdown */
.nav a.active { color: var(--gold); border-color: var(--gold); }
.dropdown { position: relative; }
.dropdown > button { background: none; border: 0; padding: 6px 0; font: 500 var(--fs-body) var(--font); color: var(--text); display: inline-flex; align-items: center; gap: 4px; cursor: pointer; border-bottom: 2px solid transparent; white-space: nowrap; }
.dropdown > button:hover, .dropdown.active > button { color: var(--gold); }
.dropdown > button .icon { width: 14px; height: 14px; transition: transform .2s; }
.dropdown-menu { position: absolute; top: calc(100% + 14px); left: -18px; min-width: 230px; background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 8px; box-shadow: var(--shadow); padding: 8px; display: none; z-index: 60; }
.dropdown-menu::before { content: ""; position: absolute; top: -17px; left: 0; right: 0; height: 14px; }
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu, .dropdown.open .dropdown-menu { display: block; }
.dropdown:hover > button .icon, .dropdown.open > button .icon { transform: rotate(180deg); }
.dropdown-menu a { display: block; padding: 10px 12px !important; border-radius: 6px; border: 0 !important; }
.dropdown-menu a:hover { background: var(--bg-alt); }

/* Inner page banner */
.page-hero { position: relative; background: var(--navy) center / cover no-repeat; color: #fff; padding: 80px 0 70px; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2,22,64,.95), rgba(4,35,99,.75)); }
.page-hero .wrap { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(30px, 4.2vw, 48px); line-height: 1.15; }
.page-hero p { margin-top: 14px; max-width: 640px; color: rgba(255,255,255,.85); font-size: var(--fs-lead); }
.crumbs { display: flex; gap: 8px; font-size: var(--fs-sm); color: rgba(255,255,255,.7); margin-bottom: 14px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--gold-light); }
.crumbs span[aria-hidden] { color: var(--gold); }
.page-hero .hero-actions { margin-top: 26px; }

/* Hero trust line */

.stars { color: var(--gold-light); letter-spacing: 2px; }

/* Stats merged into feature strip */
.feature .count { display: block; font-family: var(--font); font-size: var(--fs-h2s); font-weight: 700; color: var(--heading); line-height: 1.1; }

/* Section head with side link */

/* Logo marquee */

/* Services + process merged */
.service { position: relative; }
.service .step-tag { position: absolute; top: 26px; right: 26px; font-family: var(--font); font-size: var(--fs-h2s); font-weight: 700; color: var(--line); }

/* Success wall */

/* Video slider */

/* About + counsellor */

/* Deadlines */

/* Tools teaser */

.tool-link { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.tool-link:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold); }
.tool-link h3 { font-size: var(--fs-h3); margin-top: 18px; }
.tool-link p { color: var(--muted); font-size: var(--fs-sm); margin-top: 6px; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 22px; transition: border-color .2s; }
.faq details[open] { border-color: var(--gold); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 600; color: var(--heading); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: var(--fs-h3l); color: var(--gold); line-height: 1; transition: transform .2s; flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; color: var(--muted); font-size: var(--fs-body); }

/* Contact tabs */

.map-link { display: inline-flex; gap: 8px; align-items: center; margin-top: 20px; font-weight: 600; color: var(--gold); }

/* Trust footer */
.trust-row { display: flex; flex-wrap: wrap; gap: 14px 30px; align-items: center; justify-content: space-between; margin-top: 44px; padding: 20px 24px; border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); background: rgba(255,255,255,.03); }
.trust-item { display: flex; gap: 12px; align-items: center; font-size: var(--fs-sm); }
.trust-item b { color: #fff; display: block; }
.trust-item .icon { color: var(--gold); width: 26px; height: 26px; }

/* Course finder compare */
.table-scroll { overflow-x: auto; }

/* Country pages */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fact { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.fact small { display: block; font-size: var(--fs-small); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.fact b { display: block; margin-top: 6px; font-size: var(--fs-lead); color: var(--heading); }
.fact span { font-size: var(--fs-sm); color: var(--muted); }
.facts-wrap { margin-top: -46px; position: relative; z-index: 2; }
.page-grid { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.content h2 { font-family: var(--font); font-size: var(--fs-h2s); margin: 44px 0 14px; }
.content h2:first-child { margin-top: 0; }
.content p { color: var(--muted); margin-bottom: 12px; }
.ticks { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; }
.ticks .icon { color: var(--gold); margin-top: 3px; }
.data-table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); font-size: var(--fs-sm); }
.data-table th, .data-table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.data-table th { background: var(--navy); color: #fff; font-weight: 600; font-size: var(--fs-sm); }
.data-table tr:last-child td { border-bottom: 0; }
.sidebar { position: sticky; top: 100px; display: grid; gap: 20px; }
.side-card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.side-card.navy { background: var(--navy); border-color: var(--navy); color: #fff; }
.side-card.navy h3 { color: #fff; }
.side-card h3 { font-size: var(--fs-h3); margin-bottom: 8px; }
.side-card p { font-size: var(--fs-sm); color: var(--muted); }
.side-card.navy p { color: rgba(255,255,255,.8); }
.side-card .btn { width: 100%; margin-top: 14px; }
.side-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: var(--fs-sm); }
.side-card ul a:hover { color: var(--gold); }
.faq.left { margin: 0; }

/* Blog */
.article { max-width: 780px; margin: 0 auto; }
.article .lead { font-size: var(--fs-h3); color: var(--text); margin-bottom: 20px; }
.article h2 { font-family: var(--font); font-size: var(--fs-h3l); margin: 36px 0 12px; }
.article p { color: var(--muted); margin-bottom: 14px; }
.filter-chips { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 36px; }
.filter-chips button { border: 1px solid var(--line); background: var(--card); color: var(--text); padding: 8px 16px; border-radius: 30px; font: 500 var(--fs-sm) var(--font); cursor: pointer; }
.filter-chips button[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Portal */

/* Reveal animation (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

html[dir="rtl"] .read-more .icon, html[dir="rtl"] .btn .flip { transform: scaleX(-1); }
html[dir="rtl"] .hero::before { background: linear-gradient(270deg, rgba(2,22,64,.95) 0%, rgba(4,35,99,.8) 45%, rgba(4,35,99,.3) 100%); }
html[dir="rtl"] .feature + .feature { border-left: 0; border-right: 1px solid var(--line); }
html[dir="rtl"] .title.left h2::after { margin-left: auto; margin-right: 0; }

/* v4 responsive */
@media (max-width: 1180px) {
  .dropdown > button { width: 100%; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--line); }
  .dropdown-menu { position: static; display: none; box-shadow: none; border: 0; border-left: 3px solid var(--gold); border-radius: 0; margin: 4px 0 8px; padding: 0 0 0 10px; min-width: 0; }
  .dropdown-menu::before { display: none; }
  .dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu { display: none; }
  .dropdown.open .dropdown-menu { display: block; }
}
@media (max-width: 1024px) {
  .facts { grid-template-columns: repeat(2, 1fr); }
  .page-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}
@media (max-width: 600px) {
  .tool-links, .uni-list, .facts { grid-template-columns: 1fr; }
  .page-hero { padding: 56px 0 70px; }
  .trust-row { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
html[dir="rtl"] .wa-float { right: auto; left: 22px; align-items: flex-start; }
html[dir="rtl"] .service .step-tag { right: auto; left: 26px; }
html[dir="rtl"] .footer h4::after { left: auto; right: 0; }
html[dir="rtl"] .badge { left: auto; right: 14px; }
html[dir="rtl"] .dropdown-menu { left: auto; right: -18px; }

/* ---------- Translations: fonts & menu (any language) ---------- */
.i18n-pending body { opacity: 0; }
html.i18n-font body { font-family: var(--i18n-font), var(--font); line-height: var(--i18n-lh, 1.7); }
html.i18n-font :is(h1, h2, h3, h4, .hero-sub, .btn, .nav a, .tabs button, .filter-chips button, .dropdown > button, .link-btn, input, select, textarea, .sch-card h3, .modal-head h3, .content h2, .article h2, .cta-band h2, .country.cta h3) { font-family: var(--i18n-font), var(--font); letter-spacing: 0; }
html.i18n-font :is(h1, .title h2) { line-height: var(--i18n-hlh, 1.25); }
html.i18n-font :is(.title .sub, .program-meta, .fact small, .calc-label, .program-foot small, .footer h4, .uni-logo) { text-transform: none; letter-spacing: 0; }
html.i18n-font :is(.brand-name, .brand-sub) { font-family: var(--font); }
html.i18n-font :is(.count, .step-tag, .meter-score strong, .countdown b, .date b) { font-family: var(--font); }
.lang-switch { position: relative; }
.lang-switch[hidden] { display: none; }
.topbar .lang-btn { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font); }
.topbar .lang-btn .icon { width: 14px; height: 14px; color: var(--gold); }
.lang-menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 80; min-width: 160px; background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 8px; box-shadow: var(--shadow); padding: 6px; display: none; }
html[dir="rtl"] .lang-menu { right: auto; left: 0; }
.lang-switch.open .lang-menu { display: block; }
.lang-menu button { display: block; width: 100%; text-align: start; background: none; border: 0; padding: 9px 12px; border-radius: 6px; color: var(--text); font-size: var(--fs-sm); cursor: pointer; font-family: var(--font), "Noto Nastaliq Urdu", sans-serif; }
.lang-menu button:hover { background: var(--bg-alt); }
.lang-menu button[aria-checked="true"] { color: var(--gold); font-weight: 600; }

/* ---------- Türkiye: Istanbul university fees ---------- */
.filter-chips.left { justify-content: flex-start; margin: 18px 0 20px; }

/* University logos */

/* Logo strip with real logos */

/* Course Finder cards showing a university logo */

/* UK universities list */

/* UK: grouped by city */

/* UK cards: commission table */

/* Multi-select (UK cities) */

/* ---------- UX polish ---------- */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--gold); color: var(--navy-dark); font-weight: 700; padding: 10px 16px; border-radius: 6px; }
.skip-link:focus { top: 12px; }
.to-top { position: fixed; right: 30px; bottom: 92px; z-index: 59; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--heading); display: grid; place-items: center; box-shadow: var(--shadow); cursor: pointer; transition: transform .2s, border-color .2s; }
.to-top[hidden] { display: none; }
.to-top:hover { transform: translateY(-2px); border-color: var(--gold); color: var(--gold); }
html[dir="rtl"] .to-top { right: auto; left: 30px; }
/* Course Finder */

@media (max-width: 600px) {
  .section { padding: 52px 0; }
  .title { margin-bottom: 30px; }
  .title p { margin-top: 10px; font-size: var(--fs-body); }
  .page-hero { padding: 40px 0 46px; }
  .page-hero h1 { font-size: var(--fs-h2s); }
  .page-hero p { font-size: var(--fs-body); margin-top: 10px; }
  .page-hero .hero-actions { margin-top: 18px; }
  .hero { min-height: 0; }
  .hero .wrap { padding-top: 48px; padding-bottom: 64px; }
  .hero p { font-size: var(--fs-lead); }
  .facts-wrap { margin-top: -30px; }
  .facts { gap: 10px; }
  .fact { padding: 14px 16px; }
  .content h2 { font-size: var(--fs-h3l); margin: 32px 0 10px; }
  .country-img { height: 160px; }
  .country-body, .service, .tool-link, .sch-card { padding: 20px; }
  .footer { padding-top: 48px; }
  .footer-grid { gap: 28px; }
  /* filter button rows: one swipeable line instead of several wrapped lines */
  .filter-chips { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 4px; margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; scrollbar-width: none; }
  .filter-chips::-webkit-scrollbar { display: none; }
  .filter-chips button { flex-shrink: 0; }
}

/* keep grid columns from growing wider than the screen */
.page-grid > *, .split > *, .why > *, .about > * { min-width: 0; }
@media (max-width: 600px) {
  /* commission table: stacked label/value rows on phones */
  
}

/* ---------- UK university card (redesign) ---------- */

/* ---------- Audit additions ---------- */

.footer-legal { display: inline-flex; flex-wrap: wrap; gap: 14px; }
.footer-legal a { color: rgba(255,255,255,.55); }
.footer-legal a:hover { color: var(--gold); }
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 300; max-width: 760px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  background: var(--navy-dark); color: #fff; border: 1px solid rgba(221,169,42,.5); border-radius: 12px; padding: 14px 18px; font-size: var(--fs-sm); box-shadow: 0 20px 40px -16px rgba(0,0,0,.5); }
.cookie-bar[hidden] { display: none; }
.cookie-bar a { color: var(--gold-light); text-decoration: underline; }
.cookie-actions { display: flex; align-items: center; gap: 14px; }
.cookie-actions .link-btn { color: rgba(255,255,255,.75); }
.cookie-actions .btn { padding: 8px 18px; font-size: var(--fs-sm); }
.article .lead span { font-weight: 600; }
@media (max-width: 600px) {
  .hero::before { background: linear-gradient(180deg, rgba(2,22,64,.85), rgba(4,35,99,.65)); }
}

/* Header: when the menu does not fit (long translations), use the compact menu at any width */
.brand-sub { white-space: nowrap; }
html.nav-compact .menu-btn { display: grid; }
html.nav-compact .header .apply { display: none; }
html.nav-compact .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--card); border-bottom: 1px solid var(--line); padding: 8px 20px 20px; box-shadow: 0 12px 20px -12px rgba(0,0,0,.25); }
html.nav-compact .nav.open { display: flex; }
html.nav-compact .nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
html.nav-compact .nav .btn, html.nav-compact .nav .mobile-only { display: flex; }
html.nav-compact .nav .btn { margin-top: 14px; border-bottom: 0; color: var(--navy-dark); justify-content: center; }
html.nav-compact .dropdown > button { width: 100%; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--line); }
html.nav-compact .dropdown-menu { position: static; display: none; box-shadow: none; border: 0; border-left: 3px solid var(--gold); border-radius: 0; margin: 4px 0 8px; padding: 0 0 0 10px; min-width: 0; }
html.nav-compact .dropdown:hover .dropdown-menu, html.nav-compact .dropdown:focus-within .dropdown-menu { display: none; }
html.nav-compact .dropdown.open .dropdown-menu { display: block; }
.header .btn { white-space: nowrap; }

/* Autocomplete */

/* Spam trap: hidden from people, bots fill it in */
.hp { position: absolute !important; width: 1px; height: 1px; padding: 0 !important; border: 0 !important; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; opacity: 0; pointer-events: none; }

/* ===================================================================
   Burraq Digital Pathways — prospectus layout (2026-10)
   =================================================================== */
.brand-mark { width: 112px; height: 55px; }
.topbar .reg-strip { display: inline-flex; align-items: center; gap: 6px; color: var(--gold-light); font-weight: 500; letter-spacing: .02em; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-size: var(--fs-sm); color: rgba(255,255,255,.88); }
.hero-badge .icon { color: var(--gold-light); width: 18px; height: 18px; }
.feature strong:not(.count) { display: block; font-size: var(--fs-lead); color: var(--heading); font-weight: 700; line-height: 1.3; }

/* Destinations hub */
#fieldFilter { margin-bottom: 34px; }
.country[hidden] { display: none; }
.country-img { display: block; height: 170px; }
.country-body h3 a { color: inherit; }
.country-body h3 a:hover { color: var(--gold); }
.visa-chip { display: flex; align-items: flex-start; gap: 8px; margin-top: 12px; font-size: var(--fs-small); line-height: 1.5; color: var(--heading); background: var(--gold-soft); border-radius: 6px; padding: 7px 10px; }
.visa-chip .icon { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.country-links { margin-top: auto; padding-top: 16px; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
.wa-link { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-sm); font-weight: 600; color: #1DA851; }
.wa-link .icon { width: 17px; height: 17px; }
.wa-link:hover { text-decoration: underline; }
.credits { margin-top: 28px; font-size: var(--fs-small); color: var(--muted); }
.credits summary { cursor: pointer; width: max-content; }
.credits ul { margin: 10px 0 0; padding-left: 18px; columns: 2; column-gap: 40px; }
.credits a, .photo-credit a { text-decoration: underline; }

/* Comparison table */
.compare th:first-child, .compare td:first-child { width: 20%; }
.compare td:last-child { background: var(--gold-soft); }

/* Vision / mission, eligibility teaser */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.vm-card { background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: var(--radius); padding: 34px 32px; box-shadow: var(--shadow); }
.vm-card h3 { font-family: var(--font); font-size: var(--fs-h3l); margin-top: 18px; }
.vm-card p { margin-top: 10px; color: var(--muted); }
.services.five { grid-template-columns: repeat(5, 1fr); gap: 18px; }
.services.five .service { padding: 28px 22px; }
.services.five .service h3 { font-size: var(--fs-lead); }

/* Contact desks */
.lead-text { color: var(--muted); margin: -20px 0 26px; }
.desks { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.desk { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.desk-role { display: block; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.desk b { display: block; color: var(--heading); margin-top: 2px; }
.desk-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.desk-actions .btn { padding: 9px 14px; font-size: var(--fs-sm); }
.btn-ghost { background: transparent; color: var(--heading); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.side-card .desk { padding: 14px 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: none; }
.side-card .desk:first-of-type { border-top: 0; padding-top: 4px; }
.side-card .desk-actions .btn { width: auto; margin: 0; }

/* Country pages */
.photo-credit { margin-top: 26px; font-size: var(--fs-xs); color: rgba(255,255,255,.7); }
.pill { display: inline-block; background: var(--gold); color: var(--navy-dark); font-size: var(--fs-small); font-weight: 600; padding: 4px 12px; border-radius: 20px; margin-bottom: 4px; }
.degree-tags { list-style: none; padding: 0; margin: 16px 0 6px; display: flex; flex-wrap: wrap; gap: 8px; }
.degree-tags li { background: var(--bg-alt); border: 1px solid var(--line); color: var(--heading); font-size: var(--fs-sm); font-weight: 500; padding: 6px 14px; border-radius: 20px; }
.quick-form label { display: block; font-size: var(--fs-sm); font-weight: 500; margin: 6px 0; color: rgba(255,255,255,.85); }
.quick-form select { width: 100%; font: 400 var(--fs-sm) var(--font); padding: 11px 12px; border-radius: 6px; border: 0; background: #fff; color: #1F2A3D; margin-bottom: 12px; }
.fact b { font-size: var(--fs-body); line-height: 1.4; }

/* About */
.about-img .about-logo { height: auto; object-fit: contain; background: #fff; padding: 30px; border: 1px solid var(--line); }
.partners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.partner { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; text-align: center; }
.partner-ico { width: 64px; height: 64px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; margin: 0 auto 16px; }
.partner-ico .icon { width: 28px; height: 28px; }
.partner h3 { font-size: var(--fs-h3); }
.partner-role { display: block; color: var(--gold); font-size: var(--fs-sm); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-top: 4px; }
.partner p { color: var(--muted); font-size: var(--fs-sm); margin-top: 12px; }
.partner .read-more { margin-top: 14px; justify-content: center; }
.reg-table { max-width: 820px; margin: 0 auto; }
.reg-table th { width: 34%; text-align: left; }
html[dir="rtl"] .reg-table th { text-align: right; }

/* Eligibility */
.wrap.narrow { max-width: 980px; }
.policy { display: grid; gap: 14px; margin-top: 26px; }
.policy-item { display: flex; gap: 18px; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius); padding: 22px 24px; }
html[dir="rtl"] .policy-item { border-left: 1px solid var(--line); border-right: 4px solid var(--gold); }
.policy-item.ok { border-left-color: #1DA851; }
html[dir="rtl"] .policy-item.ok { border-left-color: var(--line); border-right-color: #1DA851; }
.policy-item h3 { font-size: var(--fs-lead); }
.policy-item p { color: var(--muted); font-size: var(--fs-body); margin-top: 4px; }

/* Footer */
.footer-reg-block { font-size: var(--fs-small); line-height: 1.7; margin-top: 16px; color: rgba(255,255,255,.6); }
.footer ul.cols-2 { columns: 2; column-gap: 18px; }

@media (max-width: 1180px) {
  .countries { grid-template-columns: repeat(3, 1fr); }
  .services.five { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  .countries { grid-template-columns: repeat(2, 1fr); }
  .partners { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .vm-grid, .desks { grid-template-columns: 1fr; }
  .services.five { grid-template-columns: 1fr 1fr; }
  .credits ul { columns: 1; }
}
@media (max-width: 600px) {
  .countries, .partners, .services.five { grid-template-columns: 1fr; }
  .vm-card { padding: 26px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .wa-fab::before, .wa-fab::after { animation: none; opacity: 0; }
}

.trust-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.page-hero.photo { padding: 110px 0 100px; }
.page-hero.photo::before { background: linear-gradient(90deg, rgba(2,22,64,.92) 0%, rgba(2,22,64,.7) 45%, rgba(2,22,64,.15) 100%); }
html[dir="rtl"] .page-hero.photo::before { background: linear-gradient(270deg, rgba(2,22,64,.92) 0%, rgba(2,22,64,.7) 45%, rgba(2,22,64,.15) 100%); }
.facts-wrap .photo-credit { margin-top: 10px; text-align: right; color: var(--muted); }
html[dir="rtl"] .facts-wrap .photo-credit { text-align: left; }
@media (max-width: 600px) { .page-hero.photo { padding: 50px 0 60px; } .page-hero.photo::before { background: rgba(2,22,64,.72); } }
@media (max-width: 600px) {
  .brand-mark { width: 74px; height: 37px; }
  .brand-name { font-size: 19px; }
  .brand-sub { font-size: 8.5px; letter-spacing: .2em; }
  .header .brand { gap: 8px; min-width: 0; }
}

/* ===================================================================
   UI refresh (2026-10) — hero card, photo cards, comparison, timeline,
   recognition strip, CTA band, map, mobile action bar
   =================================================================== */
:root { --radius: 14px; --shadow-lg: 0 24px 60px -24px rgba(4, 35, 99, .35); }
[data-theme-active="dark"] { --shadow-lg: 0 24px 60px -24px rgba(0, 0, 0, .7); }

/* Buttons: softer corners, lift on hover */
.btn { border-radius: 10px; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: linear-gradient(135deg, #F3CD46, #DDA92A); box-shadow: 0 10px 22px -12px rgba(221, 169, 42, .9); }
.btn-gold:hover { background: linear-gradient(135deg, #F7D965, #E4B437); box-shadow: 0 14px 26px -12px rgba(221, 169, 42, 1); }
.btn-outline { backdrop-filter: blur(6px); background: rgba(255,255,255,.06); }

/* Header: frosted glass once the page scrolls */
.header.scrolled { background: rgba(255,255,255,.88); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); }
[data-theme-active="dark"] .header.scrolled { background: rgba(7,32,74,.88); }

/* Section titles */
.title .sub { display: inline-flex; align-items: center; gap: 10px; }
.title .sub::before, .title .sub::after { content: ""; width: 22px; height: 1px; background: var(--gold); }
.title.left .sub::before { display: none; }

/* Hero: two columns with the quick eligibility card */
.hero { min-height: 680px; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 140px; background: linear-gradient(180deg, transparent, rgba(2,22,64,.55)); pointer-events: none; }
.hero .wrap { z-index: 1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; align-items: center; }
.hero-content { max-width: 620px; }
.hero-card { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-radius: 18px; padding: 30px 28px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.hero-card-tag { display: inline-block; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-light); }
.hero-card h2 { color: #fff; font-family: var(--font); font-size: var(--fs-h3l); margin: 8px 0 16px; }
.hero-card.quick-form label { color: rgba(255,255,255,.85); margin-top: 10px; }
.hero-card.quick-form select { border-radius: 10px; margin-bottom: 4px; }
.hero-card .btn { width: 100%; margin-top: 16px; padding: 15px; }
.hero-card-points { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 6px; font-size: var(--fs-sm); color: rgba(255,255,255,.82); }
.hero-card-points li { display: flex; align-items: center; gap: 8px; }
.hero-card-points .icon { width: 16px; height: 16px; color: var(--gold-light); }

/* Feature strip */
.features-grid { border-radius: 18px; box-shadow: var(--shadow-lg); }
.feature { padding: 28px 26px; }
.feature-ico { background: linear-gradient(135deg, var(--gold-soft), rgba(221,169,42,.25)); }

/* Recognition strip */
.recog { padding: 56px 0 10px; }
.recog-title { text-align: center; font-size: var(--fs-sm); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.recog-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.recog-list li { text-align: center; padding: 16px 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); transition: border-color .2s, transform .2s; }
.recog-list li:hover { border-color: var(--gold); transform: translateY(-3px); }
.recog-list b { display: block; font-family: var(--font); font-size: var(--fs-h3l); letter-spacing: .06em; color: var(--heading); line-height: 1.2; }
.recog-list span { display: block; font-size: var(--fs-small); color: var(--muted); margin-top: 4px; line-height: 1.4; }

/* Destination cards: name on the photo */
.country { border-radius: 16px; transition: transform .3s, box-shadow .3s, border-color .3s; }
.country:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.country-img { height: 210px; }
.country-img img { transition: transform .6s ease; }
.country:hover .country-img img { transform: scale(1.07); }
.country-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2,22,64,0) 40%, rgba(2,22,64,.88) 100%); }
.country-img .badge { z-index: 1; border-radius: 20px; padding: 4px 12px; box-shadow: 0 6px 14px -6px rgba(0,0,0,.4); }
.country-name { position: absolute; left: 20px; right: 20px; bottom: 16px; z-index: 1; margin: 0; font-family: var(--font); font-size: var(--fs-h2s); line-height: 1.1; color: #fff; }
.country-name a { color: #fff; }
.country-name a::after { content: ""; position: absolute; inset: -400px -40px -16px; } /* whole photo is the link */
.country-name small { display: block; font-family: var(--font); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 4px; }
.country-body { padding: 20px 22px 22px; }
.country-body p { margin-top: 0; }
html[dir="rtl"] .country-name { text-align: right; }

/* Comparison: two cards */
.compare-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: 26px; align-items: stretch; }
.compare-col { position: relative; border-radius: 18px; padding: 34px 32px; border: 1px solid var(--line); background: var(--card); }
.compare-col h3 { font-size: var(--fs-h3); margin-bottom: 18px; }
.compare-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.compare-col li { display: flex; gap: 14px; }
.compare-col li b { display: block; font-size: var(--fs-body); color: var(--heading); }
.compare-col li p { font-size: var(--fs-sm); color: var(--muted); margin-top: 2px; }
.cmp-ico { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; margin-top: 2px; }
.cmp-ico .icon { width: 15px; height: 15px; }
.cmp-ico.no { background: rgba(214, 69, 69, .1); color: #C94040; }
.cmp-ico.yes { background: var(--gold); color: var(--navy-dark); }
.compare-col.local { opacity: .92; }
.compare-col.burraq { background: linear-gradient(150deg, #042363 0%, #021640 100%); border-color: transparent; box-shadow: var(--shadow-lg); }
.compare-col.burraq h3, .compare-col.burraq li b { color: #fff; }
.compare-col.burraq li p { color: rgba(255,255,255,.75); }
.compare-badge { position: absolute; top: -13px; left: 32px; background: var(--gold); color: var(--navy-dark); font-size: var(--fs-small); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 14px; border-radius: 20px; }
html[dir="rtl"] .compare-badge { left: auto; right: 32px; }

/* Vision & mission */
.vm-card { border-radius: 18px; position: relative; overflow: hidden; }
.vm-card::after { content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(221,169,42,.16), transparent 70%); }

/* Process: connected timeline */
.services.timeline { position: relative; gap: 22px; }
.services.timeline::before { content: ""; position: absolute; top: 33px; left: 10%; right: 10%; height: 2px; background: repeating-linear-gradient(90deg, var(--gold) 0 10px, transparent 10px 18px); opacity: .6; }
.services.timeline .service { position: relative; background: transparent; border: 0; padding: 0 6px; text-align: center; box-shadow: none; transform: none; }
.services.timeline .step-tag { position: relative; z-index: 1; display: grid; place-items: center; width: 66px; height: 66px; margin: 0 auto; border-radius: 50%; background: var(--navy); color: var(--gold-light); font-family: var(--font); font-size: var(--fs-h3l); font-weight: 700; box-shadow: 0 0 0 6px var(--bg-alt), 0 12px 24px -10px rgba(4,35,99,.5); inset: auto; opacity: 1; }
.services.timeline .service:hover .step-tag { background: var(--gold); color: var(--navy-dark); }
.services.timeline .service-ico { display: none; }
.services.timeline .service h3 { margin-top: 18px; }

/* Eligibility teaser cards */
.tool-link { border-radius: 18px; }

/* FAQ */
.faq details { border-radius: 12px; transition: box-shadow .2s, border-color .2s; }
.faq details[open] { box-shadow: var(--shadow); border-color: var(--gold); }

/* Contact */
.form-card { border-radius: 18px; box-shadow: var(--shadow-lg); }
.field input, .field select, .field textarea { border-radius: 10px; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { box-shadow: 0 0 0 4px rgba(221,169,42,.18); }
.desk { border-radius: 14px; transition: border-color .2s, box-shadow .2s; }
.desk:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.map-section { line-height: 0; }
.map-section iframe { width: 100%; height: 380px; border: 0; filter: saturate(.9); }
[data-theme-active="dark"] .map-section iframe { filter: invert(.9) hue-rotate(180deg) saturate(.7); }

/* Country pages */
.fact { display: flex; gap: 14px; align-items: flex-start; border-radius: 14px; box-shadow: var(--shadow); }
.fact-ico { width: 40px; height: 40px; border-radius: 10px; background: var(--gold-soft); color: var(--gold); display: grid; place-items: center; flex-shrink: 0; }
.fact-ico .icon { width: 20px; height: 20px; }
.fact small { display: block; }
.content h2 { padding-left: 14px; border-left: 4px solid var(--gold); line-height: 1.3; }
html[dir="rtl"] .content h2 { padding-left: 0; border-left: 0; padding-right: 14px; border-right: 4px solid var(--gold); }
.side-card { border-radius: 16px; }
.side-card.navy { background: linear-gradient(150deg, #042363, #021640); }
.degree-tags li { transition: border-color .2s, color .2s; }
.degree-tags li:hover { border-color: var(--gold); color: var(--gold); }

/* CTA band before the footer */
.cta-band { position: relative; overflow: hidden; background: radial-gradient(circle at 15% 50%, #0A3487 0%, #042363 45%, #021640 100%); color: #fff; padding: 64px 0; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M20 2l2 6 6 2-6 2-2 6-2-6-6-2 6-2z' fill='%23DDA92A' opacity='.08'/%3E%3C/svg%3E"); }
.cta-band .wrap { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; }
.cta-emblem { width: 150px; height: auto; filter: drop-shadow(0 10px 20px rgba(0,0,0,.4)); }
.cta-band h2 { color: #fff; font-size: clamp(24px, 2.8vw, 32px); }
.cta-band p { margin-top: 8px; color: rgba(255,255,255,.8); max-width: 560px; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; }
.footer { background: #010D29; }

/* Mobile action bar */
.mobile-bar { display: none; }

@media (max-width: 1180px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 36px; }
  .recog-list { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  .services.timeline::before { display: none; }
  .cta-band .wrap { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .cta-actions { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .cta-band p { margin-left: auto; margin-right: auto; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { max-width: 520px; }
  .compare-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hero .wrap { padding-top: 50px; padding-bottom: 80px; }
  .hero-card { padding: 24px 20px; }
  .recog-list { grid-template-columns: repeat(2, 1fr); }
  .compare-col { padding: 28px 22px; }
  .cta-emblem { width: 110px; }
  .cta-actions .btn { flex: 1 1 100%; }
  .map-section iframe { height: 300px; }
  body { padding-bottom: 64px; }
  .wa-float { display: none; }
  .to-top { bottom: 80px !important; }
  .cookie-bar { bottom: 76px; }
  .mobile-bar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: var(--card); border-top: 1px solid var(--line); box-shadow: 0 -10px 24px -14px rgba(4,35,99,.35); padding-bottom: env(safe-area-inset-bottom); }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: 62px; font-size: var(--fs-small); font-weight: 600; color: var(--heading); }
  .mobile-bar .icon { width: 22px; height: 22px; color: var(--gold); }
  .mobile-bar a.mb-wa { background: var(--wa); color: #fff; }
  .mobile-bar a.mb-wa .icon { color: #fff; }
}
@media (prefers-reduced-motion: reduce) {
  .btn:hover, .country:hover, .recog-list li:hover { transform: none; }
  .country:hover .country-img img { transform: none; }
}
html[dir="rtl"] .services.timeline .step-tag { left: auto; right: auto; }
.title.left .sub::after { display: none; }
html.i18n-font .country-name small { line-height: 1.8; margin-bottom: 8px; letter-spacing: 0; }
html.i18n-font .country-name { line-height: 1.6; }
/* Lead form: 60-second kicker + radio buttons */
.form-kicker { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-small); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.form-kicker .icon { width: 15px; height: 15px; }
.radio-field { border: 0; padding: 0; margin: 0; min-width: 0; }
.radio-field legend { font-size: var(--fs-sm); font-weight: 500; color: var(--heading); padding: 0; margin-bottom: 8px; }
.radio-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.radio-row label { cursor: pointer; }
.radio-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.radio-row span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 44px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; font-size: var(--fs-sm); font-weight: 500; background: var(--field); transition: border-color .2s, background .2s, color .2s; }
.radio-row label:hover span { border-color: var(--gold); }
.radio-row input:checked + span { border-color: var(--gold); background: var(--gold-soft); color: var(--heading); font-weight: 600; }
.radio-row input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.radio-row label { position: relative; }
@media (max-width: 600px) { .radio-row { grid-template-columns: 1fr; } }
/* Eligibility form: Bachelor's / Master's switch */
.track-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; margin-top: 18px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 12px; }
.track-switch button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 10px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font: 600 var(--fs-sm) var(--font); cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; }
.track-switch button .icon { width: 17px; height: 17px; }
.track-switch button[aria-selected="true"] { background: var(--navy); color: #fff; box-shadow: 0 6px 14px -8px rgba(4,35,99,.6); }
.track-switch button[aria-selected="true"] .icon { color: var(--gold-light); }
.form-card form[hidden] { display: none; }
html.i18n-font .track-switch button { font-family: var(--i18n-font), var(--font); }

/* Confirmation shown after an enquiry form opens WhatsApp */
.form-sent { display: flex; gap: 12px; align-items: flex-start; margin-top: 14px; padding: 14px 16px; border-radius: var(--radius); background: var(--gold-soft); border: 1px solid var(--gold); color: var(--text); font-size: var(--fs-sm); text-align: start; }
.form-sent > .icon { flex: none; width: 22px; height: 22px; color: var(--ok); margin-top: 2px; }
.form-sent b { display: block; color: var(--heading); }
.form-sent span { display: block; margin: 2px 0 8px; color: var(--muted); }
.form-sent a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ok); }
.form-sent a .icon { width: 18px; height: 18px; }

/* WhatsApp online status (office hours, Pakistan time) */
.wa-status { display: flex; align-items: center; gap: 7px; font-size: var(--fs-small); color: var(--muted); padding: 0 8px 8px; margin-top: -4px; }
.wa-status::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #9AA3B2; }
.wa-float.is-online .wa-status::before { background: var(--wa); box-shadow: 0 0 0 3px rgba(37,211,102,.2); }
.wa-dot { display: none; position: absolute; z-index: 2; top: 3px; right: 3px; width: 13px; height: 13px; border-radius: 50%; background: #7CFFB0; border: 2px solid #fff; }
.wa-float.is-online .wa-dot { display: block; }

/* Share a country page with family */
.share-card { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 34px; padding: 18px 20px; border-radius: var(--radius); background: var(--gold-soft); border: 1px solid var(--line); }
.share-card > div { flex: 1 1 260px; }
.share-card b { color: var(--heading); font-size: var(--fs-lead); }
.share-card p { margin: 2px 0 0; font-size: var(--fs-sm); color: var(--muted); }
.share-ico { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--card); color: var(--heading); }
.share-ico .icon { width: 22px; height: 22px; }
.btn-wa { background: var(--wa); color: #fff; border: 0; }
.btn-wa:hover { background: var(--wa-hover); color: #fff; }

/* WhatsApp QR (Contact page, computers only) */
.qr-card { display: flex; align-items: center; gap: 18px; margin-top: 22px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.qr-card img { flex: none; width: 120px; height: 120px; border-radius: 6px; background: #fff; }
.qr-card b { color: var(--heading); }
.qr-card p { margin: 4px 0 0; font-size: var(--fs-sm); color: var(--muted); }
@media (max-width: 900px), (hover: none) { .qr-card { display: none; } }

/* Country quiz (home page) */
.quiz-pointer { text-align: center; margin-top: 26px; }
.quiz-pointer a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--heading); border-bottom: 2px solid var(--gold); padding-bottom: 2px; }
.quiz-pointer .icon { width: 18px; height: 18px; color: var(--gold); }
.quiz { position: relative; max-width: 940px; margin: 0 auto; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 34px 36px 30px; overflow: hidden; }
.quiz-progress { position: absolute; inset: 0 0 auto; height: 5px; background: var(--line); }
.quiz-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--gold-light)); transition: width .35s ease; }
.quiz-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.quiz-step legend { display: block; width: 100%; padding: 0; margin-bottom: 20px; font: 600 clamp(20px, 2.4vw, 25px)/1.3 var(--font); color: var(--heading); }
.quiz-step legend small { display: block; margin-bottom: 6px; font-size: var(--fs-small); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.quiz-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.quiz-opt { display: flex; align-items: center; min-height: 58px; padding: 14px 18px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--bg); color: var(--text); font: 600 var(--fs-body)/1.4 var(--font); text-align: start; cursor: pointer; transition: border-color .2s, background .2s, transform .15s; }
.quiz-opt::before { content: ""; flex: none; width: 16px; height: 16px; margin-inline-end: 12px; border-radius: 50%; border: 2px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.quiz-opt:hover, .quiz-opt:focus-visible { border-color: var(--gold); background: var(--gold-soft); }
.quiz-opt:active { transform: scale(.99); }
.quiz-opt[aria-pressed="true"] { border-color: var(--gold); background: var(--gold-soft); }
.quiz-opt[aria-pressed="true"]::before { border-color: var(--gold); box-shadow: inset 0 0 0 3px var(--card), inset 0 0 0 8px var(--gold); }
.quiz-back { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; }
.quiz-back .icon { width: 16px; height: 16px; }
.quiz-result h3 { font-size: clamp(20px, 2.4vw, 25px); color: var(--heading); }
.quiz-summary { margin: 4px 0 20px; color: var(--muted); font-size: var(--fs-sm); }
.quiz-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.quiz-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg); }
.quiz-card.best { border: 2px solid var(--gold); box-shadow: 0 12px 28px -14px rgba(221,169,42,.6); }
.quiz-card-img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-alt); }
.quiz-card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.quiz-card-img .badge { position: absolute; top: 10px; inset-inline-start: 10px; }
.quiz-card-body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.quiz-card-body h4 { font-size: var(--fs-h3); color: var(--heading); }
.quiz-card-badge { font-size: var(--fs-small); font-weight: 600; color: var(--gold); text-transform: uppercase; letter-spacing: .05em; margin: 2px 0 10px; }
.quiz-card-body ul { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 7px; flex: 1; }
.quiz-card-body li { display: flex; gap: 8px; font-size: var(--fs-sm); line-height: 1.45; }
.quiz-card-body li .icon { flex: none; width: 18px; height: 18px; color: var(--ok); margin-top: 1px; }
.quiz-result .fine-print { margin-top: 16px; }
.quiz-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
@media (max-width: 600px) { .quiz { padding: 28px 18px 22px; } .quiz-actions .btn { flex: 1 1 100%; } }

/* Country journey tracker */
.journey { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; counter-reset: none; }
.journey li { position: relative; display: flex; }
.journey li:not(:last-child)::after { content: ""; position: absolute; top: 36px; inset-inline-end: -14px; width: 14px; height: 2px; background: var(--gold); opacity: .5; }
.journey button { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; width: 100%; padding: 18px 16px 20px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--card); color: var(--text); font: inherit; text-align: start; cursor: pointer; transition: border-color .2s, background .2s, transform .2s, box-shadow .2s; }
.journey button:hover, .journey button:focus-visible { border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--shadow); }
.j-num { position: absolute; top: 14px; inset-inline-end: 14px; font: 700 var(--fs-sm)/1 var(--font); color: var(--muted); }
.j-ico { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-soft); color: var(--heading); transition: background .2s, color .2s; }
.j-ico .icon { width: 22px; height: 22px; }
.journey b { font-size: var(--fs-body); color: var(--heading); line-height: 1.3; }
.j-text { font-size: var(--fs-sm); line-height: 1.5; color: var(--muted); }
.journey button.done { border-color: rgba(30,158,85,.45); }
.journey button.done .j-ico { background: var(--ok); color: #fff; }
.journey button.done .j-num::before { content: "✓ "; color: var(--ok); }
.journey button.current { border-color: var(--gold); background: var(--gold-soft); box-shadow: 0 0 0 3px rgba(221,169,42,.25); }
.journey button.current .j-ico { background: var(--gold); color: var(--navy-dark); }
.journey-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 22px; margin-top: 30px; }
.journey-note { font-weight: 600; color: var(--heading); }
@media (max-width: 1100px) { .journey { grid-template-columns: repeat(3, 1fr); } .journey li:nth-child(3)::after { display: none; } }
@media (max-width: 640px) { .journey { grid-template-columns: 1fr 1fr; gap: 10px; } .journey li::after { display: none; } .journey button { padding: 14px 12px 16px; } }

/* ================= Blueprint V7 components ================= */
.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; }
.topbar .reg-strip { gap: 8px; flex-wrap: wrap; }
.topbar .reg-strip a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }
.topbar .sep { opacity: .45; }
.topbar .topbar-group { gap: 16px; }
@media (max-width: 1440px) { .hide-md { display: none !important; } }
@media (max-width: 560px) { .hide-xs { display: none !important; } .topbar { font-size: var(--fs-small); } }

/* Quick answer under every H1 (V7 10.3) */
.quick-answer { max-width: 760px; }
.hero .quick-answer { font-size: var(--fs-lead); }

/* Lead form (V7 9.1) */
.hero-card.form-card { background: var(--card); color: var(--text); backdrop-filter: none; -webkit-backdrop-filter: none; border: 0; border-top: 4px solid var(--gold); padding: 26px 24px; }
.lead-form h3 { font-size: var(--fs-h3l); color: var(--heading); margin-top: 6px; }
.lead-form > p { color: var(--muted); font-size: var(--fs-sm); margin-top: 4px; }
.lead-form .track-switch label { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px; border-radius: 9px; color: var(--muted); font: 600 var(--fs-sm) var(--font); cursor: pointer; transition: background .2s, color .2s; }
.lead-form .track-switch input { position: absolute; opacity: 0; pointer-events: none; }
.lead-form .track-switch label:has(input:checked) { background: var(--navy); color: #fff; box-shadow: 0 6px 14px -8px rgba(4,35,99,.6); }
.lead-form .track-switch label:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
.lead-form .track-switch .icon { width: 17px; height: 17px; }
.form-steps { display: flex; gap: 8px; margin: 16px 0 0; }
.form-steps span { flex: 1; height: 4px; border-radius: 4px; background: var(--line); font-size: 0; }
.form-steps span.on { background: var(--gold); }
.form-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.form-step .form-grid { margin-top: 16px; }
.lead-form.compact .form-grid { grid-template-columns: 1fr; gap: 12px; }
.lead-form .form-next { width: 100%; margin-top: 18px; }
.form-actions { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.form-actions .btn { flex: 1; margin-top: 0 !important; }
.form-card .form-actions .btn { width: auto; }
.form-back { display: inline-flex; align-items: center; gap: 4px; }
.form-back .icon { width: 16px; height: 16px; }
.field .label { font-size: var(--fs-sm); font-weight: 500; color: var(--heading); }
.uni-options { display: grid; gap: 6px; max-height: 240px; overflow-y: auto; padding: 6px; border: 1px solid var(--line); border-radius: 10px; background: var(--field); }
.uni-opt { display: flex; gap: 10px; align-items: flex-start; padding: 8px 10px; border-radius: 8px; cursor: pointer; font-size: var(--fs-sm); line-height: 1.35; }
.uni-opt:hover { background: var(--gold-soft); }
.uni-opt input { margin-top: 3px; accent-color: var(--gold); flex: none; }
.uni-opt b { display: block; font-weight: 600; color: var(--heading); }
.uni-opt small { color: var(--muted); font-size: var(--fs-small); }
.uni-opt.special b { font-weight: 500; color: var(--text); }
.uni-opt:has(input:checked) { background: var(--gold-soft); box-shadow: inset 0 0 0 1px var(--gold); }
.uni-empty { font-size: var(--fs-sm); color: var(--muted); padding: 6px 8px; }
.uni-warn, .flag { color: #B4231B; font-size: var(--fs-sm); font-weight: 600; }
.more-details { margin-top: 16px; border: 1px dashed var(--line); border-radius: 10px; padding: 10px 14px; }
.more-details summary { cursor: pointer; font-weight: 600; color: var(--heading); font-size: var(--fs-sm); }
.more-details .form-grid { margin-top: 12px; }
.form-note a { text-decoration: underline; }

/* Trust strip (V7 6.2) and recognition note (6.3) */
.trust-strip { padding: 34px 0 10px; }
.trust-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.trust-list li { display: flex; gap: 12px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.trust-list .icon { flex: none; width: 26px; height: 26px; color: var(--gold); }
.trust-list b { display: block; color: var(--heading); font-size: var(--fs-body); margin-bottom: 2px; }
.trust-list span { font-size: var(--fs-small); color: var(--muted); line-height: 1.45; }
.trust-list a { text-decoration: underline; }
@media (max-width: 1100px) { .trust-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .trust-list { grid-template-columns: 1fr; } }
.recog-note { text-align: center; font-size: var(--fs-small); color: var(--muted); margin-top: 14px; }

/* Destination cards (V7 6.4) */
.country-facts { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; font-size: var(--fs-sm); color: var(--muted); }
.country-facts li { display: flex; gap: 8px; align-items: flex-start; }
.country-facts .icon { flex: none; width: 16px; height: 16px; color: var(--gold); margin-top: 2px; }
.country-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 14px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); font-size: var(--fs-small); color: var(--muted); }
.country-meta b { color: var(--heading); }
.glance { margin-top: 44px; }
.data-table caption { caption-side: top; text-align: start; font-size: var(--fs-sm); color: var(--muted); padding: 0 0 10px; }
.data-table td.num, .data-table .num { white-space: nowrap; font-variant-numeric: tabular-nums; }

/* Cost section (V7 6.5) */
.cost-banners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 28px 0; }
.cost-banners p { display: flex; gap: 12px; align-items: center; background: var(--navy); color: #fff; border-radius: var(--radius); padding: 18px; font-weight: 600; }
.cost-banners .icon { flex: none; width: 26px; height: 26px; color: var(--gold-light); }
@media (max-width: 800px) { .cost-banners { grid-template-columns: 1fr; } }
.compare-table th[scope="row"] { width: 18%; }
.compare-table td:last-child { background: var(--gold-soft); }
.center-actions { text-align: center; margin-top: 24px; }
.narrow { max-width: 860px; margin-left: auto; margin-right: auto; }

/* Pay steps, notices, content blocks */
.pay-steps { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 10px; counter-reset: pay; }
.pay-steps li { display: flex; gap: 12px; align-items: center; counter-increment: pay; }
.pay-steps li::before { content: counter(pay); flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--navy-dark); font-weight: 700; font-size: var(--fs-sm); }
.pay-steps .icon { flex: none; width: 20px; height: 20px; color: var(--heading); }
.notice { display: flex; gap: 12px; align-items: flex-start; margin: 20px 0; padding: 16px 18px; border-radius: var(--radius); background: var(--bg-alt); border: 1px solid var(--line); border-inline-start: 4px solid var(--navy); font-size: var(--fs-body); }
.notice > .icon { flex: none; width: 22px; height: 22px; color: var(--heading); margin-top: 2px; }
.notice.warn { border-inline-start-color: #C9781D; background: #FFF6E8; color: #4A3410; }
[data-theme-active="dark"] .notice.warn { background: rgba(201,120,29,.14); color: var(--text); }
.notice.medical { display: block; border-inline-start-color: var(--ok); }
.notice-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.notice-badges span { background: var(--ok); color: #fff; font-size: var(--fs-small); font-weight: 700; padding: 3px 10px; border-radius: 20px; }
.notice a { text-decoration: underline; }
.why-blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 20px 0 8px; }
.why-block { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.why-block h3 { font-size: var(--fs-lead); margin: 0 0 6px; }
.why-block p { font-size: var(--fs-sm); color: var(--muted); }
@media (max-width: 700px) { .why-blocks { grid-template-columns: 1fr; } }
.content h3 { margin-top: 22px; }
.cost-lines { padding-inline-start: 20px; display: grid; gap: 8px; }
.pill.ground { display: inline-flex; align-items: center; gap: 6px; background: var(--gold-soft); color: var(--heading); border: 1px solid var(--gold); }
.pill.ground .icon { width: 15px; height: 15px; }
.reviewed { display: flex; align-items: center; gap: 8px; margin-top: 30px; font-size: var(--fs-sm); color: var(--muted); }
.reviewed .icon { width: 18px; height: 18px; color: var(--ok); }
.sources { font-size: var(--fs-sm); color: var(--muted); margin-top: 4px; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.sources a { text-decoration: underline; }
.uni-table th[scope="row"] { font-weight: 600; color: var(--heading); }
.uni-table td:nth-child(2) { white-space: nowrap; }
.journey.steps-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .journey.steps-4 { grid-template-columns: repeat(2, 1fr); } .journey.steps-4 li:nth-child(2)::after { display: none; } }
@media (max-width: 640px) { .journey.steps-4 { grid-template-columns: 1fr; } }
.journey-arrival { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 18px; font-weight: 600; color: var(--heading); }
.journey-arrival .icon { width: 18px; height: 18px; color: var(--gold); }

/* About, Eligibility, Legal, Contact */
.partner-cred { display: inline-block; font-size: var(--fs-small); font-weight: 700; letter-spacing: .04em; color: var(--gold); text-transform: uppercase; margin-bottom: 2px; }
.partner p { font-size: var(--fs-sm); color: var(--muted); margin-top: 8px; }
.closing-line { text-align: center; max-width: 760px; margin: 26px auto 0; font-weight: 500; color: var(--heading); }
.glossary { display: grid; gap: 10px; margin: 0; }
.glossary div { display: grid; grid-template-columns: 200px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.glossary dt { font-weight: 700; color: var(--heading); }
.glossary dd { margin: 0; color: var(--text); }
.glossary a { text-decoration: underline; }
@media (max-width: 640px) { .glossary div { grid-template-columns: 1fr; gap: 2px; } }
.legal h2 { font-size: var(--fs-h3l); margin: 32px 0 10px; }
.legal h2:first-child { margin-top: 0; }
.legal a { text-decoration: underline; }
.legal .ticks .icon { color: #B4231B; }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); cursor: pointer; }
.map-wrap iframe { display: block; border: 0; }
@media (max-width: 768px) { .qr-box { display: none !important; } }

/* Thank-you and 404 */
.thanks { padding: 80px 0; }
.thanks-card { text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 44px 30px; }
.thanks-card h1 { font-size: clamp(24px, 3vw, 32px); color: var(--heading); margin: 14px 0 10px; }
.thanks-card p { color: var(--muted); }
.thanks-ico { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--gold-soft); }
.thanks-ico .icon { width: 34px; height: 34px; color: var(--ok); }
.btn-lg { padding: 17px 30px; font-size: var(--fs-lead); margin: 20px 0 8px; }
.link-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin-top: 10px; }
.link-row a { font-weight: 600; color: var(--heading); text-decoration: underline; }

/* Quiz additions (V7 9.2) */
.quiz-hint { color: var(--muted); font-size: var(--fs-sm); margin: -8px 0 12px; }
.quiz-unis { max-height: 320px; }
.quiz-chosen { margin-top: 18px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.quiz-chosen h4 { font-size: var(--fs-lead); color: var(--heading); margin-bottom: 8px; }
.quiz-chosen ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: var(--fs-sm); }
.quiz-chosen small { color: var(--muted); }

/* Footer */
.footer-notice { font-size: var(--fs-small); color: rgba(255,255,255,.65); text-align: center; max-width: 820px; margin: 16px auto 0; }

/* Header fits six menu items and the button at desktop widths (V7 5.2) */
@media (min-width: 1181px) {
  .nav { gap: 18px; }
  .nav a, .dropdown > button { font-size: var(--fs-sm); }
  .header .apply { padding: 11px 16px; }
  .header .wrap { gap: 12px; }
  .header .brand-mark { width: 96px; height: 47px; }
  .header .brand-name { font-size: 23px; }
}

/* hidden always wins over component display rules */
[hidden] { display: none !important; }

.uni-table tbody th[scope="row"] { background: var(--card); color: var(--heading); border-color: var(--line); font-weight: 600; }
.sidebar .desks { grid-template-columns: 1fr; }
.sidebar .desk-actions .btn { width: 100%; }

/* Top bar: one line on desktop (V7 5.1) */
.topbar { font-size: var(--fs-small); }
.topbar .wrap { max-width: 1440px; flex-wrap: nowrap; min-height: 40px; gap: 18px; }
.topbar .topbar-group { gap: 14px; flex-wrap: nowrap; white-space: nowrap; }
.topbar .reg-strip { gap: 7px; flex-wrap: nowrap; }
@media (max-width: 1280px) { .hide-lg { display: none !important; } }
@media (max-width: 760px) { .topbar .wrap { flex-wrap: wrap; justify-content: center; row-gap: 4px; padding-top: 4px; padding-bottom: 4px; } .topbar .topbar-group { gap: 10px; } }

/* Lead form: level switch and step indicator */
.lead-form .track-switch { gap: 4px; padding: 4px; border-radius: 10px; }
.lead-form .track-switch label { padding: 9px 8px; font-size: var(--fs-sm); white-space: nowrap; border-radius: 8px; }
.lead-form .track-switch .icon { width: 15px; height: 15px; flex: none; }
.lead-form.compact .track-switch .icon { display: none; }
.form-steps { display: flex; align-items: center; gap: 12px; margin: 16px 0 2px; }
.form-steps .step-label { flex: none; font-size: var(--fs-small); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.form-steps .step-bar { flex: 1; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.form-steps .step-bar i { display: block; width: 50%; height: 100%; background: var(--gold); border-radius: 4px; transition: width .3s ease; }
.form-steps.done .step-bar i { width: 100%; }
.form-steps .step-label { height: auto; background: none; border-radius: 0; flex: none; }
.form-steps .step-bar { font-size: 0; }

/* ================= One type scale for every page =================
   Every heading and text size on the site comes from these tokens, so all pages (and all nine
   country pages) look the same whatever the length of their titles. */
:root {
  --fs-display: clamp(30px, 3.2vw, 42px);   /* homepage H1 */
  --fs-h1: clamp(26px, 2.5vw, 34px);        /* every other page H1 */
  --fs-h2: clamp(22px, 2.1vw, 28px);        /* section titles */
  --fs-h3: 18px;                            /* card and block titles */
  --fs-h4: 16px;
  --fs-lead: 16px;                          /* quick answer, intro text */
  --fs-body: 15px;
  --fs-small: 13px;
}
body { font-size: var(--fs-body); }
.hero h1 { font-size: var(--fs-display); }
.hero .quick-answer { font-size: var(--fs-lead); }
.page-hero h1 { font-size: var(--fs-h1); line-height: 1.22; max-width: 980px; }
.page-hero p, .page-hero .quick-answer { font-size: var(--fs-lead); max-width: 780px; }
.title h2, .content h2, .cta-band h2, .legal h2, .quiz-result h3 { font-size: var(--fs-h2); }
.content h3, .why-block h3, .side-card h3, .partner h3, .service h3, .vm-card h3, .lead-form h3, .form-card h3, .quiz-card-body h4, .country-name { font-size: var(--fs-h3); }
.content h4, .why-item h4, .trust-list b, .faq summary { font-size: var(--fs-h4); }
.content p, .content li, .why-block p, .glossary dd, .legal p, .legal li { font-size: var(--fs-body); }
.fine-print, .reviewed, .sources, .photo-credit, .country-meta, .country-facts, .trust-list span, .recog-note { font-size: var(--fs-small); }
.thanks-card h1 { font-size: var(--fs-h1); }

/* Country-page heroes: the same height on every country, so the facts strip always sits in the same place */
.page-hero.photo { min-height: 470px; display: flex; align-items: center; padding: 70px 0 90px; }
.page-hero.photo > .wrap { width: 100%; }
.page-hero { padding: 64px 0 60px; }
.country-name { font-size: var(--fs-h3l); }
@media (max-width: 600px) {
  .page-hero.photo { min-height: 0; padding: 44px 0 64px; }
  .page-hero h1 { font-size: var(--fs-h3l); }
}
.page-hero.photo { min-height: 540px; }
.fact small { font-size: var(--fs-xs); }
.fact b { font-size: var(--fs-body); line-height: 1.4; }
@media (max-width: 600px) { .page-hero.photo { min-height: 0; } }

/* ================= Accessibility (WCAG 2.2 AA) ================= */
/* Contrast tokens. Gold (#DDA92A) stays for fills, borders and icons; text uses --gold-text.
   #8A6410 on white 5.37:1, on #F4F6FA 4.96:1. WhatsApp green #0E7A3B with white text 5.43:1.
   Field borders #8A94A6 on white 3.06:1 (UI component 3:1). */
:root { --gold-text: #8A6410; --wa: #0E7A3B; --wa-hover: #0B6630; --ok: #0E7A3B; --field-border: #8A94A6; --focus: #042363; --focus-ring: rgba(4,35,99,.22); }
[data-theme-active="dark"] { --gold-text: #E0B44A; --field-border: #6F86B3; --focus: #F3CD46; --focus-ring: rgba(243,205,70,.28); }
.title .sub, .read-more, .link-btn, .map-link, .fact small, .desk-role, .partner-role, .partner-cred, .form-kicker, .quiz-step legend small,
.quiz-card-badge, .nav a.active, .nav a:hover, .dropdown > button:hover, .dropdown.active > button, .btn-ghost:hover, .degree-tags li:hover,
.lang-menu button[aria-pressed="true"], .icon-btn:hover, .to-top:hover, .side-card ul a:hover, .country-body h3 a:hover, .header .brand-sub,
.country-links .wa-link, .quiz-pointer a, .journey-arrival, .crumbs span[aria-hidden] { color: var(--gold-text); }
.cookie-bar .link-btn, .footer .brand-sub { color: var(--gold-light); }
.page-hero .crumbs span[aria-hidden] { color: var(--gold-light); }
.country-links .wa-link .icon, .quiz-pointer .icon { color: var(--wa); }
.field input, .field select, .field textarea, .uni-options, .more-details { border-color: var(--field-border); }
.form-steps .step-label { color: var(--muted); }

/* Focus: one clear indicator everywhere (2.4.7, 1.4.11). Navy on light surfaces, gold on dark ones. */
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.topbar, .hero, .page-hero, .footer, .cta-band, .cookie-bar, .side-card.navy, .cost-banners, .mobile-bar, .country-img { --focus: #F3CD46; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px var(--focus-ring); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.btn:focus-visible { outline-offset: 3px; }
.quiz-opt:focus-visible, .journey button:focus-visible, .uni-opt:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.lead-form .track-switch label:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.skip-link:focus, .skip-link:focus-visible { top: 12px; outline: 3px solid var(--navy-dark); outline-offset: 2px; }
main:focus { outline: none; }

/* Tap targets (2.5.8): at least 24px everywhere, 44px on touch screens and phones */
.topbar a, .topbar .lang-btn, .crumbs a, .footer ul a, .footer-legal a, .sources a, .link-row a, .reg-strip a { display: inline-flex; align-items: center; min-height: 24px; }
.filter-chips button { min-height: 40px; }
@media (max-width: 900px), (pointer: coarse) {
  .topbar a, .topbar .lang-btn, .crumbs a, .footer ul a, .footer-legal a, .sources a, .link-row a, .read-more, .map-link,
  .country-links a, .side-card ul a, .dropdown-menu a, .wa-menu a, .cookie-actions button, .link-btn, .form-back, .quiz-back,
  .glossary a, .legal a, .lang-menu button { min-height: 44px; display: inline-flex; align-items: center; }
  .filter-chips button, .icon-btn, .to-top, .theme-btn, .menu-btn { min-height: 44px; min-width: 44px; }
  .filter-chips button { padding: 10px 18px; }
  .footer ul { gap: 0; }
  .footer-legal { gap: 4px 16px; }
  .uni-opt { min-height: 44px; align-items: center; }
  .uni-opt input { width: 20px; height: 20px; margin-top: 0; }
  .lead-form .track-switch label { min-height: 44px; }
  .country-links { gap: 4px 16px; }
}

/* Motion: respect "reduce motion" (2.3.3 good practice) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .wa-fab::before, .wa-fab::after { display: none; }
}
@media (max-width: 900px), (pointer: coarse) {
  .brand { min-height: 44px; }
  .country-name a { display: inline-block; min-height: 44px; padding-top: 4px; }
  .desk-actions .btn, .side-card .btn { min-height: 44px; }
  .data-table th a, .data-table td a { display: inline-flex; align-items: center; min-height: 44px; }
}

/* Contact cards: name, number and actions */
.desk b { display: block; margin-top: 2px; }
.desk-num { display: block; font-weight: 600; color: var(--heading); margin: 2px 0 10px; }
.desk-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.desk-actions .btn { flex: 1 1 120px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.wa-menu a b { font-size: var(--fs-sm); }

/* ================= Typography: Segoe UI / Tahoma, one size scale ================= */
:root {
  --font: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  --fs-xs: 12px; --fs-small: 13px; --fs-sm: 14px; --fs-body: 15px; --fs-lead: 16px; --fs-h3: 18px; --fs-h3l: 22px; --fs-h2s: 26px;
}
body, button, input, select, textarea { font-family: var(--font); }
h1, h2, h3, h4, .title h2, .cta-band h2 { font-family: var(--font); letter-spacing: 0; }
h1, .title h2, .content h2, .cta-band h2 { font-weight: 700; }
.brand-name { font-family: var(--font); font-weight: 700; letter-spacing: .08em; }
.brand-sub { font-family: var(--font); font-weight: 600; }
@media (max-width: 900px), (pointer: coarse) { .topbar a { min-width: 44px; justify-content: center; } }

/* University picker: checkboxes are not text fields (fixes full-width checkboxes hiding the names) */
.field .uni-opt input[type=checkbox], .uni-opt input[type=checkbox] { width: 18px; height: 18px; min-width: 18px; padding: 0; margin: 2px 0 0; border: 0; border-radius: 3px; box-shadow: none; background: none; flex: none; appearance: auto; -webkit-appearance: checkbox; }
.uni-options { overflow-x: hidden; }
.uni-opt > span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.uni-opt small span { white-space: nowrap; }

/* Breadcrumbs: one aligned row (links keep their 44px tap area on phones) */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; column-gap: 8px; row-gap: 0; }
.crumbs > * { line-height: 1.4; }

/* Sources line: label and links on one aligned row (links keep 44px tap areas on phones) */
.sources { display: flex; flex-wrap: wrap; align-items: center; column-gap: 14px; row-gap: 0; }
.sources b { margin-inline-end: 2px; }
.reviewed { align-items: flex-start; }
.reviewed .icon { margin-top: 2px; flex: none; }

/* Country page: highlights and "best for" */
.highlights { list-style: none; padding: 0; margin: 16px 0 10px; display: grid; gap: 10px; }
.highlights li { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); font-weight: 600; color: var(--heading); }
.highlights .icon { flex: none; width: 20px; height: 20px; color: var(--ok); margin-top: 2px; }
.best-for { margin: 6px 0 4px; }
.page-hero.photo { min-height: 440px; }
@media (max-width: 600px) { .page-hero.photo { min-height: 0; } }

/* ===================== v8 (Final Website Copy) ===================== */
/* Homepage hero: text, conversation card, buttons (phone order: text, card, buttons) */
.hero-v8 { min-height: 0; }
.hero-v8 .hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); grid-template-areas: "text card" "cta card"; grid-template-rows: min-content 1fr; column-gap: 48px; row-gap: 0; align-items: start; }
.hero-v8 .hero-text { grid-area: text; }
.hero-v8 .chat-card { grid-area: card; align-self: center; }
.hero-v8 .hero-cta { grid-area: cta; }
.hero-v8 .hero-actions { margin-top: 26px; }
.hero-v8 h1 { font-size: clamp(30px, 3.4vw, 44px); }
.rotator { display: grid; margin-top: 16px; min-height: 1.6em; font-weight: 600; color: var(--gold-light) !important; font-size: var(--fs-lead); }
.rotator span { grid-area: 1 / 1; opacity: 0; transform: translateY(6px); transition: opacity .5s, transform .5s; }
.rotator span.on { opacity: 1; transform: none; }
.hero-link { margin-top: 14px !important; }
.hero-link a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; display: inline-flex; align-items: center; gap: 6px; }
.hero-v8 .hero-badge { margin-top: 16px; align-items: flex-start; }
.hero-v8 .hero-badge .icon { flex: none; margin-top: 3px; }
.chat-card { background: var(--card); color: var(--text); border-radius: 14px; box-shadow: 0 24px 50px -20px rgba(0,0,0,.55); border-top: 4px solid var(--gold); padding: 24px; }
.chat-card h2 { font-size: var(--fs-h3); color: var(--heading); margin-bottom: 14px; }
.chat { margin: 0 0 16px; display: grid; gap: 8px; }
.chat > div { max-width: 88%; padding: 9px 13px; border-radius: 12px; font-size: var(--fs-sm); line-height: 1.5; }
.chat dt { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.chat dd { margin: 2px 0 0; color: var(--text); }
.chat .q { background: var(--bg-alt); border-end-start-radius: 4px; justify-self: start; }
.chat .a { background: var(--gold-soft); border: 1px solid rgba(221,169,42,.35); border-end-end-radius: 4px; justify-self: end; }
.chat .a dt { color: var(--gold-text); }
.hero .chat-card p, .hero .chat-card dd { color: var(--text); }
@media (max-width: 980px) {
  .hero-v8 .hero-grid { grid-template-columns: 1fr; grid-template-areas: "text" "card" "cta"; grid-template-rows: auto; row-gap: 26px; }
  .hero-v8 .hero-actions { margin-top: 0; }
}
/* Page hero tagline (country pages, Start here) */
.page-hero .hero-tagline { margin-top: 12px; font-size: var(--fs-h3); font-weight: 600; color: var(--gold-light); max-width: 720px; }
/* Promises */
.promises { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.promises li { display: flex; gap: 14px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; font-size: var(--fs-sm); }
.promises .icon { flex: none; width: 26px; height: 26px; color: var(--gold); margin-top: 2px; }
.promises b { color: var(--heading); font-size: var(--fs-body); }
.promises span { color: var(--muted); }
.promises a { color: var(--gold-text); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1000px) { .promises { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .promises { grid-template-columns: 1fr; } }
/* Parents note + Why / What / Where */
.parents { display: grid; grid-template-columns: 1.3fr 1fr; gap: 44px; align-items: center; }
.parents h2 { font-size: var(--fs-h2s); }
.parents p { margin-top: 14px; color: var(--text); }
.www { display: grid; gap: 14px; }
.www-card { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 16px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; transition: border-color .2s, transform .2s, box-shadow .2s; }
.www-card:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--shadow); }
.www-card .service-ico { grid-row: span 2; width: 48px; height: 48px; }
.www-card h3 { font-size: var(--fs-body); }
.www-card .read-more { padding-top: 2px; margin-top: 0; }
@media (max-width: 900px) { .parents { grid-template-columns: 1fr; gap: 28px; } }
/* Bold lead + text lists */
.why-list.highlights li { font-weight: 400; color: var(--text); }
.why-list.highlights b { color: var(--heading); }
.why h3 { font-size: var(--fs-h3); margin-top: 22px; }
.why > div > p { margin-top: 12px; }
/* Country tables on the homepage */
.split-tables { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 48px; align-items: start; }
.split-tables h3 { font-size: var(--fs-h3); margin-bottom: 12px; }
@media (max-width: 900px) { .split-tables { grid-template-columns: 1fr; } }
.country-name a { color: #fff; }
.vm-grid.tools { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .vm-grid.tools { grid-template-columns: 1fr; } }
.center-note { text-align: center; margin-top: 20px; color: var(--muted); }
.center-note a { color: var(--gold-text); font-weight: 600; }
.center { text-align: center; }
.center p { margin-top: 12px; }
.hero-actions.center { justify-content: center; margin-top: 22px; }
.wrap.narrow.center h2 { font-size: var(--fs-h2s); }
/* Four steps: plain list (no buttons) */
.journey.steps-4 li { flex-direction: column; align-items: flex-start; gap: 8px; padding: 18px 16px 20px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--card); }
/* Country pages */
.lead-para { font-size: var(--fs-lead); }
.fees-checked { display: flex; align-items: center; gap: 8px; margin: 18px 0 10px; font-size: var(--fs-small); font-weight: 600; color: var(--muted); }
.fees-checked .icon { width: 16px; height: 16px; color: var(--gold); }
.next-links { margin-top: 28px; padding: 14px 16px; border-inline-start: 3px solid var(--gold); background: var(--bg-alt); border-radius: 0 var(--radius) var(--radius) 0; font-size: var(--fs-sm); }
.form-sub { color: var(--muted); font-size: var(--fs-sm); margin-top: 4px; }
.field .label { font-size: var(--fs-sm); font-weight: 500; color: var(--heading); }
.lead-form .track-switch { margin-top: 6px; }
/* Closing band extras */
.cta-band .cta-urgency { margin-top: 10px; font-size: var(--fs-sm); color: var(--gold-light); }
.cta-more { position: relative; text-align: center; margin-top: 18px; font-size: var(--fs-sm); color: rgba(255,255,255,.8); }
.cta-more a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }
/* Footer referral */
.footer-referral { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; color: rgba(255,255,255,.8); font-size: var(--fs-sm); }
.footer-referral .icon { flex: none; width: 18px; height: 18px; color: var(--gold); margin-top: 3px; }
.footer-about a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }
/* Start here */
.toc { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 24px; }
.toc a { border: 1px solid var(--line); border-radius: 30px; padding: 8px 16px; font-size: var(--fs-sm); font-weight: 600; color: var(--heading); background: var(--card); }
.toc a:hover { border-color: var(--gold); }
.part { display: inline-block; font-size: var(--fs-small); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); }
.part + h2 { margin-top: 4px; }
.section .wrap.narrow > h2 { font-size: var(--fs-h2s); margin: 40px 0 12px; }
.section .wrap.narrow > h2:first-child, .section .wrap.narrow > .part + h2 { margin-top: 0; }
.section .wrap.narrow > p { margin-top: 12px; }
.section .wrap.narrow > .table-scroll { margin-top: 16px; }
.ticks.cols { columns: 2; column-gap: 24px; }
.ticks.cols li { break-inside: avoid; }
@media (max-width: 640px) { .ticks.cols { columns: 1; } }
/* Do I Qualify? glossary */
.glossary { display: grid; grid-template-columns: max-content 1fr; gap: 10px 20px; margin-top: 16px; }
.glossary dt { font-weight: 700; color: var(--heading); }
.glossary dd { margin: 0; color: var(--text); }
@media (max-width: 640px) { .glossary { grid-template-columns: 1fr; gap: 2px; } .glossary dd { margin-bottom: 10px; } }
.reg-table th[scope="row"] { width: 38%; }
.contact-list h3 { font-size: var(--fs-lead); }
.contact-list p { color: var(--muted); font-size: var(--fs-sm); margin-top: 4px; }
.thanks-referral { margin-top: 18px; font-size: var(--fs-sm); color: var(--muted); }
.quiz-result:focus { outline: none; }

/* v8: nine cards, three per row */
@media (min-width: 1001px) { .countries { grid-template-columns: repeat(3, 1fr); } }
/* v8: top bar stays on one line on phones */
@media (max-width: 760px) { .topbar .wrap { flex-wrap: nowrap; justify-content: space-between; gap: 8px; } .topbar .topbar-group { gap: 8px; } }
@media (max-width: 430px) { .topbar .reg-strip .icon { display: none; } .topbar .lang-btn { padding: 2px 6px; } .topbar .wrap { padding-left: 12px; padding-right: 12px; } }
/* v8: 44px tap targets */
@media (max-width: 900px), (pointer: coarse) { .btn, .toc a { min-height: 44px; } .toc a { display: inline-flex; align-items: center; } .promises a { display: inline-flex; align-items: center; min-height: 44px; } }
