/* ==========================================================================
   金河集团（香港）有限公司 — Jinhe Group (Hong Kong) Limited
   Style sheet
   ========================================================================== */

:root {
  --red: #B3202C;
  --red-dark: #8E1822;
  --red-tint: #FBF2F3;
  --gold: #D8A444;
  --gold-tint: #FDF7EA;
  --navy: #22315A;
  --navy-deep: #131C33;
  --ink: #16202F;
  --muted: #5D6B7E;
  --line: #E5E9EF;
  --line-strong: #D3DAE4;
  --soft: #F7F8FA;
  --white: #FFFFFF;

  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(22, 32, 47, .05), 0 2px 8px rgba(22, 32, 47, .04);
  --shadow-md: 0 4px 14px rgba(22, 32, 47, .07), 0 12px 32px rgba(22, 32, 47, .06);
  --shadow-lg: 0 8px 28px rgba(22, 32, 47, .10), 0 24px 60px rgba(22, 32, 47, .08);

  --wrap: 1180px;
  --header-h: 76px;

  --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Hiragino Sans GB",
          "Noto Sans SC", "Source Han Sans SC", "Segoe UI", Roboto, Helvetica, Arial,
          "Heiti SC", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.28; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--red); color: #fff; padding: 10px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-size: 15.5px; font-weight: 600; line-height: 1;
  padding: 13px 24px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease,
              background-color .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--red); color: #fff;
  box-shadow: 0 2px 10px rgba(179, 32, 44, .24);
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(179, 32, 44, .30); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  background: rgba(255, 255, 255, .08); color: #fff;
  border-color: rgba(255, 255, 255, .34); backdrop-filter: blur(2px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .6); }
.btn-lg { padding: 16px 32px; font-size: 16.5px; }
.btn-sm { padding: 10px 18px; font-size: 14.5px; }
.btn-block { width: 100%; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 2px 16px rgba(22, 32, 47, .06);
  background: rgba(255, 255, 255, .97);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 22px; }

/* the header runs wider than the content column so the nav never collides
   with the brand block, especially with the longer English labels */
.site-header .wrap { max-width: 1320px; }
html[data-lang="en"] .nav a { padding: 9px 10px; font-size: 14.5px; }
html[data-lang="en"] .header-inner { gap: 14px; }

.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand-logo { height: 42px; width: auto; }

/* tighten the header as the viewport narrows so the nav never wraps */
@media (max-width: 1320px) {
  .nav a { padding: 9px 9px; font-size: 14.5px; }
  .header-inner { gap: 14px; }
}

.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a {
  position: relative; padding: 9px 12px; border-radius: 8px;
  font-size: 15px; font-weight: 500; color: var(--muted); white-space: nowrap;
  transition: color .18s ease, background-color .18s ease;
}
.nav a:hover { color: var(--ink); background: var(--soft); }
.nav a.is-active { color: var(--red); font-weight: 600; }
.nav a.is-active::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 3px;
  height: 2px; border-radius: 2px; background: var(--red);
}

.header-actions { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }

.lang-switch {
  display: inline-flex; padding: 3px; gap: 2px;
  background: var(--soft); border: 1px solid var(--line); border-radius: 999px;
}
.lang-btn {
  font-family: inherit; font-size: 13.5px; font-weight: 600; letter-spacing: .01em;
  padding: 7px 13px; border: 0; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--muted);
  transition: background-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.lang-btn:hover { color: var(--ink); }
.lang-btn.is-active { background: var(--white); color: var(--red); box-shadow: var(--shadow-sm); }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 4.5px;
  width: 40px; height: 40px; padding: 0 8px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--white); cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + 74px) 0 74px;
  background:
    radial-gradient(1100px 520px at 12% -10%, rgba(179, 32, 44, .34), transparent 62%),
    radial-gradient(900px 460px at 92% 8%, rgba(216, 164, 68, .22), transparent 60%),
    linear-gradient(160deg, #131C33 0%, #1B2745 46%, #22315A 100%);
  color: #fff;
}
.hero-bg { position: absolute; inset: auto 0 0 0; height: 46%; pointer-events: none; }
.skyline { width: 100%; height: 100%; display: block; }

.hero-inner { position: relative; z-index: 1; max-width: 900px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, .84);
  padding: 8px 16px; margin-bottom: 26px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
}
.hero-badge .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 0 4px rgba(216, 164, 68, .22); flex: 0 0 auto;
}

.hero-title {
  font-size: clamp(30px, 4.4vw, 52px);
  font-weight: 800; letter-spacing: -.02em; line-height: 1.2;
  margin-bottom: 24px;
}
.hero-title span { display: block; }
.hero-title-accent {
  background: linear-gradient(96deg, #F6D68B 0%, var(--gold) 52%, #C98F2C 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.hero-lead {
  font-size: clamp(16px, 1.35vw, 18.5px); line-height: 1.85;
  color: rgba(255, 255, 255, .80); max-width: 780px; margin-bottom: 36px;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px; }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius); overflow: hidden;
}
.hero-stats li { padding: 20px 22px; background: rgba(19, 28, 51, .55); }
.hero-stats strong {
  display: block; font-size: 25px; font-weight: 800; letter-spacing: -.01em;
  color: var(--gold); margin-bottom: 6px;
}
.hero-stats span { display: block; font-size: 13.5px; line-height: 1.6; color: rgba(255, 255, 255, .72); }

/* ==========================================================================
   TRUST STRIP
   ========================================================================== */
.trust-strip { border-bottom: 1px solid var(--line); background: var(--white); }
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust-item {
  display: flex; align-items: flex-start; gap: 13px;
  padding: 26px 22px; border-left: 1px solid var(--line);
}
.trust-item:first-child { border-left: 0; }
.trust-item svg {
  width: 22px; height: 22px; flex: 0 0 auto; margin-top: 3px;
  fill: none; stroke: var(--red); stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
.trust-item strong { display: block; font-size: 15px; font-weight: 700; margin-bottom: 3px; }
.trust-item span { display: block; font-size: 13px; line-height: 1.6; color: var(--muted); }

/* ==========================================================================
   SECTION SHELL
   ========================================================================== */
.section { padding: 96px 0; }
.section-soft { background: var(--soft); }
.section-dark {
  background: linear-gradient(165deg, #16203A 0%, #1B2745 55%, #22315A 100%);
  color: #fff;
}

.section-head { max-width: 820px; margin-bottom: 52px; }
.kicker {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .14em;
  color: var(--red); text-transform: uppercase;
  padding: 6px 14px; margin-bottom: 18px;
  background: var(--red-tint); border-radius: 999px;
}
.kicker-light { color: #F0C574; background: rgba(216, 164, 68, .14); }

.section-head h2 { font-size: clamp(25px, 2.7vw, 36px); margin-bottom: 20px; letter-spacing: -.018em; }
.section-dark .section-head h2 { color: #fff; }

.lead { font-size: 16.5px; line-height: 1.85; color: var(--muted); }
.section-dark .lead { color: rgba(255, 255, 255, .76); }

.sub-head {
  font-size: 20px; margin: 56px 0 20px; padding-left: 16px;
  border-left: 4px solid var(--red); line-height: 1.4;
}

/* ==========================================================================
   CARDS
   ========================================================================== */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card {
  position: relative; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.card h3 { font-size: 18px; margin-bottom: 12px; }
.card p { font-size: 15px; line-height: 1.82; color: var(--muted); }

.card-adv { padding-top: 34px; overflow: hidden; }
.card-adv::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.card-adv:hover::before { transform: scaleX(1); }
.card-num {
  display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .06em;
  color: var(--red); margin-bottom: 14px;
  font-variant-numeric: tabular-nums;
}
.card-adv h3 { font-size: 17.5px; }

.card-svc { padding: 30px 26px; }
.svc-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; margin-bottom: 18px; border-radius: 13px;
  background: var(--red-tint); border: 1px solid rgba(179, 32, 44, .12);
}
.svc-icon svg {
  width: 23px; height: 23px; fill: none; stroke: var(--red);
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.card-svc h3 { font-size: 17px; margin-bottom: 16px; }

.tick { display: grid; gap: 9px; }
.tick li {
  position: relative; padding-left: 22px;
  font-size: 14.5px; line-height: 1.72; color: var(--muted);
}
.tick li::before {
  content: ""; position: absolute; left: 2px; top: .62em;
  width: 9px; height: 5px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}

/* ---------- assurance ---------- */
.card-assure { padding: 32px 28px; }
.as-num {
  display: block; font-size: 30px; font-weight: 800; line-height: 1;
  color: var(--line-strong); margin-bottom: 16px; letter-spacing: -.02em;
}

/* ==========================================================================
   TIMELINE
   ========================================================================== */
.timeline { display: grid; gap: 0; margin-bottom: 48px; }
.tl-item {
  position: relative; padding: 0 0 40px 46px;
  border-left: 2px solid rgba(255, 255, 255, .16);
}
.tl-item:last-child { border-left-color: transparent; padding-bottom: 0; }
.tl-dot {
  position: absolute; left: -9px; top: 5px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--gold-deep, var(--gold));
  border: 3px solid #1B2745;
  box-shadow: 0 0 0 2px var(--gold);
}
.tl-item:last-child .tl-dot { background: var(--red); box-shadow: 0 0 0 2px var(--red); }

.tl-body { min-height: 78px; }
.tl-step {
  font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 8px;
}
.tl-body h3 { font-size: 19px; color: #fff; margin-bottom: 10px; }
.tl-body p:last-child { font-size: 15px; line-height: 1.85; color: rgba(255, 255, 255, .74); max-width: 760px; }

.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.chip {
  font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, .9);
  padding: 9px 18px; border-radius: 999px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .18);
}

.note-strip {
  padding: 24px 28px; border-radius: var(--radius);
  background: rgba(216, 164, 68, .10);
  border: 1px solid rgba(216, 164, 68, .26);
  border-left: 4px solid var(--gold);
}
.note-strip p { font-size: 15px; line-height: 1.85; color: rgba(255, 255, 255, .84); }

/* ==========================================================================
   RISK TABLE
   ========================================================================== */
.risk-table {
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: var(--white); box-shadow: var(--shadow-sm);
}
.risk-head, .risk-row { display: grid; grid-template-columns: 1fr 1.35fr; }
.risk-head {
  background: linear-gradient(96deg, #1B2745, #22315A);
  color: #fff;
}
.risk-head span {
  padding: 18px 26px; font-size: 14.5px; font-weight: 700; letter-spacing: .02em;
}
.risk-head span:first-child { border-right: 1px solid rgba(255, 255, 255, .14); }
.risk-row { border-top: 1px solid var(--line); }
.risk-row:first-of-type { border-top: 0; }
.risk-cell { padding: 22px 26px; font-size: 15px; line-height: 1.8; }
.risk-problem { color: var(--ink); font-weight: 500; border-right: 1px solid var(--line); background: #FCFCFD; }
.risk-problem::before {
  content: ""; display: block; width: 26px; height: 2px; border-radius: 2px;
  background: var(--red); margin-bottom: 12px; opacity: .6;
}
.risk-solve { color: var(--muted); }
.risk-solve::before {
  content: ""; display: block; width: 26px; height: 2px; border-radius: 2px;
  background: var(--gold); margin-bottom: 12px;
}

.disclaimer {
  margin-top: 26px; padding: 18px 22px; border-radius: 12px;
  background: var(--soft); border: 1px solid var(--line);
  font-size: 13.5px; line-height: 1.8; color: var(--muted);
}

/* ==========================================================================
   PACKAGES
   ========================================================================== */
.pkg-tiers { margin-bottom: 8px; }
.tier { padding: 32px 28px; }
.tier h3 { font-size: 20px; margin-bottom: 8px; }
.tier-term {
  font-size: 13.5px; font-weight: 700; color: var(--red);
  letter-spacing: .02em; margin-bottom: 16px; padding-bottom: 16px;
  border-bottom: 1px dashed var(--line-strong);
}
.tier p:last-child { font-size: 15px; line-height: 1.82; color: var(--muted); }
.tier-featured {
  border-color: rgba(179, 32, 44, .3);
  box-shadow: 0 6px 24px rgba(179, 32, 44, .10), 0 20px 48px rgba(22, 32, 47, .07);
  background: linear-gradient(180deg, #FFFDFB 0%, var(--white) 42%);
}
.tier-featured::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold));
}
.tier-featured h3 { color: var(--red); }
.tier-flag {
  position: absolute; top: -12px; left: 26px;
  font-size: 12px; font-weight: 700; letter-spacing: .04em;
  color: #fff; background: var(--red);
  padding: 5px 13px; border-radius: 999px; box-shadow: var(--shadow-sm);
}

.pkg-table {
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: var(--white); box-shadow: var(--shadow-sm);
}
.pkg-head, .pkg-row { display: grid; grid-template-columns: 240px 1fr; }
.pkg-head { background: var(--soft); border-bottom: 1px solid var(--line); }
.pkg-head span {
  padding: 15px 24px; font-size: 14px; font-weight: 700; color: var(--ink);
  letter-spacing: .02em;
}
.pkg-head span:first-child { border-right: 1px solid var(--line); }
.pkg-row { border-top: 1px solid var(--line); }
.pkg-row:first-of-type { border-top: 0; }
.pkg-cat {
  padding: 22px 24px; font-size: 15px; font-weight: 600; color: var(--ink);
  background: #FCFCFD; border-right: 1px solid var(--line); line-height: 1.65;
}
.pkg-list { padding: 22px 24px; display: grid; gap: 8px; }
.pkg-list li {
  position: relative; padding-left: 20px;
  font-size: 14.5px; line-height: 1.7; color: var(--muted);
}
.pkg-list li::before {
  content: ""; position: absolute; left: 0; top: .68em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--gold);
}

.price-note {
  display: flex; align-items: flex-start; gap: 14px;
  margin-top: 28px; padding: 22px 26px; border-radius: var(--radius);
  background: var(--red-tint); border: 1px solid rgba(179, 32, 44, .16);
}
.price-note svg {
  width: 22px; height: 22px; flex: 0 0 auto; margin-top: 3px;
  fill: none; stroke: var(--red); stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
.price-note p { font-size: 14.5px; line-height: 1.8; color: var(--ink); }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: start; }
.about-copy h2 { font-size: clamp(24px, 2.4vw, 32px); margin-bottom: 22px; }
.about-copy > p { font-size: 16px; line-height: 1.9; color: var(--muted); margin-bottom: 16px; text-align: justify; }
.about-copy > p:last-of-type { margin-bottom: 36px; }

.office-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 26px; }
.office {
  padding: 24px 22px; border-radius: var(--radius);
  background: var(--soft); border: 1px solid var(--line);
  border-top: 3px solid var(--red);
}
.office-tag {
  display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .06em;
  color: var(--red); margin-bottom: 12px;
}
.office-addr { font-size: 15.5px; font-weight: 600; line-height: 1.72; color: var(--ink); margin-bottom: 10px; }
.office-en { font-size: 12.5px; line-height: 1.7; color: var(--muted); }

/* the Latin-script address lines are bilingual reference text — hide them when the
   page itself is already in English, where the main address field shows English */
html[data-lang="en"] .office-en,
html[data-lang="en"] .en-line { display: none; }
html[data-lang="en"] .office-addr { font-size: 14.5px; line-height: 1.75; }

.campus-row { display: flex; flex-wrap: wrap; gap: 22px; }
.campus-row li {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 14.5px; font-weight: 600; color: var(--ink);
}
.campus-dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--red);
  box-shadow: 0 0 0 4px rgba(179, 32, 44, .13);
}

.about-aside { display: grid; gap: 20px; }
.aside-card {
  padding: 28px 26px; border-radius: var(--radius);
  background: var(--navy-deep); color: #fff;
  background-image: radial-gradient(520px 240px at 100% 0%, rgba(216, 164, 68, .16), transparent 62%),
                    linear-gradient(160deg, #131C33, #22315A);
  box-shadow: var(--shadow-md);
}
.aside-card h3 { font-size: 17px; margin-bottom: 22px; }
.aside-label {
  font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px;
}
.aside-label:not(:first-of-type) { margin-top: 24px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list li {
  font-size: 13.5px; font-weight: 500; color: rgba(255, 255, 255, .88);
  padding: 7px 14px; border-radius: 8px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
}
.tag-strong { background: var(--red) !important; border-color: var(--red) !important; color: #fff !important; font-weight: 700 !important; }

.aside-card-quote { background: var(--soft); background-image: none; color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.aside-card-quote p { font-size: 17px; font-weight: 600; line-height: 1.7; color: var(--ink); margin-bottom: 12px; }
.aside-card-quote span { font-size: 13.5px; color: var(--muted); }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: start; }

.contact-form {
  padding: 34px 32px; border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(3px);
}
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: block; margin-bottom: 18px; }
.field > span {
  display: block; font-size: 13.5px; font-weight: 600; letter-spacing: .02em;
  color: rgba(255, 255, 255, .82); margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 15px; line-height: 1.6;
  color: #fff; background: rgba(19, 28, 51, .55);
  border: 1px solid rgba(255, 255, 255, .2); border-radius: 10px;
  padding: 13px 15px; transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.field textarea { resize: vertical; min-height: 108px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, .38); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); background: rgba(19, 28, 51, .8);
  box-shadow: 0 0 0 3px rgba(216, 164, 68, .2);
}
.field select { appearance: none; cursor: pointer; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23D8A444' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center; background-size: 12px 8px;
}
.field select option { background: #1B2745; color: #fff; }
.field.is-invalid input, .field.is-invalid select { border-color: #E8836B; box-shadow: 0 0 0 3px rgba(232, 131, 107, .18); }

.form-note { margin-top: 16px; font-size: 12.5px; line-height: 1.7; color: rgba(255, 255, 255, .55); text-align: center; }

.form-success {
  margin-top: 20px; padding: 22px 24px; border-radius: 12px;
  background: rgba(216, 164, 68, .14); border: 1px solid rgba(216, 164, 68, .38);
}
.form-success strong { display: block; font-size: 16px; color: var(--gold); margin-bottom: 7px; }
.form-success p { font-size: 14.5px; line-height: 1.8; color: rgba(255, 255, 255, .84); }

.contact-aside { display: grid; gap: 18px; }
.qr-card {
  padding: 26px; border-radius: var(--radius); text-align: center;
  background: #fff; box-shadow: var(--shadow-md);
}
.qr-card img { width: 180px; height: auto; margin: 0 auto 14px; }
.qr-card p { font-size: 14px; font-weight: 600; color: var(--ink); }

.contact-block {
  padding: 20px 22px; border-radius: 12px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .13);
}
.contact-block h3 {
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px;
}
.contact-block p { font-size: 14.5px; line-height: 1.75; color: rgba(255, 255, 255, .86); }
.contact-block .en-line { margin-top: 6px; font-size: 12.5px; color: rgba(255, 255, 255, .55); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: #0F1728; color: rgba(255, 255, 255, .68); padding: 52px 0 30px; }
.footer-inner { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 40px; padding-bottom: 34px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-logo { height: 40px; width: auto; margin-bottom: 16px; background: #fff; padding: 7px 12px; border-radius: 8px; }
.footer-brand p { font-size: 14px; line-height: 1.75; max-width: 300px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 22px; align-content: start; }
.footer-nav a { font-size: 14px; transition: color .18s ease; }
.footer-nav a:hover { color: var(--gold); }
.footer-addr p { font-size: 13px; line-height: 1.8; margin-bottom: 10px; }
.footer-addr strong { display: inline-block; min-width: 44px; color: var(--gold); font-weight: 600; }
.footer-legal { padding-top: 22px; }
.footer-legal p { font-size: 12px; line-height: 1.8; color: rgba(255, 255, 255, .42); }

/* ==========================================================================
   TO TOP
   ========================================================================== */
.to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--white); border: 1px solid var(--line);
  box-shadow: var(--shadow-md); cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.to-top:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); background: var(--red); border-color: var(--red); }
.to-top svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.to-top:hover svg { stroke: #fff; }

/* ==========================================================================
   REVEAL
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card, .btn, .to-top { transition: none; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
}

/* Below this width the full nav no longer fits beside the brand, the language
   switch and the header CTA — collapse it into the toggle menu. */
@media (max-width: 1180px) {
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 14px 20px 22px;
    background: rgba(255, 255, 255, .99);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 28px rgba(22, 32, 47, .1);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 13px 12px; font-size: 16px; border-radius: 10px; }
  .nav a.is-active::after { display: none; }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
}

@media (max-width: 900px) {
  .hero { padding-top: calc(var(--header-h) + 48px); padding-bottom: 56px; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section { padding: 68px 0; }
  .section-head { margin-bottom: 38px; }
  .risk-head, .risk-row { grid-template-columns: 1fr; }
  .risk-head span:first-child { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .risk-problem { border-right: 0; border-bottom: 1px dashed var(--line); }
  .pkg-head, .pkg-row { grid-template-columns: 1fr; }
  .pkg-head span:first-child { border-right: 0; border-bottom: 1px solid var(--line); }
  .pkg-cat { border-right: 0; border-bottom: 1px dashed var(--line); }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .brand-logo { height: 34px; }
  .grid-3 { grid-template-columns: 1fr; }
  .office-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stats li { padding: 16px 20px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .field-row { grid-template-columns: 1fr; }
  .contact-form { padding: 26px 20px; }
  .card { padding: 26px 22px; }
  .to-top { right: 16px; bottom: 16px; }
}
