:root {
  --bg: #0b0f17;
  --bg-2: #111725;
  --card: #151c2c;
  --line: #232c40;
  --text: #e9eef7;
  --muted: #8b97ad;
  --accent: #18c47c;
  --accent-2: #12a368;
  --tg: #2aa3e0;
  --tg-2: #1f8fc7;
  --warn: #f5b041;
  --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
.wrap { width: min(1160px, 100% - 32px); margin: 0 auto; }
.wrap--narrow { width: min(820px, 100% - 32px); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.accent { color: var(--accent); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }

/* Header */
.header { position: sticky; top: 0; z-index: 20; background: rgba(11,15,23,.85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header__in { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.logo__mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--accent); color: var(--bg); font-size: 18px; letter-spacing: -.5px; }
.logo__text { font-size: 19px; letter-spacing: -.2px; }
.logo__text span { color: var(--muted); font-weight: 600; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--muted); font-weight: 500; }
.nav a:hover { color: var(--text); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 22px; border-radius: 14px; font-weight: 700; border: 1px solid transparent; transition: .15s; cursor: pointer; }
.btn--sm { padding: 9px 16px; font-size: 14px; border-radius: 12px; }
.btn--block { width: 100%; }
.btn--tg { background: var(--tg); color: #fff; }
.btn--tg:hover { background: var(--tg-2); }
.btn--accent { background: var(--accent); color: var(--bg); }
.btn--accent:hover { background: var(--accent-2); }
.header__btns { display: flex; gap: 8px; }
.cta--channel { margin-top: 16px; background: linear-gradient(120deg, rgba(42,163,224,.18), rgba(42,163,224,.05)), var(--card); }
.footer__links { display: flex; flex-direction: column; gap: 4px; text-align: right; }
.btn--ghost { border-color: var(--line); color: var(--text); }
.btn--ghost:hover { border-color: var(--muted); }

/* Hero */
.hero { padding: 64px 0 40px; background: radial-gradient(800px 400px at 15% 0%, rgba(24,196,124,.14), transparent 70%), radial-gradient(700px 400px at 100% 30%, rgba(42,163,224,.12), transparent 70%); }
.hero__in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(30px, 4.4vw, 50px); letter-spacing: -.8px; }
.lead { color: var(--muted); font-size: 18px; max-width: 560px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(24,196,124,.12); color: var(--accent); font-weight: 600; font-size: 13px; margin-bottom: 18px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(24,196,124,.2); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(24,196,124,.05); } }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0; }
.perks { list-style: none; padding: 0; margin: 0; display: flex; gap: 28px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.perks b { display: block; color: var(--text); font-size: 20px; }

/* Calculator */
.calc { padding: 24px; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.calc__head { display: flex; justify-content: space-between; align-items: baseline; }
.calc__head h2 { font-size: 20px; }
.field { display: block; margin-top: 14px; }
.field > span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.field__row { display: flex; background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.field__row:focus-within { border-color: var(--accent); }
.field input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--text); font-size: 22px; font-weight: 700; padding: 14px 16px; outline: none; }
.field select, .field__cur { background: var(--card); color: var(--text); border: 0; border-left: 1px solid var(--line); padding: 0 14px; font-size: 15px; font-weight: 600; min-width: 112px; }
.field__cur { display: flex; align-items: center; }
.field select { cursor: pointer; outline: none; }
.swap { text-align: center; color: var(--muted); margin: 6px 0 -6px; }
.calc__rate { margin: 14px 0 4px; font-size: 14px; color: var(--muted); }
.calc__warn { margin: 0 0 8px; font-size: 13px; color: var(--warn); }
.calc .btn--block { margin: 12px 0 10px; }

/* Sections */
.section { padding: 64px 0; }
.section--alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__title { font-size: clamp(24px, 3vw, 34px); margin-bottom: 28px; }

/* Rates */
.rates { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.rate { padding: 20px; display: flex; flex-direction: column; gap: 6px; cursor: pointer; transition: .15s; }
.rate:hover { border-color: var(--accent); transform: translateY(-2px); }
.rate__top { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.rate__flag { font-size: 22px; width: 32px; text-align: center; }
.rate__val { font-size: 26px; font-weight: 800; }
.rate__val small { font-size: 14px; color: var(--muted); font-weight: 600; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { padding: 22px; }
.step__n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: rgba(24,196,124,.14); color: var(--accent); font-weight: 800; margin-bottom: 14px; }
.step h3 { font-size: 17px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }

/* Offices */
.tabs { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.tab { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--muted); font-weight: 600; cursor: pointer; font-size: 14px; }
.tab.is-active { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.offices { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.office { padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.office__city { font-size: 12px; text-transform: uppercase; letter-spacing: .6px; color: var(--accent); font-weight: 700; }
.office h3 { font-size: 19px; margin: 0; }
.office p { margin: 0; color: var(--muted); font-size: 14px; flex: 1; }
.office__btns { display: flex; gap: 8px; margin-top: 8px; }
.office__btns .btn { flex: 1; padding: 10px; font-size: 14px; }

/* FAQ */
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; }
.faq summary { padding: 18px 20px; cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; transition: .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--muted); }

/* CTA / footer */
.cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 32px; flex-wrap: wrap; background: linear-gradient(120deg, rgba(24,196,124,.15), rgba(42,163,224,.12)), var(--card); }
.cta h2 { margin: 0 0 4px; }
.cta p { margin: 0; }
.footer { border-top: 1px solid var(--line); padding: 28px 0 90px; }
.footer__in { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer p { margin: 0; }
.tg-float { position: fixed; right: 20px; bottom: 20px; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--bg); box-shadow: 0 10px 30px rgba(24,196,124,.45); z-index: 30; }
.tg-float:hover { background: var(--accent-2); }

@media (max-width: 920px) {
  .hero__in { grid-template-columns: 1fr; gap: 32px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .nav { display: none; }
  .header__btns { margin-left: auto; }
  .hide-sm { display: none; }
  .footer__links { text-align: left; }
  .hero { padding-top: 36px; }
  .steps { grid-template-columns: 1fr; }
  .offices { grid-template-columns: 1fr; }
  .rates { grid-template-columns: 1fr 1fr; gap: 10px; }
  .rate { padding: 14px; }
  .rate__val { font-size: 21px; }
  .section { padding: 48px 0; }
}

/* Language switcher */
.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; gap: 6px; height: 100%; padding: 9px 12px; border-radius: 12px; border: 1px solid var(--line); background: transparent; color: var(--text); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.lang__btn:hover { border-color: var(--muted); }
.lang__menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 150px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 6px; box-shadow: 0 16px 40px rgba(0,0,0,.45); display: none; z-index: 40; }
.lang.is-open .lang__menu { display: block; }
.lang__menu button { display: block; width: 100%; text-align: left; padding: 10px 12px; border: 0; border-radius: 10px; background: transparent; color: var(--text); font: inherit; font-size: 15px; cursor: pointer; }
.lang__menu button:hover { background: var(--bg-2); }
.lang__menu button.is-active { color: var(--accent); font-weight: 700; }
html[lang="zh-CN"] body { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Segoe UI", Roboto, Arial, sans-serif; }

/* Mobile header fit */
html, body { overflow-x: hidden; }
.btn { white-space: nowrap; }
.header__in > * { min-width: 0; }
@media (max-width: 600px) {
  .header__in { gap: 10px; height: 60px; }
  .logo__mark { width: 34px; height: 34px; font-size: 16px; border-radius: 10px; }
  .logo__text { font-size: 16px; }
  .header__btns { gap: 6px; }
  .header .btn--sm, .lang__btn { padding: 8px 10px; font-size: 13px; }
  .lang__btn svg { display: none; }
}
@media (max-width: 340px) {
  .logo__mark { display: none; }
}
.hero__in > *, .calc, .field__row { min-width: 0; }
@media (max-width: 920px) { .hero__in { grid-template-columns: minmax(0, 1fr); } }
.field select, .field__cur { min-width: 96px; }

/* Calculator: method + office */
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field-grid .field[hidden] { display: none; }
.field-grid:has(.field[hidden]) { grid-template-columns: 1fr; }
.field select.select-full { flex: 1; border-left: 0; background: transparent; padding: 13px 12px; min-width: 0; font-size: 14px; }
.field select option { background: var(--card); color: var(--text); }
@media (max-width: 600px) { .field-grid { grid-template-columns: 1fr; } }
.field-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.field-grid .field { min-width: 0; margin-top: 14px; }
.field select.select-full { width: 100%; text-overflow: ellipsis; }
input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
input[type=number] { -moz-appearance: textfield; }
@media (max-width: 600px) { .field-grid { grid-template-columns: minmax(0,1fr); } }
