:root {
  --ink: #111827;
  --muted: #596575;
  --soft: #f7f3eb;
  --white: #ffffff;
  --mist: #edf3f6;
  --line: #dfe5e8;
  --gold: #b99a62;
  --gold-dark: #8d7448;
  --blue-ink: #1e3346;
  --shadow: 0 28px 80px rgba(27, 42, 58, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(105deg, rgba(247, 243, 235, 0.96) 0%, rgba(255, 255, 255, 0.98) 50%, rgba(237, 243, 246, 0.94) 100%);
  font-family:
    "Noto Sans SC",
    "Microsoft YaHei UI",
    "PingFang SC",
    "Hiragino Sans GB",
    Arial,
    sans-serif;
}

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

.page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(17, 24, 39, 0.025) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(120deg, transparent 0%, #000 22%, #000 68%, transparent 100%);
}

.page::after {
  content: "";
  position: absolute;
  right: -12vw;
  top: 6vh;
  z-index: -1;
  width: 58vw;
  height: 82vh;
  border-radius: 52% 0 0 48%;
  background: linear-gradient(145deg, rgba(231, 238, 241, 0.9), rgba(255, 255, 255, 0.18));
  box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.65);
}

.site-header {
  width: min(1180px, calc(100% - 56px));
  height: 86px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

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

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(185, 154, 98, 0.44);
  border-radius: 50%;
  color: var(--gold-dark);
  background: rgba(255, 255, 255, 0.72);
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 12px 28px rgba(90, 77, 52, 0.08);
}

.brand-text {
  display: grid;
  line-height: 1.1;
}

.brand-text strong {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 20px;
  letter-spacing: 0;
}

.brand-text small {
  margin-top: 4px;
  color: #7b858f;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  color: #394455;
  font-size: 14px;
  white-space: nowrap;
}

.nav-links a,
.header-action,
.btn {
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

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

.header-action {
  flex: 0 0 auto;
  padding: 11px 18px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 999px;
  color: var(--blue-ink);
  background: rgba(255, 255, 255, 0.66);
  font-size: 14px;
}

.header-action:hover {
  border-color: rgba(185, 154, 98, 0.52);
  color: var(--gold-dark);
  transform: translateY(-1px);
}

.hero {
  width: min(1180px, calc(100% - 56px));
  min-height: calc(100vh - 148px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 480px);
  align-items: center;
  gap: clamp(48px, 7vw, 96px);
  padding: 48px 0 76px;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 28px;
  color: var(--gold-dark);
  font-size: 14px;
  font-weight: 700;
}

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

h1 {
  margin: 0;
  max-width: 650px;
  color: #101723;
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
  font-size: clamp(46px, 5.6vw, 76px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 630px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 42px;
}

.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 28px;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.btn-primary {
  color: #fffdf8;
  background: linear-gradient(135deg, #1e3346 0%, #0f1f2f 100%);
  box-shadow: 0 16px 34px rgba(20, 37, 54, 0.22);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(20, 37, 54, 0.28);
}

.btn-secondary {
  border: 1px solid rgba(185, 154, 98, 0.48);
  color: var(--blue-ink);
  background: rgba(255, 255, 255, 0.66);
}

.btn-secondary:hover {
  border-color: rgba(141, 116, 72, 0.8);
  color: var(--gold-dark);
  transform: translateY(-2px);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  margin-top: 46px;
  color: #6b7480;
  font-size: 13px;
}

.trust-row span {
  position: relative;
  padding-left: 14px;
}

.trust-row span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
}

.visual-frame {
  position: relative;
  width: min(100%, 480px);
  min-height: 604px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.58)),
    linear-gradient(145deg, rgba(237, 243, 246, 0.94), rgba(247, 243, 235, 0.72));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  overflow: hidden;
}

.visual-frame::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(185, 154, 98, 0.18);
  border-radius: 6px;
  pointer-events: none;
}

.path-graphic {
  position: relative;
  height: 310px;
  margin: -18px -8px 4px;
}

.path-graphic svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 28px 38px rgba(31, 51, 70, 0.08));
}

.paper {
  stroke: rgba(31, 51, 70, 0.08);
  stroke-width: 1.2;
}

.paper-one {
  opacity: 0.92;
}

.paper-two {
  opacity: 0.84;
}

.growth-line {
  filter: drop-shadow(0 6px 10px rgba(185, 154, 98, 0.18));
}

.panel-heading {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-top: 10px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(31, 51, 70, 0.1);
}

.panel-heading p {
  margin: 0;
  color: #1f3346;
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
  font-size: 26px;
  font-weight: 700;
}

.panel-heading span {
  color: #9aa3ab;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.plan-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 24px 0 0;
  padding: 0;
}

.plan-grid div {
  padding: 0 18px;
  border-right: 1px solid rgba(31, 51, 70, 0.1);
}

.plan-grid div:first-child {
  padding-left: 0;
}

.plan-grid div:last-child {
  padding-right: 0;
  border-right: 0;
}

.plan-grid dt {
  margin-bottom: 8px;
  color: #8b95a1;
  font-size: 12px;
}

.plan-grid dd {
  margin: 0;
  color: #1f3346;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
}

.timeline {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 54px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, rgba(185, 154, 98, 0.84) 0 42%, rgba(31, 51, 70, 0.14) 42% 100%);
}

.timeline-item {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 14px;
  color: #83909b;
  font-size: 13px;
}

.timeline-item span {
  width: 17px;
  height: 17px;
  border: 1px solid rgba(31, 51, 70, 0.18);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.72);
}

.timeline-item.active span {
  border-color: rgba(185, 154, 98, 0.7);
  background: var(--gold);
}

.timeline-item p {
  margin: 0;
  text-align: center;
}

.timeline-item.active p {
  color: #1f3346;
  font-weight: 700;
}

.next-hint {
  position: absolute;
  right: 50%;
  bottom: 0;
  transform: translateX(50%);
  width: min(1180px, calc(100% - 56px));
  height: 72px;
  display: flex;
  align-items: center;
  gap: 34px;
  border-top: 1px solid rgba(31, 51, 70, 0.09);
  color: #87919b;
  font-size: 13px;
}

.next-hint span:first-child {
  color: var(--gold-dark);
}

.services-section {
  position: relative;
  overflow: hidden;
  padding: 118px 0 132px;
  background:
    radial-gradient(circle at 8% 16%, rgba(185, 154, 98, 0.08), transparent 30%),
    linear-gradient(180deg, #fbfaf7 0%, #f3f7f8 100%);
}

.services-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(17, 24, 39, 0.025) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 84%, transparent 100%);
  pointer-events: none;
}

.services-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  width: 44px;
  height: 1px;
  background: var(--gold);
}

.services-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.82fr);
  align-items: end;
  gap: 64px;
  margin-top: 22px;
  margin-bottom: 58px;
}

.services-heading h2 {
  margin: 0;
  color: #101723;
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
  font-size: clamp(38px, 4.1vw, 58px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0;
}

.services-heading p {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 396px;
  padding: 28px;
  border: 1px solid rgba(31, 51, 70, 0.08);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.72)),
    linear-gradient(145deg, rgba(237, 243, 246, 0.74), rgba(247, 243, 235, 0.64));
  box-shadow: 0 22px 52px rgba(27, 42, 58, 0.08);
  overflow: hidden;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 23px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  pointer-events: none;
}

.service-card::after {
  content: "";
  position: absolute;
  right: -42px;
  top: -54px;
  width: 168px;
  height: 168px;
  border-radius: 50%;
  background: rgba(237, 243, 246, 0.72);
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(185, 154, 98, 0.28);
  box-shadow: 0 30px 72px rgba(27, 42, 58, 0.12);
}

.service-card-featured {
  background:
    linear-gradient(180deg, rgba(31, 51, 70, 0.96), rgba(18, 31, 45, 0.96)),
    #1f3346;
  color: #fff;
  box-shadow: 0 30px 80px rgba(20, 37, 54, 0.22);
}

.service-card-featured::after {
  background: rgba(185, 154, 98, 0.18);
}

.service-topline {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.service-index {
  color: rgba(31, 51, 70, 0.38);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.service-card-featured .service-index {
  color: rgba(255, 255, 255, 0.44);
}

.service-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(185, 154, 98, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.68);
}

.service-card-featured .service-icon {
  border-color: rgba(216, 197, 156, 0.36);
  background: rgba(255, 255, 255, 0.08);
}

.service-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
}

.service-icon path,
.service-icon circle {
  stroke: var(--gold-dark);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card-featured .service-icon path,
.service-card-featured .service-icon circle {
  stroke: #d8c59c;
}

.service-card h3 {
  position: relative;
  z-index: 1;
  margin: 74px 0 0;
  color: #1f3346;
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
}

.service-card-featured h3 {
  color: #fffdf8;
}

.service-card p {
  position: relative;
  z-index: 1;
  margin: 18px 0 0;
  color: #65717d;
  font-size: 15px;
  line-height: 1.8;
}

.service-card-featured p {
  color: rgba(255, 255, 255, 0.72);
}

.service-card ul {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: auto 0 0;
  padding: 30px 0 0;
  list-style: none;
}

.service-card li {
  padding: 8px 12px;
  border: 1px solid rgba(31, 51, 70, 0.08);
  border-radius: 999px;
  color: #52606e;
  background: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.service-card-featured li {
  border-color: rgba(216, 197, 156, 0.2);
  color: #f5ead4;
  background: rgba(255, 255, 255, 0.08);
}

.consult-section {
  position: relative;
  overflow: hidden;
  padding: 128px 0 142px;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.94) 0%, rgba(247, 243, 235, 0.9) 48%, rgba(237, 243, 246, 0.96) 100%);
}

.consult-section::before {
  content: "";
  position: absolute;
  right: -14vw;
  top: 12%;
  width: 58vw;
  height: 68%;
  border-radius: 48% 0 0 52%;
  background: linear-gradient(145deg, rgba(232, 239, 242, 0.8), rgba(255, 255, 255, 0.18));
  pointer-events: none;
}

.consult-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 520px);
  align-items: start;
  gap: clamp(52px, 7vw, 92px);
}

.consult-copy h2 {
  max-width: none;
  margin: 24px 0 0;
  color: #101723;
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
  font-size: clamp(30px, 4.1vw, 56px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: 0;
  white-space: nowrap;
}

.consult-lead {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.95;
}

.consult-values {
  display: grid;
  gap: 22px;
  margin-top: 52px;
}

.consult-value {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(31, 51, 70, 0.09);
}

.consult-value:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.consult-value > span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(185, 154, 98, 0.34);
  border-radius: 50%;
  color: var(--gold-dark);
  background: rgba(255, 255, 255, 0.66);
  font-size: 13px;
  font-weight: 800;
}

.consult-value h3 {
  margin: 0;
  color: #1f3346;
  font-size: 18px;
  font-weight: 800;
}

.consult-value p {
  margin: 8px 0 0;
  color: #66717d;
  font-size: 14px;
  line-height: 1.75;
}

.consult-form {
  position: relative;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.72)),
    linear-gradient(145deg, rgba(237, 243, 246, 0.86), rgba(247, 243, 235, 0.76));
  box-shadow: 0 30px 86px rgba(27, 42, 58, 0.13);
  backdrop-filter: blur(18px);
}

.consult-form::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(185, 154, 98, 0.16);
  border-radius: 6px;
  pointer-events: none;
}

.form-header {
  position: relative;
  z-index: 1;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(31, 51, 70, 0.1);
}

.form-header p {
  margin: 0;
  color: #1f3346;
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
  font-size: 28px;
  font-weight: 700;
}

.form-header span {
  display: block;
  margin-top: 8px;
  color: #7c8792;
  font-size: 14px;
}

.form-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.form-grid label {
  display: grid;
  gap: 9px;
}

.form-grid label > span {
  color: #344454;
  font-size: 13px;
  font-weight: 800;
}

.form-wide {
  grid-column: 1 / -1;
}

.form-grid input,
.form-grid select {
  width: 100%;
  height: 52px;
  border: 1px solid rgba(31, 51, 70, 0.12);
  border-radius: 8px;
  padding: 0 16px;
  color: #1f3346;
  background: rgba(255, 255, 255, 0.76);
  font: inherit;
  font-size: 14px;
  outline: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.form-grid select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #8d7448 50%),
    linear-gradient(135deg, #8d7448 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 22px,
    calc(100% - 12px) 22px;
  background-size:
    6px 6px,
    6px 6px;
  background-repeat: no-repeat;
}

.form-grid input::placeholder {
  color: #9aa3ad;
}

.form-grid input:focus,
.form-grid select:focus {
  border-color: rgba(185, 154, 98, 0.64);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 0 4px rgba(185, 154, 98, 0.12);
}

.submit-btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: 100%;
  height: 56px;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  border: 0;
  border-radius: 999px;
  color: #fffdf8;
  background: linear-gradient(135deg, #1e3346 0%, #0f1f2f 100%);
  box-shadow: 0 16px 34px rgba(20, 37, 54, 0.22);
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(20, 37, 54, 0.28);
}

.privacy-note {
  position: relative;
  z-index: 1;
  margin: 16px 0 0;
  color: #7c8792;
  font-size: 12px;
  line-height: 1.7;
  text-align: center;
}

.form-message {
  position: relative;
  z-index: 1;
  min-height: 22px;
  margin: 14px 0 0;
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}

.page-header {
  width: min(1180px, calc(100% - 56px));
}

.nav-links .is-active {
  color: var(--gold-dark);
  font-weight: 800;
}

.site-footer {
  padding: 54px 0;
  background: #101723;
  color: rgba(255, 255, 255, 0.72);
}

.footer-shell {
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1.2fr 1fr;
  gap: 32px;
}

.footer-brand {
  color: #fffdf8;
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
  font-size: 24px;
  font-weight: 700;
}

.site-footer strong {
  display: block;
  margin-bottom: 12px;
  color: #f5ead4;
  font-size: 14px;
}

.site-footer p,
.site-footer a {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  line-height: 1.8;
}

.subpage-main,
.admin-main {
  min-height: 72vh;
  padding: 88px 0 118px;
  background:
    radial-gradient(circle at 84% 10%, rgba(237, 243, 246, 0.96), transparent 32%),
    linear-gradient(115deg, rgba(255, 255, 255, 0.96), rgba(247, 243, 235, 0.88));
}

.subpage-hero,
.subpage-content,
.admin-panel {
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
}

.subpage-hero h1,
.admin-panel h1 {
  max-width: 760px;
  margin: 24px 0 0;
  color: #101723;
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.12;
  letter-spacing: 0;
}

.subpage-hero > p:last-child,
.admin-panel > p {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.subpage-content {
  margin-top: 58px;
}

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

.content-card {
  min-height: 250px;
  padding: 30px;
  border: 1px solid rgba(31, 51, 70, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 22px 52px rgba(27, 42, 58, 0.08);
}

.content-card h3 {
  margin: 0;
  color: #1f3346;
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
  font-size: 25px;
}

.content-card span {
  display: block;
  margin-top: 10px;
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 800;
}

.content-card p {
  margin: 22px 0 0;
  color: #65717d;
  font-size: 15px;
  line-height: 1.85;
}

.process-list {
  display: grid;
  gap: 18px;
  max-width: 780px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  padding: 24px 28px;
  border: 1px solid rgba(31, 51, 70, 0.08);
  border-radius: 16px;
  color: #1f3346;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 18px 42px rgba(27, 42, 58, 0.07);
  font-size: 17px;
  font-weight: 800;
}

.standalone-form {
  max-width: 720px;
}

.admin-panel {
  max-width: 960px;
  padding: 34px;
  border: 1px solid rgba(31, 51, 70, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 28px 80px rgba(27, 42, 58, 0.12);
}

.admin-login,
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.admin-login input {
  min-width: min(100%, 320px);
  height: 48px;
  border: 1px solid rgba(31, 51, 70, 0.12);
  border-radius: 8px;
  padding: 0 14px;
  font: inherit;
}

.admin-login button,
.admin-actions button {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 0 20px;
  color: #fffdf8;
  background: #1e3346;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.admin-workspace {
  margin-top: 30px;
}

#content-editor {
  width: 100%;
  min-height: 360px;
  margin-top: 18px;
  border: 1px solid rgba(31, 51, 70, 0.12);
  border-radius: 8px;
  padding: 18px;
  background: #fbfaf7;
  color: #1f3346;
  font-family: Consolas, monospace;
  font-size: 13px;
  line-height: 1.6;
}

#submission-list {
  overflow: auto;
  max-height: 360px;
  margin-top: 18px;
  padding: 18px;
  border-radius: 8px;
  background: #101723;
  color: #f5ead4;
  font-size: 13px;
}

@media (max-width: 1040px) {
  .site-header,
  .hero,
  .next-hint {
    width: min(92vw, 760px);
  }

  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 28px;
    padding-bottom: 120px;
  }

  .hero-visual {
    justify-content: flex-start;
  }

  .visual-frame {
    min-height: 560px;
  }

  .services-shell {
    width: min(92vw, 760px);
  }

  .services-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

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

  .consult-shell {
    width: min(92vw, 760px);
    grid-template-columns: 1fr;
  }

  .consult-form {
    max-width: 620px;
  }

  .footer-shell,
  .content-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    height: 76px;
  }

  .brand-text small,
  .header-action {
    display: none;
  }

  .hero {
    width: min(91vw, 520px);
    min-height: auto;
    gap: 42px;
    padding: 36px 0 116px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-subtitle {
    font-size: 16px;
    line-height: 1.85;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 32px;
  }

  .trust-row {
    margin-top: 34px;
  }

  .visual-frame {
    min-height: 0;
    padding: 26px 22px 30px;
  }

  .path-graphic {
    height: 230px;
  }

  .panel-heading {
    display: block;
  }

  .panel-heading span {
    display: block;
    margin-top: 8px;
  }

  .plan-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .plan-grid div {
    padding: 0;
    border-right: 0;
  }

  .timeline {
    grid-template-columns: 1fr 1fr;
    gap: 22px 0;
    margin-top: 34px;
  }

  .timeline::before {
    display: none;
  }

  .next-hint {
    width: min(91vw, 520px);
    gap: 20px;
    overflow: hidden;
  }

  .services-section {
    padding: 82px 0 92px;
  }

  .services-shell {
    width: min(91vw, 520px);
  }

  .services-heading {
    margin-bottom: 36px;
  }

  .services-heading p {
    font-size: 16px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
    padding: 26px 22px;
  }

  .service-card h3 {
    margin-top: 52px;
    font-size: 24px;
  }

  .consult-section {
    padding: 84px 0 96px;
  }

  .consult-shell {
    width: min(91vw, 520px);
    gap: 42px;
  }

  .consult-lead {
    font-size: 16px;
  }

  .consult-values {
    margin-top: 36px;
  }

  .consult-value {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 16px;
  }

  .consult-form {
    padding: 26px 22px 28px;
  }

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

  .form-header p {
    font-size: 26px;
  }

  .footer-shell,
  .content-grid {
    width: min(91vw, 520px);
    grid-template-columns: 1fr;
  }

  .subpage-hero,
  .subpage-content,
  .admin-panel {
    width: min(91vw, 520px);
  }

  .subpage-main,
  .admin-main {
    padding: 62px 0 86px;
  }

  .content-card {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
