:root {
  --bg: #f6f7fb;
  --bg-alt: #ffffff;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-solid: #ffffff;
  --border: rgba(26, 26, 46, 0.1);
  --text: #1a1a2e;
  --text-soft: #555b6e;
  --text-mute: #8a90a2;
  --primary: #e94560;
  --primary-2: #ff7a59;
  --accent: #533483;
  --accent-2: #0f3460;
  --gradient: linear-gradient(135deg, #1a1a2e 0%, #533483 45%, #e94560 100%);
  --gradient-soft: linear-gradient(135deg, rgba(233, 69, 96, 0.12), rgba(83, 52, 131, 0.12));
  --shadow-sm: 0 2px 8px rgba(26, 26, 46, 0.06);
  --shadow-md: 0 10px 30px rgba(26, 26, 46, 0.1);
  --shadow-lg: 0 24px 60px rgba(26, 26, 46, 0.16);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 26px;
  --header-h: 68px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --maxw: 1180px;
}

html[data-theme="dark"] {
  --bg: #0d0d17;
  --bg-alt: #12121f;
  --surface: rgba(28, 28, 46, 0.66);
  --surface-solid: #1a1a2e;
  --border: rgba(255, 255, 255, 0.1);
  --text: #eef0f7;
  --text-soft: #b7bccd;
  --text-mute: #7f8699;
  --primary: #ff6b81;
  --primary-2: #ff9d6b;
  --accent: #8f6fc4;
  --accent-2: #2a6fb0;
  --gradient: linear-gradient(135deg, #0d0d17 0%, #2a1f4d 45%, #b3243f 100%);
  --gradient-soft: linear-gradient(135deg, rgba(255, 107, 129, 0.14), rgba(143, 111, 196, 0.14));
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.6);
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease);
}

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

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

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

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

p {
  margin: 0 0 1em;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input {
  font-family: inherit;
}

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

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

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

.top-bar {
  background: var(--gradient);
  color: #fff;
  font-size: 12.5px;
  letter-spacing: 0.02em;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 6px;
  padding-bottom: 6px;
}

.top-bar-tip {
  font-weight: 600;
  opacity: 0.95;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-bar-date {
  opacity: 0.85;
  white-space: nowrap;
}

.nav-wrap {
  background: transparent;
}

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

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

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

.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: var(--gradient);
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  box-shadow: 0 6px 18px rgba(233, 69, 96, 0.35);
  transition: transform 0.35s var(--ease);
}

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

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

.brand-text strong {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.brand-text small {
  font-size: 11.5px;
  color: var(--text-mute);
  font-weight: 500;
}

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

.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.main-nav a {
  display: block;
  padding: 8px 11px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-soft);
  white-space: nowrap;
  position: relative;
  transition: color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--primary);
  background: var(--gradient-soft);
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.nav-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

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

.search-form:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(233, 69, 96, 0.14);
}

.search-form input {
  width: 150px;
  border: none;
  outline: none;
  background: transparent;
  color: var(--text);
  font-size: 13.5px;
  padding: 6px 0;
}

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

.search-form button {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--gradient);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.search-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(233, 69, 96, 0.35);
}

.theme-toggle,
.menu-toggle {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  background: var(--surface-solid);
  border: 1px solid var(--border);
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease);
}

.theme-toggle:hover,
.menu-toggle:hover {
  transform: translateY(-2px) rotate(6deg);
  background: var(--gradient-soft);
}

.menu-toggle {
  display: none;
  font-size: 19px;
}

/* ============ Hero ============ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 60px;
  background: var(--gradient);
  color: #fff;
}

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

.hero::before {
  width: 460px;
  height: 460px;
  background: rgba(233, 69, 96, 0.55);
  top: -180px;
  right: -120px;
  animation: floaty 12s ease-in-out infinite;
}

.hero::after {
  width: 380px;
  height: 380px;
  background: rgba(83, 52, 131, 0.6);
  bottom: -160px;
  left: -120px;
  animation: floaty 15s ease-in-out infinite reverse;
}

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

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 44px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero h1 {
  color: #fff;
  font-size: clamp(1.6rem, 3.4vw, 2.55rem);
  line-height: 1.3;
  margin-bottom: 18px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.hero-lead {
  color: rgba(255, 255, 255, 0.88);
  font-size: 15.5px;
  line-height: 1.85;
  margin-bottom: 26px;
  max-width: 60ch;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    background-color 0.3s var(--ease), color 0.3s var(--ease);
}

.btn-primary {
  background: #fff;
  color: #1a1a2e;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.btn-primary:hover {
  color: #1a1a2e;
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}

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

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.hero-stats li {
  padding: 14px 12px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-align: center;
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease);
}

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

.hero-stats strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
}

.hero-stats span {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 4px;
}

.hero-carousel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  aspect-ratio: 640 / 400;
}

.hero-carousel .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.04);
  transition: opacity 0.7s var(--ease), transform 0.9s var(--ease),
    visibility 0.7s;
}

.hero-carousel .slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.hero-carousel .slide svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  display: flex;
  justify-content: center;
  gap: 9px;
  z-index: 2;
}

.carousel-dots .dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  transition: width 0.35s var(--ease), background-color 0.35s var(--ease);
}

.carousel-dots .dot.active {
  width: 26px;
  background: #fff;
}

/* ============ Breadcrumb ============ */
.breadcrumb {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
  color: var(--text-mute);
}

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

.breadcrumb li + li::before {
  content: "/";
  color: var(--text-mute);
  opacity: 0.6;
}

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

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

.breadcrumb [aria-current="page"] {
  color: var(--primary);
  font-weight: 700;
}

/* ============ Sections ============ */
.section {
  padding: 72px 0;
  position: relative;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.section-head h2 {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
}

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

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

/* ============ Prose ============ */
.prose {
  max-width: 900px;
  margin: 0 auto;
  color: var(--text-soft);
  font-size: 15.5px;
  line-height: 1.9;
}

.prose h3 {
  color: var(--text);
  font-size: 1.2rem;
  margin-top: 1.8em;
  margin-bottom: 0.7em;
  padding-left: 14px;
  border-left: 4px solid var(--primary);
  line-height: 1.5;
}

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

.prose h4 {
  color: var(--text);
  font-size: 1.02rem;
  margin-top: 1.4em;
  margin-bottom: 0.5em;
}

.prose p {
  margin-bottom: 1.1em;
}

/* ============ Cards ============ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 46px;
}

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

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

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(233, 69, 96, 0.35);
}

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

.card h3 {
  font-size: 1.08rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card h3::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient);
  flex-shrink: 0;
}

.card p {
  color: var(--text-soft);
  font-size: 14.5px;
  line-height: 1.85;
  margin: 0;
}

/* ============ Cases ============ */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 44px;
}

.case-card {
  padding: 26px 24px;
  border-radius: var(--radius);
  background: var(--gradient-soft);
  border: 1px solid var(--border);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

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

.case-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.case-card p {
  color: var(--text-soft);
  font-size: 14.5px;
  line-height: 1.85;
  margin: 0;
}

.testimonials {
  max-width: 900px;
  margin: 0 auto;
}

.testimonials h3 {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 24px;
}

.testimonials blockquote {
  position: relative;
  margin: 0 0 18px;
  padding: 22px 26px 22px 54px;
  border-radius: var(--radius);
  background: var(--surface-solid);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.testimonials blockquote::before {
  content: "\201C";
  position: absolute;
  left: 18px;
  top: 6px;
  font-size: 54px;
  line-height: 1;
  color: var(--primary);
  opacity: 0.35;
  font-family: Georgia, serif;
}

.testimonials blockquote:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
}

.testimonials blockquote p {
  color: var(--text-soft);
  font-size: 15px;
  margin-bottom: 10px;
}

.testimonials blockquote footer {
  font-size: 13px;
  color: var(--text-mute);
  font-weight: 600;
}

/* ============ News ============ */
.news-list {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.news-list li {
  position: relative;
  padding: 20px 24px 20px 26px;
  border-radius: var(--radius);
  background: var(--surface-solid);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.news-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 4px;
  border-radius: 4px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.news-list li:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
}

.news-list li:hover::before {
  opacity: 1;
}

.news-list time {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary);
  background: var(--gradient-soft);
  padding: 2px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.news-list a {
  display: block;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

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

.news-list p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
}

/* ============ Articles ============ */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.article-card {
  display: flex;
  flex-direction: column;
  padding: 24px 22px;
  border-radius: var(--radius);
  background: var(--surface-solid);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease);
}

.article-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(233, 69, 96, 0.35);
}

.article-card h3 {
  font-size: 1.02rem;
  line-height: 1.5;
  margin-bottom: 10px;
}

.article-card .meta {
  font-size: 12.5px;
  color: var(--text-mute);
  margin-bottom: 10px;
  font-weight: 600;
}

.article-card .summary {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.8;
  flex: 1;
  margin-bottom: 14px;
}

.read-more {
  align-self: flex-start;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

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

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

/* ============ FAQ ============ */
.faq-list {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

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

.faq-item[open] {
  border-color: rgba(233, 69, 96, 0.35);
  box-shadow: var(--shadow-md);
}

.faq-item summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 18px 54px 18px 22px;
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  transition: color 0.25s var(--ease), background-color 0.25s var(--ease);
}

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

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-soft);
  color: var(--primary);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.35s var(--ease), background-color 0.35s var(--ease);
}

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

.faq-item summary:hover {
  color: var(--primary);
  background: var(--gradient-soft);
}

.faq-answer {
  padding: 0 22px 20px;
  animation: faqFade 0.4s var(--ease);
}

.faq-answer p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14.5px;
  line-height: 1.9;
}

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

/* ============ HowTo ============ */
.howto h4 {
  color: var(--primary);
}

/* ============ Contact ============ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 40px;
}

.contact-card {
  padding: 26px 24px;
  border-radius: var(--radius);
  background: var(--surface-solid);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

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

.contact-card h3 {
  font-size: 1.08rem;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--border);
}

.contact-card p {
  margin: 0 0 8px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.7;
  word-break: break-word;
}

.trust-block {
  max-width: 900px;
  margin: 0 auto;
  padding: 30px 28px;
  border-radius: var(--radius-lg);
  background: var(--gradient-soft);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.trust-block h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.trust-block p {
  color: var(--text-soft);
  font-size: 14.5px;
  line-height: 1.9;
}

.trust-block h3:not(:first-child) {
  margin-top: 22px;
}

/* ============ Sitemap & Links ============ */
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 900px;
  margin: 0 auto;
}

.sitemap-grid ul {
  display: grid;
  gap: 8px;
}

.sitemap-grid a {
  display: block;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--surface-solid);
  border: 1px solid var(--border);
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.sitemap-grid a:hover {
  transform: translateX(5px);
  color: var(--primary);
  border-color: rgba(233, 69, 96, 0.35);
  background: var(--gradient-soft);
}

.friend-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}

.friend-links a {
  display: inline-block;
  padding: 9px 20px;
  border-radius: 999px;
  background: var(--surface-solid);
  border: 1px solid var(--border);
  color: var(--text-soft);
  font-size: 13.5px;
  font-weight: 600;
  transition: transform 0.3s var(--ease), color 0.3s var(--ease),
    box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.friend-links a:hover {
  transform: translateY(-3px);
  color: var(--primary);
  border-color: rgba(233, 69, 96, 0.35);
  box-shadow: var(--shadow-sm);
}

/* ============ Footer ============ */
.site-footer {
  background: var(--gradient);
  color: rgba(255, 255, 255, 0.82);
  padding-top: 56px;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(233, 69, 96, 0.35);
  filter: blur(90px);
  top: -220px;
  right: -160px;
  pointer-events: none;
}

.footer-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding-bottom: 42px;
}

.footer-brand {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.footer-brand .brand-logo {
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}

.footer-brand strong {
  display: block;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 6px;
}

.footer-brand p {
  margin: 0 0 4px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
}

.footer-links h3,
.footer-meta h3 {
  color: #fff;
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 14px;
}

.footer-links ul {
  display: grid;
  gap: 9px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13.5px;
  transition: color 0.25s var(--ease), padding-left 0.25s var(--ease);
}

.footer-links a:hover {
  color: #fff;
  padding-left: 5px;
}

.footer-meta p {
  margin: 0 0 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
}

.legal-blocks {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding-bottom: 40px;
}

.legal-blocks section {
  padding: 22px 22px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.legal-blocks section:hover {
  background: rgba(255, 255, 255, 0.13);
  transform: translateY(-4px);
}

.legal-blocks h3 {
  color: #fff;
  font-size: 14.5px;
  margin-bottom: 10px;
}

.legal-blocks p {
  margin: 0;
  font-size: 13px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.72);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 18px 0;
}

.footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

.footer-bottom p {
  margin: 0;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.62);
}

/* ============ Back to top ============ */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 26px;
  z-index: 90;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--gradient);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease),
    visibility 0.35s, box-shadow 0.35s var(--ease);
}

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

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

/* ============ 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);
}

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

/* ============ Responsive ============ */
@media (max-width: 1080px) {
  .main-nav a {
    padding: 8px 8px;
    font-size: 13px;
  }
  .search-form input {
    width: 110px;
  }
  .hero-inner {
    gap: 30px;
  }
  .card-grid,
  .case-grid,
  .article-grid,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface-solid);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    padding: 12px 20px 18px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: max-height 0.4s var(--ease), opacity 0.3s var(--ease),
      transform 0.3s var(--ease), visibility 0.3s;
  }

  .main-nav.is-open {
    max-height: 70vh;
    overflow-y: auto;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .main-nav ul {
    flex-direction: column;
    gap: 2px;
  }

  .main-nav a {
    padding: 12px 14px;
    font-size: 15px;
    border-radius: 12px;
  }

  .main-nav a::after {
    display: none;
  }

  .nav-wrap {
    position: relative;
  }

  .nav-inner {
    justify-content: space-between;
  }

  .search-form {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-carousel {
    order: -1;
    max-width: 560px;
    margin: 0 auto;
    width: 100%;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
  }

  .legal-blocks {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  :root {
    --header-h: 60px;
  }

  .top-bar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding-top: 5px;
    padding-bottom: 5px;
  }

  .top-bar-tip,
  .top-bar-date {
    font-size: 11.5px;
  }

  .brand-text small {
    display: none;
  }

  .brand-logo {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }

  .hero {
    padding: 36px 0 44px;
  }

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

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

  .hero-actions .btn {
    flex: 1;
    padding: 12px 18px;
    font-size: 14px;
  }

  .section {
    padding: 52px 0;
  }

  .section-head {
    margin-bottom: 30px;
  }

  .card-grid,
  .case-grid,
  .article-grid,
  .contact-grid,
  .sitemap-grid {
    grid-template-columns: 1fr;
  }

  .card,
  .case-card,
  .article-card,
  .contact-card {
    padding: 22px 20px;
  }

  .prose {
    font-size: 15px;
  }

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

  .faq-item summary {
    padding: 16px 48px 16px 18px;
    font-size: 14.5px;
  }

  .faq-answer {
    padding: 0 18px 18px;
  }

  .trust-block {
    padding: 24px 20px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom .container {
    flex-direction: column;
    align-items: flex-start;
  }

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

@media (max-width: 380px) {
  .hero-stats {
    grid-template-columns: 1fr;
  }
  .container {
    padding: 0 16px;
  }
}
</｜｜DSML｜｜ parameter>
</invoke>