/* ==========================================================================
   MedicalEscortChina — Homepage Design System v3
   Pure Blue + White · Plus Jakarta Sans / Inter
   Content structure per client design · Vercel Web Interface Guidelines
   ========================================================================== */

:root {
  --blue-950: #071A33;
  --blue-900: #0A2540;
  --blue-800: #12356B;
  --blue-700: #1D4ED8;
  --blue-600: #2563EB;
  --blue-500: #3B82F6;
  --blue-400: #60A5FA;
  --blue-300: #93C5FD;
  --blue-200: #BFDBFE;
  --blue-100: #DBEAFE;
  --blue-50: #EFF6FF;
  --sky-25: #F5F9FF;
  --sky-50: #F0F7FF;

  --ink: #0F172A;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748B;
  --slate-400: #94A3B8;

  --white: #FFFFFF;
  --line: #E2E8F0;
  --line-soft: #EDF2F7;

  --green-600: #059669;
  --green-50: #ECFDF5;

  --font-display: "Plus Jakarta Sans", Inter, -apple-system, "Segoe UI", sans-serif;
  --font-body: Inter, -apple-system, "Segoe UI", Roboto, sans-serif;

  --shadow-xs: 0 1px 2px rgba(16, 24, 40, 0.05);
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.04), 0 4px 12px rgba(16, 24, 40, 0.05);
  --shadow-md: 0 2px 4px rgba(16, 24, 40, 0.04), 0 12px 32px rgba(16, 24, 40, 0.08);
  --shadow-lg: 0 4px 8px rgba(16, 24, 40, 0.04), 0 24px 56px rgba(16, 24, 40, 0.12);
  --shadow-blue: 0 8px 30px rgba(37, 99, 235, 0.14);

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  --container: 1180px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--slate-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--blue-700); }
ul[class], ol[class] { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; border: 0; background: none; touch-action: manipulation; }
strong { font-weight: 650; color: var(--blue-900); }

::selection { background: var(--blue-100); color: var(--blue-900); }
:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 2px; border-radius: 4px; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--blue-600); color: var(--white);
  padding: 0.7rem 1.2rem; border-radius: 0 0 var(--r-sm) 0; font-weight: 600;
}
.skip-link:focus { left: 0; color: var(--white); }
h2[id], h3[id] { scroll-margin-top: 90px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.022em;
  color: var(--blue-900);
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5vw, 3.9rem); font-weight: 800; letter-spacing: -0.032em; line-height: 1.07; }
h2 { font-size: clamp(1.85rem, 3.2vw, 2.55rem); }
h3 { font-size: clamp(1.18rem, 1.8vw, 1.4rem); }
h4 { font-size: 1.05rem; font-weight: 700; }

.text-gradient {
  background: linear-gradient(92deg, var(--blue-600) 0%, var(--blue-400) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.lede {
  font-size: clamp(1.08rem, 1.5vw, 1.24rem);
  line-height: 1.68;
  color: var(--slate-600);
  max-width: 46ch;
  text-wrap: pretty;
}

.section-head { max-width: 730px; margin-bottom: clamp(2.4rem, 5vw, 3.6rem); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lede { margin-left: auto; margin-right: auto; }
.section-head h2 { margin: 0.85rem 0 1rem; }
.section-head p.lede { max-width: 56ch; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.34rem 0.85rem;
  border-radius: 999px;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  color: var(--blue-700);
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue-500); flex: none; }

/* ---------- Layout ---------- */
.container { width: min(var(--container), 100% - 2.5rem); margin-inline: auto; }
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.bg-white { background: var(--white); }
.bg-sky { background: var(--sky-50); }

.grid { display: grid; gap: 1.4rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.97rem; line-height: 1;
  white-space: nowrap;
  transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .arr { transition: transform 0.18s ease; }
.btn:hover .arr { transform: translateX(3px); }

.btn-primary { background: var(--blue-600); color: var(--white); box-shadow: var(--shadow-blue); }
.btn-primary:hover { background: var(--blue-700); color: var(--white); box-shadow: 0 12px 36px rgba(37, 99, 235, 0.22); }
.btn-outline { border: 1.5px solid var(--blue-200); color: var(--blue-700); background: var(--white); }
.btn-outline:hover { border-color: var(--blue-600); background: var(--blue-50); color: var(--blue-700); }
.btn-ghost { color: var(--white); border: 1.5px solid rgba(255, 255, 255, 0.4); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.1); color: var(--white); }
.btn-white { background: var(--white); color: var(--blue-700); }
.btn-white:hover { background: var(--blue-50); color: var(--blue-800); }
.btn-sm { padding: 0.58rem 1.15rem; font-size: 0.88rem; }
.btn-lg { padding: 1.02rem 2rem; font-size: 1.02rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.scrolled { background: rgba(255, 255, 255, 0.94); border-bottom-color: var(--line); box-shadow: var(--shadow-xs); }

.header-inner { display: flex; align-items: center; gap: clamp(1.15rem, 2vw, 2rem); height: 72px; }
.brand {
  display: inline-flex; flex: none; align-items: center; gap: 0.65rem;
  font-family: var(--font-display); font-size: 1.18rem; font-weight: 800;
  letter-spacing: -0.02em; color: var(--blue-900);
}
.brand:hover { color: var(--blue-900); }
.brand em { font-style: normal; color: var(--blue-600); }
.brand svg { flex: none; border-radius: 8px; box-shadow: var(--shadow-blue); }

.site-nav { display: flex; align-items: center; gap: 1.7rem; margin-left: auto; }
.site-nav > a {
  position: relative;
  font-size: 0.95rem; font-weight: 500; letter-spacing: -0.005em;
  color: var(--slate-600); padding: 0.45rem 0; white-space: nowrap;
  transition: color 0.18s ease;
}
.site-nav > a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; border-radius: 2px; background: currentColor;
  opacity: 0; transform: scaleX(0.35); transform-origin: 50% 50%;
  transition: transform 0.24s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.18s ease;
}
.site-nav > a:hover { color: var(--blue-700); }
.site-nav > a:hover::after { opacity: 0.35; transform: scaleX(0.65); }
.site-nav > a[aria-current="page"] { color: var(--blue-700); font-weight: 600; }
.site-nav > a[aria-current="page"]::after { opacity: 1; transform: scaleX(1); }
.site-nav > a[aria-current="true"] { color: var(--blue-700); }
.site-nav > a[aria-current="true"]::after { opacity: 0.55; transform: scaleX(0.45); }
.site-nav > a:focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 5px; border-radius: 3px;
}

.header-cta { display: flex; flex: none; align-items: center; gap: 0.75rem; }
.header-cta-mobile { display: none; }

.nav-toggle {
  display: none; margin-left: auto;
  width: 44px; height: 44px; border-radius: var(--r-sm);
  color: var(--blue-900); align-items: center; justify-content: center;
}
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 1120px) {
  .header-cta .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg); padding: 0.5rem 1.4rem 1.2rem; display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav > a { width: 100%; padding: 0.85rem 0.2rem; border-bottom: 1px solid var(--line-soft); font-size: 1rem; }
  .site-nav > a::after { display: none; }
  .site-nav > a[aria-current="page"] { border-bottom-color: var(--blue-600); }
  .header-cta-mobile { display: block; padding-top: 1rem; width: 100%; }
  .header-cta-mobile .btn { display: flex; width: 100%; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(3.2rem, 6.5vw, 5.5rem) 0 clamp(3rem, 6vw, 4.5rem);
  background:
    radial-gradient(900px 460px at 88% -12%, rgba(37, 99, 235, 0.09), transparent 62%),
    radial-gradient(700px 380px at -8% 12%, rgba(96, 165, 250, 0.08), transparent 60%),
    var(--white);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(37, 99, 235, 0.13) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(720px 420px at 78% 6%, rgba(0,0,0,0.5), transparent 70%);
  -webkit-mask-image: radial-gradient(720px 420px at 78% 6%, rgba(0,0,0,0.5), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.04fr 0.96fr;
  gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center;
}
.hero h1 { margin: 1.3rem 0 1.35rem; }
.hero .lede { margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 1.5rem; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 0.45rem 1.5rem;
  font-size: 0.87rem; font-weight: 500; color: var(--slate-500);
}
.hero-trust span { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero-trust svg { width: 16px; height: 16px; color: var(--green-600); flex: none; }

.hero-figure { position: relative; }
.hero-figure .img-frame {
  border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  position: relative; z-index: 1; background: var(--blue-50);
}
.hero-figure img { width: 100%; object-fit: cover; aspect-ratio: 4 / 4.3; }

.hero-chip {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.8rem 1.05rem; border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line); box-shadow: var(--shadow-md);
}
.hero-chip .chip-icon {
  width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; flex: none;
}
.hero-chip .chip-icon svg { width: 20px; height: 20px; }
.hero-chip b { display: block; font-family: var(--font-display); font-size: 0.95rem; font-weight: 800; color: var(--blue-900); line-height: 1.25; }
.hero-chip small { display: block; font-size: 0.76rem; color: var(--slate-500); line-height: 1.35; }
.hero-chip.chip-rating { top: 1.4rem; left: -1.6rem; }
.hero-chip.chip-rating .chip-icon { background: var(--blue-50); color: var(--blue-600); }
.hero-chip.chip-success { bottom: 1.8rem; right: -1.2rem; }
.hero-chip.chip-success .chip-icon { background: var(--green-50); color: var(--green-600); }

@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { max-width: 540px; }
  .hero-chip.chip-rating { left: 0.6rem; }
  .hero-chip.chip-success { right: 0.6rem; }
}

/* ---------- Journey strip ---------- */
.journey-wrap { position: relative; z-index: 5; margin-top: clamp(2rem, 4vw, 3rem); }
.journey {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  padding: 1.6rem clamp(1.2rem, 3vw, 2.4rem) 1.5rem;
}
.journey-steps {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 0.5rem; position: relative;
}
.journey-steps::before {
  content: ""; position: absolute; top: 17px; left: 7%; right: 7%;
  height: 2px; background: linear-gradient(90deg, var(--blue-200), var(--blue-400), var(--blue-200));
  border-radius: 2px;
}
.j-step { position: relative; z-index: 1; flex: 1; text-align: center; min-width: 0; }
.j-step .j-dot {
  width: 36px; height: 36px; margin: 0 auto 0.6rem;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--blue-300);
  color: var(--blue-600);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 0.82rem;
  box-shadow: 0 0 0 5px var(--white);
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.j-step:hover .j-dot {
  border-color: var(--blue-600); background: var(--blue-600); color: var(--white);
  transform: translateY(-2px);
}
.j-step b {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: 0.92rem; color: var(--blue-900); line-height: 1.3;
}
.j-step small { display: block; font-size: 0.74rem; color: var(--slate-500); line-height: 1.4; margin-top: 0.15rem; }

@media (max-width: 860px) {
  .journey-steps { flex-wrap: wrap; justify-content: flex-start; gap: 0.9rem 1.4rem; }
  .journey-steps::before { display: none; }
  .j-step { flex: 0 0 auto; text-align: left; display: flex; align-items: center; gap: 0.7rem; }
  .j-step .j-dot { margin: 0; box-shadow: none; }
}

/* ---------- Answer box (GEO) ---------- */
.answer-box {
  background: var(--sky-25);
  border: 1px solid var(--blue-100);
  border-left: 4px solid var(--blue-600);
  border-radius: var(--r-md);
  padding: 1.4rem 1.6rem;
  font-size: 1.01rem; color: var(--slate-700);
  max-width: 880px; box-shadow: var(--shadow-xs);
}
.answer-box b { color: var(--blue-900); }
.answer-box a { font-weight: 600; }

/* ---------- Scenario cards ---------- */
.scenario-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
@media (max-width: 920px) { .scenario-grid { grid-template-columns: 1fr; } }
.scenario {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.8rem 1.7rem 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.scenario:hover { transform: translateY(-4px); border-color: var(--blue-300); box-shadow: var(--shadow-blue); }
.scenario .icon-chip { margin-bottom: 1.05rem; }
.scenario h3 { margin-bottom: 0.55rem; }
.scenario p { color: var(--slate-600); font-size: 0.95rem; flex: 1; }
.scenario .card-link {
  margin-top: 1.1rem;
  font-family: var(--font-display); font-weight: 700; font-size: 0.92rem;
  color: var(--blue-600); display: inline-flex; align-items: center; gap: 0.35rem;
}
.scenario:hover .card-link { color: var(--blue-700); }
.scenario .card-link .arr { transition: transform 0.18s ease; }
.scenario:hover .card-link .arr { transform: translateX(3px); }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.8rem 1.7rem;
  display: flex; flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--blue-300); box-shadow: var(--shadow-blue); }
.card h3 { margin-bottom: 0.55rem; }
.card p { color: var(--slate-600); font-size: 0.96rem; }
.card .card-link {
  margin-top: auto; padding-top: 1.1rem;
  font-family: var(--font-display); font-weight: 700; font-size: 0.92rem;
  color: var(--blue-600); display: inline-flex; align-items: center; gap: 0.35rem;
}
.card .card-link .arr { transition: transform 0.18s ease; }
.card:hover .card-link .arr { transform: translateX(3px); }
.card:hover .card-link { color: var(--blue-700); }

.card ul { margin-top: 0.7rem; display: grid; gap: 0.3rem; }
.card ul li {
  position: relative; padding-left: 1.15rem;
  font-size: 0.88rem; color: var(--slate-600);
}
.card ul li::before {
  content: ""; position: absolute; left: 0; top: 0.58em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--blue-400);
}

.icon-chip {
  width: 50px; height: 50px; border-radius: 13px;
  background: var(--blue-50); color: var(--blue-600);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem; border: 1px solid var(--blue-100);
}
.icon-chip svg { width: 24px; height: 24px; }
.icon-chip.deep { background: var(--blue-600); color: var(--white); border-color: var(--blue-600); }

/* ---------- Process cards (How it works) ---------- */
.proc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.3rem; }
@media (max-width: 900px) { .proc-grid { grid-template-columns: 1fr; } }
.proc {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.7rem 1.7rem 1.4rem;
  display: flex; flex-direction: column; gap: 0.9rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.proc:hover { transform: translateY(-4px); border-color: var(--blue-300); box-shadow: var(--shadow-blue); }
.proc-top { display: flex; align-items: center; gap: 0.95rem; }
.proc-num {
  font-family: var(--font-display); font-size: 1.9rem; font-weight: 800;
  letter-spacing: -0.02em; line-height: 1;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-400));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums;
}
.proc h3 { font-size: 1.13rem; }
.proc .what { font-size: 0.92rem; color: var(--slate-600); flex: 1; }
.proc .receive {
  display: flex; gap: 0.65rem; align-items: flex-start;
  background: var(--sky-25);
  border: 1px solid var(--blue-100);
  border-radius: var(--r-md);
  padding: 0.85rem 1rem;
}
.proc .receive svg { width: 18px; height: 18px; color: var(--green-600); flex: none; margin-top: 0.15rem; }
.proc .receive b {
  display: block; font-family: var(--font-display);
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--blue-700); margin-bottom: 0.15rem;
}
.proc .receive span { font-size: 0.88rem; color: var(--slate-700); line-height: 1.55; }

/* ---------- City section ---------- */
.city-chip-row { display: flex; flex-wrap: wrap; gap: 0.7rem; justify-content: center; margin-bottom: 2.2rem; }
.city-chip {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  background: var(--white); border: 1px solid var(--blue-100);
  font-family: var(--font-display); font-weight: 700; font-size: 0.9rem;
  color: var(--blue-800);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, background-color 0.18s ease;
}
a.city-chip { text-decoration: none; }
.city-chip:hover { border-color: var(--blue-400); box-shadow: var(--shadow-blue); transform: translateY(-2px); }
.city-chip.featured { background: var(--blue-600); border-color: var(--blue-600); color: var(--white); }

.city-note {
  max-width: 780px; margin-inline: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  padding: 1.9rem 2rem;
}
.city-note h3 { display: flex; align-items: baseline; gap: 0.7rem; margin-bottom: 0.7rem; }
.city-note h3 small {
  font-family: var(--font-body); font-weight: 500; font-size: 0.8rem;
  color: var(--slate-400); letter-spacing: 0.04em;
}
.city-note .spec-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.9rem 0 1.2rem; }
.city-note .coord-list { margin-top: 0.7rem; display: grid; gap: 0.35rem; }
.city-note .coord-list li { position: relative; padding-left: 1.15rem; font-size: 0.9rem; color: var(--slate-600); }
.city-note .coord-list li::before {
  content: ""; position: absolute; left: 0; top: 0.58em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--blue-400);
}
.city-note .honest-note {
  margin-top: 1.2rem; padding-top: 1.1rem;
  border-top: 1px dashed var(--line);
  font-size: 0.85rem; color: var(--slate-500);
}

/* ---------- Fees ---------- */
.fee-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; margin-bottom: 2.4rem; }
@media (max-width: 920px) { .fee-grid { grid-template-columns: 1fr; } }
.fee-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.9rem 1.8rem 1.6rem;
  display: flex; flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.fee-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-blue); }
.fee-card.popular { border: 2px solid var(--blue-600); position: relative; box-shadow: var(--shadow-blue); }
.fee-card .fee-tag {
  align-self: flex-start;
  font-family: var(--font-display); font-size: 0.76rem; font-weight: 800;
  letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--blue-700); background: var(--blue-50);
  border: 1px solid var(--blue-100);
  padding: 0.3rem 0.8rem; border-radius: 999px;
  margin-bottom: 1.1rem;
}
.fee-card.popular .fee-tag { background: var(--blue-600); color: var(--white); border-color: var(--blue-600); }
.fee-card h3 { font-size: 1.22rem; margin-bottom: 0.3rem; }
.fee-card .fee-scope { font-size: 0.85rem; color: var(--slate-500); margin-bottom: 1.1rem; }
.fee-card .fee-price {
  font-family: var(--font-display); font-size: 2.1rem; font-weight: 800;
  letter-spacing: -0.02em; color: var(--blue-700); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.fee-card .fee-price small { font-size: 0.95rem; font-weight: 600; color: var(--slate-400); }
.fee-card .fee-price-note { font-size: 0.82rem; color: var(--slate-500); margin: 0.5rem 0 1.2rem; }
.fee-card ul { display: grid; gap: 0.4rem; margin-bottom: 1.4rem; }
.fee-card ul li { position: relative; padding-left: 1.35rem; font-size: 0.9rem; color: var(--slate-600); }
.fee-card ul li svg {
  position: absolute; left: 0; top: 0.22em;
  width: 15px; height: 15px; color: var(--green-600);
}
.fee-card .btn { margin-top: auto; align-self: flex-start; }

.included-cols {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem;
  max-width: 860px; margin-inline: auto;
}
@media (max-width: 800px) { .included-cols { grid-template-columns: 1fr; } }
.included-col {
  border-radius: var(--r-lg); padding: 1.7rem 1.8rem;
  border: 1px solid var(--line);
}
.included-col.yes { background: var(--green-50); border-color: #BBF0D5; }
.included-col.no { background: var(--white); }
.included-col h4 { display: flex; align-items: center; gap: 0.55rem; margin-bottom: 0.9rem; color: var(--blue-900); }
.included-col h4 svg { width: 20px; height: 20px; }
.included-col.yes h4 svg { color: var(--green-600); }
.included-col.no h4 svg { color: var(--slate-400); }
.included-col ul { display: grid; gap: 0.45rem; }
.included-col li { position: relative; padding-left: 1.2rem; font-size: 0.92rem; color: var(--slate-600); }
.included-col li::before {
  content: ""; position: absolute; left: 0; top: 0.6em;
  width: 5px; height: 5px; border-radius: 50%;
}
.included-col.yes li::before { background: var(--green-600); }
.included-col.no li::before { background: var(--slate-400); }

/* ---------- Tables ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  background: var(--white);
}
table { width: 100%; border-collapse: collapse; font-size: 0.94rem; min-width: 540px; font-variant-numeric: tabular-nums; }
thead th {
  background: var(--blue-900); color: #fff; text-align: left;
  font-family: var(--font-display); font-weight: 700; font-size: 0.82rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.95rem 1.2rem; white-space: nowrap;
}
tbody td { padding: 0.95rem 1.2rem; border-top: 1px solid var(--line-soft); vertical-align: top; }
tbody tr { transition: background-color 0.15s ease; }
tbody tr:hover { background: var(--blue-50); }
td b { color: var(--blue-900); }
.table-note { font-size: 0.85rem; color: var(--slate-500); margin-top: 0.8rem; }
.price-tag { font-family: var(--font-display); font-size: 1.22rem; font-weight: 800; color: var(--blue-700); }

/* ---------- Principles ---------- */
.principle-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.3rem; }
@media (max-width: 820px) { .principle-grid { grid-template-columns: 1fr; } }
.principle {
  display: flex; gap: 1.25rem; align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.7rem 1.7rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.principle:hover { transform: translateY(-3px); border-color: var(--blue-300); box-shadow: var(--shadow-blue); }
.principle .p-num {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 800;
  line-height: 1; letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-400));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  flex: none; padding-top: 0.2rem;
  font-variant-numeric: tabular-nums;
}
.principle h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.principle p { font-size: 0.93rem; color: var(--slate-600); }

/* ---------- Check lists ---------- */
.check-list li {
  display: flex; gap: 0.7rem; align-items: flex-start;
  padding: 0.42rem 0; color: var(--slate-700);
}
.check-list li svg { width: 20px; height: 20px; color: var(--green-600); flex: none; margin-top: 0.2rem; }

/* ---------- Accordion ---------- */
.accordion { display: grid; gap: 0.75rem; }
.accordion details {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-md); box-shadow: var(--shadow-xs);
  overflow: hidden; transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.accordion details[open] { border-color: var(--blue-300); box-shadow: var(--shadow-blue); }
.accordion summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.35rem;
  font-family: var(--font-display); font-weight: 700; color: var(--blue-900); font-size: 1rem;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .plus {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--blue-50); color: var(--blue-600);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.25s ease, background-color 0.2s ease, color 0.2s ease;
}
.accordion details[open] summary .plus { transform: rotate(45deg); background: var(--blue-600); color: var(--white); }
.accordion .acc-body { padding: 0 1.35rem 1.25rem; color: var(--slate-600); font-size: 0.96rem; }
.accordion .acc-body p + p { margin-top: 0.7rem; }

/* ---------- CTA band (start here) ---------- */
.cta-band {
  background-color: var(--blue-900);
  background-image:
    linear-gradient(105deg, rgba(8, 29, 51, 0.92) 0%, rgba(10, 37, 64, 0.79) 48%, rgba(15, 52, 105, 0.56) 100%),
    url("/assets/img/cta-bg.webp");
  background-size: cover;
  background-position: center 38%;
  background-repeat: no-repeat;
  border-radius: var(--r-xl);
  padding: clamp(2.8rem, 6vw, 4.4rem);
  display: grid; grid-template-columns: 1.35fr 1fr; gap: 2.4rem;
  align-items: center; color: var(--white);
  position: relative; overflow: hidden;
  box-shadow: 0 24px 60px rgba(10, 37, 64, 0.3);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(600px 300px at 90% 10%, rgba(0,0,0,.8), transparent 75%);
  -webkit-mask-image: radial-gradient(600px 300px at 90% 10%, rgba(0,0,0,.8), transparent 75%);
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); margin-bottom: 0.8rem; }
.cta-band p { color: var(--blue-200); font-size: 1.04rem; max-width: 54ch; }

.three-things { display: grid; gap: 0.8rem; margin: 1.4rem 0 1.8rem; }
.thing {
  display: flex; align-items: center; gap: 0.85rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--r-md);
  padding: 0.75rem 1rem;
  color: var(--blue-100); font-size: 0.94rem;
}
.thing b { color: var(--white); font-family: var(--font-display); }
.thing .t-num {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--blue-500); color: var(--white);
  font-family: var(--font-display); font-weight: 800; font-size: 0.8rem;
  display: flex; align-items: center; justify-content: center; flex: none;
}

.contact-channels { display: grid; gap: 0.8rem; }
.channel {
  display: flex; align-items: center; gap: 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r-md);
  padding: 0.95rem 1.15rem;
}
.channel .ch-icon {
  width: 40px; height: 40px; border-radius: 11px;
  background: rgba(255, 255, 255, 0.1);
  display: flex; align-items: center; justify-content: center; flex: none;
  color: var(--blue-200);
}
.channel .ch-icon svg { width: 20px; height: 20px; }
.channel b { display: block; font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; color: var(--white); }
.channel small { display: block; font-size: 0.78rem; color: var(--blue-200); line-height: 1.4; }
.channel.active { border-color: rgba(96, 165, 250, 0.5); }
.channel.active .ch-icon { background: var(--blue-500); color: var(--white); }
.channel a.channel-link { color: var(--blue-200); font-size: 0.85rem; font-weight: 600; }
.channel a.channel-link:hover { color: var(--white); }

@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-900); color: #A9BDD6; margin-top: clamp(3rem, 6vw, 5rem); }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem; padding: clamp(3rem, 6vw, 4.5rem) 0 1.8rem;
}
.footer-brand .brand { color: var(--white); margin-bottom: 1rem; }
.footer-brand .brand em { color: var(--blue-400); }
.footer-brand p { font-size: 0.92rem; max-width: 34ch; }
.footer-col h3 {
  color: var(--white); font-family: var(--font-body);
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.13em;
  text-transform: uppercase; margin-bottom: 1.1rem;
}
.footer-col ul { display: grid; gap: 0.55rem; }
.footer-col a { color: #A9BDD6; font-size: 0.92rem; }
.footer-col a:hover { color: var(--blue-300); }
.footer-contact li { display: flex; gap: 0.6rem; align-items: center; font-size: 0.92rem; }
.footer-contact svg { width: 17px; height: 17px; color: var(--blue-400); flex: none; }
.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.6rem 0 2rem; font-size: 0.79rem; color: #7391B4;
  display: flex; flex-wrap: wrap; gap: 0.6rem 2rem; justify-content: space-between;
}
.footer-legal .disclaimer { max-width: 72ch; line-height: 1.6; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Pills ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.28rem 0.8rem; border-radius: 999px;
  font-size: 0.79rem; font-weight: 600;
  background: var(--blue-50); color: var(--blue-700);
  border: 1px solid var(--blue-100);
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover, .scenario:hover, .proc:hover, .fee-card:hover,
  .principle:hover, .city-chip:hover, .j-step:hover .j-dot { transform: none; }
  .btn .arr, .btn:hover .arr, .card .card-link .arr, .card:hover .card-link .arr { transform: none; transition: none; }
}

/* ---------- Utility ---------- */
.mt-2 { margin-top: 1.4rem; }
.mt-3 { margin-top: 2.2rem; }
.center { text-align: center; }
.text-sm { font-size: 0.9rem; }
.muted { color: var(--slate-500); }
.mx-auto { margin-inline: auto; }
.flex-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* ---------- Utility layer (migrated from inline styles, home subset) ---------- */
.text-white { color: #fff !important; }
.mb-06 { margin-bottom: 0.6rem !important; }
.border-blue { border-color: var(--blue-300) !important; }
.justify-center { justify-content: center !important; }
.maxw-720 { max-width: 720px !important; }
.maxw-860 { max-width: 860px !important; }
.pb-lg { padding-bottom: clamp(3.5rem, 7vw, 5.5rem) !important; }
.cta-gradient { justify-content: center !important; background: linear-gradient(135deg, var(--blue-900), var(--blue-700)) !important; border-color: transparent !important; }
.center-note { text-align: center !important; padding: 0.6rem 0 !important; }
.hero-sub { color: var(--blue-200) !important; font-size: 0.95rem !important; margin-bottom: 1.4rem !important; }

/* ---------- Footer: offices, trust, email ---------- */
.footer-more {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0 1.7rem;
  align-items: start;
}
.footer-more h3 {
  color: var(--white); font-family: var(--font-body);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; margin-bottom: 0.65rem;
}
.office-grid { display: grid; grid-template-columns: 1fr; gap: 0.3rem; }
.office { display: flex; align-items: baseline; gap: 0.55rem; }
.office b { flex: none; width: 88px; color: var(--white); font-size: 0.8rem; }
.office span { color: #A9BDD6; font-size: 0.78rem; line-height: 1.45; }
.trust-chips { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.trust-chip {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.3rem 0.6rem; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #CFE0F5; font-size: 0.73rem;
}
.trust-chip svg { width: 11px; height: 11px; color: var(--blue-300); flex: none; }
.footer-email { margin-top: 0.6rem; color: #A9BDD6; font-size: 0.78rem; line-height: 1.5; }
.footer-email a { color: var(--blue-300); font-weight: 600; }
.footer-email a:hover { color: var(--white); }
@media (max-width: 900px) {
  .footer-more { grid-template-columns: 1fr; gap: 1.4rem; padding: 1.4rem 0 1.6rem; }
  .office { flex-direction: column; gap: 0.05rem; }
  .office b { width: auto; }
}

/* ---------- Floating contact widget ---------- */
.contact-widget {
  position: fixed; right: clamp(0.9rem, 2vw, 1.5rem); bottom: clamp(0.9rem, 2vw, 1.5rem);
  z-index: 90; display: flex; flex-direction: column; align-items: flex-end; gap: 0.7rem;
}
.cw-fab {
  position: relative; width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  color: var(--white); border: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.36);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cw-fab:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(37, 99, 235, 0.45); }
.cw-fab svg { width: 26px; height: 26px; }
.cw-fab::before {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid rgba(37, 99, 235, 0.35);
  animation: cw-pulse 2.8s ease-out infinite;
}
@keyframes cw-pulse { 0% { transform: scale(0.92); opacity: 0.9; } 70% { transform: scale(1.16); opacity: 0; } 100% { opacity: 0; } }
.contact-widget.open .cw-fab::before { animation: none; opacity: 0; }
.cw-panel {
  width: min(344px, calc(100vw - 1.8rem));
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: 0 24px 64px rgba(10, 37, 64, 0.24);
  padding: 1.05rem 1.05rem 0.95rem;
  opacity: 0; transform: translateY(12px) scale(0.97); transform-origin: bottom right;
  pointer-events: none; visibility: hidden;
  transition: opacity 0.22s ease, transform 0.24s cubic-bezier(0.22, 0.61, 0.36, 1), visibility 0.22s;
}
.contact-widget.open .cw-panel { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
.cw-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.8rem; margin-bottom: 0.85rem; }
.cw-head b { display: block; font-family: var(--font-display); font-size: 1rem; color: var(--blue-900); }
.cw-head span { display: block; margin-top: 0.15rem; font-size: 0.76rem; color: var(--slate-500); }
.cw-close { border: 0; background: transparent; color: var(--slate-400); cursor: pointer; padding: 0.2rem 0.3rem; border-radius: 6px; line-height: 0; }
.cw-close:hover { color: var(--blue-700); background: var(--blue-50); }
.cw-close svg { width: 16px; height: 16px; }
.cw-item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.72rem 0.85rem; margin-bottom: 0.55rem;
  border: 1px solid var(--line); border-radius: var(--r-md);
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.cw-item:hover { border-color: var(--blue-300); background: var(--blue-50); transform: translateY(-1px); }
.cw-item svg { width: 21px; height: 21px; flex: none; }
.cw-item b { display: block; font-size: 0.9rem; color: var(--blue-900); }
.cw-item small { display: block; font-size: 0.77rem; color: var(--slate-500); }
.cw-item.cw-mail svg { color: var(--blue-600); }
.cw-item.cw-wa svg { color: #1FA855; }
.cw-note { margin: 0.15rem 0 0; font-size: 0.76rem; line-height: 1.5; color: var(--slate-500); }
@media (max-width: 900px) { .footer-more { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .office-grid { grid-template-columns: 1fr; } .cw-fab { width: 54px; height: 54px; } }
@media (prefers-reduced-motion: reduce) { .cw-fab::before { animation: none; } .cw-panel { transition: none; } }

/* ---------- Mobile polish (H5) ---------- */
html, body { overflow-x: clip; }

@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .matrix-card { padding: 1.15rem; }
}

@media (max-width: 720px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }

  body { font-size: 1rem; }
  h1 { font-size: clamp(1.9rem, 7.6vw, 2.5rem); }
  h2 { font-size: clamp(1.5rem, 5.6vw, 1.9rem); }

  .section { padding: clamp(2.4rem, 8vw, 3.4rem) 0; }
  .section-tight { padding: clamp(1.8rem, 6vw, 2.6rem) 0; }
  .page-hero { padding: 2.2rem 0 1.9rem; }
  .page-hero h1 { margin: 0.7rem 0 1rem; }
  .page-hero .lede { font-size: 1rem; }

  .header-inner { height: 64px; }
  .brand { font-size: 1.06rem; }
  .brand svg { width: 30px; height: 30px; }
  .site-nav { top: 64px; }
  .site-nav > a { padding: 0.8rem 0.2rem; }

  .answer-box { padding: 1.1rem 1.15rem; font-size: 0.96rem; }
  .prose > p, .prose > ul, .prose > ol { font-size: 0.98rem; }
  .prose h2 { margin: 2rem 0 0.8rem; }
  .prose h3 { margin: 1.5rem 0 0.6rem; }
  .prose ul:not([class]), .prose ol:not([class]) { padding-left: 1.1rem; }

  .table-wrap table { font-size: 0.84rem; }
  .table-wrap th, .table-wrap td { padding: 0.6rem 0.7rem; }

  .cta-band { padding: 1.6rem 1.2rem; border-radius: var(--r-lg); gap: 1.3rem; }
  .cta-band h2 { font-size: clamp(1.4rem, 5.6vw, 1.8rem); }
  .cta-band p { font-size: 0.94rem; }
  .cta-band .btn { width: 100%; }

  .page-media { margin: 1.1rem 0 1.3rem; }
  .page-media-frame { border-radius: var(--r-md); }

  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; padding: 2rem 0 1.2rem; }
  .footer-more { padding: 1.1rem 0 1.3rem; gap: 1.1rem; }
  .footer-more h3 { margin-bottom: 0.5rem; }
  .office { flex-direction: column; gap: 0.05rem; }
  .office b { width: auto; }
  .footer-legal { flex-direction: column; gap: 0.5rem; padding: 1.1rem 0 4.2rem; }
  .footer-contact li, .footer-email, .office span { overflow-wrap: anywhere; }

  .hero { padding: 2.4rem 0 2.2rem; }
  .hero h1 { font-size: clamp(2rem, 8vw, 2.6rem); }

  .journey { padding: 1.2rem 1rem 1.1rem; }
  .journey-steps { gap: 0.8rem 1rem; }
  .j-step { flex: 0 0 calc(50% - 0.5rem); text-align: left; }
  .j-step .j-dot { margin: 0 0 0.45rem; }

  .timeline { padding-left: 1.2rem; }
  .timeline::before { left: 5px; }

  .cw-fab { width: 52px; height: 52px; }
  .cw-panel { width: calc(100vw - 1.6rem); }

  .form-grid { gap: 0.8rem; }
  .field input, .field select, .field textarea { font-size: 16px; }
}

@media (max-width: 380px) {
  .cta-band { padding: 1.4rem 1rem; }
  .office b { font-size: 0.78rem; }
}
