/* ==========================================================================
   CareSnap 门户 · 贵州冠颐养老院
   图片主导的机构站：暖白纸面 + 深松绿 + 黄铜点缀，避免「医疗蓝」的冷硬感
   无外部依赖，不引用任何 CDN 字体/图标
   ========================================================================== */

:root {
  --ink: #16211f;
  --ink-2: #3d4c48;
  --ink-3: #6b7a75;
  --paper: #fbfaf7;
  --paper-2: #f4f1ea;
  --sand: #f7f2e8;
  --line: #e4dfd5;
  --line-2: #d6d0c4;
  --brand: #14524a;
  --brand-2: #1c6b60;
  --brand-3: #e8f0ee;
  --accent: #b98a4b;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(22, 33, 31, .05), 0 2px 8px rgba(22, 33, 31, .04);
  --shadow-md: 0 2px 6px rgba(22, 33, 31, .05), 0 16px 36px rgba(22, 33, 31, .09);
  --shadow-lg: 0 10px 24px rgba(22, 33, 31, .08), 0 34px 80px rgba(22, 33, 31, .14);
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Source Han Sans SC",
          "Noto Sans CJK SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --header-h: 76px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.78;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { margin: 0; line-height: 1.28; letter-spacing: -.015em; font-weight: 600; }
p { margin: 0; }
ul, ol, dl, dd, dt, figure { margin: 0; padding: 0; }
li { list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
/* height:auto 必须显式写：HTML 上的 height 属性会变成表现性提示，
   把图片高度钉死，aspect-ratio 就失效了 */
img { max-width: 100%; height: auto; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 8px 0;
  z-index: 200;
}
.skip-link:focus { left: 0; }

/* ============================================================ 头部导航 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}
.brand-mark { flex: 0 0 auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong {
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: .02em;
  color: #fff;
  transition: color .3s ease;
}
.brand-text em {
  font-style: normal;
  font-size: 11px;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .68);
  transition: color .3s ease;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav > a {
  padding: 8px 12px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, .88);
  border-radius: 8px;
  white-space: nowrap;
  transition: color .18s ease, background .18s ease;
}
.nav > a:hover { color: #fff; background: rgba(255, 255, 255, .12); }

.nav-entry {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 10px;
  padding: 8px 16px !important;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 999px;
  font-size: 13.5px !important;
  color: rgba(255, 255, 255, .92) !important;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease, border-color .2s ease !important;
}
/* 全局规则把 svg 设成了 block；这里改回行内并垂直对齐，
   这样即使按钮退化成普通行内元素，图标也不会把文字挤到第二行 */
.nav-lock {
  display: inline-block;
  flex: 0 0 auto;
  vertical-align: -1px;
}
.nav-entry:hover {
  background: rgba(255, 255, 255, .16) !important;
  border-color: rgba(255, 255, 255, .7);
}

/* 滚动后：白底、深色字 */
.site-header.is-scrolled {
  background: rgba(251, 250, 247, .94);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--line);
}
.site-header.is-scrolled .brand-text strong { color: var(--ink); }
.site-header.is-scrolled .brand-text em { color: var(--ink-3); }
.site-header.is-scrolled .nav > a { color: var(--ink-2); }
.site-header.is-scrolled .nav > a:hover { color: var(--ink); background: rgba(20, 82, 74, .06); }
.site-header.is-scrolled .nav-entry {
  background: var(--brand);
  color: #fff !important;
  border-color: transparent;
}
.site-header.is-scrolled .nav-entry:hover {
  background: var(--brand-2);
  border-color: transparent;
}
.site-header.is-scrolled .nav-toggle { border-color: var(--line); background: #fff; }
.site-header.is-scrolled .nav-toggle span { background: var(--ink); }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 10px;
  background: rgba(255, 255, 255, .1);
  cursor: pointer;
  transition: background .25s ease, border-color .25s ease;
}
.nav-toggle span {
  display: block;
  width: 17px;
  height: 1.6px;
  margin: 3.4px auto;
  background: #fff;
  border-radius: 2px;
  transition: transform .22s ease, opacity .22s ease, background .25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ================================================================== 首屏 */
.hero {
  position: relative;
  min-height: min(88vh, 780px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: calc(-1 * var(--header-h));
  padding-top: var(--header-h);
  overflow: hidden;
  color: #fff;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(9, 24, 21, .52) 0%, rgba(9, 24, 21, .12) 26%, rgba(9, 24, 21, .12) 55%, rgba(9, 24, 21, .78) 100%),
    linear-gradient(92deg, rgba(9, 24, 21, .72) 0%, rgba(9, 24, 21, .38) 46%, rgba(9, 24, 21, .06) 78%);
}

.hero-content {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 40px;
  padding-bottom: 64px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: .14em;
  color: rgba(255, 255, 255, .86);
  margin-bottom: 22px;
}
.hero-kicker::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--accent);
}

.hero h1 {
  font-size: clamp(40px, 5vw, 66px);
  line-height: 1.16;
  letter-spacing: -.03em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .18);
}

.hero-lede {
  margin-top: 22px;
  max-width: 30em;
  font-size: 17px;
  line-height: 1.9;
  color: rgba(255, 255, 255, .9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 500;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}
.btn svg { transition: transform .18s ease; }
.btn:hover svg { transform: translateX(3px); }

.btn-solid {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 2px 4px rgba(20, 82, 74, .2), 0 14px 30px rgba(20, 82, 74, .22);
}
.btn-solid:hover {
  background: var(--brand-2);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(20, 82, 74, .24), 0 20px 38px rgba(20, 82, 74, .26);
}
.btn-line {
  border: 1px solid rgba(255, 255, 255, .62);
  color: #fff;
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(4px);
}
.btn-line:hover {
  background: rgba(255, 255, 255, .18);
  border-color: #fff;
  transform: translateY(-2px);
}
.btn-large { height: 56px; padding: 0 30px; font-size: 16px; margin-top: 8px; }

.hero-facts {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, .22);
}
.hero-facts-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 46px;
  padding-top: 18px;
  padding-bottom: 22px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .84);
  letter-spacing: .04em;
}
.hero-facts-inner span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.hero-facts-inner span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex: 0 0 auto;
}

/* ================================================================ 章节 */
.section {
  padding: 104px 0;
  scroll-margin-top: calc(var(--header-h) + 8px);
}
.section-sand { background: var(--sand); }
.section-deep {
  background: #103f39;
  color: #eef2ef;
  position: relative;
  overflow: hidden;
}
.section-deep::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(720px 400px at 88% 0%, rgba(185, 138, 75, .18), transparent 70%),
    radial-gradient(620px 420px at 4% 100%, rgba(60, 140, 122, .2), transparent 72%);
  pointer-events: none;
}

.section-head {
  max-width: 46em;
  margin-bottom: 52px;
}
.kicker {
  font-size: 12.5px;
  letter-spacing: .18em;
  color: var(--accent);
  margin-bottom: 14px;
  font-weight: 500;
}
.kicker-light { color: #cbb389; }

.section-head h2,
.split-copy h2,
.daily-copy h2,
.faq-head h2,
.contact-copy h2 {
  font-size: clamp(28px, 3.1vw, 40px);
  letter-spacing: -.025em;
  line-height: 1.28;
}
.section-sub {
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.88;
  color: var(--ink-2);
  max-width: 40em;
}

/* ============================================================ 我们的想法 */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 72px;
  align-items: center;
}
.split-media img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}
.split-copy p {
  margin-top: 20px;
  font-size: 15.5px;
  line-height: 1.95;
  color: var(--ink-2);
}

.points {
  margin-top: 34px;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.points li {
  display: grid;
  grid-template-columns: 9.5em minmax(0, 1fr);
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.points strong {
  font-size: 15px;
  font-weight: 600;
  color: var(--brand);
}
.points span {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--ink-2);
}

/* ============================================================ 居住环境 */
.env-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto auto;
  gap: 20px;
}
.env-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.env-large {
  grid-column: span 7;
  grid-row: span 2;
}
.env-grid > .env-card:nth-of-type(2) { grid-column: span 5; }

.env-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex: 1 1 auto;
  min-height: 220px;
}
.env-large img { min-height: 420px; }
/* 房间照把视觉重心留给护理床，别让右侧门框占太多 */
.env-room { object-position: 38% 58%; }

.env-card figcaption {
  padding: 20px 24px 22px;
  border-top: 1px solid var(--line);
  background: #fff;
}
.env-card figcaption strong {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
}
.env-card figcaption span {
  font-size: 13.8px;
  color: var(--ink-3);
  line-height: 1.7;
}

.env-note {
  grid-column: span 5;
  padding: 26px 26px 24px;
  background: var(--brand);
  color: #eef2ef;
  border-radius: var(--r-lg);
}
.env-note-title {
  font-size: 15.5px;
  font-weight: 600;
  margin-bottom: 14px;
  color: #fff;
}
.env-note ul li {
  position: relative;
  padding-left: 18px;
  font-size: 13.8px;
  line-height: 1.9;
  color: rgba(238, 242, 239, .82);
}
.env-note ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .85em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(203, 179, 137, .9);
}

/* ============================================================ 照护服务 */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.service-card {
  padding: 28px 26px 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover {
  transform: translateY(-3px);
  border-color: #cfd8d1;
  box-shadow: var(--shadow-md);
}
.service-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--brand-3);
  color: var(--brand);
  margin-bottom: 18px;
}
.service-card h3 { font-size: 17px; margin-bottom: 10px; }
.service-card p { font-size: 14px; line-height: 1.85; color: var(--ink-2); }

.service-note {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-3);
}

/* 照护实景带 */
.photo-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.photo-band figure {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
}
.photo-band img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2, .7, .3, 1);
}
.photo-band figure:hover img { transform: scale(1.02); }
.photo-band figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px 24px 18px;
  font-size: 13.5px;
  color: #fff;
  letter-spacing: .02em;
  background: linear-gradient(180deg, rgba(9, 24, 21, 0) 0%, rgba(9, 24, 21, .76) 72%);
}

/* 避免中文孤字（「漏。」「时。」单独占一行） */
.hero-lede,
.section-sub,
.split-copy p,
.service-card p,
.points span,
.timeline p,
.faq-item p,
.step p { text-wrap: pretty; }

/* ============================================================ 一天的生活 */
.daily-inner {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 72px;
  align-items: start;
}
.daily-media {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.daily-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}
.daily-media-card {
  position: relative;
  margin: -58px 22px 0;
  padding: 22px 24px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
}
.daily-quote {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink);
  letter-spacing: .01em;
}
.daily-quote-by {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--ink-3);
}

.daily-copy .section-sub { margin-bottom: 34px; }

.timeline { position: relative; }
.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 22px;
  padding-bottom: 26px;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: 78px;
  top: 10px;
  bottom: -6px;
  width: 1px;
  background: var(--line-2);
}
.timeline li:last-child::before { display: none; }
.timeline li::after {
  content: "";
  position: absolute;
  left: 74px;
  top: 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--sand);
  border: 1.6px solid var(--accent);
}
.t-time {
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
  padding-top: 2px;
}
.timeline strong {
  display: block;
  font-size: 15.5px;
  font-weight: 600;
  margin-bottom: 4px;
}
.timeline p {
  font-size: 14.2px;
  line-height: 1.8;
  color: var(--ink-2);
  max-width: 26em;
}

/* ============================================================ 入住指南 */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}
.step {
  padding: 30px 26px 8px 0;
  border-right: 1px solid var(--line);
}
.step:last-child { border-right: 0; }
.step:not(:first-child) { padding-left: 26px; }
.step-no {
  display: block;
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--accent);
  margin-bottom: 14px;
  font-variant-numeric: tabular-nums;
}
.step h3 { font-size: 18px; margin-bottom: 10px; }
.step p { font-size: 14px; line-height: 1.85; color: var(--ink-2); }

/* ============================================================ 家属常问 */
.faq-inner {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: 64px;
  align-items: start;
}
.faq-head { position: sticky; top: calc(var(--header-h) + 24px); }

.faq-list { border-top: 1px solid var(--line); }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  position: relative;
  padding: 22px 44px 22px 0;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  transition: color .18s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--brand); }
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 11px;
  height: 11px;
  margin-top: -7px;
  border-right: 1.6px solid var(--ink-3);
  border-bottom: 1.6px solid var(--ink-3);
  transform: rotate(45deg);
  transition: transform .22s ease;
}
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq-item p {
  padding: 0 44px 24px 0;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--ink-2);
}

/* ============================================================ 预约参观 */
.contact-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 72px;
  align-items: center;
}
.contact-copy p {
  margin-top: 20px;
  font-size: 15.5px;
  line-height: 1.95;
  color: rgba(238, 242, 239, .78);
  max-width: 30em;
}
.contact-copy .btn-solid {
  background: #f2efe9;
  color: var(--brand);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .18);
}
.contact-copy .btn-solid:hover { background: #fff; }

.contact-card {
  padding: 30px 30px 26px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--r-lg);
  backdrop-filter: blur(6px);
}
.contact-card > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  font-size: 14.5px;
}
.contact-card > div:first-child { padding-top: 6px; }
.contact-card dt { color: rgba(238, 242, 239, .6); flex: 0 0 auto; }
.contact-card dd { text-align: right; color: #fff; }
.contact-card a { border-bottom: 1px solid rgba(255, 255, 255, .32); }
.contact-card a:hover { border-bottom-color: #fff; }
.contact-tip {
  margin-top: 18px;
  font-size: 12.5px;
  line-height: 1.75;
  color: rgba(238, 242, 239, .55);
}

/* ================================================================ 页脚 */
.site-footer {
  padding: 52px 0 44px;
  background: #0d322d;
  color: rgba(238, 242, 239, .74);
}
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px 40px;
  align-items: start;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand strong {
  display: block;
  color: #fff;
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: .02em;
}
.footer-brand span {
  display: block;
  font-size: 12.5px;
  color: rgba(238, 242, 239, .56);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  padding-top: 6px;
}
.footer-nav a {
  font-size: 13.5px;
  color: rgba(238, 242, 239, .72);
  transition: color .18s ease;
}
.footer-nav a:hover { color: #fff; }

.footer-legal {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  margin-top: 12px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 12.5px;
  color: rgba(238, 242, 239, .55);
}
.icp {
  color: rgba(238, 242, 239, .7);
  border-bottom: 1px solid rgba(238, 242, 239, .22);
  padding-bottom: 1px;
  transition: color .18s ease, border-color .18s ease;
}
.icp:hover { color: #fff; border-bottom-color: rgba(255, 255, 255, .6); }

/* ========================================================== 滚动入场 */
/* 只在 JS 可用时才隐藏：没有 JS 或脚本报错时，内容必须照常可见 */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s cubic-bezier(.2, .7, .3, 1), transform .8s cubic-bezier(.2, .7, .3, 1);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ============================================================ 响应式 */
@media (max-width: 1080px) {
  .split, .daily-inner { gap: 44px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(n + 3) { padding-top: 26px; border-top: 1px solid var(--line); }
  .contact-inner { gap: 44px; }
}

@media (max-width: 1040px) {
  .nav > a { padding: 8px 9px; font-size: 14px; }
  .nav-entry { margin-left: 6px; padding: 8px 13px !important; font-size: 13px !important; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px 22px 24px;
    background: rgba(251, 250, 247, .98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(22, 33, 31, .1);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav > a { padding: 12px 10px; font-size: 15.5px; color: var(--ink-2); border-radius: 10px; }
  .nav > a:hover { background: rgba(20, 82, 74, .06); color: var(--ink); }
  .nav-entry {
    margin: 10px 0 0;
    justify-content: center;
    text-align: center;
    color: #fff !important;
    background: var(--brand);
    border-color: transparent;
    padding: 12px 16px !important;
    font-size: 15px !important;
  }
  .nav-toggle { display: block; }

  .hero { min-height: 78vh; }
  .hero-media img { object-position: 62% 40%; }
  .hero h1 { font-size: clamp(34px, 8vw, 46px); }
  .hero-lede { font-size: 15.5px; }
  .hero-facts-inner { gap: 8px 28px; padding-top: 14px; padding-bottom: 16px; font-size: 12.5px; }

  .section { padding: 72px 0; }
  .split, .daily-inner, .faq-inner, .contact-inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .split-media { order: -1; }
  .daily-media, .faq-head { position: static; }
  .daily-media img { aspect-ratio: 16 / 11; }
  .daily-media-card { margin: -46px 16px 0; }

  .env-grid { grid-template-columns: minmax(0, 1fr); }
  .env-large, .env-grid > .env-card:nth-of-type(2), .env-note { grid-column: auto; grid-row: auto; }
  .env-large img { min-height: 260px; }
  .env-note { order: 3; }
  .pc-only { display: none; }
}

@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .hero { min-height: 84vh; }
  .hero-actions { gap: 10px; }
  .btn { width: 100%; }
  .hero-facts-inner { gap: 6px 18px; }
  .points li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .service-grid, .steps { grid-template-columns: minmax(0, 1fr); }
  .photo-band { grid-template-columns: minmax(0, 1fr); }
  .step { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .step:not(:first-child) { padding-left: 0; }
  .step:nth-child(n + 3) { border-top: 0; padding-top: 24px; }
  .step:last-child { border-bottom: 0; }
  .contact-card > div { flex-direction: column; gap: 2px; }
  .contact-card dd { text-align: left; }
  .timeline li { grid-template-columns: 54px minmax(0, 1fr); gap: 16px; }
  .timeline li::before { left: 64px; }
  .timeline li::after { left: 60px; }
}

/* ==================================================== 无障碍 / 减少动效 */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}
.hero a:focus-visible { outline-color: #fff; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal, .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .hero-media, .hero-scrim, .nav-toggle, .btn { display: none !important; }
  .hero { color: var(--ink); min-height: auto; margin-top: 0; padding-top: 0; }
  body { background: #fff; }
  .section, .hero { padding: 24px 0; }
}
