:root {
  --color-bg: #f5f6fa;
  --color-bg-alt: #ffffff;
  --color-bg-glass: rgba(255, 255, 255, 0.72);
  --color-bg-glass-border: rgba(255, 255, 255, 0.35);
  --color-surface: #ffffff;
  --color-surface-hover: #f0f1f7;
  --color-text: #1a1a2e;
  --color-text-secondary: #4a4a6a;
  --color-text-muted: #8888a0;
  --color-primary: #1a1a2e;
  --color-primary-light: #16213e;
  --color-accent: #e94560;
  --color-accent-hover: #d63851;
  --color-gold: #f0c040;
  --color-gold-hover: #e0b030;
  --color-border: #e0e0e8;
  --color-shadow: rgba(26, 26, 46, 0.08);
  --color-shadow-lg: rgba(26, 26, 46, 0.15);
  --gradient-hero: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  --gradient-accent: linear-gradient(135deg, #e94560 0%, #f0c040 100%);
  --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.95), rgba(245,246,250,0.9));
  --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.25), rgba(255,255,255,0.08));
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --max-width: 1200px;
  --header-height: 68px;
}

[data-theme="dark"] {
  --color-bg: #0d0d1a;
  --color-bg-alt: #12122a;
  --color-bg-glass: rgba(18, 18, 42, 0.78);
  --color-bg-glass-border: rgba(255, 255, 255, 0.08);
  --color-surface: #1a1a2e;
  --color-surface-hover: #222240;
  --color-text: #e8e8f0;
  --color-text-secondary: #b0b0c8;
  --color-text-muted: #7878a0;
  --color-primary: #e8e8f0;
  --color-primary-light: #d0d0e0;
  --color-border: #2a2a45;
  --color-shadow: rgba(0, 0, 0, 0.3);
  --color-shadow-lg: rgba(0, 0, 0, 0.5);
  --gradient-card: linear-gradient(145deg, rgba(26,26,46,0.95), rgba(18,18,42,0.9));
  --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text);
  background-color: var(--color-bg);
  transition: background-color var(--transition-base), color var(--transition-base);
  overflow-x: hidden;
}

#app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

ul, ol {
  list-style: none;
}

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

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

address {
  font-style: normal;
}

/* ===== HEADER ===== */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-bg-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--color-bg-glass-border);
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

#site-header.scrolled {
  box-shadow: 0 4px 30px var(--color-shadow);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo svg {
  border-radius: var(--radius-sm);
  transition: transform var(--transition-base);
}

.logo:hover svg {
  transform: rotate(-6deg) scale(1.08);
}

.logo-text {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: 1px;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: opacity var(--transition-fast);
}

.logo:hover .logo-text {
  opacity: 0.85;
}

#main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

#main-nav a {
  display: block;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  white-space: nowrap;
  position: relative;
}

#main-nav a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: var(--gradient-accent);
  border-radius: 2px;
  transition: transform var(--transition-base);
}

#main-nav a:hover {
  color: var(--color-accent);
  background: rgba(233, 69, 96, 0.06);
}

#main-nav a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

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

.header-actions button {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--color-text-secondary);
  transition: all var(--transition-fast);
  position: relative;
}

.header-actions button:hover {
  background: var(--color-surface-hover);
  color: var(--color-accent);
  transform: scale(1.1);
}

.header-actions button:active {
  transform: scale(0.95);
}

#mobile-menu-toggle {
  display: none;
}

/* ===== SEARCH BAR ===== */
.search-bar {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base), padding var(--transition-base), opacity var(--transition-base);
  opacity: 0;
  background: var(--color-bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
}

.search-bar.active {
  max-height: 80px;
  opacity: 1;
  padding: 12px 0;
}

.search-bar form {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  gap: 10px;
}

.search-bar input {
  flex: 1;
  padding: 10px 18px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: var(--color-surface);
  color: var(--color-text);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.search-bar input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(233, 69, 96, 0.12);
}

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

.search-bar button {
  padding: 10px 28px;
  background: var(--gradient-accent);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius-xl);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

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

.search-bar button:active {
  transform: translateY(0);
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 20px 0;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

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

.breadcrumb li + li::before {
  content: '/';
  color: var(--color-text-muted);
  margin-right: 2px;
}

.breadcrumb a {
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
}

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

/* ===== HERO ===== */
.hero {
  max-width: var(--max-width);
  margin: 20px auto 0;
  padding: 0 20px;
  position: relative;
}

.hero-slider {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px var(--color-shadow-lg);
}

.slide {
  display: none;
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.slide.active {
  display: block;
  opacity: 1;
  animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(1.02); }
  to { opacity: 1; transform: scale(1); }
}

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

.slider-prev,
.slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  z-index: 10;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.slider-prev { left: 16px; }
.slider-next { right: 16px; }

.slider-prev:hover,
.slider-next:hover {
  background: rgba(233, 69, 96, 0.8);
  transform: translateY(-50%) scale(1.1);
  border-color: transparent;
}

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

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transition: all var(--transition-base);
  border: none;
}

.dot.active {
  width: 28px;
  border-radius: 6px;
  background: var(--color-gold);
  box-shadow: 0 0 12px rgba(240, 192, 64, 0.6);
}

.dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

.hero-content {
  text-align: center;
  padding: 48px 20px 40px;
}

.hero-content h1 {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--color-text);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  animation: slideUp 0.7s ease forwards;
}

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

.hero-lead {
  max-width: 800px;
  margin: 0 auto 36px;
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  line-height: 1.9;
  animation: slideUp 0.7s 0.1s ease both;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 800px;
  margin: 0 auto 40px;
  animation: slideUp 0.7s 0.2s ease both;
}

.stat-item {
  background: var(--gradient-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-bg-glass-border);
  border-radius: var(--radius-md);
  padding: 20px 12px;
  text-align: center;
  transition: all var(--transition-base);
  box-shadow: 0 4px 20px var(--color-shadow);
}

.stat-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px var(--color-shadow-lg);
  border-color: var(--color-accent);
}

.stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.cta-button {
  display: inline-block;
  padding: 16px 48px;
  background: var(--gradient-accent);
  color: #fff !important;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
  box-shadow: 0 8px 30px rgba(233, 69, 96, 0.35);
  animation: slideUp 0.7s 0.3s ease both;
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
}

.cta-button:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 44px rgba(233, 69, 96, 0.5);
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:active {
  transform: translateY(-1px) scale(1);
}

/* ===== SECTIONS COMMON ===== */
main > section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px 20px;
  animation: fadeInUp 0.7s ease both;
}

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

main > section h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 3px solid transparent;
  border-image: var(--gradient-accent) 1;
  border-image-slice: 0 0 1 0;
  position: relative;
  letter-spacing: -0.3px;
}

main > section h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 32px 0 14px;
  padding-left: 14px;
  border-left: 4px solid var(--color-accent);
  line-height: 1.4;
}

main > section h4 {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  margin: 22px 0 10px;
}

main > section p {
  color: var(--color-text-secondary);
  margin-bottom: 14px;
  line-height: 1.9;
}

main > section ul {
  margin: 14px 0;
  padding-left: 0;
}

main > section ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  color: var(--color-text-secondary);
  line-height: 1.8;
}

main > section ul li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient-accent);
  flex-shrink: 0;
}

main > section strong {
  color: var(--color-text);
  font-weight: 600;
}

/* ===== ABOUT ===== */
#about {
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  margin-top: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 30px var(--color-shadow);
}

#about ul li strong {
  color: var(--color-accent);
}

/* ===== PRODUCTS ===== */
#products {
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
  box-shadow: 0 4px 30px var(--color-shadow);
}

/* ===== SOLUTIONS ===== */
#solutions {
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
  box-shadow: 0 4px 30px var(--color-shadow);
}

/* ===== CASES ===== */
#cases {
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
  box-shadow: 0 4px 30px var(--color-shadow);
}

#cases blockquote {
  background: var(--gradient-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-bg-glass-border);
  border-left: 4px solid var(--color-gold);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 16px 0;
  position: relative;
  transition: all var(--transition-base);
  box-shadow: 0 4px 20px var(--color-shadow);
}

#cases blockquote:hover {
  transform: translateX(6px);
  box-shadow: 0 8px 32px var(--color-shadow-lg);
  border-left-color: var(--color-accent);
}

#cases blockquote p {
  margin: 0;
  font-style: italic;
  color: var(--color-text-secondary);
  font-size: 0.98rem;
}

#cases blockquote::before {
  content: '\201C';
  position: absolute;
  top: -8px;
  left: 12px;
  font-size: 3rem;
  color: var(--color-gold);
  opacity: 0.3;
  font-family: Georgia, serif;
  line-height: 1;
}

/* ===== NEWS ===== */
#news {
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
  box-shadow: 0 4px 30px var(--color-shadow);
}

#news article {
  background: var(--gradient-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-bg-glass-border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 16px;
  transition: all var(--transition-base);
  box-shadow: 0 4px 20px var(--color-shadow);
}

#news article:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--color-shadow-lg);
  border-color: var(--color-accent);
}

#news article h3 {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 8px;
  padding: 0;
  border: none;
}

#news article time {
  display: inline-block;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-bottom: 10px;
  padding: 2px 10px;
  background: rgba(233, 69, 96, 0.08);
  border-radius: var(--radius-sm);
}

#news article p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.85;
}

/* ===== ARTICLES ===== */
#articles {
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
  box-shadow: 0 4px 30px var(--color-shadow);
}

#articles article {
  background: var(--gradient-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-bg-glass-border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 16px;
  transition: all var(--transition-base);
  box-shadow: 0 4px 20px var(--color-shadow);
  position: relative;
  overflow: hidden;
}

#articles article::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--transition-base);
}

#articles article:hover::before {
  transform: scaleY(1);
}

#articles article:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--color-shadow-lg);
}

#articles article h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 8px;
  padding: 0;
  border: none;
}

#articles article time {
  display: inline-block;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-bottom: 10px;
  padding: 2px 10px;
  background: rgba(240, 192, 64, 0.1);
  border-radius: var(--radius-sm);
}

#articles article p {
  margin: 0 0 12px;
  font-size: 0.95rem;
  line-height: 1.85;
}

#articles article a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-accent);
  transition: all var(--transition-fast);
}

#articles article a::after {
  content: '\2192';
  transition: transform var(--transition-fast);
}

#articles article a:hover {
  color: var(--color-accent-hover);
}

#articles article a:hover::after {
  transform: translateX(4px);
}

/* ===== HOWTO ===== */
#howto {
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
  box-shadow: 0 4px 30px var(--color-shadow);
}

#howto ol {
  counter-reset: step;
  margin: 14px 0;
}

#howto ol li {
  position: relative;
  padding-left: 44px;
  margin-bottom: 14px;
  color: var(--color-text-secondary);
  line-height: 1.8;
  counter-increment: step;
}

#howto ol li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 2px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gradient-accent);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(233, 69, 96, 0.3);
}

/* ===== FAQ ===== */
#faq {
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
  box-shadow: 0 4px 30px var(--color-shadow);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-list details {
  background: var(--gradient-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-bg-glass-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-base);
  box-shadow: 0 4px 20px var(--color-shadow);
}

.faq-list details[open] {
  border-color: var(--color-accent);
  box-shadow: 0 8px 32px var(--color-shadow-lg);
}

.faq-list details:hover {
  border-color: var(--color-accent);
}

.faq-list summary {
  padding: 18px 24px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-text);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: background var(--transition-fast);
  position: relative;
}

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

.faq-list summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--color-accent);
  transition: transform var(--transition-base);
  flex-shrink: 0;
  line-height: 1;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(233, 69, 96, 0.08);
}

.faq-list details[open] summary::after {
  content: '\2212';
  transform: rotate(180deg);
  background: var(--color-accent);
  color: #fff;
}

.faq-list summary:hover {
  background: var(--color-surface-hover);
}

.faq-list details p {
  padding: 0 24px 20px;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--color-text-secondary);
  animation: fadeIn 0.3s ease;
}

/* ===== CONTACT ===== */
#contact {
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
  box-shadow: 0 4px 30px var(--color-shadow);
}

#contact address {
  background: var(--gradient-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-bg-glass-border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 16px 0;
  box-shadow: 0 4px 20px var(--color-shadow);
}

#contact address p {
  margin-bottom: 10px;
  font-size: 0.95rem;
}

#contact address p:last-child {
  margin-bottom: 0;
}

#contact ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 10px;
}

#contact ul li {
  padding: 12px 16px;
  background: var(--gradient-card);
  border: 1px solid var(--color-bg-glass-border);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  box-shadow: 0 2px 10px var(--color-shadow);
}

#contact ul li::before {
  display: none;
}

#contact ul li:hover {
  transform: translateY(-2px);
  border-color: var(--color-accent);
  box-shadow: 0 6px 20px var(--color-shadow-lg);
}

#contact ul li {
  padding-left: 16px;
}

/* ===== SITEMAP ===== */
#sitemap {
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
  box-shadow: 0 4px 30px var(--color-shadow);
}

#sitemap > ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 8px;
}

#sitemap > ul > li {
  padding-left: 0;
}

#sitemap > ul > li::before {
  display: none;
}

#sitemap > ul > li > a {
  display: block;
  padding: 10px 16px;
  background: var(--gradient-card);
  border: 1px solid var(--color-bg-glass-border);
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--color-text);
  transition: all var(--transition-fast);
  box-shadow: 0 2px 10px var(--color-shadow);
}

#sitemap > ul > li > a:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--color-shadow-lg);
}

#sitemap ul ul {
  margin: 6px 0 0 12px;
  padding-left: 12px;
  border-left: 2px solid var(--color-border);
}

#sitemap ul ul li {
  padding-left: 0;
  margin-bottom: 4px;
}

#sitemap ul ul li::before {
  display: none;
}

#sitemap ul ul a {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  padding: 4px 0;
  display: block;
  transition: color var(--transition-fast);
}

#sitemap ul ul a:hover {
  color: var(--color-accent);
}

/* ===== LINKS ===== */
#links {
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
  box-shadow: 0 4px 30px var(--color-shadow);
}

#links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#links ul li {
  padding-left: 0;
}

#links ul li::before {
  display: none;
}

#links ul a {
  display: inline-block;
  padding: 8px 18px;
  background: var(--gradient-card);
  border: 1px solid var(--color-bg-glass-border);
  border-radius: var(--radius-xl);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: all var(--transition-fast);
  box-shadow: 0 2px 10px var(--color-shadow);
}

#links ul a:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px var(--color-shadow-lg);
}

/* ===== LEGAL ===== */
#legal {
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
  box-shadow: 0 4px 30px var(--color-shadow);
}

/* ===== FOOTER ===== */
#site-footer {
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.85);
  margin-top: 40px;
  position: relative;
  overflow: hidden;
}

#site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-accent);
}

[data-theme="dark"] #site-footer {
  background: #0a0a16;
}

.footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 20px 32px;
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1fr;
  gap: 36px;
}

.footer-section h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 10px;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 3px;
  background: var(--gradient-accent);
  border-radius: 2px;
}

.footer-section p {
  font-size: 0.88rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 8px;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  transition: all var(--transition-fast);
  display: inline-block;
}

.footer-section ul a:hover {
  color: var(--color-gold);
  transform: translateX(4px);
}

.footer-section address p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 6px;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 4px;
}

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

/* ===== BACK TO TOP ===== */
#back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(233, 69, 96, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
  z-index: 999;
}

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

#back-to-top:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 10px 36px rgba(233, 69, 96, 0.55);
}

#back-to-top:active {
  transform: translateY(-2px) scale(1);
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .hero-content h1 {
    font-size: 1.85rem;
  }

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

@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }

  #main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--color-bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-bg-glass-border);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base), opacity var(--transition-base);
    opacity: 0;
    z-index: 999;
  }

  #main-nav.open {
    max-height: 500px;
    opacity: 1;
    overflow-y: auto;
  }

  #main-nav ul {
    flex-direction: column;
    padding: 12px 20px 20px;
    gap: 2px;
  }

  #main-nav a {
    padding: 12px 16px;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
  }

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

  #mobile-menu-toggle {
    display: flex;
  }

  .hero-content h1 {
    font-size: 1.45rem;
  }

  .hero-lead {
    font-size: 0.95rem;
  }

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

  .stat-number {
    font-size: 1.4rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }

  main > section {
    padding: 40px 16px;
  }

  main > section h2 {
    font-size: 1.35rem;
  }

  main > section h3 {
    font-size: 1.1rem;
  }

  .slider-prev,
  .slider-next {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  .slider-prev { left: 10px; }
  .slider-next { right: 10px; }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 16px 24px;
  }

  .cta-button {
    padding: 14px 36px;
    font-size: 0.98rem;
  }

  .search-bar form {
    padding: 0 16px;
  }

  .breadcrumb {
    padding: 12px 16px 0;
  }

  #sitemap > ul {
    grid-template-columns: 1fr 1fr;
  }

  #contact ul {
    grid-template-columns: 1fr;
  }

  #back-to-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
  }

  .faq-list summary {
    padding: 14px 18px;
    font-size: 0.95rem;
  }

  .faq-list details p {
    padding: 0 18px 16px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.25rem;
  }

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

  .stat-item {
    padding: 14px 8px;
  }

  .stat-number {
    font-size: 1.2rem;
  }

  .stat-label {
    font-size: 0.7rem;
  }

  #sitemap > ul {
    grid-template-columns: 1fr;
  }

  #links ul {
    flex-direction: column;
  }

  #links ul a {
    text-align: center;
  }

  .footer-bottom p {
    font-size: 0.75rem;
  }

  .hero-content {
    padding: 32px 12px 28px;
  }

  main > section {
    padding: 32px 14px;
  }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent);
}

/* ===== SELECTION ===== */
::selection {
  background: var(--color-accent);
  color: #fff;
}

/* ===== FOCUS VISIBLE ===== */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}