/* 89bd bet - Emerald Trust Gaming UI - Design System */
:root {
  --color-primary: #14b8a6;
  --color-primary-dark: #0d9488;
  --color-primary-soft: rgba(20,184,166,.12);
  --color-secondary: #a7f3d0;
  --color-accent: #fbbf24;
  --color-bg: #0f172a;
  --color-bg-soft: rgba(255,255,255,.03);
  --color-surface: rgba(255,255,255,.08);
  --color-surface-strong: rgba(255,255,255,.14);
  --color-card: rgba(255,255,255,.1);
  --color-card-alt: rgba(20,184,166,.08);
  --color-border: rgba(167,243,208,.18);
  --color-border-strong: rgba(20,184,166,.35);
  --color-text: #e6fffb;
  --color-text-soft: #d6f5f0;
  --color-text-muted: #94a3b8;
  --color-footer-bg: rgba(255,255,255,.04);
  --color-footer-text: #c7d2fe;
  --gradient-hero: linear-gradient(135deg, rgba(20,184,166,.15) 0%, rgba(15,23,42,.95) 60%);
  --gradient-button: linear-gradient(135deg, #14b8a6, #0ea5a5);
  --gradient-button-hover: linear-gradient(135deg, #0ea5a5, #14b8a6);
  --gradient-cta: linear-gradient(135deg, rgba(20,184,166,.2), rgba(167,243,208,.08));
  --shadow-header: 0 2px 20px rgba(0,0,0,.3);
  --shadow-card: 0 8px 32px rgba(0,0,0,.2);
  --shadow-card-hover: 0 12px 40px rgba(0,0,0,.3);
  --shadow-button: 0 4px 14px rgba(20,184,166,.25);
  --shadow-soft: 0 4px 16px rgba(0,0,0,.12);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --radius-pill: 999px;
  --motion-fast: .15s;
  --motion-normal: .3s;
  --ease-out: cubic-bezier(.22,1,.36,1);
  --header-h: 72px;
  --font-base: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, "Noto Sans Bengali", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-base);
  background: radial-gradient(circle at top right, rgba(20,184,166,.15), transparent 30%),
              radial-gradient(circle at left center, rgba(167,243,208,.1), transparent 28%),
              linear-gradient(180deg, #0f172a 0%, #111c34 100%);
  background-attachment: fixed;
  color: var(--color-text);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; border-radius: var(--radius-md); }
a { color: var(--color-secondary); text-decoration: none; transition: color var(--motion-fast); }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }

/* Containers */
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.container-wide { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 20px; }
.section-pad { padding: 72px 0; }
.bg-soft { background: var(--color-bg-soft); }

/* ============ HEADER ============ */
.site-header {
  position: sticky; top: 0; z-index: 1000; width: 100%;
  background: rgba(15,23,42,.82);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-header);
}
.header-inner {
  width: 100%; max-width: none;
  padding-left: clamp(10px, 1.2vw, 20px);
  padding-right: clamp(10px, 1.2vw, 20px);
  min-height: var(--header-h);
  display: flex; align-items: center;
  gap: clamp(10px, 1vw, 18px);
}
.brand-wrap { flex: 0 0 auto; margin-right: clamp(4px, .8vw, 14px); }
.site-logo {
  display: block; width: auto;
  height: clamp(32px, 3vw, 42px);
  max-width: clamp(118px, 10vw, 168px);
  object-fit: contain; border-radius: 0;
}
.primary-nav {
  flex: 1 1 auto; min-width: 0;
  display: flex; align-items: center; justify-content: center;
  flex-wrap: nowrap; gap: clamp(6px, .72vw, 14px);
  white-space: nowrap; overflow: visible;
}
.primary-nav a {
  flex: 0 1 auto; min-width: 0;
  padding: 9px clamp(6px, .65vw, 12px);
  font-size: clamp(13px, .84vw, 15px);
  line-height: 1; white-space: nowrap;
  color: var(--color-text); font-weight: 600;
  border-radius: var(--radius-sm);
  transition: background var(--motion-fast), color var(--motion-fast);
}
.primary-nav a:hover { background: var(--color-primary-soft); color: var(--color-secondary); }
.header-actions {
  flex: 0 0 auto; margin-left: auto;
  display: flex; align-items: center; justify-content: flex-end;
  gap: clamp(6px, .6vw, 10px); white-space: nowrap;
}
.btn { display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 18px; border-radius: var(--radius-pill); font-weight: 700;
  font-size: 14px; cursor: pointer; border: none;
  transition: all var(--motion-fast) var(--ease-out); text-decoration: none;
  min-height: 42px; white-space: nowrap;
}
.btn-login { background: rgba(255,255,255,.08); color: var(--color-secondary); border: 1px solid var(--color-border); }
.btn-login:hover { background: rgba(255,255,255,.15); color: #fff; }
.btn-register { background: var(--gradient-button); color: #fff; box-shadow: var(--shadow-button); }
.btn-register:hover { background: var(--gradient-button-hover); transform: translateY(-1px); }
.btn-primary-main { background: var(--gradient-button); color: #fff; box-shadow: var(--shadow-button); padding: 14px 28px; font-size: 16px; }
.btn-primary-main:hover { background: var(--gradient-button-hover); transform: translateY(-2px); color: #fff; }
.btn-outline-main { background: rgba(255,255,255,.05); color: var(--color-secondary); border: 1px solid var(--color-border); padding: 14px 28px; font-size: 16px; }
.btn-outline-main:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-full { width: 100%; text-align: center; }
.nav-toggle { display: none; flex: 0 0 40px; width: 40px; height: 40px;
  align-items: center; justify-content: center; cursor: pointer;
  background: none; border: none; padding: 8px; border-radius: var(--radius-sm); margin-left: 2px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--color-text);
  margin: 4px auto; border-radius: 2px; transition: all var(--motion-normal); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

/* Mobile menu */
.mobile-menu {
  display: none; position: fixed; left: 12px; right: 12px; top: calc(var(--header-h) + 8px);
  flex-direction: column; gap: 0; padding: 16px;
  background: rgba(15,23,42,.96); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card); max-height: calc(100vh - 96px); overflow-y: auto; z-index: 999;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a { padding: 14px 16px; color: var(--color-text); font-weight: 600; font-size: 15px;
  border-radius: var(--radius-sm); transition: background var(--motion-fast); }
.mobile-menu a:hover { background: var(--color-primary-soft); color: var(--color-secondary); }

@media (max-width: 1180px) {
  .site-header .header-inner {
    width: 100%; max-width: none;
    padding-left: clamp(8px, 2.4vw, 14px); padding-right: clamp(8px, 2.4vw, 14px);
    justify-content: flex-start; gap: clamp(6px, 1.8vw, 10px);
  }
  .brand-wrap { flex: 0 1 auto; margin-right: 0; }
  .site-logo { height: clamp(30px, 8vw, 40px); max-width: clamp(104px, 27vw, 138px); }
  .primary-nav { display: none; }
  .header-actions { margin-left: auto; flex: 0 0 auto; gap: clamp(5px, 1.6vw, 8px); }
  .header-actions .btn { min-height: 40px; padding-inline: clamp(10px, 2.6vw, 14px); font-size: clamp(12px, 3.2vw, 14px); }
  .nav-toggle { display: inline-flex; flex: 0 0 40px; width: 40px; height: 40px; }
}
@media (max-width: 375px) {
  .site-header .header-inner { padding-left: 8px; padding-right: 8px; gap: 6px; }
  .site-logo { max-width: 104px; }
  .header-actions .btn { min-height: 38px; padding-inline: 9px; font-size: 12px; }
  .nav-toggle { flex-basis: 38px; width: 38px; height: 38px; }
}

/* ============ GLASS CARD ============ */
.glass-card {
  background: var(--color-card); border: 1px solid var(--color-border);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow-card); transition: box-shadow var(--motion-normal), transform var(--motion-normal);
}
.glass-card:hover { box-shadow: var(--shadow-card-hover); }

/* ============ HERO ============ */
.home-hero { padding: 110px 0 72px; background: var(--gradient-hero); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .5rem 1rem; border-radius: var(--radius-pill);
  background: var(--color-primary-soft); border: 1px solid var(--color-border);
  color: var(--color-secondary); font-size: .9rem; font-weight: 600; margin-bottom: 16px;
}
.home-hero h1 { font-size: clamp(28px, 3.5vw, 48px); font-weight: 800; line-height: 1.2; margin-bottom: 20px; }
.hero-lead { font-size: 17px; color: var(--color-text-soft); line-height: 1.85; margin-bottom: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 24px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 18px; }
.hero-trust span { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--color-text-muted); }
.hero-trust i { color: var(--color-primary); }
.hero-visual { border-radius: var(--radius-xl); overflow: hidden; }
.hero-img { width: 100%; border-radius: var(--radius-xl); border: 1px solid var(--color-border); box-shadow: var(--shadow-card); }

@media (max-width: 900px) {
  .home-hero { padding: 88px 0 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-visual { max-width: 500px; margin: 0 auto; }
}

/* ============ SECTION HEADER ============ */
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: clamp(24px, 2.8vw, 38px); font-weight: 800; line-height: 1.25; margin-top: 12px; }
.chip {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .4rem .85rem; border-radius: var(--radius-pill);
  background: var(--color-primary-soft); border: 1px solid var(--color-border);
  color: var(--color-secondary); font-size: .88rem; font-weight: 600;
}

/* ============ SPLIT BLOCK ============ */
.split-block { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split-block.reverse { direction: rtl; }
.split-block.reverse > * { direction: ltr; }
.split-text h2 { font-size: clamp(22px, 2.5vw, 34px); font-weight: 800; line-height: 1.25; margin-bottom: 18px; }
.split-text p { font-size: 16px; line-height: 1.85; color: var(--color-text-soft); margin-bottom: 16px; }
.split-visual img { border: 1px solid var(--color-border); box-shadow: var(--shadow-card); }
@media (max-width: 900px) {
  .split-block { grid-template-columns: 1fr; gap: 24px; }
  .split-block.reverse { direction: ltr; }
}

/* ============ FEATURE GRID ============ */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-card { text-align: center; padding: 28px 20px; }
.feature-card i { font-size: 2rem; color: var(--color-secondary); margin-bottom: 14px; }
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--color-text-soft); line-height: 1.7; }
@media (max-width: 1024px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }

/* ============ TABLE ============ */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th, .data-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--color-border); font-size: 15px; }
.data-table th { color: var(--color-secondary); font-weight: 700; }
.data-table td { color: var(--color-text-soft); }

/* ============ CALLOUT ============ */
.callout-card { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.callout-content { flex: 1 1 60%; }
.callout-content h2 { font-size: clamp(20px, 2vw, 28px); font-weight: 700; margin-bottom: 14px; }
.callout-content h2 i { margin-right: 10px; color: var(--color-primary); }
.callout-content p { color: var(--color-text-soft); line-height: 1.85; }
.callout-action { flex: 0 0 auto; }

/* ============ REVIEWS ============ */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card { padding: 24px; }
.review-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.review-stars { color: var(--color-accent); font-size: 14px; }
.review-card small { color: var(--color-text-muted); }
.review-card p { margin-top: 14px; font-size: 15px; color: var(--color-text-soft); line-height: 1.75; }
@media (max-width: 900px) { .review-grid { grid-template-columns: 1fr; } }

/* ============ PLANS ============ */
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.plan-card { text-align: center; padding: 32px 24px; position: relative; }
.plan-card h3 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.plan-level { display: block; font-size: 28px; font-weight: 800; color: var(--color-secondary); margin-bottom: 20px; }
.plan-card ul { list-style: none; text-align: left; margin-bottom: 24px; }
.plan-card li { padding: 8px 0; font-size: 15px; color: var(--color-text-soft); border-bottom: 1px solid rgba(255,255,255,.06); }
.plan-card li::before { content: "✓ "; color: var(--color-primary); font-weight: 700; }
.plan-highlight { border-color: var(--color-border-strong); transform: translateY(-8px); }
.plan-badge { position: absolute; top: -12px; right: 20px; background: var(--gradient-button);
  color: #fff; padding: 4px 14px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 700; }
@media (max-width: 900px) { .plans-grid { grid-template-columns: 1fr; } .plan-highlight { transform: none; } }

/* ============ GALLERY ============ */
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.gallery-img { border: 1px solid var(--color-border); box-shadow: var(--shadow-card); }
@media (max-width: 600px) { .gallery-grid { grid-template-columns: 1fr; } }

/* ============ FAQ ============ */
.faq-list { padding: 8px; }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-item:last-child { border-bottom: none; }
.faq-toggle {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 18px 12px; background: none; border: none; cursor: pointer;
  color: var(--color-text); font-size: 16px; font-weight: 600; text-align: left;
  font-family: inherit; transition: color var(--motion-fast);
}
.faq-toggle:hover { color: var(--color-secondary); }
.faq-toggle i { transition: transform var(--motion-normal); color: var(--color-primary); flex-shrink: 0; margin-left: 12px; }
.faq-toggle[aria-expanded="true"] i { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height var(--motion-normal) var(--ease-out); }
.faq-answer p { padding: 0 12px 18px; font-size: 15px; color: var(--color-text-soft); line-height: 1.85; }
.faq-item.is-open .faq-answer { max-height: 500px; }
.faq-groups { display: flex; flex-direction: column; gap: 36px; }
.faq-group h2 { font-size: clamp(20px, 2vw, 28px); font-weight: 800; margin-bottom: 16px; }

/* ============ CTA ============ */
.cta-card { text-align: center; padding: 48px 32px; background: var(--gradient-cta); }
.cta-card h2 { font-size: clamp(22px, 2.5vw, 34px); font-weight: 800; margin-bottom: 16px; }
.cta-card p { color: var(--color-text-soft); max-width: 600px; margin: 0 auto 24px; line-height: 1.85; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ============ PAGE INTRO ============ */
.page-intro { padding: 100px 0 36px; }
.breadcrumb-nav { font-size: 14px; color: var(--color-text-muted); margin-bottom: 16px; }
.breadcrumb-nav a { color: var(--color-secondary); }
.breadcrumb-nav .sep { margin: 0 6px; color: var(--color-text-muted); }
.page-intro h1 { font-size: clamp(24px, 3vw, 40px); font-weight: 800; line-height: 1.25; margin-bottom: 16px; }
.page-lead { font-size: 17px; color: var(--color-text-soft); line-height: 1.85; max-width: 820px; }
.intro-card { margin-top: 20px; }
.intro-card h1 { margin-top: 16px; }
.intro-split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; margin-top: 20px; }
@media (max-width: 900px) { .intro-split { grid-template-columns: 1fr; } .page-intro { padding: 84px 0 24px; } }

/* ============ CONTENT SECTIONS ============ */
.content-section h2 { font-size: clamp(22px, 2.5vw, 34px); font-weight: 800; line-height: 1.25; margin-bottom: 18px; }
.prose-block { max-width: 820px; }
.prose-block h2 { margin-bottom: 18px; }
.prose-block h3 { font-size: clamp(18px, 1.8vw, 24px); font-weight: 700; margin: 28px 0 12px; color: var(--color-secondary); }
.prose-block p { font-size: 16px; line-height: 1.85; color: var(--color-text-soft); margin-bottom: 16px; }
.highlight-card { background: var(--color-surface-strong); border-color: var(--color-border-strong); }
.styled-list { list-style: none; margin-top: 16px; }
.styled-list li { padding: 10px 0; font-size: 15px; color: var(--color-text-soft); border-bottom: 1px solid rgba(255,255,255,.06); }
.styled-list li::before { content: "→ "; color: var(--color-primary); font-weight: 700; }

/* Info grid */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
.info-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; color: var(--color-secondary); }
.info-card p { font-size: 14px; line-height: 1.75; color: var(--color-text-soft); }
@media (max-width: 768px) { .info-grid { grid-template-columns: 1fr; } }

/* Step flow */
.step-flow { display: flex; flex-direction: column; gap: 24px; margin-top: 24px; }
.step-item { display: flex; gap: 20px; align-items: flex-start; }
.step-num {
  flex: 0 0 48px; width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gradient-button); color: #fff; font-weight: 800; font-size: 18px;
  border-radius: 50%;
}
.step-item h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.step-item p { font-size: 15px; color: var(--color-text-soft); line-height: 1.75; }

/* Related grid */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0; }
.related-card { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; }
.related-card span { font-weight: 600; }
.related-card i { color: var(--color-primary); }
@media (max-width: 768px) { .related-grid { grid-template-columns: 1fr; } }

/* ============ POLICY ============ */
.policy-intro { padding-bottom: 24px; }
.policy-meta { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 16px; color: var(--color-text-muted); font-size: 14px; }
.policy-meta i { margin-right: 6px; color: var(--color-primary); }
.policy-notice { background: rgba(20,184,166,.08); border-color: var(--color-border-strong); margin-bottom: 28px; }
.policy-notice p { font-size: 15px; color: var(--color-text-soft); line-height: 1.75; }
.policy-toc { margin-bottom: 36px; }
.policy-toc h2 { font-size: 20px; margin-bottom: 12px; }
.policy-toc ul { list-style: none; }
.policy-toc li { padding: 6px 0; }
.policy-toc a { font-size: 15px; color: var(--color-secondary); font-weight: 600; }
.policy-content section { margin-bottom: 36px; }
.policy-content h2 { font-size: clamp(20px, 2vw, 28px); font-weight: 800; margin-bottom: 14px; padding-top: 12px; border-top: 1px solid var(--color-border); }
.policy-content p { font-size: 16px; line-height: 1.85; color: var(--color-text-soft); margin-bottom: 14px; }

/* ============ AUTH ============ */
.auth-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.auth-layout.reverse { direction: rtl; }
.auth-layout.reverse > * { direction: ltr; }
.auth-form-card h2 { font-size: 24px; font-weight: 800; margin-bottom: 10px; }
.auth-form-card p { font-size: 15px; color: var(--color-text-soft); margin-bottom: 20px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--color-text); }
.form-group input {
  width: 100%; padding: 12px 16px; background: rgba(255,255,255,.06);
  border: 1px solid var(--color-border); border-radius: var(--radius-sm);
  color: var(--color-text); font-size: 15px; font-family: inherit;
  transition: border-color var(--motion-fast), box-shadow var(--motion-fast);
}
.form-group input:focus { border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(20,184,166,.15); outline: none; }
.form-group input::placeholder { color: var(--color-text-muted); }
.auth-alt { text-align: center; margin-top: 16px; font-size: 14px; color: var(--color-text-muted); }
.auth-alt a { color: var(--color-secondary); font-weight: 600; }
.auth-trust-card { margin-bottom: 20px; }
.auth-trust-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.auth-trust-card i { color: var(--color-primary); margin-right: 6px; }
.auth-visual { border: 1px solid var(--color-border); box-shadow: var(--shadow-card); }
.benefit-grid { display: flex; flex-direction: column; gap: 16px; margin-bottom: 20px; }
.benefit-card i { font-size: 1.5rem; color: var(--color-secondary); margin-bottom: 8px; }
.benefit-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.benefit-card p { font-size: 14px; color: var(--color-text-soft); line-height: 1.7; }
@media (max-width: 900px) {
  .auth-layout { grid-template-columns: 1fr; }
  .auth-layout.reverse { direction: ltr; }
}

/* ============ VALUE GRID ============ */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-card { text-align: center; padding: 28px 20px; }
.value-card i { font-size: 2.2rem; color: var(--color-secondary); margin-bottom: 14px; }
.value-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.value-card p { font-size: 14px; color: var(--color-text-soft); line-height: 1.75; }
@media (max-width: 768px) { .value-grid { grid-template-columns: 1fr; } }

/* ============ 404 ============ */
.error-section { padding: 140px 0 80px; text-align: center; }
.error-card h1 { font-size: clamp(72px, 10vw, 120px); font-weight: 800; color: var(--color-primary); line-height: 1; margin-bottom: 12px; }
.error-card h2 { font-size: clamp(22px, 3vw, 32px); font-weight: 700; margin-bottom: 16px; }
.error-card p { color: var(--color-text-soft); max-width: 500px; margin: 0 auto 24px; }

/* ============ FOOTER ============ */
.site-footer { border-top: 1px solid var(--color-border); background: var(--color-footer-bg); padding-top: 48px; }
.footer-inner { max-width: 1140px; margin: 0 auto; padding: 0 20px;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; }
.footer-brand { }
.footer-logo-wrap { display: inline-block; margin-bottom: 16px; }
.footer-logo-wrap img { border-radius: 0; }
.footer-desc { font-size: 14px; color: var(--color-footer-text); line-height: 1.75; margin-bottom: 12px; }
.footer-email { font-size: 14px; color: var(--color-text-muted); }
.footer-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.footer-col h4 { font-size: 15px; font-weight: 700; color: var(--color-text); margin-bottom: 14px; }
.footer-col a { display: block; padding: 5px 0; font-size: 14px; color: var(--color-footer-text);
  transition: color var(--motion-fast); }
.footer-col a:hover { color: #fff; }
.footer-bottom { max-width: 1140px; margin: 36px auto 0; padding: 20px;
  border-top: 1px solid var(--color-border); text-align: center; }
.footer-bottom p { font-size: 13px; color: var(--color-text-muted); }
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) { .footer-links { grid-template-columns: 1fr; } }

/* ============ SWIPER DEGRADE ============ */
.swiper:not(.swiper-initialized) { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; }
.swiper:not(.swiper-initialized) .swiper-slide { flex: 0 0 280px; scroll-snap-align: start; }

/* ============ AOS DEGRADE ============ */
[data-aos] { opacity: 1 !important; transform: none !important; }
