:root {
  --primary: #E8453C;
  --primary-dark: #C73028;
  --primary-light: #FF6B5E;
  --accent: #FFD166;
  --accent-2: #FF8A3D;
  --blue: #4A90D9;
  --navy: #1F2A44;
  --purple: #2B1B3A;
  --bg: #FFF9F4;
  --bg-alt: #FFFFFF;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-solid: #FFFFFF;
  --text: #2A2320;
  --text-soft: #6B5E57;
  --text-mute: #9A8D85;
  --border: rgba(232, 69, 60, 0.14);
  --border-soft: rgba(42, 35, 32, 0.08);
  --shadow-sm: 0 2px 8px rgba(42, 35, 32, 0.06);
  --shadow-md: 0 8px 28px rgba(42, 35, 32, 0.10);
  --shadow-lg: 0 18px 48px rgba(42, 35, 32, 0.16);
  --shadow-primary: 0 10px 30px rgba(232, 69, 60, 0.28);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --grad-hero: linear-gradient(135deg, #E8453C 0%, #FF8A3D 55%, #FFD166 100%);
  --grad-primary: linear-gradient(135deg, #E8453C 0%, #FF8A3D 100%);
  --grad-soft: linear-gradient(135deg, rgba(232, 69, 60, 0.10) 0%, rgba(255, 209, 102, 0.14) 100%);
  --header-h: 72px;
  --maxw: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

html[data-theme="dark"] {
  --primary: #FF6B5E;
  --primary-dark: #E8453C;
  --primary-light: #FF8A80;
  --accent: #FFD166;
  --bg: #14100E;
  --bg-alt: #1B1613;
  --surface: rgba(40, 32, 28, 0.66);
  --surface-solid: #231C18;
  --text: #F5EDE7;
  --text-soft: #C7B7AC;
  --text-mute: #8E7F76;
  --border: rgba(255, 107, 94, 0.20);
  --border-soft: rgba(245, 237, 231, 0.10);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.40);
  --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.50);
  --shadow-lg: 0 18px 48px rgba(0, 0, 0, 0.60);
  --shadow-primary: 0 10px 30px rgba(255, 107, 94, 0.30);
  --grad-soft: linear-gradient(135deg, rgba(255, 107, 94, 0.14) 0%, rgba(255, 209, 102, 0.10) 100%);
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(circle at 8% 4%, rgba(232, 69, 60, 0.08), transparent 42%),
    radial-gradient(circle at 92% 12%, rgba(255, 209, 102, 0.12), transparent 44%),
    radial-gradient(circle at 50% 100%, rgba(74, 144, 217, 0.06), transparent 50%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}

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

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

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

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

h1 { font-size: clamp(1.7rem, 3.6vw, 2.75rem); }
h2 { font-size: clamp(1.4rem, 2.8vw, 2rem); }
h3 { font-size: clamp(1.12rem, 1.9vw, 1.35rem); }

p { margin: 0 0 1em; }

ul, ol { margin: 0 0 1em; padding-left: 1.35em; }

li { margin-bottom: 0.45em; }

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

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

::selection {
  background: var(--primary);
  color: #fff;
}

.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: 1000;
  background: var(--surface);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--border-soft);
  transition: background 0.4s var(--ease), box-shadow 0.3s var(--ease);
}

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

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  flex-shrink: 0;
}

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

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  box-shadow: var(--shadow-primary);
  transition: transform 0.45s var(--ease), box-shadow 0.3s var(--ease);
}

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

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

.brand-text strong {
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-text em {
  font-style: normal;
  font-size: 0.7rem;
  color: var(--text-mute);
  letter-spacing: 0.04em;
}

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

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

.main-nav li { margin: 0; }

.main-nav a {
  display: inline-block;
  padding: 8px 12px;
  font-size: 0.9rem;
  color: var(--text-soft);
  border-radius: 999px;
  white-space: nowrap;
  position: relative;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

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

.main-nav a:hover {
  color: var(--primary);
  background: var(--grad-soft);
}

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

.site-search {
  display: flex;
  align-items: center;
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 4px 4px 16px;
  flex-shrink: 0;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.site-search:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(232, 69, 60, 0.12);
}

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

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

.site-search button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: var(--grad-primary);
  color: #fff;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-search button:hover {
  transform: scale(1.08);
  box-shadow: var(--shadow-primary);
}

.theme-toggle {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface-solid);
  color: var(--text-soft);
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.4s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.theme-toggle:hover {
  color: var(--primary);
  border-color: var(--primary);
  transform: rotate(25deg);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-solid);
  cursor: pointer;
  padding: 0 10px;
  flex-shrink: 0;
}

.menu-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  border-top: 1px solid var(--border-soft);
  background: var(--surface);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  animation: slideDown 0.35s var(--ease);
}

.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 12px 24px 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.mobile-menu li { margin: 0; }

.mobile-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-soft);
  font-size: 0.92rem;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.mobile-menu a:hover,
.mobile-menu a:active {
  background: var(--grad-soft);
  color: var(--primary);
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

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

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

.breadcrumb li { margin: 0; }

.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--text-mute);
  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 {
  max-width: var(--maxw);
  margin: 20px auto 0;
  padding: 0 24px;
}

.hero-slider {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}

.slide {
  display: none;
  position: relative;
  min-height: 420px;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.slide.is-active {
  display: block;
  animation: fadeSlide 0.7s var(--ease);
}

@keyframes fadeSlide {
  from { opacity: 0; transform: scale(1.02); }
  to { opacity: 1; transform: scale(1); }
}

.slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 10, 8, 0.72) 0%, rgba(20, 10, 8, 0.42) 55%, rgba(20, 10, 8, 0.10) 100%);
  z-index: 1;
}

.slide-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: clamp(32px, 5vw, 64px);
  color: #fff;
}

.slide-content h1,
.slide-content h2 {
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.slide-content h1 { font-size: clamp(1.6rem, 3.4vw, 2.6rem); }

.hero-lead {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.92rem, 1.5vw, 1.02rem);
  line-height: 1.85;
  max-width: 640px;
}

.slide-content p {
  color: rgba(255, 255, 255, 0.9);
}

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

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}

.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 16px 38px rgba(232, 69, 60, 0.42);
}

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

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.26);
  color: #fff;
  transform: translateY(-3px);
}

.slider-controls {
  position: absolute;
  right: 24px;
  bottom: 22px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
}

.slider-prev,
.slider-next {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding-bottom: 4px;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

.slider-prev:hover,
.slider-next:hover {
  background: rgba(255, 255, 255, 0.34);
  transform: scale(1.08);
}

.slider-dots {
  display: flex;
  gap: 8px;
  margin-left: 6px;
}

.slider-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  padding: 0;
  transition: width 0.35s var(--ease), background 0.3s var(--ease);
}

.slider-dots button.is-active {
  width: 26px;
  border-radius: 999px;
  background: var(--accent);
}

/* ============ STATS ============ */
.stats {
  max-width: var(--maxw);
  margin: 28px auto 0;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-item {
  background: var(--surface);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.stat-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.stat-item:hover::before { transform: scaleX(1); }

.stat-num {
  display: block;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 800;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.stat-item span {
  font-size: 0.82rem;
  color: var(--text-soft);
  letter-spacing: 0.02em;
}

/* ============ SECTION ============ */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(48px, 6vw, 80px) 24px;
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 44px;
}

.section-head h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
}

.section-head h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 64px;
  height: 4px;
  border-radius: 4px;
  background: var(--grad-primary);
  transform: translateX(-50%);
}

.section-sub {
  color: var(--text-soft);
  font-size: 0.98rem;
  margin: 0;
}

/* ============ PROSE ============ */
.prose {
  max-width: 900px;
  margin: 0 auto;
  background: var(--surface);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 48px);
  box-shadow: var(--shadow-sm);
}

.prose h3 {
  position: relative;
  padding-left: 18px;
  margin-top: 1.6em;
}

.prose h3:first-child { margin-top: 0; }

.prose h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  bottom: 0.28em;
  width: 5px;
  border-radius: 4px;
  background: var(--grad-primary);
}

.prose p {
  color: var(--text-soft);
  text-align: justify;
}

/* ============ CARD GRID ============ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.card {
  background: var(--surface-solid);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border);
}

.card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.card:hover .card-img { transform: scale(1.06); }

.card h3 {
  padding: 20px 22px 0;
  margin-bottom: 0.4em;
  font-size: 1.12rem;
}

.card p {
  padding: 0 22px 24px;
  margin: 0;
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.8;
}

/* ============ FEATURE LIST ============ */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}

.feature-list li {
  position: relative;
  margin: 0;
  padding: 16px 20px 16px 52px;
  background: var(--surface);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  color: var(--text-soft);
  font-size: 0.93rem;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--grad-primary);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
}

.feature-list li:hover {
  transform: translateX(6px);
  border-color: var(--border);
}

/* ============ SOLUTIONS ============ */
.solutions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.solution {
  position: relative;
  background: var(--surface);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.solution::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -30%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: var(--grad-soft);
  transition: transform 0.6s var(--ease);
}

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

.solution:hover::before { transform: scale(1.35); }

.solution h3 { position: relative; }

.solution p {
  position: relative;
  color: var(--text-soft);
  font-size: 0.93rem;
  margin: 0;
}

/* ============ CASE GRID ============ */
.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-bottom: 40px;
}

.case {
  background: var(--surface-solid);
  border: 1px solid var(--border-soft);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

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

.case h3 { font-size: 1.08rem; }

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

/* ============ QUOTE ============ */
.quote {
  margin: 0 0 18px;
  padding: 24px 28px 24px 56px;
  position: relative;
  background: var(--grad-soft);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  transition: transform 0.35s var(--ease);
}

.quote:hover { transform: translateX(6px); }

.quote::before {
  content: "“";
  position: absolute;
  left: 18px;
  top: 6px;
  font-size: 3.2rem;
  line-height: 1;
  font-family: Georgia, serif;
  color: var(--primary);
  opacity: 0.5;
}

.quote p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.94rem;
  font-style: italic;
}

/* ============ NEWS ============ */
.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--surface);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.news-list li {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 18px 26px;
  border-bottom: 1px solid var(--border-soft);
  transition: background 0.3s var(--ease), padding-left 0.3s var(--ease);
}

.news-list li:last-child { border-bottom: none; }

.news-list li:hover {
  background: var(--grad-soft);
  padding-left: 34px;
}

.news-list time {
  flex-shrink: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--grad-soft);
}

.news-list a {
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 500;
}

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

/* ============ ARTICLES ============ */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.article-card {
  position: relative;
  background: var(--surface-solid);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s var(--ease);
}

.article-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.article-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border);
}

.article-card:hover::after { transform: scaleX(1); }

.article-card h3 {
  font-size: 1.06rem;
  line-height: 1.5;
  transition: color 0.3s var(--ease);
}

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

.article-card .meta {
  font-size: 0.78rem;
  color: var(--text-mute);
  margin-bottom: 0.9em;
  letter-spacing: 0.02em;
}

.article-card > p:not(.meta) {
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.8;
  flex: 1;
}

.read-more {
  align-self: flex-start;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}

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

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

/* ============ HOWTO ============ */
.howto {
  max-width: 900px;
  margin: 0 auto;
  background: var(--surface);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 48px);
  box-shadow: var(--shadow-sm);
}

.howto h3 {
  position: relative;
  padding-left: 18px;
  margin-top: 1.7em;
}

.howto h3:first-child { margin-top: 0; }

.howto h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  bottom: 0.28em;
  width: 5px;
  border-radius: 4px;
  background: var(--grad-primary);
}

.howto p,
.howto li { color: var(--text-soft); font-size: 0.94rem; }

.howto ol {
  counter-reset: step;
  list-style: none;
  padding-left: 0;
}

.howto ol li {
  counter-increment: step;
  position: relative;
  padding: 12px 16px 12px 54px;
  margin-bottom: 10px;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-soft);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.howto ol li::before {
  content: counter(step);
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--grad-primary);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}

.howto ol li:hover {
  transform: translateX(6px);
  border-color: var(--border);
}

.howto ul li::marker { color: var(--primary); }

/* ============ FAQ ============ */
.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.faq-list details[open] {
  border-color: var(--border);
  box-shadow: var(--shadow-md);
}

.faq-list summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 18px 56px 18px 24px;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text);
  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: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--grad-soft);
  color: var(--primary);
  font-size: 1.15rem;
  font-weight: 700;
  transition: transform 0.35s var(--ease), background 0.3s var(--ease);
}

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

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

.faq-list details > p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--text-soft);
  font-size: 0.93rem;
  line-height: 1.85;
  animation: fadeIn 0.4s var(--ease);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============ TEAM ============ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}

.team-card {
  background: var(--surface);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.team-card h3 {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 999px;
  background: var(--grad-soft);
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 0.9em;
}

.team-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.8;
}

/* ============ CONTACT ============ */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.contact-info,
.contact-form {
  background: var(--surface);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3.5vw, 40px);
  box-shadow: var(--shadow-sm);
}

.contact-info ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4em;
}

.contact-info li {
  padding: 10px 0;
  border-bottom: 1px dashed var(--border-soft);
  font-size: 0.92rem;
  color: var(--text-soft);
}

.contact-info li:last-child { border-bottom: none; }

.contact-info a { font-weight: 500; }

.contact-info p {
  color: var(--text-soft);
  font-size: 0.92rem;
  margin: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
}

.contact-form h3 { margin-bottom: 1em; }

.contact-form label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-soft);
  margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--text);
  background: var(--bg-alt);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 16px;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--text-mute); }

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(232, 69, 60, 0.12);
}

.contact-form .btn-primary {
  align-self: flex-start;
  margin-top: 4px;
}

/* ============ FOOTER ============ */
.site-footer {
  margin-top: 40px;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
  position: relative;
  overflow: hidden;
}

html[data-theme="dark"] .site-footer {
  background: #0F0C0A;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--grad-primary);
}

.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 56px 24px 36px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-col h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1em;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 3px;
  border-radius: 3px;
  background: var(--grad-primary);
}

.footer-col p {
  font-size: 0.88rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.66);
  margin: 0;
}

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

.footer-col li { margin-bottom: 8px; }

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  transition: color 0.25s var(--ease), padding-left 0.25s var(--ease);
}

.footer-col a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.footer-legal {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 28px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 40px;
}

.footer-legal h3 {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  margin-bottom: 0.5em;
}

.footer-legal p {
  font-size: 0.82rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

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

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 6px;
  line-height: 1.7;
}

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

/* ============ BACK TO TOP ============ */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 28px;
  z-index: 900;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--grad-primary);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-primary);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), opacity 0.3s var(--ease);
  animation: popIn 0.35s var(--ease);
}

.back-to-top:hover {
  transform: translateY(-5px) scale(1.06);
  box-shadow: 0 18px 42px rgba(232, 69, 60, 0.48);
}

@keyframes popIn {
  from { opacity: 0; transform: scale(0.6); }
  to { opacity: 1; transform: scale(1); }
}

/* ============ SCROLL REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}

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

/* ============ RESPONSIVE ============ */
@media (max-width: 1080px) {
  .main-nav { display: none; }
  .menu-toggle { display: flex; }
  .site-search { margin-left: auto; }
  .footer-inner { grid-template-columns: repeat(2, 1fr); }
}

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

  .header-inner { gap: 12px; padding: 0 16px; }
  .brand-text em { display: none; }
  .site-search input { width: 120px; }
  .hero { padding: 0 16px; margin-top: 14px; }
  .breadcrumb { padding: 14px 16px 0; }
  .stats { grid-template-columns: repeat(2, 1fr); padding: 0 16px; }
  .section { padding: 44px 16px; }
  .slide { min-height: 380px; }
  .slide-content { padding: 32px 26px 70px; }
  .slider-controls { right: 16px; bottom: 16px; }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-legal { grid-template-columns: 1fr; }
  .news-list li { flex-direction: column; align-items: flex-start; gap: 8px; }
  .news-list li:hover { padding-left: 26px; }
}

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

  .site-search { display: none; }
  .brand-logo { width: 38px; height: 38px; }
  .brand-text strong { font-size: 0.98rem; }
  .mobile-menu ul { grid-template-columns: 1fr; padding: 10px 16px 16px; }

  .hero-slider { border-radius: var(--radius-lg); }
  .slide { border-radius: var(--radius-lg); min-height: 340px; }
  .slide::after {
    background: linear-gradient(180deg, rgba(20, 10, 8, 0.55) 0%, rgba(20, 10, 8, 0.78) 100%);
  }
  .slide-content { padding: 26px 20px 66px; }
  .hero-actions { gap: 10px; margin-top: 20px; }
  .btn-primary, .btn-ghost { padding: 11px 22px; font-size: 0.88rem; }

  .stat-item { padding: 18px 12px; }
  .stat-item span { font-size: 0.76rem; }

  .section-head { margin-bottom: 30px; }
  .prose, .howto { padding: 22px 18px; border-radius: var(--radius-md); }
  .card-grid, .solutions, .case-grid, .team-grid { gap: 16px; }
  .card-img { height: 150px; }
  .article-grid { grid-template-columns: 1fr; gap: 16px; }
  .article-card { padding: 22px 20px; }
  .faq-list summary { padding: 15px 50px 15px 18px; font-size: 0.92rem; }
  .faq-list details > p { padding: 0 18px 18px; }

  .footer-inner { grid-template-columns: 1fr; padding: 40px 16px 28px; gap: 26px; }
  .footer-legal { padding: 24px 16px; }
  .footer-bottom { padding: 18px 16px 28px; }

  .back-to-top { right: 16px; bottom: 18px; width: 44px; height: 44px; }
}

@media (max-width: 380px) {
  .stats { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost { width: 100%; }
}

/* ============ MOTION PREFERENCE ============ */
@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;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ============ PRINT ============ */
@media print {
  .site-header,
  .site-search,
  .theme-toggle,
  .menu-toggle,
  .mobile-menu,
  .slider-controls,
  .back-to-top {
    display: none !important;
  }
  body { background: #fff; color: #000; }
  .slide { display: block !important; }
  .slide-bg, .slide::after { display: none; }
  .slide-content { color: #000; }
  .slide-content h1, .slide-content h2, .slide-content p { color: #000; text-shadow: none; }
  a { color: #000; text-decoration: underline; }
}