/* 驰加东都雅苑店 · 门店主页 STORE-HOME（独立于 HUB / SITE-2）
   参考 tyreplus.cn 视觉：白顶栏、驰加绿、黄按钮、全幅主图
   不套用官网文案、400热线、上海主体或「官方旗舰」自称 */
:root {
  --ink: #333333;
  --ink2: #404040;
  --ink3: #666666;
  --line: #e8e8e8;
  --bg: #ffffff;
  --card: #ffffff;
  --yellow: #fce501;
  --yellow-d: #f1db00;
  --green: #009a44;
  --green-2: #78b82a;
  --black: #0a0a0a;
  --black2: #1c1c1c;
  --ok: #009a44;
  --w: 1120px;
  --w-text: 760px;
  --radius: 4px;
  --shadow: 0 4px 16px rgba(0,0,0,.18);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: Arial, Helvetica, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--green); }
.wrap { max-width: var(--w); margin: 0 auto; padding: 0 24px; }
.article-page .wrap { max-width: var(--w-text); }

/* ===== NAV（白顶栏，参考官网标题字号与效果；不套用官网 Logo/官网自称） ===== */
.site-header {
  background: #fff;
  position: sticky; top: 0; z-index: 50;
  box-shadow: 0 5px 6px rgba(0,0,0,.18);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 88px; gap: 16px 30px; flex-wrap: wrap;
  padding-top: 16px; padding-bottom: 16px;
}
.logo {
  color: var(--green); font-size: 26px; font-weight: 700; letter-spacing: .02em;
  text-decoration: none; line-height: 1.2;
}
.logo span {
  display: block; font-size: 13px; font-weight: 400; color: var(--green);
  letter-spacing: .08em; margin-top: 2px;
}
.logo:hover { color: var(--green); text-decoration: none; opacity: .85; }
.nav { display: flex; gap: 8px 30px; list-style: none; flex-wrap: wrap; }
.nav a {
  color: #333; font-size: 20px; text-decoration: none;
  font-weight: 400; line-height: 32px; padding: 0;
  transition: color 0.15s ease-in;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--green); }

/* ===== HERO ===== */
.hero {
  position: relative;
  background: var(--black2);
  color: #fff;
  padding: 56px 0 48px;
  overflow: hidden;
}
.hero.hero-photo { padding: 0; min-height: min(72vw, 560px); display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center center;
  max-width: none;
}
.hero.hero-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.58) 0%, rgba(0,0,0,.28) 38%, rgba(0,0,0,.06) 62%, rgba(0,0,0,0) 100%);
}
.hero h1, .hero .lead { text-shadow: 0 2px 14px rgba(0,0,0,.45); }
.hero-content, .hero .wrap { position: relative; z-index: 1; }
.hero.hero-photo .hero-content { padding: 88px 24px 80px; max-width: var(--w); margin: 0 auto; width: 100%; box-sizing: border-box; }
.hero.hero-photo .tag,
.hero.hero-photo h1,
.hero.hero-photo .lead,
.hero.hero-photo .cta-row { max-width: 22rem; }
.hero .tag {
  display: inline-block;
  background: var(--yellow);
  color: #333;
  font-size: 13px; font-weight: 700;
  padding: 4px 12px; border-radius: 4px;
  margin-bottom: 18px; letter-spacing: .12em;
}
.hero h1 {
  font-size: clamp(24px, 3.6vw, 36px);
  line-height: 1.3; font-weight: 700; margin-bottom: 14px;
  letter-spacing: .06em;
  max-width: 8.2em;
}
.hero .lead { color: #f0f0f0; font-size: 16px; max-width: 22em; line-height: 1.8; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.btn {
  display: inline-block;
  background: var(--yellow); color: #333 !important;
  padding: 12px 28px; border-radius: 4px;
  font-size: 15px; font-weight: 700;
  text-decoration: none !important;
  border: 2px solid var(--yellow);
  letter-spacing: .16em;
  box-shadow: var(--shadow);
}
.btn:hover { background: var(--yellow-d); border-color: var(--yellow-d); color: #333 !important; }
.btn.ghost {
  background: transparent; color: #fff !important;
  border-color: #fff;
  box-shadow: none;
}
.btn.ghost:hover { border-color: var(--yellow); color: var(--yellow) !important; background: transparent; }
.btn.green-outline {
  background: #fff; color: var(--green) !important;
  border-color: var(--green);
  box-shadow: var(--shadow);
}
.btn.green-outline:hover { background: var(--green); color: #fff !important; }

/* ===== SECTIONS ===== */
.section { padding: 56px 0; }
.section + .section { border-top: 0; }
.section h2, .sec-title {
  font-size: clamp(22px, 3vw, 32px); font-weight: 400; margin: 0 auto 28px;
  padding-bottom: 0; border-bottom: 0;
  display: block; text-align: center; letter-spacing: .14em;
  color: #111;
}
.section h2 strong, .sec-title strong { font-weight: 700; }
.section h2::after, .sec-title::after {
  content: "";
  display: block;
  width: 48px; height: 3px;
  background: var(--green);
  margin: 14px auto 0;
}
.article-page h1, .prose h2 { letter-spacing: 0; text-align: left; }
.article-page .section h2::after, .prose h2::after { display: none; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 12px;
}
.card h3 { font-size: 15.5px; font-weight: 650; margin-bottom: 6px; }
.card p, .card li { color: var(--ink2); font-size: 14.5px; }
.card ul { padding-left: 1.2em; margin-top: 6px; }
.card li { margin-bottom: 4px; }

.svc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (max-width: 480px) {
  .svc-grid { grid-template-columns: 1fr; }
}
.svc-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.svc-item strong {
  display: block; font-size: 14.5px; margin-bottom: 4px;
  border-left: 3px solid var(--yellow); padding-left: 8px;
}
.svc-item span { font-size: 13px; color: var(--ink3); }

/* 主页服务卡（参考官网「招牌服务」图卡，用本店实景） */
.svc-cards {
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.svc-card {
  display: block;
  background: #111;
  color: #fff;
  text-decoration: none !important;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  min-height: 0;
}
.svc-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  transition: transform .45s ease, filter .45s ease;
  filter: brightness(.96);
}
.svc-card:hover img { transform: scale(1.04); filter: brightness(.95); }
.svc-card .svc-copy {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 48px 14px 16px;
  background: linear-gradient(to top, rgba(0,0,0,.70) 0%, rgba(0,0,0,.08) 70%, rgba(0,0,0,0) 100%);
  color: #fff;
}
.svc-card strong {
  display: block; font-size: 17px; font-weight: 700;
  letter-spacing: .08em; margin-bottom: 4px;
  border: 0; padding: 0; color: #fff;
}
.svc-card span { font-size: 13px; color: #e8e8e8; line-height: 1.45; }
.svc-more { text-align: center; margin-top: 32px; }
@media (max-width: 900px) {
  .svc-cards { grid-template-columns: 1fr 1fr; }
  .svc-card img { aspect-ratio: 4 / 5; }
}
@media (max-width: 560px) {
  .svc-cards { grid-template-columns: 1fr; gap: 12px; }
  .svc-card img { aspect-ratio: 16 / 9; }
  .hero.hero-photo .hero-content { padding: 48px 18px 40px; }
  .hero.hero-photo { min-height: 0; }
  .hero.hero-photo .hero-bg img { object-position: right 30%; }
  .hero.hero-photo::after {
    background: linear-gradient(to bottom, rgba(0,0,0,.66) 0%, rgba(0,0,0,.42) 100%);
  }
  .hero h1 { letter-spacing: .04em; font-size: 26px; }
  .hero .lead { font-size: 14px; max-width: none; }
  .btn { letter-spacing: .08em; padding: 11px 18px; }
  .site-header .wrap { min-height: 64px; padding-top: 10px; padding-bottom: 10px; }
  .logo { font-size: 20px; }
  .logo span { font-size: 11px; }
  .nav a { font-size: 15px; line-height: 28px; }
}

/* ===== ARTICLE LIST ===== */
.art-list { list-style: none; }
.art-list li {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.art-list li:first-child { padding-top: 0; }
.art-list a {
  font-size: 15.5px; font-weight: 600; text-decoration: none;
  color: var(--ink); display: block;
}
.art-list a:hover { color: var(--yellow-d); text-decoration: underline; }
.art-list time {
  display: block; font-size: 12.5px; color: var(--ink3);
  margin-top: 4px; font-variant-numeric: tabular-nums;
}
.art-list .excerpt {
  font-size: 13.5px; color: var(--ink2); margin-top: 4px;
}

/* ===== ARTICLE BODY ===== */
.article-page { padding: 28px 0 40px; }
.article-page .meta {
  font-size: 13px; color: var(--ink3); margin-bottom: 18px;
}
.article-page h1 {
  font-size: clamp(20px, 4.5vw, 24px);
  line-height: 1.4; font-weight: 720; margin-bottom: 8px;
}
.article-page .byline {
  font-size: 13px; color: var(--ink3); margin-bottom: 22px;
  padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.prose p { margin-bottom: 1em; color: var(--ink2); }
.prose h2 {
  font-size: 17px; font-weight: 700; margin: 1.6em 0 .6em;
  color: var(--ink);
}
.prose h3 { font-size: 15.5px; font-weight: 650; margin: 1.3em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.4em; margin-bottom: 1em; color: var(--ink2); }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--ink); }
.store-note {
  background: #fffbeb;
  border: 1px solid #f0e0a0;
  border-left: 4px solid var(--yellow);
  border-radius: 6px;
  padding: 12px 14px;
  margin: 1.4em 0;
  font-size: 14px; color: var(--ink2);
}
.store-note a { font-weight: 600; }

/* ===== NAP / LOCATION ===== */
.nap-block {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.nap-block dt {
  font-size: 12px; color: var(--ink3); text-transform: uppercase;
  letter-spacing: .06em; margin-top: 14px;
}
.nap-block dt:first-child { margin-top: 0; }
.nap-block dd {
  font-size: 16px; font-weight: 600; margin-top: 2px;
  word-break: break-all;
}
.nap-block dd a { text-decoration: none; font-weight: 700; }
.nap-block .phones a {
  display: inline-block; margin-right: 14px; margin-top: 4px;
}
.map-hint {
  background: var(--card);
  border: 1px dashed var(--ink3);
  border-radius: var(--radius);
  padding: 16px;
  margin-top: 16px;
  font-size: 14px; color: var(--ink2);
}
.map-hint code {
  background: #f0f0f0; padding: 2px 6px; border-radius: 3px;
  font-size: 13px;
}


/* ===== PHOTO CAROUSEL ===== */
.photo-section { padding-top: 56px; }
.photo-carousel {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.photo-carousel-viewport { overflow: hidden; }
.photo-carousel-track {
  display: flex;
  transition: transform .55s ease;
}
.photo-carousel-track figure {
  margin: 0;
  flex: 0 0 100%;
  min-width: 100%;
}
.photo-carousel img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}
.photo-carousel figcaption {
  font-size: 12.5px;
  color: var(--ink3);
  padding: 8px 12px 10px;
}
.photo-carousel-btn {
  position: absolute;
  top: 38%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(10,10,10,.55);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}
.photo-carousel-btn:hover,
.photo-carousel-btn:focus {
  background: rgba(10,10,10,.78);
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}
.photo-carousel-btn.prev { left: 10px; }
.photo-carousel-btn.next { right: 10px; }
.photo-carousel-dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0 12px 12px;
}
.photo-carousel-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #d0d0d0;
  cursor: pointer;
}
.photo-carousel-dots button.is-active {
  background: var(--yellow-d);
  width: 18px;
  border-radius: 6px;
}
@media (prefers-reduced-motion: reduce) {
  .photo-carousel-track { transition: none; }
}


/* ===== FOLLOW US ===== */
.follow-us {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 40px 0 36px;
  margin-top: 0;
  color: var(--ink);
}
.follow-us h2 {
  display: block;
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--ink);
}
.follow-us h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 2px;
  background: var(--ink);
  margin: 14px auto 0;
}
.follow-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px 64px;
  margin-top: 28px;
}
.follow-qr {
  margin: 0;
  text-align: center;
}
.follow-qr img {
  width: 168px;
  height: 168px;
  display: block;
  margin: 0 auto 12px;
  background: #fff;
}
.follow-qr figcaption {
  font-size: 13px;
  color: var(--ink2);
  line-height: 1.6;
}
.follow-contact {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink2);
  max-width: 440px;
}
.follow-contact .name {
  color: var(--ink);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 8px;
}
.follow-contact p { margin: 0 0 2px; }
.follow-contact a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 650;
}
.follow-contact a:hover { color: var(--green); }
@media (max-width: 640px) {
  .follow-us { padding: 32px 0 28px; }
  .follow-grid { gap: 24px; }
  .follow-contact { max-width: 100%; text-align: center; }
}

/* ===== FOOTER（浅底，与官网页脚气质接近；法律信息仍用本店主体） ===== */
.site-footer {
  background: #f4f4f4;
  color: #666;
  padding: 32px 0 40px;
  margin-top: 0;
  font-size: 13px;
  border-top: 1px solid #e0e0e0;
}
.site-footer a { color: #333; text-decoration: none; }
.site-footer a:hover { color: var(--green); }
.site-footer .name { color: #333; font-weight: 700; margin-bottom: 6px; }
.site-footer .links { margin: 12px 0; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.site-footer .fine { color: #999; font-size: 12px; margin-top: 10px; }

/* ===== MISC ===== */
.more-link {
  display: inline-block; margin-top: 10px;
  font-size: 14px; font-weight: 600; text-decoration: none;
  color: var(--ink);
  border-bottom: 2px solid var(--green);
}
.more-link:hover { color: var(--green); }
.art-list-wrap { max-width: 820px; margin: 0 auto; }
.bound {
  font-size: 13.5px; color: var(--ink3);
  background: #f5f5f5; border-radius: 6px; padding: 12px 14px;
  margin-top: 16px;
}
.bound strong { color: var(--ink2); }
