/* 内页通用布局 */
.page-body {
  padding-top: 0;
  min-height: 100vh;
  background: var(--bg);
}

.page-body > #site-header-root + .page-hero,
.page-body > #site-header-root ~ .page-hero {
  margin-top: 0;
}

.page-hero {
  position: relative;
  padding: calc(72px + clamp(56px, 10vw, 100px)) 0 clamp(48px, 8vw, 80px);
  background:
    linear-gradient(135deg, rgba(244, 242, 238, 0.94) 0%, rgba(235, 231, 224, 0.9) 48%, rgba(248, 247, 245, 0.96) 100%),
    var(--page-hero-bg, none);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 85% 20%, rgba(138, 122, 92, 0.14), transparent 60%),
    radial-gradient(ellipse 40% 50% at 10% 80%, rgba(196, 183, 162, 0.18), transparent 55%);
  pointer-events: none;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
}

.page-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

.page-hero__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin-bottom: 18px;
}

.page-hero__desc {
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.8;
  font-weight: 300;
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.page-section {
  padding: clamp(64px, 9vw, 110px) 0;
}

.page-section--alt {
  background: var(--bg-soft);
}

.page-section--dark {
  background: #121212;
  color: #fff;
}

.page-section--dark .page-section__title { color: #fff; }
.page-section--dark .page-section__lead,
.page-section--dark .page-list li { color: rgba(255, 255, 255, 0.55); }
.page-section--dark .page-list li::before { background: #c4b7a2; }

.page-section__head {
  margin-bottom: 40px;
}

.page-section__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.page-section__lead {
  color: var(--muted);
  max-width: 42rem;
  line-height: 1.75;
  font-weight: 300;
}

.page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.page-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.page-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.07);
}

.page-card__media {
  display: block;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #d4c5a9, #948862);
  object-fit: cover;
  width: 100%;
  border: 0;
}

.page-card__body {
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.page-card__index {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
}

.page-card__body h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.08rem;
  line-height: 1.35;
}

.page-card__body p {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.7;
  font-weight: 300;
}

.page-card__link {
  margin-top: auto;
  padding-top: 12px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--text);
}

.page-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}

.page-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.7;
  font-size: 0.95rem;
}

.page-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  margin-top: 0.6em;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.page-metric {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.page-metric__item {
  padding: 20px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.05);
  text-align: center;
}

.page-metric__value {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 300;
  letter-spacing: -0.02em;
}

.page-metric__label {
  margin-top: 6px;
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.04);
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  font: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color 0.25s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--accent);
}

.contact-form textarea {
  min-height: 132px;
  resize: vertical;
}

.contact-form button {
  justify-self: start;
  margin-top: 4px;
}

.contact-aside {
  padding: 28px;
  border-radius: 18px;
  background: var(--bg-warm);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.contact-aside h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.1rem;
  margin-bottom: 14px;
}

.news-item {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 24px;
  align-items: start;
  padding: 30px 0;
  border-bottom: 1px solid var(--border-light);
  transition: opacity 0.25s ease;
}

.news-item:hover { opacity: 0.82; }

.news-item__date {
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.news-item h2,
.news-item h3 {
  font-weight: 400;
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.news-item p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
  font-weight: 300;
}

.news-item__tag {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--light-muted);
  text-transform: uppercase;
  white-space: nowrap;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--light-muted);
  margin-bottom: 22px;
}

.breadcrumb a:hover { color: var(--text); }
.breadcrumb span[aria-current="page"] { color: var(--muted); }

.service-detail {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding: 36px 0;
  border-bottom: 1px solid var(--border-light);
}

.service-detail:last-child { border-bottom: 0; }
.service-detail__media {
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #ddd;
}
.service-detail__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1024px) {
  .page-grid,
  .page-grid--2 { grid-template-columns: 1fr 1fr; }
  .page-split,
  .service-detail { grid-template-columns: 1fr; }
  .page-metric { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .page-hero { padding-top: calc(64px + 48px); }
  .page-grid,
  .page-grid--2 { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 1fr; gap: 8px; }
}
