:root {
  --bg: #f5f7fb;
  --bg-soft: #eef2f9;
  --surface: #ffffff;
  --surface-glass: rgba(255, 255, 255, 0.72);
  --surface-border: rgba(15, 23, 42, 0.08);
  --text: #0f172a;
  --text-soft: #475569;
  --text-muted: #64748b;
  --brand: #0ea5e9;
  --brand-2: #6366f1;
  --brand-3: #22d3ee;
  --accent: #f59e0b;
  --header-bg: rgba(255, 255, 255, 0.78);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.16);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --grad-hero: linear-gradient(135deg, #0ea5e9 0%, #6366f1 48%, #22d3ee 100%);
  --grad-accent: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
  --grad-soft: linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(99, 102, 241, 0.12));
}

html[data-theme="dark"] {
  --bg: #0b1120;
  --bg-soft: #0f172a;
  --surface: #111c33;
  --surface-glass: rgba(17, 28, 51, 0.66);
  --surface-border: rgba(148, 163, 184, 0.16);
  --text: #e2e8f0;
  --text-soft: #cbd5e1;
  --text-muted: #94a3b8;
  --brand: #38bdf8;
  --brand-2: #818cf8;
  --brand-3: #22d3ee;
  --header-bg: rgba(11, 17, 32, 0.78);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.6);
  --grad-soft: linear-gradient(135deg, rgba(56, 189, 248, 0.14), rgba(129, 140, 248, 0.14));
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(1200px 600px at 12% -10%, rgba(14, 165, 233, 0.14), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(99, 102, 241, 0.12), transparent 55%);
  background-attachment: fixed;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease);
  overflow-x: hidden;
}

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

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

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

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

h1 { font-size: clamp(1.75rem, 3.6vw, 2.75rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }
h4 { font-size: 1.05rem; }

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

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

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

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

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

blockquote {
  margin: 0 0 1em;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--brand);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: var(--grad-soft);
  color: var(--text-soft);
}

blockquote p { margin: 0; }

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

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

::selection {
  background: rgba(14, 165, 233, 0.28);
}

/* ============ Header ============ */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--surface-border);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

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

.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0.7rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.brand svg {
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(14, 165, 233, 0.35);
  transition: transform 0.4s var(--ease);
}

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

.brand-name {
  background: var(--grad-hero);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

#main-nav {
  flex: 1 1 auto;
}

#main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem;
}

#main-nav li + li {
  margin-top: 0;
}

#main-nav a {
  display: inline-block;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  transition: color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}

#main-nav a:hover,
#main-nav a:focus-visible {
  color: var(--brand);
  background: var(--grad-soft);
  transform: translateY(-1px);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

#site-search {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--surface-glass);
  border: 1px solid var(--surface-border);
  border-radius: 999px;
  padding: 0.2rem 0.25rem 0.2rem 0.9rem;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

#site-search:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.16);
}

#search-input {
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 0.9rem;
  padding: 0.4rem 0;
  width: 190px;
  outline: none;
}

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

#search-input::-webkit-search-cancel-button {
  cursor: pointer;
}

#site-search button {
  border: 0;
  cursor: pointer;
  padding: 0.42rem 1rem;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  color: #fff;
  background: var(--grad-hero);
  background-size: 160% 160%;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-position 0.5s var(--ease);
}

#site-search button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(14, 165, 233, 0.4);
  background-position: 100% 50%;
}

#theme-toggle,
#menu-toggle {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--surface-border);
  background: var(--surface-glass);
  color: var(--text);
  font-size: 1.05rem;
  cursor: pointer;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}

#theme-toggle:hover,
#menu-toggle:hover {
  transform: translateY(-2px) rotate(8deg);
  box-shadow: var(--shadow-sm);
}

#menu-toggle {
  display: none;
}

/* ============ Main layout ============ */
main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

main > section {
  margin-bottom: 2.5rem;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease), background 0.35s var(--ease);
  animation: fadeUp 0.7s var(--ease) both;
}

main > section:hover {
  box-shadow: var(--shadow-md);
}

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

main > section > h2 {
  position: relative;
  padding-bottom: 0.6rem;
  margin-top: 0;
}

main > section > h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 4px;
  border-radius: 999px;
  background: var(--grad-hero);
}

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

main > section > h3::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 0.5rem;
  border-radius: 2px;
  background: var(--grad-accent);
  transform: translateY(-2px) rotate(45deg);
}

/* ============ Breadcrumb ============ */
.breadcrumb {
  margin-bottom: 1.25rem;
  padding: 0;
  animation: fadeUp 0.5s var(--ease) both;
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0.5rem 1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  background: var(--surface-glass);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--surface-border);
  border-radius: 999px;
  width: fit-content;
}

.breadcrumb li + li {
  margin-top: 0;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.4rem;
  color: var(--text-muted);
  opacity: 0.6;
}

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

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

/* ============ Hero ============ */
.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  padding: 2.5rem !important;
  background: var(--grad-hero) !important;
  border: 0 !important;
  border-radius: var(--radius-xl) !important;
  color: #fff;
  box-shadow: var(--shadow-lg) !important;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 85% 10%, rgba(255, 255, 255, 0.28), transparent 60%),
    radial-gradient(500px 260px at 5% 95%, rgba(255, 255, 255, 0.18), transparent 60%);
  z-index: -1;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -120px;
  bottom: -180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  filter: blur(10px);
  z-index: -1;
  animation: float 12s ease-in-out infinite;
}

.hero h1,
.hero p,
.hero strong,
.hero .lead {
  color: #fff;
}

.hero h1 {
  margin-top: 0;
  text-shadow: 0 2px 18px rgba(15, 23, 42, 0.25);
}

.hero .lead {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}

.btn-primary {
  color: #0f172a;
  background: #fff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.22);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  color: #0f172a;
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.3);
}

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

.btn-secondary:hover,
.btn-secondary:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.24);
  transform: translateY(-3px);
}

.hero-stats {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.hero-stats li {
  margin: 0;
  padding: 0.75rem 0.5rem;
  text-align: center;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}

.hero-stats li:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.24);
}

.hero-stats strong {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.hero-stats span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.85);
}

.hero-media {
  position: relative;
}

/* ============ Carousel ============ */
.carousel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.24);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.35);
}

.carousel .slide {
  margin: 0;
  display: none;
  position: relative;
}

.carousel .slide.is-active {
  display: block;
  animation: fadeIn 0.6s var(--ease) both;
}

.carousel .slide svg {
  width: 100%;
  height: auto;
  display: block;
}

.carousel figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.1rem 1.2rem 0.9rem;
  font-size: 0.9rem;
  color: #fff;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0));
}

.carousel-controls {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: flex;
  gap: 0.4rem;
}

.carousel-controls button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(15, 23, 42, 0.4);
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.carousel-controls button:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: scale(1.08);
}

/* ============ Timeline ============ */
.timeline {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--brand), var(--brand-2));
  opacity: 0.45;
  border-radius: 2px;
}

.timeline li {
  position: relative;
  margin: 0 0 0.9rem;
  padding: 0.75rem 1rem 0.75rem 2.2rem;
  border-radius: var(--radius-md);
  background: var(--bg-soft);
  border: 1px solid var(--surface-border);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.timeline li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 1.15rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.2);
}

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

/* ============ Lists ============ */
.team-list,
.advantage-list,
.contact-list,
.sitemap-list {
  list-style: none;
  padding: 0;
}

.team-list li,
.advantage-list li,
.contact-list li {
  padding: 0.7rem 1rem;
  margin-bottom: 0.55rem;
  border-radius: var(--radius-md);
  background: var(--bg-soft);
  border: 1px solid var(--surface-border);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.advantage-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.6rem;
}

.advantage-list li {
  position: relative;
  padding-left: 2.2rem;
  margin-bottom: 0;
}

.advantage-list li::before {
  content: "✓";
  position: absolute;
  left: 0.8rem;
  top: 0.7rem;
  width: 18px;
  height: 18px;
  line-height: 18px;
  font-size: 0.7rem;
  text-align: center;
  border-radius: 50%;
  color: #fff;
  background: var(--grad-hero);
}

.team-list li:hover,
.advantage-list li:hover,
.contact-list li:hover {
  transform: translateY(-3px);
  border-color: rgba(14, 165, 233, 0.4);
  box-shadow: var(--shadow-sm);
}

/* ============ Cards ============ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
  margin: 1.25rem 0;
}

.card {
  position: relative;
  padding: 1.4rem;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--surface-border);
  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);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--grad-hero);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(14, 165, 233, 0.35);
}

.card:hover::before {
  transform: scaleX(1);
}

.card h4 {
  margin: 0 0 0.5rem;
  color: var(--text);
}

.card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ============ News ============ */
.news-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: grid;
  gap: 0.9rem;
}

.news-list li {
  margin: 0;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-md);
  background: var(--bg-soft);
  border: 1px solid var(--surface-border);
  border-left: 4px solid var(--brand);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-left-color 0.3s var(--ease);
}

.news-list li:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-sm);
  border-left-color: var(--accent);
}

.news-list h3 {
  margin: 0.2rem 0 0.4rem;
  font-size: 1.05rem;
}

.news-list h3::before {
  display: none;
}

.news-list p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ============ Posts ============ */
.post {
  padding: 1.25rem 1.4rem;
  margin-bottom: 1rem;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

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

.post h3 {
  margin: 0 0 0.35rem;
}

.post h3::before {
  display: none;
}

.post p {
  font-size: 0.94rem;
}

.post a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: var(--grad-soft);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.post a::after {
  content: "→";
  transition: transform 0.25s var(--ease);
}

.post a:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.post a:hover::after {
  transform: translateX(4px);
}

/* ============ FAQ ============ */
.faq-list {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.faq-list details {
  border-radius: var(--radius-md);
  background: var(--bg-soft);
  border: 1px solid var(--surface-border);
  overflow: hidden;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.faq-list details[open] {
  box-shadow: var(--shadow-sm);
  border-color: rgba(14, 165, 233, 0.35);
}

.faq-list summary {
  cursor: pointer;
  padding: 0.95rem 1.1rem;
  font-weight: 600;
  color: var(--text);
  list-style: none;
  position: relative;
  padding-right: 2.6rem;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  line-height: 22px;
  text-align: center;
  border-radius: 50%;
  font-size: 1rem;
  color: var(--brand);
  background: var(--surface);
  border: 1px solid var(--surface-border);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}

.faq-list details[open] summary::after {
  content: "−";
  transform: translateY(-50%) rotate(180deg);
  color: #fff;
  background: var(--grad-hero);
  border-color: transparent;
}

.faq-list summary:hover {
  color: var(--brand);
}

.faq-list details p {
  margin: 0;
  padding: 0 1.1rem 1rem;
  font-size: 0.94rem;
  color: var(--text-muted);
  animation: fadeIn 0.35s var(--ease) both;
}

/* ============ Sitemap ============ */
.sitemap-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 0;
}

.sitemap-list li {
  margin: 0;
}

.sitemap-list a {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--text-soft);
  background: var(--bg-soft);
  border: 1px solid var(--surface-border);
  transition: transform 0.25s var(--ease), color 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.sitemap-list a:hover {
  color: #fff;
  background: var(--grad-hero);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ============ Contact ============ */
.contact-list a {
  font-weight: 600;
}

/* ============ Footer ============ */
#site-footer {
  margin-top: 2rem;
  padding: 2.5rem 1.25rem 1.5rem;
  background: var(--bg-soft);
  border-top: 1px solid var(--surface-border);
  color: var(--text-soft);
}

.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.footer-col h2 {
  font-size: 1.05rem;
  margin: 0 0 0.75rem;
  color: var(--text);
}

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

.footer-col li {
  margin: 0 0 0.4rem;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 0.92rem;
  position: relative;
  transition: color 0.25s var(--ease), padding-left 0.25s var(--ease);
}

.footer-col a::before {
  content: "›";
  position: absolute;
  left: -0.75rem;
  opacity: 0;
  transition: opacity 0.25s var(--ease), left 0.25s var(--ease);
}

.footer-col a:hover {
  color: var(--brand);
  padding-left: 0.35rem;
}

.footer-col a:hover::before {
  opacity: 1;
  left: -0.35rem;
}

.footer-col p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

#site-footer > section {
  max-width: var(--maxw);
  margin: 1.75rem auto 0;
  padding: 1.25rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  transition: box-shadow 0.3s var(--ease);
}

#site-footer > section:hover {
  box-shadow: var(--shadow-sm);
}

#site-footer > section h2 {
  font-size: 1rem;
  margin: 0 0 0.5rem;
}

#site-footer > section p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-copy {
  max-width: var(--maxw);
  margin: 1.5rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--surface-border);
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============ Back to top ============ */
#back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  color: #fff;
  font-size: 1.2rem;
  background: var(--grad-hero);
  box-shadow: var(--shadow-md);
  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);
}

#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: var(--shadow-lg);
}

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

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

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-24px) scale(1.05); }
}

/* Scroll reveal helper */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

@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;
    padding: 2rem !important;
  }

  .hero-media {
    order: -1;
  }

  #search-input {
    width: 150px;
  }

  #main-nav a {
    padding: 0.35rem 0.55rem;
    font-size: 0.88rem;
  }
}

@media (max-width: 860px) {
  #menu-toggle {
    display: inline-flex;
  }

  #main-nav {
    display: none;
    flex-basis: 100%;
    order: 10;
    padding-top: 0.5rem;
    border-top: 1px solid var(--surface-border);
    animation: fadeIn 0.3s var(--ease) both;
  }

  #main-nav.is-open {
    display: block;
  }

  #main-nav ul {
    flex-direction: column;
    gap: 0.15rem;
  }

  #main-nav a {
    display: block;
    padding: 0.6rem 0.8rem;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
  }

  .header-inner {
    padding: 0.6rem 1rem;
  }

  main {
    padding: 1rem 1rem 2.5rem;
  }

  main > section {
    padding: 1.5rem 1.25rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.75rem;
  }

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

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

  .header-inner {
    gap: 0.5rem;
  }

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

  .brand svg {
    width: 30px;
    height: 30px;
  }

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

  #search-input {
    width: 100%;
    min-width: 0;
  }

  #site-search button {
    padding: 0.42rem 0.8rem;
    font-size: 0.8rem;
  }

  .hero {
    padding: 1.5rem 1.1rem !important;
    border-radius: var(--radius-lg) !important;
  }

  .hero-actions {
    gap: 0.5rem;
  }

  .btn-primary,
  .btn-secondary {
    flex: 1 1 auto;
    padding: 0.65rem 1.1rem;
    font-size: 0.9rem;
  }

  .hero-stats strong {
    font-size: 1.15rem;
  }

  .hero-stats span {
    font-size: 0.72rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

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

  .timeline li {
    padding-left: 2rem;
  }

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

  .carousel figcaption {
    font-size: 0.8rem;
    padding: 0.9rem 0.9rem 0.7rem;
  }

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

  #back-to-top {
    right: 0.9rem;
    bottom: 0.9rem;
    width: 42px;
    height: 42px;
  }

  .breadcrumb ol {
    font-size: 0.8rem;
    padding: 0.4rem 0.85rem;
  }
}

@media (max-width: 420px) {
  .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  #site-search button {
    display: none;
  }

  #site-search {
    padding-right: 0.9rem;
  }
}

@media print {
  #site-header,
  #back-to-top,
  .carousel-controls,
  #site-search,
  #theme-toggle,
  #menu-toggle {
    display: none !important;
  }

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

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