:root {
  --brand-900: #0e3322;
  --brand-800: #134a2f;
  --brand-700: #1a5c3a;
  --brand-600: #2b6e4c;
  --brand-500: #3f8a63;
  --brand-400: #5fae82;
  --brand-300: #7fdc9c;
  --brand-200: #b6ecc7;
  --brand-100: #e3f7ea;
  --accent: #ffb547;
  --accent-soft: #ffd98a;
  --ink-900: #16241d;
  --ink-800: #22362c;
  --ink-700: #33473c;
  --ink-600: #4b6154;
  --ink-500: #66796d;
  --ink-400: #8a9a90;
  --ink-300: #b3c0b8;
  --ink-200: #d6dfd9;
  --ink-100: #eaf0ec;
  --ink-50: #f5f8f6;
  --surface: #ffffff;
  --surface-alt: #f2f7f4;
  --surface-glass: rgba(255, 255, 255, 0.72);
  --surface-glass-border: rgba(255, 255, 255, 0.55);
  --page-bg: #f5f8f6;
  --text: #16241d;
  --text-soft: #4b6154;
  --text-muted: #66796d;
  --line: #d6dfd9;
  --shadow-sm: 0 2px 8px rgba(14, 51, 34, 0.06);
  --shadow-md: 0 10px 30px rgba(14, 51, 34, 0.1);
  --shadow-lg: 0 22px 60px rgba(14, 51, 34, 0.16);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;
  --header-h: 72px;
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 0.68, 0.36, 1);
  --grad-brand: linear-gradient(135deg, #1a5c3a 0%, #2b6e4c 45%, #3f8a63 100%);
  --grad-banner: linear-gradient(140deg, #0e3322 0%, #1a5c3a 40%, #2b6e4c 70%, #3f8a63 100%);
  --grad-accent: linear-gradient(135deg, #ffb547 0%, #ffd98a 100%);
  --blur: saturate(160%) blur(14px);
}

[data-theme="dark"] {
  --brand-900: #071a10;
  --brand-800: #0c2a1a;
  --brand-700: #15452c;
  --brand-600: #1f5a3a;
  --brand-500: #2f7a52;
  --brand-400: #4fa877;
  --brand-300: #7fdc9c;
  --brand-200: #a9e9bd;
  --brand-100: #1b3a29;
  --accent: #ffc266;
  --accent-soft: #ffe0a6;
  --ink-900: #eef6f1;
  --ink-800: #dcebe2;
  --ink-700: #c3d6ca;
  --ink-600: #a6bcb0;
  --ink-500: #8ba396;
  --ink-400: #71887c;
  --ink-300: #56695f;
  --ink-200: #3a4a42;
  --ink-100: #2a3731;
  --ink-50: #1e2924;
  --surface: #16211c;
  --surface-alt: #111a16;
  --surface-glass: rgba(22, 33, 28, 0.66);
  --surface-glass-border: rgba(127, 220, 156, 0.16);
  --page-bg: #0b120f;
  --text: #eef6f1;
  --text-soft: #c3d6ca;
  --text-muted: #9db3a7;
  --line: #2a3731;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 22px 60px rgba(0, 0, 0, 0.6);
  --grad-brand: linear-gradient(135deg, #0c2a1a 0%, #15452c 45%, #1f5a3a 100%);
  --grad-banner: linear-gradient(140deg, #071a10 0%, #0c2a1a 40%, #15452c 70%, #1f5a3a 100%);
  --grad-accent: linear-gradient(135deg, #ffc266 0%, #ffe0a6 100%);
}

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

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background-color: var(--page-bg);
  background-image:
    radial-gradient(circle at 8% 0%, rgba(127, 220, 156, 0.16), transparent 42%),
    radial-gradient(circle at 92% 12%, rgba(255, 181, 71, 0.1), transparent 40%),
    radial-gradient(circle at 50% 100%, rgba(63, 138, 99, 0.1), transparent 55%);
  background-attachment: fixed;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
  overflow-x: hidden;
}

[data-theme="dark"] body {
  background-image:
    radial-gradient(circle at 8% 0%, rgba(127, 220, 156, 0.1), transparent 42%),
    radial-gradient(circle at 92% 12%, rgba(255, 194, 102, 0.07), transparent 40%),
    radial-gradient(circle at 50% 100%, rgba(47, 122, 82, 0.14), transparent 55%);
}

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

a {
  color: var(--brand-500);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

a:hover,
a:focus-visible {
  color: var(--brand-400);
}

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

h1 { font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.9rem); }
h2 { font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2.1rem); }
h3 { font-size: clamp(1.1rem, 0.98rem + 0.6vw, 1.35rem); }
h4 { font-size: clamp(1rem, 0.94rem + 0.35vw, 1.15rem); }

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

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

li + li {
  margin-top: 0.35em;
}

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

blockquote {
  margin: 0 0 1.2em;
  padding: 1.1em 1.4em;
  border-left: 4px solid var(--brand-400);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: var(--surface-glass);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

blockquote p {
  margin: 0;
  color: var(--text-soft);
  font-style: italic;
}

blockquote:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
  border-left-color: var(--accent);
}

:focus-visible {
  outline: 3px solid var(--brand-300);
  outline-offset: 2px;
  border-radius: 4px;
}

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

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface-glass);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border-bottom: 1px solid var(--surface-glass-border);
  box-shadow: 0 1px 0 rgba(14, 51, 34, 0.04);
  transition: box-shadow 0.35s var(--ease), background 0.35s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-md);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(26, 92, 58, 0.32);
  transition: transform 0.4s var(--ease);
}

.brand:hover .brand-logo {
  transform: rotate(-6deg) scale(1.06);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0.02em;
}

.brand-slogan {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.main-nav {
  flex: 1;
  min-width: 0;
}

.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav li {
  margin: 0;
}

.main-nav a {
  display: inline-block;
  padding: 8px 11px;
  font-size: 0.88rem;
  color: var(--text-soft);
  border-radius: var(--radius-pill);
  position: relative;
  transition: color 0.25s var(--ease), background 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-accent);
  transform: translateX(-50%);
  transition: width 0.3s var(--ease);
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--brand-500);
  background: rgba(127, 220, 156, 0.14);
  transform: translateY(-1px);
}

.main-nav a:hover::after {
  width: 60%;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.site-search {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 4px 4px 4px 14px;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-search:focus-within {
  border-color: var(--brand-400);
  box-shadow: 0 0 0 4px rgba(127, 220, 156, 0.22);
}

.site-search input {
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.86rem;
  color: var(--text);
  width: 168px;
  padding: 6px 0;
  outline: none;
}

.site-search input::placeholder {
  color: var(--text-muted);
}

.site-search button {
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  color: #0e3322;
  background: var(--grad-accent);
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    filter 0.25s var(--ease);
}

.site-search button:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 6px 16px rgba(255, 181, 71, 0.4);
}

.theme-toggle,
.menu-toggle {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.05rem;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease),
    border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.theme-toggle:hover,
.menu-toggle:hover {
  transform: translateY(-2px) rotate(8deg);
  border-color: var(--brand-400);
  box-shadow: var(--shadow-sm);
}

.menu-toggle {
  display: none;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  max-width: var(--maxw);
  margin: 28px auto 0;
  padding: 0 20px;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  padding: clamp(28px, 4vw, 56px);
  border-radius: var(--radius-xl);
  background: var(--grad-banner);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  isolation: isolate;
}

.hero-inner::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto auto;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(127, 220, 156, 0.32), transparent 62%);
  filter: blur(10px);
  z-index: -1;
  animation: floatGlow 14s ease-in-out infinite alternate;
}

.hero-inner::after {
  content: "";
  position: absolute;
  inset: auto auto -50% -15%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(255, 181, 71, 0.22), transparent 64%);
  filter: blur(10px);
  z-index: -1;
  animation: floatGlow 18s ease-in-out infinite alternate-reverse;
}

@keyframes floatGlow {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-40px, 30px, 0) scale(1.12); }
}

.hero-copy {
  position: relative;
  z-index: 1;
  animation: riseIn 0.9s var(--ease) both;
}

.hero-eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #d9f7e4;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-pill);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.hero h1 {
  color: #ffffff;
  margin-bottom: 18px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.22);
}

.hero-lead {
  color: rgba(233, 249, 239, 0.92);
  font-size: clamp(0.92rem, 0.88rem + 0.25vw, 1.02rem);
  line-height: 1.85;
  max-width: 62ch;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  font-size: 0.94rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    background 0.3s var(--ease), color 0.3s var(--ease);
}

.btn-primary {
  color: #0e3322;
  background: var(--grad-accent);
  box-shadow: 0 10px 26px rgba(255, 181, 71, 0.35);
}

.btn-primary:hover {
  color: #0e3322;
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(255, 181, 71, 0.5);
}

.btn-ghost {
  color: #eafaf0;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.34);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}

.hero-banner {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  padding: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
  animation: riseIn 1s 0.15s var(--ease) both;
}

.banner-slide {
  display: none;
  animation: fadeSlide 0.6s var(--ease) both;
}

.banner-slide.is-active {
  display: block;
}

.banner-slide svg {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.banner-caption {
  margin: 14px 4px 4px;
  text-align: center;
  font-size: 0.88rem;
  color: rgba(233, 249, 239, 0.92);
  letter-spacing: 0.02em;
}

.banner-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}

.dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.35);
  transition: width 0.35s var(--ease), background 0.35s var(--ease);
}

.dot.is-active {
  width: 28px;
  border-radius: var(--radius-pill);
  background: var(--grad-accent);
}

.dot:hover {
  background: rgba(255, 255, 255, 0.65);
}

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(10px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 24px 0 0;
  padding: 0;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 20px 14px;
  text-align: center;
  border-radius: var(--radius-md);
  background: var(--surface-glass);
  border: 1px solid var(--surface-glass-border);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

.stat:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-300);
}

.stat-num {
  font-size: clamp(1.4rem, 1.1rem + 1.1vw, 2rem);
  font-weight: 800;
  line-height: 1.1;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--brand-600);
}

[data-theme="dark"] .stat-num {
  background: linear-gradient(135deg, #7fdc9c 0%, #b6ecc7 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ============ BREADCRUMB ============ */
.breadcrumb {
  max-width: var(--maxw);
  margin: 26px auto 0;
  padding: 0 20px;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.84rem;
  color: var(--text-muted);
}

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

.breadcrumb li + li::before {
  content: "›";
  color: var(--ink-400);
  font-size: 1rem;
}

.breadcrumb a {
  color: var(--text-muted);
  padding: 2px 4px;
  border-radius: 6px;
}

.breadcrumb a:hover {
  color: var(--brand-500);
  background: rgba(127, 220, 156, 0.14);
}

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

/* ============ SECTIONS ============ */
.section {
  position: relative;
  padding: clamp(44px, 6vw, 80px) 0;
}

.section-alt {
  background: var(--surface-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

.section-inner > h2 {
  position: relative;
  padding-bottom: 16px;
  margin-bottom: 26px;
}

.section-inner > h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 4px;
  border-radius: var(--radius-pill);
  background: var(--grad-accent);
  box-shadow: 0 4px 14px rgba(255, 181, 71, 0.4);
}

.section-inner > h3 {
  margin-top: 1.8em;
  padding-left: 14px;
  border-left: 4px solid var(--brand-400);
  color: var(--text);
}

.section-inner > h3:first-of-type {
  margin-top: 1.2em;
}

.section-inner > p {
  max-width: 78ch;
}

.section-inner > p:first-of-type {
  font-size: 1.02rem;
  color: var(--text-soft);
}

/* Reveal animation */
.reveal,
.section-inner > h2,
.section-inner > h3,
.section-inner > p,
.news-item,
.article-card,
.faq-item,
blockquote,
.stat {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal,
  .section-inner > h2,
  .section-inner > h3,
  .section-inner > p,
  .news-item,
  .article-card,
  .faq-item,
  blockquote,
  .stat {
    opacity: 1;
    transform: none;
  }
}

/* ============ NEWS ============ */
.news-item {
  position: relative;
  margin-bottom: 18px;
  padding: 24px 26px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

.news-item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--grad-brand);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s var(--ease);
}

.news-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-300);
}

.news-item:hover::before {
  transform: scaleY(1);
}

.news-item h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
  transition: color 0.3s var(--ease);
}

.news-item:hover h3 {
  color: var(--brand-500);
}

.news-item .meta,
.article-card .meta {
  display: inline-block;
  margin: 0 0 10px;
  padding: 3px 12px;
  font-size: 0.76rem;
  color: var(--text-muted);
  background: var(--ink-100);
  border-radius: var(--radius-pill);
  letter-spacing: 0.02em;
}

[data-theme="dark"] .news-item .meta,
[data-theme="dark"] .article-card .meta {
  background: var(--ink-100);
}

.news-item p:last-child {
  margin-bottom: 0;
}

/* ============ ARTICLES ============ */
.article-card {
  position: relative;
  margin-bottom: 18px;
  padding: 24px 26px;
  border-radius: var(--radius-md);
  background: var(--surface-glass);
  border: 1px solid var(--surface-glass-border);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-300);
}

.article-card h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
  transition: color 0.3s var(--ease);
}

.article-card:hover h3 {
  color: var(--brand-500);
}

.article-card p {
  margin-bottom: 12px;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--brand-500);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background: rgba(127, 220, 156, 0.16);
  transition: gap 0.3s var(--ease), background 0.3s var(--ease),
    color 0.3s var(--ease);
}

.read-more::after {
  content: "→";
  transition: transform 0.3s var(--ease);
}

.read-more:hover {
  gap: 10px;
  background: var(--brand-700);
  color: #eafaf0;
}

.read-more:hover::after {
  transform: translateX(2px);
}

.article-body {
  margin: 20px 0 30px;
  padding: 26px 28px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand-400);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}

.article-body:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.article-body h4 {
  color: var(--brand-500);
  margin-bottom: 12px;
}

.article-body p:last-child {
  margin-bottom: 0;
}

/* ============ FAQ ============ */
.faq-item {
  margin-bottom: 14px;
  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-item:hover {
  border-color: var(--brand-300);
  box-shadow: var(--shadow-md);
}

.faq-item[open] {
  border-color: var(--brand-400);
  box-shadow: var(--shadow-md);
}

.faq-item summary {
  position: relative;
  cursor: pointer;
  padding: 18px 56px 18px 22px;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text);
  list-style: none;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

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

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--brand-500);
  background: rgba(127, 220, 156, 0.16);
  border-radius: 50%;
  transform: translateY(-50%);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease),
    color 0.35s var(--ease);
}

.faq-item summary:hover {
  background: rgba(127, 220, 156, 0.08);
  color: var(--brand-500);
}

.faq-item[open] summary {
  background: rgba(127, 220, 156, 0.12);
  color: var(--brand-500);
}

.faq-item[open] summary::after {
  content: "−";
  transform: translateY(-50%) rotate(180deg);
  background: var(--brand-700);
  color: #eafaf0;
}

.faq-item p {
  margin: 0;
  padding: 4px 22px 20px;
  font-size: 0.94rem;
  color: var(--text-soft);
  animation: fadeSlide 0.4s var(--ease) both;
}

/* ============ HOWTO / LISTS ============ */
#howto ol {
  counter-reset: step;
  list-style: none;
  padding-left: 0;
}

#howto ol li {
  position: relative;
  counter-increment: step;
  margin-bottom: 12px;
  padding: 14px 18px 14px 58px;
  border-radius: var(--radius-sm);
  background: var(--surface-glass);
  border: 1px solid var(--surface-glass-border);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

#howto ol li::before {
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  font-size: 0.86rem;
  font-weight: 700;
  color: #0e3322;
  background: var(--grad-accent);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(255, 181, 71, 0.35);
}

#howto ol li:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-300);
}

.contact-list,
.sitemap-list,
.friend-links,
.eeat-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2em;
  display: grid;
  gap: 10px;
}

.contact-list li,
.eeat-list li {
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: var(--surface-glass);
  border: 1px solid var(--surface-glass-border);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  font-size: 0.92rem;
  color: var(--text-soft);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.contact-list li:hover,
.eeat-list li:hover {
  transform: translateX(5px);
  border-color: var(--brand-300);
  box-shadow: var(--shadow-sm);
}

.sitemap-list,
.friend-links {
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
}

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

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

.sitemap-list a:hover,
.friend-links a:hover {
  color: var(--brand-500);
  border-color: var(--brand-300);
  background: rgba(127, 220, 156, 0.1);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* ============ FOOTER ============ */
.site-footer {
  position: relative;
  margin-top: 0;
  padding: clamp(40px, 5vw, 64px) 0 0;
  color: rgba(233, 249, 239, 0.86);
  background: var(--grad-banner);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto auto;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(127, 220, 156, 0.2), transparent 62%);
  pointer-events: none;
}

.footer-inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
  gap: 32px;
}

.footer-col h3 {
  margin-bottom: 14px;
  font-size: 1rem;
  color: #ffffff;
  letter-spacing: 0.04em;
}

.footer-col p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.85;
  color: rgba(233, 249, 239, 0.8);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 8px;
  font-size: 0.88rem;
  color: rgba(233, 249, 239, 0.8);
}

.footer-col a {
  color: rgba(233, 249, 239, 0.82);
  position: relative;
  padding-left: 0;
  transition: color 0.25s var(--ease), padding-left 0.25s var(--ease);
}

.footer-col a::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 50%;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: translateY(-50%);
  transition: width 0.3s var(--ease);
}

.footer-col a:hover {
  color: #ffffff;
  padding-left: 6px;
}

.footer-col a:hover::before {
  width: 8px;
}

.footer-bottom {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 20px;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(233, 249, 239, 0.66);
  letter-spacing: 0.02em;
}

/* ============ BACK TO TOP ============ */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 26px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 700;
  color: #0e3322;
  background: var(--grad-accent);
  box-shadow: 0 12px 30px rgba(255, 181, 71, 0.42);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.9);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease),
    visibility 0.35s var(--ease), box-shadow 0.35s var(--ease);
  z-index: 90;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 18px 40px rgba(255, 181, 71, 0.58);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1080px) {
  .main-nav a {
    padding: 8px 8px;
    font-size: 0.83rem;
  }
  .site-search input {
    width: 128px;
  }
  .footer-inner {
    grid-template-columns: 1.3fr 1fr 1fr;
  }
}

@media (max-width: 920px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: left;
  }
  .hero-banner {
    max-width: 460px;
    margin: 0 auto;
    width: 100%;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  :root {
    --header-h: 64px;
  }
  .header-inner {
    gap: 12px;
    padding: 0 16px;
  }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    padding: 14px 16px 22px;
    background: var(--surface-glass);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease),
      visibility 0.3s var(--ease);
  }
  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .main-nav ul {
    flex-direction: column;
    gap: 4px;
  }
  .main-nav a {
    display: block;
    padding: 11px 14px;
    font-size: 0.94rem;
    border-radius: var(--radius-sm);
  }
  .main-nav a::after {
    display: none;
  }
  .menu-toggle {
    display: grid;
  }
  .site-search {
    display: none;
  }
  .section-inner > h2::after {
    width: 48px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }
  .hero {
    margin-top: 18px;
    padding: 0 14px;
  }
  .hero-inner {
    padding: 24px 20px;
    border-radius: var(--radius-lg);
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .btn {
    width: 100%;
  }
  .hero-stats {
    gap: 10px;
    margin-top: 16px;
    padding: 0 14px;
  }
  .stat {
    padding: 16px 10px;
  }
  .stat-label {
    font-size: 0.74rem;
  }
  .breadcrumb {
    padding: 0 14px;
    margin-top: 18px;
  }
  .section-inner {
    padding: 0 14px;
  }
  .news-item,
  .article-card,
  .article-body {
    padding: 18px 18px;
  }
  .faq-item summary {
    padding: 15px 50px 15px 16px;
    font-size: 0.93rem;
  }
  .faq-item p {
    padding: 2px 16px 16px;
  }
  #howto ol li {
    padding: 12px 14px 12px 50px;
  }
  .sitemap-list,
  .friend-links {
    grid-template-columns: 1fr 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-bottom: 30px;
  }
  .back-to-top {
    right: 14px;
    bottom: 16px;
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 400px) {
  .sitemap-list,
  .friend-links {
    grid-template-columns: 1fr;
  }
  .brand-slogan {
    display: none;
  }
}

/* ============ PRINT ============ */
@media print {
  .site-header,
  .back-to-top,
  .hero-banner,
  .banner-dots,
  .site-search,
  .theme-toggle,
  .menu-toggle {
    display: none !important;
  }
  body {
    background: #ffffff;
    color: #000000;
  }
  .section,
  .section-alt {
    background: #ffffff;
    border: 0;
  }
  a {
    color: #000000;
    text-decoration: underline;
  }
}