/* ==========================================================================
   顺心家 · 到家生活服务  sxj.kmtec.cn
   合肥恺明信息科技有限责任公司 旗下自营品牌
   纯静态 / 零外链 / 系统字体栈 / 响应式

   设计取向：品牌青绿 + 暖橙，大圆角、浅色、干净通透。
   这是面向消费者的生活服务品牌，刻意不用公司官网那套深色科技风。
   ========================================================================== */

:root {
  --teal:        #18a8a8;   /* 取自 Logo */
  --teal-600:    #12908f;
  --teal-700:    #0d7373;
  --teal-50:     #eafaf9;
  --teal-100:    #d3f3f1;

  --orange:      #fc9c30;   /* 取自 Logo */
  --orange-600:  #ef8813;
  --orange-50:   #fff6e9;

  --ink:         #16302f;
  --ink-2:       #4a6462;
  --ink-3:       #7b918f;
  --ink-4:       #a3b5b3;
  --line:        #e2eeed;
  --line-2:      #f0f7f6;
  --bg:          #ffffff;
  --bg-2:        #f4faf9;
  --bg-warm:     #fffaf2;

  --radius:      16px;
  --radius-lg:   22px;
  --radius-xl:   30px;
  --shadow:      0 2px 6px rgba(22,48,47,.04), 0 12px 32px -10px rgba(22,48,47,.10);
  --shadow-lg:   0 24px 60px -22px rgba(18,144,143,.42);

  --maxw:        1180px;
  --nav-h:       70px;

  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
          "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.78;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; height: auto; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
p  { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.25; letter-spacing: -.015em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: 24px; }

/* --------------------------------------------------------------------------
   排版
   -------------------------------------------------------------------------- */
.display { font-size: clamp(32px, 4.8vw, 56px); line-height: 1.16; letter-spacing: -.028em; }
.h-sec   { font-size: clamp(25px, 3.3vw, 40px); line-height: 1.22; letter-spacing: -.024em; }
.lead    { font-size: clamp(15.5px, 1.2vw, 17.5px); color: var(--ink-2); line-height: 1.85; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px 7px 12px;
  border-radius: 999px;
  background: var(--teal-50);
  color: var(--teal-700);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .02em;
}
.pill::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--orange);
}
.pill.warm { background: var(--orange-50); color: #a86212; }
.pill.warm::before { background: var(--teal); }

.sec-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.sec-head .h-sec { margin-top: 18px; }
.sec-head .lead  { margin-top: 16px; }
.sec-head.left { margin-inline: 0; text-align: left; }

.section     { padding: 96px 0; }
.section-alt { background: var(--bg-2); }
.section-warm{ background: var(--bg-warm); }

/* --------------------------------------------------------------------------
   按钮
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .2s ease, box-shadow .24s ease, background .2s ease, border-color .2s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--teal) 0%, #17c0b4 100%);
  color: #fff;
  box-shadow: 0 12px 30px -10px rgba(24,168,168,.85);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(24,168,168,1); }

.btn-orange {
  background: linear-gradient(135deg, var(--orange) 0%, #ffb454 100%);
  color: #52330a;
  box-shadow: 0 12px 30px -10px rgba(252,156,48,.8);
}
.btn-orange:hover { transform: translateY(-2px); }

.btn-line { background: #fff; color: var(--teal-700); border-color: var(--teal-100); }
.btn-line:hover { border-color: var(--teal); background: var(--teal-50); }

.btn-lg { padding: 17px 38px; font-size: 16.5px; }

/* --------------------------------------------------------------------------
   导航
   -------------------------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 90;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 2px 18px rgba(22,48,47,.05); }
.nav > .container { display: flex; align-items: center; gap: 20px; }

.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand .mark { width: 40px; height: 40px; }
.brand .bn { display: block; font-size: 20px; font-weight: 800; letter-spacing: .04em; color: var(--teal-700); }
.brand .bs { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .18em; color: var(--ink-4); line-height: 1.2; }

.nav nav { margin-left: auto; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links > li > a {
  display: block; padding: 9px 15px; border-radius: 999px;
  font-size: 15px; font-weight: 500; color: var(--ink-2);
  transition: color .2s ease, background .2s ease;
}
.nav-links > li > a:hover { color: var(--teal-700); background: var(--teal-50); }
.nav-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-cta .btn { padding: 10px 22px; font-size: 14.5px; }
.nav-cta .tel { font-size: 17px; font-weight: 800; color: var(--orange-600); letter-spacing: -.01em; }

.nav-toggle {
  display: none; width: 42px; height: 42px; padding: 0;
  border: 1px solid var(--line); background: #fff; border-radius: 12px; cursor: pointer;
}
.nav-toggle span { display: block; width: 17px; height: 2px; margin: 3.5px auto; background: var(--teal-700); border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.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(-5.5px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 84px;
  background:
    radial-gradient(760px 420px at 88% 0%, rgba(24,168,168,.14), transparent 62%),
    radial-gradient(520px 380px at 2% 96%, rgba(252,156,48,.13), transparent 64%),
    var(--bg);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  gap: 56px;
  align-items: center;
}
.hero h1 { margin-top: 22px; }
.hero h1 .hl { color: var(--teal); }
.hero .lead { margin-top: 22px; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero-badges span {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13.5px; font-weight: 600; color: var(--ink-2);
  background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 8px 15px;
}
.hero-badges svg { color: var(--teal); flex-shrink: 0; }

.hero-visual { position: relative; }
.hero-visual .shot {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid #fff;
}
.hero-visual .shot img { width: 100%; }
.hero-visual .float {
  position: absolute;
  right: -14px; bottom: -22px;
  background: #fff;
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: 0 18px 44px -14px rgba(22,48,47,.3);
  display: flex; align-items: center; gap: 12px;
}
.hero-visual .float .n { font-size: 21px; font-weight: 800; color: var(--teal); line-height: 1.1; }
.hero-visual .float .t { font-size: 12.5px; color: var(--ink-3); }

/* --------------------------------------------------------------------------
   三大品类
   -------------------------------------------------------------------------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 22px; }
.cat {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 28px 28px;
  overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.cat:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--teal-100); }
.cat .thumb {
  width: 108px; height: 108px;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 20px;
  background: var(--teal-50);
}
.cat .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cat h3 { font-size: 21px; }
.cat .sub { margin-top: 6px; font-size: 14px; color: var(--teal-700); font-weight: 600; letter-spacing: .02em; }
.cat p { margin-top: 12px; font-size: 14.8px; color: var(--ink-2); }
.cat .items { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.cat .items span {
  font-size: 12.8px; color: var(--ink-2);
  background: var(--bg-2); border-radius: 999px; padding: 4px 12px;
}

/* --------------------------------------------------------------------------
   热门服务
   -------------------------------------------------------------------------- */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 232px), 1fr)); gap: 20px; }
.svc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease;
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.svc .pic { aspect-ratio: 1 / 1; overflow: hidden; background: var(--bg-2); }
.svc .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.svc:hover .pic img { transform: scale(1.05); }
.svc .body { padding: 18px 18px 20px; }
.svc h3 { font-size: 16.5px; }
.svc .meta { margin-top: 10px; display: flex; align-items: baseline; gap: 8px; }
.svc .price { font-size: 20px; font-weight: 800; color: var(--orange-600); letter-spacing: -.02em; }
.svc .price small { font-size: 12.5px; font-weight: 600; margin-left: 1px; }
.svc .unit { font-size: 12.5px; color: var(--ink-4); }

.price-note {
  margin-top: 26px;
  text-align: center;
  font-size: 13px;
  color: var(--ink-4);
}

/* --------------------------------------------------------------------------
   洗护工序
   -------------------------------------------------------------------------- */
.proc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 22px; }
.proc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.proc .pic { aspect-ratio: 4 / 3; overflow: hidden; }
.proc .pic img { width: 100%; height: 100%; object-fit: cover; }
.proc .body { padding: 22px 22px 24px; }
.proc .step { font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--orange-600); }
.proc h3 { font-size: 18px; margin-top: 9px; }
.proc p { margin-top: 9px; font-size: 14.3px; color: var(--ink-2); }

/* --------------------------------------------------------------------------
   图文交替
   -------------------------------------------------------------------------- */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 60px; align-items: center; }
.split.reverse .split-media { order: -1; }
.split-media img { width: 100%; border-radius: var(--radius-xl); box-shadow: var(--shadow); }
.split h2 { margin-top: 18px; }
.split > div > .lead { margin-top: 18px; }

.check-list { display: grid; gap: 14px; margin-top: 28px; }
.check-list li { display: grid; grid-template-columns: 26px 1fr; gap: 13px; font-size: 15.3px; color: var(--ink-2); align-items: start; }
.check-list .tick {
  margin-top: 4px; width: 22px; height: 22px;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--teal-50); color: var(--teal);
}
.check-list b { color: var(--ink); font-weight: 700; }

/* --------------------------------------------------------------------------
   服务保障
   -------------------------------------------------------------------------- */
.guard-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 20px; }
.guard {
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 22px 28px;
  transition: transform .26s ease, border-color .26s ease;
}
.guard:hover { transform: translateY(-4px); border-color: var(--teal-100); }
.guard .ic {
  width: 56px; height: 56px; margin: 0 auto 18px;
  display: grid; place-items: center; border-radius: 18px;
  background: linear-gradient(140deg, var(--teal-50), var(--orange-50));
  color: var(--teal);
}
.guard h3 { font-size: 17px; }
.guard p { margin-top: 8px; font-size: 13.8px; color: var(--ink-3); }

/* --------------------------------------------------------------------------
   服务流程
   -------------------------------------------------------------------------- */
.flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 24px; counter-reset: s; }
.flow .step { position: relative; padding-top: 34px; }
.flow .step::before {
  counter-increment: s;
  content: counter(s, decimal-leading-zero);
  position: absolute; top: 0; left: 0;
  font-size: 30px; font-weight: 800; line-height: 1;
  color: var(--teal-100); letter-spacing: -.04em;
}
.flow .step h3 { font-size: 17px; }
.flow .step p { margin-top: 8px; font-size: 14.2px; color: var(--ink-2); }

/* --------------------------------------------------------------------------
   覆盖范围 / 数据条
   -------------------------------------------------------------------------- */
.area-band {
  background: linear-gradient(135deg, var(--teal-700) 0%, var(--teal) 55%, #17c0b4 100%);
  border-radius: var(--radius-xl);
  padding: 44px 44px 40px;
  color: #fff;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  gap: 30px;
}
.area-band .k { font-size: clamp(22px, 2.3vw, 30px); font-weight: 800; letter-spacing: -.02em; }
.area-band .v { margin-top: 6px; font-size: 14px; color: rgba(255,255,255,.82); }

/* --------------------------------------------------------------------------
   下单 / 二维码
   -------------------------------------------------------------------------- */
.order-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 56px; align-items: center; }
.qr-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 32px 30px;
  text-align: center;
  box-shadow: var(--shadow);
}
.qr-card .qr {
  width: 190px; height: 190px;
  margin: 0 auto 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-2);
  display: grid; place-items: center;
  overflow: hidden;
}
.qr-card .qr img { width: 100%; height: 100%; object-fit: contain; }
.qr-card .qr .ph { padding: 18px; font-size: 13px; color: var(--ink-4); line-height: 1.7; }
.qr-card b { display: block; font-size: 17px; }
.qr-card p { margin-top: 8px; font-size: 13.8px; color: var(--ink-3); }

.contact-rows { display: grid; gap: 16px; margin-top: 28px; }
.contact-rows li { display: flex; gap: 14px; align-items: flex-start; }
.contact-rows .ic {
  flex-shrink: 0; width: 42px; height: 42px;
  display: grid; place-items: center; border-radius: 13px;
  background: var(--teal-50); color: var(--teal);
}
.contact-rows .k { font-size: 12.8px; color: var(--ink-4); }
.contact-rows .v { font-size: 16.5px; font-weight: 700; }
.contact-rows .v a:hover { color: var(--teal); }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq { display: grid; gap: 13px; max-width: 840px; margin: 0 auto; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 24px;
}
.faq details[open] { border-color: var(--teal-100); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 19px 0;
  font-weight: 700; font-size: 16px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 23px; font-weight: 400; color: var(--teal); }
.faq details[open] summary::after { content: "−"; }
.faq details p {
  padding: 16px 0 21px;
  border-top: 1px solid var(--line-2);
  font-size: 14.8px; color: var(--ink-2);
}

/* --------------------------------------------------------------------------
   页脚
   -------------------------------------------------------------------------- */
.footer { background: #0f2827; color: rgba(255,255,255,.58); padding: 64px 0 0; font-size: 14.5px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 44px; padding-bottom: 48px; }
.footer .brand .bn { color: #fff; }
.footer .brand .bs { color: rgba(255,255,255,.4); }
.footer .desc { margin-top: 18px; max-width: 330px; line-height: 1.85; }
.footer h4 { color: #fff; font-size: 14.5px; margin-bottom: 16px; }
.footer ul { display: grid; gap: 10px; }
.footer a:hover { color: #fff; }
.footer .f-tel { font-size: 20px; font-weight: 800; color: #ffc46b; letter-spacing: -.01em; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.09);
  padding: 20px 0 28px;
  display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between;
  font-size: 13px; color: rgba(255,255,255,.38);
}
.footer-bottom a:hover { color: #fff; }

/* --------------------------------------------------------------------------
   滚动动画
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .07s; }
.reveal.d2 { transition-delay: .14s; }
.reveal.d3 { transition-delay: .21s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* --------------------------------------------------------------------------
   响应式
   -------------------------------------------------------------------------- */
@media (max-width: 1000px) {
  .hero-grid, .split, .order-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .split.reverse .split-media { order: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 34px; }
}

@media (max-width: 860px) {
  .section { padding: 68px 0; }
  .nav nav { position: absolute; top: var(--nav-h); left: 14px; right: 14px; margin: 0; }
  .nav-links {
    display: none; flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 12px; box-shadow: 0 24px 50px -18px rgba(22,48,47,.35);
  }
  .nav-links.open { display: flex; }
  .nav-links > li > a { padding: 13px 14px; font-size: 16px; border-radius: 12px; }
  .nav-cta { margin-left: auto; }
  .nav-cta .tel { display: none; }
  .nav-toggle { display: block; }
  .area-band { padding: 34px 28px; }
  .hero-visual .float { right: 8px; bottom: -18px; }
}

@media (max-width: 640px) {
  .container { padding-inline: 18px; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .cat { padding: 26px 22px; }
  .split { gap: 34px; }
}

/* --------------------------------------------------------------------------
   更多服务（扁平图标行）
   -------------------------------------------------------------------------- */
.more-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  gap: 16px;
  margin-top: 30px;
}
.more {
  display: flex; align-items: center; gap: 13px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 15px 17px;
  transition: border-color .24s ease, transform .24s ease;
}
.more:hover { border-color: var(--teal-100); transform: translateY(-3px); }
.more img { width: 38px; height: 38px; flex-shrink: 0; }
.more b { display: block; font-size: 15px; font-weight: 700; }
.more small { font-size: 12.3px; color: var(--ink-3); }

/* 小程序样机 */
.app-phone {
  width: min(268px, 100%); margin: 0 auto;
  border-radius: 38px; padding: 9px;
  background: linear-gradient(160deg, #cfeeec, #ffffff 55%, #ffe3bd);
  box-shadow: 0 34px 70px -26px rgba(18,144,143,.55), inset 0 0 0 1px rgba(255,255,255,.9);
}
.app-phone .screen { border-radius: 30px; overflow: hidden; background: #fff; }
.app-phone .screen img { width: 100%; display: block; }
.order-grid.three { grid-template-columns: minmax(0,1fr) minmax(0,.72fr) minmax(0,.62fr); gap: 40px; }
@media (max-width: 1120px) { .order-grid.three { grid-template-columns: minmax(0,1fr) minmax(0,.8fr); } }
@media (max-width: 1000px) { .order-grid.three { grid-template-columns: minmax(0,1fr); } }
