/* ==========================================================================
   01 — Minimal Zen · Design System
   ========================================================================== */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; line-height: 1.6; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* ---------- Tokens ---------- */
:root {
  /* Color */
  --bg: #FAF8F4;
  --bg-soft: #F2EFE8;
  --bg-dark: #2D4A3E;
  --text: #1A1A1A;
  --text-soft: #6B6862;
  --text-inverse: #FAF8F4;
  --accent: #2D4A3E;
  --accent-light: #5A7565;
  --line: #D9D4C8;
  --line-strong: #A09A8C;

  /* Type */
  --font-heading: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 64px;
  --space-8: 96px;
  --space-9: 128px;
  --space-10: 160px;

  /* Layout */
  --max-w: 1280px;
  --max-w-narrow: 960px;
  --max-w-text: 680px;
  --container-pad: clamp(20px, 5vw, 48px);
  --section-y: clamp(64px, 12vw, 128px);

  /* Other */
  --transition: 400ms cubic-bezier(0.2, 0, 0.1, 1);
  --transition-fast: 200ms ease-out;
}

/* ---------- Base ---------- */
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text);
}

h1 {
  font-size: clamp(44px, 7vw, 80px);
  font-weight: 300;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 300;
}

h3 {
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 400;
}

p { color: var(--text); }
.muted { color: var(--text-soft); }
.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-4);
  display: inline-block;
}

/* Italic accent for heading */
.italic { font-style: italic; color: var(--accent); }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.container-narrow {
  max-width: var(--max-w-narrow);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.container-text {
  max-width: var(--max-w-text);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

section { padding-top: var(--section-y); padding-bottom: var(--section-y); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 13px 32px;  /* 减小垂直 padding 让总高度 ≈ 50px，符合 SOP 48-56px */
  min-height: 50px;
  max-height: 52px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid;
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
  min-width: 180px;
}

.btn-primary {
  background: var(--accent);
  color: var(--text-inverse);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: transparent;
  color: var(--accent);
}

.btn-secondary {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-secondary:hover {
  background: var(--accent);
  color: var(--text-inverse);
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 4px;
  transition: gap var(--transition-fast);
}
.btn-link:hover { gap: 14px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  /* brand 左，menu+CTA 一起靠右 */
  gap: clamp(24px, 3vw, 40px);
  padding: 24px var(--container-pad);
  max-width: var(--max-w);
  margin: 0 auto;
}

.nav-brand {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-right: auto;  /* 把 brand 推到最左，menu + CTA 贴右 */
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-brand .logo-img {
  width: 36px;
  height: 36px;
  display: block;
  object-fit: contain;
}
@media (max-width: 768px) {
  .nav-brand .logo-img { width: 32px; height: 32px; }
  .nav-brand { font-size: 19px; gap: 8px; }
}

.nav-menu {
  display: flex;
  gap: clamp(20px, 2vw, 32px);
  align-items: center;
}

.nav-menu a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-soft);
  transition: color var(--transition-fast);
  position: relative;
}
.nav-menu a:hover,
.nav-menu a.active { color: var(--accent); }
.nav-menu a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -8px;
  height: 1px;
  background: var(--accent);
}

.nav-cta {
  padding: 12px 24px;
  min-height: 40px;
  font-size: 12px;
}

.nav-toggle {
  display: none;
  width: 32px;
  height: 32px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--text);
  transition: transform var(--transition-fast);
}

/* ---------- Hero ---------- */
.hero {
  padding-top: clamp(48px, 8vw, 96px);
  padding-bottom: clamp(64px, 10vw, 128px);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.hero-content { max-width: 600px; }

.hero h1 {
  font-size: clamp(48px, 7.5vw, 96px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-5);
}

.hero p.lead {
  font-size: clamp(17px, 1.4vw, 19px);
  color: var(--text-soft);
  line-height: 1.6;
  margin-bottom: var(--space-6);
  max-width: 480px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
}

.hero-meta {
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
  font-size: 13px;
  color: var(--text-soft);
  letter-spacing: 0.04em;
}

.hero-meta span::before {
  content: '— ';
  color: var(--accent);
  margin-right: 4px;
}

.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--bg-soft);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  bottom: 32px;
  left: 32px;
  background: var(--bg);
  padding: 20px 28px;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 18px;
  line-height: 1.3;
  max-width: 240px;
  border-left: 1px solid var(--accent);
}
.hero-badge small {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 8px;
}

/* ---------- Section header (reusable) ---------- */
.section-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-7);
  align-items: end;
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--line);
}

.section-header h2 { max-width: 540px; }
.section-header .lead {
  color: var(--text-soft);
  max-width: 420px;
  justify-self: end;
}

/* ---------- Services grid ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2vw, 32px);
}

.service-card {
  background: var(--bg);
  padding: 0;
  transition: background var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}
.service-card:hover { background: var(--bg-soft); }

/* Service card cover photo (horizontal 4:3) */
.service-card .cover {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-soft);
}
.service-card .cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 800ms ease;
}
.service-card:hover .cover img { transform: scale(1.04); }

.service-card .body {
  padding: var(--space-5) var(--space-5) var(--space-6);
}

/* ---------- Gallery 3-col flex column-stack (允许竖图 + 横图同列堆叠) ---------- */
.gallery-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}
.gallery-cols .col {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.gallery-cols .tile {
  display: block;
  overflow: hidden;
  background: var(--bg-soft);
  position: relative;
  text-decoration: none;
}
.gallery-cols .tile.v { aspect-ratio: 3/4; }
.gallery-cols .tile.h { aspect-ratio: 4/3; }
.gallery-cols .tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 800ms ease;
}
.gallery-cols .tile:hover img { transform: scale(1.04); }
@media (max-width: 768px) {
  .gallery-cols { grid-template-columns: 1fr; }
}

/* ---------- Storefront / Landmark strip (Contact / Areas / Guide) ---------- */
.storefront-strip {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-4);
  align-items: stretch;
}
.storefront-strip .strip-img {
  position: relative;
  overflow: hidden;
  background: var(--bg-soft);
  aspect-ratio: 3/2;
}
.storefront-strip .strip-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.storefront-strip .strip-img .strip-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 12px 16px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.55) 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
@media (max-width: 768px) {
  .storefront-strip {
    grid-template-columns: 1fr;
  }
  .storefront-strip .strip-img { aspect-ratio: 4/3; }
}

.service-card .num {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: var(--space-4);
}

.service-card h3 {
  font-size: 26px;
  margin-bottom: var(--space-3);
  font-weight: 400;
}

.service-card p {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: var(--space-5);
  min-height: 72px;
}

/* ---------- About preview ---------- */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 96px);
  align-items: center;
}

.about-preview .visual {
  aspect-ratio: 4/5;
  background: var(--bg-soft);
  overflow: hidden;
}
.about-preview .visual img {
  width: 100%; height: 100%; object-fit: cover;
}

.about-preview h2 { margin-bottom: var(--space-5); }
.about-preview p {
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: var(--space-4);
}
.about-preview .signature {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 20px;
  color: var(--accent);
  margin-top: var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px solid var(--line);
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  background: var(--bg-soft);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms ease;
}
.gallery-item:hover img { transform: scale(1.04); }

.gallery-item.tall { grid-row: span 2; aspect-ratio: 3/4; }
.gallery-item.wide { grid-column: span 2; aspect-ratio: 4/3; }
.gallery-item.square { aspect-ratio: 1/1; }
.gallery-item.std { aspect-ratio: 4/3; }

/* ---------- Areas ---------- */
.areas-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
}

.area-row {
  background: var(--bg);
  padding: var(--space-6) var(--space-5);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-4);
  align-items: center;
  transition: background var(--transition);
}
.area-row:hover { background: var(--bg-soft); }
.areas-list > .area-row:last-child:nth-child(odd) { grid-column: 1 / -1; }

.area-row .city-name {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 300;
}
.area-row .city-meta {
  font-size: 13px;
  color: var(--text-soft);
  letter-spacing: 0.05em;
  margin-top: 6px;
}
.area-row .arrow {
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--accent);
  transition: transform var(--transition);
}
.area-row:hover .arrow { transform: translateX(6px); }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--line); }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: var(--space-5) 0;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  font-family: var(--font-heading);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 400;
  color: var(--text);
  transition: color var(--transition-fast);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 300;
  color: var(--accent);
  transition: transform var(--transition);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { color: var(--accent); }
.faq-item .answer {
  padding-top: var(--space-4);
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.7;
  max-width: 720px;
}

/* ---------- Final CTA ---------- */
.final-cta {
  background: var(--bg-dark);
  color: var(--text-inverse);
  padding: clamp(80px, 12vw, 160px) var(--container-pad);
  text-align: center;
}

.final-cta h2 {
  color: var(--text-inverse);
  font-size: clamp(40px, 6vw, 72px);
  margin-bottom: var(--space-5);
}
.final-cta p {
  color: rgba(250, 248, 244, 0.7);
  font-size: 18px;
  max-width: 540px;
  margin: 0 auto var(--space-7);
}

.final-cta .btn-primary {
  background: var(--text-inverse);
  color: var(--accent);
  border-color: var(--text-inverse);
}
.final-cta .btn-primary:hover {
  background: transparent;
  color: var(--text-inverse);
}
.final-cta .btn-secondary {
  color: var(--text-inverse);
  border-color: rgba(250, 248, 244, 0.4);
}
.final-cta .btn-secondary:hover {
  background: var(--text-inverse);
  color: var(--accent);
  border-color: var(--text-inverse);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg);
  padding: clamp(64px, 10vw, 96px) 0 var(--space-6);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

.footer-brand h3 {
  font-size: 28px;
  font-weight: 400;
  margin-bottom: var(--space-3);
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-brand .logo-img {
  width: 44px;
  height: 44px;
  display: block;
}
.footer-brand p {
  color: var(--text-soft);
  max-width: 320px;
  font-size: 15px;
  line-height: 1.7;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-4);
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a {
  color: var(--text-soft);
  font-size: 15px;
  transition: color var(--transition-fast);
}
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  padding-top: var(--space-5);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
  font-size: 13px;
  color: var(--text-soft);
}
.footer-bottom a { color: var(--text-soft); }
.footer-bottom a:hover { color: var(--text); }

/* ---------- Page Hero (for non-home pages) ---------- */
.page-hero {
  padding: clamp(80px, 12vw, 160px) 0 clamp(64px, 8vw, 96px);
  border-bottom: 1px solid var(--line);
}
.page-hero .eyebrow { margin-bottom: var(--space-4); }
.page-hero h1 { max-width: 900px; margin-bottom: var(--space-4); }
.page-hero p.lead {
  font-size: 19px;
  color: var(--text-soft);
  max-width: 640px;
  line-height: 1.6;
}

/* ---------- Pricing list (Contact / Home) ---------- */
.pricing-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.pricing-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--line);
  gap: var(--space-3);
}
.pricing-row:nth-child(odd) { border-right: 1px solid var(--line); padding-right: var(--space-5); }
.pricing-row:nth-child(even) { padding-left: var(--space-5); }
.pricing-row .name { font-family: var(--font-heading); font-size: 22px; font-weight: 400; }
.pricing-row .price { color: var(--accent); font-weight: 500; font-size: 15px; letter-spacing: 0.05em; }
.pricing-row .duration { font-size: 13px; color: var(--text-soft); margin-top: 4px; }

/* ---------- Contact info ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: var(--space-6); }
.contact-info .block { border-top: 1px solid var(--line); padding-top: var(--space-4); }
.contact-info .label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-2);
}
.contact-info .value {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.4;
}
.contact-info .value a { color: var(--text); }
.contact-info .value a:hover { color: var(--accent); }

.contact-map {
  aspect-ratio: 4/5;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.contact-map iframe { width: 100%; height: 100%; border: 0; }
.contact-map .map-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px; color: var(--text-soft);
}

.contact-ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: var(--space-5);
}

/* ---------- Blog list ---------- */
.blog-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6) var(--space-5);
}
.blog-card .cover {
  aspect-ratio: 4/3;
  background: var(--bg-soft);
  overflow: hidden;
  margin-bottom: var(--space-4);
}
.blog-card .cover img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 800ms ease;
}
.blog-card:hover .cover img { transform: scale(1.04); }
.blog-card .meta {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-2);
}
.blog-card h3 {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: var(--space-3);
  transition: color var(--transition-fast);
}
.blog-card:hover h3 { color: var(--accent); }
.blog-card p {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.6;
}

/* ---------- Long-form article (Guide / Blog / Service detail) ---------- */
.article-body {
  max-width: var(--max-w-text);
  margin: 0 auto;
  padding-top: var(--space-7);
  padding-bottom: var(--space-7);
}
.article-body h2 {
  font-size: clamp(28px, 3vw, 38px);
  margin-top: var(--space-7);
  margin-bottom: var(--space-4);
}
.article-body h3 {
  font-size: 24px;
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}
.article-body p {
  font-size: 18px;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: var(--space-4);
}
.article-body ul, .article-body ol {
  padding-left: var(--space-4);
  margin-bottom: var(--space-4);
}
.article-body ul li { list-style: disc; }
.article-body ol li { list-style: decimal; }
.article-body li {
  font-size: 18px;
  line-height: 1.75;
  margin-bottom: 8px;
  color: var(--text);
}
.article-body blockquote {
  margin: var(--space-6) 0;
  padding-left: var(--space-5);
  border-left: 2px solid var(--accent);
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 24px;
  line-height: 1.5;
  color: var(--accent);
}

/* ---------- Tag / chip ---------- */
.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 6px 12px;
  border: 1px solid var(--accent);
  margin-right: 8px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .nav-menu { gap: var(--space-4); }
  .nav-menu a { font-size: 11px; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .blog-list { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-menu { display: none; }
  .nav-toggle { display: flex; }
  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--bg);
    padding: var(--space-4) var(--container-pad);
    border-bottom: 1px solid var(--line);
    gap: var(--space-3);
  }
  .nav-menu.open a { font-size: 14px; padding: 8px 0; }
  .nav-cta { display: none; }

  .hero-grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .hero-visual { order: -1; aspect-ratio: 4/3; }
  .hero h1 { font-size: clamp(40px, 10vw, 56px); }

  .section-header { grid-template-columns: 1fr; gap: var(--space-3); }
  .section-header .lead { justify-self: start; }

  .services { grid-template-columns: 1fr; }
  .about-preview { grid-template-columns: 1fr; gap: var(--space-6); }
  .about-preview .visual { aspect-ratio: 4/3; order: -1; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.wide { grid-column: span 2; }

  .areas-list { grid-template-columns: 1fr; }
  .area-row .city-name { font-size: 26px; }

  .pricing-list { grid-template-columns: 1fr; }
  .pricing-row:nth-child(odd) { border-right: none; padding-right: 0; }
  .pricing-row:nth-child(even) { padding-left: 0; }

  .contact-grid { grid-template-columns: 1fr; }
  .blog-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-5); }

  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
  .contact-ctas .btn { width: 100%; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---- 硬修复补丁：手机端图片一张一张显示、原比例 ---- */
@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
  .gallery-item, .gallery-item.tall, .gallery-item.wide, .gallery-item.square, .gallery-item.std {
    grid-row: auto !important; grid-column: auto !important;
    aspect-ratio: auto !important;
  }
  .gallery-item img { width: 100%; height: auto !important; object-fit: contain !important; }
  .services { grid-template-columns: 1fr !important; }
  .blog-list { grid-template-columns: 1fr !important; }
  .service-card .cover { aspect-ratio: 4/3 !important; }
  .service-card .cover img,
  .blog-card .cover img { width:100%; height:100%; object-fit:cover; }
  /* hero / about / contact 图片按原比例 */
  .hero-visual, .about-block .visual, .about-preview .visual {
    aspect-ratio: auto !important;
  }
  .hero-visual img, .about-block .visual img, .about-preview .visual img {
    width: 100% !important; height: auto !important; object-fit: contain !important;
  }
}
/* ---- 桌面端：hero / final-cta CTA 是横排，两个按钮强制等宽 ---- */
.hero-ctas, .final-cta .ctas {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  gap: 14px;
  align-items: stretch;
}
.hero-ctas .btn, .final-cta .ctas .btn {
  flex: 1 1 200px;
  min-width: 200px;
  max-width: 260px;
}

/* ---- contact-ctas 是 column 容器：按钮宽度统一、高度保持 52px，不拉伸 ---- */
.contact-ctas {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  align-items: stretch !important;
  max-width: 320px !important;
}
.contact-ctas .btn {
  flex: 0 0 auto !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 320px !important;
  min-height: 52px !important;
  height: 52px !important;
}

/* ---- mobile 时按钮一列全宽 ---- */
@media (max-width: 768px) {
  .hero-ctas, .final-cta .ctas {
    flex-direction: column !important;
  }
  .hero-ctas .btn, .final-cta .ctas .btn {
    flex: 1 1 100% !important;
    max-width: none !important;
    width: 100% !important;
    min-width: 0 !important;
  }
  .contact-ctas { max-width: 100% !important; }
}

/* ---- 地图 iframe：去掉之前那个 invert/hue-rotate filter，地图自然显示 ---- */
.contact-map iframe { filter: none !important; }

/* ---- 手机端 Footer 真·2 行布局（SOP 1.7 条）---- */
/* 行 1：Brand（店名 + 描述） */
/* Mobile footer: Brand → Visit → Menu (2 列) → Service 单列垂直堆叠，每栏带 h4 */
@media (max-width: 768px) {
  .site-footer {
    padding-top: 56px !important;
    padding-bottom: 20px !important;
  }
  .footer-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 28px !important;
    margin-bottom: 24px !important;
  }
  /* Brand */
  .footer-brand h3 {
    font-size: 22px !important;
    margin-bottom: 8px !important;
    gap: 10px !important;
  }
  .footer-brand .logo-img {
    width: 36px !important;
    height: 36px !important;
  }
  .footer-brand p {
    font-size: 14px !important;
    line-height: 1.55 !important;
    max-width: 100% !important;
    color: var(--text-soft) !important;
  }
  /* 所有 footer-col 统一：显示 h4 + 竖排链接 */
  .footer-col h4 {
    display: block !important;
    margin-bottom: 12px !important;
  }
  .footer-col ul {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .footer-col ul li {
    list-style: none !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
  }
  /* Menu 栏 8 个链接太多，改 2 列 grid 节省空间 */
  .footer-grid > .footer-col:nth-of-type(3) ul {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px 16px !important;
  }
  .footer-bottom {
    padding-top: 16px !important;
    margin-top: 0 !important;
    border-top: 1px solid var(--line) !important;
    font-size: 12px !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
  }
  /* 巨大品牌字 (02 套 footer-brand-big) 在手机端缩小 */
  .footer-brand-big {
    font-size: clamp(48px, 16vw, 80px) !important;
    padding-bottom: 20px !important;
    margin-bottom: 20px !important;
  }
}

/* ---- 标题层级统一规范（手册第 9.4 节）---- */
/* 首页 hero 是全站最大 H1，排除设计标志巨字（.hero-wordmark / .display-h1 等） */
.hero h1:not(.hero-wordmark):not(.display-h1) {
  font-size: clamp(44px, 6.5vw, 76px) !important;
  line-height: 1.06 !important;
}
/* 内页 page-hero H1 略小，所有内页一致 */
.page-hero h1 {
  font-size: clamp(36px, 4.2vw, 56px) !important;
  line-height: 1.12 !important;
}
/* 大区块标题 (section-header h2) */
.section-header h2 {
  font-size: clamp(28px, 3.4vw, 42px) !important;
  line-height: 1.15 !important;
}
/* About block 内的 h2 */
.about-block h2, .about-preview h2 {
  font-size: clamp(28px, 3.4vw, 42px) !important;
  line-height: 1.15 !important;
}
/* Final CTA h2 (本身就是最强呼吁，比 section h2 大一档) */
.final-cta h2 {
  font-size: clamp(36px, 5vw, 60px) !important;
  line-height: 1.1 !important;
}
/* Card 标题 (service-card / blog-card) */
.service-card h3, .blog-card h3 {
  font-size: clamp(20px, 2vw, 24px) !important;
  line-height: 1.2 !important;
}
/* 内页 hero p.lead 收一点 */
.page-hero p.lead {
  font-size: clamp(16px, 1.4vw, 18px) !important;
}
/* 手机端再细一些 */
@media (max-width: 768px) {
  .hero h1 { font-size: clamp(40px, 9vw, 52px) !important; }
  .page-hero h1 { font-size: clamp(32px, 7vw, 42px) !important; }
  .section-header h2 { font-size: clamp(26px, 6.5vw, 36px) !important; }
  .final-cta h2 { font-size: clamp(32px, 8vw, 44px) !important; }
}

/* ---- Nav 布局规则已移除（让每套 CSS 自己控制，避免覆盖 03 套居中 menu）---- */

/* ---- Section 间距收紧（更呼吸但不过于松散） ---- */
:root { --section-y: clamp(56px, 8vw, 96px) !important; }
section { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.section-header { margin-bottom: clamp(40px, 5vw, 56px) !important; }
.section-header h2 { margin-bottom: 16px; }
.section-header .lead { margin-top: 12px !important; }

/* hero 与下一个 section 之间的呼吸 */
.hero + section { padding-top: clamp(56px, 8vw, 96px); }
.page-hero { padding: clamp(112px, 14vw, 160px) 0 clamp(48px, 7vw, 80px) !important; }

/* about-block / about-preview 内部上下边距收紧 */
.about-block, .about-preview { gap: clamp(32px, 5vw, 64px) !important; }

/* footer 顶部留白收紧 */
.site-footer { padding-top: clamp(56px, 8vw, 80px) !important; }
.footer-brand-big { padding-bottom: clamp(40px, 5vw, 56px) !important; margin-bottom: clamp(40px, 5vw, 56px) !important; }
.footer-grid { margin-bottom: clamp(32px, 5vw, 48px) !important; }
