/* =========================================================
   OnlineVisaCenter — Design System
   Institutional / corporate, in the visual language of official
   visa-services outsourcing sites (deep navy for brand/authority,
   warm orange for calls-to-action, light institutional grey surfaces).
   ========================================================= */

:root {
  /* Brand colors */
  --color-primary: #F37021;        /* CTA / accent orange */
  --color-primary-dark: #D45A0F;
  --color-primary-light: #FDEADA;
  --color-cta: #C2510C;            /* button fill: white text 4.7:1 (WCAG AA) */
  --color-cta-hover: #A3430A;
  --color-primary-text: #C2510C;   /* orange used as text on white/light surfaces */
  --color-secondary: #0B3D6B;      /* deep navy — headings, brand, footer */
  --color-secondary-dark: #082C4E;
  --color-navy-light: #EAF1F8;
  --color-bg: #FFFFFF;
  --color-card: #F5F7FA;
  --color-border: #E1E6EC;
  --color-success: #22C55E;
  --color-success-light: #EAFBF0;
  --color-warning: #F59E0B;
  --color-warning-light: #FEF6E7;
  --color-error: #EF4444;
  --color-error-light: #FDECEC;
  --color-text: #1A2233;
  --color-text-muted: #55627A;
  --color-text-faint: #5F6B7E;   /* 5:1 on card (AA); was 2.8:1 */

  /* Radius */
  --radius-card: 14px;
  --radius-btn: 12px;
  --radius-sm: 8px;
  --radius-full: 999px;

  /* Spacing (8pt grid) */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 16px;
  --sp-4: 24px;
  --sp-5: 32px;
  --sp-6: 48px;
  --sp-7: 64px;
  --sp-8: 96px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(20, 24, 33, 0.04);
  --shadow-md: 0 4px 16px rgba(20, 24, 33, 0.06);
  --shadow-lg: 0 12px 32px rgba(20, 24, 33, 0.10);

  /* Font */
  --font-en: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-fa: 'Vazirmatn', 'Inter', -apple-system, sans-serif;

  --transition: 160ms cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-en);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

html[dir="rtl"] body,
body.lang-fa {
  font-family: var(--font-fa);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------- Layout helpers ---------- */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 var(--sp-4);
}
@media (max-width: 640px) {
  .container { padding: 0 var(--sp-3); }
}

.section { padding: var(--sp-7) 0; }
@media (max-width: 768px) {
  .section { padding: var(--sp-6) 0; }
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.02em; margin: 0; color: var(--color-secondary); }
h1 { font-size: 44px; line-height: 1.15; }
h2 { font-size: 32px; line-height: 1.2; }
h3 { font-size: 22px; line-height: 1.3; }
p { margin: 0; color: var(--color-text-muted); }
.text-xs { font-size: 12px; }
.text-sm { font-size: 14px; }
.text-lg { font-size: 18px; }
.muted { color: var(--color-text-muted); }
.faint { color: var(--color-text-faint); }
.center { text-align: center; }

@media (max-width: 768px) {
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  font-family: inherit;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-primary { background: var(--color-cta); color: #fff; box-shadow: var(--shadow-sm); border-radius: var(--radius-full); }
.btn-primary:hover { background: var(--color-cta-hover); box-shadow: var(--shadow-md); }

.btn-secondary { background: var(--color-secondary); color: #fff; }
.btn-secondary:hover { background: #1f232d; }

.btn-ghost { background: transparent; color: var(--color-secondary); border-color: var(--color-border); }
.btn-ghost:hover { background: var(--color-card); }

.btn-outline { background: #fff; color: var(--color-primary-text); border-color: var(--color-primary); }
.btn-outline:hover { background: var(--color-primary-light); }

.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.btn-block { width: 100%; }
.btn-icon { width: 40px; height: 40px; padding: 0; border-radius: var(--radius-btn); }

/* ---------- Cards ---------- */
.card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--sp-4);
}
.card-elevated { background: #fff; box-shadow: var(--shadow-md); }
.card-hover { transition: var(--transition); cursor: pointer; }
.card-hover:hover { border-color: var(--color-primary); box-shadow: var(--shadow-md); transform: translateY(-2px); }

/* ---------- Inputs ---------- */
.field { margin-bottom: var(--sp-4); }
.field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: var(--sp-2);
}
.field .hint { font-size: 12px; color: var(--color-text-faint); margin-top: 4px; }
.field .error-msg { font-size: 12px; color: #B91C1C; margin-top: 4px; display: none; }
.field.has-error .error-msg { display: block; }
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--color-error); }

input[type="text"], input[type="email"], input[type="tel"], input[type="date"],
input[type="number"], input[type="password"], select, textarea {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 15px;
  font-family: inherit;
  color: var(--color-text);
  transition: var(--transition);
}
textarea { height: auto; padding: 12px 16px; min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-light);
}
input::placeholder, textarea::placeholder { color: var(--color-text-faint); }

/* Radio / checkbox pill group */
.pill-group { display: flex; gap: 8px; flex-wrap: wrap; }
.pill-option {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  background: #fff;
  color: var(--color-secondary);
}
.pill-option.active { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.pill-option:hover:not(.active) { border-color: var(--color-primary); }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
}
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-new { background: #EEF0F3; color: var(--color-secondary); }
.badge-under_review { background: var(--color-warning-light); color: #B45309; }
.badge-waiting_documents { background: var(--color-primary-light); color: #9A3F09; }
.badge-approved { background: var(--color-success-light); color: #15803D; }
.badge-rejected { background: var(--color-error-light); color: #B91C1C; }

/* ---------- Progress bar / stepper ---------- */
.progress-track { height: 6px; background: var(--color-border); border-radius: var(--radius-full); overflow: hidden; }
.progress-fill { height: 100%; background: var(--color-primary); border-radius: var(--radius-full); transition: width 300ms ease; }

.stepper { display: flex; align-items: center; gap: 4px; }
.step-dot {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  background: var(--color-card); border: 1px solid var(--color-border); color: var(--color-text-faint);
  flex-shrink: 0;
}
.step-dot.done { background: var(--color-success); border-color: var(--color-success); color: #fff; }
.step-dot.active { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.step-line { flex: 1; height: 2px; background: var(--color-border); min-width: 8px; }
.step-line.done { background: var(--color-success); }

/* ---------- Modal / Drawer / Toast ---------- */
.overlay {
  position: fixed; inset: 0; background: rgba(26,29,36,0.45);
  display: none; align-items: center; justify-content: center; z-index: 100;
  padding: var(--sp-3);
}
.overlay.open { display: flex; }
.modal {
  background: #fff; border-radius: var(--radius-card); padding: var(--sp-5);
  max-width: 480px; width: 100%; box-shadow: var(--shadow-lg);
  max-height: 90vh; overflow-y: auto;
}
.drawer {
  position: fixed; top: 0; bottom: 0; inset-inline-end: 0;
  width: 420px; max-width: 92vw; background: #fff;
  box-shadow: var(--shadow-lg); z-index: 110;
  transform: translateX(100%); transition: transform 240ms ease;
  overflow-y: auto; padding: var(--sp-4);
}
html[dir="rtl"] .drawer { transform: translateX(-100%); }
.drawer.open { transform: translateX(0); }

.toast-wrap { position: fixed; bottom: var(--sp-4); inset-inline-end: var(--sp-4); z-index: 200; display: flex; flex-direction: column; gap: 8px; }
.toast {
  background: var(--color-secondary); color: #fff; padding: 12px 18px; border-radius: var(--radius-sm);
  font-size: 14px; box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 10px;
  animation: toast-in 200ms ease;
}
.toast.success { background: #15803D; }
.toast.error { background: #B91C1C; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Table ---------- */
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: start; font-weight: 600; color: var(--color-text-muted); padding: 10px 14px; border-bottom: 1px solid var(--color-border); font-size: 13px; }
td { padding: 14px; border-bottom: 1px solid var(--color-border); vertical-align: middle; }
tr:hover td { background: var(--color-card); }

/* ---------- Tabs ---------- */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--color-border); }
.tab { padding: 10px 16px; font-size: 14px; font-weight: 600; color: var(--color-text-muted); cursor: pointer; border-bottom: 2px solid transparent; }
.tab.active { color: var(--color-primary-text); border-color: var(--color-primary); }

/* ---------- Skeleton ---------- */
.skeleton { background: linear-gradient(90deg, #EEF0F3 25%, #F6F7F9 37%, #EEF0F3 63%); background-size: 400% 100%; animation: skeleton-loading 1.4s ease infinite; border-radius: 8px; }
@keyframes skeleton-loading { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

/* ---------- Animations ---------- */
.fade-in { animation: fade-in 240ms ease; }
@keyframes fade-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.success-check {
  width: 88px; height: 88px; border-radius: 50%; background: var(--color-success-light);
  display: flex; align-items: center; justify-content: center; margin: 0 auto var(--sp-4);
  animation: pop-in 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes pop-in { from { transform: scale(0.5); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 4px; }

/* ---------- Utilities ---------- */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 4px; } .gap-2 { gap: 8px; } .gap-3 { gap: 16px; } .gap-4 { gap: 24px; }
.grid { display: grid; }
.hidden { display: none !important; }
.w-full { width: 100%; }
.rounded-full { border-radius: var(--radius-full); }

@media (max-width: 768px) {
  .hide-mobile { display: none !important; }
}
@media (min-width: 769px) {
  .hide-desktop { display: none !important; }
}

/* =========================================================
   Brand lockup — replaces the old single mashed-up wordmark
   with a clean mark + name + small product tag.
   ========================================================= */
.brand-lockup { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 8px; flex-shrink: 0;
  background: var(--color-secondary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 16px; font-family: var(--font-en);
  box-shadow: 0 2px 8px rgba(11,61,107,0.28);
  position: relative;
}
.brand-mark::after {
  content: ''; position: absolute; width: 9px; height: 9px; border-radius: 50%;
  background: var(--color-primary); inset-inline-end: -3px; bottom: -3px;
  border: 2px solid #fff;
}
.brand-mark.sm { width: 28px; height: 28px; font-size: 13px; border-radius: 7px; }
.brand-mark.sm::after { width: 7px; height: 7px; border-width: 1.5px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-weight: 800; font-size: 15px; color: var(--color-secondary); white-space: nowrap; letter-spacing: -0.01em; }
.brand-tag {
  font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--color-primary); font-family: var(--font-en);
}
.brand-lockup.on-dark .brand-name { color: #fff; }

/* =========================================================
   Top info bar (institutional contact strip above navbar)
   ========================================================= */
.top-bar {
  background: var(--color-secondary-dark); color: #cfe0f0;
  font-size: 12.5px; height: 38px;
}
.top-bar-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.top-bar a, .top-bar span { color: #cfe0f0; }
.top-bar .top-bar-item { display: flex; align-items: center; gap: 6px; }
.top-bar .top-bar-item i { width: 13px; height: 13px; color: var(--color-primary); }
.top-bar-links { display: flex; align-items: center; gap: 20px; }
@media (max-width: 640px) { .top-bar .hide-mobile-bar { display: none !important; } }

/* Homepage announcements / news banner */
.announcements-banner { background: var(--color-primary-light); border-bottom: 1px solid var(--color-border); overflow: hidden; }
.announcements-banner.severity-warning { background: var(--color-warning-light); }
.announcements-banner.severity-urgent { background: var(--color-error-light); }
.announcements-banner-inner { max-width: 1180px; margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; gap: 10px; }
.announcements-banner-icon { flex-shrink: 0; width: 18px; height: 18px; color: var(--color-primary); }
.announcements-banner.severity-warning .announcements-banner-icon { color: #B45309; }
.announcements-banner.severity-urgent .announcements-banner-icon { color: var(--color-error); }
.announcements-banner-text { flex: 1; min-width: 0; font-size: 13px; font-weight: 600; color: var(--color-secondary); }
.announcements-banner-text b { font-weight: 800; }
.announcements-banner-link { flex-shrink: 0; font-size: 12px; font-weight: 700; color: var(--color-primary-text); white-space: nowrap; text-decoration: underline; }
.announcements-banner-close { flex-shrink: 0; width: 22px; height: 22px; border: none; background: transparent; cursor: pointer; color: var(--color-text-faint); display: flex; align-items: center; justify-content: center; border-radius: 6px; }
.announcements-banner-close:hover { background: rgba(0,0,0,0.06); }
.announcements-banner-close i { width: 14px; height: 14px; }
@media (max-width: 640px) { .announcements-banner-text { font-size: 12px; } .announcements-banner-link { display: none; } }

/* =========================================================
   Navbar
   ========================================================= */
.navbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--color-border);
}
.navbar-inner { height: 72px; }
.nav-link {
  color: var(--color-secondary); font-weight: 700; transition: var(--transition);
  font-size: 13px; letter-spacing: 0.03em; text-transform: uppercase;
}
.nav-link:hover { color: var(--color-primary); }

/* =========================================================
   Eyebrow label
   ========================================================= */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
  color: var(--color-primary); background: var(--color-primary-light);
  padding: 6px 14px; border-radius: var(--radius-full);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--color-primary); flex-shrink: 0; }

/* =========================================================
   Dot-grid background (subtle, no gradients/glass)
   ========================================================= */
.dot-grid-bg {
  background-image: radial-gradient(var(--color-border) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(to bottom, black, transparent);
  mask-image: linear-gradient(to bottom, black, transparent);
}

/* =========================================================
   Hero layout
   ========================================================= */
.hero { position: relative; overflow: hidden; padding-top: 56px; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
}
.hero-copy h1 { margin-top: 20px; }
.hero-copy p.lead { margin-top: 18px; max-width: 520px; }
.hero-actions { display: flex; align-items: center; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero-note { display: flex; align-items: center; gap: 6px; margin-top: 18px; }
.hero-trust { display: flex; align-items: center; gap: 18px; margin-top: 36px; flex-wrap: wrap; }
.hero-trust-item { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--color-text-muted); }
.hero-trust-item i { color: var(--color-success); width: 16px; height: 16px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { text-align: center; }
  .hero-copy p.lead { margin-inline: auto; }
  .hero-actions, .hero-trust { justify-content: center; }
}

/* ---------- Hero visual mock card (no stock imagery needed) ---------- */
.hero-visual { position: relative; display: flex; justify-content: center; }
.mock-card {
  background: #fff; border: 1px solid var(--color-border); border-radius: 20px;
  box-shadow: var(--shadow-lg); padding: 24px; width: 100%; max-width: 380px;
  position: relative; z-index: 2;
}
.mock-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.mock-dots { display: flex; gap: 5px; }
.mock-dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--color-border); }
.mock-progress-track { height: 6px; background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius-full); overflow: hidden; margin-bottom: 20px; }
.mock-progress-fill { height: 100%; width: 72%; background: var(--color-primary); border-radius: var(--radius-full); }
.mock-field { margin-bottom: 14px; }
.mock-field-label { font-size: 11px; color: var(--color-text-faint); font-weight: 600; margin-bottom: 6px; }
.mock-field-box { height: 38px; border-radius: 9px; background: var(--color-card); border: 1px solid var(--color-border); display: flex; align-items: center; padding: 0 12px; font-size: 13px; font-weight: 600; color: var(--color-secondary); }
.mock-score {
  margin-top: 18px; padding: 14px 16px; border-radius: 14px;
  background: var(--color-success-light); display: flex; align-items: center; justify-content: space-between;
}
.mock-score-label { font-size: 12px; font-weight: 700; color: #15803D; }
.mock-score-value { font-size: 20px; font-weight: 800; color: #15803D; }
.mock-card-float {
  position: absolute; z-index: 3; background: #fff; border: 1px solid var(--color-border);
  border-radius: 14px; box-shadow: var(--shadow-md); padding: 12px 16px;
  display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; color: var(--color-secondary);
  inset-inline-start: -18px; bottom: 28px;
}
.mock-card-float i { color: var(--color-primary); width: 16px; height: 16px; }
@media (max-width: 560px) {
  .mock-card-float { position: static; margin-top: 14px; display: inline-flex; }
}

/* =========================================================
   Section eyebrow + heading group
   ========================================================= */
.section-head { max-width: 560px; margin-inline: auto; margin-bottom: 44px; text-align: center; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2 { margin-top: 0; }
.section-head p { margin-top: 12px; }

/* =========================================================
   Reusable icon tile (used across benefit/step/visa cards)
   ========================================================= */
.icon-tile {
  width: 44px; height: 44px; border-radius: 12px; background: var(--color-primary-light);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px; flex-shrink: 0;
}
.icon-tile i { color: var(--color-primary); }
.icon-tile.sm { width: 40px; height: 40px; border-radius: 10px; margin-bottom: 14px; }
.icon-tile.dark { background: var(--color-secondary); }
.icon-tile.dark i { color: #fff; }
.number-tile {
  width: 44px; height: 44px; border-radius: 50%; background: var(--color-secondary); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; margin: 0 auto 16px;
  font-size: 15px;
}

/* =========================================================
   Content cards (benefits / steps / visa types / testimonials)
   ========================================================= */
.grid-cards { display: grid; gap: 20px; }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 900px) { .cols-4, .cols-5, .cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cols-4, .cols-5, .cols-3 { grid-template-columns: 1fr; } }

.benefit-card h3, .step-card h3, .visa-type-card h3 { font-size: 16px; color: var(--color-secondary); }
.benefit-card p, .step-card p, .visa-type-card p { margin-top: 8px; font-size: 14px; }
.step-card { text-align: center; position: relative; }

.visa-type-card .visa-type-head { display: flex; align-items: center; gap: 12px; }
.visa-type-card .visa-type-time { display: flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 12px; color: var(--color-text-faint); }
.visa-type-card .visa-type-time i { width: 12px; height: 12px; }

.country-chip { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 20px 12px; text-align: center; }
.country-chip .flag { font-size: 30px; }
.country-chip .name { font-size: 13px; font-weight: 700; color: var(--color-secondary); }

.testimonial-card .stars { color: var(--color-warning); margin-bottom: 12px; letter-spacing: 2px; }
.testimonial-card .quote { font-size: 14px; color: var(--color-text); }
.testimonial-card .who { margin-top: 16px; font-weight: 700; font-size: 14px; color: var(--color-secondary); }
.testimonial-card .role { font-size: 12px; color: var(--color-text-faint); }

/* =========================================================
   FAQ accordion
   ========================================================= */
.faq-item { margin-bottom: 12px; cursor: pointer; }
.faq-q { display: flex; align-items: center; justify-content: between; gap: 12px; }
.faq-q strong { color: var(--color-secondary); font-size: 15px; flex: 1; }
.faq-icon { transition: transform 200ms ease; flex-shrink: 0; }
.faq-icon.rotate { transform: rotate(180deg); }
.faq-a { margin-top: 12px; font-size: 14px; }

/* =========================================================
   CTA banner (flat dark card, no gradients)
   ========================================================= */
.cta-banner { background: var(--color-secondary); padding: 64px 32px; text-align: center; border: none; position: relative; overflow: hidden; }
.cta-banner h2 { color: #fff; }
.cta-banner p { color: #b7bcc7; margin-top: 12px; }
.cta-banner .btn { margin-top: 28px; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--color-secondary); color: #C3CAD6; padding: 56px 0 24px; }
.site-footer .col-title { color: #fff; font-weight: 700; font-size: 14px; margin-bottom: 14px; }
.site-footer a { color: #C3CAD6; transition: var(--transition); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-bottom { margin-top: 40px; border-top: 1px solid #3d4250; padding-top: 20px; color: #AEB6C2; font-size: 12px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* =========================================================
   Simple page header used on assessment/track/login/admin pages
   ========================================================= */
.page-header { border-bottom: 1px solid var(--color-border); background: #fff; }
.page-header-inner { height: 72px; }

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

/* =========================================================
   Popular Destinations — redesigned country cards
   Full names only (never abbreviated), photo-style banner,
   destination-outsourcing-platform look (VFS/BLS/VisaMetric
   inspired): image banner + flag/name + short tagline + CTA.
   ========================================================= */
.destination-card {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.destination-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); border-color: var(--color-primary); }
.destination-card-banner {
  height: 188px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-dark) 100%);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  transition: transform 500ms ease;
}
.destination-card.has-photo .destination-card-banner { background-color: var(--color-secondary); }
.destination-card:hover .destination-card-banner { transform: scale(1.06); }
/* Bottom scrim for text legibility over the photo, plus a subtle top darken for badges */
.destination-card-scrim {
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(to top, rgba(11,61,107,0.92) 0%, rgba(11,61,107,0.35) 42%, rgba(11,61,107,0.05) 65%, rgba(0,0,0,0.18) 100%);
}
.destination-card:not(.has-photo) .destination-card-scrim {
  background: radial-gradient(circle at 30% 20%, rgba(243,112,33,0.35), transparent 60%);
}
.destination-card-top-row {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px;
}
.destination-card-flag-tile {
  font-size: 30px; line-height: 1;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.45));
}
.destination-card-landmark {
  position: relative; z-index: 1;
  padding: 0 16px 14px;
  font-size: 13px; color: rgba(255,255,255,0.92); font-weight: 700;
  text-shadow: 0 1px 4px rgba(0,0,0,0.55);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.destination-card-schengen {
  background: rgba(255,255,255,0.16); color: #fff; font-size: 10px; font-weight: 700;
  padding: 3px 9px; border-radius: var(--radius-full); letter-spacing: 0.02em;
  border: 1px solid rgba(255,255,255,0.3); backdrop-filter: blur(2px);
}
.destination-card-live {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--color-success); color: #fff; font-size: 10px; font-weight: 800;
  padding: 3px 9px 3px 7px; border-radius: var(--radius-full); letter-spacing: 0.01em;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}
.destination-card-live i { width: 11px; height: 11px; }
.destination-card.is-live { border-color: var(--color-success-light); }
.destination-card.is-live:hover { border-color: var(--color-success); }
.destination-card-body { padding: 16px 18px 18px; flex: 1; display: flex; flex-direction: column; }
.destination-card-name { font-size: 16px; font-weight: 800; color: var(--color-secondary); margin: 0 0 4px; }
.destination-card-tag { font-size: 12px; color: var(--color-text-faint); margin: 0; flex: 1; }
.destination-card-actions {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.destination-card-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 13px; font-weight: 700; padding: 9px 14px; border-radius: 10px;
  transition: var(--transition); min-height: 40px;
}
.destination-card-cta.primary { background: var(--color-cta); color: #fff; }
.destination-card-cta.primary:hover { background: var(--color-cta-hover); }
.destination-card-cta.ghost { background: var(--color-navy-light); color: var(--color-secondary); }
.destination-card-cta.ghost:hover { background: var(--color-border); }
.destination-card-cta i { width: 14px; height: 14px; transition: transform 160ms ease; }
.destination-card:hover .destination-card-cta i { transform: translateX(3px); }
html[dir="rtl"] .destination-card:hover .destination-card-cta i { transform: translateX(-3px); }
.destinations-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
@media (max-width: 1000px) { .destinations-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) {
  .destinations-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .destination-card-body { padding: 14px; }
  .destination-card-name { font-size: 15px; }
  .destination-card-actions { grid-template-columns: 1fr; }
  .destination-card-cta { width: 100%; font-size: 12px; }
}
@media (max-width: 420px) { .destinations-grid { grid-template-columns: 1fr; } }
.destinations-more { text-align: center; margin-top: 28px; }

/* =========================================================
   Large promo / news banner (below hero + slider)
   ========================================================= */
.promo-banner {
  display: block; position: relative; border-radius: var(--radius-card); overflow: hidden;
  min-height: 260px; background-size: cover; background-position: center;
  box-shadow: var(--shadow-lg);
}
.promo-banner-scrim {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(100deg, rgba(11,61,107,0.94) 0%, rgba(11,61,107,0.72) 45%, rgba(11,61,107,0.25) 100%);
}
.promo-banner-content { position: relative; z-index: 1; padding: 44px; max-width: 620px; }
.promo-banner-badge {
  display: inline-flex; align-items: center; background: var(--color-primary); color: #fff;
  font-size: 12px; font-weight: 800; padding: 6px 14px; border-radius: var(--radius-full);
}
.promo-banner-title { color: #fff; font-size: 26px; margin-top: 18px; }
.promo-banner-sub { color: #dbe6f2; margin-top: 12px; font-size: 14px; line-height: 1.8; }
.promo-banner-cta { margin-top: 26px; height: 50px; padding: 0 26px; display: inline-flex; }
@media (max-width: 700px) { .promo-banner-content { padding: 28px; } .promo-banner-title { font-size: 20px; } }

/* =========================================================
   Article cards (homepage news/articles boxes with images)
   ========================================================= */
.article-card {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-card);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition);
  display: flex; flex-direction: column;
}
.article-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--color-primary); }
.article-card-cover { height: 200px; background-size: cover; background-position: center; background-color: var(--color-secondary); }
.article-card-body { padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.article-card-meta { font-size: 11px; color: var(--color-text-faint); font-weight: 600; margin-bottom: 8px; }
.article-card-title { font-size: 17px; font-weight: 800; color: var(--color-secondary); margin: 0 0 10px; line-height: 1.5; }
.article-card-excerpt { font-size: 13px; color: var(--color-text-muted); flex: 1; line-height: 1.8; }
.article-card-cta { margin-top: 16px; font-size: 13px; font-weight: 700; color: var(--color-primary-text); display: inline-flex; align-items: center; gap: 6px; }

/* =========================================================
   Country detail page (multi-tab destination page)
   ========================================================= */
.country-hero {
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-dark) 100%);
  padding: 28px 0 40px;
  position: relative;
  overflow: hidden;
}
.country-hero-back { color: #cfe0f0; margin-bottom: 20px; }
.country-hero-inner { display: flex; align-items: center; gap: 20px; }
.country-hero-flag { font-size: 56px; flex-shrink: 0; filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3)); }
.country-hero-title { color: #fff; font-size: 30px; margin-top: 10px; }
.country-hero-desc { color: #cfe0f0; margin-top: 10px; max-width: 640px; font-size: 14px; line-height: 1.7; }
.country-hero-actions { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
@media (max-width: 640px) { .country-hero-inner { flex-direction: column; align-items: flex-start; } }

.country-tabs { flex-wrap: wrap; }
.country-tabs .tab { display: flex; align-items: center; gap: 6px; }

.country-steps { display: flex; flex-direction: column; gap: 20px; }
.country-step { display: flex; align-items: flex-start; gap: 16px; }

.doc-checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.doc-checklist li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--color-text); }

.note-list { margin: 0; padding-inline-start: 18px; font-size: 13px; color: var(--color-primary-dark); display: flex; flex-direction: column; gap: 6px; }

.doc-card { padding: 22px; }
.doc-card-head { display: flex; align-items: center; justify-content: space-between; }
.doc-badge { background: var(--color-navy-light); color: var(--color-secondary); }
.doc-download-btn { margin-top: 16px; align-self: flex-start; }

/* =========================================================
   Hero News / Special-Services Slider (admin-editable via
   site_announcements). Distinct from the compact top-bar
   .announcements-banner — this is a prominent carousel with
   dot navigation, positioned directly below the hero.
   ========================================================= */
.hero-slider { position: relative; border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-md); }
.hero-slider-track { display: flex; transition: transform 420ms cubic-bezier(0.4,0,0.2,1); }
html[dir="rtl"] .hero-slider-track { flex-direction: row-reverse; }
.hero-slide {
  flex: 0 0 100%; min-width: 100%; display: flex; align-items: center; gap: 20px;
  padding: 26px 28px; min-height: 96px;
  background: linear-gradient(120deg, var(--color-secondary) 0%, var(--color-secondary-dark) 100%);
  color: #fff;
}
.hero-slide.severity-warning { background: linear-gradient(120deg, #B45309 0%, #92400E 100%); }
.hero-slide.severity-urgent { background: linear-gradient(120deg, #B91C1C 0%, #7F1D1D 100%); }
.hero-slide-icon {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center;
}
.hero-slide-icon i { width: 22px; height: 22px; }
.hero-slide-body { flex: 1; min-width: 0; }
.hero-slide-title { font-size: 15px; font-weight: 800; margin: 0; }
.hero-slide-text { font-size: 13px; color: rgba(255,255,255,0.85); margin: 4px 0 0; }
.hero-slide-link {
  flex-shrink: 0; font-size: 13px; font-weight: 700; color: #fff; white-space: nowrap;
  background: rgba(255,255,255,0.16); padding: 9px 16px; border-radius: var(--radius-full);
  display: inline-flex; align-items: center; gap: 6px; transition: var(--transition);
}
.hero-slide-link:hover { background: rgba(255,255,255,0.28); }
.hero-slider-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 32px; height: 32px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,0.22); color: #fff; display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.hero-slider-nav:hover { background: rgba(255,255,255,0.36); }
.hero-slider-nav.prev { inset-inline-start: 10px; }
.hero-slider-nav.next { inset-inline-end: 10px; }
.hero-slider-nav i { width: 16px; height: 16px; }
.hero-slider-dots {
  position: absolute; bottom: 10px; inset-inline-start: 0; inset-inline-end: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.hero-slider-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.4); border: none; cursor: pointer; padding: 0; transition: var(--transition); }
.hero-slider-dot.active { background: #fff; width: 18px; border-radius: 4px; }
@media (max-width: 640px) {
  .hero-slide { flex-wrap: wrap; padding: 20px; }
  .hero-slide-link { order: 3; margin-inline-start: 60px; }
}

/* =========================================================
   Live latest updates section (homepage)
   ========================================================= */
.latest-updates-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.latest-updates-meta {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius-full); padding: 7px 12px;
  font-size: 12px; font-weight: 700; color: var(--color-text-muted);
  margin-bottom: 14px;
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
  animation: live-pulse 1.8s infinite;
}
@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); }
  80% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
.latest-updates-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.latest-update-card {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-card);
  padding: 16px; display: flex; flex-direction: column; gap: 10px;
  min-height: 170px; box-shadow: var(--shadow-sm);
}
.latest-update-card.severity-warning { border-color: #FCD9A4; }
.latest-update-card.severity-urgent { border-color: #F7BBBB; }
.latest-update-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.badge-news { background: var(--color-navy-light); color: var(--color-secondary); }
.latest-update-date { font-size: 11px; color: var(--color-text-faint); font-weight: 700; }
.latest-update-title { font-size: 16px; line-height: 1.5; margin: 0; color: var(--color-secondary); }
.latest-update-body { font-size: 13px; color: var(--color-text-muted); line-height: 1.8; flex: 1; }
.latest-update-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.latest-update-source { font-size: 11px; color: var(--color-text-faint); }
.latest-update-link { font-size: 12px; font-weight: 700; color: var(--color-primary-text); text-decoration: underline; }
@media (max-width: 900px) { .latest-updates-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .latest-updates-grid { grid-template-columns: 1fr; gap: 10px; }
  .latest-updates-actions { width: 100%; }
  .latest-updates-actions .btn { flex: 1; min-width: 0; }
  .latest-updates-meta { width: 100%; justify-content: center; }
}

/* =========================================================
   Origin / Destination country selector widget
   (vfsglobal.com "I'm applying from / going to" pattern)
   ========================================================= */
.odw-card { padding: 28px; width: 100%; max-width: 420px; }
.odw-field label { display: block; font-size: 13px; font-weight: 700; color: var(--color-text-muted); margin-bottom: 8px; }
.odw-field select { height: 50px; font-size: 14px; }

/* =========================================================
   Blog — public list / detail pages
   ========================================================= */
.blog-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); display: flex; flex-direction: column; }
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--color-primary); }
.blog-card-cover { height: 160px; background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-dark) 100%); background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; }
.blog-card-cover i { width: 30px; height: 30px; color: rgba(255,255,255,0.55); }
.blog-card-body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.blog-card-meta { font-size: 11px; color: var(--color-text-faint); margin-bottom: 8px; }
.blog-card-title { font-size: 16px; font-weight: 800; color: var(--color-secondary); margin: 0 0 8px; }
.blog-card-excerpt { font-size: 13px; color: var(--color-text-muted); flex: 1; line-height: 1.7; }
.blog-card-cta { margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--color-primary-text); display: inline-flex; align-items: center; gap: 6px; }
.blog-list-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1000px) { .blog-list-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .blog-list-grid { grid-template-columns: 1fr; } }
.blog-detail-cover { height: 280px; border-radius: var(--radius-card); background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-dark) 100%); background-size: cover; background-position: center; margin-bottom: 28px; }
.blog-detail-meta { font-size: 13px; color: var(--color-text-faint); margin-bottom: 10px; }
.blog-detail-body { font-size: 15px; line-height: 1.9; color: var(--color-text); white-space: pre-wrap; }
.blog-detail-body h2, .blog-detail-body h3 { color: var(--color-secondary); margin-top: 28px; }

/* =========================================================
   Admin — simple record form (Blog / Announcements editors)
   ========================================================= */
.admin-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 800px) { .admin-form-grid { grid-template-columns: 1fr; } }
.admin-form-field { display: flex; flex-direction: column; gap: 6px; }
.admin-form-field.full { grid-column: 1 / -1; }
.admin-form-field label { font-size: 13px; font-weight: 700; color: var(--color-text-muted); }
.admin-form-field textarea { font-family: inherit; resize: vertical; min-height: 90px; }
.admin-list-row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-bottom: 1px solid var(--color-border); }
.admin-list-row:last-child { border-bottom: none; }
.admin-list-row-body { flex: 1; min-width: 0; }
.admin-list-row-title { font-size: 14px; font-weight: 700; color: var(--color-secondary); }
.admin-list-row-meta { font-size: 12px; color: var(--color-text-faint); margin-top: 3px; }
.admin-list-row-actions { display: flex; gap: 6px; flex-shrink: 0; }
.icon-btn { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--color-border); background: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--color-text-muted); transition: var(--transition); }
.icon-btn:hover { background: var(--color-card); }
.icon-btn.danger:hover { background: var(--color-error-light); color: var(--color-error); border-color: var(--color-error-light); }
.icon-btn i { width: 15px; height: 15px; }

/* =========================================================
   Landing v2 · nationality picker · destination page v2
   Logical properties only (RTL/LTR). Colours chosen for WCAG AA.
   ========================================================= */

[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link {
  position: absolute; inset-inline-start: 12px; top: -100px; z-index: 300;
  background: #fff; color: var(--color-secondary); padding: 10px 16px; border-radius: 8px;
  font-weight: 700; box-shadow: var(--shadow-lg);
}
.skip-link:focus { top: 12px; }
[data-lucide] { width: 18px; height: 18px; flex-shrink: 0; display: inline-block; }
.show-mobile { display: none; }
@media (max-width: 768px) { .show-mobile { display: inline; } }

.btn-lg { height: 54px; padding: 0 30px; font-size: 16px; }
.btn-outline-light {
  background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.55);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.12); }
.btn-block { width: 100%; }
.btn-ghost:hover { border-color: var(--color-secondary); }

.section-tight { padding-top: 0; padding-bottom: 24px; }
.section-band { background: var(--color-card); }
.section-head-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.section-head-row h2 { font-size: 28px; }
.h2-sm { font-size: 22px; }
.h3-sm { font-size: 17px; line-height: 1.4; }
.section-title { font-size: 26px; margin-bottom: 8px; }
.section-lead { margin-bottom: 20px; max-width: 760px; font-size: 15px; }
.faint { color: var(--color-text-faint); }

.check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--color-text); line-height: 1.7; }
.check-list li > [data-lucide], .check-list li > svg { color: #15803D; margin-top: 3px; width: 16px; height: 16px; }
.check-list li.faint { color: var(--color-text-faint); }

.general-tag {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600;
  color: var(--color-secondary); background: var(--color-navy-light); border-radius: var(--radius-full);
  padding: 6px 14px; margin-bottom: 16px;
}
.general-tag [data-lucide] { width: 14px; height: 14px; color: var(--color-secondary); }

/* ---------- Hero (landing) ---------- */
.hero-points { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.hero-points li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--color-secondary); }
.hero-points li [data-lucide] { color: #15803D; }
.hero-note { align-items: flex-start; }
.hero-note span { color: var(--color-text-muted); }
.hero-note [data-lucide] { width: 14px; height: 14px; margin-top: 3px; color: var(--color-secondary); }
.odw-head { margin-bottom: 18px; text-align: start; }
.odw-title { font-size: 20px; margin-top: 10px; }
.odw-go { height: 52px; margin-top: 20px; font-size: 15px; }
.odw-go:disabled { opacity: 0.55; }
.odw-or { margin-top: 12px; }
.odw-field + .odw-field { margin-top: 14px; }
.odw-field select { width: 100%; }

/* ---------- Feature cards ---------- */
.feature-card { display: flex; flex-direction: column; gap: 12px; }
.feature-card [data-lucide] { width: 26px; height: 26px; color: var(--color-primary-text); }
.feature-card h3 { font-size: 16px; line-height: 1.6; }

/* ---------- Service tracks ---------- */
.track-card .icon-tile { margin-bottom: 14px; }
.track-card h3 { font-size: 18px; }
.track-card p { margin-top: 10px; font-size: 14px; line-height: 1.8; }
.track-foot { margin-top: 18px; max-width: 760px; }

/* ---------- Steps ---------- */
.steps-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: none; }
.step-card-v2 { position: relative; display: flex; flex-direction: column; gap: 10px; padding-top: 52px; }
.step-card-v2 h3 { font-size: 16px; line-height: 1.5; }
.step-card-v2 p { font-size: 14px; line-height: 1.8; }
.step-num {
  position: absolute; top: 18px; inset-inline-start: 20px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--color-secondary); color: #fff; font-size: 13px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
}
.step-icon { color: var(--color-primary-text); width: 22px; height: 22px; }
@media (max-width: 1000px) { .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps-grid { grid-template-columns: 1fr; } }

/* ---------- Nationality band (landing) ---------- */
.nat-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; padding: 32px; align-items: start; }
.nat-band h2 { font-size: 26px; margin-top: 12px; }
.nat-band p { margin-top: 12px; font-size: 15px; line-height: 1.9; }
.nat-summary { font-weight: 600; color: var(--color-secondary) !important; min-height: 1.5em; }
@media (max-width: 860px) { .nat-band { grid-template-columns: 1fr; padding: 24px; gap: 20px; } }

/* ---------- Nationality picker (shared) ---------- */
.nat-picker { display: flex; flex-direction: column; gap: 12px; }
.nat-label { font-size: 14px; font-weight: 700; color: var(--color-secondary); }
.nat-search-row { display: flex; gap: 8px; align-items: center; }
.nat-search { flex: 1; min-width: 0; }
.nat-clear { flex-shrink: 0; height: 48px; }
.nat-results {
  list-style: none; margin: 0; padding: 6px; border: 1px solid var(--color-border); border-radius: var(--radius-sm);
  background: #fff; box-shadow: var(--shadow-md); max-height: 280px; overflow-y: auto;
}
.nat-results li { margin: 0; }
.nat-result {
  width: 100%; display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 10px;
  border: none; background: transparent; border-radius: 8px; cursor: pointer; font: inherit; color: var(--color-text);
  text-align: start;
}
.nat-result:hover, .nat-result:focus-visible { background: var(--color-navy-light); }
.nat-result[aria-current="true"] { font-weight: 700; color: var(--color-secondary); }
.nat-result-name { flex: 1; }
.nat-code { font-size: 12px; font-weight: 700; color: var(--color-text-muted); letter-spacing: 0.04em; }
.nat-empty { padding: 10px; font-size: 14px; color: var(--color-text-muted); }
.nat-flag { font-size: 18px; line-height: 1; }
.nat-sub { font-size: 13px; font-weight: 700; color: var(--color-text-muted); margin-top: 4px; }
.nat-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.nat-chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 14px;
  border: 1px solid var(--color-border); border-radius: var(--radius-full); background: #fff;
  color: var(--color-secondary); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
  transition: var(--transition);
}
.nat-chip:hover { border-color: var(--color-secondary); }
.nat-chip[aria-pressed="true"] { background: var(--color-secondary); border-color: var(--color-secondary); color: #fff; }
.nat-current { font-size: 14px; color: var(--color-text-muted); min-height: 1.5em; }

/* ---------- Nationality notes ---------- */
.nat-note {
  background: #fff; border: 1px solid var(--color-border); border-inline-start: 4px solid var(--color-secondary);
  border-radius: var(--radius-card); padding: 18px 20px; margin-top: 12px; box-shadow: var(--shadow-sm);
}
.nat-note-kind {
  display: inline-block; font-size: 12px; font-weight: 700; color: var(--color-secondary);
  background: var(--color-navy-light); border-radius: var(--radius-full); padding: 3px 10px;
}
.nat-note-title { font-size: 16px; margin-top: 10px; line-height: 1.5; }
.nat-note-body { font-size: 14px; margin-top: 8px; line-height: 1.9; white-space: pre-line; color: var(--color-text); }
.nat-note-foot { display: flex; gap: 12px; flex-wrap: wrap; justify-content: space-between; margin-top: 12px; font-size: 12px; color: var(--color-text-muted); }
.nat-note-foot a { color: var(--color-primary-text); font-weight: 700; text-decoration: underline; }
.nat-heading { margin-top: 18px; color: var(--color-secondary); }
.nat-state { margin-top: 12px; }
.nat-state p { font-size: 14px; }
.nat-none { background: var(--color-warning-light); border-color: #FCD9A4; }
.nat-none p { color: #5B3A07; }
.nat-error { background: var(--color-error-light); border-color: #F7BBBB; }
.nat-error p { color: #7F1D1D; }
.nat-notes { margin-top: 4px; }

/* ---------- Destination cards (landing) ---------- */
.dest-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.dest-badge { border: none; font-size: 11px; }
.capability-list { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.capability-list li { font-size: 12.5px; font-weight: 600; padding-inline-start: 18px; position: relative; color: var(--color-text-faint); }
.capability-list li::before { content: ''; position: absolute; inset-inline-start: 2px; top: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--color-border); }
.capability-list li.is-on { color: var(--color-secondary); }
.capability-list li.is-on::before { background: #15803D; }
.dest-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; margin: 12px 0 0; font-size: 12px; }
.dest-meta div { display: flex; flex-direction: column; gap: 2px; }
.dest-meta dt { color: var(--color-text-muted); }
.dest-meta dd { margin: 0; font-weight: 700; color: var(--color-secondary); }
.dest-hint { margin-top: 10px; font-size: 12px; color: #92400E; }
.dest-nat { margin-top: 12px; font-size: 12.5px; font-weight: 600; border-radius: var(--radius-sm); padding: 8px 10px; line-height: 1.6; }
.dest-nat.is-checking { color: var(--color-text-muted); background: var(--color-card); }
.dest-nat.is-found { color: #14532D; background: var(--color-success-light); }
.dest-nat.is-none { color: #5B3A07; background: var(--color-warning-light); }
.dest-nat.is-error { color: #7F1D1D; background: var(--color-error-light); }

/* ---------- Value list + trust ---------- */
.value-wrap { max-width: 920px; }
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.trust-col h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; margin-bottom: 16px; }
.trust-col h3 [data-lucide] { color: #15803D; width: 22px; height: 22px; }
.trust-col-not h3 [data-lucide] { color: #B91C1C; }
.trust-col-not .check-list li > [data-lucide], .trust-col-not .check-list li > svg { color: #B91C1C; }
@media (max-width: 760px) { .trust-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ (native details) ---------- */
.faq-wrap { max-width: 760px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { padding: 0; overflow: hidden; }
.faq-item[open] { box-shadow: var(--shadow-md); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer;
  list-style: none; padding: 18px 20px; font-weight: 700; color: var(--color-secondary); font-size: 15px; line-height: 1.6;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q:focus-visible { outline: 3px solid color-mix(in srgb, var(--color-primary) 60%, transparent); outline-offset: -3px; }
.faq-icon { transition: transform 200ms ease; flex-shrink: 0; color: var(--color-secondary); }
.faq-item[open] .faq-icon { transform: rotate(180deg); }
.faq-a { padding: 0 20px 18px; font-size: 14px; line-height: 1.9; color: var(--color-text-muted); }

/* ---------- CTA banner ---------- */
.cta-banner-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.cta-banner-actions .btn { margin-top: 0; }
.cta-banner .btn-primary { margin-top: 0; }

/* ---------- Footer ---------- */
.footer-about { margin-top: 14px; max-width: 340px; color: #C3CAD6; line-height: 1.8; }
.footer-bottom p + p { margin-top: 8px; }

/* =========================================================
   Destination page v2
   ========================================================= */
.country-hero-back { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: #cfe0f0; }
.country-hero-back [data-lucide] { width: 14px; height: 14px; }
.country-hero-eyebrow { background: rgba(255,255,255,0.14); color: #fff; }
.country-hero-eyebrow .dot { background: var(--color-primary); }
.country-hero-flag { line-height: 1; }
.country-main { padding-top: 28px; padding-bottom: 80px; }
.country-notfound { padding: 28px; margin-top: 16px; }

.country-jump {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px;
  position: sticky; top: 0; z-index: 20; background: #fff; padding: 12px 0; border-bottom: 1px solid var(--color-border);
}
.country-jump a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border-radius: var(--radius-full);
  border: 1px solid var(--color-border); background: #fff; font-size: 13px; font-weight: 600; color: var(--color-secondary);
}
.country-jump a:hover { border-color: var(--color-secondary); background: var(--color-navy-light); }
.country-jump a:focus-visible { outline: 3px solid color-mix(in srgb, var(--color-primary) 60%, transparent); outline-offset: 2px; }
@media (max-width: 640px) { .country-jump { position: static; } }

.country-section { scroll-margin-top: 120px; margin-top: 36px; }
.country-section:first-of-type { margin-top: 0; }
.country-block { margin-top: 16px; }
.country-block + .country-block { margin-top: 16px; }
.kpi { padding: 18px; }
.kpi-label { font-size: 12px; color: var(--color-text-muted); font-weight: 600; }
.kpi-value { font-size: 15px; font-weight: 700; color: var(--color-secondary); margin-top: 6px; }
.visa-name { font-size: 15px; color: var(--color-secondary); }
.visa-name + p { margin-top: 6px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  display: inline-flex; align-items: center; padding: 6px 14px; border-radius: var(--radius-full);
  background: var(--color-navy-light); color: var(--color-secondary); font-size: 13px; font-weight: 600;
}
.country-page-advisor { margin-top: 0; }

.visa-picker { display: flex; flex-direction: column; gap: 8px; max-width: 420px; margin-bottom: 18px; }
.visa-picker label { font-size: 14px; font-weight: 700; color: var(--color-secondary); }

.req-group + .req-group { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--color-border); }
.req-group-head { display: flex; align-items: center; gap: 10px; }
.req-count { background: var(--color-navy-light); color: var(--color-secondary); }
.req-group-note { font-size: 13px; color: var(--color-text-muted); margin-top: 6px; line-height: 1.8; }
.req-list { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; }
.req-item { padding: 14px 0; border-bottom: 1px solid var(--color-border); }
.req-item:last-child { border-bottom: none; }
.req-item-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.req-item-head strong { font-size: 15px; color: var(--color-text); line-height: 1.6; }
.req-cat { background: var(--color-card); color: var(--color-text-muted); border: 1px solid var(--color-border); font-size: 11px; }
.req-reason { font-size: 13.5px; color: var(--color-text-muted); margin-top: 6px; line-height: 1.8; }
.req-optional .req-group-head h3 { color: var(--color-text-muted); }

.proc-steps { list-style: none; margin: 0; padding: 22px; display: flex; flex-direction: column; gap: 20px; }
.proc-steps li { display: flex; align-items: flex-start; gap: 14px; position: relative; }
.proc-steps li .step-num { position: static; flex-shrink: 0; }
.proc-steps h3 { color: var(--color-secondary); }
.proc-steps p { font-size: 14px; margin-top: 4px; line-height: 1.8; }

.data-row { padding: 12px 0; border-bottom: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 4px; }
.data-row:last-child { border-bottom: none; }
.data-label { font-size: 14px; font-weight: 700; color: var(--color-secondary); }
.data-value { font-size: 14px; color: var(--color-text); line-height: 1.8; }
.data-meta { font-size: 12px; color: var(--color-text-muted); }

.source-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 14px 0; border-bottom: 1px solid var(--color-border); }
.source-row:last-child { border-bottom: none; }
.source-name { font-size: 15px; font-weight: 700; color: var(--color-secondary); margin-bottom: 4px; }

.nat-card { padding: 22px; }
.disclaimer-card { background: var(--color-warning-light); border: 1px solid #FCD9A4; }
.disclaimer-card h2 { display: flex; align-items: center; gap: 8px; color: #5B3A07; }
.disclaimer-card h2 [data-lucide] { color: #5B3A07; }
.disclaimer-card p { margin-top: 10px; font-size: 14px; line-height: 1.9; color: #4A3A1B; }
.advisor-cta { text-align: center; padding: 48px 32px; }
.advisor-cta h2 { color: #fff; font-size: 24px; }
.advisor-cta p { color: #b7bcc7; margin-top: 12px; }
.is-disabled { opacity: 0.6; pointer-events: none; }

@media (max-width: 640px) {
  .country-hero-actions .btn { width: 100%; }
  .advisor-cta { padding: 32px 20px; }
  .section-title { font-size: 22px; }
  .country-section { scroll-margin-top: 96px; }
}

/* Search input in the nationality picker (type="search" is not in the base input rules). */
.nat-search {
  width: 100%; height: 48px; padding: 0 16px; border: 1px solid var(--color-border);
  border-radius: var(--radius-sm); background: #fff; font: inherit; font-size: 15px; color: var(--color-text);
}
.nat-search::placeholder { color: var(--color-text-faint); }
.nat-search:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px var(--color-primary-light); }

/* Destination card actions stack full width so labels do not wrap into narrow columns. */
.destination-card-actions { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
.destination-card-cta { width: 100%; justify-content: center; text-align: center; white-space: normal; min-height: 44px; line-height: 1.4; }
@media (max-width: 640px) {
  .hero-actions .btn { width: 100%; }
}
