﻿:root {
  --ink: #1f211d;
  --muted: #676960;
  --paper: #f7f4ee;
  --card: #fffdf9;
  --terracotta: #d05340;
  --terracotta-dark: #96382b;
  --earth: #a67b5b;
  --bamboo: #3a5f0b;
  --bamboo-dark: #284507;
  --line: #ded7cf;
  --shadow: 0 18px 50px rgba(83, 58, 40, .12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.75;
}
a { color: inherit; }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(222, 215, 207, .85);
  background: rgba(247, 244, 238, .93);
  backdrop-filter: blur(14px);
}
.nav-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { font-weight: 850; letter-spacing: .08em; text-decoration: none; }
.nav-links { display: flex; gap: 24px; align-items: center; font-size: 14px; }
.nav-links a { color: var(--muted); text-decoration: none; }
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--terracotta-dark); font-weight: 800; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  color: white !important;
  background: var(--terracotta-dark);
  box-shadow: 0 8px 24px rgba(150, 56, 43, .22);
  font-weight: 750;
  text-decoration: none;
}
.button.secondary {
  color: var(--bamboo-dark) !important;
  background: transparent;
  border: 1px solid rgba(58, 95, 11, .38);
  box-shadow: none;
}
.hero {
  position: relative;
  overflow: hidden;
  padding: 98px 0 86px;
  background:
    radial-gradient(circle at 85% 18%, rgba(208, 83, 64, .20), transparent 27%),
    linear-gradient(135deg, #edf1e6 0%, #f7f5ef 56%, #eaded3 100%);
}
.hero::after {
  content: "";
  position: absolute;
  width: 390px;
  height: 390px;
  right: -160px;
  bottom: -230px;
  border: 58px solid rgba(166, 123, 91, .12);
  border-radius: 50%;
}
.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--bamboo);
  font-size: 14px;
  font-weight: 850;
  letter-spacing: .12em;
}
h1, h2, h3 { line-height: 1.28; margin-top: 0; }
h1 { max-width: 900px; margin-bottom: 24px; font-size: clamp(40px, 6vw, 70px); letter-spacing: -.04em; }
h2 { margin-bottom: 18px; font-size: clamp(28px, 4vw, 42px); letter-spacing: -.025em; }
h3 { margin-bottom: 10px; font-size: 20px; }
p { margin-top: 0; }
.lead { max-width: 820px; margin-bottom: 32px; color: #4e554c; font-size: clamp(17px, 2vw, 21px); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
section { padding: 80px 0; }
.section-head { max-width: 760px; margin-bottom: 34px; }
.muted, .section-head p { color: var(--muted); }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
}
.card-mark {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--terracotta);
  font-size: 13px;
  font-weight: 850;
}
.band { color: white; background: var(--bamboo-dark); }
.band .eyebrow { color: #e2bd9f; }
.band .muted, .band .section-head p { color: rgba(255,255,255,.73); }
.band .card { border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.08); }
.metric-card {
  display: flex;
  min-height: 230px;
  flex-direction: column;
}
.metric-value {
  margin-bottom: 18px;
  color: #f0c8a9;
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.04em;
}
.metric-card p {
  margin-top: auto;
  margin-bottom: 0;
}
.result-note {
  max-width: 900px;
  margin: 24px 0 0;
  color: rgba(255,255,255,.66);
  font-size: 14px;
}
.proof {
  padding: 22px 24px;
  border-left: 5px solid var(--terracotta);
  border-radius: 14px;
  background: var(--card);
  box-shadow: var(--shadow);
}
.system-entry {
  padding-top: 0;
}
.system-card {
  display: grid;
  gap: 12px;
  align-content: center;
}
.system-card .button {
  width: fit-content;
}
.list { padding: 0; list-style: none; }
.list li { position: relative; margin: 10px 0; padding-left: 28px; }
.list li::before { content: "✓"; position: absolute; left: 0; color: var(--bamboo); font-weight: 900; }
.cta {
  padding: 48px;
  border-radius: 24px;
  color: white;
  background: linear-gradient(135deg, var(--terracotta-dark), var(--terracotta));
  box-shadow: var(--shadow);
}
.cta p { max-width: 760px; color: rgba(255,255,255,.8); }
.contact-note {
  margin-top: 22px;
  padding: 15px 18px;
  border: 1px dashed rgba(255,255,255,.45);
  border-radius: 12px;
  font-size: 14px;
}
.contact-panel {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: 24px;
  align-items: center;
  margin-top: 26px;
}
.contact-qr {
  width: 100%;
  max-width: 260px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 22px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 18px 42px rgba(48, 23, 19, .24);
}
.contact-qr img {
  display: block;
  width: 100%;
  border-radius: 14px;
}
.contact-copy {
  display: grid;
  gap: 12px;
}
.contact-copy strong {
  font-size: 21px;
}
.contact-copy p {
  margin-bottom: 0;
}
.contact-id {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 16px;
  background: rgba(255,255,255,.12);
  color: white;
  font-weight: 650;
  flex-wrap: wrap;
}
.contact-id code {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  color: #fff4ea;
  font-size: 15px;
}
.contact-hint {
  color: rgba(255,255,255,.76);
  font-size: 14px;
}
.appointment-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .8fr);
  gap: 24px;
  align-items: start;
}
.appointment-card {
  padding: 34px;
}
.appointment-form {
  display: grid;
  gap: 18px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.field {
  display: grid;
  gap: 10px;
}
.field span {
  font-weight: 700;
}
.field input,
.field select,
.field textarea,
.appointment-result textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--ink);
  background: white;
  font: inherit;
}
.field textarea,
.appointment-result textarea {
  resize: vertical;
}
.form-actions {
  display: grid;
  gap: 10px;
  align-items: start;
}
.form-hint {
  margin-bottom: 0;
  font-size: 14px;
}
.appointment-side {
  display: grid;
  gap: 18px;
}
.appointment-contact {
  margin-top: 18px;
}
.visual-split {
  display: grid;
  grid-template-columns: minmax(320px, .95fr) minmax(0, 1.05fr);
  gap: 28px;
  align-items: center;
}
.visual-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(241, 235, 226, .92));
  box-shadow: var(--shadow);
}
.visual-frame img {
  display: block;
  width: 100%;
  height: auto;
}
.visual-caption {
  padding: 14px 18px 18px;
  color: var(--muted);
  font-size: 14px;
}
.insight-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}
.insight-card .eyebrow {
  margin-bottom: 12px;
  font-size: 12px;
}
.insight-card p {
  color: var(--muted);
}
.insight-card a {
  margin-top: auto;
  color: var(--terracotta-dark);
  font-weight: 750;
  text-decoration: none;
}
.article-hero {
  padding: 72px 0 62px;
}
.article-hero h1 {
  max-width: 960px;
  font-size: clamp(36px, 5vw, 58px);
}
.article-meta {
  display: flex;
  gap: 14px 24px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 42px;
  align-items: start;
}
.article-body {
  max-width: 780px;
  font-size: 17px;
}
.article-body h2 {
  margin-top: 54px;
  font-size: clamp(26px, 3vw, 34px);
}
.article-body h3 {
  margin-top: 34px;
  font-size: 22px;
}
.article-body ul,
.article-body ol {
  padding-left: 24px;
}
.article-body li {
  margin: 9px 0;
}
.article-body table {
  width: 100%;
  margin: 24px 0;
  border-collapse: collapse;
  background: var(--card);
  font-size: 15px;
}
.article-body th,
.article-body td {
  padding: 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.article-body th {
  background: #ecefe5;
}
.article-summary {
  padding: 24px;
  border-left: 5px solid var(--terracotta);
  border-radius: 16px;
  background: var(--card);
  box-shadow: var(--shadow);
  font-size: 18px;
}
.article-aside {
  position: sticky;
  top: 94px;
  display: grid;
  gap: 18px;
}
.article-aside .card {
  padding: 22px;
}
.article-aside a {
  color: var(--terracotta-dark);
  text-decoration: none;
}
.article-source {
  margin-top: 44px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--muted);
  background: rgba(255,255,255,.52);
  font-size: 14px;
}
.breadcrumb {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
}
.breadcrumb a {
  text-decoration: none;
}
.legal { max-width: 820px; }
.legal h2 { margin-top: 46px; font-size: 28px; }
.legal li { margin-bottom: 8px; }
footer { padding: 36px 0 48px; color: var(--muted); font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { text-decoration: none; }
.service-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  display: grid;
  justify-items: end;
  gap: 12px;
}
.service-widget-panel {
  display: none;
  width: min(410px, calc(100vw - 32px));
  height: min(680px, calc(100vh - 110px));
  max-height: min(680px, calc(100vh - 110px));
  overflow: hidden;
  border: 1px solid rgba(222, 215, 207, .95);
  border-radius: 18px;
  background: var(--card);
  box-shadow: 0 24px 70px rgba(31, 33, 29, .22);
}
.service-widget.is-open .service-widget-panel { display: block; }
.service-widget-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 18px 14px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(58,95,11,.08), rgba(208,83,64,.08));
}
.service-agent {
  display: flex;
  gap: 12px;
  align-items: center;
}
.service-agent-avatar {
  display: grid;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--bamboo);
  font-weight: 800;
}
.service-widget-title {
  margin: 0;
  font-size: 19px;
}
.service-widget-note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.service-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2f9b52;
  box-shadow: 0 0 0 4px rgba(47, 155, 82, .12);
}
.service-widget-close {
  display: grid;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255,255,255,.72);
  color: var(--muted);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}
.service-widget-body {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  height: calc(100% - 75px);
  min-height: 0;
  overflow: hidden;
  background: #f6f4ee;
}
.service-chat-log {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 0;
  max-height: none;
  overflow: auto;
  padding: 16px 18px;
}
.service-message {
  width: fit-content;
  max-width: 92%;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.55;
}
.service-message-agent {
  border-top-left-radius: 4px;
  background: #f1eee6;
}
.service-message-user {
  justify-self: end;
  border-top-right-radius: 4px;
  color: white;
  background: var(--terracotta-dark);
}
.service-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.service-chat-compose {
  display: grid;
  gap: 10px;
  padding: 12px 18px 16px;
  border-top: 1px solid var(--line);
  background: var(--card);
}
.service-quick-replies button {
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
}
.service-quick-replies button[data-service-lead-open] {
  color: white;
  border-color: var(--terracotta-dark);
  background: var(--terracotta-dark);
}
.service-chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}
.service-chat-form input {
  min-width: 0;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  font: inherit;
  font-size: 14px;
}
.service-chat-form button {
  min-height: 42px;
  padding: 0 14px;
  border: 0;
  border-radius: 12px;
  color: white;
  background: var(--bamboo);
  cursor: pointer;
  font-weight: 800;
}
.service-widget-lead {
  position: absolute;
  inset: auto 0 0 0;
  display: none;
  gap: 11px;
  max-height: min(560px, calc(100% - 58px));
  overflow: auto;
  padding: 18px;
  border-top: 1px solid var(--line);
  border-radius: 18px 18px 0 0;
  background: var(--card);
  box-shadow: 0 -18px 50px rgba(31, 33, 29, .16);
}
.service-widget-lead.is-open {
  display: grid;
}
.service-lead-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}
.service-lead-close {
  display: grid;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}
.service-lead-title {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
}
.service-widget .field {
  display: grid;
  gap: 6px;
}
.service-widget-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.service-widget .field span {
  font-size: 13px;
}
.service-widget .field input,
.service-widget .field select,
.service-widget .field textarea {
  min-height: 42px;
  padding: 10px 12px;
  font-size: 14px;
}
.service-widget .field textarea {
  min-height: 76px;
  resize: vertical;
}
.service-widget-actions {
  display: grid;
  gap: 8px;
}
.service-widget-actions .button {
  width: 100%;
  min-height: 44px;
}
.service-widget-qr {
  display: none;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: center;
  padding: 11px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.55);
}
.service-widget-qr img {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
}
.service-widget-qr p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
.service-widget-trigger {
  min-height: 50px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  color: white;
  background: var(--terracotta-dark);
  box-shadow: 0 14px 34px rgba(150, 56, 43, .28);
  cursor: pointer;
  font-weight: 800;
}
@media (max-width: 820px) {
  .nav-inner { gap: 14px; }
  .nav-links {
    flex: 1;
    gap: 14px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .visual-split,
  .article-layout,
  .appointment-layout,
  .form-grid { grid-template-columns: 1fr; }
  .article-aside { position: static; }
}
@media (max-width: 560px) {
  .wrap { width: min(100% - 28px, 1120px); }
  .nav-inner,
  .nav-links { gap: 10px; }
  .brand { flex: 0 0 auto; }
  .nav-links .button { min-height: 40px; padding: 0 16px; }
  .hero { padding: 68px 0 70px; }
  section { padding: 60px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .cta { padding: 25px; }
  .contact-panel { grid-template-columns: 1fr; }
  .contact-qr { margin: 0 auto; }
  .appointment-card { padding: 24px; }
  .service-widget {
    right: 14px;
    bottom: 14px;
    left: 14px;
  }
  .service-widget-panel {
    width: 100%;
    height: calc(100vh - 96px);
    max-height: calc(100vh - 96px);
  }
  .service-widget-body {
    height: calc(100% - 75px);
  }
  .service-chat-log {
    max-height: none;
  }
  .service-widget-trigger {
    width: fit-content;
    justify-self: end;
  }
  .service-widget-grid,
  .service-widget-qr {
    grid-template-columns: 1fr;
  }
}

/* GEO system nav override */
.nav-system { min-height: 40px; padding: 0 16px; font-size: 13px; }
@media (max-width: 560px) {
  .nav-links .button { min-height: 40px; padding: 0 14px; }
}
