/* ==========================================================================
   西安厨电冷暖 · 品牌推广单页
   设计系统：暖纸色 / 墨黑 / 铜色，编辑式排版 + 实拍影像
   ========================================================================== */

:root {
  --paper: #f3efe7;
  --paper-deep: #ece7dc;
  --surface: #fbf8f2;
  --ink: #191612;
  --ink-2: #211d18;
  --cream: #f7f3ea;
  --muted: #6a645a;
  --muted-2: #918a7e;
  --copper: #b4571f;
  --copper-deep: #90400f;
  --line: rgba(25, 22, 18, 0.14);
  --line-strong: rgba(25, 22, 18, 0.28);
  --line-light: rgba(247, 243, 234, 0.18);
  --sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans SC", system-ui, sans-serif;
  --serif: var(--sans);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow: 0 18px 50px rgba(25, 22, 18, 0.12);

  /* 字号阶梯：全站只用这几档 */
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.375rem;
  --fs-h2: clamp(1.85rem, 2.9vw, 2.5rem);
  --fs-h1: clamp(2.2rem, 4vw, 3.4rem);

  /* 间距阶梯：4px 基准 */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 2.5rem;
  --sp-8: 3rem;
  --section-y: clamp(3.5rem, 6vw, 5rem);
  --gap: clamp(1.5rem, 3vw, 2.5rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

html.large-type {
  font-size: 20px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.wrap {
  width: min(1240px, 92vw);
  margin: 0 auto;
}

/* ---------- 通用按钮 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 3.1rem;
  padding: 0 1.5rem;
  border: 1px solid transparent;
  border-radius: 2px;
  background: transparent;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
    border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.btn svg {
  flex: none;
}

.btn-ink {
  background: var(--ink);
  color: var(--cream);
}

.btn-ink:hover {
  background: var(--copper);
}

.btn-copper {
  background: var(--copper);
  color: #fff;
}

.btn-copper:hover {
  background: var(--copper-deep);
  transform: translateY(-1px);
}

.btn-ghost {
  border-color: rgba(247, 243, 234, 0.34);
  color: var(--cream);
}

.btn-ghost:hover {
  border-color: var(--copper);
  color: #fff;
  background: rgba(180, 87, 31, 0.12);
}

.btn-sm {
  min-height: 2.6rem;
  padding: 0 1.1rem;
  font-size: 0.85rem;
}

.btn-lg {
  min-height: 3.9rem;
  padding: 0 2.1rem;
  font-size: 1.05rem;
}

/* ---------- 页头 ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 239, 231, 0.88);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(25, 22, 18, 0.06);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  background: var(--copper);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  border-radius: 2px;
  letter-spacing: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}

.brand-text strong {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.brand-text em {
  font-style: normal;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  color: var(--muted);
  line-height: 1.2;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
}

.nav a {
  position: relative;
  padding: 0.35rem 0;
  font-size: 0.9rem;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}

.nav a:hover::after,
.nav a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.text-toggle {
  min-height: 2.6rem;
  padding: 0 0.6rem;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  transition: color 0.3s ease;
}

.text-toggle::before {
  content: "Aa ";
  font-family: var(--serif);
}

.text-toggle:hover {
  color: var(--ink);
}

/* ---------- Hero ---------- */

.hero {
  padding: clamp(2.8rem, 4.6vw, 4.4rem) 0 clamp(3.4rem, 5.5vw, 5rem);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 38%;
  height: 100%;
  background: linear-gradient(180deg, rgba(236, 231, 220, 0.7), rgba(243, 239, 231, 0));
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.16fr 0.84fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 0 1.7rem;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
}

.hero-meta::before {
  content: "";
  width: 1.9rem;
  height: 1px;
  background: var(--copper);
  flex: none;
}

.hero-meta span + span::before {
  content: "·";
  margin-right: 1rem;
  color: var(--copper);
}

.hero h1 {
  font-size: clamp(45px, 5.2vw, 76px);
  line-height: 1.14;
  letter-spacing: -0.025em;
}

.hero h1 .dot {
  color: var(--copper);
}

.hero-lead {
  max-width: 33em;
  margin: 1.7rem 0 0;
  font-size: clamp(1.02rem, 1.35vw, 1.2rem);
  line-height: 1.9;
  color: #46413a;
}

.hero-lead strong {
  color: var(--ink);
  font-weight: 700;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.1rem 1.6rem;
  margin-top: 2.2rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid var(--line-strong);
  font-size: 0.94rem;
  text-decoration: none;
  transition: color 0.3s ease, border-color 0.3s ease, gap 0.3s ease;
}

.link-arrow:hover {
  color: var(--copper);
  border-color: var(--copper);
  gap: 0.85rem;
}

.hero-stats {
  display: flex;
  margin: 3rem 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.hero-stats li {
  padding-right: clamp(1.2rem, 3vw, 2.4rem);
  margin-right: clamp(1.2rem, 3vw, 2.4rem);
  border-right: 1px solid var(--line);
}

.hero-stats li:last-child {
  padding-right: 0;
  margin-right: 0;
  border-right: 0;
}

.hero-stats b {
  display: block;
  font-family: var(--serif);
  font-size: 2.3rem;
  font-weight: 400;
  line-height: 1;
  color: var(--copper);
}

.hero-stats span {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.03em;
}

/* Hero 影像 */

.hero-media {
  position: relative;
  padding: 0 0 1.6rem;
}

.hero-frame {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper-deep);
  border: 1px solid rgba(25, 22, 18, 0.08);
  box-shadow: var(--shadow);
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
}

.hero-media::after {
  content: "";
  position: absolute;
  right: -0.7rem;
  bottom: 0.9rem;
  width: 72%;
  height: 78%;
  border: 1px solid var(--copper);
  z-index: -1;
}

.hero-inset {
  position: absolute;
  left: -2rem;
  bottom: 0.9rem;
  width: 38%;
  margin: 0;
  padding: 0.45rem;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(25, 22, 18, 0.16);
}

.hero-inset img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.hero-inset figcaption {
  padding: 0.45rem 0.15rem 0.1rem;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* ---------- 章节通用 ---------- */

.section {
  padding: clamp(4rem, 8vw, 7.5rem) 0;
}

section[id] {
  scroll-margin-top: 4.9rem;
}

.section-ink {
  background: var(--ink);
  color: var(--cream);
}

.sec-head {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 2rem 4rem;
  align-items: end;
  margin-bottom: clamp(2.4rem, 4.5vw, 4rem);
}

.sec-label {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.15rem;
  color: var(--copper);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
}

.sec-label span {
  font-family: var(--serif);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
}

.sec-label::after {
  content: "";
  width: 2rem;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

.sec-head h2 {
  font-size: clamp(2.05rem, 3.6vw, 3.2rem);
  line-height: 1.22;
}

.sec-lead {
  max-width: 28em;
  margin: 0;
  padding-bottom: 0.35rem;
  font-size: 1.02rem;
  line-height: 1.9;
  color: var(--muted);
}

.section-ink .sec-label {
  color: #cf7a44;
}

.section-ink .sec-lead {
  color: rgba(247, 243, 234, 0.62);
}

/* ---------- 服务项目 ---------- */

.service-list {
  border-bottom: 1px solid var(--line);
}

.service-row {
  display: grid;
  grid-template-columns: 3.4rem minmax(0, 1.55fr) minmax(0, 0.75fr) 3rem;
  gap: 1.6rem;
  align-items: start;
  padding: 2.1rem 1.4rem 2.1rem 1rem;
  border-top: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  transition: background 0.45s var(--ease), color 0.45s var(--ease),
    border-color 0.45s var(--ease), padding-left 0.45s var(--ease);
}

.service-row:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 2px;
}

.service-row:hover {
  background: var(--ink);
  border-top-color: transparent;
  color: var(--cream);
  padding-left: 1.9rem;
}

.s-num {
  padding-top: 0.35rem;
  font-family: var(--serif);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  color: var(--copper);
}

.s-main h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.65rem;
  font-size: clamp(1.32rem, 2vw, 1.68rem);
  letter-spacing: -0.015em;
}

.s-main h3 em {
  font-style: normal;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--muted);
  transition: color 0.45s ease;
}

.service-row:hover .s-main h3 em {
  color: rgba(247, 243, 234, 0.55);
}

.s-main p {
  max-width: 34em;
  margin: 0.7rem 0 0;
  font-size: 0.96rem;
  line-height: 1.85;
  color: var(--muted);
  transition: color 0.45s ease;
}

.service-row:hover .s-main p {
  color: rgba(247, 243, 234, 0.72);
}

.s-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.s-tags li {
  padding: 0.22rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-size: 0.72rem;
  color: var(--muted);
  transition: border-color 0.45s ease, color 0.45s ease;
}

.service-row:hover .s-tags li {
  border-color: rgba(247, 243, 234, 0.28);
  color: rgba(247, 243, 234, 0.8);
}

.s-side {
  margin: 0;
  padding-top: 0.4rem;
  font-size: 0.82rem;
  line-height: 2;
  text-align: right;
  color: var(--muted-2);
  transition: color 0.45s ease;
}

.service-row:hover .s-side {
  color: rgba(247, 243, 234, 0.55);
}

.s-arrow {
  display: grid;
  place-items: center;
  justify-self: end;
  width: 2.7rem;
  height: 2.7rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: background 0.4s ease, border-color 0.4s ease, color 0.4s ease,
    transform 0.4s var(--ease);
}

.service-row:hover .s-arrow {
  background: var(--copper);
  border-color: var(--copper);
  color: #fff;
  transform: translateX(3px);
}

/* ---------- 主营品类 ---------- */

.products-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
}

.block-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 1.4rem;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--cream);
}

.block-title small {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(247, 243, 234, 0.45);
}

.cat-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-light);
}

.cat-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line-light);
}

.cat-list strong {
  font-size: clamp(1.25rem, 2.1vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.cat-list span {
  font-family: var(--serif);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: rgba(247, 243, 234, 0.4);
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line-light);
}

.brand-grid div {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line-light);
}

.brand-grid div:nth-child(2n) {
  padding-left: 2rem;
  border-left: 1px solid var(--line-light);
}

.brand-grid strong {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  font-weight: 700;
}

.brand-grid span {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: rgba(247, 243, 234, 0.42);
}

.brand-note {
  margin: 1.6rem 0 0;
  font-size: 0.8rem;
  line-height: 1.8;
  color: rgba(247, 243, 234, 0.5);
}

/* ---------- 维修实拍 ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.1rem;
  align-items: start;
}

.g-item {
  display: flex;
  flex-direction: column;
  margin: 0;
  min-width: 0;
}

.g-side {
  display: grid;
  gap: 1.1rem;
}

.g-main .g-img {
  aspect-ratio: 4 / 5;
}

.g-side .g-img {
  aspect-ratio: 4 / 3;
}

.g-img {
  flex: none;
  overflow: hidden;
  background: var(--paper-deep);
}

.g-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.g-item:hover .g-img img {
  transform: scale(1.035);
}

.g-item figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.85rem 0.1rem 0;
  border-top: 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.g-item figcaption span:first-child {
  font-family: var(--serif);
  font-size: 0.72rem;
  color: var(--copper);
  letter-spacing: 0.06em;
}

.g-item figcaption span:last-child {
  text-align: right;
  letter-spacing: 0.03em;
}

/* ---------- 为什么选择我们 ---------- */

.why-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(2.5rem, 7vw, 6.5rem);
  align-items: start;
}

.year-block .year {
  display: flex;
  align-items: flex-end;
  gap: 0.4rem;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(7.5rem, 17vw, 14rem);
  font-weight: 400;
  line-height: 0.78;
  letter-spacing: -0.05em;
  color: var(--copper);
}

.year-block .year i {
  font-style: normal;
  font-size: 0.14em;
  letter-spacing: 0.1em;
  color: var(--copper);
  padding-bottom: 0.35em;
}

.year-block .year-label {
  margin: 1.5rem 0 0;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--cream);
}

.year-block .year-note {
  margin: 0.6rem 0 0;
  font-size: 0.8rem;
  line-height: 1.9;
  color: rgba(247, 243, 234, 0.5);
}

.year-faults {
  margin: 2.4rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-light);
}

.year-faults .fault-label {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: #cf7a44;
}

.year-faults ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 1.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.year-faults li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  color: rgba(247, 243, 234, 0.72);
}

.year-faults li::before {
  content: "";
  width: 0.28rem;
  height: 0.28rem;
  border-radius: 50%;
  background: var(--copper);
  flex: none;
}

.why-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-light);
}

.why-list li {
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: 0.9rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line-light);
}

.why-list .w-num {
  padding-top: 0.25rem;
  font-family: var(--serif);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: #cf7a44;
}

.why-list h3 {
  margin: 0;
  font-size: 1.14rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--cream);
}

.why-list p {
  grid-column: 2;
  margin: 0.45rem 0 0;
  font-size: 0.91rem;
  line-height: 1.85;
  color: rgba(247, 243, 234, 0.58);
}

.why-quote {
  margin: 2.4rem 0 0;
  padding-left: 1.3rem;
  border-left: 2px solid var(--copper);
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.01em;
  color: var(--cream);
}

/* ---------- 联系 ---------- */

.contact {
  padding: clamp(4.5rem, 9vw, 8rem) 0 clamp(3rem, 5vw, 4.5rem);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}

.contact h2 {
  font-size: clamp(2.3rem, 4.6vw, 4rem);
  line-height: 1.18;
}

.contact-lead {
  max-width: 30em;
  margin: 1.4rem 0 0;
  font-size: 1rem;
  line-height: 1.9;
  color: rgba(247, 243, 234, 0.6);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  margin-top: 2.2rem;
}

.copy-hint {
  min-height: 1.4rem;
  margin: 0.7rem 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: #cf7a44;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.copy-hint.show {
  opacity: 1;
}

.contact-info {
  margin: 0;
  border-top: 1px solid var(--line-light);
}

.contact-info div {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: 1.3rem 0;
  border-bottom: 1px solid var(--line-light);
}

.contact-info dt {
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  color: rgba(247, 243, 234, 0.42);
}

.contact-info dd {
  margin: 0;
  font-size: 1.02rem;
  color: var(--cream);
}

.contact-info dd a {
  text-decoration: none;
  border-bottom: 1px solid rgba(247, 243, 234, 0.32);
  transition: color 0.3s ease, border-color 0.3s ease;
}

.contact-info dd a:hover {
  color: #cf7a44;
  border-color: #cf7a44;
}

/* ---------- 页脚 ---------- */

.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 2.6rem 0 2rem;
  border-top: 1px solid var(--line-light);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.footer-brand .brand-mark {
  width: 2.2rem;
  height: 2.2rem;
  font-size: 1rem;
}

.footer-brand strong {
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}

.footer-desc {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.8;
  color: rgba(247, 243, 234, 0.5);
}

.footer-meta {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: rgba(247, 243, 234, 0.62);
}

.copyright {
  width: min(1240px, 92vw);
  margin: 2.2rem auto 0;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line-light);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: rgba(247, 243, 234, 0.34);
}

/* ---------- 移动端拨打条 ---------- */

.call-bar {
  display: none;
}

/* ---------- 进场动画 ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(1.1rem);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.js [data-reveal].in {
  opacity: 1;
  transform: none;
}

.js .hero-copy > * {
  animation: rise 0.9s var(--ease) both;
}

.js .hero-copy > *:nth-child(2) {
  animation-delay: 0.08s;
}

.js .hero-copy > *:nth-child(3) {
  animation-delay: 0.16s;
}

.js .hero-copy > *:nth-child(4) {
  animation-delay: 0.24s;
}

.js .hero-copy > *:nth-child(5) {
  animation-delay: 0.32s;
}

.js .hero-media {
  animation: fade 1.2s var(--ease) 0.18s both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1.6rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fade {
  from {
    opacity: 0;
    transform: scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   响应式
   ========================================================================== */

@media (max-width: 1250px) {
  html.large-type .nav {
    gap: 0.9rem;
  }

  html.large-type .nav a {
    font-size: 0.82rem;
  }

  html.large-type .header-actions .btn span {
    display: none;
  }

  html.large-type .header-actions .btn {
    min-width: 2.8rem;
    padding: 0;
  }
}

@media (max-width: 940px) {
  .nav {
    display: none;
  }
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.6rem;
  }

  .hero::before {
    display: none;
  }

  .hero-media {
    max-width: 34rem;
    padding-bottom: 2rem;
  }

  .hero-inset {
    left: auto;
    right: -1.2rem;
    bottom: 0;
    width: 38%;
  }

  .hero-media::after {
    display: none;
  }

  .sec-head {
    grid-template-columns: 1fr;
    gap: 1.3rem;
    align-items: start;
  }

  .sec-lead {
    padding-bottom: 0;
  }

  .products-grid,
  .why-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.6rem;
  }

  .why-grid {
    gap: 3rem;
  }
}

@media (max-width: 860px) {
  html {
    font-size: 17px;
  }

  html.large-type {
    font-size: 19px;
  }

  .service-row {
    grid-template-columns: 2.4rem 1fr;
    gap: 0.9rem;
    padding: 1.8rem 0.6rem 1.8rem 0.4rem;
  }

  .service-row:hover {
    padding-left: 0.4rem;
  }

  .s-side,
  .s-arrow {
    display: none;
  }

  .s-main h3 {
    font-size: 1.4rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .g-side {
    grid-template-columns: 1fr;
  }

  .g-main .g-img,
  .g-side .g-img {
    aspect-ratio: 4 / 5;
  }

  .hero-stats {
    flex-wrap: nowrap;
    gap: 0;
  }

  .hero-stats li {
    flex: 1 1 0;
    padding-right: 0.8rem;
    margin-right: 0.8rem;
  }

  .hero-stats b {
    font-size: 1.9rem;
  }

  .hero-stats span {
    font-size: 0.7rem;
    letter-spacing: 0;
    line-height: 1.5;
  }

  .call-bar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
    background: var(--ink);
    color: var(--cream);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.18);
  }

  .call-bar .bar-label {
    display: block;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    color: rgba(247, 243, 234, 0.5);
  }

  .call-bar .bar-phone {
    display: block;
    font-family: var(--serif);
    font-size: 1.02rem;
    letter-spacing: 0.03em;
    color: var(--cream);
    line-height: 1.4;
  }

  .call-bar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.9rem;
    padding: 0 1.25rem;
    background: var(--copper);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 2px;
    white-space: nowrap;
  }

  body {
    padding-bottom: 4.6rem;
  }
}

@media (max-width: 700px) {
  .brand-text em {
    display: none;
  }

  .header-inner {
    min-height: 4rem;
    gap: 0.8rem;
  }

  .brand-mark {
    width: 2.4rem;
    height: 2.4rem;
    font-size: 1.1rem;
  }

  .brand-text strong {
    font-size: 0.95rem;
  }

  .header-actions .btn span {
    display: none;
  }

  .header-actions .btn {
    min-width: 2.7rem;
    padding: 0;
  }

  .text-toggle {
    font-size: 0.72rem;
    padding: 0 0.2rem;
  }

  .hero {
    padding-top: 2.6rem;
  }

  .hero h1 {
    font-size: clamp(34px, 9.5vw, 44px);
  }

  .hero-lead {
    font-size: 1rem;
    line-height: 1.9;
  }

  .hero-meta {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
  }

  .hero-cta .btn-copper {
    width: 100%;
  }

  .hero-inset {
    display: none;
  }

  .hero-media {
    padding-bottom: 0;
  }

  .section {
    padding: 3.6rem 0;
  }

  .sec-head h2 {
    font-size: clamp(1.85rem, 7.6vw, 2.5rem);
  }

  .year-block .year {
    font-size: clamp(6rem, 34vw, 9rem);
  }

  .why-quote {
    font-size: 1.25rem;
  }

  .contact h2 {
    font-size: clamp(2rem, 8.5vw, 2.8rem);
  }

  .contact-actions .btn {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   故障急救单 #emergency（paper 背景）
   ========================================================================== */

.emergency-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(1.6rem, 4vw, 3.2rem);
  align-items: start;
}

.em-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.em-row {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.35s var(--ease), padding-left 0.35s var(--ease);
}

.em-row:hover {
  background: rgba(180, 87, 31, 0.04);
  padding-left: 0.4rem;
}

.em-tag {
  display: inline-block;
  justify-self: start;
  padding: 0.28rem 0.7rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 2px;
  text-align: center;
  margin-top: 0.12rem;
}

.em-tag-red {
  background: #c0392b;
  color: #fff;
}

.em-tag-amber {
  background: var(--copper);
  color: #fff;
}

.em-tag-ink {
  background: var(--ink);
  color: var(--cream);
}

.em-main {
  min-width: 0;
}

.em-head {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.em-head b {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--copper);
  font-size: 1.2em;
}

.em-sub {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  line-height: 1.75;
  color: var(--muted);
}

.em-do {
  margin: 0.55rem 0 0;
  font-size: 0.88rem;
  line-height: 1.8;
  color: #3a342c;
}

/* --- 右侧 aside --- */

.em-aside {
  position: sticky;
  top: 6rem;
  padding: clamp(1.8rem, 4vw, 2.4rem);
  background: var(--ink);
  color: var(--cream);
  border-radius: 4px;
  box-shadow: var(--shadow);
}

.em-aside::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(180, 87, 31, 0.45);
  border-radius: 3px;
  pointer-events: none;
}

.em-aside-label {
  position: relative;
  margin: 0 0 0.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--copper);
  font-weight: 600;
}

.em-aside h3 {
  position: relative;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.em-aside-note {
  position: relative;
  margin: 0.8rem 0 1.4rem;
  font-size: 0.85rem;
  line-height: 1.8;
  color: rgba(247, 243, 234, 0.55);
}

.em-aside .btn-lg {
  position: relative;
  width: 100%;
  margin-bottom: 1.4rem;
}

.em-checks {
  position: relative;
  margin: 0;
  padding: 1rem 0 0;
  list-style: none;
  border-top: 1px solid var(--line-light);
}

.em-checks li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.38rem 0;
  font-size: 0.82rem;
  color: rgba(247, 243, 234, 0.78);
}

.em-checks li::before {
  content: "";
  width: 0.9rem;
  height: 0.9rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b4571f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
  flex: none;
}

/* ==========================================================================
   安心承诺 #promise（section-ink 墨黑背景）
   ========================================================================== */

.flow-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.8rem, 2vw, 1.4rem);
  margin-bottom: clamp(2.8rem, 5vw, 4rem);
}

.flow-step {
  position: relative;
  padding: 1.6rem 1.3rem 1.8rem;
  border: 1px solid var(--line-light);
  border-radius: 3px;
  background: rgba(247, 243, 234, 0.025);
  transition: border-color 0.35s var(--ease), background 0.35s var(--ease);
}

.flow-step:hover {
  border-color: rgba(180, 87, 31, 0.55);
  background: rgba(180, 87, 31, 0.06);
}

.flow-num {
  font-family: var(--serif);
  font-size: 2.8rem;
  line-height: 1;
  color: var(--copper);
  font-weight: 400;
  letter-spacing: -0.03em;
}

.flow-step h3 {
  margin: 0.8rem 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--cream);
}

.flow-step p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.8;
  color: rgba(247, 243, 234, 0.55);
}

.flow-arrow {
  position: absolute;
  top: 50%;
  right: -0.9rem;
  transform: translateY(-50%);
  color: var(--copper);
  font-size: 1.3rem;
  z-index: 2;
}

.flow-4 > .flow-step:last-child .flow-arrow {
  display: none;
}

/* --- 4项安心承诺 --- */

.promise-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.8rem, 2vw, 1.4rem);
}

.promise-card {
  padding: 1.8rem 1.4rem;
  text-align: center;
  border-top: 2px solid var(--copper);
  background: rgba(247, 243, 234, 0.02);
  border-radius: 3px;
  transition: background 0.35s var(--ease), transform 0.35s var(--ease);
}

.promise-card:hover {
  background: rgba(180, 87, 31, 0.07);
  transform: translateY(-2px);
}

.promise-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  background: rgba(180, 87, 31, 0.18);
  border-radius: 50%;
  color: var(--copper);
}

.promise-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--cream);
}

.promise-card p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.75;
  color: rgba(247, 243, 234, 0.55);
}

/* ==========================================================================
   #emergency + #promise 响应式
   ========================================================================== */

@media (max-width: 980px) {
  .emergency-grid {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .em-aside {
    position: static;
  }

  .flow-4,
  .promise-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-arrow {
    display: none;
  }
}

@media (max-width: 640px) {
  .em-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 1.2rem 0;
  }

  .em-tag {
    justify-self: auto;
    width: fit-content;
  }

  .flow-4,
  .promise-4 {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .promise-card {
    display: grid;
    grid-template-columns: 3rem 1fr;
    gap: 1rem;
    align-items: start;
    text-align: left;
    padding: var(--sp-4);
  }

  .promise-card p {
    grid-column: 2;
  }

  .promise-icon {
    margin: 0;
  }
}

/* ==========================================================================
   排版统一：单字体 · 统一字号 · 统一间距
   （本块为覆盖块，删除即回退）
   ========================================================================== */

/* 1. 字体统一：全站只用一套无衬线 */
body,
h1,
h2,
h3,
.hero-stats b,
.year-block .year,
.flow-num,
.sec-label span,
.s-num,
.why-list .w-num,
.g-item figcaption span:first-child,
.call-bar .bar-phone,
.text-toggle::before {
  font-family: var(--sans);
}

/* 2. 字号统一 */
.hero h1 {
  font-size: var(--fs-h1);
  line-height: 1.18;
}

.contact h2 {
  font-size: var(--fs-h1);
  line-height: 1.2;
}

.sec-head h2 {
  font-size: var(--fs-h2);
  line-height: 1.26;
}

.s-main h3,
.em-head,
.em-aside h3 {
  font-size: var(--fs-lg);
}

.why-list h3,
.flow-step h3,
.promise-card h3 {
  font-size: var(--fs-md);
}

.hero-lead {
  font-size: var(--fs-md);
  line-height: 1.7;
}

.sec-lead,
.contact-lead,
.s-main p,
.em-do {
  font-size: var(--fs-base);
  line-height: 1.7;
}

.em-sub,
.flow-step p,
.promise-card p,
.why-list p,
.year-note,
.brand-note,
.contact-info dd {
  font-size: var(--fs-sm);
  line-height: 1.7;
}

.sec-label,
.hero-meta,
.em-tag,
.s-tags li,
.block-title small,
.year-faults .fault-label,
.g-item figcaption,
.brand-text em {
  font-size: var(--fs-xs);
}

.s-side {
  font-size: var(--fs-sm);
}

.block-title {
  font-size: var(--fs-base);
}

.year-block .year {
  font-size: clamp(5.5rem, 11vw, 9rem);
}

.hero-stats b {
  font-size: 2rem;
}

/* 3. 间距统一 */
.section {
  padding: var(--section-y) 0;
}

.hero {
  padding: var(--sp-8) 0 var(--section-y);
}

.sec-head {
  gap: var(--sp-5) var(--sp-8);
  margin-bottom: var(--sp-7);
}

.sec-label {
  margin: 0 0 var(--sp-3);
}

.hero-meta {
  margin-bottom: var(--sp-5);
}

.hero-lead {
  margin-top: var(--sp-5);
}

.hero-cta {
  margin-top: var(--sp-6);
}

.hero-stats {
  margin-top: var(--sp-7);
  padding-top: var(--sp-5);
}

.service-row {
  padding: var(--sp-6) var(--sp-4);
  gap: var(--sp-5);
}

.products-grid,
.why-grid,
.contact-grid,
.emergency-grid {
  gap: var(--gap);
}

.gallery-grid,
.g-side {
  gap: var(--sp-4);
}

.flow-4,
.promise-4 {
  gap: var(--sp-4);
}

.flow-step,
.promise-card {
  padding: var(--sp-5);
}

.em-aside {
  padding: var(--sp-6);
}

.em-row {
  padding: var(--sp-5) 0;
  gap: var(--sp-4);
}

.contact-actions {
  margin-top: var(--sp-5);
  gap: var(--sp-3);
}

.why-quote {
  margin-top: var(--sp-6);
}

.footer-inner {
  gap: var(--sp-5);
}

.copyright {
  margin-top: var(--sp-5);
  padding-top: var(--sp-4);
}

/* 4. 去掉多余装饰与位移，保持干净 */
.hero::before {
  display: none;
}

.em-aside::before {
  display: none;
}

.flow-arrow {
  display: none;
}

.service-row:hover {
  padding-left: var(--sp-4);
  background: var(--paper-deep);
  color: var(--ink);
}

.service-row:hover .s-main h3 em,
.service-row:hover .s-main p,
.service-row:hover .s-side,
.service-row:hover .s-tags li {
  color: var(--muted);
}

.service-row:hover .s-tags li {
  border-color: var(--line);
}

.service-row:hover .s-arrow {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
  transform: none;
}

.btn-copper:hover,
.promise-card:hover,
.flow-step:hover {
  transform: none;
}

/* 5. 移动端字号 */
@media (max-width: 700px) {
  .hero h1 {
    font-size: clamp(1.9rem, 8vw, 2.5rem);
  }

  .sec-head h2 {
    font-size: clamp(1.65rem, 6.4vw, 2.1rem);
  }

  .contact h2 {
    font-size: clamp(1.8rem, 7vw, 2.3rem);
  }

  .year-block .year {
    font-size: clamp(5rem, 24vw, 8rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
