/* ==========================================================================
   新疆正仁堂中医诊所 · 站点样式表
   域名：xinjiangzhengrentang.cn
   视觉基调：宣纸底 · 墨绿主色 · 朱砂点缀
   ========================================================================== */

/* ---------- 1. 设计变量 ---------- */
:root {
  --ink:          #1B1B1B;
  --ink-2:        #4C554F;
  --ink-3:        #818B84;
  --paper:        #FBF9F4;
  --paper-2:      #F4F0E7;
  --paper-3:      #EDE7DA;
  --white:        #FFFFFF;

  --line:         #E4DDD0;
  --line-2:       #D3C9B6;

  --jade:         #1E4A3C;
  --jade-2:       #2C6B54;
  --jade-3:       #174034;
  --jade-soft:    #EBF2EE;

  --cinnabar:     #A65332;
  --cinnabar-soft:#F8EEE8;

  --gold:         #B08D3F;

  --radius:       14px;
  --radius-sm:    10px;
  --radius-lg:    20px;

  --shadow-1: 0 1px 2px rgba(30,40,35,.04), 0 8px 24px rgba(30,40,35,.05);
  --shadow-2: 0 2px 6px rgba(30,40,35,.06), 0 20px 48px rgba(30,40,35,.09);

  --wrap: 1120px;
  --wrap-narrow: 820px;

  --font-serif: "Songti SC", "Source Han Serif SC", "Noto Serif SC", "STSong", SimSun, "Times New Roman", serif;
  --font-sans: "PingFang SC", "HarmonyOS Sans SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-kai: "Kaiti SC", "STKaiti", KaiTi, "Songti SC", serif;
}

/* ---------- 2. 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

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

img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--jade-2); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--cinnabar); }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.35;
  color: var(--jade);
  margin: 0 0 .6em;
  letter-spacing: .02em;
}

h1 { font-size: clamp(1.85rem, 4.2vw, 2.85rem); }
h2 { font-size: clamp(1.45rem, 2.8vw, 2rem); }
h3 { font-size: clamp(1.12rem, 1.9vw, 1.32rem); }
h4 { font-size: 1.02rem; }

p { margin: 0 0 1.05em; }

ul, ol { margin: 0 0 1.05em; padding-left: 1.35em; }
li { margin-bottom: .42em; }

strong { font-weight: 600; color: var(--ink); }

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.6rem 0;
}

::selection { background: var(--jade-soft); color: var(--jade-3); }

/* 无障碍：跳到主内容 */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--jade);
  color: #fff;
  padding: .7rem 1.2rem;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

:focus-visible {
  outline: 2px solid var(--cinnabar);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 3. 布局工具 ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 22px;
}
.wrap-narrow { max-width: var(--wrap-narrow); }

.section { padding: clamp(3rem, 7vw, 5.2rem) 0; }
.section--tint { background: var(--paper-2); }
.section--paper { background: var(--white); }
.section--jade { background: var(--jade); color: #E6EFEA; }
.section--jade h2, .section--jade h3 { color: #fff; }

.section-head { max-width: 720px; margin-bottom: 2.4rem; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cinnabar);
  margin-bottom: .85rem;
}
.section--jade .eyebrow { color: #9CC4B2; }

.section-lead {
  font-size: 1.03rem;
  color: var(--ink-2);
  margin-top: .35rem;
}
.section--jade .section-lead { color: #BFD6CB; }

/* ---------- 4. 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 249, 244, .9);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .22s ease, box-shadow .22s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 22px rgba(30,40,35,.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: .72rem;
  color: var(--jade);
  flex-shrink: 0;
}
.brand:hover { color: var(--jade); }
.brand-mark { width: 40px; height: 40px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.22; }
.brand-text strong {
  font-family: var(--font-serif);
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--jade);
  letter-spacing: .04em;
}
.brand-text small {
  font-size: .66rem;
  letter-spacing: .07em;
  color: var(--ink-3);
  text-transform: uppercase;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: .28rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav li { margin: 0; }
.site-nav a {
  display: block;
  padding: .48rem .82rem;
  border-radius: 999px;
  font-size: .93rem;
  color: var(--ink-2);
  white-space: nowrap;
  transition: background .18s ease, color .18s ease;
}
.site-nav a:hover { background: var(--jade-soft); color: var(--jade); }
.site-nav a[aria-current="page"] {
  color: var(--jade);
  font-weight: 600;
  background: var(--jade-soft);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: .42rem .9rem;
  font-family: var(--font-sans);
  font-size: .88rem;
  color: var(--ink-2);
  cursor: pointer;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--jade);
  color: #fff;
  padding: .52rem 1.15rem;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background .18s ease, transform .18s ease;
}
.header-cta:hover { background: var(--cinnabar); color: #fff; transform: translateY(-1px); }

/* ---------- 5. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .82rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: .97rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary { background: var(--jade); color: #fff; box-shadow: var(--shadow-1); }
.btn--primary:hover { background: var(--jade-2); color: #fff; box-shadow: var(--shadow-2); }

.btn--ghost { background: transparent; color: var(--jade); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--jade); color: var(--jade); background: var(--jade-soft); }

.btn--onjade { background: #fff; color: var(--jade); }
.btn--onjade:hover { background: var(--paper-2); color: var(--cinnabar); }

.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.9rem; }

/* ---------- 6. 首页 Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.4rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(900px 460px at 82% -12%, #E7F0EA 0%, rgba(231,240,234,0) 62%),
    radial-gradient(700px 420px at 4% 108%, #F5EDE4 0%, rgba(245,237,228,0) 60%),
    var(--paper);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30,74,60,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,74,60,.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(720px 420px at 50% 32%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(720px 420px at 50% 32%, #000 0%, transparent 72%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(0, .92fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero h1 { margin-bottom: .75rem; }
.hero .hero-sub {
  font-family: var(--font-serif);
  font-size: clamp(1.02rem, 1.7vw, 1.2rem);
  color: var(--jade-2);
  margin-bottom: 1.1rem;
}
.hero .lead {
  font-size: 1.05rem;
  color: var(--ink-2);
  max-width: 34em;
  margin-bottom: .4rem;
}

.hero-note {
  margin-top: 1.4rem;
  padding-left: .95rem;
  border-left: 3px solid var(--line-2);
  font-size: .9rem;
  color: var(--ink-3);
}

/* Hero 侧栏信息卡 */
.info-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
  padding: 1.7rem 1.6rem;
}
.info-card h2 {
  font-size: 1.06rem;
  margin-bottom: 1.1rem;
  padding-bottom: .8rem;
  border-bottom: 1px solid var(--line);
}
.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li {
  display: grid;
  grid-template-columns: 5.2rem 1fr;
  gap: .8rem;
  padding: .62rem 0;
  border-bottom: 1px dashed var(--line);
  font-size: .92rem;
  margin: 0;
}
.info-list li:last-child { border-bottom: 0; }
.info-list dt, .info-list .k { color: var(--ink-3); font-size: .86rem; }
.info-list .v { color: var(--ink); }

/* ---------- 7. 卡片网格 ---------- */
.grid { display: grid; gap: 1.3rem; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.55rem 1.5rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
  border-color: var(--line-2);
}
.card h3 { margin-bottom: .5rem; }
.card p:last-child { margin-bottom: 0; }
.card .card-meta { font-size: .88rem; color: var(--ink-3); }

.card--plain:hover { transform: none; box-shadow: none; }

/* 医师卡片 */
.doctor-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.doctor-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }

.doctor-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.35rem 1.5rem 1.1rem;
  background: linear-gradient(180deg, var(--jade-soft) 0%, rgba(235,242,238,0) 100%);
  border-bottom: 1px solid var(--line);
}
.doctor-avatar {
  width: 58px; height: 58px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--jade);
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  letter-spacing: .04em;
}
.doctor-name { font-family: var(--font-serif); font-size: 1.16rem; color: var(--jade); margin: 0; }
.doctor-title { font-size: .85rem; color: var(--cinnabar); margin: .1rem 0 0; }

.doctor-body { padding: 1.2rem 1.5rem 1.5rem; flex: 1; }
.doctor-body dl { margin: 0; }
.doctor-body dt {
  font-size: .78rem;
  letter-spacing: .1em;
  color: var(--ink-3);
  text-transform: uppercase;
  margin-top: .95rem;
}
.doctor-body dt:first-child { margin-top: 0; }
.doctor-body dd { margin: .2rem 0 0; font-size: .92rem; color: var(--ink-2); }

.tag {
  display: inline-block;
  font-size: .8rem;
  padding: .22rem .68rem;
  border-radius: 999px;
  background: var(--jade-soft);
  color: var(--jade);
  margin: .18rem .28rem .18rem 0;
}
.tag--cinnabar { background: var(--cinnabar-soft); color: var(--cinnabar); }

/* ---------- 8. 提示框 ---------- */
.notice {
  border-radius: var(--radius);
  padding: 1.3rem 1.5rem;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: .94rem;
}
.notice h3 { font-size: 1.02rem; margin-bottom: .45rem; }
.notice p:last-child { margin-bottom: 0; }

.notice--warn { background: var(--cinnabar-soft); border-color: #E7D2C6; }
.notice--warn h3 { color: var(--cinnabar); }
.notice--info { background: var(--jade-soft); border-color: #D2E2DA; }
.notice--muted { background: var(--paper-2); }

/* 合规声明条 */
.compliance {
  border-left: 3px solid var(--gold);
  background: var(--paper-2);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: .89rem;
  color: var(--ink-2);
}
.compliance p:last-child { margin-bottom: 0; }

/* ---------- 9. 内页头 ---------- */
.page-hero {
  padding: clamp(2.6rem, 5.5vw, 4rem) 0 clamp(1.8rem, 3.5vw, 2.6rem);
  background: linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { margin-bottom: .5rem; }
.page-hero .lead { font-size: 1.03rem; color: var(--ink-2); max-width: 46em; margin-bottom: 0; }

.breadcrumb {
  font-size: .84rem;
  color: var(--ink-3);
  margin-bottom: 1rem;
}
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: .45rem; color: var(--line-2); }

/* ---------- 10. 正文排版 ---------- */
.prose { max-width: 46em; }
.prose h2 { margin-top: 2.4rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8rem; }
.prose ul, .prose ol { color: var(--ink-2); }
.prose > p:first-of-type { font-size: 1.04rem; }

/* ---------- 11. 步骤 / 流程 ---------- */
.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; }
.steps li {
  position: relative;
  counter-increment: step;
  padding: 0 0 1.6rem 3.1rem;
  margin: 0;
  border-left: 1px solid var(--line);
  margin-left: 1.05rem;
}
.steps li:last-child { border-left-color: transparent; padding-bottom: 0; }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: -1.05rem;
  top: -0.15rem;
  width: 2.1rem; height: 2.1rem;
  border-radius: 50%;
  background: var(--jade);
  color: #fff;
  font-family: var(--font-serif);
  font-size: .98rem;
  display: grid;
  place-items: center;
}
.steps li strong { display: block; font-family: var(--font-serif); font-size: 1.05rem; color: var(--jade); margin-bottom: .25rem; }
.steps li p { margin-bottom: 0; font-size: .93rem; color: var(--ink-2); }

/* ---------- 12. FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: .15rem 0;
}
.faq summary {
  cursor: pointer;
  padding: 1.05rem .2rem;
  font-family: var(--font-serif);
  font-size: 1.03rem;
  color: var(--jade);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "＋";
  color: var(--ink-3);
  font-size: 1.05rem;
  flex-shrink: 0;
  transition: transform .2s ease;
}
.faq details[open] summary::after { content: "－"; }
.faq .faq-body { padding: 0 .2rem 1.2rem; color: var(--ink-2); font-size: .95rem; }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* ---------- 13. 联系 / 预约 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.3rem;
}
.contact-block {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.55rem;
}
.contact-block h3 { display: flex; align-items: center; gap: .55rem; }
.contact-block h3 .ico {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--jade-soft);
  display: grid; place-items: center;
  font-size: .95rem;
  flex-shrink: 0;
}
.contact-phone {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  color: var(--jade);
  letter-spacing: .04em;
  display: block;
  margin: .3rem 0 .2rem;
}
a.contact-phone:hover { color: var(--cinnabar); }

.qr-slot {
  width: 148px; height: 148px;
  border: 1px dashed var(--line-2);
  border-radius: var(--radius-sm);
  background: var(--paper-2);
  display: grid;
  place-items: center;
  text-align: center;
  font-size: .8rem;
  color: var(--ink-3);
  padding: .8rem;
  line-height: 1.5;
  margin-top: .8rem;
}
.qr-slot img { width: 100%; height: 100%; object-fit: contain; }

/* 占位符视觉标记（上线前请替换） */
.ph {
  color: var(--cinnabar);
  font-weight: 600;
  border-bottom: 1px dashed var(--cinnabar);
  cursor: help;
}

/* ---------- 14. 页脚 ---------- */
.site-footer {
  background: var(--jade-3);
  color: #B9CDC3;
  padding: clamp(2.6rem, 5vw, 3.8rem) 0 1.6rem;
  font-size: .92rem;
}
.site-footer h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: .9rem;
  letter-spacing: .05em;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.site-footer a { color: #C7D9D0; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .5rem; }
.footer-brand { display: flex; align-items: center; gap: .7rem; margin-bottom: .85rem; }
.footer-brand .brand-text strong { color: #fff; font-size: 1.02rem; }
.footer-brand .brand-text small { color: #8FAFA0; }
.footer-note { font-size: .85rem; line-height: 1.75; color: #9BB6A9; }

.footer-legal {
  padding-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  font-size: .82rem;
  color: #8FAFA0;
}
.footer-legal p { margin: 0; }
.footer-disclaimer {
  margin-top: 1rem;
  padding: .9rem 1.1rem;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: var(--radius-sm);
  font-size: .82rem;
  color: #9BB6A9;
  line-height: 1.75;
}
.footer-disclaimer p { margin: 0; }

/* ---------- 15. 移动端悬浮预约条 ---------- */
.mobile-cta {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  padding: .6rem .9rem calc(.6rem + env(safe-area-inset-bottom));
  gap: .6rem;
}
.mobile-cta .btn { flex: 1; padding: .7rem 1rem; font-size: .92rem; }

/* ---------- 16. 404 ---------- */
.error-page {
  min-height: 62vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 0;
}
.error-code {
  font-family: var(--font-serif);
  font-size: clamp(3.4rem, 11vw, 6rem);
  color: var(--line-2);
  line-height: 1;
  margin-bottom: .5rem;
}

/* ---------- 17. 响应式 ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 15.5px; }

  .nav-toggle { display: block; }
  .header-cta { display: none; }

  .site-nav {
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-2);
    display: none;
    padding: .6rem 0 .9rem;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a { border-radius: 0; padding: .8rem 22px; font-size: .97rem; }

  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.6rem; }

  .info-list li { grid-template-columns: 4.6rem 1fr; }

  .mobile-cta { display: flex; }
  body { padding-bottom: 66px; }
}

@media (max-width: 420px) {
  .brand-text small { display: none; }
  .doctor-top { padding: 1.15rem 1.2rem 1rem; }
  .doctor-body { padding: 1.1rem 1.2rem 1.3rem; }
}

/* ---------- 18. 打印 ---------- */
@media print {
  .site-header, .mobile-cta, .nav-toggle, .header-cta { display: none !important; }
  body { background: #fff; }
}

/* ---------- 19. 动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* ==========================================================================
   馆内环境图集
   ========================================================================== */
.gallery { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1.4rem; }
.gallery figure {
  margin:0; background:var(--paper); border:1px solid var(--line);
  border-radius:10px; overflow:hidden;
}
.gallery img {
  width:100%; aspect-ratio:4/3; object-fit:cover; display:block;
  transition:transform .35s ease;
}
.gallery figure:hover img { transform:scale(1.03); }
.gallery figcaption { padding:.7rem 1rem .85rem; font-size:.9rem; color:var(--ink-2); }
.gallery figcaption strong { color:var(--ink); font-weight:600; }
.env-strip { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1.4rem; }
.env-strip figure { margin:0; }
.env-strip img {
  width:100%; aspect-ratio:4/3; object-fit:cover; display:block;
  border-radius:10px; border:1px solid var(--line);
}
.env-strip figcaption { padding-top:.6rem; font-size:.88rem; color:var(--ink-2); text-align:center; }
@media (max-width:760px){
  .env-strip { grid-template-columns:1fr; }
}
