@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Cursor trail canvas ── */
#cursor-trail {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9999;
}
@media (hover: none) { #cursor-trail { display: none; } }

/* ═══════════════════════════════════════════════════════════
   DESIGN TOKENS — Neumorphic Light
═══════════════════════════════════════════════════════════ */
:root {
  /* Base */
  --bg:     #e8ecf1;
  --bg2:    #dfe4ec;
  --bg3:    #d5dae5;
  --sh-d:   #b8c0cc;
  --sh-l:   #ffffff;

  /* Text */
  --tx:     #2d3748;
  --tx2:    #64748b;
  --tx3:    #a0aec0;

  /* Accent — violet */
  --ac:     #6c5ce7;
  --ac2:    #5a4bd1;
  --ac3:    #4a3dc4;
  --ac-bg:  rgba(108,92,231,.10);
  --ac-bd:  rgba(108,92,231,.20);

  /* Status */
  --bd:     rgba(0,0,0,.08);
  --bd2:    rgba(0,0,0,.04);

  /* Layout */
  --nav-h:   60px;
  --nav-top: 16px;
  --max:     1160px;
  --sp:      96px;
  --r:       18px;
  --r-sm:    10px;
  --r-pill:  50px;

  /* Neumorphic shadows */
  --neu:      6px 6px 14px var(--sh-d), -6px -6px 14px var(--sh-l);
  --neu-lg:   10px 10px 22px var(--sh-d), -10px -10px 22px var(--sh-l);
  --neu-sm:   3px 3px 7px var(--sh-d),   -3px -3px 7px var(--sh-l);
  --neu-in:   inset 5px 5px 10px var(--sh-d),   inset -5px -5px 10px var(--sh-l);
  --neu-in-sm:inset 2px 2px 5px var(--sh-d),    inset -2px -2px 5px var(--sh-l);
}

/* ═══════════════════════════════════════════════════════════
   DARK MODE — Neumorphic Dark
═══════════════════════════════════════════════════════════ */
[data-theme="dark"] {
  --bg:     #1e2228;
  --bg2:    #191e24;
  --bg3:    #14181e;
  --sh-d:   #131720;
  --sh-l:   #292f3a;
  --tx:     #e2e8f0;
  --tx2:    #94a3b8;
  --tx3:    #4a5568;
  --bd:     rgba(255,255,255,.07);
  --bd2:    rgba(255,255,255,.03);
  --ac-bg:  rgba(108,92,231,.15);
  --ac-bd:  rgba(108,92,231,.25);
}

/* ── Base ─────────────────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--tx);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Particle canvas ─────────────────────────────────── */
#particles {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}
.page { position: relative; z-index: 1; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }

/* ═══════════════════════════════════════════════════════════
   BUTTONS — Neumorphic
═══════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 24px; border-radius: var(--r-pill);
  font-family: inherit; font-size: 14px; font-weight: 600;
  text-decoration: none; border: none; cursor: pointer;
  transition: box-shadow .2s, transform .12s, background .15s;
  white-space: nowrap; line-height: 1;
  box-shadow: var(--neu);
  background: var(--bg); color: var(--tx2);
}
.btn:hover  { box-shadow: var(--neu-lg); }
.btn:active { box-shadow: var(--neu-in); transform: scale(.98); }

.btn-sm { padding: 8px 18px; font-size: 13px; }

.btn-p {
  background: var(--ac); color: #fff;
  box-shadow: 5px 5px 12px rgba(108,92,231,.35), -3px -3px 10px rgba(255,255,255,.55);
}
.btn-p:hover {
  background: var(--ac2);
  box-shadow: 7px 7px 16px rgba(108,92,231,.45), -3px -3px 10px rgba(255,255,255,.6);
  transform: translateY(-1px);
}
.btn-p:active {
  box-shadow: inset 4px 4px 8px rgba(0,0,0,.22);
  transform: scale(.98);
}
[data-theme="dark"] .btn-p {
  box-shadow: 5px 5px 12px rgba(0,0,0,.45), -2px -2px 8px rgba(108,92,231,.22);
}

.btn-o {
  background: var(--bg); color: var(--tx2);
  box-shadow: var(--neu);
}
.btn-o:hover { color: var(--ac); }

.btn-w { background: var(--bg); color: var(--ac); box-shadow: var(--neu); }

/* ═══════════════════════════════════════════════════════════
   NAV — Neumorphic Floating Pill
═══════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: var(--nav-top);
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1140px;
  height: var(--nav-h);
  background: var(--bg);
  box-shadow: var(--neu-lg);
  border-radius: var(--r-pill);
  z-index: 200;
  border: 1px solid rgba(255,255,255,.5);
}
[data-theme="dark"] .nav {
  border-color: rgba(255,255,255,.04);
  box-shadow: 8px 8px 20px var(--sh-d), -4px -4px 14px var(--sh-l);
}

.nav .wrap { padding: 0 20px; height: 100%; }
.nav-row {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}
.nav-logo {
  display: flex; align-items: center;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo-img { height: 38px; width: auto; display: block; object-fit: contain; }

.nav-links {
  display: flex; align-items: center; gap: 2px; list-style: none;
  justify-content: center;
}
.nav-links a {
  font-size: 13px; font-weight: 500; color: var(--tx2);
  text-decoration: none; padding: 6px 12px; border-radius: var(--r-pill);
  transition: box-shadow .2s, color .15s;
  white-space: nowrap;
}
.nav-links a:hover {
  box-shadow: var(--neu-sm);
  color: var(--ac);
}
.nav-end {
  display: flex; align-items: center; gap: 10px;
  justify-content: flex-end;
}

/* ── Lang switcher ───────────────────────────────────── */
.lang-switcher { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 4px;
  height: 34px; padding: 0 13px;
  border: none; border-radius: var(--r-pill);
  background: var(--bg); cursor: pointer;
  font-size: 11px; font-weight: 700; letter-spacing: .06em;
  color: var(--tx2); font-family: inherit;
  box-shadow: var(--neu-sm);
  transition: box-shadow .2s, color .15s;
}
.lang-btn:hover { box-shadow: var(--neu); color: var(--ac); }
.lang-menu {
  position: absolute; top: calc(100% + 10px); right: 0;
  background: var(--bg);
  border: 1px solid var(--bd); border-radius: 16px;
  padding: 6px; list-style: none; min-width: 136px;
  box-shadow: var(--neu-lg);
  opacity: 0; pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .15s, transform .15s;
  z-index: 300;
}
.lang-menu.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.lang-menu li button {
  width: 100%; text-align: left; padding: 9px 14px;
  font-size: 13px; font-weight: 500; color: var(--tx2);
  background: none; border: none; cursor: pointer;
  border-radius: var(--r-pill); font-family: inherit;
  transition: box-shadow .15s, color .1s;
}
.lang-menu li button:hover { box-shadow: var(--neu-in-sm); color: var(--ac); }
.lang-menu li button.lang-active { color: var(--ac); font-weight: 700; }

/* ── Theme toggle ────────────────────────────────────── */
.theme-toggle {
  width: 34px; height: 34px;
  border: none; border-radius: var(--r-pill);
  background: var(--bg);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--tx2);
  box-shadow: var(--neu-sm);
  transition: box-shadow .2s, color .15s;
  flex-shrink: 0; padding: 0;
}
.theme-toggle:hover { box-shadow: var(--neu); color: var(--ac); }
.theme-toggle svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .icon-moon { display: block; }
.theme-toggle .icon-sun  { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun  { display: block; }

/* ═══════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════ */
.hero {
  padding-top: calc(var(--nav-h) + var(--nav-top) + 100px);
  padding-bottom: 100px;
  background: transparent;
}
.hero-grid {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; max-width: 1100px; margin: 0 auto; gap: 0;
}
.hero-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ac); margin-bottom: 24px;
}
.hero-label::before { content: ''; display: block; width: 24px; height: 2px; background: var(--ac); }
.hero-h {
  font-size: clamp(44px, 6vw, 80px);
  font-weight: 800; line-height: 1.07;
  letter-spacing: -0.036em; color: var(--tx);
  margin-bottom: 24px;
}
.hero-cycle {
  color: var(--ac); display: inline-block;
  transition: opacity .25s ease, transform .25s ease;
}
.hero-cycle.cycle-out { opacity: 0; transform: translateY(-12px); }
.hero-desc {
  font-size: 18px; line-height: 1.75; color: var(--tx2);
  max-width: 560px; margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-bottom: 56px; }

/* Proof stats — small neumorphic chips */
.hero-proof { display: flex; align-items: center; gap: 24px; justify-content: center; }
.proof-item {
  text-align: center; padding: 12px 22px;
  background: var(--bg); border-radius: 14px;
  box-shadow: var(--neu-sm);
}
.proof-num { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; color: var(--tx); line-height: 1; }
.proof-lbl { font-size: 11.5px; color: var(--tx3); margin-top: 4px; }
.proof-sep { width: 1px; height: 40px; background: var(--bd); flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════════
   LOGO TICKER
═══════════════════════════════════════════════════════════ */
.logo-ticker {
  padding: 22px 0 26px;
  background: transparent;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.logo-ticker::before, .logo-ticker::after {
  content: '';
  position: absolute; left: 0; right: 0; height: 1px;
  background: rgba(0,0,0,.07);
}
.logo-ticker::before { top: 0; }
.logo-ticker::after  { bottom: 0; }

.ticker-label {
  text-align: center; font-size: 10px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--tx3); margin-bottom: 4px;
}
.ticker-track {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 7%, #000 93%, transparent 100%);
}
.ticker-inner {
  display: flex; align-items: center; gap: 10px;
  width: max-content;
  animation: ticker-scroll 30s linear infinite;
}
.ticker-inner--rev {
  animation: ticker-scroll-rev 30s linear infinite;
}
@media (prefers-reduced-motion: reduce) { .ticker-inner, .ticker-inner--rev { animation: none; } }
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes ticker-scroll-rev {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}
.t-logo {
  height: 34px; width: auto; flex-shrink: 0; display: block;
  filter: grayscale(1) opacity(.45);
  transition: filter .25s ease; user-select: none;
}
.t-logo:hover { filter: grayscale(0) opacity(1); }
[data-theme="dark"] .t-logo { filter: grayscale(1) invert(1) opacity(.35); }
[data-theme="dark"] .t-logo:hover { filter: grayscale(0) invert(1) opacity(.85); }

/* ═══════════════════════════════════════════════════════════
   SECTION LABELS & HEADINGS
═══════════════════════════════════════════════════════════ */
.label {
  display: block; font-size: 11px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--ac); margin-bottom: 10px;
}
.sec-h {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 800; letter-spacing: -0.025em;
  color: var(--tx); line-height: 1.1;
}
.sec-sub {
  font-size: 16px; color: var(--tx2); line-height: 1.7;
  margin-top: 12px; max-width: 500px;
}
.sec-hd-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 52px; flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════════
   SERVICES — Neumorphic Swiper Cards
═══════════════════════════════════════════════════════════ */
.services { padding: 36px 0 48px; }
.services-swiper.swiper { padding: 40px 0 64px; }
.services-swiper .swiper-slide { width: 310px; height: auto; transition: opacity .4s; }
.services-swiper .swiper-slide:not(.swiper-slide-active) { opacity: .45; }

.svc-card {
  padding: 30px;
  border-radius: 20px;
  background: var(--bg);
  display: flex; flex-direction: column;
  box-shadow: var(--neu);
  transition: box-shadow .35s;
  border-top: 3px solid transparent;
}
.swiper-slide-active .svc-card { box-shadow: var(--neu-lg); }
.svc-card--visa      { border-top-color: #6c5ce7; }
.svc-card--legal     { border-top-color: #2563eb; }
.svc-card--lifestyle { border-top-color: #db2777; }

[data-theme="dark"] .svc-card { box-shadow: 6px 6px 14px var(--sh-d), -4px -4px 10px var(--sh-l); }
[data-theme="dark"] .swiper-slide-active .svc-card { box-shadow: 10px 10px 24px var(--sh-d), -5px -5px 14px var(--sh-l); }
[data-theme="dark"] .svc-card--visa      { border-top-color: #a78bfa; }
[data-theme="dark"] .svc-card--legal     { border-top-color: #60a5fa; }
[data-theme="dark"] .svc-card--lifestyle { border-top-color: #f472b6; }

/* Card icon */
.svc-card-icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; flex-shrink: 0;
  box-shadow: var(--neu-sm);
}
.svc-card-icon svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.svc-card--visa      .svc-card-icon { background: var(--bg); color: #6c5ce7; }
.svc-card--legal     .svc-card-icon { background: var(--bg); color: #2563eb; }
.svc-card--lifestyle .svc-card-icon { background: var(--bg); color: #db2777; }
[data-theme="dark"] .svc-card--visa      .svc-card-icon { color: #a78bfa; }
[data-theme="dark"] .svc-card--legal     .svc-card-icon { color: #60a5fa; }
[data-theme="dark"] .svc-card--lifestyle .svc-card-icon { color: #f472b6; }

.svc-card-title { font-size: 17px; font-weight: 700; letter-spacing: -0.016em; color: var(--tx); line-height: 1.2; margin-bottom: 3px; }
.svc-card-tag   { font-size: 12px; color: var(--tx3); }

.svc-card-list {
  list-style: none; display: flex; flex-direction: column; gap: 8px;
  margin-top: 18px; padding-top: 18px;
  border-top: 1px solid var(--bd); flex: 1;
}
.svc-card-list li {
  font-size: 12.5px; color: var(--tx2); line-height: 1.4;
  padding-left: 13px; position: relative;
}
.svc-card-list li::before {
  content: ''; position: absolute; left: 0; top: 5px;
  width: 4px; height: 4px; border-radius: 50%; opacity: .45;
}
.svc-card--visa      .svc-card-list li::before { background: #6c5ce7; }
.svc-card--legal     .svc-card-list li::before { background: #2563eb; }
.svc-card--lifestyle .svc-card-list li::before { background: #db2777; }

.svc-card-cta {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 600; text-decoration: none;
  margin-top: 18px; transition: gap .15s;
}
.svc-card--visa      .svc-card-cta { color: #6c5ce7; }
.svc-card--legal     .svc-card-cta { color: #2563eb; }
.svc-card--lifestyle .svc-card-cta { color: #db2777; }
[data-theme="dark"] .svc-card--visa      .svc-card-cta { color: #a78bfa; }
[data-theme="dark"] .svc-card--legal     .svc-card-cta { color: #60a5fa; }
[data-theme="dark"] .svc-card--lifestyle .svc-card-cta { color: #f472b6; }
.svc-card-cta:hover { gap: 9px; }

/* ═══════════════════════════════════════════════════════════
   ARTICLES — Neumorphic Cards
═══════════════════════════════════════════════════════════ */
.articles { padding: 48px 0 var(--sp); background: transparent; }
.art-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 40px;
}
@media (max-width: 900px) { .art-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px)  { .art-grid { grid-template-columns: 1fr; } }

.art-card {
  height: 100%;
  background: var(--bg);
  border-radius: 20px;
  padding: 30px;
  display: flex; flex-direction: column; gap: 14px;
  box-shadow: var(--neu);
  transition: box-shadow .25s;
}
.art-card:hover { box-shadow: var(--neu-lg); }

.art-card-meta {
  display: flex; align-items: center;
  justify-content: space-between; gap: 10px;
}
.art-cat {
  font-size: 10px; font-weight: 800; letter-spacing: .09em;
  text-transform: uppercase; padding: 5px 12px;
  border-radius: var(--r-pill); box-shadow: var(--neu-sm);
}
.art-cat--visa        { color: #6c5ce7; background: rgba(108, 92,231,.08); }
.art-cat--immigration { color: #2563eb; background: rgba( 37, 99,235,.08); }
.art-cat--business    { color: #059669; background: rgba(  5,150,105,.08); }
.art-cat--lifestyle   { color: #db2777; background: rgba(219, 39,119,.08); }
.art-cat--legal       { color: #d97706; background: rgba(217,119,  6,.08); }

.art-date   { font-size: 12px; color: var(--tx3); }
.art-title  { font-size: 17px; font-weight: 700; line-height: 1.4; letter-spacing: -0.018em; color: var(--tx); flex: 1; }
.art-excerpt{ font-size: 13.5px; line-height: 1.7; color: var(--tx2); }
.art-link {
  font-size: 13px; font-weight: 600; color: var(--ac);
  text-decoration: none; display: inline-flex; align-items: center; gap: 5px;
  margin-top: auto; transition: gap .15s;
}
.art-link:hover { gap: 9px; }

/* ═══════════════════════════════════════════════════════════
   TRACKING — Neumorphic
═══════════════════════════════════════════════════════════ */
.tracking { padding: var(--sp) 0; background: transparent; }
.track-wrap { max-width: 620px; }
.track-form { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }

.track-input {
  flex: 1; min-width: 200px;
  padding: 13px 20px;
  border: none; border-radius: var(--r-pill);
  font-family: inherit; font-size: 15px; color: var(--tx);
  background: var(--bg);
  box-shadow: var(--neu-in);
  outline: none; letter-spacing: .04em;
  transition: box-shadow .2s;
}
.track-input:focus { box-shadow: inset 6px 6px 14px var(--sh-d), inset -6px -6px 14px var(--sh-l); }
.track-input::placeholder { color: var(--tx3); }

.track-result {
  margin-top: 24px; padding: 24px; border-radius: 20px;
  background: var(--bg); box-shadow: var(--neu-in);
  display: none;
}
.track-result.on { display: block; }

.track-status {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; padding: 5px 14px; border-radius: var(--r-pill);
  margin-bottom: 14px; box-shadow: var(--neu-sm);
}
.s-review    { color: #92400e; background: rgba(146, 64,  14,.09); }
.s-approved  { color: #065f46; background: rgba(  6, 95, 70,.09); }
.s-pending   { color: #3730a3; background: rgba( 55, 48,163,.09); }
.s-rejected  { color: #991b1b; background: rgba(153, 27, 27,.09); }
.s-completed { color: #065f46; background: rgba(  6, 95, 70,.09); }

.track-info { font-size: 14px; color: var(--tx2); line-height: 2; }
.track-events { list-style: none; margin-top: 16px; }
.track-ev {
  display: flex; gap: 14px; padding: 12px 0;
  border-bottom: 1px solid var(--bd);
}
.track-ev:last-child { border-bottom: none; }
.ev-dot {
  width: 10px; height: 10px; border-radius: 50%;
  flex-shrink: 0; margin-top: 4px;
  box-shadow: var(--neu-sm);
}
.ev-done    { background: #10b981; box-shadow: 2px 2px 5px rgba(16,185,129,.3), -1px -1px 4px var(--sh-l); }
.ev-current { background: var(--ac); box-shadow: 2px 2px 5px rgba(108,92,231,.35), -1px -1px 4px var(--sh-l); }
.ev-pending { background: var(--bg); box-shadow: var(--neu-sm); }
.ev-text    { font-size: 13px; color: var(--tx2); line-height: 1.6; }
.ev-title   { font-weight: 600; color: var(--tx); display: block; }

/* ═══════════════════════════════════════════════════════════
   CONTACT — Neumorphic
═══════════════════════════════════════════════════════════ */
.contact { padding: var(--sp) 0; background: transparent; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; align-items: start; }

.contact-items { margin-top: 36px; }
.ci-row {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid var(--bd);
}
.ci-row:first-child { border-top: 1px solid var(--bd); }
.ci-icon {
  width: 38px; height: 38px; border-radius: 10px;
  color: var(--ac);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  background: var(--bg); box-shadow: var(--neu-sm);
}
.ci-icon svg { width: 16px; height: 16px; }
.ci-lbl { font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--tx3); margin-bottom: 3px; }
.ci-val { font-size: 15px; font-weight: 500; color: var(--tx); }

/* Contact form inputs */
.form-grid { display: grid; gap: 16px; }
.form-row  { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fg label  { display: block; font-size: 12.5px; font-weight: 600; color: var(--tx2); margin-bottom: 7px; letter-spacing: .2px; }
.fg input, .fg select, .fg textarea {
  width: 100%; padding: 12px 16px;
  border: none; border-radius: 12px;
  font-family: inherit; font-size: 14px; color: var(--tx);
  background: var(--bg);
  box-shadow: var(--neu-in);
  outline: none; resize: vertical;
  transition: box-shadow .2s;
}
.fg input:focus, .fg select:focus, .fg textarea:focus {
  box-shadow: inset 6px 6px 14px var(--sh-d), inset -6px -6px 14px var(--sh-l);
}
.fg select {
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24'%3E%3Cpath fill='%2394a3b8' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 36px;
}
.fg textarea { min-height: 100px; }
.fg input::placeholder, .fg textarea::placeholder { color: var(--tx3); }

.form-note { font-size: 12px; color: var(--tx3); margin-top: 10px; text-align: center; }
.form-fb {
  display: none; padding: 12px 18px; border-radius: var(--r-pill);
  font-size: 14px; margin-top: 12px; text-align: center;
  box-shadow: var(--neu-in-sm);
}
.form-fb.ok  { display: block; color: #059669; }
.form-fb.err { display: block; color: #dc2626; }

/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
/* ── FOOTER ── */
.footer { position: relative; margin-top: 48px; }

.footer-wave {
  display: block; line-height: 0;
}
.footer-wave svg {
  width: 100%; height: 72px; display: block;
  fill: #1a1f2b;
}
[data-theme="dark"] .footer-wave svg { fill: #111318; }

.footer-inner {
  background: #1a1f2b;
  padding: 48px 0 36px;
}
[data-theme="dark"] .footer-inner { background: #111318; }

/* top row */
.footer-top {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 32px; flex-wrap: wrap; margin-bottom: 48px;
}
.footer-brand {}
.fb-logo-img {
  height: 52px; width: auto; display: block;
  object-fit: contain; margin-bottom: 10px;
  filter: brightness(0) invert(1);
}
.fb-copy {
  font-size: 13px; color: rgba(255,255,255,.45); line-height: 1.6;
}
.fb-copy span { color: rgba(255,255,255,.3); }

/* social */
.footer-social { display: flex; gap: 10px; align-items: center; }
.fsoc-btn {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: #232936;
  box-shadow: 4px 4px 8px #131720, -4px -4px 8px #2d3548;
  color: rgba(255,255,255,.55);
  transition: box-shadow .2s, color .15s;
  text-decoration: none;
}
.fsoc-btn svg { width: 18px; height: 18px; }
.fsoc-btn:hover {
  box-shadow: inset 3px 3px 6px #131720, inset -3px -3px 6px #2d3548;
  color: var(--ac);
}

/* columns */
.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col-h {
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ac);
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 13.5px; color: rgba(255,255,255,.5);
  text-decoration: none; transition: color .15s;
}
.footer-col a:hover { color: rgba(255,255,255,.9); }

@media (max-width: 860px) { .footer-cols { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) {
  .footer-cols { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; }
}

/* ═══════════════════════════════════════════════════════════
   SCROLL REVEAL (JS-driven — keep class names)
═══════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════ */

/* ── 1100px: nav links start to crowd ── */
@media (max-width: 1100px) {
  .nav-links a { padding: 6px 9px; font-size: 12.5px; }
}

/* ── 960px: tablet ── */
@media (max-width: 960px) {
  .contact-grid { grid-template-columns: 1fr; gap: 56px; }
  .footer-top { flex-direction: column; align-items: flex-start; gap: 24px; }

  /* Hero */
  .hero-h { font-size: clamp(32px, 6vw, 56px); }
  .hero-sub { font-size: 15px; }

  /* Service cards grid */
  .svc-grid { grid-template-columns: repeat(2, 1fr); }

  /* Stats / KPI row */
  .stats-row { gap: 16px; }

  /* Process steps */
  .process-steps { grid-template-columns: repeat(2, 1fr); }

  /* Visa / legal / other service cards */
  .vs-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── 860px: footer ── */
@media (max-width: 860px) {
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}

/* ── 768px: tablet-portrait ── */
@media (max-width: 768px) {
  :root { --sp: 72px; }

  /* Nav — shrink padding so CTA stays visible */
  .nav { width: calc(100% - 32px); }
  .nav-links a { font-size: 12px; padding: 5px 8px; }
  .btn-sm { padding: 8px 14px; font-size: 12px; }

  /* Articles listing page */
  .art-hero-wrap { flex-direction: column; gap: 16px; }
  .art-filters { flex-wrap: wrap; }

  /* Single article */
  .art-single-inner { grid-template-columns: 1fr; }
  .art-sidebar { position: static; }

  /* AI Chat */
  .chat-wrap { padding: 0; }
  .chat-messages { padding: 0 16px; }
}

/* ── 680px: mobile ── */
@media (max-width: 680px) {
  :root { --sp: 56px; --nav-h: 56px; }
  .wrap { padding: 0 16px; }

  /* Nav: hide links, shrink */
  .nav { width: calc(100% - 24px); top: 10px; }
  .nav-links { display: none; }
  .nav-logo-img { height: 30px; }
  .nav .wrap { padding: 0 16px; }
  .nav-row { grid-template-columns: auto 1fr; }
  .nav-end { gap: 8px; }
  .lang-switcher { display: none; }

  /* Hero */
  .hero { padding-top: calc(var(--nav-h) + var(--nav-top) + 36px); }
  .hero-h { font-size: clamp(28px, 8vw, 40px); line-height: 1.15; }
  .hero-sub { font-size: 14px; line-height: 1.7; }
  .hero-cta  { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero-proof { flex-wrap: wrap; gap: 8px; }
  .proof-item { padding: 8px 12px; font-size: 12px; }
  .proof-sep  { display: none; }

  /* Section headings */
  .sec-tag { font-size: 10px; }
  .sec-h   { font-size: clamp(22px, 6vw, 32px); }

  /* Forms */
  .form-row { grid-template-columns: 1fr; }

  /* Service cards — single column */
  .svc-grid { grid-template-columns: 1fr; }
  .svc-card { padding: 20px; }

  /* Process steps */
  .process-steps { grid-template-columns: 1fr; }

  /* Testimonials */
  .testi-card { padding: 24px 20px; }

  /* Footer */
  .footer-cols { grid-template-columns: 1fr; gap: 32px; }
  .footer-top  { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-bottom { flex-direction: column; gap: 10px; align-items: flex-start; }

  /* Visa / legal / other page */
  .vs-hero { padding: 28px 0 20px; }
  .vs-search-wrap input { font-size: 14px; padding: 14px 16px 14px 46px; }
  .vs-grid { grid-template-columns: 1fr; gap: 12px; }
  .vs-card { padding: 16px; }
  .vs-cat-toggle { padding: 16px 0; }
  .vs-cat-name { font-size: 16px; }

  /* Articles listing */
  .art-grid { grid-template-columns: 1fr; }
  .art-card { padding: 20px; }
  .art-pg { flex-wrap: wrap; justify-content: center; gap: 6px; }

  /* Single article */
  .art-hero-meta { flex-wrap: wrap; gap: 8px; }
  .art-share { flex-wrap: wrap; }
  .art-body h2 { font-size: 20px; }
  .art-body h3 { font-size: 17px; }

  /* AI Chat */
  .chat-header { padding: 12px 16px; }
  .chat-input-wrap { padding: 10px 12px 14px; }
  .chat-input-row  { gap: 8px; }
  .chat-suggestions { gap: 8px; padding: 0 12px 10px; }
  .chat-msg-bubble { max-width: 88%; font-size: 14px; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ── 480px: small phones ── */
@media (max-width: 480px) {
  :root { --sp: 48px; }
  .wrap { padding: 0 14px; }

  .hero-h { font-size: clamp(24px, 9vw, 34px); }
  .btn    { padding: 10px 18px; font-size: 13px; }
  .btn-p  { padding: 11px 20px; }

  .vs-card  { padding: 14px; }
  .vs-card-title { font-size: 14px; }

  .art-card { padding: 16px; }
  .art-card-title { font-size: 16px; }

  .chat-msg-bubble { max-width: 95%; font-size: 13px; }
  .chat-typing-label { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-inner { animation: none; }
}

/* ═══════════════════════════════════════════════════════════
   MOBILE HAMBURGER + DRAWER — public pages
═══════════════════════════════════════════════════════════ */

/* Hamburger button: hidden on desktop, appears inside .nav-end */
.mob-ham {
  display: none;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; width: 38px; height: 38px;
  background: var(--bg); border: none; border-radius: var(--r-pill);
  box-shadow: var(--neu-sm); cursor: pointer; flex-shrink: 0;
  padding: 0;
}
.mob-ham span {
  display: block; width: 16px; height: 2px;
  background: var(--tx2); border-radius: 2px;
  transition: transform .25s, opacity .2s, width .2s;
  transform-origin: center;
}
/* X state */
.mob-ham.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.mob-ham.open span:nth-child(2) { opacity: 0; width: 0; }
.mob-ham.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 680px) {
  .mob-ham { display: flex; }
}

/* Overlay */
.mob-drawer-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 299;
  background: rgba(0,0,0,.4);
  backdrop-filter: blur(3px);
  opacity: 0; transition: opacity .3s;
}
.mob-drawer-overlay.open { display: block; opacity: 1; }

/* Drawer panel */
.mob-drawer {
  position: fixed; top: 0; right: 0;
  width: min(300px, 82vw); height: 100dvh;
  z-index: 300;
  background: var(--bg);
  box-shadow: -8px 0 32px var(--sh-d), 4px 0 12px var(--sh-l);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
}
.mob-drawer.open { transform: translateX(0); }

/* Drawer header */
.mob-drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--bd);
}
.mob-drawer-logo {
  font-size: 17px; font-weight: 800; color: var(--tx);
  letter-spacing: -.4px;
}
.mob-drawer-logo b { color: var(--ac); }
.mob-drawer-close {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--bg); border: none; cursor: pointer;
  box-shadow: var(--neu-sm); color: var(--tx2);
  font-size: 16px; display: flex; align-items: center; justify-content: center;
  transition: box-shadow .2s;
}
.mob-drawer-close:active { box-shadow: var(--neu-in-sm); }

/* Nav links */
.mob-drawer-links {
  flex: 1; display: flex; flex-direction: column;
  padding: 16px 14px; gap: 2px;
}
.mob-drawer-link {
  display: block; padding: 12px 14px;
  border-radius: 12px; text-decoration: none;
  font-size: 14px; font-weight: 500; color: var(--tx2);
  transition: background .15s, color .15s, box-shadow .2s;
}
.mob-drawer-link:hover { color: var(--ac); box-shadow: var(--neu-in-sm); }
.mob-drawer-link.active {
  color: var(--ac); font-weight: 600;
  box-shadow: var(--neu-in-sm);
}

/* CTA at bottom */
.mob-drawer-cta {
  padding: 16px 20px 28px;
  border-top: 1px solid var(--bd);
}
.mob-drawer-cta .btn { width: 100%; justify-content: center; }
