:root {
  color-scheme: light;
  --ink: #1c2a24;
  --muted: #44544b;
  --green: #1e6b47;
  --deep: #164d34;
  --tint: #f3f8f5;
  --line: #d9e2dc;
  font-family: Inter, "Microsoft YaHei", "PingFang SC", sans-serif;
  color: var(--ink);
  line-height: 1.65;
}
* { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p { margin: 0; }
h1, h2 { line-height: 1.2; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.5rem); letter-spacing: -.05em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); letter-spacing: -.03em; }
h3 { font-size: 1.08rem; line-height: 1.35; }
p { color: var(--muted); }
a { color: var(--deep); text-underline-offset: .2em; }
button, select, input { font: inherit; }
:focus-visible { outline: 3px solid #a5522a; outline-offset: 4px; }
[hidden] { display: none !important; }
.skip { position: fixed; top: .5rem; left: .5rem; background: #fff; padding: .5rem; z-index: 2; transform: translateY(-200%); }
.skip:focus { transform: none; }
.wrap { width: min(1120px, 100% - 48px); margin-inline: auto; }
.header { border-bottom: 3px solid transparent; border-image: linear-gradient(to right, var(--green) 33.33%, #e8e8e8 33.33% 66.66%, #c8372d 66.66%) 1; }
.nav { min-height: 70px; display: flex; align-items: center; gap: clamp(.5rem, 3vw, 2rem); }
.nav nav { display: flex; gap: clamp(.65rem, 2.5vw, 1.7rem); margin-left: auto; }
.nav nav a { text-decoration: none; color: var(--muted); font-size: .95rem; }
.nav nav a:hover, .nav nav a[aria-current] { color: var(--deep); text-decoration: underline; }
.lang-switch { display: inline-flex; gap: .25rem; margin-left: .1rem; }
.lang-switch button { border: 1px solid var(--line); background: #fff; color: var(--muted); padding: .3rem .6rem; border-radius: 6px; font-size: .85rem; font-weight: 600; cursor: pointer; }
.lang-switch button.active { background: var(--green); border-color: var(--green); color: #fff; }
.brand { display: inline-flex; align-items: center; gap: .65rem; font: 700 1.2rem Georgia, serif; text-decoration: none; white-space: nowrap; }
.flag { width: 25px; height: 17px; display: inline-block; border: 1px solid #0002; border-radius: 3px; flex: none; background: linear-gradient(to right, #1e6b47 33.33%, #fff 33.33% 66.66%, #c8372d 66.66%); }
.hero, .tinted, .subpage { background: var(--tint); }
.hero { padding: clamp(3rem, 7vw, 6.2rem) 0; }
.hero-layout { display: grid; grid-template-columns: 1.26fr .74fr; align-items: center; gap: clamp(1.5rem, 6vw, 5rem); }
.eyebrow { color: var(--green); font-weight: 750; font-size: .88rem; letter-spacing: .1em; margin-bottom: .7rem; }
.lede { font-size: clamp(1rem, 2vw, 1.16rem); max-width: 37rem; margin-top: 1.05rem; }
.hero-card { color: white; background: var(--deep); padding: clamp(1.35rem, 4vw, 2.3rem); border-radius: 16px; }
.hero-card h2 { font-size: 1.55rem; }
.hero-card .eyebrow, .hero-card li span { color: #d9ebdf; }
.hero-card ol { padding-left: 1.2rem; margin: 1.15rem 0 0; }
.hero-card li { padding: .55rem 0 .55rem .3rem; }
.hero-card li + li { border-top: 1px solid #ffffff30; }
.hero-card li span { display: block; font-size: .9rem; }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; align-items: center; margin-top: 1rem; }
.hero .actions { margin-top: 1.55rem; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: .6rem 1.1rem; border: 1px solid var(--green); border-radius: 8px; background: var(--green); color: white; font-weight: 650; text-decoration: none; text-align: center; cursor: pointer; }
.button:hover { background: var(--deep); }
.button.secondary { background: white; color: var(--deep); }
.button.secondary:hover { background: #eaf5ed; }
.button.small { min-height: 40px; padding: .35rem .75rem; font-size: .9rem; }
.button:disabled { opacity: .55; cursor: default; }
.section { padding: clamp(2.2rem, 5vw, 4.2rem) 0; }
.grid { display: grid; gap: 1rem; }
.section .grid, .table-scroll + .grid { margin-top: 1.3rem; }
.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { padding: clamp(1rem, 2.6vw, 1.6rem); background: white; border: 1px solid var(--line); border-radius: 12px; }
.card h3 + p, .card h2 + p { margin-top: .4rem; }
.visa { display: block; text-decoration: none; color: inherit; }
.visa:hover, .featured { border-color: var(--green); }
.icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--tint); color: var(--green); margin-bottom: .85rem; }
.icon svg { width: 24px; height: 24px; }
.visa .english { color: var(--green); font-size: .82rem; margin: .3rem 0 .65rem; }
.footnote { font-size: .9rem; margin-top: .85rem; }
.plan { display: flex; flex-direction: column; gap: .55rem; }
.plan strong { color: var(--deep); margin-top: auto; }
.plan .button { align-self: flex-start; margin-top: .35rem; }
.faqs { margin-top: 1rem; max-width: 55rem; }
.faqs details { border-bottom: 1px solid var(--line); padding: .85rem 0; }
summary { font-weight: 650; cursor: pointer; }
details p { margin-top: .5rem; }
.footer { color: #e6ede9; background: var(--ink); padding: 1.5rem 0; }
.footer-inner { display: flex; align-items: baseline; gap: 1.5rem; }
.footer :is(a,p) { color: inherit; }
.footer p { font-size: .88rem; max-width: 48rem; }
.narrow { max-width: 740px; }
.inner { padding: 1.5rem 0 3.6rem; min-height: 70vh; }
.breadcrumb, .crumb { font-size: .88rem; color: var(--muted); }
.page-intro { margin: 1.5rem 0; }
.page-intro h1 { font-size: clamp(2rem, 4.5vw, 3.3rem); }
.notice { background: #e7f2e9; color: var(--deep); border-left: 3px solid var(--green); padding: .85rem 1rem; border-radius: 0 8px 8px 0; overflow-wrap: anywhere; }
.notice p { margin: .25rem 0; }
.notice > a { display: inline-block; margin-left: .25rem; }
.form { display: grid; justify-items: stretch; gap: 1.25rem; margin-top: 1rem; }
.form > .button { justify-self: start; }
fieldset { min-width: 0; margin: 0; border: 0; padding: 0; }
legend { font-weight: 750; margin-bottom: .65rem; }
label { display: block; font-weight: 600; }
select, input:not([type=checkbox],[type=radio]) { width: 100%; min-height: 45px; display: block; margin-top: .25rem; border: 1px solid #a7b9ad; border-radius: 8px; padding: .5rem .65rem; background: #fff; color: var(--ink); }
select { appearance: none; padding-right: 2rem; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 15px) 52%, calc(100% - 10px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
input:is([type=radio],[type=checkbox]) { accent-color: var(--green); }
.choice { display: flex; align-items: baseline; gap: .55rem; padding: .7rem; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.choice:has(:checked) { border-color: var(--green); background: var(--tint); }
.choice.is-coming { opacity: .55; cursor: not-allowed; }
.choice small { display: block; font-weight: 400; color: var(--muted); font-size: .88rem; }
.inline { display: flex; flex-wrap: wrap; gap: .5rem 1.15rem; }
.stack { display: grid; gap: .65rem; }
#county:not(:empty), #pre-contact:not(:empty), #contacts:not(:empty) { margin-top: .75rem; }
#result:not(:empty) { margin-top: 1rem; }
#result ul { padding-left: 1.25rem; margin: 0; }
.table-scroll { overflow-x: auto; padding: 0; }
table { width: 100%; border-collapse: collapse; min-width: 550px; text-align: left; }
th, td { padding: .85rem 1rem; border-bottom: 1px solid var(--line); }
thead { background: #e7f2e9; }
tbody tr:last-child > * { border-bottom: none; }
.timeline { list-style: none; padding: 0; display: grid; gap: .6rem; }
.timeline li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .75rem; align-items: start; }
.timeline p { font-size: .93rem; }
.step-mark { display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; color: var(--deep); background: var(--tint); font-size: .88rem; font-weight: 750; }
.timeline .current { border-color: var(--green); box-shadow: 0 0 0 1px var(--green); }
.current .step-mark { color: white; background: var(--green); }
.status { font-size: .82rem; white-space: nowrap; color: var(--deep); }
.order { margin: 0; }
.order div { display: flex; justify-content: space-between; gap: .7rem; padding: .55rem 0; border-bottom: 1px solid var(--line); }
.order dd { margin: 0; font-weight: 650; text-align: right; }
.placeholder { margin-top: .4rem; border: 1px dashed #8ba799; padding: .8rem; border-radius: 8px; background: var(--tint); }
.button.paypal { background: #0070ba; border-color: #0070ba; }
.button.paypal:hover { background: #005ea6; }
.pay-box { margin-top: .75rem; padding-top: .75rem; border-top: 1px solid var(--line); }
.pay-box > p { margin-bottom: .5rem; font-weight: 650; color: var(--ink); }
@media (max-width: 820px) { .four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 650px) {
  .wrap { width: calc(100% - 32px); }
  .nav { flex-wrap: wrap; padding: .6rem 0; justify-content: space-between; }
  .nav nav { order: 1; width: 100%; margin-left: 0; padding-top: .35rem; border-top: 1px solid var(--line); justify-content: space-between; }
  .nav nav a { padding: .25rem 0; }
  .hero-layout, .three, .two { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: .65rem; }
}
@media (max-width: 430px) {
  .four { grid-template-columns: 1fr; }
  .hero .actions > * { width: 100%; }
  .timeline li { grid-template-columns: auto 1fr; }
  .timeline .status { grid-column: 2; }
}
.english { color: var(--green); font-size: .82rem; }
html[lang="en"] .visa .english, html[lang="en"] .service-group h2 .english { display: none; }
.tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin: .75rem 0 1rem; }
.tab { min-height: 40px; padding: .4rem .85rem; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--deep); font-weight: 600; cursor: pointer; }
.tab:hover { border-color: var(--green); }
.tab[aria-selected="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.service-group { margin-top: 2rem; }
.service-group h2 { display: flex; align-items: baseline; gap: .5rem; }
.service-group h2 .english { font-weight: 400; }
.office-filter { display: inline-flex; align-items: center; gap: .6rem; margin: 1rem 0 .25rem; font-weight: 600; }
.office-filter select { width: auto; min-width: 250px; margin-top: 0; }
.sub-block h3 { margin: 1rem 0 .5rem; font-size: 1rem; color: var(--deep); }
.service .eyebrow { margin-bottom: .25rem; }
.service h3 { margin-bottom: .1rem; }
.service .english { display: block; margin-bottom: .25rem; }
.service .status { color: var(--deep); }
.service p { margin-top: .25rem; }
