:root {
  color-scheme: light;
  --ink: #17212f;
  --muted: #5f6373;
  --line: #dce3ea;
  --paper: #ffffff;
  --soft: #f6f8f7;
  --wash: #faf8f4;
  --brand: #8a1f2d;
  --brand-dark: #5f141f;
  --accent: #116466;
  --accent-soft: #ebf6f4;
  --gold: #b78537;
  --rose-soft: #fbf3f4;
  --shadow: 0 20px 58px rgba(23, 33, 47, 0.12);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  color: var(--ink);
  background: var(--wash);
  line-height: 1.68;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(220, 227, 234, 0.86);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

.nav,
.hero,
.decision-strip,
.content-grid,
.form-section,
.site-footer > div {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

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

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

.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
}

.brand strong,
.brand em {
  display: block;
}

.brand strong {
  font-size: 18px;
  line-height: 1.2;
}

.brand em,
.nav-links,
.hero-copy p,
.copy-block p,
.step-list p,
.form-copy p,
.phone-hint,
.form-status,
.site-footer {
  color: var(--muted);
}

.brand em {
  margin-top: 2px;
  font-style: normal;
  font-size: 13px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  padding: 8px 12px;
}

.nav-links a:hover {
  background: var(--soft);
  color: var(--brand);
}

.hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.82fr);
  gap: 48px;
  align-items: center;
  padding-top: 54px;
  padding-bottom: 62px;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow,
.panel-kicker,
.form-head p {
  margin: 0 0 12px;
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0;
}

h1,
h2 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  max-width: 650px;
  font-size: clamp(38px, 5.4vw, 66px);
}

h2 {
  font-size: clamp(25px, 3vw, 36px);
}

.hero-copy > p:not(.eyebrow),
.form-copy p,
.copy-block p {
  max-width: 620px;
  margin: 22px 0 0;
  font-size: 18px;
}

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

.button,
.button-secondary,
.submit-btn,
.mobile-topic-action a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 6px;
  padding: 11px 18px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.button,
.mobile-topic-action a:last-child {
  background: var(--brand);
  color: #fff;
}

.button:hover,
.mobile-topic-action a:last-child:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

.button-secondary,
.mobile-topic-action a:first-child {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.button-secondary:hover,
.mobile-topic-action a:first-child:hover {
  border-color: #c4d0d9;
  background: var(--soft);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.trust-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid rgba(17, 100, 102, 0.18);
  border-radius: 6px;
  background: #fff;
  padding: 7px 12px;
  color: #274348;
  font-size: 14px;
  font-weight: 800;
}

.hero-panel {
  margin: 0;
}

.hero-media {
  margin: 0;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  object-position: right center;
  border: 1px solid rgba(220, 227, 234, 0.9);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.panel-card {
  width: min(86%, 390px);
  margin: -66px auto 0;
  position: relative;
  border: 1px solid rgba(220, 227, 234, 0.92);
  border-top: 4px solid var(--accent);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  padding: 22px 24px 24px;
  box-shadow: 0 16px 44px rgba(23, 33, 47, 0.13);
}

.panel-card ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: intake;
}

.panel-card li {
  counter-increment: intake;
  position: relative;
  padding-left: 34px;
  font-weight: 800;
}

.panel-card li::before {
  content: counter(intake, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--brand);
  font-size: 13px;
}

.decision-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-bottom: 44px;
}

.decision-strip article,
.step-list div,
.contact-form {
  border: 1px solid rgba(220, 227, 234, 0.92);
  border-radius: 8px;
  background: var(--paper);
}

.decision-strip article {
  padding: 22px;
  box-shadow: 0 12px 30px rgba(23, 33, 47, 0.06);
}

.decision-strip span,
.step-list span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--brand);
  font-weight: 900;
}

.decision-strip h2 {
  font-size: 20px;
}

.decision-strip p {
  margin: 10px 0 0;
  color: var(--muted);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 34px;
  padding-top: 48px;
  padding-bottom: 62px;
  border-top: 1px solid rgba(220, 227, 234, 0.85);
}

.copy-block {
  padding-right: 18px;
}

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

.check-list li {
  position: relative;
  padding-left: 30px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.76em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px var(--accent-soft);
}

.step-list {
  display: grid;
  gap: 14px;
}

.step-list div {
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.82);
}

.step-list strong {
  display: block;
  font-size: 18px;
}

.step-list p {
  margin: 8px 0 0;
}

.form-section {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
  padding-top: 58px;
  padding-bottom: 74px;
  border-top: 1px solid rgba(220, 227, 234, 0.85);
}

.form-copy {
  position: sticky;
  top: 104px;
}

.note {
  margin-top: 24px;
  border-left: 4px solid var(--accent);
  border-radius: 0 8px 8px 0;
  background: var(--accent-soft);
  padding: 15px 16px;
  color: #30414a;
}

.contact-form {
  display: grid;
  gap: 12px;
  padding: 26px;
  box-shadow: var(--shadow);
}

.form-head {
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  margin-bottom: 2px;
}

.form-head p {
  margin-bottom: 6px;
}

.form-head strong {
  display: block;
  font-size: 18px;
}

.contact-form label,
.contact-form legend {
  color: var(--ink);
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #cfd8e2;
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  outline: none;
}

.contact-form textarea {
  min-height: 126px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(17, 100, 102, 0.12);
}

.contact-form input.is-valid {
  border-color: rgba(17, 100, 102, 0.7);
}

.phone-row {
  display: grid;
  grid-template-columns: 184px minmax(0, 1fr);
  gap: 10px;
}

.phone-hint {
  margin-top: -6px;
  font-size: 13px;
}

fieldset {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 6px 0 0;
  padding: 0;
  border: 0;
}

fieldset legend {
  grid-column: 1 / -1;
  margin-bottom: 2px;
}

fieldset label {
  min-height: 48px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--soft);
  padding: 10px 12px;
  font-weight: 700;
  cursor: pointer;
}

fieldset label:has(input:checked) {
  border-color: rgba(17, 100, 102, 0.58);
  background: var(--accent-soft);
  color: #173d42;
}

.contact-form fieldset input {
  width: 16px;
  height: 16px;
  min-height: 16px;
  max-height: 16px;
  flex: 0 0 16px;
  border: 0;
  padding: 0;
  margin: 0;
  margin-top: 3px;
  accent-color: var(--accent);
}

.submit-btn {
  min-height: 50px;
  border: 0;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
}

.submit-btn:hover {
  background: #0d5658;
  transform: translateY(-1px);
}

.submit-btn:disabled {
  background: #aebbc0;
  cursor: not-allowed;
  transform: none;
}

.form-status {
  min-height: 22px;
  margin: 0;
  font-size: 14px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
}

.site-footer > div {
  padding-top: 24px;
  padding-bottom: 24px;
  font-size: 14px;
}

.mobile-topic-action {
  display: none;
}

.success-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(23, 33, 47, 0.42);
}

.success-modal[hidden] {
  display: none !important;
}

.success-box {
  position: relative;
  width: min(420px, 100%);
  border-radius: 8px;
  background: #fff;
  padding: 28px;
  box-shadow: 0 26px 70px rgba(23, 33, 47, 0.24);
}

.success-box button {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: var(--soft);
  font-size: 24px;
  cursor: pointer;
}

.success-box h2 {
  margin-bottom: 10px;
}

.success-box p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 960px) {
  .site-header {
    position: static;
  }

  .nav {
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .hero,
  .content-grid,
  .form-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 32px;
    padding-top: 36px;
  }

  .hero-copy {
    max-width: none;
  }

  .decision-strip {
    grid-template-columns: 1fr;
  }

  .form-copy {
    position: static;
  }

  .copy-block {
    padding-right: 0;
  }
}

@media (max-width: 620px) {
  body {
    padding-bottom: 78px;
  }

  .nav,
  .hero,
  .decision-strip,
  .content-grid,
  .form-section,
  .site-footer > div {
    padding-left: 18px;
    padding-right: 18px;
  }

  .brand strong {
    font-size: 17px;
  }

  .brand em {
    font-size: 12px;
  }

  .nav-links a {
    min-height: 34px;
    padding: 7px 10px;
  }

  .hero {
    padding-top: 30px;
    padding-bottom: 42px;
  }

  h1 {
    font-size: 38px;
  }

  .hero-copy > p:not(.eyebrow),
  .form-copy p,
  .copy-block p {
    font-size: 17px;
  }

  .actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .trust-strip {
    gap: 8px;
  }

  .trust-strip span {
    width: 100%;
  }

  .panel-card {
    width: calc(100% - 24px);
    margin-top: -42px;
    padding: 18px;
  }

  .decision-strip {
    padding-bottom: 34px;
  }

  .content-grid,
  .form-section {
    padding-top: 42px;
    padding-bottom: 48px;
  }

  .phone-row,
  fieldset {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 20px;
  }

  .mobile-topic-action {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 30;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    border: 1px solid rgba(220, 227, 234, 0.95);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    padding: 8px;
    box-shadow: 0 18px 42px rgba(23, 33, 47, 0.18);
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .mobile-topic-action.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-topic-action a {
    min-height: 42px;
    padding: 9px 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button,
  .button-secondary,
  .submit-btn,
  .mobile-topic-action,
  .mobile-topic-action a {
    transition: none;
  }
}
