:root {
  --navy: #0b2d52;
  --navy-2: #123d6d;
  --gold: #d7a536;
  --gold-2: #b8861f;
  --ink: #26323f;
  --muted: #647180;
  --line: #e5e9ef;
  --paper: #fffdf8;
  --soft: #f6f8fb;
  --white: #ffffff;
  --shadow: 0 16px 40px rgba(11, 45, 82, 0.1);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 210px;
}

.brand img {
  height: 50px;
  width: auto;
}

.brand-mark {
  display: none;
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand-text {
  display: none;
  font-weight: 800;
  white-space: nowrap;
}

.brand-sun {
  color: var(--gold-2);
}

.brand-peak {
  color: var(--navy);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 650;
}

.nav-links a {
  padding: 8px 0;
}

.nav-links a:hover {
  color: var(--gold-2);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 13px;
  border: 1px solid rgba(11, 45, 82, 0.14);
  border-radius: 999px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.86);
  font-weight: 850;
  white-space: nowrap;
}

.phone-link:hover {
  border-color: var(--gold);
  color: var(--gold-2);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 750;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--gold-2);
}

.btn-secondary {
  background: var(--gold);
  color: #1f2730;
}

.btn-secondary:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-ghost {
  border-color: rgba(11, 45, 82, 0.18);
  color: var(--navy);
  background: var(--white);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-2);
}

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--paper), #ffffff 72%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 45, 82, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(11, 45, 82, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, black, transparent 82%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: 42px;
  align-items: center;
  min-height: 660px;
  padding: 72px 0 82px;
}

.home-main {
  min-height: calc(100vh - 76px);
  background: #071f39;
}

.poster-home {
  position: relative;
  min-height: calc(100vh - 76px);
  overflow: hidden;
}

.poster-home picture,
.poster-home picture > img {
  display: block;
  width: 100%;
}

.poster-home picture > img {
  height: calc(100vh - 76px);
  min-height: 520px;
  object-fit: cover;
  object-position: 65% center;
}

.poster-home picture::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.76) 0%, rgba(255, 255, 255, 0.56) 34%, rgba(255, 255, 255, 0.08) 68%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(7, 31, 57, 0.12) 58%, rgba(7, 31, 57, 0.82) 100%);
  pointer-events: none;
}

.poster-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 38px;
  padding-bottom: 42px;
}

.poster-logo {
  width: min(430px, 42vw);
  margin-bottom: 62px;
  filter: drop-shadow(0 8px 18px rgba(255, 255, 255, 0.38));
}

.poster-copy {
  max-width: 820px;
}

.poster-rule {
  display: block;
  width: 116px;
  height: 8px;
  margin-bottom: 24px;
  border-radius: 999px;
  background: var(--gold);
}

.poster-copy h1 {
  max-width: 820px;
  margin-bottom: 24px;
  color: var(--navy);
  font-size: clamp(3.15rem, 6.4vw, 5.8rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.poster-services {
  max-width: 940px;
  margin-bottom: 34px;
  color: var(--navy);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 650;
  white-space: nowrap;
}

.poster-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
}

.poster-primary {
  min-height: 58px;
  padding-inline: 34px;
  border-radius: 999px;
  font-size: 1.08rem;
}

.poster-secondary {
  min-height: 58px;
  padding-inline: 30px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 30px rgba(7, 31, 57, 0.12);
}

.poster-trust {
  display: grid;
  grid-template-columns: repeat(4, max-content);
  gap: 24px 34px;
  margin: auto 0 0;
  padding: 28px 0 0;
  color: var(--white);
  list-style: none;
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  font-weight: 750;
  border-top: 5px solid var(--gold);
}

.poster-trust .check {
  width: 25px;
  height: 25px;
  margin-right: 10px;
  background: transparent;
  border: 3px solid var(--gold);
  color: var(--gold);
  font-size: 0.95rem;
}

.poster-trust li {
  display: inline-flex;
  align-items: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--gold-2);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--gold);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  color: var(--navy);
  font-size: clamp(2.2rem, 4.8vw, 4.55rem);
  line-height: 1.08;
  margin-bottom: 20px;
}

h2 {
  color: var(--navy);
  font-size: clamp(1.85rem, 3vw, 2.7rem);
  line-height: 1.18;
  margin-bottom: 14px;
}

h3 {
  color: var(--navy);
  font-size: 1.15rem;
  line-height: 1.3;
  margin-bottom: 10px;
}

.lead {
  max-width: 760px;
  color: #3e4d5d;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
}

.trust-line {
  margin: 22px 0 0;
  color: var(--navy);
  font-weight: 750;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-panel {
  padding: 28px;
  border: 1px solid rgba(11, 45, 82, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.hero-panel img {
  width: min(330px, 92%);
  margin: 0 auto 24px;
}

.stat-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stat-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #354555;
}

.check {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(215, 165, 54, 0.18);
  color: var(--gold-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 900;
}

.section {
  padding: 86px 0;
}

.section-soft {
  background: var(--soft);
}

.section-paper {
  background: var(--paper);
}

.home-trust-section {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head p {
  color: var(--muted);
  font-size: 1.04rem;
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.card p {
  margin-bottom: 0;
  color: var(--muted);
}

.service-card {
  border-top: 4px solid var(--gold);
}

.trust-card {
  border-top: 4px solid var(--navy);
}

.credentials-block {
  margin-top: 54px;
}

.review-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  border-left: 4px solid var(--gold);
}

.review-callout h2,
.review-callout h3 {
  margin-bottom: 8px;
}

.review-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.package-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.package-card.featured {
  border-color: rgba(215, 165, 54, 0.72);
  box-shadow: var(--shadow);
}

.price {
  color: var(--navy);
  font-size: 1.45rem;
  font-weight: 850;
}

.package-note {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.package-card ul,
.plain-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.package-card li,
.plain-list li {
  position: relative;
  padding-left: 22px;
  color: #3c4a58;
}

.package-card li::before,
.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.process {
  counter-reset: step;
}

.step-card {
  position: relative;
  padding-top: 54px;
}

.step-card::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 20px;
  left: 22px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1.12fr);
  gap: 34px;
  align-items: start;
}

.profile {
  width: 100%;
  max-width: 460px;
  justify-self: end;
  border-left: 4px solid var(--gold);
}

.advisor-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  object-fit: cover;
  object-position: center top;
}

.profile-name {
  color: var(--navy);
  font-size: 1.35rem;
  font-weight: 850;
}

.qr-grid {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(220px, 1fr);
  gap: 22px;
  align-items: center;
}

.qr-card img {
  width: min(260px, 100%);
  margin: 0 auto;
  border: 0;
  border-radius: 4px;
}

.qr-placeholder {
  min-height: 260px;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(11, 45, 82, 0.3);
  border-radius: var(--radius);
  color: var(--muted);
  background: var(--white);
  font-weight: 750;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  min-height: 58px;
  padding: 16px 20px;
  border: 0;
  background: var(--white);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-weight: 800;
  cursor: pointer;
}

.faq-question::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--gold-2);
}

.faq-item.active .faq-question::after {
  content: "-";
}

.faq-answer {
  display: none;
  padding: 0 20px 18px;
  color: var(--muted);
}

.faq-item.active .faq-answer {
  display: block;
}

.contact-card {
  background: var(--navy);
  color: var(--white);
  border: 0;
}

.contact-card h2,
.contact-card h3 {
  color: var(--white);
}

.contact-card p,
.contact-card .plain-list li {
  color: rgba(255, 255, 255, 0.9);
}

.contact-card .plain-list li::before {
  background: var(--gold);
}

.contact-card a,
.contact-card .copy-wechat {
  color: var(--white);
}

.copy-wechat {
  border: 0;
  background: transparent;
  padding: 0;
  text-decoration: underline;
  cursor: pointer;
}

.form-card {
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field-full {
  grid-column: 1 / -1;
}

label,
.label {
  color: var(--navy);
  font-weight: 780;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #cfd7e2;
  border-radius: var(--radius);
  padding: 10px 12px;
  color: var(--ink);
  background: var(--white);
}

textarea {
  resize: vertical;
  min-height: 124px;
}

.checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #3d4c5c;
}

.check-row input {
  width: 18px;
  min-height: 18px;
  margin-top: 4px;
}

.notice {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-left: 4px solid var(--gold);
  background: #fff8e7;
  color: #594016;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 90px;
  z-index: 80;
  transform: translateX(-50%) translateY(14px);
  padding: 12px 16px;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.site-footer {
  padding: 44px 0 86px;
  background: #071f39;
  color: rgba(255, 255, 255, 0.82);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
  gap: 24px;
}

.site-footer a {
  color: var(--white);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.bottom-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  display: none;
  width: 100vw;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  background: var(--white);
}

.bottom-bar a,
.bottom-bar button {
  min-height: 58px;
  border: 0;
  background: var(--white);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  cursor: pointer;
}

.page-hero {
  padding: 84px 0 56px;
  background: var(--paper);
}

.narrow {
  width: min(820px, calc(100% - 32px));
  margin: 0 auto;
}

.legal-content h2 {
  margin-top: 34px;
  font-size: 1.45rem;
}

.legal-content p,
.legal-content li {
  color: #425161;
}

@media (max-width: 1000px) {
  .grid-4,
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-links {
    gap: 12px;
    font-size: 0.9rem;
  }
}

@media (max-width: 820px) {
  body {
    padding-bottom: calc(70px + env(safe-area-inset-bottom));
  }

  body.home-page {
    padding-bottom: 0;
  }

  .brand img.logo-horizontal {
    display: none;
  }

  .brand-mark {
    display: block;
  }

  .brand-text {
    display: inline;
  }

  .menu-toggle {
    display: inline-block;
  }

  .nav-links {
    position: fixed;
    inset: 76px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 16px 20px;
    border-bottom: 1px solid var(--line);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    min-height: 46px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--line);
  }

  .nav-actions .btn {
    display: none;
  }

  .phone-link {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 52px 0 64px;
  }

  .poster-home,
  .poster-home picture > img {
    min-height: calc(100svh - 76px);
    height: calc(100svh - 76px);
  }

  .poster-home picture > img {
    object-position: 86% center;
  }

  .poster-home picture::after {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0.56) 42%, rgba(7, 31, 57, 0.1) 66%, rgba(7, 31, 57, 0.92) 100%),
      linear-gradient(90deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.18) 68%, transparent 100%);
  }

  .poster-overlay {
    justify-content: flex-start;
    padding-top: 30px;
    padding-bottom: 26px;
  }

  .poster-logo {
    width: min(300px, 78vw);
    margin-bottom: 48px;
  }

  .poster-rule {
    width: 88px;
    height: 6px;
    margin-bottom: 18px;
  }

  .poster-copy h1 {
    max-width: 350px;
    margin-bottom: 18px;
    font-size: clamp(2.4rem, 11vw, 3.45rem);
    line-height: 1.16;
  }

  .poster-services {
    max-width: 340px;
    margin-bottom: 24px;
    font-size: 1rem;
    line-height: 1.7;
    white-space: normal;
  }

  .poster-actions {
    gap: 16px;
  }

  .poster-primary {
    min-height: 52px;
    padding-inline: 24px;
    font-size: 1rem;
  }

  .poster-secondary {
    min-height: 52px;
    padding-inline: 22px;
    font-size: 1rem;
  }

  .poster-trust {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 18px;
    padding-top: 22px;
    font-size: 1rem;
    border-top-width: 4px;
  }

  .poster-trust .check {
    width: 23px;
    height: 23px;
    margin-right: 9px;
  }

  .hero-panel {
    padding: 22px;
  }

  .grid-4,
  .grid-3,
  .grid-2,
  .about-grid,
  .contact-grid,
  .footer-grid,
  .qr-grid {
    grid-template-columns: 1fr;
  }

  .review-callout {
    align-items: flex-start;
    flex-direction: column;
  }

  .review-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .section {
    padding: 62px 0;
  }

  .process {
    gap: 14px;
  }

  .profile {
    max-width: none;
    justify-self: stretch;
  }

  .step-card {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    column-gap: 14px;
    align-items: start;
    padding-top: 20px;
  }

  .step-card::before {
    position: static;
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 36px;
    height: 36px;
    margin-top: 2px;
  }

  .step-card h3,
  .step-card p {
    grid-column: 2;
  }

  .step-card h3 {
    margin-bottom: 6px;
  }

  .form-grid,
  .checks {
    grid-template-columns: 1fr;
  }

  .bottom-bar {
    display: grid;
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -10px 24px rgba(11, 45, 82, 0.1);
    transform: none;
    -webkit-transform: none;
  }

  body.menu-open .bottom-bar {
    display: none;
  }

  .bottom-bar a,
  .bottom-bar button {
    min-height: 60px;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  .brand-text {
    font-size: 0.98rem;
  }

  h1 {
    font-size: 2.2rem;
  }

  .hero-actions,
  .section-head {
    width: 100%;
  }

  .hero-actions .btn,
  .package-card .btn {
    width: 100%;
  }

  .card {
    padding: 20px;
  }

  .profile {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    column-gap: 14px;
    align-items: start;
  }

  .advisor-photo {
    grid-row: 1 / span 3;
    width: 104px;
    height: 130px;
    margin: 0;
    aspect-ratio: auto;
  }

  .profile-name,
  .profile p {
    grid-column: 2;
  }

  .profile-name {
    margin-bottom: 6px;
  }
}
