:root {
  --color-primary: #122033;
  --color-primary-content: #f4f7f5;
  --color-secondary: #8a6a2f;
  --color-secondary-content: #fffdf8;
  --color-accent: #9f2d1a;
  --color-accent-content: #fffdf8;
  --color-neutral: #122033;
  --color-neutral-content: #f4f7f5;
  --color-base-100: #ffffff;
  --color-base-200: #f3f6f8;
  --color-base-300: #e3e9ee;
  --color-base-content: #122033;
  --ink: #122033;
  --foam: #f5f7f9;
  --brass: #8a6a2f;
  --gold: #e7d7b0;
  --paper: #ffffff;
  --muted: #4d5c66;
  --line: #e4ebf0;
  --font-body: "Noto Sans SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  --font-num: "Fraunces", "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--foam);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, a, .btn { cursor: pointer; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}
.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 40;
  background: var(--ink); color: var(--foam); padding: 0.5rem 0.8rem;
}
.skip:focus { top: 0.5rem; }
section[id] { scroll-margin-top: 5.25rem; }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(760px, 100%); }

.site-nav {
  position: sticky; top: 0; z-index: 30;
  background: var(--ink); color: var(--foam);
  min-height: 4.25rem; padding: 0 max(20px, calc((100% - 1120px) / 2));
  display: flex; align-items: center; gap: 1rem;
}
.site-nav .navbar-start,
.site-nav .navbar-end { display: flex; align-items: center; gap: 0.5rem; width: auto; }
.site-nav .navbar-end { margin-left: auto; }
.site-nav .navbar-center { display: flex; gap: 1.35rem; margin-left: auto; }
.site-nav .navbar-center a {
  color: var(--gold); text-decoration: none; min-height: 44px;
  display: inline-flex; align-items: center;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.6rem; white-space: nowrap;
  color: var(--foam); text-decoration: none; font-weight: 700; letter-spacing: 0.08em;
}
.brand img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.nav-toggle { display: none; color: var(--foam); }
.icon { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 2; }
.btn { min-height: 44px; border-radius: 999px; padding-inline: 1.15rem; }
.btn-primary { background: var(--brass); border-color: var(--brass); color: #fffdf8; }
.btn-primary:hover { background: #6f5424; border-color: #6f5424; }
.btn-outline { background: #fff; border-color: #c9d3da; color: var(--ink); }
.site-nav .btn-ghost { color: var(--foam); }

.opening { padding: 4.2rem 0 3rem; }
.opening-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 2.5rem;
  align-items: center;
}
.eyebrow {
  margin: 0 0 0.75rem; color: var(--brass);
  letter-spacing: 0.18em; font-size: 0.82rem; font-weight: 700;
}
h1 {
  margin: 0; font-size: clamp(2.3rem, 4.4vw, 3.7rem);
  line-height: 1.16; font-weight: 700; letter-spacing: -0.03em;
}
.lede { font-size: 1.05rem; max-width: 38rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.2rem 0; }
.fine { color: var(--muted); max-width: 36rem; margin: 0; }
.hero-frame {
  margin: 0; position: relative; height: 22rem;
  border-radius: 1.25rem; overflow: hidden; background: var(--ink);
}
.hero-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-frame figcaption {
  position: absolute; left: 1rem; bottom: 1rem; margin: 0;
  background: var(--gold); color: var(--ink); padding: 0.35rem 0.7rem; font-weight: 700;
}

.block { padding: 4.25rem 0; }
.section-title { text-align: center; max-width: 40rem; margin: 0 auto 2rem; }
.section-title.left { text-align: left; margin: 0 0 1.2rem; }
.section-title h2 { margin: 0 0 0.45rem; font-size: clamp(1.7rem, 3vw, 2.15rem); line-height: 1.25; }
.section-title p { margin: 0; color: var(--muted); }
.section-title.light h2, .section-title.light p { color: #f4f7f5; }
.section-title.light p { color: var(--gold); }

.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.why-card {
  background: var(--paper); border-radius: 1.1rem; padding: 1.8rem 1.4rem 1.5rem;
  box-shadow: 0 12px 32px rgba(18, 32, 51, 0.06); text-align: center;
}
.bubble {
  width: 3.5rem; height: 3.5rem; margin: 0 auto 0.9rem; border-radius: 50%;
  background: #eef3f6; color: var(--brass);
  display: grid; place-items: center;
}
.bubble svg { width: 1.45rem; height: 1.45rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.why-card h3 { margin: 0 0 0.8rem; font-size: 1.2rem; }
.why-card ul, .service-item ul { margin: 0; padding: 0; list-style: none; text-align: left; }
.why-card li, .service-item li { position: relative; padding-left: 0.95rem; margin: 0.4rem 0; color: #24323a; }
.why-card li::before, .service-item li::before {
  content: ""; position: absolute; left: 0; top: 0.62rem;
  width: 0.35rem; height: 0.35rem; border-radius: 50%; background: var(--brass);
}

.sale {
  background:
    linear-gradient(180deg, rgba(10, 22, 40, 0.28), rgba(10, 22, 40, 0.45)),
    url("./media/yh-hero-harbor.jpg") center / cover no-repeat;
  color: #fff;
  padding-bottom: 0;
}
.sale .section-title { padding-top: 0.4rem; }
.sale-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 1.6rem; }
.sale-row article { padding: 2.4rem 1.3rem 2.6rem; text-align: center; }
.sale-lead { background: #1d4fbf; }
.sale-row svg {
  width: 2.4rem; height: 2.4rem; margin: 0 auto 0.85rem; display: block;
  fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.sale-row h3 { margin: 0 0 0.55rem; font-size: 1.15rem; color: #fff; }
.sale-row p { margin: 0; color: rgba(255, 255, 255, 0.92); }

.service-grid {
  display: grid; grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  gap: 2.5rem; align-items: center;
}
.orbit {
  position: relative; height: 22rem; border-radius: 1.25rem;
  background:
    radial-gradient(circle at 50% 50%, rgba(138, 106, 47, 0.16), transparent 58%),
    #fff;
  box-shadow: 0 12px 32px rgba(18, 32, 51, 0.06);
}
.orbit-core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 9.5rem; height: 9.5rem; border-radius: 50%;
  background: var(--ink); color: var(--foam);
  display: grid; place-items: center; text-align: center; padding: 1rem;
}
.orbit-core strong { font-size: 1.15rem; }
.orbit-core span { font-size: 0.82rem; color: var(--gold); }
.chip {
  position: absolute; min-width: 4.6rem; text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 0.45rem 0.7rem; font-weight: 700; box-shadow: 0 6px 16px rgba(18, 32, 51, 0.06);
}
.chip-a { left: 12%; top: 16%; }
.chip-b { right: 10%; top: 22%; }
.chip-c { left: 50%; bottom: 12%; transform: translateX(-50%); }
.service-list { display: grid; gap: 0.7rem; }
.service-item, .faq .collapse {
  background: #fff; border: 1px solid var(--line); border-radius: 0.9rem;
}
.collapse-title { font-weight: 700; min-height: 52px; }
.collapse-content { color: var(--ink); }

.flow {
  list-style: none; margin: 0; padding: 0.4rem 0 0; position: relative;
  display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 0.4rem 0.3rem;
}
.flow::before {
  content: ""; position: absolute; top: 2.1rem; left: 6%; right: 6%;
  border-top: 2px dotted #b7c6ea; z-index: 0;
}
.flow li { position: relative; z-index: 1; text-align: center; font-weight: 700; font-size: 0.92rem; color: #1c2b4a; }
.flow img {
  width: 4.2rem; height: 4.2rem; margin: 0 auto 0.35rem; display: block;
  object-fit: contain; background: #f5f7f9;
}

.rings {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.85rem;
}
.rings li {
  background: #fff; border-radius: 0.9rem; padding: 1rem 1rem 1.1rem;
  border-top: 3px solid var(--brass); min-height: 100%;
}
.rings h3 { margin: 0 0 0.3rem; font-size: 1.05rem; }
.rings p { margin: 0; color: #24323a; }

.price-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.8rem; }
.price-card {
  background: #fff; border: 1px solid var(--line); border-radius: 1rem; box-shadow: none;
}
.card-body { padding: 1.1rem 1rem 1.2rem; }
.price-card h3 { margin: 0; font-size: 1rem; }
.price-card .num {
  margin: 0.35rem 0 0.45rem; font-family: var(--font-num);
  font-size: 2.6rem; line-height: 1; font-weight: 560;
}
.price-card p { margin: 0; }
.price-card.is-common { background: var(--ink); color: var(--foam); border-color: var(--ink); }
.price-card.is-common .badge { background: var(--gold); color: var(--ink); border: 0; margin-bottom: 0.35rem; }
.table-wrap { overflow-x: auto; margin-top: 1.4rem; }
.table { width: 100%; background: #fff; border-radius: 0.8rem; }
.table caption { text-align: left; font-weight: 700; padding: 0.7rem 0.2rem; }
.table th, .table td { padding: 0.75rem 0.85rem; text-align: left; }
.table th { background: var(--ink); color: var(--foam); }
.faq { display: grid; gap: 0.65rem; }

.managers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.manager {
  background: #fff; border: 1px solid var(--line); border-radius: 1rem;
  padding: 1.2rem 1rem 1.3rem; text-align: center;
}
.manager h3 { margin: 0.15rem 0 0.7rem; font-size: 1.25rem; }
.manager .role { margin: 0; color: var(--brass); font-weight: 700; letter-spacing: 0.08em; font-size: 0.82rem; }
.manager img { width: min(220px, 100%); height: auto; margin: 0 auto 0.7rem; }
.manager .wx { margin: 0 0 0.75rem; font-weight: 700; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; }
.copy-note { min-height: 1.4rem; margin: 0.8rem 0 0; color: var(--brass); font-weight: 700; text-align: center; }
.site-foot { background: var(--ink); color: var(--gold); padding: 1.3rem 20px 1.8rem; text-align: center; }
.site-foot a { color: var(--foam); }

@media (max-width: 980px) {
  .opening-grid, .why-grid, .service-grid, .rings, .managers { grid-template-columns: 1fr; }
  .sale-row { grid-template-columns: 1fr 1fr; }
  .sale-lead { grid-column: 1 / -1; }
  .price-grid, .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-frame { height: 16rem; }
  .orbit { height: 18rem; }
  .flow::before { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-nav { flex-wrap: wrap; }
  .site-nav .navbar-center {
    display: none; width: 100%; flex-direction: column; align-items: flex-start; padding-bottom: 0.7rem;
  }
  .site-nav.is-open .navbar-center { display: flex; }
  .site-nav .navbar-end { display: none; }
}
@media (max-width: 640px) {
  .price-grid, .flow { grid-template-columns: 1fr 1fr; }
  .opening { padding-top: 2.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
