:root {
  --brand: #e11d48;
  --brand-dark: #9f1239;
  --brand-light: #fb7185;
  --brand-soft: #ffe4e6;
  --bg: #ffffff;
  --bg-soft: #fff1f2;
  --bg-elevated: #ffffff;
  --glass: rgba(255, 255, 255, 0.65);
  --glass-strong: rgba(255, 255, 255, 0.82);
  --glass-border: rgba(225, 29, 72, 0.14);
  --text: #1f2937;
  --text-soft: #4b5563;
  --text-mute: #6b7280;
  --line: #fecdd3;
  --line-strong: #fda4af;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --shadow-sm: 0 2px 8px rgba(225, 29, 72, 0.06);
  --shadow: 0 10px 30px rgba(225, 29, 72, 0.10);
  --shadow-lg: 0 20px 50px rgba(225, 29, 72, 0.16);
  --grad-brand: linear-gradient(135deg, #fb7185 0%, #e11d48 50%, #9f1239 100%);
  --grad-hero: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 45%, #fecdd3 100%);
  --grad-card: linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(255, 241, 242, 0.7));
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --max: 1180px;
  --header-h: 66px;
}

html[data-theme="dark"] {
  --bg: #12141a;
  --bg-soft: #1a1d26;
  --bg-elevated: #1e222c;
  --glass: rgba(30, 34, 44, 0.62);
  --glass-strong: rgba(30, 34, 44, 0.85);
  --glass-border: rgba(251, 113, 133, 0.18);
  --text: #e8eaef;
  --text-soft: #a8b0bd;
  --text-mute: #7c8494;
  --line: #3a2630;
  --line-strong: #5c3742;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.6);
  --grad-hero: linear-gradient(135deg, #1a1d26 0%, #26161f 55%, #3a2530 100%);
  --grad-card: linear-gradient(160deg, rgba(30, 34, 44, 0.9), rgba(38, 22, 31, 0.7));
}

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

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

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  font-size: 16px;
  min-height: 100vh;
  overflow-x: hidden;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

a:hover {
  color: var(--brand-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

html[data-theme="dark"] a:hover {
  color: var(--brand-light);
}

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

img {
  height: auto;
}

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

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

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-soft);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--brand-light), var(--brand));
  border-radius: 10px;
  border: 2px solid var(--bg-soft);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--brand-dark);
}

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

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand);
  color: #fff;
  padding: 10px 18px;
  z-index: 999;
  border-radius: 0 0 10px 0;
  font-weight: 600;
  transition: left 0.2s var(--ease);
}

.skip:focus {
  left: 0;
  top: 0;
  text-decoration: none;
}

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

header.site::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
  opacity: 0.6;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  height: var(--header-h);
  position: relative;
}

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

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

.logo svg {
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease), box-shadow 0.3s var(--ease);
}

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

.logo span b {
  color: var(--brand);
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav ul {
  display: flex;
  gap: 4px;
  list-style: none;
  margin-left: auto;
  flex-wrap: wrap;
  align-items: center;
}

.nav ul a {
  color: var(--text-soft);
  font-size: 15px;
  padding: 8px 13px;
  border-radius: 10px;
  display: block;
  position: relative;
  transition: color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}

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

.nav ul a:hover,
.nav ul a[aria-current="page"] {
  color: var(--brand);
  background: var(--bg-soft);
  text-decoration: none;
}

.nav ul a:hover::after,
.nav ul a[aria-current="page"]::after {
  width: 55%;
}

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

.search-box {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--glass);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}

.search-box:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.15);
  background: var(--bg-elevated);
}

.search-box input {
  border: 0;
  outline: 0;
  padding: 8px 12px;
  width: 156px;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  transition: width 0.3s var(--ease);
}

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

.search-box input:focus {
  width: 180px;
}

.search-box button {
  border: 0;
  background: var(--grad-brand);
  color: #fff;
  padding: 8px 14px;
  cursor: pointer;
  font-size: 14px;
  font-family: inherit;
  font-weight: 600;
  transition: filter 0.25s var(--ease), opacity 0.25s var(--ease);
}

.search-box button:hover {
  filter: brightness(1.08);
}

.search-box button:active {
  filter: brightness(0.95);
}

.icon-btn {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--glass);
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 16px;
  font-family: inherit;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.icon-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--bg-soft);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.icon-btn:active {
  transform: translateY(0) scale(0.96);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  background: var(--grad-hero);
  padding: 56px 0 64px;
  overflow: hidden;
  isolation: isolate;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  z-index: -1;
  pointer-events: none;
}

.hero::before {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(251, 113, 133, 0.55), transparent 70%);
  top: -140px;
  right: -80px;
  animation: floaty 14s ease-in-out infinite;
}

.hero::after {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(159, 18, 57, 0.35), transparent 70%);
  bottom: -160px;
  left: -100px;
  animation: floaty 18s ease-in-out infinite reverse;
}

@keyframes floaty {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-24px, 28px) scale(1.08); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(26px, 3.4vw, 36px);
  line-height: 1.35;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
  font-weight: 800;
  animation: riseIn 0.8s var(--ease) both;
}

.hero h1 em {
  color: var(--brand);
  font-style: normal;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

.hero p.lead {
  font-size: 16.5px;
  color: var(--text-soft);
  margin-bottom: 24px;
  max-width: 560px;
  animation: riseIn 0.8s 0.08s var(--ease) both;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 26px;
  animation: riseIn 0.8s 0.16s var(--ease) both;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 13px;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.6s var(--ease);
  pointer-events: none;
}

.btn:hover::after {
  transform: translateX(120%);
}

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

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
  color: #fff;
}

.btn-primary:active {
  transform: translateY(-1px) scale(0.99);
}

.btn-ghost {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--glass);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: var(--bg-soft);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

.hero-stats {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  animation: riseIn 0.8s 0.24s var(--ease) both;
}

.hero-stats div {
  font-size: 13px;
  color: var(--text-soft);
  position: relative;
  padding-left: 0;
}

.hero-stats div + div::before {
  content: "";
  position: absolute;
  left: -15px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: var(--line-strong);
  opacity: 0.6;
}

.hero-stats b {
  display: block;
  font-size: 27px;
  color: var(--brand);
  font-weight: 800;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.anchor-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 22px 0 0;
  animation: riseIn 0.8s 0.3s var(--ease) both;
}

.anchor-nav a {
  font-size: 13.5px;
  padding: 6px 15px;
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  color: var(--text-soft);
  background: var(--glass);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}

.anchor-nav a:hover {
  color: var(--brand);
  border-color: var(--brand);
  background: var(--bg-soft);
  transform: translateY(-2px);
  text-decoration: none;
}

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

.carousel {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--glass-border);
  animation: riseIn 0.9s 0.12s var(--ease) both;
}

.slides {
  display: flex;
  transition: transform 0.6s var(--ease);
  will-change: transform;
}

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

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

.slide-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 22px 18px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.62));
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.dots {
  position: absolute;
  right: 16px;
  bottom: 14px;
  display: flex;
  gap: 8px;
  z-index: 2;
}

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

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

.dots button.active {
  background: #fff;
  width: 24px;
  border-radius: 5px;
}

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

.alt {
  background: var(--bg-soft);
  position: relative;
}

.alt::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
  opacity: 0.5;
}

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

.sec-head h2 {
  font-size: clamp(22px, 2.6vw, 28px);
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.sec-head h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  border-radius: 3px;
  background: var(--grad-brand);
  margin: 12px auto 0;
  transition: width 0.4s var(--ease);
}

.sec-head:hover h2::after {
  width: 90px;
}

.sec-head p {
  color: var(--text-soft);
  font-size: 15.5px;
}

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

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

.card {
  background: var(--grad-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 26px;
  position: relative;
  overflow: hidden;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: transform 0.3s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s var(--ease);
}

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

.card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 113, 133, 0.22), transparent 70%);
  top: -90px;
  right: -90px;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}

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

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

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

.card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--text);
  font-weight: 700;
  transition: color 0.25s var(--ease);
}

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

.card p {
  font-size: 14.5px;
  color: var(--text-soft);
  position: relative;
  z-index: 1;
}

.card .ico {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--bg-soft);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}

.card .ico svg {
  width: 26px;
  height: 26px;
}

.card:hover .ico {
  transform: translateY(-3px) rotate(-6deg);
  background: var(--brand-soft);
}

html[data-theme="dark"] .card:hover .ico {
  background: rgba(225, 29, 72, 0.18);
}

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

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

.reveal:nth-child(2) { transition-delay: 0.06s; }
.reveal:nth-child(3) { transition-delay: 0.12s; }
.reveal:nth-child(4) { transition-delay: 0.18s; }
.reveal:nth-child(5) { transition-delay: 0.24s; }
.reveal:nth-child(6) { transition-delay: 0.3s; }

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

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

.article-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--line-strong);
}

.article-item h3 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.55;
  transition: color 0.25s var(--ease);
}

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

.article-item time {
  font-size: 12.5px;
  color: var(--brand);
  font-weight: 700;
  letter-spacing: 0.4px;
  font-variant-numeric: tabular-nums;
}

.article-item p {
  font-size: 14.5px;
  color: var(--text-soft);
  flex: 1;
}

.article-item a.more {
  font-size: 14px;
  font-weight: 700;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.25s var(--ease), color 0.25s var(--ease);
}

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

.article-item a.more:hover {
  gap: 8px;
  text-decoration: none;
}

.article-item a.more:hover::after {
  transform: translateX(3px);
}

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

.faq-item {
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}

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

.faq-item.open {
  border-color: var(--brand);
  box-shadow: var(--shadow);
  background: var(--bg-elevated);
}

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

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

.faq-q .plus {
  color: var(--brand);
  font-size: 22px;
  font-weight: 400;
  transition: transform 0.35s var(--ease);
  flex: none;
  line-height: 1;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bg-soft);
}

.faq-item.open .plus {
  transform: rotate(135deg);
  background: var(--brand);
  color: #fff;
}

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

.faq-a p {
  padding-bottom: 20px;
  font-size: 14.5px;
  color: var(--text-soft);
  line-height: 1.85;
}

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

.steps {
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 900px;
  margin: 0 auto;
}

.step {
  position: relative;
  padding: 22px 26px 22px 78px;
  background: var(--grad-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.step:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow);
  border-color: var(--line-strong);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 22px;
  top: 22px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 15px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease);
}

.step:hover::before {
  transform: scale(1.1) rotate(-8deg);
}

.step h3 {
  font-size: 17px;
  margin-bottom: 6px;
  font-weight: 700;
}

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

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

.info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.info-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 15px;
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.info-list li:hover {
  transform: translateX(4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.info-list .k {
  font-weight: 700;
  color: var(--brand);
  min-width: 76px;
  flex: none;
}

.map-box {
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-elevated);
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

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

.map-box svg {
  width: 100%;
  height: auto;
}

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

.team-card {
  text-align: center;
  background: var(--grad-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 26px 16px;
  transition: transform 0.3s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s var(--ease);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-strong);
}

.team-card svg {
  width: 76px;
  height: 76px;
  margin: 0 auto 14px;
  border-radius: 50%;
  transition: transform 0.4s var(--ease);
}

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

.team-card h3 {
  font-size: 16px;
  margin-bottom: 4px;
  font-weight: 700;
}

.team-card span {
  font-size: 13px;
  color: var(--brand);
  font-weight: 600;
}

.team-card p {
  font-size: 13px;
  color: var(--text-soft);
  margin-top: 8px;
}

.quote {
  background: var(--glass);
  border-left: 4px solid var(--brand);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 24px 26px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.quote:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-left-color: var(--brand-dark);
}

.quote p {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 10px;
  font-style: italic;
}

.quote cite {
  font-size: 13.5px;
  color: var(--text-soft);
  font-style: normal;
  font-weight: 600;
}

.tag {
  display: inline-block;
  font-size: 12px;
  padding: 2px 11px;
  border-radius: 20px;
  background: var(--bg-soft);
  color: var(--brand);
  margin-right: 6px;
  margin-bottom: 6px;
  font-weight: 600;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.tag:hover {
  background: var(--brand);
  color: #fff;
}

.breadcrumb {
  font-size: 13.5px;
  color: var(--text-soft);
  padding: 18px 0 0;
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 6px;
  color: var(--line-strong);
}

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

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

footer.site {
  background: linear-gradient(180deg, #1f2937 0%, #111827 100%);
  color: #d1d5db;
  padding: 52px 0 0;
  font-size: 14px;
  position: relative;
  overflow: hidden;
}

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

html[data-theme="dark"] footer.site {
  background: linear-gradient(180deg, #0e1015 0%, #08090c 100%);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 38px;
}

.foot-grid h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 16px;
  font-weight: 700;
  position: relative;
  padding-bottom: 8px;
}

.foot-grid h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
}

.foot-grid ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.foot-grid a {
  color: #d1d5db;
  font-size: 13.5px;
  display: inline-block;
  transition: color 0.25s var(--ease), transform 0.25s var(--ease);
}

.foot-grid a:hover {
  color: #fff;
  transform: translateX(3px);
  text-decoration: none;
}

.foot-brand p {
  font-size: 13.5px;
  line-height: 1.9;
  color: #9ca3af;
}

.foot-bottom {
  border-top: 1px solid #374151;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #9ca3af;
}

.back-top {
  position: fixed;
  right: 24px;
  bottom: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  border: 0;
  cursor: pointer;
  display: none;
  place-items: center;
  box-shadow: var(--shadow-lg);
  z-index: 90;
  font-size: 20px;
  font-family: inherit;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), opacity 0.3s var(--ease);
}

.back-top.show {
  display: grid;
  animation: popIn 0.35s var(--ease) both;
}

.back-top:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 24px 56px rgba(225, 29, 72, 0.35);
}

.back-top:active {
  transform: translateY(-1px) scale(0.98);
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1024px) {
  .hero-grid {
    gap: 32px;
  }
  .search-box input {
    width: 130px;
  }
  .search-box input:focus {
    width: 150px;
  }
  .g4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 44px 0 52px;
  }
  .g3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 26px;
  }
}

@media (max-width: 860px) {
  .nav ul {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--glass-strong);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    backdrop-filter: saturate(180%) blur(18px);
    border-bottom: 1px solid var(--glass-border);
    flex-direction: column;
    padding: 12px 20px 16px;
    gap: 4px;
    margin-left: 0;
    box-shadow: var(--shadow);
    animation: dropIn 0.3s var(--ease) both;
  }
  .nav ul.open {
    display: flex;
  }
  .nav ul a {
    padding: 11px 14px;
    border-radius: 10px;
    font-size: 15px;
  }
  .nav ul a::after {
    display: none;
  }
  .menu-toggle {
    display: grid;
  }
  .tools {
    margin-left: auto;
  }
  @keyframes dropIn {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (max-width: 720px) {
  :root {
    --header-h: 60px;
  }
  body {
    font-size: 15px;
    line-height: 1.75;
  }
  .wrap {
    padding: 0 16px;
  }
  .nav {
    gap: 10px;
  }
  .logo {
    font-size: 17px;
    gap: 8px;
  }
  .logo svg {
    width: 32px;
    height: 32px;
  }
  .search-box {
    display: none;
  }
  .icon-btn {
    width: 36px;
    height: 36px;
  }
  .hero {
    padding: 34px 0 42px;
  }
  .hero h1 {
    font-size: 24px;
    line-height: 1.4;
  }
  .hero p.lead {
    font-size: 15px;
    margin-bottom: 20px;
  }
  .hero-cta {
    gap: 10px;
    margin-bottom: 22px;
  }
  .btn {
    padding: 11px 22px;
    font-size: 14.5px;
    flex: 1 1 auto;
    text-align: center;
  }
  .hero-stats {
    gap: 16px;
  }
  .hero-stats div {
    flex: 1 1 40%;
    font-size: 12.5px;
  }
  .hero-stats div + div::before {
    display: none;
  }
  .hero-stats b {
    font-size: 22px;
  }
  .anchor-nav {
    gap: 8px;
    margin-top: 18px;
  }
  .anchor-nav a {
    font-size: 12.5px;
    padding: 5px 12px;
  }
  .slide-cap {
    font-size: 13.5px;
    padding: 20px 16px 14px;
  }
  section {
    padding: 42px 0;
  }
  .sec-head {
    margin-bottom: 30px;
  }
  .sec-head h2 {
    font-size: 21px;
  }
  .sec-head p {
    font-size: 14.5px;
  }
  .g2,
  .g3,
  .g4,
  .article-list,
  .team-grid {
    grid-template-columns: 1fr;
  }
  .grid {
    gap: 16px;
  }
  .card {
    padding: 22px 20px;
  }
  .card:hover {
    transform: translateY(-3px);
  }
  .article-item {
    padding: 20px;
  }
  .faq-q {
    font-size: 15px;
    padding: 16px 18px;
  }
  .faq-a {
    padding: 0 18px;
  }
  .step {
    padding: 20px 20px 20px 70px;
  }
  .step::before {
    left: 18px;
    top: 20px;
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
  .step:hover {
    transform: translateY(-3px);
  }
  .info-list li {
    flex-direction: column;
    gap: 4px;
    padding: 12px 16px;
  }
  .info-list .k {
    min-width: 0;
  }
  .foot-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 28px;
  }
  .foot-bottom {
    flex-direction: column;
    gap: 8px;
    font-size: 12.5px;
  }
  .back-top {
    right: 16px;
    bottom: 18px;
    width: 44px;
    height: 44px;
    font-size: 18px;
  }
  .reveal:nth-child(n) {
    transition-delay: 0s;
  }
}

@media (max-width: 400px) {
  .hero h1 {
    font-size: 22px;
  }
  .hero-stats div {
    flex: 1 1 100%;
  }
  .btn {
    flex: 1 1 100%;
  }
}

@media print {
  header.site,
  .back-top,
  .carousel,
  .hero-cta,
  .anchor-nav,
  .search-box,
  .icon-btn,
  .dots {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
  .card,
  .article-item,
  .faq-item,
  .step {
    box-shadow: none;
    border: 1px solid #ccc;
    break-inside: avoid;
  }
  a {
    color: #000;
    text-decoration: underline;
  }
}