:root {
  --color-primary: #2d5a27;
  --color-primary-light: #3d6b3d;
  --color-primary-dark: #1a3a1a;
  --color-accent: #e8a838;
  --color-accent-hover: #d4942a;
  --color-bg: #f5f7f4;
  --color-bg-alt: #ffffff;
  --color-surface: #ffffff;
  --color-surface-glass: rgba(255, 255, 255, 0.72);
  --color-text: #1e2a1e;
  --color-text-secondary: #4a5a4a;
  --color-text-muted: #7a8a7a;
  --color-border: #d8e0d6;
  --color-border-light: #e8ede6;
  --color-shadow: rgba(45, 90, 39, 0.08);
  --color-shadow-hover: rgba(45, 90, 39, 0.16);
  --color-header-bg: rgba(255, 255, 255, 0.82);
  --color-footer-bg: #1a2a1a;
  --color-footer-text: #c8d6c8;
  --gradient-hero: linear-gradient(135deg, #2d5a27 0%, #3d6b3d 40%, #1a3a1a 100%);
  --gradient-accent: linear-gradient(135deg, #e8a838 0%, #d4942a 100%);
  --gradient-card: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(245,247,244,0.7) 100%);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  --font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  --font-mono: "SF Mono", "Fira Code", "Consolas", monospace;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
  --header-height: 64px;
}

[data-theme="dark"] {
  --color-bg: #0f1a0f;
  --color-bg-alt: #142014;
  --color-surface: #1a2a1a;
  --color-surface-glass: rgba(26, 42, 26, 0.78);
  --color-text: #e0e8de;
  --color-text-secondary: #b0c0ae;
  --color-text-muted: #7a8a7a;
  --color-border: #2a3a2a;
  --color-border-light: #1f2f1f;
  --color-shadow: rgba(0, 0, 0, 0.3);
  --color-shadow-hover: rgba(0, 0, 0, 0.5);
  --color-header-bg: rgba(15, 26, 15, 0.88);
  --color-footer-bg: #0a120a;
  --color-footer-text: #a0b0a0;
  --gradient-hero: linear-gradient(135deg, #0f1a0f 0%, #1a2a1a 40%, #0a120a 100%);
  --gradient-card: linear-gradient(135deg, rgba(26,42,26,0.9) 0%, rgba(20,32,20,0.7) 100%);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --color-bg: #0f1a0f;
    --color-bg-alt: #142014;
    --color-surface: #1a2a1a;
    --color-surface-glass: rgba(26, 42, 26, 0.78);
    --color-text: #e0e8de;
    --color-text-secondary: #b0c0ae;
    --color-text-muted: #7a8a7a;
    --color-border: #2a3a2a;
    --color-border-light: #1f2f1f;
    --color-shadow: rgba(0, 0, 0, 0.3);
    --color-shadow-hover: rgba(0, 0, 0, 0.5);
    --color-header-bg: rgba(15, 26, 15, 0.88);
    --color-footer-bg: #0a120a;
    --color-footer-text: #a0b0a0;
    --gradient-hero: linear-gradient(135deg, #0f1a0f 0%, #1a2a1a 40%, #0a120a 100%);
    --gradient-card: linear-gradient(135deg, rgba(26,42,26,0.9) 0%, rgba(20,32,20,0.7) 100%);
  }
}

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

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

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color var(--transition-base), color var(--transition-base);
}

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

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

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

a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

ul,
ol {
  list-style: none;
}

/* ===== Header ===== */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  background: var(--color-header-bg);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--color-border-light);
  transition: background var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

#site-header.scrolled {
  box-shadow: 0 4px 24px var(--color-shadow);
}

#site-header nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}

#site-header nav > a:first-child {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: 0.02em;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}

#site-header nav > a:first-child::before {
  content: "⛰";
  font-size: 1.4rem;
  line-height: 1;
}

#site-header nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

#site-header nav ul li a {
  display: block;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

#site-header nav ul li a:hover {
  color: var(--color-primary);
  background: rgba(45, 90, 39, 0.08);
}

#site-header nav form {
  display: flex;
  align-items: center;
  gap: 0;
  position: relative;
}

#site-header nav form label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

#site-header nav form input[type="search"] {
  width: 180px;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-family: var(--font-family);
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full) 0 0 var(--radius-full);
  outline: none;
  transition: all var(--transition-fast);
}

#site-header nav form input[type="search"]:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(45, 90, 39, 0.12);
  width: 220px;
}

#site-header nav form input[type="search"]::placeholder {
  color: var(--color-text-muted);
  font-size: 0.82rem;
}

#site-header nav form button[type="submit"] {
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-family);
  color: #fff;
  background: var(--color-primary);
  border: 1px solid var(--color-primary);
  border-radius: 0 var(--radius-full) var(--radius-full) 0;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

#site-header nav form button[type="submit"]:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
}

#theme-toggle,
#menu-toggle {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  cursor: pointer;
  color: var(--color-text-secondary);
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

#theme-toggle:hover,
#menu-toggle:hover {
  background: rgba(45, 90, 39, 0.08);
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: scale(1.05);
}

#menu-toggle {
  display: none;
}

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

main > section {
  padding: 60px 0;
  animation: fadeInUp 0.6s ease-out both;
}

main > section:nth-child(odd) {
  animation-delay: 0.05s;
}

main > section:nth-child(even) {
  animation-delay: 0.1s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232, 168, 56, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(232, 168, 56, 0); }
}

/* ===== Hero ===== */
#hero {
  position: relative;
  padding: 80px 0 60px;
  background: var(--gradient-hero);
  border-radius: var(--radius-xl);
  margin-top: 24px;
  overflow: hidden;
  color: #fff;
}

#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(232, 168, 56, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(61, 107, 61, 0.4) 0%, transparent 60%);
  pointer-events: none;
}

#hero > * {
  position: relative;
  z-index: 1;
  padding-left: 48px;
  padding-right: 48px;
}

#hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.88);
  max-width: 720px;
  margin-bottom: 16px;
}

.hero-answer {
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.82);
  max-width: 720px;
  margin-bottom: 28px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-left: 3px solid var(--color-accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.hero-answer strong {
  color: var(--color-accent);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-family);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  color: #1a2a1a;
  background: var(--gradient-accent);
  border: none;
  box-shadow: 0 4px 16px rgba(232, 168, 56, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(232, 168, 56, 0.5);
  color: #1a2a1a;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
  transform: translateY(-2px);
}

/* ===== Banner Carousel ===== */
.banner-carousel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 0 48px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.banner-slide {
  display: none;
  animation: fadeIn 0.6s ease-out;
}

.banner-slide[data-index="0"] {
  display: block;
}

.banner-slide svg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
}

.banner-carousel button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 2;
  line-height: 1;
  padding-bottom: 2px;
}

.banner-carousel button:first-of-type {
  left: 16px;
}

.banner-carousel button:last-of-type {
  right: 16px;
}

.banner-carousel button:hover {
  background: rgba(0, 0, 0, 0.6);
  transform: translateY(-50%) scale(1.1);
}

/* ===== Breadcrumb ===== */
main > nav[aria-label="面包屑"] {
  padding: 20px 0 0;
}

main > nav[aria-label="面包屑"] ol {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

main > nav[aria-label="面包屑"] ol li {
  display: flex;
  align-items: center;
  gap: 8px;
}

main > nav[aria-label="面包屑"] ol li + li::before {
  content: "›";
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1;
}

main > nav[aria-label="面包屑"] ol li a {
  color: var(--color-text-secondary);
  font-weight: 500;
}

main > nav[aria-label="面包屑"] ol li a:hover {
  color: var(--color-primary);
}

main > nav[aria-label="面包屑"] ol li[aria-current="page"] {
  color: var(--color-primary);
  font-weight: 600;
}

/* ===== Section Titles ===== */
section h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.35;
  margin-bottom: 24px;
  position: relative;
  padding-left: 20px;
  letter-spacing: -0.01em;
}

section h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25em;
  bottom: 0.25em;
  width: 5px;
  background: var(--gradient-accent);
  border-radius: var(--radius-full);
}

section h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 28px 0 12px;
  line-height: 1.4;
}

section h3:first-of-type {
  margin-top: 0;
}

section p {
  color: var(--color-text-secondary);
  margin-bottom: 14px;
  line-height: 1.85;
}

section ul,
section ol {
  margin-bottom: 16px;
  padding-left: 0;
}

/* ===== About ===== */
#about article {
  background: var(--gradient-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  box-shadow: 0 4px 24px var(--color-shadow);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

#about article:hover {
  box-shadow: 0 8px 40px var(--color-shadow-hover);
  transform: translateY(-2px);
}

#about article p:last-child {
  margin-bottom: 0;
  padding-top: 16px;
  border-top: 1px dashed var(--color-border);
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* ===== Products ===== */
#products > p {
  max-width: 800px;
}

#products h3 + ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

#products h3 + ul li {
  padding: 0;
}

#products h3 + ul li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-text);
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  box-shadow: 0 2px 8px var(--color-shadow);
}

#products h3 + ul li a::before {
  content: "▸";
  color: var(--color-accent);
  font-size: 1rem;
  transition: transform var(--transition-fast);
}

#products h3 + ul li a:hover {
  border-color: var(--color-primary);
  box-shadow: 0 6px 24px var(--color-shadow-hover);
  transform: translateY(-3px);
  color: var(--color-primary);
}

#products h3 + ul li a:hover::before {
  transform: translateX(4px);
}

/* Product advantages list */
#products > ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 8px;
}

#products > ul li {
  padding: 16px 20px;
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  transition: all var(--transition-base);
  box-shadow: 0 2px 8px var(--color-shadow);
}

#products > ul li:hover {
  border-color: var(--color-accent);
  box-shadow: 0 6px 24px rgba(232, 168, 56, 0.15);
  transform: translateY(-2px);
}

#products > ul li strong {
  color: var(--color-primary);
  display: block;
  margin-bottom: 4px;
  font-size: 0.95rem;
}

/* ===== Solutions ===== */
#solutions {
  display: flex;
  flex-direction: column;
}

#solutions > p {
  max-width: 800px;
}

#solutions h3 {
  padding-left: 16px;
  border-left: 3px solid var(--color-accent);
  margin-left: 4px;
}

#solutions h3 + p {
  padding-left: 20px;
}

#solutions > ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

#solutions > ul li {
  padding: 10px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-primary);
  background: rgba(45, 90, 39, 0.08);
  border: 1px solid rgba(45, 90, 39, 0.15);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  cursor: default;
}

#solutions > ul li:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(45, 90, 39, 0.3);
}

/* ===== Cases ===== */
#cases h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}

#cases h3::before {
  content: "🏔";
  font-size: 1.1rem;
}

#cases blockquote {
  margin-top: 24px;
  padding: 24px 28px;
  background: var(--gradient-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 24px var(--color-shadow);
  position: relative;
}

#cases blockquote::before {
  content: """;
  position: absolute;
  top: 8px;
  left: 16px;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--color-accent);
  opacity: 0.3;
  font-family: Georgia, serif;
}

#cases blockquote p {
  position: relative;
  padding-left: 28px;
  font-style: italic;
  color: var(--color-text-secondary);
  margin-bottom: 12px;
  font-size: 0.92rem;
}

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

/* ===== News ===== */
#news {
  display: flex;
  flex-direction: column;
  gap: 0;
}

#news > p {
  margin-bottom: 20px;
}

#news article {
  padding: 20px 24px;
  margin-bottom: 12px;
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  box-shadow: 0 2px 8px var(--color-shadow);
  animation: slideInLeft 0.5s ease-out both;
}

#news article:nth-child(1) { animation-delay: 0.05s; }
#news article:nth-child(2) { animation-delay: 0.1s; }
#news article:nth-child(3) { animation-delay: 0.15s; }
#news article:nth-child(4) { animation-delay: 0.2s; }
#news article:nth-child(5) { animation-delay: 0.25s; }
#news article:nth-child(6) { animation-delay: 0.3s; }
#news article:nth-child(7) { animation-delay: 0.35s; }
#news article:nth-child(8) { animation-delay: 0.4s; }
#news article:nth-child(9) { animation-delay: 0.45s; }
#news article:nth-child(10) { animation-delay: 0.5s; }

#news article:hover {
  border-color: var(--color-primary);
  box-shadow: 0 6px 28px var(--color-shadow-hover);
  transform: translateX(6px);
}

#news article h3 {
  margin: 0 0 6px;
  font-size: 1.02rem;
  color: var(--color-text);
  transition: color var(--transition-fast);
}

#news article:hover h3 {
  color: var(--color-primary);
}

#news article time {
  display: inline-block;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  margin-bottom: 8px;
  padding: 2px 10px;
  background: rgba(45, 90, 39, 0.06);
  border-radius: var(--radius-full);
}

#news article p {
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  margin-bottom: 10px;
  line-height: 1.75;
}

#news article > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  transition: all var(--transition-fast);
}

#news article > a::after {
  content: "→";
  transition: transform var(--transition-fast);
}

#news article > a:hover {
  color: var(--color-accent);
}

#news article > a:hover::after {
  transform: translateX(4px);
}

/* ===== HowTo ===== */
#howto {
  background: var(--gradient-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-xl);
  padding: 40px 44px;
  box-shadow: 0 4px 24px var(--color-shadow);
}

#howto h3 {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-border-light);
}

#howto ul,
#howto ol {
  padding-left: 0;
}

#howto ul li {
  position: relative;
  padding: 6px 0 6px 24px;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.75;
}

#howto ul li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-size: 0.8rem;
}

#howto ol {
  counter-reset: howto-step;
}

#howto ol li {
  position: relative;
  padding: 8px 0 8px 36px;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.75;
  counter-increment: howto-step;
}

#howto ol li::before {
  content: counter(howto-step);
  position: absolute;
  left: 0;
  top: 8px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  background: var(--color-primary);
  border-radius: var(--radius-full);
}

/* ===== FAQ ===== */
#faq {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#faq h2 {
  margin-bottom: 12px;
}

#faq details {
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-base);
  box-shadow: 0 2px 8px var(--color-shadow);
}

#faq details:hover {
  border-color: var(--color-primary);
  box-shadow: 0 4px 20px var(--color-shadow-hover);
}

#faq details[open] {
  border-color: var(--color-primary);
  box-shadow: 0 4px 24px var(--color-shadow-hover);
}

#faq details summary {
  padding: 16px 20px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all var(--transition-fast);
  user-select: none;
}

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

#faq details summary::before {
  content: "+";
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  background: rgba(45, 90, 39, 0.08);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  line-height: 1;
}

#faq details[open] summary::before {
  content: "−";
  background: var(--color-primary);
  color: #fff;
  transform: rotate(180deg);
}

#faq details summary:hover {
  color: var(--color-primary);
  background: rgba(45, 90, 39, 0.03);
}

#faq details p {
  padding: 0 20px 18px 56px;
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  line-height: 1.85;
  margin: 0;
  animation: fadeIn 0.3s ease-out;
}

/* ===== Contact ===== */
#contact {
  background: var(--gradient-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-xl);
  padding: 40px 44px;
  box-shadow: 0 4px 24px var(--color-shadow);
}

#contact address {
  font-style: normal;
  padding: 20px 24px;
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

#contact address p {
  margin-bottom: 8px;
  font-size: 0.9rem;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

#contact address p:last-child {
  margin-bottom: 0;
}

#contact address a {
  font-weight: 600;
  color: var(--color-primary);
  border-bottom: 1px dashed var(--color-primary);
  transition: all var(--transition-fast);
}

#contact address a:hover {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

#contact h3 {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-border-light);
}

#contact p {
  font-size: 0.9rem;
}

/* ===== Sitemap ===== */
#sitemap > ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

#sitemap > ul li a {
  display: inline-block;
  padding: 8px 18px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  box-shadow: 0 2px 6px var(--color-shadow);
}

#sitemap > ul li a:hover {
  color: #fff;
  background: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(45, 90, 39, 0.3);
}

#sitemap h3 + ul li a {
  color: var(--color-text-muted);
  font-size: 0.82rem;
}

#sitemap h3 + ul li a:hover {
  color: var(--color-accent);
  background: transparent;
  border-color: var(--color-accent);
  box-shadow: none;
}

/* ===== Footer ===== */
footer {
  margin-top: 60px;
  padding: 48px 24px 32px;
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  transition: background var(--transition-base), color var(--transition-base);
}

footer section {
  max-width: var(--max-width);
  margin: 0 auto;
}

footer h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  padding-left: 0;
}

footer h2::before {
  display: none;
}

footer p {
  font-size: 0.85rem;
  line-height: 1.8;
  color: var(--color-footer-text);
  margin-bottom: 10px;
}

footer a {
  color: var(--color-accent);
  transition: all var(--transition-fast);
}

footer a:hover {
  color: #fff;
  text-decoration: underline;
}

footer > p {
  max-width: var(--max-width);
  margin: 24px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

footer > p a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent);
  padding: 8px 20px;
  border: 1px solid rgba(232, 168, 56, 0.4);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

footer > p a::before {
  content: "↑";
}

footer > p a:hover {
  background: var(--color-accent);
  color: #1a2a1a;
  border-color: var(--color-accent);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(232, 168, 56, 0.35);
}

/* ===== Scroll Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  #site-header nav ul li a {
    padding: 8px 10px;
    font-size: 0.85rem;
  }

  #site-header nav form input[type="search"] {
    width: 140px;
  }

  #site-header nav form input[type="search"]:focus {
    width: 160px;
  }

  #hero > * {
    padding-left: 32px;
    padding-right: 32px;
  }

  .banner-carousel {
    margin: 0 32px;
  }

  #about article,
  #howto,
  #contact {
    padding: 28px 28px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 56px;
  }

  #site-header nav {
    padding: 0 16px;
    gap: 12px;
  }

  #site-header nav ul {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--color-header-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border-light);
    padding: 12px 16px 20px;
    gap: 4px;
    box-shadow: 0 8px 32px var(--color-shadow);
    animation: fadeIn 0.25s ease-out;
  }

  #site-header nav ul.open {
    display: flex;
  }

  #site-header nav ul li a {
    padding: 12px 16px;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
  }

  #site-header nav form {
    flex: 1;
  }

  #site-header nav form input[type="search"] {
    width: 100%;
    min-width: 0;
  }

  #site-header nav form input[type="search"]:focus {
    width: 100%;
  }

  #menu-toggle {
    display: flex;
  }

  main {
    padding: 0 16px;
  }

  main > section {
    padding: 40px 0;
  }

  #hero {
    padding: 48px 0 40px;
    border-radius: var(--radius-lg);
    margin-top: 16px;
  }

  #hero > * {
    padding-left: 20px;
    padding-right: 20px;
  }

  #hero h1 {
    font-size: 1.5rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .hero-answer {
    font-size: 0.85rem;
    padding: 12px 16px;
  }

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

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
  }

  .banner-carousel {
    margin: 0 20px;
    border-radius: var(--radius-md);
  }

  .banner-carousel button {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
  }

  section h2 {
    font-size: 1.3rem;
  }

  section h3 {
    font-size: 1.05rem;
  }

  #about article,
  #howto,
  #contact {
    padding: 22px 20px;
    border-radius: var(--radius-md);
  }

  #products h3 + ul {
    grid-template-columns: 1fr;
  }

  #products > ul {
    grid-template-columns: 1fr;
  }

  #news article {
    padding: 16px 18px;
  }

  #faq details summary {
    padding: 14px 16px;
    font-size: 0.88rem;
  }

  #faq details p {
    padding: 0 16px 14px 48px;
    font-size: 0.84rem;
  }

  #contact address {
    padding: 16px 18px;
  }

  footer {
    padding: 36px 16px 24px;
  }

  #sitemap > ul {
    gap: 8px;
  }

  #sitemap > ul li a {
    padding: 6px 14px;
    font-size: 0.82rem;
  }
}

@media (max-width: 480px) {
  #site-header nav > a:first-child {
    font-size: 1.05rem;
  }

  #site-header nav > a:first-child::before {
    font-size: 1.15rem;
  }

  #site-header nav form button[type="submit"] {
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  #theme-toggle,
  #menu-toggle {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  #hero h1 {
    font-size: 1.3rem;
  }

  .banner-carousel {
    margin: 0 12px;
  }

  .banner-carousel button {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }

  .banner-carousel button:first-of-type {
    left: 8px;
  }

  .banner-carousel button:last-of-type {
    right: 8px;
  }

  #cases blockquote {
    padding: 18px 20px;
  }

  #cases blockquote p {
    padding-left: 20px;
    font-size: 0.85rem;
  }

  #howto ol li {
    padding-left: 32px;
  }

  #howto ol li::before {
    width: 20px;
    height: 20px;
    font-size: 0.68rem;
  }
}

/* ===== Print ===== */
@media print {
  #site-header,
  .banner-carousel,
  #theme-toggle,
  #menu-toggle,
  footer > p a {
    display: none;
  }

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

  main > section {
    page-break-inside: avoid;
    padding: 20px 0;
  }

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

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===== Selection ===== */
::selection {
  background: rgba(45, 90, 39, 0.2);
  color: var(--color-text);
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}