:root {
  --ink: #243140;
  --muted: #657385;
  --paper: #f8f3e9;
  --surface: #fffdf8;
  --blue: #557c9a;
  --blue-soft: #dcecf4;
  --coral: #e8755b;
  --amber: #d7a84d;
  --peach: #f7d5c4;
  --line: rgba(36, 49, 64, 0.14);
  --shadow: 0 24px 70px rgba(63, 82, 102, 0.16);
  --radius: 8px;
  --body-font: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --display-font: "Noto Serif SC", "Songti SC", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--body-font);
  background:
    linear-gradient(180deg, #fff8ee 0%, #eef7fb 46%, #fff8ee 100%);
  opacity: 0;
  animation: pageIn 620ms ease forwards;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background-image:
    linear-gradient(rgba(85, 124, 154, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(85, 124, 154, 0.055) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

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

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

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 20;
  display: flex;
  width: min(1160px, calc(100% - 28px));
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.78);
  box-shadow: 0 18px 48px rgba(63, 82, 102, 0.12);
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-family: var(--display-font);
  font-size: 15px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--blue), #86b7d4 52%, var(--coral));
}

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

.brand strong {
  font-weight: 900;
}

.brand small {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-nav a {
  padding: 10px 12px;
  border-radius: var(--radius);
  color: rgba(36, 49, 64, 0.72);
  font-size: 14px;
  font-weight: 800;
}

.top-nav a:hover,
.top-nav a:focus-visible {
  background: rgba(85, 124, 154, 0.12);
  color: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.62fr);
  gap: clamp(28px, 6vw, 72px);
  min-height: 92vh;
  padding: 136px max(22px, calc((100vw - 1160px) / 2)) 64px;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 248, 238, 0.86) 0%, rgba(255, 248, 238, 0.46) 42%, rgba(255, 248, 238, 0.08) 72%),
    url("assets/image2-hero.png") center/cover no-repeat;
  transform: scale(1.03);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero::after {
  position: absolute;
  right: 8vw;
  bottom: 14vh;
  z-index: 0;
  width: min(520px, 44vw);
  height: 90px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
  filter: blur(24px);
  animation: soundSweep 7s ease-in-out infinite;
}

.hero-copy,
.portrait-shell {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 16px;
  color: #b16f2c;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: var(--display-font);
  font-weight: 900;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(42px, 6.6vw, 86px);
  line-height: 1.03;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1.14;
}

h3 {
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 1.25;
}

.lead {
  max-width: 680px;
  color: rgba(36, 49, 64, 0.78);
  font-size: 18px;
  line-height: 1.9;
}

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

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(36, 49, 64, 0.16);
  border-radius: var(--radius);
  color: var(--ink);
  font-weight: 900;
  background: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(63, 82, 102, 0.16);
}

.btn.primary {
  border-color: transparent;
  color: #fff;
  background: var(--coral);
}

.btn.secondary {
  border-color: rgba(85, 124, 154, 0.22);
  background: rgba(255, 255, 255, 0.64);
  backdrop-filter: blur(10px);
}

.portrait-shell {
  display: grid;
  gap: 14px;
  justify-self: end;
  width: min(420px, 100%);
}

.portrait-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.76);
  box-shadow: var(--shadow);
  animation: portraitFloat 7s ease-in-out infinite;
  backdrop-filter: blur(18px);
}

.portrait-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 4.7;
  object-fit: cover;
  object-position: center 18%;
  background: #fff;
}

.portrait-caption {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
}

.portrait-caption span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.portrait-caption strong {
  font-family: var(--display-font);
  font-size: 30px;
}

.path-ticket {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.path-ticket span {
  display: grid;
  min-height: 42px;
  place-items: center;
  border: 1px solid rgba(85, 124, 154, 0.18);
  border-radius: var(--radius);
  color: var(--blue);
  font-weight: 900;
  background: rgba(255, 255, 255, 0.66);
  backdrop-filter: blur(12px);
}

.proof-strip,
.section,
.site-footer {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  margin-top: -20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: 0 18px 44px rgba(63, 82, 102, 0.08);
}

.proof-strip div {
  padding: 24px;
  background: rgba(255, 253, 248, 0.88);
}

.proof-strip strong,
.proof-strip span {
  display: block;
}

.proof-strip strong {
  margin-bottom: 8px;
  color: var(--coral);
  font-family: var(--display-font);
  font-size: 34px;
}

.proof-strip span {
  color: var(--muted);
  line-height: 1.6;
}

.section {
  padding: 84px 0;
}

.section-title {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(260px, 0.52fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 30px;
}

.section-title.narrow {
  display: block;
  max-width: 780px;
}

.fit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.fit-grid article,
.trust-card,
.trust-points article,
.program-card,
.booking-form,
.boundary,
.method-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.82);
  box-shadow: 0 18px 46px rgba(63, 82, 102, 0.08);
}

.fit-grid article {
  min-height: 290px;
  padding: 26px;
}

.fit-grid span,
.service-index {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 52px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-weight: 900;
  background: var(--blue);
}

.fit-grid p,
.trust-card p,
.trust-points p,
.program-card p,
.method-panel p,
.contact-intro p,
.boundary span {
  color: var(--muted);
  line-height: 1.82;
}

.trust-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1fr);
  gap: 16px;
}

.trust-card {
  min-height: 410px;
  padding: 30px;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.92), rgba(220, 236, 244, 0.78)),
    var(--surface);
}

.primary-trust h3 {
  margin-top: 16px;
  font-family: var(--display-font);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.18;
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--blue);
  font-weight: 900;
  border-bottom: 2px solid rgba(85, 124, 154, 0.28);
}

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

.trust-points article {
  min-height: 190px;
  padding: 24px;
}

.trust-points strong {
  display: block;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 22px;
}

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

.program-card {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  padding: 26px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.program-card.hero-program {
  grid-row: span 2;
  min-height: 100%;
  background:
    linear-gradient(140deg, rgba(247, 213, 196, 0.72), rgba(255, 253, 248, 0.9) 52%, rgba(220, 236, 244, 0.72)),
    var(--surface);
}

.program-card.is-selected {
  border-color: rgba(85, 124, 154, 0.72);
  box-shadow: 0 26px 70px rgba(85, 124, 154, 0.18);
  transform: translateY(-6px);
}

.program-index {
  display: inline-grid;
  width: 48px;
  height: 48px;
  margin-bottom: 46px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-weight: 900;
  background: var(--blue);
}

.program-card.hero-program .program-index {
  background: var(--coral);
}

.program-card ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 24px;
  padding: 0;
  list-style: none;
}

.program-card li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
}

.program-card li::before {
  position: absolute;
  top: 0.75em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  content: "";
}

.program-card .btn {
  margin-top: auto;
}

.method {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(300px, 0.65fr);
  gap: 24px;
}

.method-panel {
  padding: 30px;
}

.method-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.method-steps span {
  display: grid;
  min-height: 92px;
  place-items: center;
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 22px;
  font-weight: 900;
  background: linear-gradient(135deg, rgba(255, 253, 248, 0.88), rgba(220, 236, 244, 0.82));
}

.method-steps span:last-child {
  grid-column: 1 / -1;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #89b7d2);
}

.section-note {
  max-width: 760px;
  margin: -10px 0 28px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

.tag {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  background: var(--blue-soft);
}

.contact {
  display: grid;
  grid-template-columns: minmax(290px, 0.72fr) minmax(0, 1fr);
  gap: 36px;
}

.boundary {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  padding: 18px;
  background: rgba(220, 236, 244, 0.42);
}

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

.booking-form label {
  display: grid;
  gap: 8px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
}

.booking-form .wide,
.form-submit,
.form-status {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(36, 49, 64, 0.18);
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(255, 253, 248, 0.78);
  outline: none;
}

input,
select {
  height: 48px;
  padding: 0 12px;
}

textarea {
  resize: vertical;
  padding: 12px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(85, 124, 154, 0.14);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--blue);
  font-weight: 800;
  line-height: 1.6;
}

.site-footer {
  display: flex;
  min-height: 110px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer strong {
  color: var(--ink);
}

.service-page {
  width: min(1060px, calc(100% - 40px));
  margin: 0 auto;
  padding: 132px 0 78px;
}

.service-hero {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  padding: clamp(32px, 7vw, 72px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(255, 248, 238, 0.92), rgba(255, 248, 238, 0.5)),
    url("assets/image2-hero.png") center/cover no-repeat;
  box-shadow: var(--shadow);
}

.service-hero h1 {
  max-width: 780px;
}

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

.fit-list article {
  min-height: 210px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.84);
  box-shadow: 0 18px 46px rgba(63, 82, 102, 0.08);
}

.fit-list strong {
  display: block;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.35;
}

.fit-list p {
  color: var(--muted);
  line-height: 1.82;
}

.detail-section,
.faq-section {
  margin: 56px 0;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.82);
  box-shadow: 0 18px 46px rgba(63, 82, 102, 0.08);
}

.detail-section p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

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

.detail-grid article {
  min-height: 220px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 253, 248, 0.92), rgba(220, 236, 244, 0.62));
  box-shadow: 0 18px 46px rgba(63, 82, 102, 0.08);
}

.detail-grid strong {
  display: block;
  margin-bottom: 14px;
  color: var(--ink);
  font-family: var(--display-font);
  font-size: 30px;
  line-height: 1.2;
}

.detail-grid p {
  color: var(--muted);
  line-height: 1.85;
}

.flow-list,
.deliverable-list {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.flow-list {
  counter-reset: flow;
}

.flow-list li,
.deliverable-list li {
  position: relative;
  min-height: 48px;
  padding: 13px 16px 13px 56px;
  border: 1px solid rgba(85, 124, 154, 0.14);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.58);
  line-height: 1.6;
}

.flow-list li::before {
  position: absolute;
  top: 12px;
  left: 14px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  background: var(--blue);
  counter-increment: flow;
  content: counter(flow);
}

.deliverable-list li::before {
  position: absolute;
  top: 20px;
  left: 24px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
  content: "";
}

.faq-section details {
  border-top: 1px solid var(--line);
}

.faq-section details:first-of-type {
  border-top: 0;
}

.faq-section summary {
  padding: 18px 0;
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.faq-section details p {
  margin-bottom: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 760ms ease, transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  .top-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 118px;
  }

  .hero-bg {
    background:
      linear-gradient(180deg, rgba(255, 248, 238, 0.94), rgba(255, 248, 238, 0.54) 48%, rgba(255, 248, 238, 0.9)),
      url("assets/image2-hero.png") 56% center/cover no-repeat;
  }

  .portrait-shell {
    justify-self: start;
    width: min(430px, 100%);
  }

  .portrait-card {
    animation: none;
  }

  .proof-strip,
  .section-title,
  .fit-grid,
  .fit-list,
  .detail-grid,
  .trust-layout,
  .trust-points,
  .program-grid,
  .method,
  .contact {
    grid-template-columns: 1fr;
  }

  .program-card.hero-program {
    grid-row: auto;
  }

  .fit-grid article {
    min-height: auto;
  }

  .fit-grid span,
  .service-index {
    margin-bottom: 24px;
  }
}

@media (max-width: 620px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
  }

  .brand small {
    display: none;
  }

  .hero {
    padding-inline: 18px;
    padding-bottom: 44px;
  }

  h1 {
    font-size: 40px;
  }

  .lead {
    font-size: 16px;
  }

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

  .proof-strip,
  .section,
  .site-footer {
    width: min(100% - 28px, 1160px);
  }

  .section {
    padding: 62px 0;
  }

  .booking-form {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .portrait-card img {
    aspect-ratio: 1 / 1.08;
  }

  .site-footer {
    display: grid;
    gap: 12px;
    padding: 28px 0;
  }

  .service-page {
    width: min(100% - 28px, 1060px);
    padding-top: 112px;
  }

  .service-hero {
    min-height: auto;
    padding: 28px;
  }

  .page-actions {
    justify-content: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }

  [data-animate] {
    opacity: 1;
    transform: none;
  }
}

@keyframes pageIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1.03) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.065) translate3d(-16px, -8px, 0);
  }
}

@keyframes soundSweep {
  0%,
  100% {
    opacity: 0.18;
    transform: translateX(-34px) scaleX(0.72);
  }
  50% {
    opacity: 0.68;
    transform: translateX(34px) scaleX(1.08);
  }
}

@keyframes portraitFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
