:root {
  --gold: #B8860B;
  --gold-light: #E8C766;
  --gold-dark: #8B6508;
  --gold-glow: rgba(184, 134, 11, 0.18);
  --bg: #fffdf7;
  --bg-alt: #fdf8ec;
  --text: #2b2b2b;
  --text-strong: #1a1a1a;
  --muted: #6b6b6b;
  --line: #eee2c4;
  --card: #fffefb;
  --card-glow: rgba(255, 255, 255, 0.75);
  --shadow: 0 4px 18px rgba(184, 134, 11, 0.10);
  --shadow-lg: 0 10px 32px rgba(184, 134, 11, 0.18);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --maxw: 1180px;
  --glass: rgba(255, 253, 247, 0.72);
  --glass-border: rgba(255, 255, 255, 0.55);
  --header-h: 66px;
}

html[data-theme="dark"] {
  --gold: #E8C766;
  --gold-light: #F3DC9A;
  --gold-dark: #B8860B;
  --gold-glow: rgba(232, 199, 102, 0.16);
  --bg: #1a1814;
  --bg-alt: #211e18;
  --text: #ece6d6;
  --text-strong: #fffaf0;
  --muted: #a9a291;
  --line: #3a3428;
  --card: #211e18;
  --card-glow: rgba(255, 255, 255, 0.04);
  --shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 12px 36px rgba(0, 0, 0, 0.62);
  --glass: rgba(26, 24, 20, 0.72);
  --glass-border: rgba(255, 255, 255, 0.08);
}

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

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

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  background-image:
    radial-gradient(circle at 12% 0%, var(--gold-glow), transparent 42%),
    radial-gradient(circle at 88% 12%, var(--gold-glow), transparent 38%);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.85;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}

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

a:hover {
  text-decoration: underline;
}

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

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

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

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

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

.skip-link:focus {
  left: 8px;
  top: 8px;
  text-decoration: none;
}

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--glass);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

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

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  color: var(--text-strong);
  white-space: nowrap;
  letter-spacing: 0.2px;
  flex-shrink: 0;
}

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

.brand .logo {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 11px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s;
  box-shadow: 0 2px 10px var(--gold-glow);
}

.brand:hover .logo {
  transform: rotate(-8deg) scale(1.06);
  box-shadow: 0 4px 16px var(--gold-glow);
}

.brand small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.5px;
  line-height: 1.4;
}

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

.nav a {
  padding: 8px 12px;
  border-radius: 9px;
  font-size: 14.5px;
  color: var(--text);
  font-weight: 500;
  position: relative;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

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

.nav a:hover {
  background: var(--gold-light);
  color: #3a2c00;
  text-decoration: none;
  transform: translateY(-1px);
}

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

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

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--card);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: border-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.icon-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--gold-glow);
}

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

.menu-btn {
  display: none;
}

.search-box {
  position: relative;
}

.search-box input {
  width: 180px;
  padding: 8px 34px 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.25s ease, width 0.3s ease, box-shadow 0.25s ease;
}

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

.search-box input:focus {
  border-color: var(--gold);
  width: 220px;
  box-shadow: 0 0 0 3px var(--gold-glow);
}

.search-box .s-ico {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
  transition: color 0.25s ease;
}

.search-box input:focus + .s-ico {
  color: var(--gold);
}

/* ============ Banner ============ */
.banner {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin: 26px 0;
  background: linear-gradient(135deg, #fff6dd 0%, #ffe9b8 48%, #f7d98a 100%);
  box-shadow: 0 14px 44px var(--gold-glow);
  border: 1px solid var(--line);
}

html[data-theme="dark"] .banner {
  background: linear-gradient(135deg, #2a2418 0%, #3a3018 52%, #4a3c1c 100%);
}

.banner::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.55), transparent 68%);
  border-radius: 50%;
  pointer-events: none;
  animation: floatGlow 9s ease-in-out infinite;
}

html[data-theme="dark"] .banner::before {
  background: radial-gradient(circle, rgba(232, 199, 102, 0.18), transparent 68%);
}

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

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

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
  display: flex;
  align-items: center;
  padding: 40px;
  pointer-events: none;
}

.slide.active {
  opacity: 1;
  position: relative;
  pointer-events: auto;
  animation: slideIn 0.7s ease both;
}

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

.slide .slide-text {
  max-width: 640px;
  position: relative;
  z-index: 2;
}

.slide h2 {
  font-size: 28px;
  line-height: 1.35;
  margin-bottom: 12px;
  color: var(--text-strong);
  letter-spacing: -0.3px;
}

.slide p {
  color: var(--muted);
  margin-bottom: 18px;
  font-size: 15px;
}

.slide .cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #fff;
  padding: 11px 26px;
  border-radius: 11px;
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 6px 18px var(--gold-glow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.slide .cta:hover {
  text-decoration: none;
  opacity: 0.94;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px var(--gold-glow);
}

.slide .cta:active {
  transform: translateY(0) scale(0.98);
}

.slide .slide-art {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 260px;
  opacity: 0.92;
  filter: drop-shadow(0 8px 20px rgba(184, 134, 11, 0.22));
  animation: floatArt 6s ease-in-out infinite;
}

@keyframes floatArt {
  0%, 100% { transform: translateY(-50%) translateX(0); }
  50% { transform: translateY(-54%) translateX(-8px); }
}

.banner-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 9px;
  z-index: 5;
}

.banner-dots button {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: none;
  background: rgba(184, 134, 11, 0.32);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease, width 0.3s ease;
  padding: 0;
}

.banner-dots button:hover {
  background: var(--gold);
}

.banner-dots button.active {
  background: var(--gold);
  transform: scale(1.2);
  width: 26px;
  border-radius: 6px;
}

/* ============ Breadcrumb ============ */
.breadcrumb {
  font-size: 13.5px;
  color: var(--muted);
  margin: 18px 0;
  padding: 10px 16px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  display: inline-block;
}

.breadcrumb a {
  color: var(--muted);
  transition: color 0.25s ease;
}

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

.breadcrumb span {
  color: var(--gold);
  font-weight: 600;
}

/* ============ Sections ============ */
section {
  padding: 40px 0;
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.section-head {
  text-align: center;
  margin-bottom: 34px;
}

.section-head h2 {
  font-size: 26px;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
  color: var(--text-strong);
  letter-spacing: -0.2px;
}

.section-head h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 3px;
  margin: 12px auto 0;
  transition: width 0.4s ease;
}

.section-head:hover h2::after {
  width: 88px;
}

.section-head p {
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.9;
}

.lead {
  font-size: 17px;
  line-height: 2;
  color: var(--text);
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 0 4px;
}

/* ============ Stats ============ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

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

.stat::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 55%, var(--gold-glow) 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.stat:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-light);
}

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

.stat .num {
  font-size: 34px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  position: relative;
}

.stat .num small {
  font-size: 16px;
}

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

/* ============ Grid & Cards ============ */
.grid {
  display: grid;
  gap: 22px;
}

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

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

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  position: relative;
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-light);
}

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

.card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--text-strong);
  letter-spacing: -0.1px;
}

.card h4 {
  font-size: 15px;
  margin: 14px 0 6px;
  color: var(--gold);
  font-weight: 700;
}

.card p {
  color: var(--muted);
  font-size: 14.5px;
  margin-bottom: 8px;
  line-height: 1.85;
}

.card ul {
  padding-left: 20px;
  color: var(--muted);
  font-size: 14.5px;
}

.card ul li {
  margin-bottom: 6px;
  position: relative;
}

.card ul li::marker {
  color: var(--gold);
}

.card .svg-wrap {
  margin-bottom: 16px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-alt);
  transition: transform 0.4s ease;
}

.card:hover .svg-wrap {
  transform: scale(1.02);
}

.card .svg-wrap svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ============ Prose ============ */
.prose {
  max-width: 900px;
  margin: 0 auto;
}

.prose h3 {
  font-size: 20px;
  margin: 28px 0 12px;
  color: var(--text-strong);
  border-left: 4px solid var(--gold);
  padding-left: 12px;
  line-height: 1.5;
}

.prose h4 {
  font-size: 16px;
  margin: 18px 0 8px;
  color: var(--gold);
}

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

.prose ul,
.prose ol {
  padding-left: 24px;
  margin-bottom: 16px;
  color: var(--text);
  font-size: 15.5px;
}

.prose li {
  margin-bottom: 8px;
}

/* ============ Solutions ============ */
.solution {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.solution .sol-ico {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3a2c00;
  box-shadow: 0 4px 12px var(--gold-glow);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
}

.card:hover .solution .sol-ico {
  transform: rotate(-6deg) scale(1.08);
  box-shadow: 0 8px 20px var(--gold-glow);
}

.solution h3 {
  margin-top: 0;
}

/* ============ Cases ============ */
.case {
  border-left: 4px solid var(--gold);
  padding: 18px 22px;
  background: var(--card);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow);
  margin-bottom: 18px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-left-color 0.3s ease;
}

.case:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-lg);
  border-left-color: var(--gold-light);
}

.case h3 {
  font-size: 17px;
  margin-bottom: 8px;
  color: var(--text-strong);
}

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

/* ============ Testimonial ============ */
.testimonial {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
  box-shadow: var(--shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  overflow: hidden;
}

.testimonial::before {
  content: "\201C";
  position: absolute;
  top: 6px;
  left: 16px;
  font-size: 52px;
  color: var(--gold-light);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1;
  opacity: 0.85;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.testimonial:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-light);
}

.testimonial:hover::before {
  transform: scale(1.15) rotate(-6deg);
  opacity: 1;
}

.testimonial p {
  font-size: 14.5px;
  color: var(--text);
  margin: 14px 0 16px;
  position: relative;
  z-index: 1;
  line-height: 1.9;
}

.testimonial .who {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial .who .avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex: 0 0 44px;
  box-shadow: 0 2px 10px var(--gold-glow);
  transition: transform 0.3s ease;
}

.testimonial:hover .who .avatar {
  transform: scale(1.08);
}

.testimonial .who .avatar svg {
  width: 100%;
  height: 100%;
}

.testimonial .who .name {
  font-weight: 700;
  font-size: 14.5px;
  color: var(--text-strong);
}

.testimonial .who .role {
  font-size: 12.5px;
  color: var(--muted);
}

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

.article-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

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

.article-item .thumb {
  height: 150px;
  overflow: hidden;
  background: var(--bg-alt);
  position: relative;
}

.article-item .thumb svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.article-item:hover .thumb svg {
  transform: scale(1.06);
}

.article-item .body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.article-item .meta {
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 8px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.article-item .meta span:first-child::before {
  content: "◷ ";
  color: var(--gold);
}

.article-item .meta span:last-child::before {
  content: "◈ ";
  color: var(--gold);
}

.article-item h3 {
  font-size: 16.5px;
  margin-bottom: 8px;
  color: var(--text-strong);
  line-height: 1.55;
  transition: color 0.25s ease;
}

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

.article-item .excerpt {
  font-size: 14px;
  color: var(--muted);
  flex: 1;
  margin-bottom: 12px;
  line-height: 1.85;
}

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

.read-more:hover {
  text-decoration: none;
  gap: 9px;
  color: var(--gold-dark);
}

html[data-theme="dark"] .read-more:hover {
  color: var(--gold-light);
}

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

.faq-item:hover {
  border-color: var(--gold-light);
  box-shadow: var(--shadow);
}

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

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

.faq-q:hover {
  color: var(--gold);
  background: var(--bg-alt);
}

.faq-q .arrow {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  flex: 0 0 auto;
  color: var(--gold);
}

.faq-item.open .faq-q {
  color: var(--gold);
}

.faq-item.open .faq-q .arrow {
  transform: rotate(180deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.22, 1, 0.36, 1), padding 0.35s ease;
  padding: 0 20px;
}

.faq-item.open .faq-a {
  max-height: 600px;
  padding: 0 20px 18px;
}

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

/* ============ HowTo Steps ============ */
.steps {
  counter-reset: step;
  max-width: 900px;
  margin: 0 auto;
}

.step {
  position: relative;
  padding: 0 0 26px 62px;
  border-left: 2px dashed var(--line);
  margin-left: 22px;
  transition: transform 0.3s ease;
}

.step:hover {
  transform: translateX(4px);
}

.step:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: -23px;
  top: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 17px;
  box-shadow: 0 0 0 5px var(--bg), 0 4px 12px var(--gold-glow);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
}

.step:hover::before {
  transform: scale(1.1);
  box-shadow: 0 0 0 5px var(--bg), 0 8px 22px var(--gold-glow);
}

.step h3 {
  font-size: 17px;
  margin-bottom: 8px;
  color: var(--text-strong);
}

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

.step ul {
  padding-left: 20px;
  color: var(--muted);
  font-size: 14.5px;
  margin-top: 6px;
}

.step ul li::marker {
  color: var(--gold);
}

/* ============ Contact ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
}

.contact-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.35s ease, border-color 0.35s ease;
}

.contact-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-light);
}

.contact-item {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  align-items: flex-start;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background 0.25s ease, transform 0.25s ease;
}

.contact-item:hover {
  background: var(--bg-alt);
  transform: translateX(3px);
}

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

.contact-item .ci-ico {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3a2c00;
  box-shadow: 0 3px 10px var(--gold-glow);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.contact-item:hover .ci-ico {
  transform: rotate(-6deg) scale(1.08);
}

.contact-item .ci-label {
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.3px;
}

.contact-item .ci-val {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-strong);
  line-height: 1.6;
}

.contact-item .ci-val a {
  color: var(--gold);
  transition: color 0.25s ease;
}

.contact-item .ci-val a:hover {
  color: var(--gold-dark);
}

html[data-theme="dark"] .contact-item .ci-val a:hover {
  color: var(--gold-light);
}

.map-box {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  height: 100%;
  min-height: 280px;
  background: var(--card);
  box-shadow: var(--shadow);
  transition: box-shadow 0.35s ease, border-color 0.35s ease;
}

.map-box:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-light);
}

/* ============ Link Cloud / Sitemap ============ */
.link-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.link-cloud a {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 9px;
  font-size: 13.5px;
  color: var(--text);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.link-cloud a:hover {
  background: var(--gold-light);
  color: #3a2c00;
  text-decoration: none;
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow: 0 4px 12px var(--gold-glow);
}

/* ============ Footer ============ */
.site-footer {
  background: linear-gradient(180deg, #141210 0%, #0e0d0b 100%);
  color: #c9c2b2;
  padding: 48px 0 24px;
  margin-top: 20px;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

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

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

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

.site-footer h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.site-footer h4:hover::after {
  width: 48px;
}

.site-footer p {
  font-size: 13.5px;
  color: #9c968a;
  line-height: 1.9;
}

.site-footer a {
  color: #c9c2b2;
  font-size: 13.5px;
  transition: color 0.25s ease, padding-left 0.25s ease;
}

.site-footer a:hover {
  color: var(--gold-light);
  text-decoration: none;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links a {
  position: relative;
  display: inline-block;
  width: fit-content;
}

.footer-links a:hover {
  padding-left: 6px;
}

.footer-bottom {
  border-top: 1px solid #2a2721;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: #7d786d;
}

.footer-bottom .legal-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom .legal-links a {
  font-size: 12.5px;
  color: #7d786d;
}

.footer-bottom .legal-links a:hover {
  color: var(--gold-light);
}

/* ============ Back to Top ============ */
.back-top {
  position: fixed;
  right: 22px;
  bottom: 26px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(184, 134, 11, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  z-index: 900;
}

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

.back-top:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 10px 28px rgba(184, 134, 11, 0.55);
}

.back-top:active {
  transform: translateY(0) scale(0.96);
}

/* ============ Reveal Animation ============ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

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

/* ============ Toast ============ */
.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%) translateY(20px);
  background: rgba(43, 43, 43, 0.96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  padding: 12px 22px;
  border-radius: 10px;
  font-size: 14px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 2000;
  max-width: 90%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .slide .slide-art {
    width: 220px;
    opacity: 0.85;
  }
}

@media (max-width: 860px) {
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--glass);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    backdrop-filter: blur(16px) saturate(160%);
    flex-direction: column;
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    gap: 2px;
    margin-left: 0;
    animation: navDrop 0.3s ease both;
  }
  .nav.open {
    display: flex;
  }
  @keyframes navDrop {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .nav a {
    padding: 11px 12px;
    width: 100%;
  }
  .nav a::after {
    display: none;
  }
  .menu-btn {
    display: flex;
  }
  .search-box input {
    width: 120px;
  }
  .search-box input:focus {
    width: 150px;
  }
  .grid-3,
  .grid-2,
  .article-list {
    grid-template-columns: 1fr;
  }
  .slide {
    padding: 26px;
  }
  .slide h2 {
    font-size: 21px;
  }
  .slide p {
    font-size: 14px;
  }
  .slide .slide-art {
    display: none;
  }
  .slides {
    min-height: 260px;
  }
  .header-inner {
    gap: 10px;
  }
  .brand small {
    display: none;
  }
  .brand {
    font-size: 16px;
  }
  .section-head h2 {
    font-size: 22px;
  }
  .lead {
    font-size: 15.5px;
  }
}

@media (max-width: 560px) {
  .container {
    padding: 0 16px;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .stat {
    padding: 20px 12px;
  }
  .stat .num {
    font-size: 26px;
  }
  .stat .label {
    font-size: 12.5px;
  }
  .slide h2 {
    font-size: 19px;
  }
  .slide .cta {
    padding: 10px 20px;
    font-size: 14px;
  }
  .card {
    padding: 20px;
  }
  .step {
    padding-left: 50px;
    margin-left: 18px;
  }
  .step::before {
    width: 38px;
    height: 38px;
    left: -20px;
    font-size: 15px;
  }
  .back-top {
    right: 16px;
    bottom: 18px;
    width: 42px;
    height: 42px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 420px) {
  .search-box {
    display: none;
  }
  .brand {
    font-size: 15px;
  }
  .brand .logo {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }
  .stat .num {
    font-size: 22px;
  }
  .breadcrumb {
    font-size: 12.5px;
    padding: 8px 12px;
  }
  .slide h2 {
    font-size: 17px;
  }
}

/* ============ Reduced Motion ============ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .banner::before,
  .slide .slide-art {
    animation: none !important;
  }
}

/* ============ Print ============ */
@media print {
  .site-header,
  .back-top,
  .banner-dots,
  .header-tools,
  .toast {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
  .card,
  .case,
  .testimonial,
  .article-item {
    box-shadow: none;
    border: 1px solid #ccc;
    break-inside: avoid;
  }
}