/* ==========================================================================
   doudou-net.com  —  核心样式
   设计基调：温暖可信的家政/物业维修品牌
   主色：深墨绿 #0F4C3A / 暖陶橙 #E2703A / 米白 #FAF7F2
   ========================================================================== */

/* --- 1. 设计令牌 --- */
:root {
  --green-900: #0B3A2C;
  --green-800: #0F4C3A;
  --green-700: #166B52;
  --green-100: #E3EFEA;

  --orange-600: #C8551F;
  --orange-500: #E2703A;
  --orange-100: #FBEDE4;

  --sand-50: #FAF7F2;
  --sand-100: #F3EDE4;
  --sand-200: #E7DED1;

  --ink-900: #1C1A17;
  --ink-700: #45403A;
  --ink-500: #6E675E;
  --ink-300: #A8A099;

  --white: #FFFFFF;
  --line: rgba(28, 26, 23, 0.10);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(28, 26, 23, 0.06), 0 2px 8px rgba(28, 26, 23, 0.05);
  --shadow-md: 0 4px 12px rgba(28, 26, 23, 0.08), 0 12px 28px rgba(28, 26, 23, 0.07);
  --shadow-lg: 0 12px 32px rgba(28, 26, 23, 0.12), 0 32px 64px rgba(28, 26, 23, 0.10);

  --font-zh: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-th: "Thonburi", "Noto Sans Thai", "Leelawadee UI", sans-serif;
  --font-en: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-de: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-num: "SF Mono", "DIN Alternate", "Inter", sans-serif;

  --container: 1180px;
  --header-h: 68px;
}

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

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

body {
  margin: 0;
  background: var(--sand-50);
  color: var(--ink-900);
  font-family: var(--font-zh);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

html[lang="th"] body { font-family: var(--font-th); line-height: 1.95; }
html[lang="en"] body { font-family: var(--font-en); line-height: 1.7; }
html[lang="de"] body { font-family: var(--font-de); line-height: 1.72; }

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  margin: 0 0 .6em;
  line-height: 1.28;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink-900);
}
html[lang="th"] h1, html[lang="th"] h2, html[lang="th"] h3 { line-height: 1.45; letter-spacing: 0; }

/* 德语复合词长，允许在连字符处断行，避免撑破容器 */
html[lang="de"] h1, html[lang="de"] h2, html[lang="de"] h3,
html[lang="de"] p, html[lang="de"] li, html[lang="de"] .card {
  overflow-wrap: break-word;
  hyphens: auto;
}
html[lang="de"] h1 { font-size: clamp(1.85rem, 4.4vw, 3.05rem); }

h1 { font-size: clamp(2rem, 5.2vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.35rem); }
h3 { font-size: clamp(1.12rem, 1.8vw, 1.35rem); }
p { margin: 0 0 1.1em; }

::selection { background: var(--green-800); color: #fff; }

/* --- 3. 布局工具 --- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.section--sand { background: var(--sand-100); }
.section--green { background: var(--green-800); color: rgba(255,255,255,.88); }
.section--green h2, .section--green h3 { color: #fff; }
.section--white { background: var(--white); }

.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(266px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange-600);
  margin-bottom: 14px;
}
html[lang="th"] .eyebrow { letter-spacing: .04em; }
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--orange-500);
  border-radius: 2px;
}
.section--green .eyebrow { color: #F5B58A; }
.section--green .eyebrow::before { background: #F5B58A; }

.lede {
  font-size: clamp(1rem, 1.5vw, 1.13rem);
  color: var(--ink-500);
  max-width: 62ch;
}
.section--green .lede { color: rgba(255,255,255,.75); }

.sec-head { max-width: 660px; margin-bottom: clamp(30px, 4vw, 48px); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .eyebrow::before { display: none; }

/* --- 4. 按钮 --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: 100px;
  border: 1.5px solid transparent;
  font-size: .95rem;
  font-weight: 650;
  line-height: 1.2;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--orange-500); color: #fff; box-shadow: 0 6px 18px rgba(226,112,58,.32); }
.btn--primary:hover { background: var(--orange-600); box-shadow: 0 10px 26px rgba(226,112,58,.42); }

.btn--green { background: var(--green-800); color: #fff; box-shadow: 0 6px 18px rgba(15,76,58,.26); }
.btn--green:hover { background: var(--green-900); }

.btn--ghost { border-color: var(--line); color: var(--ink-900); background: var(--white); }
.btn--ghost:hover { border-color: var(--green-800); color: var(--green-800); }

.btn--on-dark { border-color: rgba(255,255,255,.32); color: #fff; background: rgba(255,255,255,.06); backdrop-filter: blur(6px); }
.btn--on-dark:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.6); }

.btn--lg { padding: 16px 34px; font-size: 1.03rem; }
.btn--block { display: flex; width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 13px; }

/* --- 5. 顶部导航 --- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(250,247,242,.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.header.is-stuck { box-shadow: var(--shadow-sm); }

.nav {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.32rem;
  letter-spacing: -.02em;
  color: var(--green-800);
  flex: none;
}
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__name small {
  display: block;
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-300);
  line-height: 1.1;
  margin-top: 1px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 auto 0 12px;
  padding: 0;
  list-style: none;
}
.nav__links a {
  display: block;
  padding: 8px 14px;
  border-radius: 100px;
  font-size: .92rem;
  font-weight: 550;
  color: var(--ink-700);
  transition: background-color .16s ease, color .16s ease;
}
.nav__links a:hover { background: var(--green-100); color: var(--green-800); }
.nav__links a.is-active { color: var(--green-800); background: var(--green-100); }

.nav__actions { display: flex; align-items: center; gap: 10px; flex: none; }

/* --- 6. 语言切换 --- */
.langsw {
  position: relative;
  flex: none;
}
.langsw__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: .84rem;
  font-weight: 650;
  color: var(--ink-700);
  transition: border-color .16s ease;
}
.langsw__btn:hover { border-color: var(--green-700); }
.langsw__btn svg { width: 14px; height: 14px; }
.langsw__cur { font-size: .72rem; letter-spacing: .06em; }

.langsw__menu {
  position: absolute;
  top: calc(100% + 9px);
  right: 0;
  min-width: 200px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 6px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all .18s ease;
}
.langsw.is-open .langsw__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.langsw__menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 9px 12px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  font-size: .89rem;
  font-weight: 550;
  color: var(--ink-700);
  text-align: left;
}
.langsw__menu button:hover { background: var(--green-100); color: var(--green-800); }
.langsw__menu button.is-cur { background: var(--green-100); color: var(--green-800); font-weight: 700; }
.langsw__menu button .code { font-size: .72rem; color: var(--ink-300); font-weight: 600; letter-spacing: .06em; }

.nav__toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  align-items: center;
  justify-content: center;
}
.nav__toggle svg { width: 20px; height: 20px; }
.nav__toggle .i-close { display: none; }
.nav__toggle.is-open .i-close { display: block; }
.nav__toggle.is-open .i-menu { display: none; }

/* --- 7. Hero --- */
.hero {
  position: relative;
  padding: clamp(52px, 7vw, 92px) 0 clamp(56px, 7vw, 96px);
  background:
    radial-gradient(1100px 520px at 88% -8%, rgba(226,112,58,.13), transparent 62%),
    radial-gradient(760px 420px at 4% 8%, rgba(22,107,82,.11), transparent 60%),
    var(--sand-50);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero h1 { margin-bottom: .42em; }
.hero h1 .hl {
  position: relative;
  color: var(--green-800);
  white-space: nowrap;
}
.hero h1 .hl::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -.06em;
  height: .17em;
  background: var(--orange-500);
  opacity: .3;
  border-radius: 4px;
}
.hero__sub {
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  color: var(--ink-500);
  max-width: 54ch;
  margin-bottom: 1.6em;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.hero__trust li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .89rem;
  font-weight: 550;
  color: var(--ink-700);
}
.hero__trust ul { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 0; padding: 0; list-style: none; }
.hero__trust svg { width: 17px; height: 17px; color: var(--green-700); flex: none; }

.hero__art {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--green-800);
  aspect-ratio: 4 / 3.35;
}
.hero__art svg { width: 100%; height: 100%; }

.hero__badge {
  position: absolute;
  left: 18px; bottom: 18px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
}
.hero__badge .ico {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--orange-100);
  color: var(--orange-600);
  flex: none;
}
.hero__badge .ico svg { width: 20px; height: 20px; }
.hero__badge b { display: block; font-size: 1.06rem; line-height: 1.25; color: var(--green-800); }
.hero__badge span { font-size: .76rem; color: var(--ink-500); }

/* --- 8. 卡片 --- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(22,107,82,.28); }
.card h3 { margin-bottom: .5em; }
.card p:last-child { margin-bottom: 0; }
.card__ico {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--green-100);
  color: var(--green-800);
  margin-bottom: 16px;
  flex: none;
}
.card__ico svg { width: 23px; height: 23px; }
.card__ico--orange { background: var(--orange-100); color: var(--orange-600); }

.card--link { display: flex; flex-direction: column; }
.card--link .card__more {
  margin-top: auto;
  padding-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .87rem;
  font-weight: 650;
  color: var(--orange-600);
}
.card--link .card__more svg { width: 15px; height: 15px; transition: transform .2s ease; }
.card--link:hover .card__more svg { transform: translateX(4px); }

/* --- 9. 服务清单卡（含参考价） --- */
.svc { position: relative; }
.svc__price {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 14px;
  padding: 7px 13px;
  border-radius: 100px;
  background: var(--sand-100);
  font-family: var(--font-num);
  font-size: .86rem;
  font-weight: 650;
  color: var(--green-800);
  letter-spacing: 0;
}
.svc__price small {
  font-family: var(--font-zh);
  font-size: .74rem;
  font-weight: 600;
  color: var(--ink-500);
  letter-spacing: 0;
}
html[lang="th"] .svc__price small { font-family: var(--font-th); }
html[lang="en"] .svc__price small { font-family: var(--font-en); }

/* --- 10. 步骤流程 --- */
.steps { counter-reset: st; }
.steps .card { position: relative; padding-left: 24px; }
.step__n {
  counter-increment: st;
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--green-800);
  color: #fff;
  font-family: var(--font-num);
  font-size: .95rem;
  font-weight: 700;
}
.step__n::before { content: counter(st, decimal-leading-zero); }

/* --- 11. 为什么选我们 --- */
.why { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 4px; }
.why__item {
  display: flex;
  gap: 14px;
  padding: 22px 18px;
  border-radius: var(--radius-md);
  transition: background-color .2s ease;
}
.why__item:hover { background: rgba(255,255,255,.06); }
.why__item .num {
  font-family: var(--font-num);
  font-size: 1.5rem;
  font-weight: 700;
  color: #F5B58A;
  line-height: 1.1;
  flex: none;
}
.why__item h3 { font-size: 1.02rem; margin-bottom: .35em; }
.why__item p { font-size: .9rem; color: rgba(255,255,255,.66); margin: 0; }

/* --- 12. 区域标签 --- */
.areas { display: flex; flex-wrap: wrap; gap: 9px; }
.areas__tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: .89rem;
  font-weight: 550;
  color: var(--ink-700);
  transition: all .18s ease;
}
.areas__tag::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange-500);
  flex: none;
}
.areas__tag:hover { border-color: var(--green-700); color: var(--green-800); background: var(--green-100); }
.areas__tag.is-major { background: var(--green-800); color: #fff; border-color: var(--green-800); }
.areas__tag.is-major::before { background: #F5B58A; }

/* --- 13. CTA 区块 --- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--green-900);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(34px, 5vw, 60px);
  box-shadow: var(--shadow-lg);
}
.cta-band::before {
  content: "";
  position: absolute;
  right: -90px; top: -90px;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(226,112,58,.34), transparent 68%);
}
.cta-band__inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.cta-band h2 { color: #fff; margin-bottom: .35em; max-width: 20ch; }
.cta-band p { color: rgba(255,255,255,.72); margin: 0; max-width: 46ch; }

/* --- 14. 页头（内页） --- */
.pagehead {
  position: relative;
  padding: clamp(44px, 5.5vw, 76px) 0 clamp(40px, 5vw, 64px);
  background:
    radial-gradient(760px 400px at 82% 0%, rgba(226,112,58,.12), transparent 62%),
    radial-gradient(560px 340px at 6% 12%, rgba(22,107,82,.10), transparent 60%),
    var(--sand-50);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.pagehead h1 { max-width: 20ch; margin-inline: auto; }
.pagehead .lede { margin-inline: auto; text-align: center; }
.crumbs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: .84rem;
  color: var(--ink-300);
  margin-bottom: 18px;
}
.crumbs a { color: var(--ink-500); }
.crumbs a:hover { color: var(--green-800); }

/* --- 15. 联系页 --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 4vw, 52px); align-items: start; }

.cinfo { display: grid; gap: 12px; }
.cinfo__row {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  padding: 19px 20px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--line);
  transition: all .2s ease;
}
.cinfo__row:hover { border-color: var(--green-700); box-shadow: var(--shadow-sm); }
.cinfo__ico {
  width: 42px; height: 42px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--green-100);
  color: var(--green-800);
  flex: none;
}
.cinfo__ico svg { width: 21px; height: 21px; }
.cinfo__ico--wa { background: #E5F6EC; color: #128C4A; }
.cinfo__ico--line { background: #E8F7F0; color: #06A752; }
.cinfo__ico--wechat { background: #E9F2FC; color: #2A7BD4; }
.cinfo__ico--mail { background: var(--orange-100); color: var(--orange-600); }
.cinfo__k {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ink-300);
  margin-bottom: 1px;
}
html[lang="th"] .cinfo__k { text-transform: none; letter-spacing: 0; font-size: .82rem; }
html[lang="de"] .cinfo__k { text-transform: none; letter-spacing: 0; font-size: .78rem; }
.cinfo__v {
  display: block;
  font-size: 1.04rem;
  font-weight: 650;
  color: var(--ink-900);
  line-height: 1.5;
  word-break: break-word;
}
.cinfo__v.is-placeholder { color: var(--ink-300); font-style: italic; }

/* 未填的联系方式：禁用态 + 「即将上线」标记 */
.cinfo__row.is-pending {
  background: var(--sand-100);
  border-style: dashed;
  border-color: var(--sand-200);
  cursor: default;
}
.cinfo__row.is-pending:hover {
  border-color: var(--sand-200);
  box-shadow: none;
}
.cinfo__row.is-pending .cinfo__ico {
  background: var(--sand-200);
  color: var(--ink-300);
}

/* 在值后面挂一个胶囊标签 */
.cinfo__row.is-pending .cinfo__v::after {
  content: attr(data-pending-label);
  display: inline-block;
  margin-left: 8px;
  padding: 2px 9px;
  border-radius: 100px;
  background: var(--sand-200);
  color: var(--ink-500);
  font-size: .7rem;
  font-weight: 650;
  font-style: normal;
  line-height: 1.5;
  vertical-align: middle;
  white-space: nowrap;
}
.cinfo__note {
  display: block;
  font-size: .82rem;
  color: var(--ink-500);
  margin-top: 3px;
  line-height: 1.5;
}

.form { display: grid; gap: 15px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.field { display: grid; gap: 7px; }
.field > label { font-size: .85rem; font-weight: 650; color: var(--ink-700); }
.field > label .req { color: var(--orange-600); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-family: inherit;
  font-size: .95rem;
  color: var(--ink-900);
  transition: border-color .16s ease, box-shadow .16s ease;
}
.field textarea { resize: vertical; min-height: 118px; line-height: 1.65; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--green-700);
  box-shadow: 0 0 0 3px rgba(22,107,82,.13);
}
.form__note { font-size: .82rem; color: var(--ink-500); }

/* 上线提醒块（部署后可整块删除） */
.setup-note {
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  background: var(--orange-100);
  border: 1px solid rgba(200, 85, 31, .26);
  color: var(--orange-600);
  line-height: 1.65;
}
.setup-note strong { display: block; margin-bottom: 3px; }
.setup-note code {
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(200, 85, 31, .12);
  font-family: var(--font-num);
  font-size: .95em;
}
.form__status {
  display: none;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 550;
}
.form__status.is-ok {
  display: block;
  background: #E5F6EC;
  color: #128C4A;
  border: 1px solid rgba(18,140,74,.28);
}
.form__status.is-err {
  display: block;
  background: var(--orange-100);
  color: var(--orange-600);
  border: 1px solid rgba(200,85,31,.26);
}

/* --- 16. FAQ --- */
.faq { display: grid; gap: 10px; max-width: 820px; margin-inline: auto; }
.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  overflow: hidden;
  transition: border-color .2s ease;
}
.faq__item.is-open { border-color: rgba(22,107,82,.35); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 18px 22px;
  border: 0;
  background: transparent;
  font-size: 1rem;
  font-weight: 650;
  color: var(--ink-900);
  text-align: left;
  line-height: 1.5;
}
.faq__q:hover { color: var(--green-800); }
.faq__sign { flex: none; width: 20px; height: 20px; position: relative; }
.faq__sign::before, .faq__sign::after {
  content: "";
  position: absolute;
  background: var(--green-700);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.faq__sign::before { left: 0; top: 9px; width: 20px; height: 2px; }
.faq__sign::after { left: 9px; top: 0; width: 2px; height: 20px; }
.faq__item.is-open .faq__sign::after { transform: rotate(90deg); opacity: 0; }
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .28s ease;
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { margin: 0; padding: 0 22px 20px; color: var(--ink-500); font-size: .95rem; }

/* --- 21. 结算方式三档 --- */
.pay { align-items: stretch; }

.pay__tier {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 26px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.pay__tier:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(22,107,82,.28);
}
/* 中间档（最常见）突出 */
.pay__tier--mid {
  border-color: rgba(22,107,82,.45);
  box-shadow: 0 0 0 3px rgba(22,107,82,.08), var(--shadow-md);
}
.pay__pop {
  position: absolute;
  top: -11px; left: 26px;
  padding: 3px 12px;
  border-radius: 100px;
  background: var(--green-800);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .04em;
}

.pay__head {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 14px;
}
.pay__badge {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  flex: none;
  border-radius: 9px;
  background: var(--sand-100);
  color: var(--green-800);
  font-family: var(--font-num);
  font-size: .92rem;
  font-weight: 700;
}
.pay__tier--mid .pay__badge { background: var(--green-800); color: #fff; }

.pay__head h3 {
  margin: 0 0 3px;
  font-size: 1.08rem;
}
/* 付款时点：这一块是重点，用橙色 */
.pay__when {
  margin: 0;
  font-size: .89rem;
  font-weight: 650;
  line-height: 1.5;
  color: var(--orange-600);
}
.pay__d {
  margin: 0 0 14px;
  font-size: .92rem;
  color: var(--ink-500);
  line-height: 1.72;
}
.pay__ex {
  margin: auto 0 0;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: .82rem;
  color: var(--ink-300);
  line-height: 1.65;
}

/* 规模递增条 */
.pay__bar {
  height: 4px;
  margin-top: 16px;
  border-radius: 3px;
  background: var(--sand-100);
  overflow: hidden;
}
.pay__bar > span {
  display: block;
  height: 100%;
  width: var(--w, 30%);
  border-radius: 3px;
  background: linear-gradient(90deg, var(--green-700), var(--orange-500));
}

.pay__notes {
  max-width: 820px;
  margin: 30px auto 0;
  display: grid;
  gap: 11px;
}
.pay__contract, .pay__note {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 0;
  padding: 15px 19px;
  border-radius: var(--radius-md);
  font-size: .91rem;
  line-height: 1.7;
}
.pay__contract {
  background: var(--green-100);
  border: 1px solid rgba(22,107,82,.2);
  color: var(--green-900);
  font-weight: 550;
}
.pay__note {
  background: var(--sand-100);
  color: var(--ink-700);
}
.pay__contract svg, .pay__note svg {
  width: 18px; height: 18px;
  flex: none;
  margin-top: 3px;
}
.pay__contract svg { color: var(--green-700); }
.pay__note svg { color: var(--ink-300); }

/* --- 22. 法律条款页 --- */
.legal__updated {
  display: inline-block;
  margin: 4px 0 0;
  padding: 5px 14px;
  border-radius: 100px;
  background: var(--sand-100);
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink-500);
}

.legal__tabs {
  display: flex;
  gap: 8px;
  max-width: 520px;
  margin: 0 auto 40px;
  padding: 6px;
  border-radius: 100px;
  background: var(--sand-100);
}
.legal__tab {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border: 0;
  border-radius: 100px;
  background: transparent;
  font-size: .94rem;
  font-weight: 650;
  color: var(--ink-500);
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.legal__tab svg { width: 18px; height: 18px; flex: none; }
.legal__tab:hover { color: var(--green-800); }
.legal__tab.is-active {
  background: var(--white);
  color: var(--green-800);
  box-shadow: var(--shadow-sm);
}

.legal__panel { display: none; }
.legal__panel.is-active { display: block; animation: legalIn .3s ease both; }
@keyframes legalIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.legal__head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  max-width: 760px;
  margin: 0 auto 34px;
}
.legal__head h2 { margin-bottom: .35em; font-size: clamp(1.35rem, 2.6vw, 1.85rem); }
.legal__head p { margin: 0; color: var(--ink-500); }
.legal__ico {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  flex: none;
  border-radius: 13px;
  background: var(--green-100);
  color: var(--green-800);
}
.legal__ico svg { width: 24px; height: 24px; }
.legal__ico--orange { background: var(--orange-100); color: var(--orange-600); }

.legal__body { max-width: 760px; margin: 0 auto; }
.legal__body h3 {
  margin: 2.2em 0 .7em;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line);
  font-size: 1.12rem;
  color: var(--green-800);
}
.legal__body h3:first-child { margin-top: 0; }
.legal__body p { color: var(--ink-700); line-height: 1.82; }
.legal__body p strong { color: var(--green-800); font-weight: 700; }

.legal__list {
  margin: 0 0 1.2em;
  padding: 0;
  list-style: none;
  counter-reset: lg;
}
.legal__list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 9px;
  color: var(--ink-700);
  line-height: 1.78;
}
.legal__list li::before {
  counter-increment: lg;
  content: counter(lg);
  position: absolute;
  left: 0; top: .34em;
  display: grid;
  place-items: center;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-800);
  font-family: var(--font-num);
  font-size: .72rem;
  font-weight: 700;
}
/* 无序清单样式 */
.legal__list--no li::before {
  content: "✕";
  width: auto; height: auto;
  background: none;
  color: var(--orange-500);
  font-size: .8rem;
  top: .1em;
  left: 4px;
}
/* 破折号清单样式 */
.legal__list--dash li::before {
  content: "";
  left: 6px; top: .82em;
  width: 8px; height: 2px;
  border-radius: 2px;
  background: var(--orange-500);
}

.legal__note {
  margin: -4px 0 1.2em;
  padding: 13px 17px;
  border-radius: var(--radius-sm);
  background: var(--sand-100);
  border-left: 3px solid var(--orange-500);
  font-size: .91rem;
  color: var(--ink-700);
}

/* 三档结算（条款里的简版） */
.legal__tiers {
  display: grid;
  gap: 11px;
  margin: 0 0 1.4em;
}
.legal__tier {
  display: flex;
  gap: 14px;
  padding: 17px 19px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}
.legal__tier-n {
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  flex: none;
  border-radius: 8px;
  background: var(--sand-100);
  color: var(--green-800);
  font-family: var(--font-num);
  font-size: .82rem;
  font-weight: 700;
}
.legal__tier h4 { margin: 0 0 4px; font-size: .98rem; }
.legal__tier p { margin: 0; font-size: .91rem; color: var(--ink-500); line-height: 1.7; }

.legal__contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: clamp(24px, 4vw, 38px);
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 640px) {
  .legal__tabs { border-radius: var(--radius-md); flex-direction: column; }
  .legal__head { flex-direction: column; gap: 13px; }
  .legal__contact { flex-direction: column; align-items: flex-start; }
}

/* --- 23. 页脚 --- */
.footer {
  background: var(--green-900);
  color: rgba(255,255,255,.62);
  padding: clamp(48px, 6vw, 76px) 0 0;
  font-size: .92rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(24px, 3.5vw, 44px);
  padding-bottom: 46px;
}
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer .brand__name small { color: rgba(255,255,255,.42); }
.footer__about { max-width: 34ch; font-size: .9rem; line-height: 1.8; }
.footer h4 {
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 15px;
}
html[lang="th"] .footer h4 { text-transform: none; letter-spacing: 0; font-size: .92rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul a { transition: color .16s ease; }
.footer ul a:hover { color: #fff; }
.footer__contact { display: grid; gap: 11px; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact svg { width: 16px; height: 16px; color: #F5B58A; flex: none; margin-top: 4px; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 22px 0 26px;
  border-top: 1px solid rgba(255,255,255,.10);
  font-size: .83rem;
  color: rgba(255,255,255,.44);
}
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer__bottom a:hover { color: #fff; }

/* --- 18. 响应式 --- */
@media (max-width: 1000px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { aspect-ratio: 16 / 10; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  :root { --header-h: 60px; }
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 14px 20px 22px;
    background: var(--sand-50);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all .2s ease;
  }
  .nav__links.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav__links a { padding: 12px 16px; font-size: 1rem; }
  .brand { font-size: 1.18rem; }
  .brand__mark { width: 30px; height: 30px; }
  .nav__actions .btn--primary { display: none; }
  .footer__grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .hero__badge { left: 12px; right: 12px; bottom: 12px; }
}

@media (max-width: 420px) {
  .brand__name small { display: none; }
  .hero__trust ul { flex-direction: column; gap: 10px; }
}

/* --- 19. 动效 --- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s cubic-bezier(.22,.61,.36,1), transform .6s cubic-bezier(.22,.61,.36,1);
}
.reveal.is-in { opacity: 1; transform: translateY(0); }

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

/* --- 20. 打印 --- */
@media print {
  .header, .footer, .cta-band, .hero__art { display: none !important; }
  body { background: #fff; }
}