/* ============================================================
   هادی جلالی‌لک — کارگزار رسمی گمرک
   Design tokens, base styles, RTL setup
   ============================================================ */

:root {
  /* ============================================================
     Brand palette (mandatory):
       #1e56c3  primary blue  (CTA / interactive accent)
       #ecdcf4  soft lilac    (calm surfaces / accent areas)
       #f3ecde  warm cream    (page background tone)
       #272932  dark slate    (text, dark surfaces, header on dark)
     Variables below remap legacy navy/gold tokens onto the new
     palette so the entire stylesheet shifts to brand without
     rewriting every rule.
     ============================================================ */

  /* — Dark / "navy" surfaces — */
  --navy-900: #272932;
  --navy-800: #2E303B;
  --navy-700: #3A3D4A;
  --navy-600: #4A4E5C;

  /* — "Petrol" supportive — */
  --petrol-900:#1A2B45;
  --petrol-700:#243959;
  --petrol-500:#2F4E78;
  --petrol-300:#7A8CAB;

  /* — Primary blue (was gold-500) — */
  --gold-600: #164497;
  --gold-500: #1E56C3;
  --gold-400: #4978D2;
  --gold-300: #93B1E6;
  --gold-50:  #ECDCF4;   /* lilac accent surfaces */

  /* — Aliases for blue (clearer naming for new components) — */
  --blue-700: #164497;
  --blue-600: #1A4DB0;
  --blue-500: #1E56C3;
  --blue-400: #4978D2;
  --blue-100: #DBE5F7;
  --blue-300: #93B1E6;
  --lilac-100:#ECDCF4;
  --lilac-50: #F5ECFA;

  /* — Success green (kept for goods-permitted) — */
  --green-700:#1F5E45;
  --green-500:#2E7D5B;
  --green-300:#A6D4BC;
  --green-50: #E8F2EC;
  --teal-700: #234357;
  --teal-500: #3A5F7A;

  /* — Backgrounds & lines — */
  --cream-50: #FAF6EC;
  --cream-100:#F3ECDE;
  --cream-200:#E8DFC9;
  --line:     #D8CDB5;
  --line-soft:#E5DCC4;
  --ink-900:  #14181F;
  --ink-700:  #2F3744;
  --ink-500:  #5A6373;
  --ink-400:  #818A99;
  --ink-300:  #AAB1BC;
  --white:    #FFFFFF;

  /* Type scale */
  --fs-xs:   13px;
  --fs-sm:   14px;
  --fs-base: 16px;
  --fs-md:   18px;
  --fs-lg:   20px;
  --fs-xl:   24px;
  --fs-2xl:  30px;
  --fs-3xl:  38px;
  --fs-4xl:  48px;
  --fs-5xl:  62px;
  --fs-6xl:  72px;

  /* Spacing */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;
  --sp-10:128px;

  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 18px;

  --shadow-sm: 0 1px 2px rgba(11,31,58,0.04), 0 1px 1px rgba(11,31,58,0.03);
  --shadow:    0 4px 14px rgba(11,31,58,0.06), 0 2px 4px rgba(11,31,58,0.04);
  --shadow-lg: 0 18px 40px rgba(11,31,58,0.10), 0 4px 12px rgba(11,31,58,0.05);

  --container: 1240px;
  --container-narrow: 980px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Vazirmatn', 'IRANSans', system-ui, sans-serif;
  font-size: var(--fs-base);
  line-height: 1.8;
  color: var(--ink-900);
  background: var(--cream-50);
  direction: rtl;
  text-align: right;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "ss02", "ss03";
}

body {
  font-weight: 400;
  font-feature-settings: "ss01", "ss02";
}

h1, h2, h3, h4, h5 {
  font-family: 'Vazirmatn', sans-serif;
  font-weight: 800;
  color: var(--navy-900);
  margin: 0 0 var(--sp-4) 0;
  letter-spacing: -0.018em;
  line-height: 1.28;
  text-wrap: balance;
}
h1 { font-weight: 800; }
h2 { font-weight: 800; }
h3 { font-weight: 700; }
h4 { font-weight: 700; }
h5 { font-weight: 600; }

p {
  margin: 0 0 var(--sp-4) 0;
  color: var(--ink-700);
  text-wrap: pretty;
}

a {
  color: var(--navy-800);
  text-decoration: none;
  transition: color .2s ease;
}
a:hover { color: var(--gold-500); }

button { font-family: inherit; cursor: pointer; }

/* ----- Layout primitives ----- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}
.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

section { padding: var(--sp-9) 0; }
@media (max-width: 768px) {
  section { padding: var(--sp-8) 0; }
}

/* ----- Eyebrow / section headings ----- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--gold-500);
  letter-spacing: 0.04em;
  margin-bottom: var(--sp-4);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold-400);
}

.section-head {
  margin-bottom: var(--sp-8);
  max-width: 760px;
}
.section-head h2 {
  font-size: var(--fs-3xl);
  margin-bottom: var(--sp-4);
}
.section-head p {
  font-size: var(--fs-md);
  color: var(--ink-500);
  line-height: 1.9;
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 14px 26px;
  font-size: var(--fs-base);
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: all .25s ease;
  white-space: nowrap;
  line-height: 1;
}
.btn-primary {
  background: var(--navy-800);
  color: var(--white);
  border-color: var(--navy-800);
}
.btn-primary:hover {
  background: var(--navy-900);
  color: var(--gold-300);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.btn-gold {
  background: var(--blue-500);
  color: #FFFFFF;
  border-color: var(--blue-500);
}
.btn-gold:hover {
  background: var(--blue-600);
  color: #FFFFFF;
  border-color: var(--blue-600);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.btn-ghost {
  background: transparent;
  color: var(--navy-800);
  border-color: var(--line);
}
.btn-ghost:hover {
  background: var(--white);
  border-color: var(--navy-800);
  color: var(--navy-900);
}
.btn-ghost-light {
  background: transparent;
  color: var(--cream-50);
  border-color: rgba(255,255,255,0.22);
}
.btn-ghost-light:hover {
  background: rgba(255,255,255,0.08);
  color: var(--gold-300);
  border-color: var(--gold-400);
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--navy-800);
  font-weight: 600;
  font-size: var(--fs-sm);
}
.btn-link::after {
  content: "←";
  transition: transform .2s ease;
}
.btn-link:hover { color: var(--gold-500); }
.btn-link:hover::after { transform: translateX(-3px); }

/* ----- Header ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250,248,244,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  padding: var(--sp-4) 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.brand-mark {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy-800);
  display: grid;
  place-items: center;
  color: var(--gold-400);
  font-weight: 700;
  font-size: 18px;
  border: 1px solid var(--navy-700);
  position: relative;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid var(--gold-400);
  border-radius: 50%;
  opacity: 0.45;
}
.brand-text { line-height: 1.2; }
.brand-name {
  font-weight: 700;
  font-size: var(--fs-md);
  color: var(--navy-900);
  display: block;
}
.brand-sub {
  font-size: var(--fs-xs);
  color: var(--ink-500);
  display: block;
  margin-top: 2px;
}

.nav-main {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}
.nav-main a {
  font-size: var(--fs-sm);
  color: var(--ink-700);
  font-weight: 500;
  position: relative;
  padding: 6px 0;
}
.nav-main a:hover { color: var(--navy-900); }
.nav-main a.active {
  color: var(--navy-900);
}
.nav-main a.active::after {
  content: "";
  position: absolute;
  bottom: -2px; right: 0; left: 0;
  height: 2px;
  background: var(--gold-500);
  border-radius: 2px;
}

/* Nav dropdown (articles) */
.nav-has-sub { position: relative; display: inline-flex; align-items: center; }
.nav-sub {
  position: absolute;
  top: calc(100% + 10px);
  inset-inline-end: 0;
  min-width: 320px;
  max-height: 70vh;
  overflow-y: auto;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  z-index: 60;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.nav-has-sub:hover .nav-sub,
.nav-has-sub:focus-within .nav-sub,
.nav-sub.open { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-sub a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  color: var(--ink-700);
  line-height: 1.6;
  border-bottom: 1px solid var(--line-soft);
}
.nav-sub a:last-child { border-bottom: none; }
.nav-sub a::before {
  content: "";
  width: 6px; height: 6px; flex-shrink: 0;
  background: var(--blue-400);
  transform: rotate(45deg);
}
.nav-sub a:hover { background: var(--lilac-50); color: var(--blue-700); }
.nav-sub .nav-sub-head {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-400);
  padding: 6px 12px 8px;
  text-transform: none;
  letter-spacing: 0.02em;
}
@media (max-width: 1024px) {
  .nav-sub { position: static; min-width: 0; box-shadow: none; border: none; padding: 4px 0 4px 16px; max-height: none; opacity: 1; visibility: visible; transform: none; display: none; }
  .nav-main.open .nav-has-sub { flex-direction: column; align-items: stretch; }
  .nav-main.open .nav-sub { display: block; }
  .nav-sub a { padding: 8px 0; }
}

.header-cta { display: flex; align-items: center; gap: var(--sp-3); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  width: 42px; height: 42px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px; height: 2px;
  background: var(--navy-800);
  position: relative;
}
.nav-toggle span::before { content:""; position:absolute; top:-6px; left:0; right:0; }
.nav-toggle span::after  { content:""; position:absolute; top: 6px; left:0; right:0; }

@media (max-width: 1024px) {
  .nav-main { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-cta .btn { display: none; }
  .nav-main.open {
    display: flex;
    position: absolute;
    inset: 100% 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--cream-50);
    border-bottom: 1px solid var(--line-soft);
    padding: var(--sp-4) var(--sp-6);
    gap: var(--sp-3);
  }
  .nav-main.open a { padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
  .nav-main.open a:last-child { border-bottom: none; }
}

/* ----- Hero ----- */
.hero {
  position: relative;
  padding: var(--sp-9) 0 var(--sp-10);
  background: linear-gradient(180deg, var(--cream-50) 0%, var(--cream-100) 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 38%;
  background: radial-gradient(circle at 30% 50%, rgba(181,138,75,0.06), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--sp-8);
  align-items: center;
  position: relative;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: var(--fs-sm);
  color: var(--ink-700);
  font-weight: 500;
  margin-bottom: var(--sp-5);
}
.hero-tag .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal-500);
  box-shadow: 0 0 0 4px rgba(42,116,121,0.18);
}
.hero h1 {
  font-size: 46px;
  line-height: 1.25;
  margin-bottom: var(--sp-5);
  letter-spacing: -0.018em;
  font-weight: 800;
  max-width: 600px;
}
.hero h1 .accent {
  color: var(--gold-500);
  font-style: normal;
  position: relative;
}
.hero-sub {
  font-size: var(--fs-md);
  color: var(--ink-500);
  line-height: 1.95;
  max-width: 540px;
  margin-bottom: var(--sp-6);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-bottom: var(--sp-7);
}
.hero-trust {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-4);
  max-width: 560px;
}
.trust-item {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
}
.trust-item .check {
  flex: 0 0 28px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--gold-50);
  border: 1px solid var(--gold-300);
  display: grid;
  place-items: center;
  color: var(--gold-500);
  font-weight: 700;
}
.trust-item .check svg { width: 14px; height: 14px; }
.trust-item span {
  font-size: var(--fs-sm);
  color: var(--ink-700);
  font-weight: 500;
  line-height: 1.6;
}

/* Hero visual */
.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy-800);
  box-shadow: var(--shadow-lg);
}
.hero-visual .placeholder-img {
  position: absolute;
  inset: 0;
}
.hero-visual .stamp {
  position: absolute;
  bottom: var(--sp-5);
  left: var(--sp-5);
  background: var(--cream-50);
  border: 1px solid var(--gold-400);
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--radius);
  max-width: 60%;
  box-shadow: var(--shadow-lg);
}
.hero-visual .stamp .stamp-title {
  font-size: var(--fs-sm);
  color: var(--gold-500);
  font-weight: 600;
  margin-bottom: 4px;
}
.hero-visual .stamp .stamp-body {
  font-size: var(--fs-base);
  color: var(--navy-900);
  font-weight: 600;
  line-height: 1.5;
}
.hero-visual .stamp .stamp-meta {
  font-size: 11px;
  color: var(--ink-500);
  margin-top: 6px;
  font-variant-numeric: tabular-nums;
}

.hero-side-card {
  position: absolute;
  top: var(--sp-5);
  right: var(--sp-5);
  background: rgba(8,23,44,0.86);
  backdrop-filter: blur(6px);
  color: var(--cream-50);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-xs);
}
.hero-side-card .led {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold-400);
  box-shadow: 0 0 0 3px rgba(201,163,106,0.25);
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--sp-7); }
  .hero h1 { font-size: 36px; }
  .hero-visual { aspect-ratio: 1 / 1; }
}
@media (max-width: 540px) {
  .hero h1 { font-size: 30px; }
  .hero-sub { font-size: var(--fs-base); }
  .hero-trust { grid-template-columns: 1fr; }
}

/* ----- Placeholder image (striped) ----- */
.placeholder-img {
  position: relative;
  width: 100%; height: 100%;
  background:
    repeating-linear-gradient(135deg,
      rgba(255,255,255,0.045) 0 12px,
      rgba(255,255,255,0)   12px 24px),
    linear-gradient(180deg, var(--navy-700) 0%, var(--navy-900) 100%);
  display: grid;
  place-items: center;
}
.placeholder-img.cream {
  background:
    repeating-linear-gradient(135deg,
      rgba(11,31,58,0.04) 0 10px,
      rgba(11,31,58,0)   10px 20px),
    linear-gradient(180deg, var(--cream-100) 0%, var(--cream-200) 100%);
}
.placeholder-img.gold {
  background:
    repeating-linear-gradient(135deg,
      rgba(11,31,58,0.04) 0 10px,
      rgba(11,31,58,0)   10px 20px),
    linear-gradient(180deg, var(--gold-50) 0%, #ECDBB6 100%);
}
.placeholder-img .ph-label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.55);
  padding: 6px 10px;
  border: 1px dashed rgba(255,255,255,0.25);
  border-radius: 4px;
  text-transform: uppercase;
  font-feature-settings: normal;
  direction: ltr;
}
.placeholder-img.cream .ph-label,
.placeholder-img.gold .ph-label {
  color: rgba(11,31,58,0.55);
  border-color: rgba(11,31,58,0.22);
}
.placeholder-img .ph-fa {
  position: absolute;
  bottom: 16px; right: 16px;
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}
.placeholder-img.cream .ph-fa,
.placeholder-img.gold .ph-fa { color: rgba(11,31,58,0.5); }

/* ----- Marquee / scroller ----- */
.scroller {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--cream-50);
  padding: var(--sp-5) 0;
  overflow: hidden;
}
.scroller-inner {
  display: flex;
  gap: var(--sp-8);
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
}
.scroller-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-500);
  font-size: var(--fs-sm);
  font-weight: 500;
}
.scroller-item .pip {
  width: 6px; height: 6px;
  background: var(--gold-400);
  transform: rotate(45deg);
}

/* ----- Stats ----- */
.stats {
  background: var(--navy-900);
  color: var(--cream-50);
  padding: var(--sp-8) 0;
  position: relative;
  overflow: hidden;
}
.stats::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 90% 0%, rgba(181,138,75,0.18), transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(42,116,121,0.16), transparent 50%);
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-7);
  position: relative;
}
.stat-item {
  border-right: 1px solid rgba(255,255,255,0.1);
  padding-right: var(--sp-5);
}
.stat-item:first-child { border-right: none; padding-right: 0; }
.stat-num {
  font-size: 52px;
  font-weight: 700;
  color: var(--gold-400);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-2);
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.stat-num .suffix {
  font-size: var(--fs-lg);
  color: var(--gold-300);
  font-weight: 500;
}
.stat-label {
  font-size: var(--fs-sm);
  color: rgba(250,248,244,0.7);
}
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-6); }
  .stat-item { border-right: none; padding-right: 0; }
}

/* ----- Intro / why-broker ----- */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--sp-8);
  align-items: flex-start;
}
.intro-text h2 { font-size: var(--fs-3xl); }
.intro-text p { font-size: var(--fs-md); line-height: 2; color: var(--ink-500); }

.intro-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}
.intro-card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: var(--sp-5);
  transition: all .25s ease;
}
.intro-card:hover {
  border-color: var(--gold-400);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.intro-card .ico {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: var(--cream-100);
  display: grid; place-items: center;
  color: var(--navy-800);
  margin-bottom: var(--sp-4);
}
.intro-card .ico svg { width: 22px; height: 22px; }
.intro-card h4 {
  font-size: var(--fs-md);
  margin-bottom: var(--sp-2);
}
.intro-card p {
  font-size: var(--fs-sm);
  color: var(--ink-500);
  margin: 0;
  line-height: 1.8;
}
@media (max-width: 900px) {
  .intro-grid { grid-template-columns: 1fr; }
  .intro-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .intro-cards { grid-template-columns: 1fr; }
}

/* ----- Services ----- */
.services-section { background: var(--white); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}
.service-card {
  background: var(--cream-50);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: var(--sp-6);
  position: relative;
  transition: all .3s ease;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  background: var(--white);
  border-color: var(--navy-800);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.service-card .num {
  position: absolute;
  top: var(--sp-5);
  left: var(--sp-5);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--ink-400);
  font-weight: 500;
}
.service-card .ico {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  background: var(--navy-800);
  color: var(--gold-400);
  display: grid; place-items: center;
  margin-bottom: var(--sp-5);
  position: relative;
}
.service-card .ico svg { width: 26px; height: 26px; }
.service-card .ico::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid var(--gold-300);
  border-radius: 10px;
  opacity: 0;
  transition: opacity .3s ease;
}
.service-card:hover .ico::after { opacity: 1; }
.service-card h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-3);
}
.service-card p {
  font-size: var(--fs-sm);
  color: var(--ink-500);
  line-height: 1.85;
  margin-bottom: var(--sp-5);
  flex: 1;
}
.service-card .btn-link { margin-top: auto; }
@media (max-width: 960px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ----- Process ----- */
.process-section {
  background: var(--cream-100);
  position: relative;
}
.process-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--sp-4);
  position: relative;
  margin-top: var(--sp-7);
}
.process-track::before {
  content: "";
  position: absolute;
  top: 30px;
  right: 6%;
  left: 6%;
  height: 1px;
  background: repeating-linear-gradient(to left, var(--gold-400) 0 6px, transparent 6px 12px);
  z-index: 0;
}
.process-step {
  background: var(--cream-50);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: var(--sp-5);
  text-align: center;
  position: relative;
  z-index: 1;
  transition: all .25s ease;
}
.process-step:hover {
  background: var(--white);
  border-color: var(--gold-400);
  transform: translateY(-4px);
}
.process-step .step-circle {
  width: 60px; height: 60px;
  margin: 0 auto var(--sp-4);
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--gold-400);
  display: grid;
  place-items: center;
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--gold-500);
  font-variant-numeric: tabular-nums;
  position: relative;
}
.process-step .step-circle::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px dashed var(--gold-300);
  opacity: 0.7;
}
.process-step h4 {
  font-size: var(--fs-base);
  margin-bottom: var(--sp-2);
  color: var(--navy-900);
}
.process-step p {
  font-size: var(--fs-xs);
  color: var(--ink-500);
  line-height: 1.7;
  margin: 0;
}
@media (max-width: 900px) {
  .process-track { grid-template-columns: repeat(2, 1fr); }
  .process-track::before { display: none; }
}
@media (max-width: 480px) {
  .process-track { grid-template-columns: 1fr; }
}

/* ----- Profile / Resume ----- */
.profile-section { background: var(--navy-900); color: var(--cream-50); position: relative; overflow: hidden; }
.profile-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 100% 0%, rgba(181,138,75,0.12), transparent 50%);
  pointer-events: none;
}
.profile-section h2 { color: var(--cream-50); }
.profile-section .eyebrow { color: var(--gold-400); }
.profile-section .eyebrow::before { background: var(--gold-400); }
.profile-section .section-head p { color: rgba(250,248,244,0.7); }

.profile-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: var(--sp-8);
  position: relative;
}
.profile-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(255,255,255,0.1);
}
.profile-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--cream-50);
  color: var(--ink-900);
  padding: var(--sp-4);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gold-400);
  min-width: 180px;
}
.profile-card .pc-label {
  font-size: 11px;
  color: var(--gold-500);
  font-weight: 600;
  margin-bottom: 2px;
}
.profile-card .pc-value {
  font-size: var(--fs-base);
  color: var(--navy-900);
  font-weight: 700;
}

.profile-body { padding-right: var(--sp-2); }
.profile-name {
  font-size: var(--fs-3xl);
  color: var(--white);
  margin-bottom: var(--sp-2);
}
.profile-role {
  color: var(--gold-400);
  font-size: var(--fs-md);
  margin-bottom: var(--sp-5);
  font-weight: 500;
}
.profile-bio {
  color: rgba(250,248,244,0.78);
  font-size: var(--fs-base);
  line-height: 2;
  margin-bottom: var(--sp-6);
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  border-right: 1px solid rgba(255,255,255,0.14);
  padding-right: var(--sp-5);
  margin-bottom: var(--sp-6);
}
.timeline-item { position: relative; }
.timeline-item::before {
  content: "";
  position: absolute;
  right: calc(var(--sp-5) * -1 - 4.5px);
  top: 8px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--gold-400);
  box-shadow: 0 0 0 4px var(--navy-900), 0 0 0 5px var(--gold-400);
}
.timeline-item .tl-year {
  font-size: var(--fs-xs);
  color: var(--gold-300);
  font-weight: 600;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  display: block;
  margin-bottom: 2px;
}
.timeline-item .tl-title {
  font-size: var(--fs-md);
  color: var(--cream-50);
  font-weight: 600;
  margin-bottom: 2px;
}
.timeline-item .tl-desc {
  font-size: var(--fs-sm);
  color: rgba(250,248,244,0.65);
  margin: 0;
}

.licenses {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
}
.license-pill {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 10px;
}
.license-pill .lp-ico {
  color: var(--gold-400);
  width: 18px; height: 18px;
  flex-shrink: 0;
}
.license-pill .lp-text {
  font-size: var(--fs-xs);
  color: var(--cream-100);
  font-weight: 500;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .profile-grid { grid-template-columns: 1fr; }
  .profile-photo { max-width: 320px; }
  .licenses { grid-template-columns: 1fr; }
}

/* ----- Advantages ----- */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}
.advantage {
  padding: var(--sp-6);
  border-left: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  transition: background .25s ease;
}
.advantage:hover { background: var(--cream-50); }
.advantage:nth-child(4n) { border-left: none; }
.advantage:nth-child(n+5) { /* last row */ }
.advantage .adv-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--gold-500);
  font-weight: 600;
  margin-bottom: var(--sp-3);
  display: block;
}
.advantage h4 {
  font-size: var(--fs-base);
  margin-bottom: var(--sp-2);
  color: var(--navy-900);
}
.advantage p {
  font-size: var(--fs-sm);
  color: var(--ink-500);
  margin: 0;
  line-height: 1.8;
}
@media (max-width: 900px) {
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .advantage:nth-child(4n) { border-left: 1px solid var(--line-soft); }
  .advantage:nth-child(2n) { border-left: none; }
}
@media (max-width: 540px) {
  .advantages-grid { grid-template-columns: 1fr; }
  .advantage { border-left: none !important; }
}

/* ----- Articles ----- */
.articles-section { background: var(--cream-100); }
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}
.article-card {
  background: var(--cream-50);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all .3s ease;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-400);
}
.article-cover {
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
}
.article-cover .placeholder-img { position: absolute; inset: 0; }
.article-cat {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--cream-50);
  color: var(--navy-900);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid var(--line);
  z-index: 1;
}
.article-body { padding: var(--sp-5); display: flex; flex-direction: column; flex: 1; }
.article-body h3 {
  font-size: var(--fs-md);
  line-height: 1.5;
  margin-bottom: var(--sp-3);
}
.article-body h3 a { color: var(--navy-900); }
.article-body h3 a:hover { color: var(--gold-500); }
.article-body p {
  font-size: var(--fs-sm);
  color: var(--ink-500);
  line-height: 1.8;
  margin-bottom: var(--sp-4);
}
.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  font-size: var(--fs-xs);
  color: var(--ink-400);
  font-variant-numeric: tabular-nums;
}
@media (max-width: 900px) {
  .articles-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .articles-grid { grid-template-columns: 1fr; }
}

/* ----- Form ----- */
.form-section { background: var(--white); }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--sp-8);
  align-items: flex-start;
}
.form-card {
  background: var(--cream-50);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: var(--sp-7);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
  margin-bottom: var(--sp-4);
}
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--navy-900);
}
.form-field label .opt { color: var(--ink-400); font-weight: 400; font-size: 11px; margin-right: 4px; }
.form-field input,
.form-field select,
.form-field textarea {
  font-family: inherit;
  font-size: var(--fs-base);
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink-900);
  width: 100%;
  transition: all .2s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--navy-800);
  box-shadow: 0 0 0 3px rgba(11,31,58,0.08);
}
.form-field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6' fill='none'><path d='M1 1l4 4 4-4' stroke='%235A6373' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/></svg>"); background-repeat: no-repeat; background-position: left 14px center; background-size: 10px 6px; padding-left: 36px; cursor: pointer; }
.form-field select:focus { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6' fill='none'><path d='M1 1l4 4 4-4' stroke='%230B1F3A' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/></svg>"); }
.form-field textarea { min-height: 120px; resize: vertical; line-height: 1.7; }
.form-field .file-drop {
  border: 1.5px dashed var(--line);
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: var(--sp-5);
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--ink-500);
  cursor: pointer;
  transition: all .2s ease;
}
.form-field .file-drop:hover {
  border-color: var(--gold-400);
  background: var(--gold-50);
  color: var(--navy-900);
}
.form-field .file-drop strong { color: var(--navy-900); font-weight: 600; }

.form-field .file-drop-info {
  cursor: default;
  font-size: 0;
}
.form-field .file-drop-info > strong:not([data-i18n]),
.form-field .file-drop-info > span[style] {
  display: none;
}
.form-field .file-drop-info:hover {
  border-color: var(--line);
  background: var(--white);
}
.form-field .file-drop-info strong[data-i18n],
.form-field .file-drop-info [data-i18n],
.form-field .file-drop-info .en-help {
  display: inline;
  font-size: var(--fs-sm);
  line-height: 1.8;
}
.form-field .file-drop-info strong[data-i18n] {
  display: inline-block;
  margin-bottom: 4px;
}
.form-field .file-drop-info .en-help {
  color: var(--ink-500);
}

.section-note {
  margin: calc(var(--sp-3) * -1) 0 var(--sp-5);
  color: var(--ink-500);
  font-size: var(--fs-xs);
  line-height: 1.8;
  text-align: center;
}

.form-submit-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-4);
  margin-top: var(--sp-5);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--line-soft);
  flex-wrap: wrap;
}
.form-submit-row .note {
  font-size: var(--fs-xs);
  color: var(--ink-500);
}

.form-aside {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.privacy-card {
  background: var(--navy-900);
  color: var(--cream-50);
  padding: var(--sp-6);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.privacy-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 100%, rgba(181,138,75,0.2), transparent 60%);
}
.privacy-card .pc-head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: var(--sp-4);
  position: relative;
}
.privacy-card .pc-head .lock {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  display: grid; place-items: center;
  color: var(--gold-400);
}
.privacy-card h4 {
  color: var(--cream-50);
  font-size: var(--fs-base);
  margin: 0;
}
.privacy-card p {
  font-size: var(--fs-sm);
  color: rgba(250,248,244,0.7);
  line-height: 1.85;
  margin: 0;
  position: relative;
}

.contact-card {
  background: var(--cream-50);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: var(--sp-5);
}
.contact-card h4 { font-size: var(--fs-base); margin-bottom: var(--sp-4); }
.contact-row {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: var(--fs-sm);
}
.contact-row:last-child { border-bottom: none; }
.contact-row .cr-ico {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--navy-800);
  flex-shrink: 0;
}
.contact-row .cr-ico svg { width: 16px; height: 16px; }
.contact-row .cr-label {
  font-size: 11px;
  color: var(--ink-400);
  display: block;
}
.contact-row .cr-value {
  font-weight: 600;
  color: var(--navy-900);
  font-variant-numeric: tabular-nums;
  direction: ltr;
  text-align: right;
  unicode-bidi: plaintext;
}

@media (max-width: 900px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ----- FAQ ----- */
.faq-section { background: var(--cream-50); }
.faq-list {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .25s ease;
}
.faq-item[open] {
  border-color: var(--gold-400);
  box-shadow: var(--shadow);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: var(--sp-5) var(--sp-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  font-weight: 600;
  font-size: var(--fs-md);
  color: var(--navy-900);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .faq-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--gold-400);
  display: grid; place-items: center;
  color: var(--gold-500);
  flex-shrink: 0;
  transition: all .3s ease;
}
.faq-item[open] .faq-icon {
  background: var(--gold-500);
  color: var(--white);
  transform: rotate(45deg);
}
.faq-item .faq-icon::before { content: "+"; font-size: 18px; line-height: 1; }
.faq-item .faq-body {
  padding: 0 var(--sp-6) var(--sp-5);
  color: var(--ink-500);
  font-size: var(--fs-base);
  line-height: 1.9;
}

/* ----- CTA banner ----- */
.cta-banner {
  background: var(--navy-900);
  color: var(--cream-50);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 100% 0%, rgba(181,138,75,0.18), transparent 60%),
    radial-gradient(ellipse 40% 80% at 0% 100%, rgba(42,116,121,0.18), transparent 60%);
  pointer-events: none;
}
.cta-banner-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--sp-7);
  align-items: center;
  padding: var(--sp-9) 0;
  position: relative;
}
.cta-banner h2 {
  color: var(--white);
  font-size: var(--fs-3xl);
  margin-bottom: var(--sp-4);
}
.cta-banner p {
  color: rgba(250,248,244,0.75);
  font-size: var(--fs-md);
  line-height: 1.9;
  margin-bottom: 0;
}
.cta-banner-actions {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  align-items: stretch;
}
.cta-banner-actions .btn { padding: 16px 24px; font-size: var(--fs-md); }
@media (max-width: 900px) {
  .cta-banner-inner { grid-template-columns: 1fr; padding: var(--sp-8) 0; }
}

/* ----- Footer ----- */
.site-footer {
  background: var(--navy-900);
  color: rgba(250,248,244,0.7);
  padding: var(--sp-8) 0 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--sp-7);
  padding-bottom: var(--sp-7);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .brand-name { color: var(--cream-50); }
.footer-brand .brand-sub { color: var(--gold-400); }
.footer-about {
  margin-top: var(--sp-5);
  font-size: var(--fs-sm);
  line-height: 1.9;
  color: rgba(250,248,244,0.65);
}
.footer-col h5 {
  color: var(--cream-50);
  font-size: var(--fs-sm);
  text-transform: none;
  letter-spacing: 0.02em;
  margin-bottom: var(--sp-4);
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  color: rgba(250,248,244,0.7);
  font-size: var(--fs-sm);
}
.footer-col a:hover { color: var(--gold-400); }
.footer-col .contact-line {
  font-size: var(--fs-sm);
  color: rgba(250,248,244,0.7);
  line-height: 1.7;
}
.footer-col .contact-line strong { display: block; color: var(--cream-50); font-weight: 600; margin-bottom: 2px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; }
.footer-col .contact-line.num { font-variant-numeric: tabular-nums; direction: ltr; text-align: right; unicode-bidi: plaintext; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--sp-5) 0;
  font-size: var(--fs-xs);
  color: rgba(250,248,244,0.5);
  flex-wrap: wrap;
  gap: var(--sp-3);
}
.footer-bottom .social {
  display: flex;
  gap: var(--sp-2);
}
.footer-bottom .social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  display: grid; place-items: center;
  color: rgba(250,248,244,0.7);
  transition: all .2s ease;
}
.footer-bottom .social a:hover {
  background: var(--gold-500);
  color: var(--navy-900);
  border-color: var(--gold-500);
}
.footer-bottom .social a svg { width: 16px; height: 16px; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column-reverse; text-align: center; }
}

/* ----- Floating contact (mobile) ----- */
.floating-contact {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fc-btn {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--gold-400);
  border: 1px solid var(--navy-700);
  display: grid; place-items: center;
  box-shadow: var(--shadow-lg);
  transition: all .25s ease;
}
.fc-btn:hover { transform: scale(1.08); background: var(--navy-900); }
.fc-btn.whatsapp { background: var(--teal-700); color: var(--cream-50); border-color: var(--teal-500); }
.fc-btn.whatsapp:hover { background: var(--teal-500); }
.fc-btn svg { width: 22px; height: 22px; }

/* ----- Reveal animation ----- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ----- Misc ----- */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.divider-dots {
  display: flex; gap: 6px;
  margin: var(--sp-6) 0;
}
.divider-dots span { width: 4px; height: 4px; background: var(--gold-400); border-radius: 50%; }

/* ============================================================
   v2 UPGRADES — Hero illustration, badges, new sections
   ============================================================ */

/* ----- Hero illustration replacement ----- */
.hero-illustration {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(ellipse at 30% 80%, rgba(181,138,75,0.18), transparent 55%),
    linear-gradient(180deg, var(--navy-700) 0%, var(--navy-900) 100%);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255,255,255,0.04);
}
.hero-illustration svg.scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.hero-illustration .ph-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: rgba(255,255,255,0.55);
  padding: 5px 9px;
  border: 1px dashed rgba(255,255,255,0.22);
  border-radius: 4px;
  letter-spacing: 0.04em;
  direction: ltr;
  z-index: 3;
}
.hero-illustration .badge-stamp {
  position: absolute;
  bottom: var(--sp-5);
  left: var(--sp-5);
  background: var(--cream-50);
  border: 1px solid var(--gold-400);
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--radius);
  max-width: 64%;
  box-shadow: var(--shadow-lg);
  z-index: 3;
}
.hero-illustration .badge-stamp .bs-title {
  font-size: 11px;
  color: var(--gold-600);
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.hero-illustration .badge-stamp .bs-body {
  font-size: var(--fs-base);
  color: var(--navy-900);
  font-weight: 700;
  line-height: 1.5;
}
.hero-illustration .badge-stamp .bs-meta {
  font-size: 11px;
  color: var(--ink-500);
  margin-top: 6px;
  font-variant-numeric: tabular-nums;
}
.hero-illustration .corner-card {
  position: absolute;
  top: var(--sp-5);
  left: var(--sp-5);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.14);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cream-50);
  font-size: var(--fs-xs);
  z-index: 3;
}
.hero-illustration .corner-card .led {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green-300);
  box-shadow: 0 0 0 4px rgba(166,212,188,0.18);
}

/* Hero rank badge floating beside text */
.rank-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: var(--navy-900);
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  font-size: var(--fs-sm);
  font-weight: 700;
  margin-bottom: var(--sp-4);
  box-shadow: 0 4px 12px rgba(154,115,56,0.25);
}
.rank-badge .rb-medal {
  width: 26px; height: 26px;
  background: var(--navy-900);
  color: var(--gold-400);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 13px;
  border: 1px solid var(--gold-400);
}

/* ----- H.S Code feature section ----- */
.hscode-section {
  background:
    linear-gradient(180deg, var(--cream-50) 0%, var(--cream-100) 100%);
  position: relative;
  overflow: hidden;
}
.hscode-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--sp-8);
  align-items: flex-start;
}
.hscode-text h2 { font-size: var(--fs-3xl); }
.hscode-text p  { font-size: var(--fs-md); line-height: 2; color: var(--ink-700); }
.hscode-stamp {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--gold-400);
  border-radius: var(--radius);
  padding: var(--sp-3) var(--sp-4);
  margin-top: var(--sp-5);
  box-shadow: var(--shadow-sm);
}
.hscode-stamp .code {
  font-family: 'JetBrains Mono', monospace;
  background: var(--navy-900);
  color: var(--gold-400);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 14px;
  letter-spacing: 0.04em;
  font-weight: 600;
  direction: ltr;
}
.hscode-stamp .code-label {
  font-size: var(--fs-sm);
  color: var(--ink-700);
  font-weight: 500;
}

.hscode-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3);
}
.hsc-card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: var(--sp-4);
  transition: all .25s ease;
}
.hsc-card:hover {
  border-color: var(--petrol-500);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.hsc-card .hsc-ico {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: var(--petrol-700);
  color: var(--gold-300);
  display: grid; place-items: center;
  margin-bottom: var(--sp-3);
}
.hsc-card .hsc-ico svg { width: 20px; height: 20px; }
.hsc-card h4 { font-size: var(--fs-sm); margin-bottom: 4px; color: var(--navy-900); }
.hsc-card p  { font-size: var(--fs-xs); color: var(--ink-500); margin: 0; line-height: 1.7; }

@media (max-width: 900px) {
  .hscode-grid { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .hscode-cards { grid-template-columns: 1fr; }
}

/* ----- Procedures grid ----- */
.procedures-section { background: var(--white); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.procedures-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
}
.proc-card {
  padding: var(--sp-5);
  border-left: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--cream-50);
  transition: all .25s ease;
}
.proc-card:hover {
  background: var(--white);
  transform: translateY(-2px);
}
.proc-card:nth-child(4n) { border-left: none; }
.proc-card:nth-last-child(-n+4) { border-bottom: none; }
.proc-card .proc-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--petrol-500);
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: var(--sp-2);
  display: block;
}
.proc-card h4 {
  font-size: var(--fs-base);
  margin-bottom: var(--sp-2);
  color: var(--navy-900);
  display: flex;
  align-items: center;
  gap: 8px;
}
.proc-card h4::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--gold-400);
  transform: rotate(45deg);
}
.proc-card p {
  font-size: var(--fs-sm);
  color: var(--ink-500);
  margin: 0;
  line-height: 1.7;
}
@media (max-width: 980px) {
  .procedures-grid { grid-template-columns: repeat(2, 1fr); }
  .proc-card:nth-child(4n) { border-left: 1px solid var(--line-soft); }
  .proc-card:nth-child(2n) { border-left: none; }
  .proc-card:nth-last-child(-n+4) { border-bottom: 1px solid var(--line-soft); }
  .proc-card:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 540px) {
  .procedures-grid { grid-template-columns: 1fr; }
  .proc-card { border-left: none !important; }
  .proc-card:not(:last-child) { border-bottom: 1px solid var(--line-soft); }
}

/* ----- Documents section ----- */
.documents-section { background: var(--cream-100); }
.docs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
}
.doc-card {
  background: var(--cream-50);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .25s ease;
}
.doc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--gold-400);
}
.doc-preview {
  aspect-ratio: 4 / 5;
  background: var(--cream-200);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.doc-preview svg.doc-sample {
  width: 70%;
  height: auto;
  display: block;
}
.doc-card .doc-body {
  padding: var(--sp-4);
}
.doc-card h4 {
  font-size: var(--fs-sm);
  margin-bottom: 2px;
  color: var(--navy-900);
}
.doc-card .doc-en {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--gold-600);
  display: block;
  direction: ltr;
  text-align: right;
  margin-bottom: var(--sp-2);
  letter-spacing: 0.02em;
}
.doc-card p {
  font-size: var(--fs-xs);
  color: var(--ink-500);
  margin: 0;
  line-height: 1.65;
}
@media (max-width: 1024px) { .docs-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .docs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px)  { .docs-grid { grid-template-columns: 1fr; } }

/* ----- Goods classification ----- */
.goods-section { background: var(--white); }
.goods-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}
.goods-card {
  border-radius: var(--radius);
  padding: var(--sp-6);
  border: 1px solid var(--line-soft);
  position: relative;
  transition: all .25s ease;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.goods-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.goods-card.permitted {
  background: linear-gradient(180deg, var(--green-50) 0%, var(--cream-50) 100%);
  border-color: var(--green-300);
}
.goods-card.conditional {
  background: linear-gradient(180deg, var(--gold-50) 0%, var(--cream-50) 100%);
  border-color: var(--gold-400);
}
.goods-card.prohibited {
  background: linear-gradient(180deg, #FBEEEE 0%, var(--cream-50) 100%);
  border-color: #D4A0A0;
}
.goods-card .gc-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: var(--fs-xs);
  font-weight: 700;
  background: var(--white);
  border: 1px solid;
}
.goods-card.permitted .gc-tag { color: var(--green-700); border-color: var(--green-300); }
.goods-card.conditional .gc-tag { color: var(--gold-600); border-color: var(--gold-400); }
.goods-card.prohibited .gc-tag { color: #883737; border-color: #D4A0A0; }
.goods-card .gc-tag .dot { width: 8px; height: 8px; border-radius: 50%; }
.goods-card.permitted .gc-tag .dot { background: var(--green-500); }
.goods-card.conditional .gc-tag .dot { background: var(--gold-500); }
.goods-card.prohibited .gc-tag .dot { background: #B85454; }

.goods-card h3 {
  font-size: var(--fs-xl);
  margin: 0;
}
.goods-card p {
  font-size: var(--fs-sm);
  color: var(--ink-700);
  margin: 0;
  line-height: 1.85;
}
.goods-card .gc-examples {
  margin-top: auto;
  padding-top: var(--sp-3);
  border-top: 1px dashed var(--line);
  font-size: var(--fs-xs);
  color: var(--ink-500);
}
.goods-card .gc-examples strong { color: var(--navy-900); display: block; margin-bottom: 4px; font-size: 11px; font-weight: 700; }

.goods-warning {
  margin-top: var(--sp-6);
  background: var(--navy-900);
  color: var(--cream-50);
  border-radius: var(--radius);
  padding: var(--sp-5) var(--sp-6);
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  border-right: 4px solid var(--gold-500);
}
.goods-warning .gw-ico {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(181,138,75,0.18);
  color: var(--gold-400);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.goods-warning .gw-text {
  font-size: var(--fs-sm);
  line-height: 1.85;
  color: rgba(250,248,243,0.85);
}
.goods-warning .gw-text strong { color: var(--gold-300); }

@media (max-width: 900px) { .goods-grid { grid-template-columns: 1fr; } }

/* ----- Useful links / authorities ----- */
.links-section { background: var(--cream-100); }
.links-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--sp-4);
}
.link-card {
  background: var(--cream-50);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  transition: all .25s ease;
}
.link-card:hover {
  background: var(--white);
  border-color: var(--navy-800);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.link-card .lc-ico {
  width: 44px; height: 44px;
  border-radius: 8px;
  background: var(--navy-900);
  color: var(--gold-400);
  display: grid; place-items: center;
}
.link-card .lc-ico svg { width: 22px; height: 22px; }
.link-card h4 {
  font-size: var(--fs-base);
  margin: 0;
  color: var(--navy-900);
}
.link-card .lc-en {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--gold-600);
  letter-spacing: 0.08em;
  display: block;
  direction: ltr;
  text-align: right;
  margin-bottom: 4px;
}
.link-card p {
  font-size: var(--fs-xs);
  color: var(--ink-500);
  margin: 0 0 var(--sp-3);
  line-height: 1.7;
  flex: 1;
}
.link-card .lc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-xs);
  color: var(--navy-800);
  font-weight: 600;
  border-top: 1px solid var(--line-soft);
  padding-top: var(--sp-3);
  margin-top: auto;
}
.link-card .lc-link:hover { color: var(--gold-500); }
.link-card .lc-link svg { width: 12px; height: 12px; }
@media (max-width: 1100px) { .links-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .links-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px)  { .links-grid { grid-template-columns: 1fr; } }

/* ----- Online experts panel ----- */
.experts-section {
  background:
    radial-gradient(ellipse at 0% 100%, rgba(42,116,121,0.16), transparent 55%),
    var(--navy-900);
  color: var(--cream-50);
  position: relative;
  overflow: hidden;
}
.experts-section h2 { color: var(--cream-50); }
.experts-section .eyebrow { color: var(--gold-400); }
.experts-section .eyebrow::before { background: var(--gold-400); }
.experts-section .section-head p { color: rgba(250,248,243,0.72); }

.experts-panel {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--sp-4);
}
.expert-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: var(--sp-5);
  transition: all .25s ease;
}
.expert-card:hover {
  background: rgba(255,255,255,0.05);
  border-color: var(--gold-400);
  transform: translateY(-3px);
}
.expert-head {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}
.expert-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background:
    repeating-linear-gradient(135deg, rgba(11,31,58,0.12) 0 6px, transparent 6px 12px),
    linear-gradient(180deg, var(--gold-50), #E8D6B0);
  color: var(--navy-900);
  display: grid;
  place-items: center;
  font-weight: 700;
  position: relative;
  flex-shrink: 0;
  border: 2px solid var(--gold-400);
}
.expert-avatar .status-dot {
  position: absolute;
  bottom: 2px; right: 2px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--green-500);
  border: 2px solid var(--navy-900);
}
.expert-avatar .av-initial {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--navy-800);
  letter-spacing: 0.04em;
}
.expert-name {
  font-size: var(--fs-base);
  color: var(--cream-50);
  font-weight: 700;
  margin: 0;
}
.expert-role {
  font-size: var(--fs-xs);
  color: var(--gold-300);
  display: block;
  margin-top: 2px;
}
.expert-card .ec-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--green-300);
  margin-bottom: var(--sp-3);
}
.expert-card .ec-status::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--green-500);
  border-radius: 50%;
}
.expert-card p {
  font-size: var(--fs-sm);
  color: rgba(250,248,243,0.72);
  line-height: 1.8;
  margin: 0 0 var(--sp-4);
}
.expert-card .ec-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-sm);
  color: var(--gold-400);
  font-weight: 600;
  padding: 10px 14px;
  border: 1px solid rgba(201,163,106,0.4);
  border-radius: var(--radius-sm);
  transition: all .2s ease;
}
.expert-card .ec-action:hover {
  background: var(--gold-500);
  color: var(--navy-900);
  border-color: var(--gold-500);
}
.expert-card .ec-action svg { width: 14px; height: 14px; }

@media (max-width: 900px) {
  .experts-panel { grid-template-columns: 1fr; }
}

/* ----- Floating chat widget (mobile + desktop bottom-right) ----- */
.chat-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 40;
}
.chat-fab {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--navy-900);
  color: var(--cream-50);
  border: 1px solid var(--navy-700);
  border-radius: 999px;
  padding: 12px 18px 12px 14px;
  font-size: var(--fs-sm);
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: all .25s ease;
}
.chat-fab:hover {
  background: var(--gold-500);
  color: var(--navy-900);
  border-color: var(--gold-500);
}
.chat-fab .cf-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background:
    repeating-linear-gradient(135deg, rgba(11,31,58,0.12) 0 5px, transparent 5px 10px),
    linear-gradient(180deg, var(--gold-50), #E8D6B0);
  border: 1.5px solid var(--gold-400);
  position: relative;
}
.chat-fab .cf-avatar::after {
  content: "";
  position: absolute;
  bottom: 0; right: 0;
  width: 9px; height: 9px;
  background: var(--green-500);
  border-radius: 50%;
  border: 2px solid var(--navy-900);
}
.chat-fab:hover .cf-avatar::after { border-color: var(--gold-500); }
.chat-fab .cf-text {
  display: flex; flex-direction: column; line-height: 1.2;
  text-align: right;
}
.chat-fab .cf-text small {
  font-size: 10px;
  font-weight: 500;
  opacity: 0.7;
  margin-bottom: 2px;
}
@media (max-width: 480px) {
  .chat-widget { bottom: 16px; right: 16px; }
  .chat-fab .cf-text small { display: none; }
}

/* Hide old floating contact since chat-widget replaces it on desktop. Keep secondary FABs on mobile. */
.floating-contact {
  bottom: 20px;
  left: 20px;
  right: auto;
}
@media (min-width: 900px) {
  .floating-contact { display: none; }
}

/* ----- Achievement badges row ----- */
.achievement-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
  margin-bottom: var(--sp-6);
}
.ach-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: var(--sp-4);
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
}
.ach-card .ach-ico {
  width: 40px; height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  color: #FFFFFF;
  display: grid;
  place-items: center;
  font-weight: 800;
}
.ach-card .ach-ico svg { width: 20px; height: 20px; }
.ach-card .ach-body strong {
  display: block;
  color: var(--gold-300);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.ach-card .ach-body span {
  color: var(--cream-50);
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.5;
  display: block;
}
@media (max-width: 900px) { .achievement-strip { grid-template-columns: 1fr; } }

/* Hero rank badge (highlight) */
.profile-rank-badge {
  position: relative;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  color: #FFFFFF;
  padding: var(--sp-5);
  border-radius: var(--radius);
  margin-bottom: var(--sp-5);
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  box-shadow: 0 8px 24px rgba(30,86,195,0.25);
}
.profile-rank-badge .prb-medal {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--navy-900);
  color: #FFFFFF;
  display: grid; place-items: center;
  flex-shrink: 0;
  border: 2px solid var(--lilac-100);
  position: relative;
}
.profile-rank-badge .prb-medal::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px dashed rgba(255,255,255,0.35);
  border-radius: 50%;
}
.profile-rank-badge .prb-medal .prb-rank {
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  font-family: 'JetBrains Mono', monospace;
}
.profile-rank-badge .prb-text strong {
  display: block;
  font-size: var(--fs-md);
  color: #FFFFFF;
  margin-bottom: 4px;
  line-height: 1.3;
}
.profile-rank-badge .prb-text span {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.78);
  line-height: 1.5;
}

/* Service card highlighted variant (for H.S Code) */
.service-card.highlight {
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
  border-color: var(--navy-700);
  color: var(--cream-50);
}
.service-card.highlight h3,
.service-card.highlight p { color: var(--cream-50); }
.service-card.highlight p { color: rgba(250,248,243,0.72); }
.service-card.highlight .num { color: var(--gold-400); }
.service-card.highlight .btn-link { color: var(--gold-400); }
.service-card.highlight .btn-link:hover { color: var(--gold-300); }
.service-card.highlight .ico { background: var(--gold-500); color: var(--navy-900); }
.service-card.highlight:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(7,21,42,0.4); }

/* ----- Profile seal (refined credential badge) ----- */
.profile-seal {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  background: linear-gradient(135deg, rgba(30,86,195,0.10), rgba(236,220,244,0.14));
  border: 1px solid rgba(73,120,210,0.35);
  border-radius: var(--radius);
  padding: var(--sp-4) var(--sp-5);
  margin-bottom: var(--sp-5);
  position: relative;
  overflow: hidden;
}
.profile-seal::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--blue-400), var(--blue-700));
}
.profile-seal .ps-seal {
  flex: 0 0 56px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  color: #fff;
  display: grid;
  place-items: center;
  position: relative;
  box-shadow: 0 6px 16px rgba(30,86,195,0.3);
}
.profile-seal .ps-seal svg { width: 30px; height: 30px; }
.profile-seal .ps-seal::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px dashed rgba(147,177,230,0.55);
  border-radius: 50%;
}
.profile-seal .ps-text strong {
  display: block;
  font-size: var(--fs-md);
  color: var(--cream-50);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 4px;
}
.profile-seal .ps-text span {
  font-size: var(--fs-sm);
  color: rgba(245,236,250,0.75);
  line-height: 1.6;
}

/* ============================================================
   Language picker
   ============================================================ */
.lang-picker {
  position: relative;
  display: inline-block;
}
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink-700);
  font-family: inherit;
  font-size: var(--fs-sm);
  font-weight: 500;
  cursor: pointer;
  transition: all .2s ease;
}
.lang-toggle:hover {
  border-color: var(--navy-800);
  color: var(--navy-900);
}
.lang-toggle svg.chev { width: 12px; height: 12px; opacity: 0.5; }
.lang-toggle .globe { width: 16px; height: 16px; opacity: 0.7; }
.lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  inset-inline-end: 0;
  min-width: 180px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 6px;
  z-index: 60;
  display: none;
  flex-direction: column;
  gap: 2px;
}
.lang-menu.open { display: flex; }
.lang-menu button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: transparent;
  border: none;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  text-align: start;
  font-family: inherit;
  font-size: var(--fs-sm);
  color: var(--ink-700);
  cursor: pointer;
  transition: all .15s ease;
}
.lang-menu button:hover {
  background: var(--lilac-50);
  color: var(--navy-900);
}
.lang-menu button.active {
  background: var(--lilac-100);
  color: var(--blue-700);
  font-weight: 600;
}
.lang-menu button .flag { font-size: 16px; line-height: 1; }
.lang-menu button .code {
  margin-inline-start: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--ink-400);
  text-transform: uppercase;
  font-weight: 500;
}

/* When body is LTR, swap text direction for the entire page */
body.ltr { direction: ltr; text-align: left; }
body.ltr h1, body.ltr h2, body.ltr h3, body.ltr h4, body.ltr h5 { letter-spacing: -0.01em; }
body.ltr .hero h1 { max-width: 640px; }
/* Some FA-specific tabular-num overrides should not flip for LTR */
body.ltr .contact-row .cr-value,
body.ltr .footer-col .contact-line.num { direction: ltr; text-align: left; }
body.ltr .timeline { border-right: none; border-left: 1px solid rgba(255,255,255,0.14); padding-right: 0; padding-left: var(--sp-5); }
body.ltr .timeline-item::before { right: auto; left: calc(var(--sp-5) * -1 - 4.5px); }
body.ltr .eyebrow::before { /* default flex stays fine */ }
body.ltr .scroller-item .pip,
body.ltr .meta-row .pip { /* unchanged */ }
body.ltr .goods-warning { border-right: none; border-left: 4px solid var(--gold-500); }
body.ltr .prose blockquote { border-right: none; border-left: 3px solid var(--gold-400); }
body.ltr .aside-card { /* nothing needed */ }

/* When toggle is open, show menu */
@media (max-width: 1024px) {
  .lang-toggle .lang-name { display: none; }
}

/* ----- Knowledge gateway cards ----- */
.knowledge-section {
  background:
    linear-gradient(180deg, var(--cream-100) 0%, var(--cream-50) 100%);
}
.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}
.knowledge-card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all .3s ease;
  color: inherit;
}
.knowledge-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-400);
  color: inherit;
}
.knowledge-card .kc-cover {
  aspect-ratio: 200 / 130;
  position: relative;
  overflow: hidden;
}
.knowledge-card .kc-cover svg { width: 100%; height: 100%; display: block; }
.knowledge-card .kc-body {
  padding: var(--sp-5) var(--sp-5) var(--sp-6);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.knowledge-card .kc-tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 4px 10px;
  background: var(--cream-100);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--gold-600);
  margin-bottom: var(--sp-3);
  font-family: 'JetBrains Mono', monospace;
}
.knowledge-card h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-3);
  color: var(--navy-900);
}
.knowledge-card p {
  font-size: var(--fs-sm);
  color: var(--ink-500);
  line-height: 1.85;
  margin: 0 0 var(--sp-5);
  flex: 1;
}
.knowledge-card .kc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-sm);
  color: var(--navy-800);
  font-weight: 600;
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line-soft);
  margin-top: auto;
}
.knowledge-card .kc-link::after {
  content: "←";
  transition: transform .2s ease;
}
.knowledge-card:hover .kc-link { color: var(--gold-500); }
.knowledge-card:hover .kc-link::after { transform: translateX(-4px); }

@media (max-width: 980px) { .knowledge-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .knowledge-grid { grid-template-columns: 1fr; } }

/* ----- Themed article covers ----- */
.art-cover {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.art-cover svg { width: 100%; height: 100%; display: block; }
.article-cover { position: relative; }
.art-photo { position: absolute; inset: 0; }
.art-photo svg { width: 100%; height: 100%; display: block; }
.cover-figure .art-photo { position: relative; height: 100%; }

/* Whole article card clickable (stretched link over title <a>) */
.article-card { position: relative; }
.article-card .article-body h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* ----- Tone covers for article hero ----- */
.cover-tone {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: 'Vazirmatn', sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--cream-50);
}
.cover-tone span {
  padding: 12px 22px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  backdrop-filter: blur(4px);
}
.cover-tone.blue {
  background:
    radial-gradient(circle at 80% 20%, rgba(181,138,75,0.2), transparent 55%),
    linear-gradient(180deg, var(--navy-700), var(--navy-900));
}
.cover-tone.green {
  background:
    radial-gradient(circle at 80% 20%, rgba(166,212,188,0.18), transparent 55%),
    linear-gradient(180deg, var(--green-700), #0A2A20);
}
.cover-tone.procedures {
  background:
    radial-gradient(circle at 80% 20%, rgba(201,163,106,0.22), transparent 55%),
    linear-gradient(180deg, var(--navy-700), var(--navy-900));
}
.cover-tone.documents {
  background:
    radial-gradient(circle at 80% 20%, rgba(201,163,106,0.22), transparent 55%),
    linear-gradient(180deg, var(--petrol-700), var(--petrol-900));
}
.cover-tone.goods {
  background:
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.18), transparent 55%),
    linear-gradient(180deg, var(--green-700), #0A2A20);
}

/* ============================================================
   v3 — Cost estimator · Testimonials · Callback · Service catalog
   ============================================================ */

/* ----- Cost estimator ----- */
.estimator-section {
  background:
    radial-gradient(ellipse at 100% 0%, rgba(30,86,195,0.06), transparent 55%),
    var(--cream-50);
}
.estimator-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--sp-7);
  align-items: stretch;
}
.estimator-form {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: var(--sp-7);
  box-shadow: var(--shadow-sm);
}
.estimator-form .ef-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
  margin-bottom: var(--sp-4);
}
.estimator-form .ef-field { display: flex; flex-direction: column; gap: 6px; }
.estimator-form .ef-field.full { grid-column: 1 / -1; }
.estimator-form label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--navy-900);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.estimator-form label .hint { font-size: 11px; color: var(--ink-400); font-weight: 400; }
.estimator-form input,
.estimator-form select {
  font-family: inherit;
  font-size: var(--fs-base);
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cream-50);
  color: var(--ink-900);
  width: 100%;
}
.estimator-form input:focus,
.estimator-form select:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(30,86,195,0.1); background: var(--white); }
.estimator-form input[type="range"] { padding: 0; accent-color: var(--blue-500); height: 6px; }
.estimator-form select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6' fill='none'><path d='M1 1l4 4 4-4' stroke='%235A6373' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat; background-position: left 14px center; background-size: 10px 6px; padding-left: 36px;
}
.duty-out { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--blue-700); font-size: var(--fs-md); }

.estimator-result {
  background: linear-gradient(160deg, var(--navy-900), #1A2B45);
  border-radius: var(--radius-lg);
  padding: var(--sp-7);
  color: var(--cream-50);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.estimator-result::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 0% 100%, rgba(30,86,195,0.3), transparent 55%);
  pointer-events: none;
}
.estimator-result h3 { color: #fff; font-size: var(--fs-lg); margin-bottom: var(--sp-5); position: relative; }
.er-rows { position: relative; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.er-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.er-line .er-label { font-size: var(--fs-sm); color: rgba(250,246,236,0.72); }
.er-line .er-val { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--cream-50); font-size: var(--fs-base); }
.er-line.total { border-bottom: none; margin-top: var(--sp-3); padding-top: var(--sp-4); border-top: 2px solid rgba(73,120,210,0.5); }
.er-line.total .er-label { color: #fff; font-weight: 700; font-size: var(--fs-base); }
.er-line.total .er-val { color: var(--blue-300); font-size: var(--fs-xl); font-weight: 800; }
.estimator-result .er-note {
  position: relative;
  font-size: var(--fs-xs);
  color: rgba(250,246,236,0.55);
  line-height: 1.7;
  margin-top: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px solid rgba(255,255,255,0.1);
}
.estimator-result .btn { margin-top: var(--sp-4); width: 100%; position: relative; }
@media (max-width: 900px) {
  .estimator-grid { grid-template-columns: 1fr; }
  .estimator-form .ef-row { grid-template-columns: 1fr; }
}

/* ----- Testimonials ----- */
.testimonials-section { background: var(--white); border-top: 1px solid var(--line-soft); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}
.testimonial {
  background: var(--cream-50);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  transition: all .25s ease;
}
.testimonial:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--blue-400); }
.testimonial .t-quote-mark {
  font-family: Georgia, serif;
  font-size: 44px;
  line-height: 0.5;
  color: var(--lilac-100);
  height: 22px;
}
.testimonial .t-text { font-size: var(--fs-sm); color: var(--ink-700); line-height: 1.95; flex: 1; }
.testimonial .t-stars { display: flex; gap: 2px; color: var(--blue-500); }
.testimonial .t-stars svg { width: 15px; height: 15px; }
.testimonial .t-author { display: flex; align-items: center; gap: 12px; padding-top: var(--sp-4); border-top: 1px solid var(--line-soft); }
.testimonial .t-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  color: #fff; display: grid; place-items: center; font-weight: 700; font-size: var(--fs-base);
}
.testimonial .t-meta .t-name { font-weight: 700; color: var(--navy-900); font-size: var(--fs-sm); }
.testimonial .t-meta .t-role { font-size: var(--fs-xs); color: var(--ink-500); margin-top: 2px; }
@media (max-width: 900px) { .testimonials-grid { grid-template-columns: 1fr; } }

/* ----- Callback band ----- */
.callback-band {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
  color: #fff;
  position: relative;
  overflow: hidden;
}
.callback-band::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 90% 50%, rgba(236,220,244,0.18), transparent 55%);
}
.callback-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sp-6);
  align-items: center;
  padding: var(--sp-7) 0;
  position: relative;
}
.callback-inner h2 { color: #fff; font-size: var(--fs-2xl); margin-bottom: 6px; }
.callback-inner p { color: rgba(255,255,255,0.82); font-size: var(--fs-base); margin: 0; }
.callback-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: stretch; }
.callback-form input {
  font-family: inherit;
  font-size: var(--fs-base);
  padding: 14px 18px;
  border: none;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.95);
  color: var(--ink-900);
  min-width: 220px;
  direction: ltr;
  text-align: right;
}
.callback-form input:focus { outline: none; box-shadow: 0 0 0 3px rgba(236,220,244,0.5); }
.callback-form .btn { background: var(--navy-900); border-color: var(--navy-900); color: #fff; white-space: nowrap; }
.callback-form .btn:hover { background: #000; border-color: #000; color: var(--blue-300); }
@media (max-width: 760px) {
  .callback-inner { grid-template-columns: 1fr; }
  .callback-form input { min-width: 0; flex: 1; }
}

/* ----- Service catalog (comprehensive) ----- */
.catalog-section { background: var(--cream-100); }
.catalog-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}
.catalog-col {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: var(--sp-6);
}
.catalog-col .cc-head {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: var(--sp-4);
  margin-bottom: var(--sp-4);
  border-bottom: 1px solid var(--line-soft);
}
.catalog-col .cc-ico {
  width: 42px; height: 42px; border-radius: 10px; flex-shrink: 0;
  background: var(--lilac-100); color: var(--blue-700);
  display: grid; place-items: center;
}
.catalog-col .cc-ico svg { width: 22px; height: 22px; }
.catalog-col h3 { font-size: var(--fs-md); margin: 0; }
.catalog-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 2px; }
.catalog-col li a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 0;
  font-size: var(--fs-sm);
  color: var(--ink-700);
  border-bottom: 1px dashed transparent;
  transition: all .18s ease;
}
.catalog-col li a::before {
  content: ""; width: 6px; height: 6px; flex-shrink: 0;
  background: var(--blue-400); transform: rotate(45deg);
  transition: transform .18s ease;
}
.catalog-col li a:hover { color: var(--blue-700); padding-inline-start: 6px; }
.catalog-col li a:hover::before { transform: rotate(45deg) scale(1.3); }
@media (max-width: 900px) { .catalog-cols { grid-template-columns: 1fr; } }

/* ============================================================
   v4 — Utility bar (clock) · Rates · News · Exhibitions
   ============================================================ */
.utility-bar {
  background: var(--navy-900);
  color: rgba(250,246,236,0.82);
  font-size: var(--fs-xs);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: 8px 0;
  min-height: 38px;
}
.utility-clock { display: inline-flex; align-items: center; gap: 8px; color: var(--cream-50); }
.utility-clock svg { width: 14px; height: 14px; color: var(--blue-300); }
.utility-clock [data-clock-time] {
  font-variant-numeric: tabular-nums;
  font-family: 'JetBrains Mono', monospace;
  color: var(--blue-300);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.utility-clock .uc-sep { opacity: 0.35; }
.utility-contacts { display: inline-flex; align-items: center; gap: var(--sp-5); }
.utility-contacts a { color: rgba(250,246,236,0.82); display: inline-flex; align-items: center; gap: 6px; }
.utility-contacts a:hover { color: var(--blue-300); }
.utility-contacts a svg { width: 13px; height: 13px; }
.utility-contacts .num { direction: ltr; font-variant-numeric: tabular-nums; }
@media (max-width: 720px) {
  .utility-contacts { display: none; }
  .utility-inner { justify-content: center; }
}

.rates-section { background: var(--white); border-bottom: 1px solid var(--line-soft); }
.rates-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: var(--sp-4); margin-bottom: var(--sp-5); flex-wrap: wrap;
}
.rates-head h2 { font-size: var(--fs-xl); margin: 0; display: flex; align-items: center; gap: 10px; }
.rates-head h2 .live-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--green-500); box-shadow: 0 0 0 4px rgba(46,125,91,0.18); display: inline-block;
}
.rates-updated { font-size: var(--fs-xs); color: var(--ink-400); }
.rates-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--sp-3); }
.widget-empty {
  grid-column: 1 / -1;
  padding: var(--sp-5);
  border: 1px dashed rgba(30,86,195,.28);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.75);
  color: var(--ink-600);
  line-height: 1.8;
}
.rate-card {
  background: var(--cream-50); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: var(--sp-4); transition: all .2s ease;
}
.rate-card:hover { border-color: var(--blue-400); transform: translateY(-2px); }
.rate-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 8px; }
.rate-label { font-size: var(--fs-xs); color: var(--ink-500); font-weight: 500; line-height: 1.4; }
.rate-chg { font-size: 10px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rate-chg.up { color: var(--green-700); }
.rate-chg.down { color: #B0413E; }
.rate-value { font-size: var(--fs-md); font-weight: 800; color: var(--navy-900); font-variant-numeric: tabular-nums; }
.rate-value .rate-unit { font-size: 11px; font-weight: 500; color: var(--ink-400); }
@media (max-width: 1024px) { .rates-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px)  { .rates-grid { grid-template-columns: repeat(2, 1fr); } }

.news-section { background: var(--cream-100); }
.news-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: var(--sp-5); }
.news-lead, .news-item {
  background: var(--white); border: 1px solid var(--line-soft);
  border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: all .25s ease;
}
.news-lead:hover, .news-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--blue-400); }
.news-lead { grid-row: span 2; }
.news-cover { position: relative; overflow: hidden; }
.news-lead .news-cover { aspect-ratio: 16/9; }
.news-cover svg { width: 100%; height: 100%; display: block; }
.news-badge {
  position: absolute; top: 12px; inset-inline-start: 12px;
  background: var(--blue-500); color: #fff;
  font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 4px;
}
.news-body { padding: var(--sp-5); display: flex; flex-direction: column; flex: 1; }
.news-lead .news-body h3 { font-size: var(--fs-lg); margin-bottom: var(--sp-2); }
.news-item { flex-direction: row; align-items: stretch; }
.news-item .news-mini-cover { flex: 0 0 96px; position: relative; }
.news-item .news-mini-cover svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.news-item .news-body { padding: var(--sp-4); }
.news-item h4 { font-size: var(--fs-sm); margin: 0 0 6px; line-height: 1.6; color: var(--navy-900); }
.news-cat { font-size: 11px; color: var(--blue-700); font-weight: 600; margin-bottom: 6px; }
.news-date { font-size: var(--fs-xs); color: var(--ink-400); margin-top: auto; font-variant-numeric: tabular-nums; }
.news-body p { font-size: var(--fs-sm); color: var(--ink-500); line-height: 1.8; margin: 0 0 var(--sp-3); }
@media (max-width: 900px) {
  .news-grid { grid-template-columns: 1fr; }
  .news-lead { grid-row: auto; }
}

.expo-section { background: var(--white); }
.expo-list { display: flex; flex-direction: column; gap: var(--sp-3); max-width: 920px; margin: 0 auto; }
.expo-row {
  display: grid; grid-template-columns: 96px 1fr auto; gap: var(--sp-5); align-items: center;
  background: var(--cream-50); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: var(--sp-4) var(--sp-5); transition: all .2s ease;
}
.expo-row:hover { border-color: var(--blue-400); transform: translateX(-3px); }
body.ltr .expo-row:hover { transform: translateX(3px); }
.expo-date { text-align: center; background: var(--navy-900); color: #fff; border-radius: var(--radius-sm); padding: 8px; }
.expo-date .ed-day { font-size: var(--fs-lg); font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.expo-date .ed-mon { font-size: 10px; color: var(--blue-300); margin-top: 3px; }
.expo-info h4 { font-size: var(--fs-base); margin: 0 0 4px; }
.expo-info .expo-meta { font-size: var(--fs-xs); color: var(--ink-500); display: flex; gap: 12px; flex-wrap: wrap; }
.expo-info .expo-meta span { display: inline-flex; align-items: center; gap: 5px; }
.expo-info .expo-meta svg { width: 12px; height: 12px; color: var(--blue-500); }
.expo-tag { font-size: 11px; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: var(--lilac-100); color: var(--blue-700); white-space: nowrap; }
@media (max-width: 640px) {
  .expo-row { grid-template-columns: 64px 1fr; }
  .expo-tag { grid-column: 2; justify-self: start; }
}

/* Resume certificates */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4); margin-top: var(--sp-6); }
.cert-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius); padding: var(--sp-4); text-align: center; transition: all .25s ease;
}
.cert-card:hover { border-color: var(--blue-400); transform: translateY(-3px); background: rgba(255,255,255,0.06); }
.cert-ribbon {
  width: 48px; height: 48px; margin: 0 auto var(--sp-3); border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700)); color: #fff;
  display: grid; place-items: center; position: relative;
}
.cert-ribbon svg { width: 24px; height: 24px; }
.cert-card h4 { font-size: var(--fs-sm); color: var(--cream-50); margin: 0 0 4px; }
.cert-card p { font-size: var(--fs-xs); color: rgba(250,246,236,0.6); margin: 0; line-height: 1.6; }
@media (max-width: 900px) { .cert-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .cert-grid { grid-template-columns: 1fr; } }

/* ============================================================
   UXUI-02 — Tasteful hero animation + public polish
   Elegant, lightweight, calm. All motion is disabled under
   prefers-reduced-motion. SVG groups use transform-box:view-box
   so translate values map to the 0..400 / 0..500 user space.
   ============================================================ */

.hero-ship,
.hero-plane,
.hero-train,
.hero-truck,
.hero-stars,
.hero-water {
  transform-box: view-box;
  will-change: transform, opacity;
}

/* Sea: the ship rises and settles gently */
.hero-ship { animation: heroBob 6.5s ease-in-out infinite alternate; }
@keyframes heroBob {
  from { transform: translateY(0); }
  to   { transform: translateY(2.4px); }
}

/* Sea: ripples shimmer softly */
.hero-water { animation: heroShimmer 5.5s ease-in-out infinite alternate; }
@keyframes heroShimmer {
  from { opacity: 0.35; }
  to   { opacity: 0.6; }
}

/* Sky: stars/port lights twinkle */
.hero-stars { animation: heroTwinkle 4.2s ease-in-out infinite alternate; }
@keyframes heroTwinkle {
  from { opacity: 0.2; }
  to   { opacity: 0.55; }
}

/* Air freight: airplane drifts slowly across the sky */
.hero-plane { animation: heroPlane 26s linear infinite; }
@keyframes heroPlane {
  0%   { transform: translate(-70px, 6px); opacity: 0; }
  8%   { opacity: 0.6; }
  92%  { opacity: 0.6; }
  100% { transform: translate(470px, -10px); opacity: 0; }
}

/* Rail freight: distant train glides along the far shore */
.hero-train { animation: heroTrain 30s linear infinite; }
@keyframes heroTrain {
  0%   { transform: translateX(-90px); }
  100% { transform: translateX(480px); }
}

/* Road freight: trailer truck rolls along the dock */
.hero-truck { animation: heroTruck 19s linear infinite; }
@keyframes heroTruck {
  0%   { transform: translateX(-60px); opacity: 0; }
  6%   { opacity: 0.9; }
  94%  { opacity: 0.9; }
  100% { transform: translateX(480px); opacity: 0; }
}

/* One-time, gentle entrance for the hero copy */
.hero-text > * { animation: heroRise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both; }
.hero-text > *:nth-child(2) { animation-delay: 0.06s; }
.hero-text > *:nth-child(3) { animation-delay: 0.12s; }
.hero-text > *:nth-child(4) { animation-delay: 0.18s; }
.hero-text > *:nth-child(5) { animation-delay: 0.24s; }
@keyframes heroRise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Premium button feedback (additive over existing .btn styles) */
.btn { transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease; }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(30,86,195,0.22); }
.btn-ghost:hover { transform: translateY(-1px); }

/* Calmer, deeper card elevation on interactive marketing cards */
.card, .service-card, .info-tile { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }

@media (prefers-reduced-motion: reduce) {
  .hero-ship, .hero-plane, .hero-train, .hero-truck, .hero-stars, .hero-water,
  .hero-text > * { animation: none !important; }
  .hero-plane, .hero-truck { opacity: 0.6; }
  .btn:hover, .card:hover, .service-card:hover, .info-tile:hover { transform: none; }
}
