:root {
  --brand: #1f3a5f;
  --brand-2: #e8622c;
  --brand-3: #3a6ea5;
  --brand-glow: rgba(232, 98, 44, 0.35);
  --bg: #f4f6fa;
  --bg-soft: #eef1f7;
  --card: #ffffff;
  --card-glass: rgba(255, 255, 255, 0.72);
  --text: #1c2430;
  --text-soft: #2c3a4d;
  --muted: #5d6b7a;
  --line: #e3e7ed;
  --line-soft: rgba(31, 58, 95, 0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow: 0 6px 24px rgba(31, 58, 95, 0.08);
  --shadow-hover: 0 16px 40px rgba(31, 58, 95, 0.16);
  --gradient-brand: linear-gradient(135deg, #1f3a5f 0%, #2b527f 52%, #3a6ea5 100%);
  --gradient-accent: linear-gradient(135deg, #e8622c 0%, #ff8a4c 100%);
  --glass-border: rgba(255, 255, 255, 0.35);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

body.dark {
  --bg: #0f141b;
  --bg-soft: #141b24;
  --card: #1a2029;
  --card-glass: rgba(26, 32, 41, 0.72);
  --text: #e6ebf2;
  --text-soft: #d3dbe6;
  --muted: #9aa7b6;
  --line: #2a3340;
  --line-soft: rgba(143, 180, 232, 0.12);
  --shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
  --shadow-hover: 0 16px 40px rgba(0, 0, 0, 0.6);
  --glass-border: rgba(143, 180, 232, 0.18);
}

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

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

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.85;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
  overflow-x: hidden;
}

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

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

body.dark a {
  color: #8fb4e8;
}

body.dark a:hover {
  color: #ffb27a;
}

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

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand);
  color: #fff;
  padding: 10px 16px;
  z-index: 999;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 10px;
  top: 10px;
  outline: 2px solid var(--brand-2);
}

.topbar {
  background: var(--gradient-brand);
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.2px;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 9px;
  padding-bottom: 9px;
  flex-wrap: wrap;
}

.topbar a {
  color: #dfe8f5;
}

.topbar a:hover {
  color: #ffb27a;
}

header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--card-glass);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line-soft);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.35s var(--ease), background-color 0.35s var(--ease);
}

header.site-header.scrolled {
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.12);
  border-bottom-color: transparent;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  color: var(--brand);
  letter-spacing: 0.5px;
  transition: transform 0.3s var(--ease);
}

.logo:hover {
  transform: translateY(-1px);
}

body.dark .logo {
  color: #8fb4e8;
}

.logo svg {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  box-shadow: 0 4px 12px rgba(31, 58, 95, 0.28);
  transition: transform 0.45s var(--ease);
}

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

.nav-links {
  display: flex;
  gap: 22px;
  font-size: 15px;
  font-weight: 500;
}

.nav-links a {
  color: var(--text);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient-accent);
  transition: width 0.3s var(--ease);
}

.nav-links a:hover {
  color: var(--brand-2);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.search-box:focus-within {
  border-color: var(--brand-3);
  box-shadow: 0 0 0 3px rgba(58, 110, 165, 0.16);
}

.search-box input {
  border: none;
  outline: none;
  background: transparent;
  color: var(--text);
  width: 150px;
  font-size: 14px;
  font-family: inherit;
}

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

.search-box button {
  border: none;
  background: var(--gradient-brand);
  color: #fff;
  border-radius: 18px;
  padding: 6px 14px;
  cursor: pointer;
  font-size: 13px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.search-box button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(31, 58, 95, 0.3);
}

.icon-btn {
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.icon-btn:hover {
  transform: rotate(18deg) scale(1.06);
  border-color: var(--brand-2);
  color: var(--brand-2);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 20px;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s var(--ease);
}

.menu-toggle:hover {
  border-color: var(--brand-2);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 8px 20px 16px;
  border-top: 1px solid var(--line);
}

.mobile-menu a {
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  color: var(--text);
  font-size: 15px;
}

.mobile-menu a:hover {
  color: var(--brand-2);
  padding-left: 6px;
}

.mobile-menu.open {
  display: flex;
  animation: menuDrop 0.32s var(--ease);
}

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

main section {
  padding: 64px 0;
  position: relative;
}

main section:nth-of-type(even) {
  background: var(--bg-soft);
}

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

.section-head h2 {
  font-size: 30px;
  line-height: 1.4;
  color: var(--brand);
  margin-bottom: 12px;
  letter-spacing: 0.3px;
}

body.dark .section-head h2 {
  color: #8fb4e8;
}

.section-head p {
  color: var(--muted);
  font-size: 16px;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--brand-2);
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
  position: relative;
  padding-left: 22px;
}

.eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient-accent);
  transform: translateY(-50%);
}

.hero {
  background: var(--gradient-brand);
  color: #fff;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  left: -160px;
  bottom: -180px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(58, 110, 165, 0.55), transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 98, 44, 0.32), transparent 68%);
  pointer-events: none;
  animation: heroFloat 12s ease-in-out infinite;
}

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

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  padding: 72px 0 64px;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 40px;
  line-height: 1.35;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}

.hero h1 em {
  color: #ffb27a;
  font-style: normal;
  background: linear-gradient(120deg, #ffb27a, #ff8a4c);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p.lead {
  font-size: 17px;
  color: #dbe6f3;
  margin-bottom: 26px;
  max-width: 560px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  background: var(--gradient-accent);
  color: #fff;
  box-shadow: 0 8px 22px var(--brand-glow);
}

.btn-primary:hover {
  color: #fff;
  box-shadow: 0 14px 30px rgba(232, 98, 44, 0.45);
}

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

.btn-ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.8);
}

.hero-stats {
  display: flex;
  gap: 34px;
  margin-top: 38px;
  flex-wrap: wrap;
}

.hero-stats .stat strong {
  display: block;
  font-size: 30px;
  color: #ffb27a;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.hero-stats .stat span {
  font-size: 13px;
  color: #c8d6e8;
}

.hero-art {
  position: relative;
}

.hero-art svg {
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.carousel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0e1a2b;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.slides {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
}

.slide {
  min-width: 100%;
  position: relative;
}

.slide svg {
  border-radius: 0;
  box-shadow: none;
}

.slide-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 20px 18px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.82));
  color: #fff;
}

.slide-caption strong {
  display: block;
  font-size: 17px;
  margin-bottom: 4px;
}

.slide-caption span {
  font-size: 13px;
  color: #cfd8e3;
}

.carousel-dots {
  position: absolute;
  right: 14px;
  top: 14px;
  display: flex;
  gap: 6px;
  z-index: 3;
}

.carousel-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-color 0.35s var(--ease);
}

.carousel-dots button:hover {
  background: rgba(255, 255, 255, 0.8);
}

.carousel-dots button.active {
  background: #ffb27a;
  width: 22px;
  border-radius: 6px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease), border-color 0.32s var(--ease);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(232, 98, 44, 0.06), transparent 55%);
  opacity: 0;
  transition: opacity 0.32s var(--ease);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(232, 98, 44, 0.35);
}

.card:hover::before {
  opacity: 1;
}

.card h3 {
  font-size: 19px;
  margin-bottom: 10px;
  color: var(--brand);
  transition: color 0.25s var(--ease);
}

body.dark .card h3 {
  color: #8fb4e8;
}

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

.card p {
  color: var(--muted);
  font-size: 15px;
}

.card .icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: rgba(232, 98, 44, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: transform 0.35s var(--ease), background-color 0.35s var(--ease);
}

.card:hover .icon {
  transform: rotate(-8deg) scale(1.08);
  background: rgba(232, 98, 44, 0.2);
}

.card .icon svg {
  width: 24px;
  height: 24px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.article-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  position: relative;
}

.article-card::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(58, 110, 165, 0.3);
}

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

.article-card h3 {
  font-size: 18px;
  line-height: 1.5;
  color: var(--text);
}

.article-card h3 a {
  color: inherit;
}

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

.article-meta {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.article-meta span {
  position: relative;
}

.article-meta span + span::before {
  content: "·";
  margin-right: 14px;
  color: var(--line);
}

.article-card p {
  color: var(--muted);
  font-size: 14.5px;
}

.read-more {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-2);
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.25s var(--ease);
}

.read-more:hover {
  gap: 9px;
  color: var(--brand-2);
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.faq-item:hover {
  border-color: rgba(58, 110, 165, 0.35);
}

.faq-item.open {
  border-color: rgba(232, 98, 44, 0.4);
  box-shadow: 0 8px 24px rgba(232, 98, 44, 0.1);
}

.faq-q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  line-height: 1.6;
  transition: color 0.25s var(--ease);
}

.faq-q:hover {
  color: var(--brand-2);
}

.faq-q .plus {
  color: var(--brand-2);
  font-size: 22px;
  line-height: 1;
  transition: transform 0.35s var(--ease);
  flex-shrink: 0;
}

.faq-item.open .plus {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
  padding: 0 22px;
}

.faq-item.open .faq-a {
  max-height: 520px;
}

.faq-a p {
  padding: 0 0 20px;
  color: var(--muted);
  font-size: 15px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 1000px;
  margin: 0 auto;
}

.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px 24px;
  position: relative;
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

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

.step .num {
  position: absolute;
  top: -14px;
  left: 22px;
  background: var(--gradient-brand);
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 6px 16px rgba(31, 58, 95, 0.3);
}

.step h4 {
  margin: 14px 0 8px;
  font-size: 17px;
  color: var(--brand);
}

body.dark .step h4 {
  color: #8fb4e8;
}

.step p {
  color: var(--muted);
  font-size: 14.5px;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.case {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.case:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(232, 98, 44, 0.3);
}

.case .tag {
  display: inline-block;
  font-size: 12px;
  background: rgba(31, 58, 95, 0.1);
  color: var(--brand);
  padding: 3px 10px;
  border-radius: 12px;
  margin-bottom: 12px;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}

body.dark .case .tag {
  background: rgba(143, 180, 232, 0.15);
  color: #8fb4e8;
}

.case:hover .tag {
  background: rgba(232, 98, 44, 0.16);
  color: var(--brand-2);
}

.case h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.case p {
  font-size: 14.5px;
  color: var(--muted);
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.quote {
  background: var(--card);
  border-left: 4px solid var(--brand-2);
  border-radius: 12px;
  padding: 22px;
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.quote:hover {
  transform: translateY(-4px) rotate(-0.4deg);
  box-shadow: var(--shadow-hover);
}

.quote p {
  font-size: 14.5px;
  color: var(--text);
  margin-bottom: 14px;
}

.quote .who {
  font-size: 13px;
  color: var(--muted);
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 920px;
  margin: 0 auto;
}

.news-item {
  display: flex;
  gap: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 22px;
  align-items: flex-start;
  transition: transform 0.28s var(--ease), border-color 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.news-item:hover {
  transform: translateX(5px);
  border-color: rgba(232, 98, 44, 0.35);
  box-shadow: 0 8px 22px rgba(31, 58, 95, 0.1);
}

.news-date {
  flex-shrink: 0;
  font-size: 13px;
  color: var(--brand-2);
  font-weight: 700;
  min-width: 88px;
  font-variant-numeric: tabular-nums;
}

.news-item h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.news-item p {
  font-size: 14px;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.contact-info {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}

.contact-info h3 {
  font-size: 20px;
  margin-bottom: 18px;
  color: var(--brand);
}

body.dark .contact-info h3 {
  color: #8fb4e8;
}

.info-row {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 15px;
}

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

.info-row .label {
  color: var(--muted);
  min-width: 88px;
  flex-shrink: 0;
}

.contact-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}

.contact-form h3 {
  font-size: 20px;
  margin-bottom: 18px;
  color: var(--brand);
}

body.dark .contact-form h3 {
  color: #8fb4e8;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--muted);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-soft);
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--brand-3);
  background: var(--card);
  box-shadow: 0 0 0 3px rgba(58, 110, 165, 0.14);
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.form-submit {
  background: var(--gradient-brand);
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 24px;
  font-size: 15px;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}

.form-submit:hover {
  background: var(--gradient-accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px var(--brand-glow);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: start;
}

.about-text h3 {
  font-size: 20px;
  margin: 22px 0 10px;
  color: var(--brand);
}

body.dark .about-text h3 {
  color: #8fb4e8;
}

.about-text p {
  color: var(--muted);
  margin-bottom: 12px;
  font-size: 15px;
}

.timeline {
  position: relative;
  padding-left: 26px;
  margin-top: 10px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--line);
}

.timeline li {
  position: relative;
  padding-bottom: 18px;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 7px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand-2);
  border: 2px solid var(--card);
  transition: transform 0.3s var(--ease);
}

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

.timeline strong {
  display: block;
  font-size: 15px;
  color: var(--text);
}

.timeline span {
  font-size: 14px;
  color: var(--muted);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 10px;
}

.team-member {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

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

.team-member .avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 12px;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 22px;
  box-shadow: 0 8px 20px rgba(31, 58, 95, 0.28);
  transition: transform 0.4s var(--ease);
}

.team-member:hover .avatar {
  transform: scale(1.08) rotate(6deg);
  background: var(--gradient-accent);
}

.team-member h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.team-member span {
  font-size: 13px;
  color: var(--muted);
}

.sitemap-list {
  columns: 2;
  column-gap: 36px;
  max-width: 920px;
  margin: 0 auto;
}

.sitemap-list li {
  padding: 7px 0;
  break-inside: avoid;
  font-size: 15px;
  transition: transform 0.25s var(--ease);
}

.sitemap-list li:hover {
  transform: translateX(4px);
}

.sitemap-list a {
  color: var(--text);
}

.sitemap-list a:hover {
  color: var(--brand-2);
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 1000px;
  margin: 0 auto;
}

.links-grid a {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 14.5px;
  text-align: center;
  color: var(--text);
  transition: transform 0.28s var(--ease), border-color 0.28s var(--ease), color 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.links-grid a:hover {
  transform: translateY(-3px);
  border-color: var(--brand-2);
  color: var(--brand-2);
  box-shadow: 0 8px 20px rgba(232, 98, 44, 0.14);
}

footer.site-footer {
  background: linear-gradient(180deg, #101c2c 0%, #0b1420 100%);
  color: #b9c6d6;
  padding: 56px 0 0;
  margin-top: 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 36px;
}

footer .brand-col .logo {
  color: #fff;
  margin-bottom: 14px;
}

footer .brand-col p {
  font-size: 14px;
  color: #8fa1b6;
  line-height: 1.8;
}

footer h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 14px;
  position: relative;
  padding-bottom: 8px;
}

footer h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient-accent);
}

footer ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
}

footer ul a {
  color: #b9c6d6;
  transition: color 0.25s var(--ease), padding-left 0.25s var(--ease);
}

footer ul a:hover {
  color: #ffb27a;
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  font-size: 13px;
  color: #8fa1b6;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.back-top {
  position: fixed;
  right: 22px;
  bottom: 26px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 20px;
  box-shadow: 0 8px 22px rgba(31, 58, 95, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease), transform 0.35s var(--ease), background 0.3s var(--ease);
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-top:hover {
  background: var(--gradient-accent);
  transform: translateY(-4px) scale(1.06);
}

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

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.notice {
  background: rgba(232, 98, 44, 0.08);
  border: 1px solid rgba(232, 98, 44, 0.25);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 14px;
  color: var(--brand-2);
  margin: 16px 0;
}

.toc {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 0 auto 40px;
  max-width: 900px;
}

.toc strong {
  display: block;
  margin-bottom: 10px;
  color: var(--brand);
  font-size: 15px;
}

body.dark .toc strong {
  color: #8fb4e8;
}

.toc ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.toc a {
  font-size: 14px;
  color: var(--muted);
}

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

@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 52px 0;
  }

  .hero h1 {
    font-size: 32px;
  }

  .cards,
  .case-grid,
  .quote-grid,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .article-grid,
  .steps,
  .contact-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

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

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

  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .search-box input {
    width: 110px;
  }
}

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

  .hero h1 {
    font-size: 26px;
  }

  .hero p.lead {
    font-size: 15.5px;
  }

  .section-head h2 {
    font-size: 23px;
  }

  .section-head p {
    font-size: 15px;
  }

  .cards,
  .case-grid,
  .quote-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

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

  .sitemap-list {
    columns: 1;
  }

  .topbar .container {
    justify-content: center;
    text-align: center;
  }

  .topbar {
    font-size: 12px;
  }

  .nav-wrap {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .search-box {
    display: none;
  }

  .hero-stats {
    gap: 22px;
  }

  .hero-stats .stat strong {
    font-size: 25px;
  }

  main section {
    padding: 48px 0;
  }

  .news-item {
    flex-direction: column;
    gap: 6px;
  }

  .news-item:hover {
    transform: none;
  }

  .article-meta span + span::before {
    margin-right: 10px;
  }

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

@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 {
    opacity: 1;
    transform: none;
  }
}