:root {
  --bg: #f4f1e8;
  --bg-alt: #eae5d8;
  --surface: #ffffff;
  --surface-soft: rgba(255, 255, 255, 0.62);
  --glass: rgba(255, 255, 255, 0.55);
  --glass-border: rgba(58, 90, 64, 0.16);
  --text: #23302a;
  --text-soft: #4d5a51;
  --text-muted: #6f7d73;
  --primary: #3a5a40;
  --primary-soft: #5c7a5f;
  --primary-deep: #2b4531;
  --accent: #b08d57;
  --accent-soft: #d8c39a;
  --line: rgba(58, 90, 64, 0.14);
  --shadow-sm: 0 2px 10px rgba(35, 48, 42, 0.06);
  --shadow-md: 0 10px 30px rgba(35, 48, 42, 0.1);
  --shadow-lg: 0 24px 60px rgba(35, 48, 42, 0.16);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 76px;
  --maxw: 1180px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12160f;
    --bg-alt: #171d14;
    --surface: #1c231a;
    --surface-soft: rgba(28, 35, 26, 0.7);
    --glass: rgba(28, 35, 26, 0.55);
    --glass-border: rgba(196, 214, 186, 0.14);
    --text: #e8ecdf;
    --text-soft: #c3ccba;
    --text-muted: #98a48f;
    --primary: #8fb98a;
    --primary-soft: #6f9a6c;
    --primary-deep: #b6d3ae;
    --accent: #d8b878;
    --accent-soft: #8a7448;
    --line: rgba(196, 214, 186, 0.14);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.35);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.6);
  }
}

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

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

body {
  margin: 0;
  padding: 0;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 12% 8%, rgba(143, 185, 138, 0.18), transparent 42%),
    radial-gradient(circle at 88% 22%, rgba(216, 195, 154, 0.16), transparent 46%),
    radial-gradient(circle at 50% 100%, rgba(58, 90, 64, 0.08), transparent 60%);
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.28s var(--ease), opacity 0.28s var(--ease);
}

a:hover {
  color: var(--accent);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3, h4 {
  line-height: 1.3;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.01em;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(1.85rem, 4.2vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); }
h3 { font-size: clamp(1.15rem, 1.9vw, 1.4rem); }
h4 { font-size: 1.05rem; }

p {
  margin: 0 0 1.1em;
  color: var(--text-soft);
}

ul, ol {
  margin: 0 0 1.2em;
  padding-left: 1.35em;
  color: var(--text-soft);
}

li {
  margin-bottom: 0.5em;
}

strong {
  color: var(--text);
  font-weight: 700;
}

blockquote {
  margin: 0 0 1.2em;
  padding: 1.1em 1.4em;
  border-left: 4px solid var(--accent);
  background: var(--surface-soft);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text-soft);
  font-style: italic;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

blockquote:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

blockquote p:last-child {
  margin-bottom: 0;
}

time {
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
  font-size: 0.9rem;
}

address {
  font-style: normal;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Header ---------- */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) inset, var(--shadow-sm);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text);
  letter-spacing: 0.02em;
  transition: transform 0.35s var(--ease);
}

.brand:hover {
  transform: translateY(-1px) scale(1.02);
  color: var(--primary);
}

.brand svg {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(58, 90, 64, 0.28);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.brand:hover svg {
  transform: rotate(-6deg);
  box-shadow: 0 10px 26px rgba(58, 90, 64, 0.4);
}

.brand-name {
  background: linear-gradient(120deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

#site-header nav {
  flex: 1 1 auto;
  min-width: 0;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
}

.nav-list li {
  margin: 0;
}

.nav-list a {
  display: inline-block;
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  font-size: 0.94rem;
  color: var(--text-soft);
  position: relative;
  transition: color 0.3s var(--ease), background 0.3s var(--ease), transform 0.3s var(--ease);
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: translateX(-50%);
  transition: width 0.32s var(--ease);
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--primary);
  background: rgba(143, 185, 138, 0.14);
  transform: translateY(-1px);
}

.nav-list a:hover::after {
  width: 42%;
}

.site-search {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 1 300px;
  margin-left: auto;
}

.site-search input[type="search"] {
  flex: 1 1 auto;
  min-width: 0;
  padding: 9px 14px;
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}

.site-search input[type="search"]::placeholder {
  color: var(--text-muted);
}

.site-search input[type="search"]:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--surface);
  box-shadow: 0 0 0 4px rgba(143, 185, 138, 0.18);
}

.site-search button {
  flex: 0 0 auto;
  padding: 9px 16px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: #f4f1e8;
  background: linear-gradient(135deg, var(--primary), var(--primary-soft));
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(58, 90, 64, 0.26);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), filter 0.28s var(--ease);
}

.site-search button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(58, 90, 64, 0.36);
  filter: brightness(1.06);
}

.site-search button:active {
  transform: translateY(0);
}

/* ---------- Main layout ---------- */
main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px 80px;
}

main > section,
main > nav.breadcrumb {
  margin-top: 56px;
}

main > section:first-of-type {
  margin-top: 40px;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 10px 16px;
  font-size: 0.86rem;
  background: var(--surface-soft);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text-muted);
  box-shadow: var(--shadow-sm);
}

.breadcrumb li {
  margin: 0;
  display: inline-flex;
  align-items: center;
}

.breadcrumb li + li::before {
  content: "/";
  margin: 0 8px 0 2px;
  color: var(--text-muted);
  opacity: 0.6;
}

.breadcrumb a {
  color: var(--text-soft);
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb [aria-current="page"] {
  color: var(--primary);
  font-weight: 600;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 40px;
  align-items: center;
  padding: clamp(28px, 4vw, 56px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(58, 90, 64, 0.92), rgba(92, 122, 95, 0.78) 45%, rgba(176, 141, 87, 0.7)),
    radial-gradient(circle at 82% 18%, rgba(244, 241, 232, 0.35), transparent 55%);
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

.hero::before {
  width: 420px;
  height: 420px;
  top: -160px;
  right: -120px;
  background: radial-gradient(circle, rgba(244, 241, 232, 0.22), transparent 68%);
  animation: floatSlow 14s ease-in-out infinite;
}

.hero::after {
  width: 320px;
  height: 320px;
  bottom: -140px;
  left: -80px;
  background: radial-gradient(circle, rgba(216, 195, 154, 0.28), transparent 70%);
  animation: floatSlow 18s ease-in-out infinite reverse;
}

.hero-text {
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: #f7f5ec;
  text-shadow: 0 2px 18px rgba(20, 32, 24, 0.28);
  margin-bottom: 0.55em;
}

.hero-lead {
  color: rgba(247, 245, 236, 0.92);
  font-size: 1.02rem;
  line-height: 1.9;
}

.hero-answer {
  color: rgba(247, 245, 236, 0.9);
  font-size: 0.96rem;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-answer strong {
  color: #fdfbf3;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  font-size: 0.98rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease), background 0.32s var(--ease), color 0.32s var(--ease);
  will-change: transform;
}

.btn-primary {
  color: var(--primary-deep);
  background: linear-gradient(135deg, #f7f5ec, #e3dcc6);
  box-shadow: 0 10px 28px rgba(20, 32, 24, 0.28);
}

.btn-primary:hover {
  color: var(--primary-deep);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 36px rgba(20, 32, 24, 0.36);
}

.btn-secondary {
  color: #f7f5ec;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 32px rgba(20, 32, 24, 0.3);
}

.hero-media {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
  animation: fadeUp 0.9s var(--ease) both;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.18), transparent 45%);
  pointer-events: none;
}

.hero-media:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 30px 70px rgba(20, 32, 24, 0.4);
}

.hero-media svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- Stats ---------- */
#stats {
  padding: clamp(22px, 3vw, 34px);
  border-radius: var(--radius-lg);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: var(--shadow-md);
}

#stats h2 {
  text-align: center;
  margin-bottom: 1em;
}

.stats-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stats-list li {
  margin: 0;
  padding: 20px 14px;
  text-align: center;
  border-radius: var(--radius-md);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease);
}

.stats-list li:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  background: var(--surface);
}

.stats-list strong {
  display: block;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(120deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 6px;
}

.stats-list span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ---------- Generic section cards ---------- */
main > section:not(.hero):not(#stats) {
  padding: clamp(24px, 3.4vw, 44px);
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.45s var(--ease), transform 0.45s var(--ease);
}

main > section:not(.hero):not(#stats):hover {
  box-shadow: var(--shadow-md);
}

#about,
#products,
#solutions,
#cases,
#articles,
#howto,
#faq {
  background: var(--surface-soft);
}

main > section > h2 {
  position: relative;
  padding-bottom: 14px;
  margin-bottom: 1.1em;
}

main > section > h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent), transparent);
}

main > section h3 {
  margin-top: 1.6em;
  color: var(--text);
}

main > section h3:first-of-type {
  margin-top: 0.4em;
}

.section-intro {
  font-size: 1.02rem;
  color: var(--text-soft);
  padding: 14px 18px;
  border-left: 3px solid var(--primary);
  background: rgba(143, 185, 138, 0.1);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* ---------- Timeline ---------- */
.timeline {
  list-style: none;
  margin: 1.2em 0;
  padding: 0 0 0 22px;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--accent), transparent);
  border-radius: 2px;
}

.timeline li {
  position: relative;
  margin-bottom: 1em;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  transition: transform 0.32s var(--ease), background 0.32s var(--ease), box-shadow 0.32s var(--ease);
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 18px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(176, 141, 87, 0.18);
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease);
}

.timeline li:hover {
  transform: translateX(6px);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.timeline li:hover::before {
  transform: scale(1.25);
  box-shadow: 0 0 0 6px rgba(176, 141, 87, 0.24);
}

/* ---------- Advantage / scene lists ---------- */
.advantage-list,
.scene-list {
  list-style: none;
  padding: 0;
  margin: 1.2em 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.advantage-list li,
.scene-list li {
  margin: 0;
  padding: 16px 18px 16px 46px;
  position: relative;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.advantage-list li::before,
.scene-list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 24px;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  transform: rotate(45deg);
  transition: transform 0.35s var(--ease);
}

.advantage-list li:hover,
.scene-list li:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(143, 185, 138, 0.4);
}

.advantage-list li:hover::before,
.scene-list li:hover::before {
  transform: rotate(135deg) scale(1.15);
}

/* ---------- News ---------- */
.news-list {
  list-style: none;
  padding: 0;
  margin: 1.2em 0 0;
  display: grid;
  gap: 16px;
}

.news-list li {
  margin: 0;
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.news-list li:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.news-list time {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(176, 141, 87, 0.12);
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 8px;
}

.news-list h3 {
  margin: 0 0 6px;
  font-size: 1.08rem;
}

.news-list p {
  margin: 0;
  font-size: 0.94rem;
}

/* ---------- Articles ---------- */
.article-card {
  padding: 22px 24px;
  margin-bottom: 18px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.38s var(--ease), box-shadow 0.38s var(--ease), border-color 0.38s var(--ease);
  position: relative;
  overflow: hidden;
}

.article-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.38s var(--ease);
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(143, 185, 138, 0.38);
}

.article-card:hover::before {
  transform: scaleY(1);
}

.article-card h3 {
  margin: 0 0 6px;
  font-size: 1.12rem;
}

.article-card h3 a {
  color: var(--text);
}

.article-card h3 a:hover {
  color: var(--primary);
}

.article-card .meta {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin: 0 0 10px;
}

.article-card > p:not(.meta) {
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.article-card > a:last-child {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: rgba(143, 185, 138, 0.14);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease), color 0.3s var(--ease);
}

.article-card > a:last-child::after {
  content: "→";
  transition: transform 0.3s var(--ease);
}

.article-card > a:last-child:hover {
  background: var(--primary);
  color: #f4f1e8;
  transform: translateX(3px);
}

.article-card > a:last-child:hover::after {
  transform: translateX(3px);
}

/* ---------- HowTo ordered list ---------- */
#howto ol {
  counter-reset: step;
  list-style: none;
  padding: 0;
  display: grid;
  gap: 12px;
}

#howto ol li {
  counter-increment: step;
  position: relative;
  margin: 0;
  padding: 16px 18px 16px 60px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

#howto ol li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  font-size: 0.82rem;
  font-weight: 800;
  color: #f4f1e8;
  background: linear-gradient(135deg, var(--primary), var(--primary-soft));
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(58, 90, 64, 0.26);
}

#howto ol li:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
}

/* ---------- FAQ ---------- */
#faq details {
  margin-bottom: 12px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

#faq details:hover {
  border-color: rgba(143, 185, 138, 0.4);
  box-shadow: var(--shadow-md);
}

#faq details[open] {
  border-color: rgba(143, 185, 138, 0.5);
  box-shadow: var(--shadow-md);
}

#faq summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 16px 52px 16px 20px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
  user-select: none;
}

#faq summary::-webkit-details-marker {
  display: none;
}

#faq summary::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.32s var(--ease);
}

#faq details[open] summary {
  background: rgba(143, 185, 138, 0.1);
  color: var(--primary);
}

#faq details[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}

#faq summary:hover {
  background: rgba(143, 185, 138, 0.08);
}

#faq details p {
  margin: 0;
  padding: 4px 20px 18px;
  font-size: 0.95rem;
  animation: fadeUp 0.4s var(--ease) both;
}

/* ---------- Contact ---------- */
.contact-list {
  list-style: none;
  padding: 0;
  margin: 1.2em 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.contact-list li {
  margin: 0;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-size: 0.95rem;
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease), border-color 0.32s var(--ease);
  word-break: break-word;
}

.contact-list li:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(143, 185, 138, 0.4);
}

.contact-list strong {
  color: var(--primary);
}

/* ---------- Sitemap & links ---------- */
.sitemap-list,
.friend-links {
  list-style: none;
  padding: 0;
  margin: 1.1em 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sitemap-list li,
.friend-links li {
  margin: 0;
}

.sitemap-list a,
.friend-links a {
  display: inline-block;
  padding: 8px 18px;
  font-size: 0.9rem;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text-soft);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.sitemap-list a:hover,
.friend-links a:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, var(--primary), var(--primary-soft));
  color: #f4f1e8;
  box-shadow: 0 10px 22px rgba(58, 90, 64, 0.3);
}

/* ---------- Footer ---------- */
#site-footer {
  position: relative;
  margin-top: 40px;
  padding: 56px 24px 28px;
  color: rgba(244, 241, 232, 0.82);
  background:
    linear-gradient(160deg, rgba(30, 46, 34, 0.98), rgba(43, 69, 49, 0.96) 55%, rgba(58, 90, 64, 0.94)),
    radial-gradient(circle at 80% 10%, rgba(216, 195, 154, 0.18), transparent 55%);
  border-top: 1px solid rgba(244, 241, 232, 0.12);
  overflow: hidden;
}

#site-footer::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 195, 154, 0.16), transparent 68%);
  pointer-events: none;
}

.footer-inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.6fr 1fr;
  gap: 36px;
}

#site-footer h2 {
  font-size: 1.1rem;
  color: #f4f1e8;
  margin-bottom: 0.7em;
  position: relative;
  padding-bottom: 10px;
}

#site-footer h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent-soft), transparent);
}

#site-footer h3 {
  font-size: 0.94rem;
  color: var(--accent-soft);
  margin: 1.1em 0 0.4em;
}

#site-footer h3:first-of-type {
  margin-top: 0;
}

#site-footer p {
  color: rgba(244, 241, 232, 0.72);
  font-size: 0.9rem;
  line-height: 1.85;
  margin-bottom: 0.8em;
}

#site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#site-footer ul li {
  margin-bottom: 6px;
  font-size: 0.88rem;
  color: rgba(244, 241, 232, 0.72);
}

#site-footer a {
  color: var(--accent-soft);
}

#site-footer a:hover {
  color: #ffffff;
}

.copyright {
  position: relative;
  max-width: var(--maxw);
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(244, 241, 232, 0.14);
  text-align: center;
  font-size: 0.84rem;
  color: rgba(244, 241, 232, 0.55);
}

/* ---------- Animations ---------- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatSlow {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-18px, 22px, 0) scale(1.06); }
}

main > section,
.article-card,
.news-list li,
.timeline li,
.advantage-list li,
.scene-list li,
#faq details,
.contact-list li,
blockquote {
  animation: fadeUp 0.7s var(--ease) both;
}

main > section:nth-of-type(1) { animation-delay: 0.05s; }
main > section:nth-of-type(2) { animation-delay: 0.1s; }
main > section:nth-of-type(3) { animation-delay: 0.15s; }
main > section:nth-of-type(4) { animation-delay: 0.2s; }

@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;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-media {
    order: -1;
  }

  .stats-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  #site-footer section:last-of-type {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  :root {
    --header-h: 64px;
  }

  .header-inner {
    padding: 10px 18px;
    gap: 12px;
  }

  .site-search {
    flex: 1 1 100%;
    order: 3;
    margin-left: 0;
  }

  #site-header nav {
    flex: 1 1 auto;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  #site-header nav::-webkit-scrollbar {
    display: none;
  }

  .nav-list {
    flex-wrap: nowrap;
    padding-bottom: 2px;
  }

  .nav-list a {
    white-space: nowrap;
    font-size: 0.88rem;
    padding: 6px 11px;
  }

  main {
    padding: 0 16px 60px;
  }

  .advantage-list,
  .scene-list,
  .contact-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
    line-height: 1.75;
  }

  main > section,
  main > nav.breadcrumb {
    margin-top: 36px;
  }

  .hero {
    padding: 24px 20px;
    border-radius: var(--radius-md);
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    padding: 12px 20px;
  }

  .stats-list {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .stats-list li {
    padding: 16px 10px;
  }

  main > section:not(.hero):not(#stats) {
    padding: 22px 18px;
    border-radius: var(--radius-md);
  }

  .article-card {
    padding: 18px 18px;
  }

  .timeline {
    padding-left: 18px;
  }

  .timeline li::before {
    left: -18px;
  }

  #howto ol li {
    padding: 14px 14px 14px 54px;
  }

  #faq summary {
    padding: 14px 44px 14px 16px;
    font-size: 0.95rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  #site-footer {
    padding: 40px 18px 24px;
  }

  blockquote {
    padding: 14px 16px;
  }
}

@media (max-width: 380px) {
  .stats-list {
    grid-template-columns: 1fr;
  }

  .brand-name {
    font-size: 1rem;
  }
}

/* ---------- Print ---------- */
@media print {
  #site-header,
  .site-search,
  .hero-actions,
  #sitemap,
  #links,
  #site-footer {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  main {
    max-width: 100%;
    padding: 0;
  }

  main > section {
    box-shadow: none;
    border: 1px solid #ccc;
    background: #fff;
    break-inside: avoid;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}