/* HRTX — Ultra-luxury bilingual site
   Palette: clean white · deep royal blue · premium red (no gold) */
:root {
  --blue: #0B2A5B;
  --blue-deep: #071A3A;
  --blue-mid: #143A76;
  --blue-soft: #E8EEF8;
  --red: #C41E3A;
  --red-dark: #9E1730;
  --red-soft: #FDECEE;
  --white: #ffffff;
  --off: #F7F9FC;
  --ink: #0E1B2E;
  --muted: #5A6B82;
  --line: #E2E8F2;
  --shadow: 0 18px 50px rgba(7, 26, 58, 0.12);
  --radius: 18px;
  --nav-h: 78px;
  --font: "Inter", "Segoe UI", "PingFang SC", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.container { width: min(1180px, 92%); margin: 0 auto; }
.section { padding: 5rem 0; }
.section.alt { background: var(--off); }
.section-head { max-width: 720px; margin: 0 auto 2.75rem; text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: .85rem;
}
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 .75rem; }
h1 { font-size: clamp(2rem, 4.5vw, 3.35rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.35rem); color: var(--blue); }
h3 { font-size: 1.15rem; color: var(--blue); }
.lead { color: var(--muted); font-size: 1.05rem; margin: 0; }
.muted { color: var(--muted); }

/* Sticky nav */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(11,42,91,.08);
}
.nav {
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand {
  display: flex; align-items: center; gap: .75rem; flex-shrink: 0;
}
.brand img { height: 52px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { color: var(--blue); font-size: .95rem; letter-spacing: .04em; }
.brand-text span { color: var(--muted); font-size: .68rem; max-width: 190px; }
.nav-links {
  display: flex; align-items: center; gap: 1.15rem; flex-wrap: wrap;
}
.nav-links a {
  color: var(--blue-mid);
  font-size: .88rem;
  font-weight: 600;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--red); }
.nav-cta { display: flex; align-items: center; gap: .65rem; }
.lang {
  display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden;
}
.lang a {
  padding: .28rem .7rem; font-size: .78rem; font-weight: 700; color: var(--muted);
}
.lang a.active { background: var(--blue); color: #fff; }
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: .4rem;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--blue); margin: 5px 0;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  padding: .9rem 1.35rem; border-radius: 999px; font-weight: 700; font-size: .92rem;
  border: 2px solid transparent; transition: .2s ease; cursor: pointer; white-space: nowrap;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); }
.btn-secondary { background: var(--blue); color: #fff; }
.btn-secondary:hover { background: var(--blue-deep); }
.btn-outline {
  background: transparent; border-color: rgba(255,255,255,.55); color: #fff;
}
.btn-outline:hover { background: rgba(255,255,255,.1); }
.btn-outline-dark {
  background: transparent; border-color: var(--blue); color: var(--blue);
}
.btn-outline-dark:hover { background: var(--blue-soft); }
.btn-wa { background: #25D366; color: #fff; }
.btn-wa:hover { filter: brightness(.95); }
.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    linear-gradient(135deg, rgba(7,26,58,.92) 0%, rgba(11,42,91,.78) 45%, rgba(196,30,58,.45) 100%),
    radial-gradient(ellipse at 80% 20%, rgba(255,255,255,.12), transparent 50%),
    linear-gradient(180deg, #071A3A 0%, #143A76 100%);
  min-height: calc(100vh - var(--nav-h));
  display: flex; align-items: center;
  padding: 4.5rem 0 5rem;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, transparent 0%, rgba(255,255,255,.03) 50%, transparent 100%),
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 38px,
      rgba(255,255,255,.03) 38px,
      rgba(255,255,255,.03) 39px
    );
  pointer-events: none;
}
.hero-skyline {
  position: absolute; left: 0; right: 0; bottom: 0; height: 160px;
  background:
    linear-gradient(to top, rgba(7,26,58,.9), transparent),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 160' fill='%23ffffff'%3E%3Cg opacity='.12'%3E%3Crect x='40' y='70' width='28' height='90'/%3E%3Crect x='78' y='40' width='36' height='120'/%3E%3Crect x='124' y='55' width='24' height='105'/%3E%3Crect x='170' y='25' width='42' height='135'/%3E%3Crect x='230' y='60' width='30' height='100'/%3E%3Crect x='280' y='15' width='22' height='145'/%3E%3Crect x='312' y='45' width='50' height='115'/%3E%3Crect x='380' y='70' width='26' height='90'/%3E%3Crect x='420' y='30' width='34' height='130'/%3E%3Crect x='470' y='50' width='60' height='110'/%3E%3Crect x='550' y='20' width='28' height='140'/%3E%3Crect x='590' y='55' width='40' height='105'/%3E%3Crect x='650' y='35' width='24' height='125'/%3E%3Crect x='690' y='10' width='18' height='150'/%3E%3Crect x='720' y='48' width='46' height='112'/%3E%3Crect x='780' y='65' width='30' height='95'/%3E%3Crect x='830' y='28' width='38' height='132'/%3E%3Crect x='880' y='50' width='55' height='110'/%3E%3Crect x='950' y='18' width='26' height='142'/%3E%3Crect x='990' y='42' width='42' height='118'/%3E%3Crect x='1050' y='60' width='28' height='100'/%3E%3Crect x='1100' y='35' width='50' height='125'/%3E%3C/g%3E%3C/svg%3E") bottom/cover no-repeat;
  pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.35fr .9fr; gap: 2.5rem; align-items: center;
}
.hero .eyebrow { color: #ffb3bf; }
.hero h1 { margin-bottom: 1rem; }
.hero p { color: rgba(255,255,255,.82); font-size: 1.08rem; max-width: 560px; margin: 0 0 1.8rem; }
.hero-panel {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  padding: 1.6rem;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}
.hero-panel img { height: 96px; width: auto; margin: 0 auto 1rem; }
.hero-panel ul { list-style: none; padding: 0; margin: 0; }
.hero-panel li {
  padding: .55rem 0; border-bottom: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.9); font-size: .95rem;
}
.hero-panel li:last-child { border-bottom: 0; }
.hero-panel li::before {
  content: "◆"; color: var(--red); font-size: .55rem; margin-right: .55rem; vertical-align: middle;
}

/* Trust strip */
.trust {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 1.1rem 0;
}
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: center;
}
.trust-item strong { display: block; color: var(--blue); font-size: .95rem; }
.trust-item span { color: var(--muted); font-size: .82rem; }

/* Cards */
.cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 8px 24px rgba(7,26,58,.04);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--blue-soft); color: var(--blue); font-weight: 800; margin-bottom: 1rem;
}
.card.red-accent .icon { background: var(--red-soft); color: var(--red); }
.card ul { margin: .8rem 0 0; padding-left: 1.1rem; color: var(--muted); font-size: .92rem; }
.card li { margin: .35rem 0; }

/* Process */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  counter-reset: step;
}
.step {
  position: relative; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.4rem 1.2rem 1.4rem;
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: inline-block; font-weight: 800; color: var(--red);
  font-size: 1.1rem; margin-bottom: .6rem;
}

/* China gateway */
.gateway {
  background:
    linear-gradient(120deg, var(--blue-deep), var(--blue-mid) 60%, #3a0d18);
  color: #fff; border-radius: 28px; padding: 2.5rem;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.5rem; align-items: center;
}
.gateway h2 { color: #fff; }
.gateway p { color: rgba(255,255,255,.8); margin: 0 0 1rem; }
.gateway .zh-line {
  font-size: clamp(1.2rem, 2.5vw, 1.7rem); font-weight: 700; color: #ffd0d8; margin-bottom: .5rem;
}

/* Forms */
.form-grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 1.5rem;
}
.form-card, .info-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: 0 10px 30px rgba(7,26,58,.05);
}
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: .85rem; font-weight: 700; color: var(--blue); margin-bottom: .35rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; border-radius: 12px;
  border: 1px solid var(--line); background: var(--off); color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid rgba(11,42,91,.25); border-color: var(--blue);
}
.field .error { color: var(--red); font-size: .8rem; display: none; margin-top: .3rem; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--red); background: var(--red-soft); }
.field.invalid .error { display: block; }
.form-success {
  display: none; background: #e8f8ef; border: 1px solid #b7ebc9; color: #146c2e;
  border-radius: 12px; padding: 1rem; margin-bottom: 1rem; font-weight: 600;
}
.form-success.show { display: block; }
.info-card ul { list-style: none; padding: 0; margin: 0; }
.info-card li { padding: .7rem 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.info-card li:last-child { border-bottom: 0; }
.info-card strong { color: var(--blue); }

/* Map */
.map-wrap {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  min-height: 320px; background: var(--blue-soft);
}
.map-wrap iframe { width: 100%; height: 360px; border: 0; }

/* Page hero (inner) */
.page-hero {
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-mid));
  color: #fff; padding: 3.5rem 0 3rem;
}
.page-hero h1 { margin-bottom: .6rem; }
.page-hero p { color: rgba(255,255,255,.8); max-width: 680px; margin: 0; }

/* Footer */
.site-footer {
  background: var(--blue-deep); color: rgba(255,255,255,.78); padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 1.5rem; margin-bottom: 2rem;
}
.site-footer h4 { color: #fff; margin: 0 0 .8rem; font-size: .95rem; }
.site-footer a { color: rgba(255,255,255,.72); font-size: .9rem; display: block; margin: .35rem 0; }
.site-footer a:hover { color: #fff; }
.footer-brand img { height: 64px; width: auto; margin-bottom: .8rem; filter: drop-shadow(0 2px 8px rgba(0,0,0,.25)); }
.disclaimer {
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.2rem; margin-top: 1rem;
  font-size: .78rem; color: rgba(255,255,255,.55); line-height: 1.55;
}
.footer-bottom {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .82rem; margin-top: 1rem; color: rgba(255,255,255,.5);
}

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 120;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(37,211,102,.45);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; fill: currentColor; }

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(18px); transition: .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Legal pages */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { margin-top: 2rem; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 1.2rem; }

/* Social placeholders */
.socials { display: flex; gap: .6rem; margin-top: .8rem; }
.socials a {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  font-size: .75rem; font-weight: 700;
}

@media (max-width: 980px) {
  .hero-grid, .form-grid, .gateway, .footer-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: .8rem; }
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: inline-block; }
  body.nav-open .nav-links {
    display: flex; flex-direction: column; align-items: flex-start;
    position: absolute; left: 0; right: 0; top: var(--nav-h);
    background: #fff; padding: 1rem 4%; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  body.nav-open .nav-links a { padding: .45rem 0; width: 100%; }
  .nav-cta { display:flex; }
}
@media (max-width: 640px) {
  .cards, .steps, .trust-grid { grid-template-columns: 1fr; }
  .brand-text { display: none; }
  .hero { min-height: auto; padding: 3rem 0 4rem; }
}

.logo-on-dark { mix-blend-mode: lighten; }
.logo-on-dark[src] { /* cleaned png preferred */ }
img.logo-clean { background: transparent; }
