:root {
  --brand: #c62828;
  --brand-2: #e53935;
  --brand-3: #ff6f60;
  --accent: #ffb300;
  --accent-2: #ff8f00;
  --ink: #1f2328;
  --ink-soft: #4a5058;
  --ink-mute: #6b7280;
  --bg: #fdf7f5;
  --bg-2: #fff1ec;
  --surface: #ffffff;
  --surface-glass: rgba(255, 255, 255, 0.72);
  --surface-glass-strong: rgba(255, 255, 255, 0.88);
  --border: rgba(198, 40, 40, 0.14);
  --border-soft: rgba(31, 35, 40, 0.08);
  --shadow-sm: 0 2px 8px rgba(120, 30, 30, 0.06);
  --shadow-md: 0 10px 30px rgba(120, 30, 30, 0.10);
  --shadow-lg: 0 22px 60px rgba(120, 30, 30, 0.16);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --maxw: 1180px;
  --header-h: 64px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

html[data-theme="dark"] {
  --brand: #ff5c57;
  --brand-2: #ff7a6e;
  --brand-3: #ffa294;
  --accent: #ffc94d;
  --accent-2: #ffb300;
  --ink: #eef1f5;
  --ink-soft: #c3c9d2;
  --ink-mute: #9aa3af;
  --bg: #121417;
  --bg-2: #1a1d22;
  --surface: #1c2026;
  --surface-glass: rgba(28, 32, 38, 0.66);
  --surface-glass-strong: rgba(28, 32, 38, 0.86);
  --border: rgba(255, 92, 87, 0.22);
  --border-soft: rgba(255, 255, 255, 0.08);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 12px 34px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 26px 70px rgba(0, 0, 0, 0.55);
}

*,
*::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;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.78;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 12% -8%, rgba(255, 111, 96, 0.18), transparent 60%),
    radial-gradient(900px 520px at 92% 4%, rgba(255, 179, 0, 0.14), transparent 58%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease);
}

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

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

a:hover,
a:focus-visible {
  color: var(--brand-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

h1 { font-size: clamp(1.65rem, 1.2rem + 2.2vw, 2.6rem); }
h2 { font-size: clamp(1.35rem, 1.1rem + 1.4vw, 2rem); }
h3 { font-size: clamp(1.1rem, 1rem + 0.6vw, 1.35rem); }
h4 { font-size: 1.05rem; }

p {
  margin: 0 0 1em;
  color: var(--ink-soft);
}

ul, ol {
  margin: 0 0 1.2em;
  padding-left: 1.35em;
  color: var(--ink-soft);
}

li { margin-bottom: 0.5em; }

li::marker { color: var(--brand); }

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

time {
  font-variant-numeric: tabular-nums;
  color: var(--brand);
  font-weight: 600;
}

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

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

section {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(28px, 4vw, 56px) clamp(16px, 3vw, 32px);
}

section > h2 {
  position: relative;
  padding-bottom: 14px;
  margin-bottom: 1em;
}

section > h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

section > h3 {
  margin-top: 1.6em;
  padding-left: 14px;
  border-left: 4px solid var(--brand-3);
}

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

.topbar {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 10px clamp(14px, 3vw, 28px);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.brand-logo {
  font-size: 1.18rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  background: linear-gradient(120deg, var(--brand) 0%, var(--brand-3) 55%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
  animation: brandGlow 6s ease-in-out infinite alternate;
}

@keyframes brandGlow {
  from { filter: drop-shadow(0 0 0 rgba(255, 111, 96, 0)); }
  to { filter: drop-shadow(0 2px 10px rgba(255, 111, 96, 0.35)); }
}

.topbar-slogan {
  font-size: 0.82rem;
  color: var(--ink-mute);
  flex: 1 1 220px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex-wrap: wrap;
}

.site-search {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--surface-glass-strong);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px 3px 3px 14px;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.site-search:focus-within {
  border-color: var(--brand-3);
  box-shadow: 0 0 0 4px rgba(255, 111, 96, 0.16);
  transform: translateY(-1px);
}

.site-search input {
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.88rem;
  padding: 7px 6px;
  width: clamp(140px, 22vw, 240px);
  outline: none;
}

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

.site-search button,
#theme-toggle,
#menu-toggle {
  border: 1px solid transparent;
  cursor: pointer;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 8px 16px;
  color: #fff;
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.25s var(--ease);
  white-space: nowrap;
}

.site-search button:hover,
#theme-toggle:hover,
#menu-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(198, 40, 40, 0.28);
  filter: brightness(1.06);
}

.site-search button:active,
#theme-toggle:active,
#menu-toggle:active { transform: translateY(0) scale(0.97); }

#theme-toggle {
  background: linear-gradient(120deg, var(--accent-2), var(--accent));
  color: #3a2600;
}

#menu-toggle {
  display: none;
  background: var(--surface-glass-strong);
  color: var(--ink);
  border-color: var(--border);
}

#main-nav {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(14px, 3vw, 28px) 8px;
}

#main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

#main-nav li { margin: 0; }

#main-nav a {
  display: inline-block;
  padding: 7px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all 0.25s var(--ease);
}

#main-nav a:hover,
#main-nav a:focus-visible {
  color: var(--brand);
  background: rgba(255, 111, 96, 0.12);
  border-color: rgba(255, 111, 96, 0.28);
  text-decoration: none;
  transform: translateY(-1px);
}

.breadcrumb {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(14px, 3vw, 28px) 10px;
  font-size: 0.8rem;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--ink-mute);
}

.breadcrumb li { margin: 0; display: flex; align-items: center; gap: 6px; }

.breadcrumb li + li::before {
  content: "›";
  color: var(--brand-3);
  font-weight: 700;
}

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

#main-content {
  display: block;
  animation: fadeUp 0.7s var(--ease) both;
}

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

.hero {
  max-width: var(--maxw);
  margin: clamp(18px, 3vw, 32px) auto 0;
  padding: 0 clamp(14px, 3vw, 28px);
}

.hero-slider {
  position: relative;
  border-radius: var(--radius-xl);
  padding: clamp(26px, 4.5vw, 56px) clamp(20px, 4vw, 56px);
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(900px 420px at 88% -10%, rgba(255, 179, 0, 0.55), transparent 62%),
    radial-gradient(700px 380px at 8% 110%, rgba(255, 111, 96, 0.55), transparent 60%),
    linear-gradient(128deg, #8e1717 0%, #c62828 42%, #e53935 72%, #ff8f00 120%);
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}

.hero-slider::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    conic-gradient(from 0deg, rgba(255, 255, 255, 0.10), transparent 30%, rgba(255, 255, 255, 0.08) 55%, transparent 80%);
  animation: spinSlow 26s linear infinite;
  z-index: -1;
  opacity: 0.7;
}

@keyframes spinSlow {
  to { transform: rotate(360deg); }
}

.hero-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.10), transparent 40%);
  pointer-events: none;
  z-index: -1;
}

.slide {
  position: relative;
  animation: slideIn 0.6s var(--ease) both;
}

.slide[hidden] { display: none; }

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

.hero .slide h1,
.hero .slide h2 {
  color: #fff;
  text-shadow: 0 2px 18px rgba(80, 0, 0, 0.35);
  max-width: 22ch;
}

.hero-lead {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.92rem, 0.88rem + 0.3vw, 1.05rem);
  line-height: 1.85;
  max-width: 78ch;
}

.hero-meta {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 1.4em;
}

.hero-cta {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
  color: #7a1300;
  background: linear-gradient(120deg, #fff 0%, #fff3e0 100%);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.hero-cta:hover,
.hero-cta:focus-visible {
  color: #7a1300;
  text-decoration: none;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}

.carousel-controls {
  display: flex;
  gap: 10px;
  margin-top: 26px;
}

.carousel-controls button {
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.38);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.carousel-controls button:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin: clamp(16px, 2.5vw, 26px) 0 0;
}

.stat {
  background: var(--surface-glass);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.stat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-3);
}

.stat-number {
  display: block;
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem);
  font-weight: 900;
  line-height: 1.1;
  background: linear-gradient(120deg, var(--brand), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  display: block;
  margin-top: 6px;
  font-size: 0.8rem;
  color: var(--ink-mute);
}

.timeline {
  list-style: none;
  padding: 0;
  margin: 1.2em 0 1.6em;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 6px;
  bottom: 6px;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--brand), var(--accent));
  opacity: 0.5;
}

.timeline li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 14px;
  color: var(--ink-soft);
}

.timeline li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 8px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--surface);
  border: 3px solid var(--brand);
  box-shadow: 0 0 0 4px rgba(255, 111, 96, 0.16);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin: 1.4em 0;
}

.team-card {
  background: var(--surface-glass);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

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

.team-card h4 {
  margin-bottom: 0.5em;
  background: linear-gradient(120deg, var(--brand), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.team-card p { margin: 0; font-size: 0.92rem; }

.advantage-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  margin: 1.4em 0;
}

.advantage-list li {
  position: relative;
  padding: 16px 18px 16px 46px;
  margin: 0;
  border-radius: var(--radius-md);
  background: var(--surface-glass);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  font-size: 0.92rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.advantage-list li::before {
  content: "✓";
  position: absolute;
  left: 16px;
  top: 15px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(120deg, var(--brand), var(--brand-3));
}

.advantage-list li:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.case-card,
.article-card {
  background: var(--surface-glass);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 30px);
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}

.case-card::before,
.article-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--brand), var(--accent));
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.case-card:hover,
.article-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-3);
}

.case-card:hover::before,
.article-card:hover::before { opacity: 1; }

.case-card h3,
.article-card h3 { margin-bottom: 0.45em; }

.article-card h3 a { color: var(--ink); }

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

.article-meta {
  font-size: 0.8rem;
  color: var(--ink-mute);
  margin-bottom: 0.8em;
  padding-bottom: 0.7em;
  border-bottom: 1px dashed var(--border-soft);
}

.article-summary {
  font-size: 0.93rem;
  margin-bottom: 1em;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255, 111, 96, 0.12);
  border: 1px solid rgba(255, 111, 96, 0.28);
  transition: all 0.25s var(--ease);
}

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

.read-more:hover {
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(198, 40, 40, 0.28);
}

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

#testimonials blockquote {
  margin: 0 0 16px;
  padding: 20px 24px 20px 56px;
  position: relative;
  border-radius: var(--radius-md);
  background: var(--surface-glass);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

#testimonials blockquote::before {
  content: "“";
  position: absolute;
  left: 16px;
  top: 6px;
  font-size: 3rem;
  line-height: 1;
  font-family: Georgia, serif;
  color: var(--brand-3);
  opacity: 0.7;
}

#testimonials blockquote:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

#testimonials blockquote p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--ink-soft);
}

.news-list {
  list-style: none;
  padding: 0;
  margin: 1.2em 0;
}

.news-list li {
  position: relative;
  padding: 14px 16px 14px 40px;
  margin-bottom: 10px;
  border-radius: var(--radius-md);
  background: var(--surface-glass);
  border: 1px solid var(--border-soft);
  font-size: 0.92rem;
  color: var(--ink-soft);
  transition: all 0.28s var(--ease);
}

.news-list li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -4.5px;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--brand), var(--accent));
  box-shadow: 0 0 0 4px rgba(255, 111, 96, 0.14);
}

.news-list li:hover {
  transform: translateX(5px);
  border-color: var(--brand-3);
  background: var(--surface-glass-strong);
}

.news-list time {
  margin-right: 8px;
  font-size: 0.8rem;
}

.faq-item {
  margin-bottom: 12px;
  border-radius: var(--radius-md);
  background: var(--surface-glass);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.faq-item[open] {
  border-color: var(--brand-3);
  box-shadow: var(--shadow-md);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 52px 16px 20px;
  position: relative;
  font-weight: 700;
  color: var(--ink);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

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

.faq-item summary h3 {
  display: inline;
  margin: 0;
  font-size: 0.98rem;
  font-weight: 700;
  color: inherit;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--brand);
  background: rgba(255, 111, 96, 0.12);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}

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

.faq-item summary:hover { background: rgba(255, 111, 96, 0.08); }

.faq-item > p {
  margin: 0;
  padding: 0 20px 20px;
  font-size: 0.93rem;
  animation: fadeUp 0.4s var(--ease) both;
}

.contact-info {
  font-style: normal;
  background: var(--surface-glass);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 30px);
  box-shadow: var(--shadow-sm);
}

.contact-info p {
  margin: 0 0 0.7em;
  font-size: 0.93rem;
}

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

.sitemap-list,
.friend-links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 1.2em 0;
}

.sitemap-list li,
.friend-links li { margin: 0; }

.sitemap-list a,
.friend-links a {
  display: inline-block;
  padding: 8px 18px;
  font-size: 0.86rem;
  font-weight: 600;
  border-radius: 999px;
  background: var(--surface-glass);
  border: 1px solid var(--border);
  color: var(--ink-soft);
  transition: all 0.25s var(--ease);
}

.sitemap-list a:hover,
.friend-links a:hover {
  color: #fff;
  text-decoration: none;
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(198, 40, 40, 0.26);
}

.friend-note {
  font-size: 0.82rem;
  color: var(--ink-mute);
}

#site-footer {
  margin-top: clamp(30px, 5vw, 60px);
  padding: clamp(28px, 4vw, 52px) clamp(16px, 3vw, 32px) 40px;
  background:
    radial-gradient(800px 300px at 10% 0%, rgba(255, 111, 96, 0.16), transparent 60%),
    linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  border-top: 1px solid var(--border);
  color: var(--ink-soft);
}

#site-footer section {
  padding: 0;
  max-width: var(--maxw);
  margin: 0 auto 26px;
}

#site-footer h2 {
  font-size: 1.05rem;
  margin-bottom: 0.6em;
  padding-bottom: 10px;
  position: relative;
}

#site-footer h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

#site-footer p {
  font-size: 0.85rem;
  color: var(--ink-mute);
  max-width: 90ch;
}

#site-footer a { color: var(--brand); }

.footer-meta {
  text-align: center;
  font-size: 0.8rem !important;
  color: var(--ink-mute) !important;
  padding-top: 18px;
  border-top: 1px solid var(--border-soft);
  max-width: var(--maxw);
  margin: 0 auto;
}

#site-footer > p:last-child {
  text-align: center;
  margin: 14px auto 0;
}

#site-footer > p:last-child a {
  display: inline-block;
  padding: 8px 22px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  background: var(--surface-glass);
  border: 1px solid var(--border);
  transition: all 0.25s var(--ease);
}

#site-footer > p:last-child a:hover {
  text-decoration: none;
  color: #fff;
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
  border-color: transparent;
  transform: translateY(-2px);
}

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

  #main-nav {
    display: none;
    padding-bottom: 14px;
  }

  #main-nav.is-open { display: block; animation: fadeUp 0.35s var(--ease) both; }

  #main-nav ul {
    flex-direction: column;
    gap: 4px;
  }

  #main-nav a {
    display: block;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
  }

  .topbar-slogan { display: none; }

  .site-search input { width: clamp(120px, 34vw, 200px); }
}

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

  .topbar { gap: 10px; padding-top: 8px; padding-bottom: 8px; }

  .brand-logo { font-size: 1.02rem; }

  .topbar-actions { gap: 8px; width: 100%; }

  .site-search { flex: 1 1 auto; }

  .site-search input { width: 100%; min-width: 0; }

  .site-search button { padding: 8px 12px; font-size: 0.8rem; }

  #theme-toggle,
  #menu-toggle { padding: 8px 12px; font-size: 0.8rem; }

  .hero-slider { border-radius: var(--radius-lg); }

  .hero .slide h1,
  .hero .slide h2 { max-width: none; }

  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }

  .stat { padding: 14px 10px; }

  .hero-cta { display: block; text-align: center; }

  .carousel-controls button { flex: 1; }

  .advantage-list { grid-template-columns: 1fr; }

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

  .case-card,
  .article-card { border-radius: var(--radius-md); }

  .faq-item summary { padding: 14px 46px 14px 16px; }

  .faq-item > p { padding: 0 16px 16px; }

  .sitemap-list a,
  .friend-links a { padding: 7px 14px; font-size: 0.82rem; }
}

@media (max-width: 420px) {
  .hero-stats { grid-template-columns: 1fr; }

  .topbar-actions { flex-wrap: wrap; }

  .site-search { order: 1; flex: 1 1 100%; }

  #theme-toggle,
  #menu-toggle { order: 2; flex: 1; }
}

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

@media print {
  #site-header,
  #site-footer,
  .carousel-controls,
  .hero-cta,
  .read-more { display: none !important; }

  body {
    background: #fff;
    color: #000;
    font-size: 12pt;
  }

  section { page-break-inside: avoid; }
}

@supports (animation-timeline: view()) {
  section > h2,
  .team-card,
  .case-card,
  .article-card,
  .stat,
  .faq-item,
  .news-list li,
  #testimonials blockquote {
    animation: revealUp 0.9s var(--ease) both;
    animation-timeline: view();
    animation-range: entry 0% cover 28%;
  }

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