:root {
  --bg: #f8fafd;
  --bg-soft: #f0f4fa;
  --bg-elevated: #ffffff;
  --panel: rgba(255, 255, 255, 0.92);
  --panel-strong: rgba(255, 255, 255, 0.98);
  --line: rgba(15, 35, 70, 0.06);
  --line-strong: rgba(15, 35, 70, 0.1);
  --text: #1a2b4a;
  --heading: #0a1628;
  --muted: #5b6b86;
  --accent: #2563eb;
  --accent-2: #7c3aed;
  --success: #16a34a;
  --shadow: 0 1px 2px rgba(15, 30, 60, 0.04), 0 8px 32px rgba(15, 30, 60, 0.06);
  --shadow-soft: 0 1px 2px rgba(15, 30, 60, 0.03), 0 4px 16px rgba(15, 30, 60, 0.04);
  --shadow-hover: 0 1px 3px rgba(15, 30, 60, 0.06), 0 12px 40px rgba(15, 30, 60, 0.1);
  --radius: 16px;
  --radius-sm: 12px;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.lang-zh .lang-en,
body.lang-en .lang-zh {
  display: none !important;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(20px) saturate(1.2);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(15, 35, 70, 0.06);
}

.nav-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--heading);
  letter-spacing: 0.02em;
}

.brand-mark {
  display: block;
  width: 36px;
  height: 36px;
  border-radius: 0;
  background: none;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
  color: var(--heading);
  background: var(--bg-soft);
}

.nav-links a.active {
  color: var(--accent);
  background: rgba(37, 99, 235, 0.06);
  font-weight: 600;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-toggle,
.ghost-btn,
.primary-btn,
.filter-btn,
.float-btn {
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s ease;
}

.lang-toggle,
.ghost-btn,
.filter-btn,
.float-btn {
  color: var(--heading);
  background: #fff;
  border: 1px solid var(--line-strong);
}

.lang-toggle,
.ghost-btn,
.primary-btn,
.filter-btn {
  padding: 10px 20px;
}

.primary-btn {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 1px 2px rgba(37, 99, 235, 0.2);
}

.primary-btn:hover {
  background: #1d4ed8;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.nav-btn-ws {
  color: #fff;
  background: #25D366;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: background 0.2s, box-shadow 0.2s;
}
.nav-btn-ws:hover {
  background: #1da851;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}
.nav-btn-tg {
  color: #fff;
  background: #0088cc;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: background 0.2s, box-shadow 0.2s;
}
.nav-btn-tg:hover {
  background: #006da3;
  box-shadow: 0 4px 12px rgba(0, 136, 204, 0.3);
}
.nav-btn-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.ghost-btn:hover,
.filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(37, 99, 235, 0.04);
}

.card:hover,
.service-card:hover,
.case-card:hover,
.about-card:hover,
.faq-card:hover,
.form-card:hover,
.metric-card:hover,
.stat-card:hover,
.testimonial-card:hover,
.mini-case:hover {
  box-shadow: var(--shadow-hover);
  border-color: rgba(37, 99, 235, 0.12);
}

.hero,
.sub-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}

.hero-content,
.sub-hero-content {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 0;
  padding: 80px 0 64px;
  max-width: 860px;
  text-align: center;
}

.sub-hero-content {
  padding: 64px 0 48px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  margin-bottom: 20px;
  border-radius: 6px;
  background: rgba(37, 99, 235, 0.06);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero h1,
.sub-hero h1,
.section-header h2 {
  margin: 0;
  color: var(--heading);
  letter-spacing: -0.02em;
}

.hero h1 {
  font-size: clamp(32px, 4.5vw, 48px);
  line-height: 1.25;
  max-width: 22ch;
  margin: 0 auto 20px;
  font-weight: 800;
}

.sub-hero h1 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.25;
  margin: 0 auto 16px;
  font-weight: 800;
}

.section-header h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  margin-bottom: 10px;
  font-weight: 700;
}

.hero p,
.sub-hero p,
.section-lead,
.muted,
.faq-card p {
  color: var(--muted);
}

.hero p,
.sub-hero p,
.section-lead {
  font-size: 16px;
  max-width: 60ch;
  margin: 0 auto 28px;
  line-height: 1.75;
  text-align: center;
}

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

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-btn-icon {
  width: 22px;
  height: 22px;
  flex: none;
}

.hero-ws {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
}

.hero-ws:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5);
}

.hero-tg {
  background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
  box-shadow: 0 4px 16px rgba(34, 158, 217, 0.4);
}

.hero-tg:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(34, 158, 217, 0.5);
}

.hero-metrics,
.mini-stats,
.stats-grid,
.grid-3,
.grid-4,
.services-grid,
.case-grid,
.faq-grid {
  display: grid;
  gap: 20px;
}

.hero-metrics,
.mini-stats,
.stats-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

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

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

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

.metric-card,
.stat-card,
.card,
.service-card,
.case-card,
.faq-card,
.about-card,
.form-card,
.contact-card,
.timeline-step,
.testimonial-card,
.mini-case,
.logo-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.metric-card,
.stat-card,
.card,
.service-card,
.case-card,
.faq-card,
.about-card,
.form-card,
.timeline-step {
  padding: 24px;
}

.contact-card {
  padding: 28px;
}

.metric-card strong,
.stat-card strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 4px;
  color: var(--accent);
}

/* Hidden elements */
.hero-visual,
.dashboard-mock,
.feature-art,
.preview-panel,
.case-cover {
  display: none !important;
}

/* Text-only case card header */
.case-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.case-header .case-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.06);
  color: var(--accent);
  flex: none;
}

.case-header .case-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent);
  background: rgba(37, 99, 235, 0.06);
  padding: 4px 12px;
  border-radius: 20px;
}

/* Case card text-only optimizations */
.case-card {
  position: relative;
  padding: 24px;
  border-top: 2px solid var(--accent);
}

.case-card:nth-child(2) { border-top-color: #16a34a; }
.case-card:nth-child(3) { border-top-color: #7c3aed; }
.case-card:nth-child(4) { border-top-color: #0ea5e9; }
.case-card:nth-child(5) { border-top-color: #ea580c; }
.case-card:nth-child(6) { border-top-color: #ca8a04; }
.case-card:nth-child(7) { border-top-color: #2563eb; }
.case-card:nth-child(8) { border-top-color: #dc2626; }
.case-card:nth-child(9) { border-top-color: #059669; }
.case-card:nth-child(10) { border-top-color: #7c3aed; }

.case-card h3 {
  font-size: 17px;
  margin: 0 0 10px;
  line-height: 1.4;
}

.case-card .info-row {
  margin-bottom: 8px;
}

.case-card .muted {
  font-size: 14px;
  line-height: 1.72;
  margin-top: 10px;
}

/* Mini-case text-only */
.mini-case {
  min-width: 280px;
  border-top: 2px solid var(--accent);
}

.mini-case:nth-child(2) { border-top-color: #0ea5e9; }
.mini-case:nth-child(3) { border-top-color: #ea580c; }
.mini-case:nth-child(4) { border-top-color: #7c3aed; }
.mini-case:nth-child(5) { border-top-color: #16a34a; }
.mini-case:nth-child(6) { border-top-color: #581c87; }
.mini-case:nth-child(7) { border-top-color: #dc2626; }
.mini-case:nth-child(8) { border-top-color: #ca8a04; }
.mini-case:nth-child(9) { border-top-color: #d97706; }

.mini-case .case-header {
  margin-bottom: 10px;
}

.mini-case h3 {
  margin: 0 0 8px;
  font-size: 15px;
}

.mini-case .muted {
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}

/* Case grid: 3 columns for text cards */
.case-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Mock/image elements removed */

/* case-cover hidden globally via display:none */

.case-tag,
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.section {
  position: relative;
  padding: 80px 0;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section-header {
  margin-bottom: 36px;
  text-align: center;
}

.icon-badge,
.step-index {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  color: var(--accent);
  background: rgba(37, 99, 235, 0.06);
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-step {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 18px;
  align-items: start;
}

.split-layout,
.feature-row,
.contact-layout,
.about-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.scroll-row,
.testimonial-strip,
.logo-strip {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: thin;
}

.mini-case,
.testimonial-card,
.logo-item {
  min-width: 320px;
  padding: 24px;
}

.case-card button,
.mini-case button {
  width: 100%;
  text-align: left;
  color: inherit;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.case-card.hidden {
  display: none;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.filter-btn.active {
  color: #fff;
  border-color: transparent;
  background: var(--accent);
}

.info-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 16px;
}

.check-list,
.bullet-list,
.value-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.check-list li,
.bullet-list li,
.value-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--muted);
}

.check-list li::before,
.bullet-list li::before,
.value-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: 10px;
  border-radius: 999px;
  background: var(--accent);
  flex: none;
}

.faq-card details {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(18, 42, 82, 0.08);
}

.faq-card details:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.faq-card summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--heading);
}

/* ─── FAQ Accordion ─── */
.faq-accordion {
  max-width: 860px;
  margin: 0 auto;
}
.faq-group-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent);
  padding: 24px 0 10px;
  border-bottom: 2px solid rgba(37, 99, 235, 0.1);
  margin-bottom: 4px;
}
.faq-group-title:first-child {
  padding-top: 0;
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 0;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  color: var(--heading);
  line-height: 1.5;
  gap: 12px;
  -webkit-tap-highlight-color: transparent;
}
.faq-q:hover {
  color: var(--accent);
}
.faq-arrow {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--muted);
  transition: transform 0.25s;
}
.faq-item.open .faq-arrow {
  transform: rotate(180deg);
  color: var(--accent);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 0 0 0;
}
.faq-item.open .faq-a {
  max-height: 500px;
  padding: 0 0 18px 0;
}
.faq-a p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text);
}
.faq-a a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
@media (max-width: 820px) {
  .faq-q {
    font-size: 14px;
    padding: 15px 0;
  }
  .faq-a p {
    font-size: 13px;
  }
}

.form-card form {
  display: grid;
  gap: 16px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-size: 14px;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  color: var(--text);
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: #fff;
  outline: none;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.notice {
  padding: 14px 16px;
  border-radius: 10px;
  color: #0b6d36;
  background: rgba(22, 163, 74, 0.06);
  border: 1px solid rgba(22, 163, 74, 0.12);
  font-size: 14px;
}

.cta-box {
  padding: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.site-footer {
  padding: 34px 0 48px;
  color: var(--muted);
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(18, 42, 82, 0.08);
}

.floating-contact {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 38;
  display: grid;
  gap: 14px;
}

.float-btn {
  min-width: 150px;
  min-height: 48px;
  padding: 12px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  border-radius: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.float-btn .float-icon {
  width: 22px;
  height: 22px;
  flex: none;
}

.float-btn.whatsapp {
  color: #fff;
  background: #25D366;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.float-btn.whatsapp:hover {
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  transform: translateY(-2px);
}

.float-btn.telegram-btn {
  color: #fff;
  background: #229ED9;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(42, 171, 238, 0.25);
}

.float-btn.telegram-btn:hover {
  box-shadow: 0 6px 20px rgba(42, 171, 238, 0.35);
  transform: translateY(-2px);
}

.mobile-menu {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(10, 22, 40, 0.4);
  backdrop-filter: blur(12px);
}

.lightbox.open {
  display: grid;
}

.lightbox-dialog {
  width: min(640px, 100%);
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(10, 22, 40, 0.2);
}

.lightbox-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(18, 42, 82, 0.08);
}

.lightbox-body {
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

/* lightbox-preview min-height removed */

.lightbox-close {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--line);
  cursor: pointer;
  color: var(--muted);
  background: #fff;
  transition: background 0.15s, color 0.15s;
}

.lightbox-close:hover {
  background: var(--bg-soft);
  color: var(--heading);
}

.page-spacer {
  height: 20px;
}

@media (max-width: 1080px) {
  .split-layout,
  .feature-row,
  .contact-layout,
  .about-layout,
  .lightbox-body {
    grid-template-columns: 1fr;
  }

  .hero-metrics,
  .mini-stats,
  .stats-grid,
  .grid-4,
  .case-grid,
  .field-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .grid-3,
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(calc(100% - 24px), var(--max-width));
  }

  .nav-wrap {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 10px 0;
    min-height: 56px;
    gap: 10px;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 22px;
  }

  .nav-links.open {
    display: flex;
  }

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

  .nav-actions .primary-btn {
    padding: 8px 12px;
    font-size: 13px;
  }

  .nav-btn-ws,
  .nav-btn-tg {
    padding: 6px 10px;
    font-size: 12px;
    gap: 4px;
  }
  .nav-btn-icon {
    width: 14px;
    height: 14px;
  }

  .mobile-menu {
    display: inline-flex;
    padding: 8px 12px;
    font-size: 13px;
  }

  .hero-content,
  .sub-hero-content {
    padding: 48px 0 36px;
    max-width: 100%;
  }

  .hero h1 {
    font-size: clamp(22px, 6vw, 30px);
    max-width: none;
    line-height: 1.35;
  }

  .sub-hero h1,
  .section-header h2 {
    font-size: clamp(22px, 5.5vw, 28px);
  }

  .hero p,
  .sub-hero p,
  .section-lead {
    font-size: 14px;
    max-width: 100%;
    line-height: 1.7;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-btn {
    padding: 11px 22px;
    font-size: 14px;
    border-radius: 10px;
  }

  .hero-btn-icon {
    width: 18px;
    height: 18px;
  }

  .hero-metrics,
  .mini-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .metric-card {
    padding: 14px 10px;
  }

  .metric-card strong {
    font-size: 22px;
  }

  .metric-card span {
    font-size: 12px;
    line-height: 1.4;
  }

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

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

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

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

  .timeline-step {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 48px 0;
  }

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

@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .hero-metrics,
  .mini-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .metric-card {
    padding: 12px 8px;
  }

  .metric-card strong {
    font-size: 20px;
  }

  .stats-grid,
  .grid-4,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .hero-btn {
    padding: 10px 18px;
    font-size: 13px;
    gap: 6px;
  }

  .hero-btn-icon {
    width: 16px;
    height: 16px;
  }
}

.lightbox-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.lightbox-tags .tech-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  background: rgba(37, 99, 235, 0.06);
  color: var(--accent);
}

.filter-bar {
  flex-wrap: wrap;
}

/* ── Service card text-only design ── */
.service-card {
  position: relative;
}

/* Standalone category icon for service cards */
.service-card > .category-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  margin-bottom: 14px;
  background: rgba(37, 99, 235, 0.06);
  color: var(--accent);
}

/* Card h3 title */
.service-card h3 {
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 700;
}

/* case-cover removed */

/* Case card title styling */
.case-card h3 {
  font-size: 16px;
  margin: 12px 0 0;
  line-height: 1.4;
}

.case-card .muted {
  font-size: 13.5px;
  line-height: 1.6;
  margin-top: 8px;
}

/* Floating contact responsive - icon only on mobile */
@media (max-width: 820px) {
  .floating-contact {
    right: 10px;
    bottom: 70px;
    gap: 8px;
  }

  .float-btn {
    min-width: 0;
    width: 48px;
    height: 48px;
    min-height: 0;
    padding: 0;
    border-radius: 50%;
    font-size: 0;
    line-height: 0;
  }

  .float-btn .float-icon {
    width: 24px;
    height: 24px;
  }
}

/* ── P0: Mobile navigation overlay ── */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 35;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(2px);
}
.nav-overlay.active {
  display: block;
}

@media (max-width: 820px) {
  .nav-links a {
    padding: 12px 16px;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .nav-btn-ws,
  .nav-btn-tg {
    padding: 6px 8px;
    font-size: 0;
    gap: 0;
  }
  .nav-btn-ws .nav-btn-icon,
  .nav-btn-tg .nav-btn-icon {
    width: 18px;
    height: 18px;
  }
}

/* ── P0: iOS select zoom fix + form spacing ── */
select,
input,
textarea {
  font-size: 16px;
}

@media (max-width: 820px) {
  .field {
    margin-bottom: 14px;
  }
  .field-grid {
    gap: 14px;
  }
  .form-card .primary-btn[type="submit"] {
    position: sticky;
    bottom: 0;
    z-index: 10;
    margin-top: 16px;
    width: 100%;
    padding: 16px;
    font-size: 16px;
  }
}

/* ── Floating contact always visible ── */
.floating-contact {
  opacity: 1;
  transform: translateY(0);
}

/* ── P1: Tab filter for services ── */
.services-tab-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.services-tab-bar .tab-btn {
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.services-tab-bar .tab-btn.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.services-tab-bar .tab-btn:hover:not(.active) {
  border-color: var(--accent);
  color: var(--accent);
}
.services-grid .service-card[data-category] {
  transition: opacity 0.25s, transform 0.25s;
}
.services-grid .service-card.tab-hidden {
  display: none;
}

/* ── P1: Hot recommend strip ── */
.hot-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.hot-card {
  padding: 20px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}
.hot-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.hot-card .hot-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 10px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hot-card h4 {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 6px;
}
.hot-card .hot-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}
@media (max-width: 820px) {
  .hot-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}
@media (max-width: 480px) {
  .hot-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .hot-card {
    padding: 14px 10px;
  }
}

/* ── P2: Hero visual upgrade ── */
.hero {
  background: linear-gradient(135deg, #f0f5ff 0%, #e8f0fe 40%, #f8fafd 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(37, 99, 235, 0.04) 0%, transparent 70%);
  pointer-events: none;
}
.metric-card strong {
  color: var(--accent);
}

/* ── P2: Testimonial horizontal scroll ── */
.testimonial-strip {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 12px;
  scrollbar-width: thin;
}
.testimonial-card {
  min-width: 280px;
  max-width: 320px;
  flex-shrink: 0;
  scroll-snap-align: start;
  padding: 20px;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  border: 1px solid var(--line);
}
.testimonial-nav {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.testimonial-nav button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--muted);
  transition: all 0.2s;
}
.testimonial-nav button:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ── P2: Footer upgrade ── */
.site-footer {
  background: var(--heading);
  color: rgba(255, 255, 255, 0.85);
  padding: 48px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.footer-grid h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 12px;
}
.footer-grid p,
.footer-grid a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 2;
}
.footer-grid a:hover {
  color: #fff;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}
@media (max-width: 820px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}
@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* ── P3: Pricing reference table ── */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.pricing-table th,
.pricing-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.pricing-table th {
  font-weight: 700;
  color: var(--heading);
  background: var(--bg-soft);
}
.pricing-table tr:hover td {
  background: rgba(37, 99, 235, 0.03);
}
.pricing-table .cta-cell a {
  color: var(--accent);
  font-weight: 600;
}

/* ── P3: Trust badges ── */
.trust-section {
  padding: 48px 0;
  background: var(--bg-soft);
}
.tech-stack-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 32px;
}
.tech-badge {
  padding: 10px 20px;
  border-radius: 8px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--heading);
}
.guarantee-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.guarantee-card {
  text-align: center;
  padding: 20px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  border: 1px solid var(--line);
}
.guarantee-card .g-icon {
  font-size: 28px;
  margin-bottom: 8px;
}
.guarantee-card h4 {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 4px;
}
.guarantee-card p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
@media (max-width: 820px) {
  .guarantee-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .guarantee-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Service card color variants ── */
.service-card[data-color="purple"] > .category-icon {
  background: rgba(124, 58, 237, 0.08);
  color: #7c3aed;
}
.service-card[data-color="green"] > .category-icon {
  background: rgba(22, 163, 74, 0.08);
  color: #16a34a;
}
.service-card[data-color="orange"] > .category-icon {
  background: rgba(234, 88, 12, 0.08);
  color: #ea580c;
}
.service-card[data-color="red"] > .category-icon {
  background: rgba(220, 38, 38, 0.08);
  color: #dc2626;
}
.service-card[data-color="teal"] > .category-icon {
  background: rgba(13, 148, 136, 0.08);
  color: #0d9488;
}
.service-card[data-color="pink"] > .category-icon {
  background: rgba(219, 39, 119, 0.08);
  color: #db2777;
}

/* ── Knowledge Base ── */
.kb-hero {
  padding: 100px 0 36px;
  background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 50%, #c7d2fe 100%);
  position: relative;
  overflow: hidden;
}
.kb-hero::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.06);
}
.kb-hero h1 {
  font-size: 34px;
  font-weight: 800;
  margin: 14px 0 6px;
  letter-spacing: -0.5px;
}
.kb-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 4px;
}
.kb-count .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.kb-lead {
  color: var(--muted);
  font-size: 15px;
  max-width: 600px;
  margin: 0 0 28px;
  line-height: 1.7;
}
.breadcrumb {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.breadcrumb a {
  color: var(--accent);
  text-decoration: none;
}
.breadcrumb a:hover {
  text-decoration: underline;
}
.breadcrumb .sep {
  opacity: 0.4;
}
.kb-filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.kb-tag {
  padding: 8px 18px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text);
  white-space: nowrap;
}
.kb-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(37, 99, 235, 0.04);
}
.kb-tag.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}
.kb-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.kb-card {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--bg-elevated);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}
.kb-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.2);
}
.kb-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.kb-card-body {
  flex: 1;
  min-width: 0;
}
.kb-card-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--accent);
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}
.kb-card-body h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.45;
}
.kb-card-body p {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 12px;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.kb-card-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--muted);
  opacity: 0.65;
}
.kb-card-meta svg {
  vertical-align: -2px;
  margin-right: 3px;
}
.kb-cta-section {
  background: var(--bg-soft);
  padding: 56px 0;
}
.kb-cta-section h2 {
  font-size: 24px;
  margin-bottom: 8px;
}

/* ── Article page ── */
.article-header {
  padding: 100px 0 32px;
  background: linear-gradient(135deg, #f0f4ff 0%, #e8ecf8 100%);
}
.article-header h1 {
  font-size: 28px;
  font-weight: 800;
  margin: 16px 0 12px;
  line-height: 1.35;
  max-width: 720px;
}
.article-meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
  align-items: center;
}
.article-meta .tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 4px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--accent);
  font-weight: 600;
  font-size: 12px;
}
.article-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  align-items: start;
}
.article-body {
  max-width: 760px;
  line-height: 1.85;
  font-size: 15px;
  color: var(--text);
}
.article-body h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 40px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}
.article-body h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 28px 0 12px;
}
.article-body p {
  margin: 0 0 16px;
}
.article-body ul,
.article-body ol {
  margin: 0 0 16px;
  padding-left: 24px;
}
.article-body li {
  margin-bottom: 6px;
}
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 14px;
}
.article-body th,
.article-body td {
  padding: 10px 14px;
  border: 1px solid var(--border);
  text-align: left;
}
.article-body th {
  background: var(--bg-soft);
  font-weight: 700;
  font-size: 13px;
}
.article-body .tip-box {
  padding: 16px 20px;
  border-radius: var(--radius);
  margin: 20px 0;
  font-size: 14px;
  line-height: 1.7;
}
.article-body .tip-box.info {
  background: rgba(37, 99, 235, 0.06);
  border-left: 3px solid var(--accent);
}
.article-body .tip-box.warn {
  background: rgba(234, 88, 12, 0.06);
  border-left: 3px solid #ea580c;
}
.article-body .tip-box.success {
  background: rgba(22, 163, 74, 0.06);
  border-left: 3px solid #16a34a;
}
.article-body .tip-box strong {
  display: block;
  margin-bottom: 4px;
}
.article-sidebar {
  position: sticky;
  top: 80px;
}
.sidebar-block {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
}
.sidebar-block h4 {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 12px;
}
.sidebar-link {
  display: block;
  padding: 8px 0;
  font-size: 13px;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: color 0.15s;
}
.sidebar-link:last-child {
  border-bottom: none;
}
.sidebar-link:hover {
  color: var(--accent);
}
.article-cta {
  margin-top: 48px;
  padding: 32px;
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  border-radius: var(--radius);
  color: #fff;
  text-align: center;
}
.article-cta h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #fff;
}
.article-cta p {
  font-size: 14px;
  opacity: 0.9;
  margin: 0 0 20px;
}
.article-cta .cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.cta-btn:hover {
  transform: translateY(-1px);
}
.cta-ws {
  background: #25d366 !important;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}
.cta-ws:hover {
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}
.cta-tg {
  background: #26a5e4 !important;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(38, 165, 228, 0.35);
}
.cta-tg:hover {
  box-shadow: 0 6px 20px rgba(38, 165, 228, 0.45);
}
@media (max-width: 1080px) {
  .article-layout {
    grid-template-columns: 1fr;
  }
  .article-sidebar {
    position: static;
  }
}
@media (max-width: 820px) {
  .kb-grid {
    grid-template-columns: 1fr;
  }
  .kb-hero h1 {
    font-size: 26px;
  }
  .kb-filter-bar {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    gap: 6px;
  }
  .kb-tag {
    padding: 7px 14px;
    font-size: 12px;
  }
  .article-header h1 {
    font-size: 22px;
  }
  .article-layout {
    grid-template-columns: 1fr;
  }
  .article-sidebar {
    position: static;
  }
  .article-body table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}
@media (max-width: 480px) {
  .kb-card {
    padding: 16px;
    gap: 14px;
  }
  .kb-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
  }
  .kb-card-icon svg {
    width: 22px;
    height: 22px;
  }
  .kb-card-body h3 {
    font-size: 15px;
  }
  .kb-card-body p {
    font-size: 12px;
    -webkit-line-clamp: 3;
    margin-bottom: 8px;
  }
  .kb-hero {
    padding: 80px 0 24px;
  }
  .kb-hero h1 {
    font-size: 22px;
  }
  .kb-lead {
    font-size: 13px;
    margin-bottom: 20px;
  }
  .kb-cta-section {
    padding: 36px 0;
  }
  .kb-cta-section h2 {
    font-size: 20px;
  }
  .article-header {
    padding: 80px 0 20px;
  }
  .article-header h1 {
    font-size: 20px;
  }
  .article-meta {
    gap: 10px;
    font-size: 12px;
  }
  .article-body {
    font-size: 14px;
    line-height: 1.8;
  }
  .article-body h2 {
    font-size: 18px;
    margin: 32px 0 12px;
  }
  .article-body h3 {
    font-size: 15px;
    margin: 20px 0 10px;
  }
  .article-body th,
  .article-body td {
    padding: 8px 10px;
    font-size: 12px;
  }
  .article-body .tip-box {
    padding: 12px 14px;
    font-size: 13px;
  }
  .article-cta {
    padding: 24px 16px;
  }
  .article-cta h3 {
    font-size: 17px;
  }
  .article-cta .cta-btns {
    flex-direction: column;
  }
  .article-cta .cta-btn {
    justify-content: center;
  }
  .sidebar-block {
    padding: 16px;
  }
}

/* ─── Mobile Bottom Tab Bar ─── */
.mobile-tab-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(15, 35, 70, 0.08);
  padding: 6px 0 calc(6px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.06);
}
.mtb-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  max-width: 500px;
  margin: 0 auto;
}
.mtb-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 4px 6px;
  min-width: 52px;
  text-decoration: none;
  color: #8896aa;
  font-size: 10px;
  font-weight: 500;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: color 0.15s;
  -webkit-tap-highlight-color: transparent;
  position: relative;
}
.mtb-item.active {
  color: var(--accent);
}
.mtb-item.active::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: var(--accent);
  border-radius: 0 0 3px 3px;
}
.mtb-icon {
  width: 22px;
  height: 22px;
}
.mtb-item.active .mtb-icon {
  filter: none;
}
.mtb-label {
  white-space: nowrap;
}

/* Special WhatsApp tab */
.mtb-item.mtb-ws {
  color: #25d366;
}
.mtb-item.mtb-ws::before {
  display: none;
}
/* Special Telegram tab */
.mtb-item.mtb-tg {
  color: #26a5e4;
}
.mtb-item.mtb-tg::before {
  display: none;
}

/* ─── Mobile "More" Drawer ─── */
.mobile-more-drawer {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: #fff;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.15);
  padding: 0 0 calc(16px + env(safe-area-inset-bottom, 0px));
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  max-height: 70vh;
  overflow-y: auto;
}
.mobile-more-drawer.open {
  transform: translateY(0);
}
.mmd-handle {
  display: flex;
  justify-content: center;
  padding: 10px 0 6px;
}
.mmd-handle span {
  width: 36px;
  height: 4px;
  border-radius: 4px;
  background: #d1d5db;
}
.mmd-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 8px 16px 12px;
}
.mmd-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 4px;
  border-radius: 14px;
  text-decoration: none;
  color: var(--text);
  font-size: 12px;
  font-weight: 500;
  transition: background 0.15s;
}
.mmd-item:active {
  background: var(--bg-soft);
}
.mmd-item.active {
  color: var(--accent);
  font-weight: 600;
}
.mmd-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 5px;
}
.mmd-icon svg {
  width: 18px;
  height: 18px;
}
.mmd-icon-blue { background: rgba(37, 99, 235, 0.1); color: var(--accent); }
.mmd-icon-purple { background: rgba(124, 58, 237, 0.1); color: #7c3aed; }
.mmd-icon-green { background: rgba(22, 163, 74, 0.1); color: #16a34a; }
.mmd-icon-orange { background: rgba(234, 88, 12, 0.1); color: #ea580c; }
.mmd-icon-teal { background: rgba(13, 148, 136, 0.1); color: #0d9488; }
.mmd-icon-red { background: rgba(220, 38, 38, 0.1); color: #dc2626; }

.mmd-contact-row {
  display: flex;
  gap: 10px;
  padding: 4px 16px 8px;
}
.mmd-contact-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 0;
  border-radius: 12px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}
.mmd-contact-btn.mmd-ws { background: #25d366; }
.mmd-contact-btn.mmd-tg { background: #26a5e4; }
.mmd-contact-btn svg { width: 16px; height: 16px; }

.mobile-more-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 0.3s;
}
.mobile-more-backdrop.active {
  opacity: 1;
}

@media (max-width: 820px) {
  .mobile-tab-bar {
    display: block;
  }
  .mobile-more-drawer {
    display: block;
  }
  .mobile-more-backdrop {
    display: block;
    pointer-events: none;
  }
  .mobile-more-backdrop.active {
    pointer-events: auto;
  }
  .mobile-menu {
    display: none !important;
  }
  body {
    padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px));
  }
  .floating-contact {
    display: none !important;
  }
  .site-footer {
    padding-bottom: 60px;
  }
}
