:root {
  --bg: #ffffff;
  --fg: #1f2430;
  --muted: #5b6472;
  --brand: #1a1a2e;
  --brand-2: #2d3561;
  --accent: #e63946;
  --accent-2: #f4a261;
  --card: #f7f8fa;
  --card-glass: rgba(255, 255, 255, 0.72);
  --border: #e3e6eb;
  --link: #0b62d6;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(26, 26, 46, 0.1);
  --shadow-lg: 0 16px 48px rgba(26, 26, 46, 0.18);
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 64px;
}

body.dark {
  --bg: #12141a;
  --fg: #e8eaee;
  --muted: #a3abb8;
  --brand: #0d0f14;
  --brand-2: #1b1e26;
  --card: #1b1e26;
  --card-glass: rgba(27, 30, 38, 0.72);
  --border: #2a2f3a;
  --link: #6aa9ff;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.6);
}

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

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

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.8;
  font-size: 16px;
  overflow-x: hidden;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}

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

a:hover {
  text-decoration: underline;
}

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

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

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

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(26, 26, 46, 0.82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  color: #fff;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.dark header.site {
  background: rgba(13, 15, 20, 0.86);
}

header.site .bar {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 0;
  flex-wrap: wrap;
}

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

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

.logo svg {
  width: 36px;
  height: 36px;
  transition: transform 0.5s var(--ease);
}

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

nav.main {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-left: auto;
}

nav.main a {
  color: #e8eaee;
  font-size: 15px;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  position: relative;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

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

nav.main a:hover {
  color: var(--accent-2);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.06);
}

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

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

.tools button,
.tools input {
  font-size: 14px;
  font-family: inherit;
}

.search-form {
  display: flex;
  gap: 6px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-pill);
  padding: 4px 6px 4px 14px;
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.search-form:focus-within {
  box-shadow: 0 0 0 3px rgba(244, 162, 97, 0.45);
  transform: translateY(-1px);
}

.search-form input {
  border: 0;
  outline: 0;
  font-size: 14px;
  width: 130px;
  background: transparent;
  color: #1f2430;
}

.search-form input::placeholder {
  color: #8a93a2;
}

.search-form button {
  border: 0;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  transition: background 0.25s var(--ease), transform 0.2s var(--ease);
}

.search-form button:hover {
  background: #c92c39;
  transform: scale(1.04);
}

.search-form button:active {
  transform: scale(0.97);
}

.btn-toggle {
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  cursor: pointer;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.2s var(--ease);
}

.btn-toggle:hover {
  background: rgba(244, 162, 97, 0.22);
  border-color: var(--accent-2);
  transform: translateY(-1px);
}

.menu-btn {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: #fff;
  border-radius: 10px;
  padding: 6px 12px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.25s var(--ease);
}

.menu-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #1a1a2e 0%, #2d3561 55%, #e63946 100%);
  color: #fff;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  isolation: isolate;
}

.banner::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(244, 162, 97, 0.45), transparent 65%);
  filter: blur(20px);
  z-index: -1;
  animation: floatOrb 12s ease-in-out infinite;
}

.banner::after {
  content: "";
  position: absolute;
  inset: auto auto -50% -10%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(230, 57, 70, 0.4), transparent 65%);
  filter: blur(24px);
  z-index: -1;
  animation: floatOrb 16s ease-in-out infinite reverse;
}

@keyframes floatOrb {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-30px, 24px, 0) scale(1.08); }
}

.slides {
  position: relative;
  min-height: 340px;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
  display: flex;
  align-items: center;
  padding: 44px 0;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

.slide .wrap {
  display: flex;
  gap: 36px;
  align-items: center;
  flex-wrap: wrap;
}

.slide-text {
  flex: 1 1 320px;
  min-width: 260px;
  animation: fadeUp 0.8s var(--ease) both;
}

.slide.active .slide-art {
  animation: fadeUp 0.8s 0.12s var(--ease) both;
}

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

.slide-text h1,
.slide-text h2 {
  font-size: clamp(22px, 3.4vw, 32px);
  line-height: 1.4;
  margin-bottom: 14px;
  letter-spacing: 0.3px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
}

.slide-text p {
  color: rgba(232, 234, 238, 0.92);
  margin-bottom: 20px;
  max-width: 620px;
}

.slide-text .cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-2), #f6c08a);
  color: #1a1a2e;
  font-weight: 700;
  padding: 11px 26px;
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 22px rgba(244, 162, 97, 0.4);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.slide-text .cta:hover {
  text-decoration: none;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 30px rgba(244, 162, 97, 0.55);
}

.slide-art {
  flex: 0 0 260px;
  filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.35));
  transition: transform 0.6s var(--ease);
}

.slide-art:hover {
  transform: translateY(-6px) rotate(-1deg);
}

.dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  padding: 0 0 20px;
}

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

.dots button:hover {
  background: rgba(255, 255, 255, 0.85);
  transform: scale(1.2);
}

.dots button.active {
  background: var(--accent-2);
  width: 26px;
  border-radius: var(--radius-pill);
}

section {
  padding: 56px 0;
  position: relative;
}

section.alt {
  background: var(--card);
  transition: background 0.4s var(--ease);
}

h2.sec-title {
  font-size: clamp(21px, 2.6vw, 26px);
  margin-bottom: 10px;
  color: var(--fg);
  position: relative;
  padding-left: 16px;
  line-height: 1.5;
}

h2.sec-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  bottom: 0.28em;
  width: 5px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
}

.sec-sub {
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 860px;
}

h3 {
  font-size: 20px;
  margin: 26px 0 10px;
  line-height: 1.5;
}

h4 {
  font-size: 17px;
  margin: 16px 0 8px;
  color: var(--fg);
  line-height: 1.5;
}

p {
  margin-bottom: 14px;
  color: var(--fg);
}

.muted {
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 20px;
}

.grid.g3 {
  grid-template-columns: repeat(3, 1fr);
}

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

.grid.g4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease), background 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

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

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

.card h3 {
  margin-top: 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stats > div {
  padding: 22px 12px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.stats > div:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-md);
}

.stat-num {
  font-size: clamp(26px, 3.4vw, 34px);
  font-weight: 800;
  color: var(--accent);
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.5px;
}

.stat-label {
  color: var(--muted);
  font-size: 14px;
  margin-top: 4px;
}

.article-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.article-card .meta {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.2px;
}

.article-card h4 {
  margin: 0;
  font-size: 16px;
  transition: color 0.25s var(--ease);
}

.article-card:hover h4 {
  color: var(--accent);
}

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

.read-more {
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  color: var(--accent);
}

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

.read-more:hover {
  text-decoration: none;
}

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

.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--bg);
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.faq-item:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--accent-2);
}

.faq-item.open {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

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

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

.faq-q .ind {
  color: var(--accent);
  font-weight: 700;
  font-size: 20px;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  line-height: 26px;
  text-align: center;
  border-radius: 50%;
  background: rgba(230, 57, 70, 0.08);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}

.faq-item.open .faq-q .ind {
  transform: rotate(180deg);
  background: var(--accent);
  color: #fff;
}

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

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

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

.howto-steps {
  counter-reset: step;
  list-style: none;
  margin: 18px 0;
}

.howto-steps li {
  position: relative;
  padding: 0 0 22px 46px;
  border-left: 2px solid var(--border);
  margin-left: 14px;
  transition: border-color 0.3s var(--ease);
}

.howto-steps li:hover {
  border-left-color: var(--accent-2);
}

.howto-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: -16px;
  top: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
  transition: transform 0.3s var(--ease);
}

.howto-steps li:hover::before {
  transform: scale(1.12);
}

.howto-steps li:last-child {
  border-left: 2px solid transparent;
  padding-bottom: 0;
}

.breadcrumb {
  font-size: 14px;
  color: var(--muted);
  padding: 14px 0;
}

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

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

.breadcrumb span {
  color: var(--fg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 26px;
}

.contact-info p {
  margin-bottom: 8px;
  font-size: 15px;
}

.contact-info strong {
  color: var(--fg);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
}

.tags a {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
  font-size: 13px;
  color: var(--muted);
  transition: all 0.25s var(--ease);
}

.tags a:hover {
  text-decoration: none;
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}

#contact ul {
  list-style: none;
}

#contact ul li {
  margin-bottom: 8px;
  font-size: 15px;
  padding-left: 18px;
  position: relative;
}

#contact ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-2);
}

footer.site {
  background: linear-gradient(160deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #c9ced8;
  padding: 48px 0 22px;
  margin-top: 20px;
  position: relative;
  overflow: hidden;
}

footer.site::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 57, 70, 0.22), transparent 70%);
  pointer-events: none;
}

footer.site a {
  color: #c9ced8;
  transition: color 0.25s var(--ease), padding-left 0.25s var(--ease);
}

footer.site a:hover {
  color: var(--accent-2);
  text-decoration: none;
  padding-left: 3px;
}

footer .cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  position: relative;
}

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: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent-2);
}

footer ul {
  list-style: none;
}

footer ul li {
  margin-bottom: 9px;
  font-size: 14px;
}

footer p {
  color: #c9ced8;
  font-size: 14px;
}

.copy {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 30px;
  padding-top: 18px;
  font-size: 13px;
  color: #9aa3b2;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.back-top {
  position: fixed;
  right: 20px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: none;
  z-index: 60;
  box-shadow: 0 6px 18px rgba(230, 57, 70, 0.4);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.back-top.show {
  display: block;
  animation: popIn 0.3s var(--ease);
}

.back-top:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 10px 26px rgba(230, 57, 70, 0.55);
}

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

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}

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

.notice {
  background: var(--card);
  border-left: 4px solid var(--accent-2);
  padding: 16px 20px;
  border-radius: 10px;
  margin: 18px 0;
  color: var(--muted);
  font-size: 15px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.team-member {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.team-member svg {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  border-radius: 50%;
  transition: transform 0.4s var(--ease);
}

.team-member:hover svg {
  transform: scale(1.08) rotate(-4deg);
}

.team-member h4 {
  margin-top: 0;
}

.team-member p {
  font-size: 14px;
  margin: 0;
}

.timeline {
  list-style: none;
  border-left: 2px solid var(--border);
  margin: 18px 0 18px 8px;
  padding-left: 22px;
}

.timeline li {
  position: relative;
  margin-bottom: 18px;
  color: var(--fg);
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -29px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.15);
  transition: transform 0.3s var(--ease);
}

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

.testimonial {
  font-style: normal;
}

.testimonial blockquote {
  font-size: 15px;
  color: var(--fg);
  margin-bottom: 10px;
  position: relative;
  padding-left: 22px;
}

.testimonial blockquote::before {
  content: "“";
  position: absolute;
  left: 0;
  top: -6px;
  font-size: 32px;
  line-height: 1;
  color: var(--accent-2);
  font-family: Georgia, serif;
}

.testimonial cite {
  font-size: 13px;
  color: var(--muted);
  font-style: normal;
  display: block;
  text-align: right;
}

table.cmp {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 14px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

table.cmp th,
table.cmp td {
  border: 1px solid var(--border);
  padding: 12px 14px;
  text-align: left;
}

table.cmp th {
  background: var(--card);
  font-weight: 700;
}

table.cmp tbody tr {
  transition: background 0.25s var(--ease);
}

table.cmp tbody tr:hover {
  background: var(--card);
}

#howto ul {
  padding-left: 22px;
}

#howto ul li {
  margin-bottom: 8px;
  color: var(--fg);
}

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

@media (max-width: 980px) {
  nav.main {
    gap: 2px;
  }
  nav.main a {
    font-size: 14px;
    padding: 5px 8px;
  }
  .search-form input {
    width: 110px;
  }
}

@media (max-width: 820px) {
  header.site .bar {
    gap: 10px;
  }
  nav.main {
    display: none;
    width: 100%;
    flex-direction: column;
    margin: 8px 0 0;
    gap: 4px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
  nav.main.open {
    display: flex;
    animation: fadeUp 0.3s var(--ease);
  }
  nav.main a {
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 15px;
  }
  nav.main a::after {
    display: none;
  }
  .menu-btn {
    display: inline-block;
    margin-left: auto;
  }
  .tools {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }
  .search-form {
    flex: 1;
  }
  .search-form input {
    width: 100%;
  }
  .slide .wrap {
    gap: 24px;
  }
  .slide-art {
    flex: 0 0 200px;
    margin: 0 auto;
  }
  .grid.g3,
  .grid.g4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  footer .cols {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  section {
    padding: 42px 0;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .slides {
    min-height: 380px;
  }
  .slide {
    padding: 32px 0;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 15px;
  }
  .wrap {
    padding: 0 16px;
  }
  .grid.g3,
  .grid.g4,
  .grid.g2 {
    grid-template-columns: 1fr;
  }
  .slide-text h1,
  .slide-text h2 {
    font-size: 21px;
  }
  .slide-art {
    flex: 0 0 160px;
  }
  .card {
    padding: 18px;
  }
  .faq-q {
    font-size: 15px;
    padding: 14px;
  }
  .faq-a {
    padding: 0 14px;
  }
  .back-top {
    right: 14px;
    bottom: 18px;
    width: 42px;
    height: 42px;
  }
  table.cmp {
    font-size: 13px;
  }
  table.cmp th,
  table.cmp td {
    padding: 9px 10px;
  }
}

@media (max-width: 500px) {
  footer .cols {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .stats > div {
    padding: 16px 8px;
  }
  .copy {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

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

@media print {
  header.site,
  footer.site,
  .back-top,
  .dots,
  .tools,
  .menu-btn {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
  .card {
    box-shadow: none;
    border-color: #ccc;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}