* { box-sizing: border-box; }
:root {
  color-scheme: light;
  --orange: #F2874C;
  --cream: #FFF6EC;
  --ink: #3D2B22;
  --muted: #6e5548;
  --line: #ead9ca;
  --shadow: 0 3px 14px #3d2b2209;
  font: 100%/1.6 system-ui, "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--cream);
}
body { margin: 0; }
a { color: inherit; }
button, input, select { font: inherit; }
button, summary { cursor: pointer; }
img { display: block; width: 100%; }
p, figure, blockquote, h1, h2, h3 { margin: 0; }
[hidden] { display: none !important; }
.wrap { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }
.top { background: #f7e7d9; font-size: .875rem; }
.top .wrap, .desk .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .3rem 1rem; padding-block: .45rem; }
.top a, .brand, nav a, .btn, .section-head a, .promo a, .service-card { text-decoration: none; }
body > header { background: #fff; }
.mast { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 1.25rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; }
.brand strong { display: block; font-size: clamp(1rem, 2.7vw, 1.43rem); line-height: 1.35; }
.brand small { color: var(--muted); }
.paw { display: grid; place-items: center; background: var(--orange); border-radius: 10px; width: 3rem; height: 3rem; font-size: 1.5rem; flex: none; }
.search { display: flex; width: min(100%, 400px); }
input, select { min-width: 0; border: 1px solid #ceb5a3; background: #fff; color: var(--ink); padding: .62rem .75rem; border-radius: 8px; }
.search input { width: 100%; border-radius: 8px 0 0 8px; }
button, .btn { display: inline-block; background: var(--orange); color: var(--ink); border: 1px solid var(--orange); border-radius: 8px; padding: .6rem 1rem; font-weight: 650; }
button:hover, .btn:hover { background: #f6a373; }
.search button { flex: none; border-radius: 0 8px 8px 0; }
.secondary { background: #fff; border-color: #c99c80; }
nav { background: var(--orange); }
nav .wrap { display: flex; flex-wrap: wrap; }
nav a { padding: .65rem clamp(.55rem, 2.4vw, 1.5rem); font-weight: 650; }
nav a:hover, nav a[aria-current] { background: #ffd0ad; box-shadow: inset 0 -3px #804322; }
.announcement { border-bottom: 1px solid var(--line); background: #fffaf5; }
.announcement .wrap { display: flex; align-items: center; justify-content: space-between; gap: .75rem; font-size: .9rem; min-height: 2.6rem; }
.announcement button { background: transparent; border: 0; color: var(--muted); font-size: 1.2rem; padding: .15rem .4rem; }
main.wrap { padding-block: 1.55rem 3.25rem; }
.hero { display: grid; grid-template-columns: 46% 54%; position: relative; overflow: hidden; background: #fbe2cd; border-radius: 10px; box-shadow: var(--shadow); }
.hero-copy { padding: clamp(1.5rem, 4vw, 3.5rem); align-self: center; }
.hero-note { color: #774626; font-weight: 650; font-size: .875rem; }
h1 { line-height: 1.18; font-size: clamp(1.85rem, 4.5vw, 3rem); }
.hero h1 { margin-block: .55rem .85rem; }
.hero img { height: 100%; min-height: 320px; max-height: 430px; object-fit: cover; }
.actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.15rem; }
.promo { display: flex; align-items: center; justify-content: space-between; gap: .6rem 1rem; flex-wrap: wrap; padding: .75rem 1rem; margin-top: 1rem; background: #ffead8; border: 1px solid var(--line); border-radius: 10px; }
.promo a, .section-head a, .visit a { color: #85401d; font-weight: 650; }
.section { margin-top: 1.8rem; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem 1rem; flex-wrap: wrap; margin-bottom: .65rem; }
.section-head span { color: var(--muted); font-size: .9rem; }
h2 { font-size: 1.35rem; }
h3 { font-size: 1.08rem; }
.grid { display: grid; gap: .9rem; }
.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); }
.service-card, .quote, .review, .booking, .visit, .staff-info { padding: 1rem; }
.service-card > span { font-size: 1.55rem; }
.service-card p { color: var(--muted); margin-block: .25rem .55rem; }
.service-card:hover { border-color: var(--orange); }
.gallery figure, .staff { overflow: hidden; }
.gallery img { aspect-ratio: 3 / 2; object-fit: cover; }
figcaption { padding: .65rem .75rem; }
.quote footer, .review footer { margin-top: .5rem; color: var(--muted); }
.footer { background: #f7e7d9; border-top: 1px solid var(--line); padding: 1.25rem 0 4rem; }
.footer-main { display: flex; flex-wrap: wrap; gap: 1rem 4rem; }
.footer p { margin-top: .2rem; }
.friends, .legal { border-top: 1px solid #e1c8b7; margin-top: .85rem; padding-top: .65rem; }
.legal { color: var(--muted); font-size: .875rem; }
.service { position: fixed; right: 1rem; bottom: 1rem; z-index: 2; }
.service summary { background: var(--orange); border-radius: 10px; padding: .5rem .8rem; font-weight: 650; box-shadow: 0 3px 12px #3d2b2226; list-style: none; width: max-content; margin-left: auto; }
.service summary::-webkit-details-marker { display: none; }
.service > div { position: absolute; right: 0; bottom: 3rem; width: min(285px, calc(100vw - 2rem)); padding: 1rem; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 4px 20px #3d2b2226; }
.service p { margin-block: .35rem; }
.page-intro { margin: .3rem 0 1.25rem; }
.page-intro p { margin-top: .45rem; color: var(--muted); }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: .68rem clamp(.5rem, 2vw, 1rem); border-bottom: 1px solid var(--line); }
th { background: #f7e7d9; }
tbody tr:nth-child(even) { background: #fffaf5; }
tbody tr:last-child td { border-bottom: 0; }
.price th:nth-child(2), .price td:nth-child(2) { white-space: nowrap; }
.appointment { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: start; }
.booking { display: grid; gap: .85rem; }
.booking label { display: grid; gap: .3rem; font-weight: 600; }
.booking button { justify-self: start; }
.booking :is(input, select) { width: 100%; }
.visit p, #search-result { margin-block: .5rem; }
.review header { display: flex; flex-wrap: wrap; align-items: baseline; }
.review h2 { font-size: 1.05rem; }
.review time { margin-left: auto; padding-left: .35rem; white-space: nowrap; }
.review header span, .review time { color: var(--muted); font-size: .875rem; }
.review p { margin-top: .45rem; }
.portrait { display: grid; place-items: center; background: #fbe6d5; height: 8rem; font-size: 2.5rem; }
.vacant { background: #e2dfdd; }
.staff h2 { font-size: 1.12rem; }
.staff-id { color: var(--muted); font-size: .875rem; font-weight: 600; }
.staff-info > p:last-child { margin-top: .3rem; }
.records { background: #fffaf5; }
.records main { padding-bottom: 0; }
.desk { background: #f7e7d9; border-bottom: 1px solid var(--line); }
.desk .wrap { padding-block: .8rem; }
.record-heading { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: .75rem; }
.record-heading h1 { font-size: 2rem; }
.records td, .records th { white-space: nowrap; font-variant-numeric: tabular-nums; }
.picked-up { color: #205738; background: #4CAF7D; padding: .14em .45em; border-radius: 4px; }
.record-footer { font-size: .875rem; color: var(--muted); padding-block: .7rem 1.5rem; }
@media (max-width: 760px) {
  .mast { flex-wrap: wrap; gap: .75rem; }
  .hero { grid-template-columns: 1fr; }
  .hero img { min-height: 0; height: clamp(185px, 50vw, 325px); }
  .four, .three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .wrap { width: calc(100% - 1.25rem); }
  nav a { font-size: .875rem; }
  .two, .appointment, .gallery { grid-template-columns: 1fr; }
  .record-heading { align-items: start; }
}

/* 买家晒单小图：缩略图尺寸，点开才看全 */
.buyer-photo {
  margin: .75rem 0 .25rem;
  display: inline-block;
}
.buyer-photo img {
  display: block;
  width: 132px;
  height: auto;
  border-radius: 6px;
  border: 1px solid rgba(61, 43, 34, .12);
  background: #f2efe9;
}
.buyer-photo figcaption {
  font-size: .75rem;
  color: #8a7a70;
  margin-top: .3rem;
}

/* 团队页真人照片：容器高度跟着图走，避免溢出压住名字 */
.portrait { height: auto; }
.portrait img {
  display: block;
  width: 100%;
  height: 11rem;
  object-fit: cover;
  object-position: center 35%;
}
.portrait.vacant {
  height: 11rem;
  border: 1px dashed rgba(61, 43, 34, .22);
  background: #f4f1ea;
  display: grid;
  place-items: center;
  color: #b9aea6;
  font-size: .8rem;
}

/* 底部留出空间，避免右下角浮层挡住页脚文字（仅手机） */
@media (max-width: 760px) {
  .footer { padding-bottom: 6.5rem; }
}
