.yyh-cost-page {
  --cost-bg: #f8f9ff;
  --cost-card: #ffffff;
  --cost-soft: #f5f7fd;
  --cost-panel: #eef4ff;
  --cost-line: #d9e3f4;
  --cost-text: #0d1c2e;
  --cost-muted: #44556f;
  --cost-primary: #0066ff;
  --cost-primary-dark: #0050cb;
  min-height: 100vh;
  background:
    linear-gradient(rgba(0, 102, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 102, 255, .035) 1px, transparent 1px),
    var(--cost-bg);
  background-size: 32px 32px;
  color: var(--cost-text);
}

.yyh-cost-page .wrap {
  max-width: none;
}

.yyh-cost-hero {
  padding: 66px 0 86px;
}

.yyh-cost-page-head {
  max-width: 690px;
  margin: 0 auto 72px;
  text-align: center;
}

.yyh-cost-page-head h1 {
  margin: 0 0 20px;
  color: var(--cost-text);
  font-size: 44px;
  font-weight: 800;
  line-height: 1.15;
}

.yyh-cost-page-head p {
  max-width: 620px;
  margin: 0 auto;
  color: var(--cost-muted);
  font-size: 16px;
  line-height: 1.75;
}

.yyh-cost-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 78px;
  align-items: start;
}

.yyh-cost-tool,
.yyh-cost-side-card,
.yyh-cost-side-image,
.yyh-cost-quote-card,
.yyh-cost-result-card {
  border: 1px solid var(--cost-line);
  border-radius: 8px;
  background: var(--cost-card);
  box-shadow: 0 4px 12px rgba(15, 23, 42, .04);
}

.yyh-cost-tool {
  padding: 46px 48px;
}

.yyh-cost-steps {
  display: grid;
  margin-top: 48px;
}

.yyh-cost-steps:first-child {
  margin-top: 0;
}

.yyh-cost-steps span,
.yyh-cost-report-title {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 50px;
  border-bottom: 1px solid #e7edf7;
  color: var(--cost-text);
  font-size: 22px;
  font-weight: 800;
}

.yyh-cost-steps b,
.yyh-cost-step-pill {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 999px;
  background: #dfe7ff;
  color: var(--cost-primary-dark);
  font-size: 16px;
  font-weight: 900;
}

.yyh-cost-step-pill {
  background: var(--cost-primary);
  color: #fff;
}

.yyh-cost-project-picks {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 46px 0 0;
}

.yyh-cost-project-pick {
  display: grid;
  place-items: center;
  gap: 20px;
  min-height: 164px;
  border: 1px solid var(--cost-line);
  border-radius: 8px;
  background: var(--cost-soft);
  color: var(--cost-text);
  padding: 22px 14px;
  cursor: pointer;
  text-align: center;
}

.yyh-cost-project-pick span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 3px solid var(--cost-primary);
  border-radius: 8px;
  color: var(--cost-primary);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.yyh-cost-project-pick strong {
  max-width: 82px;
  color: var(--cost-text);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.yyh-cost-project-pick.is-active,
.yyh-cost-project-pick:hover {
  border-color: #b7c9ec;
  background: #fff;
  box-shadow: 0 5px 12px rgba(15, 23, 42, .06);
}

.yyh-cost-project-pick.is-active strong {
  color: var(--cost-primary);
}

.yyh-cost-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 48px;
  margin-top: 36px;
}

.yyh-cost-grid label,
.yyh-cost-report-fields label {
  display: grid;
  gap: 14px;
  min-width: 0;
  color: var(--cost-text);
  font-size: 14px;
  font-weight: 700;
}

.yyh-cost-grid .yyh-cost-wide {
  grid-column: 1 / -1;
}

.yyh-cost-grid select,
.yyh-cost-report-fields input {
  width: 100%;
  height: 54px;
  border: 1px solid #cbd7ea;
  border-radius: 8px;
  background: var(--cost-soft);
  color: var(--cost-text);
  font-size: 15px;
  padding: 0 18px;
  outline: none;
}

.yyh-cost-grid select:focus,
.yyh-cost-report-fields input:focus {
  border-color: var(--cost-primary);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, .13);
}

.yyh-cost-case-note {
  min-height: 44px;
  color: #52637d;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.6;
}

.yyh-cost-preference-picks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 44px;
}

.yyh-cost-preference-pick {
  min-height: 192px;
  border: 1px solid var(--cost-line);
  border-radius: 8px;
  background: var(--cost-soft);
  color: var(--cost-muted);
  padding: 36px 32px;
  text-align: left;
}

.yyh-cost-preference-pick strong {
  display: block;
  max-width: 80px;
  color: var(--cost-primary-dark);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}

.yyh-cost-preference-pick span {
  display: block;
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.65;
}

.yyh-cost-preference-pick.is-active {
  background: #fff;
  box-shadow: 0 5px 12px rgba(15, 23, 42, .06);
}

.yyh-cost-booking-card {
  margin-top: 52px;
  border: 1px solid #d7e1f6;
  border-radius: 8px;
  background: var(--cost-panel);
  padding: 42px 76px 44px;
}

.yyh-cost-report-title {
  min-height: auto;
  border: 0;
  margin-bottom: 36px;
}

.yyh-cost-report-title h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
}

.yyh-cost-audit-copy {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.yyh-cost-report-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
}

.yyh-cost-booking-card .submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 292px;
  min-height: 56px;
  margin: 46px auto 22px;
  border: 0;
  border-radius: 8px;
  background: var(--cost-primary);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

.yyh-cost-booking-card form .submit {
  width: 292px;
  max-width: 100%;
  padding: 0 28px;
}

.yyh-cost-privacy {
  margin: 0;
  color: #6b7b92;
  font-size: 12px;
  text-align: center;
}

.yyh-cost-hidden-sync {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.yyh-cost-panel {
  display: grid;
  gap: 48px;
}

.yyh-cost-side-card {
  min-height: 504px;
  padding: 72px 66px 54px 78px;
}

.yyh-cost-side-card h2 {
  margin: 0 0 52px;
  color: var(--cost-text);
  font-size: 16px;
  font-weight: 500;
}

.yyh-cost-side-list {
  display: grid;
  gap: 52px;
}

.yyh-cost-side-list div {
  position: relative;
  padding-left: 70px;
}

.yyh-cost-side-list div:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #dfe7ff;
  box-shadow: inset 0 0 0 1px #d3def7;
}

.yyh-cost-side-list b {
  display: block;
  color: var(--cost-text);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
}

.yyh-cost-side-list span {
  display: block;
  margin-top: 10px;
  color: var(--cost-muted);
  font-size: 13px;
  line-height: 1.55;
}

.yyh-cost-side-image {
  overflow: hidden;
}

.yyh-cost-side-image div {
  display: grid;
  place-items: center;
  height: 218px;
  background: linear-gradient(#bdbdbd, #777);
  color: #111;
  font-size: 12px;
}

.yyh-cost-side-image strong {
  display: block;
  padding: 28px 42px 6px;
  color: var(--cost-primary-dark);
  font-size: 14px;
  font-weight: 800;
}

.yyh-cost-side-image span {
  display: block;
  padding: 0 42px 30px;
  color: var(--cost-muted);
  font-size: 13px;
}

.yyh-cost-quote-card {
  position: relative;
  min-height: 420px;
  background: #e9efff;
  padding: 84px 60px 52px;
}

.yyh-cost-quote-card:before {
  content: "”";
  position: absolute;
  top: 20px;
  right: 30px;
  color: #c4d3fb;
  font-size: 120px;
  font-weight: 800;
  line-height: 1;
}

.yyh-cost-quote-card p {
  position: relative;
  z-index: 1;
  margin: 0 0 58px;
  color: #334155;
  font-size: 17px;
  font-style: italic;
  line-height: 1.7;
}

.yyh-cost-quote-card div {
  position: relative;
  padding-left: 58px;
}

.yyh-cost-quote-card div:before {
  content: "张";
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #bfc7d6;
  color: #fff;
  font-weight: 800;
}

.yyh-cost-quote-card b,
.yyh-cost-quote-card span {
  display: block;
}

.yyh-cost-quote-card b {
  color: var(--cost-text);
  font-size: 14px;
}

.yyh-cost-quote-card span {
  color: #52637d;
  font-size: 12px;
}

.yyh-cost-context {
  padding: 10px 0 80px;
}

.yyh-cost-context .section-head {
  display: block;
  margin: 0 0 72px;
  text-align: center;
}

.yyh-cost-context .section-head h2 {
  margin: 0 0 10px;
  color: var(--cost-text);
  font-size: 28px;
  font-weight: 800;
}

.yyh-cost-context .section-lead {
  margin: 0;
  color: var(--cost-muted);
}

.yyh-cost-context .section-head .btn {
  display: none;
}

.yyh-cost-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
}

.yyh-cost-faq-grid article {
  min-height: 220px;
  border: 1px solid var(--cost-line);
  border-radius: 8px;
  background: #fff;
  padding: 74px 82px 54px;
}

.yyh-cost-faq-grid strong {
  display: block;
  color: var(--cost-text);
  font-size: 15px;
  font-weight: 700;
}

.yyh-cost-faq-grid p {
  margin: 24px 0 0;
  color: var(--cost-muted);
  font-size: 14px;
  line-height: 1.75;
}

.yyh-cost-doctor-grid,
.yyh-cost-clinic-grid {
  display: none;
}

.yyh-cost-clinic-card,
.yyh-cost-doctor-card {
  color: inherit;
}

.yyh-cost-result-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
}

.yyh-cost-result-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 28, 46, .52);
}

.yyh-cost-result-card {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  overflow: auto;
  padding: 30px;
}

.yyh-cost-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--cost-line);
  border-radius: 999px;
  background: #fff;
  color: #334155;
  font-size: 24px;
  line-height: 1;
}

.yyh-cost-badge {
  display: inline-flex;
  border-radius: 999px;
  background: #d8fbf4;
  color: #006b5f;
  padding: 6px 11px;
  font-size: 13px;
  font-weight: 800;
}

.yyh-cost-result-card h2 {
  margin: 16px 0;
  padding-right: 38px;
  color: var(--cost-text);
  font-size: 24px;
  line-height: 1.25;
}

.yyh-cost-result-lead {
  margin: -4px 0 18px;
  color: var(--cost-muted);
  font-size: 14px;
  line-height: 1.65;
}

.yyh-cost-price {
  border-radius: 8px;
  background: linear-gradient(135deg, var(--cost-primary-dark), var(--cost-primary));
  color: #fff;
  padding: 20px;
}

.yyh-cost-price small {
  display: block;
  color: #dce9ff;
  font-weight: 800;
}

.yyh-cost-price strong {
  display: block;
  margin-top: 6px;
  font-size: 32px;
  line-height: 1.15;
}

.yyh-cost-meta {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.yyh-cost-meta div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid #edf1f8;
  padding-bottom: 10px;
}

.yyh-cost-meta b {
  color: var(--cost-text);
  white-space: nowrap;
}

.yyh-cost-meta span {
  color: #334155;
  text-align: right;
}

.yyh-cost-result-card p {
  color: #334155;
  font-weight: 700;
  line-height: 1.65;
}

.yyh-cost-result-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  color: var(--cost-muted);
  list-style: none;
}

.yyh-cost-result-card li {
  position: relative;
  padding-left: 16px;
  line-height: 1.55;
}

.yyh-cost-result-card li:before {
  content: "";
  position: absolute;
  left: 0;
  top: .68em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2dd4bf;
}

.yyh-cost-modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 22px;
}

.yyh-cost-reset,
.yyh-cost-primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 8px;
  font-weight: 800;
  text-align: center;
}

.yyh-cost-reset {
  border: 1px solid #bfdbfe;
  background: #fff;
  color: var(--cost-primary-dark);
}

.yyh-cost-primary-link {
  background: var(--cost-primary);
  color: #fff;
}

@media (max-width: 1180px) {
  .yyh-cost-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .yyh-cost-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .yyh-cost-side-card,
  .yyh-cost-quote-card {
    min-height: 0;
  }
}

@media (max-width: 760px) {
  .yyh-cost-hero {
    padding: 36px 0 54px;
  }

  .yyh-cost-page-head {
    margin-bottom: 34px;
    text-align: left;
  }

  .yyh-cost-page-head h1 {
    font-size: 30px;
  }

  .yyh-cost-page-head p {
    font-size: 14px;
  }

  .yyh-cost-tool,
  .yyh-cost-booking-card,
  .yyh-cost-side-card,
  .yyh-cost-quote-card {
    padding: 20px;
  }

  .yyh-cost-steps {
    margin-top: 28px;
  }

  .yyh-cost-steps span,
  .yyh-cost-report-title {
    font-size: 18px;
  }

  .yyh-cost-project-picks,
  .yyh-cost-grid,
  .yyh-cost-preference-picks,
  .yyh-cost-report-fields,
  .yyh-cost-faq-grid,
  .yyh-cost-panel,
  .yyh-cost-modal-actions {
    grid-template-columns: 1fr;
  }

  .yyh-cost-project-pick,
  .yyh-cost-preference-pick {
    min-height: auto;
    padding: 20px;
  }

  .yyh-cost-booking-card .submit {
    width: 100%;
  }

  .yyh-cost-faq-grid article {
    min-height: 0;
    padding: 28px;
  }

  .yyh-cost-side-list {
    gap: 28px;
  }

  .yyh-cost-side-card {
    padding-top: 28px;
  }

  .yyh-cost-side-card h2 {
    margin-bottom: 28px;
  }

  .yyh-cost-result-modal {
    padding: 16px;
    align-items: start;
  }

  .yyh-cost-result-card {
    max-height: calc(100vh - 32px);
    margin-top: 16px;
    padding: 20px;
  }
}
