/**
 * Thuận Phần Mềm - Modern Western Minimalist & High-Converting Style
 * Kết hợp bộ hiệu ứng cao cấp cho Trang Chủ (Dot Grid, Ambient Glow, Spotlight, Sliding Glider)
 * và phục vụ đầy đủ styling cho Trang Dịch Vụ (/dich-vu/).
 */

:root {
  --sim-font: 'Inter', 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --sim-mono: 'JetBrains Mono', 'Fira Code', Menlo, Monaco, Consolas, monospace;

  /* Primary Palette */
  --sim-primary: #2563eb;
  --sim-primary-hover: #1d4ed8;
  --sim-primary-soft: #eff6ff;
  --sim-text: #0f172a;
  --sim-muted: #475467;
  --sim-subtle: #94a3b8;
  --sim-border: #e2e8f0;
  --sim-bg: #f8fafc;

  /* Shared Western Tokens */
  --wm-primary: #2563eb;
  --wm-primary-hover: #1d4ed8;
  --wm-primary-soft: #eff6ff;
  --wm-text-main: #0f172a;
  --wm-text-muted: #475467;
  --wm-border: #e2e8f0;
  --wm-radius: 14px;
  --wm-radius-lg: 20px;
  --wm-shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.04);
  --wm-shadow-md: 0 8px 24px -4px rgba(16, 24, 40, 0.06), 0 2px 6px -1px rgba(16, 24, 40, 0.02);
}

/* ==========================================================================
   HOMEPAGE HEADER CLEANUP (Ẩn menu và cụm tài khoản ở trang chủ)
   ========================================================================== */
body.home .site-header .site-nav,
body.home .site-header .header-actions,
body.home .site-header .mobile-menu-button,
body.front-page .site-header .site-nav,
body.front-page .site-header .header-actions,
body.front-page .site-header .mobile-menu-button {
  display: none !important;
}

body.home .site-header__inner,
body.front-page .site-header__inner {
  justify-content: center !important;
}

/* ==========================================================================
   HOMEPAGE: INTERACTIVE SPLIT-SCREEN DYNAMIC BI-FOLD GATEWAY
   ========================================================================== */
.split-gateway {
  font-family: var(--sim-font);
  color: var(--sim-text);
  background: radial-gradient(ellipse 90% 70% at 50% 0%, #f1f5f9 0%, #f8fafc 40%, #ffffff 100%);
  min-height: calc(100vh - 64px);
  padding: 36px 24px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Hiệu ứng toạ độ nền công nghệ (Dot Grid) */
.split-bg-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(30, 41, 59, 0.08) 1.2px, transparent 1.2px);
  background-size: 28px 28px;
  pointer-events: none;
  opacity: 0.8;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 100%);
}

/* ==========================================================================
   MASTHEAD: TIÊU ĐỀ TRUNG TÂM TINH GỌN
   ========================================================================== */
.split-masthead {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 28px;
  position: relative;
  z-index: 2;
}

.split-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(203, 213, 225, 0.8);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #1e293b;
  margin-bottom: 12px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.split-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2563eb;
  box-shadow: 0 0 8px rgba(37, 99, 235, 0.6);
  animation: splitPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes splitPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.85); }
}

.split-masthead-title {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 850;
  letter-spacing: -0.035em;
  color: #0f172a;
  margin: 0 0 6px;
  line-height: 1.2;
}

.split-masthead-hint {
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  margin: 0;
}

.split-hint-mobile {
  display: none;
}

/* ==========================================================================
   THE SPLIT STAGE: KHUNG CHIA ĐÔI 50/50 MỞ RỘNG ĐỘNG
   ========================================================================== */
.split-stage {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  gap: 16px;
  position: relative;
  z-index: 2;
  perspective: 1200px;
}

.split-panel {
  flex: 1 1 0;
  min-width: 0;
  position: relative;
  border-radius: 28px;
  padding: 42px 38px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  cursor: pointer;
  outline: none;
  transform: translate3d(0, 0, 0) scale3d(1, 1, 1);
  opacity: 1;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s ease;
  will-change: transform, opacity;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Pseudo-element chứa sẵn bóng đổ & hào quang phát sáng để GPU chỉ cần blend opacity 0 -> 1 (120fps không repaint) */
.split-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 0;
}

/* PANEL 1: DỊCH VỤ WEB APP (Cyber Navy & Blue) */
.split-panel--service {
  background: linear-gradient(145deg, #ffffff 0%, #f0f7ff 60%, #e0effe 100%);
  border: 1px solid rgba(191, 219, 254, 0.85);
  box-shadow: 0 16px 40px -12px rgba(37, 99, 235, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.9) inset;
}

.split-panel--service::after {
  box-shadow: 0 28px 70px -12px rgba(37, 99, 235, 0.26), 0 0 0 2px rgba(59, 130, 246, 0.35) inset;
}

.split-aurora--service {
  position: absolute;
  top: -25%;
  left: -20%;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.22) 0%, rgba(99, 102, 241, 0.1) 50%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
  transform: translate3d(0, 0, 0) scale3d(1, 1, 1);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

/* PANEL 2: HỌC VIỆN KHÓA HỌC (Cyber Emerald & Mint) */
.split-panel--academy {
  background: linear-gradient(145deg, #ffffff 0%, #ecfdf5 60%, #ccfbf1 100%);
  border: 1px solid rgba(167, 243, 208, 0.85);
  box-shadow: 0 16px 40px -12px rgba(16, 185, 129, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.9) inset;
}

.split-panel--academy::after {
  box-shadow: 0 28px 70px -12px rgba(16, 185, 129, 0.26), 0 0 0 2px rgba(16, 185, 129, 0.35) inset;
}

.split-aurora--academy {
  position: absolute;
  top: -25%;
  right: -20%;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.22) 0%, rgba(6, 182, 212, 0.1) 50%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
  transform: translate3d(0, 0, 0) scale3d(1, 1, 1);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

/* ==========================================================================
   DYNAMIC 120FPS HARDWARE ELEVATION (Bỏ reflow flex 64/36, dùng GPU 3D Transform)
   ========================================================================== */
/* Khi rê chuột vào Cánh Dịch Vụ */
.split-stage.is-expanded-left .split-panel--service {
  transform: translate3d(0, -8px, 0) scale3d(1.018, 1.018, 1);
  border-color: #3b82f6;
  z-index: 5;
}

.split-stage.is-expanded-left .split-panel--service::after {
  opacity: 1;
}

.split-stage.is-expanded-left .split-panel--service .split-aurora--service {
  transform: translate3d(16px, 16px, 0) scale3d(1.25, 1.25, 1);
}

.split-stage.is-expanded-left .split-panel--academy {
  transform: translate3d(0, 3px, 0) scale3d(0.985, 0.985, 1);
  opacity: 0.82;
}

/* Khi rê chuột vào Cánh Khóa Học */
.split-stage.is-expanded-right .split-panel--academy {
  transform: translate3d(0, -8px, 0) scale3d(1.018, 1.018, 1);
  border-color: #10b981;
  z-index: 5;
}

.split-stage.is-expanded-right .split-panel--academy::after {
  opacity: 1;
}

.split-stage.is-expanded-right .split-panel--academy .split-aurora--academy {
  transform: translate3d(-16px, 16px, 0) scale3d(1.25, 1.25, 1);
}

.split-stage.is-expanded-right .split-panel--service {
  transform: translate3d(0, 3px, 0) scale3d(0.985, 0.985, 1);
  opacity: 0.82;
}

/* Hỗ trợ thêm CSS :has() siêu nhạy cho trình duyệt hiện đại (phản hồi 0ms không phụ thuộc JS) */
@media (hover: hover) and (pointer: fine) {
  .split-stage:has(.split-panel--service:hover) .split-panel--service {
    transform: translate3d(0, -8px, 0) scale3d(1.018, 1.018, 1);
    border-color: #3b82f6;
    z-index: 5;
  }
  .split-stage:has(.split-panel--service:hover) .split-panel--service::after {
    opacity: 1;
  }
  .split-stage:has(.split-panel--service:hover) .split-panel--service .split-aurora--service {
    transform: translate3d(16px, 16px, 0) scale3d(1.25, 1.25, 1);
  }
  .split-stage:has(.split-panel--service:hover) .split-panel--academy {
    transform: translate3d(0, 3px, 0) scale3d(0.985, 0.985, 1);
    opacity: 0.82;
  }

  .split-stage:has(.split-panel--academy:hover) .split-panel--academy {
    transform: translate3d(0, -8px, 0) scale3d(1.018, 1.018, 1);
    border-color: #10b981;
    z-index: 5;
  }
  .split-stage:has(.split-panel--academy:hover) .split-panel--academy::after {
    opacity: 1;
  }
  .split-stage:has(.split-panel--academy:hover) .split-panel--academy .split-aurora--academy {
    transform: translate3d(-16px, 16px, 0) scale3d(1.25, 1.25, 1);
  }
  .split-stage:has(.split-panel--academy:hover) .split-panel--service {
    transform: translate3d(0, 3px, 0) scale3d(0.985, 0.985, 1);
    opacity: 0.82;
  }

  .split-stage:has(.split-panel--service:hover) .split-orb-core {
    transform: translate3d(-3px, 0, 0) scale3d(1.3, 1.3, 1);
    background: #2563eb;
    box-shadow: 0 0 16px rgba(37, 99, 235, 1);
  }
  .split-stage:has(.split-panel--academy:hover) .split-orb-core {
    transform: translate3d(3px, 0, 0) scale3d(1.3, 1.3, 1);
    background: #10b981;
    box-shadow: 0 0 16px rgba(16, 185, 129, 1);
  }
}

/* ==========================================================================
   LASER ENERGY DIVIDER (Ranh giới ánh sáng trung tâm)
   ========================================================================== */
.split-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 14px;
  flex-shrink: 0;
  position: relative;
  z-index: 4;
}

.split-divider-line {
  flex: 1;
  width: 2px;
  background: linear-gradient(180deg, transparent 0%, rgba(99, 102, 241, 0.3) 30%, rgba(16, 185, 129, 0.3) 70%, transparent 100%);
  transition: background 0.4s ease;
}

.split-divider-orb {
  position: relative;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  margin-block: 8px;
}

.split-orb-core {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6366f1;
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.8);
  transform: translate3d(0, 0, 0);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.45s ease, box-shadow 0.45s ease;
  will-change: transform;
}

.split-orb-ring {
  position: absolute;
  inset: 0;
  border: 1.5px dashed rgba(99, 102, 241, 0.4);
  border-radius: 50%;
  animation: splitSpin 12s linear infinite;
  will-change: transform;
}

@keyframes splitSpin {
  100% { transform: rotate(360deg); }
}

.split-stage.is-expanded-left .split-orb-core {
  transform: translate3d(-3px, 0, 0) scale3d(1.3, 1.3, 1);
  background: #2563eb;
  box-shadow: 0 0 16px rgba(37, 99, 235, 1);
}

.split-stage.is-expanded-right .split-orb-core {
  transform: translate3d(3px, 0, 0) scale3d(1.3, 1.3, 1);
  background: #10b981;
  box-shadow: 0 0 16px rgba(16, 185, 129, 1);
}

/* ==========================================================================
   NỘI DUNG PANEL & WATERMARK
   ========================================================================== */
.split-watermark {
  position: absolute;
  bottom: -20px;
  right: -10px;
  font-size: 110px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
  color: rgba(15, 23, 42, 0.035);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  font-family: var(--sim-font);
}

.split-panel-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.split-panel-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
  width: fit-content;
}

.split-panel-badge--service {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.split-panel-badge--academy {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.split-panel-title {
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.24;
  font-weight: 850;
  letter-spacing: -0.03em;
  color: #0f172a;
  margin: 0 0 12px;
}

.split-text-gradient--blue {
  background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.split-text-gradient--emerald {
  background: linear-gradient(135deg, #059669 0%, #0d9488 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.split-panel-desc {
  font-size: 14.5px;
  line-height: 1.62;
  color: #475467;
  margin: 0 0 24px;
}

/* ==========================================================================
   HIGHLIGHT PILLS
   ========================================================================== */
.split-highlights {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.split-pill {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 14px;
  transform: translate3d(0, 0, 0);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.25s ease,
              border-color 0.25s ease,
              box-shadow 0.25s ease;
  will-change: transform;
}

.split-panel:hover .split-pill,
.split-stage.is-expanded-left .split-panel--service .split-pill,
.split-stage.is-expanded-right .split-panel--academy .split-pill {
  background: #ffffff;
  border-color: rgba(203, 213, 225, 0.95);
  transform: translate3d(0, -2px, 0);
  box-shadow: 0 6px 16px -2px rgba(15, 23, 42, 0.05);
}

.split-pill-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #ffffff;
}

.split-pill-icon svg {
  stroke: #ffffff !important;
}

.split-pill-icon--blue {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.split-pill-icon--indigo {
  background: linear-gradient(135deg, #6366f1, #4338ca);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
}

.split-pill-icon--cyan {
  background: linear-gradient(135deg, #06b6d4, #0284c7);
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.35);
}

.split-pill-icon--emerald {
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

.split-pill-icon--teal {
  background: linear-gradient(135deg, #14b8a6, #0f766e);
  box-shadow: 0 4px 12px rgba(20, 184, 166, 0.35);
}

.split-pill-icon--mint {
  background: linear-gradient(135deg, #059669, #047857);
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.35);
}

.split-pill-text strong {
  display: block;
  font-size: 14px;
  font-weight: 750;
  color: #0f172a;
  margin-bottom: 2px;
}

.split-pill-text small {
  display: block;
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.45;
}

/* ==========================================================================
   ACTION BUTTONS
   ========================================================================== */
.split-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
}

.split-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.split-btn:hover {
  transform: translateY(-2px);
}

.split-btn--service {
  background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
  color: #ffffff !important;
  box-shadow: 0 6px 20px -2px rgba(37, 99, 235, 0.45);
}

.split-btn--service:hover {
  box-shadow: 0 10px 28px -2px rgba(79, 70, 229, 0.55);
}

.split-btn--zalo {
  background: #0068ff;
  color: #ffffff !important;
  box-shadow: 0 6px 18px -2px rgba(0, 104, 255, 0.35);
}

.split-btn--zalo:hover {
  box-shadow: 0 10px 24px -2px rgba(0, 104, 255, 0.45);
}

.split-btn--academy {
  background: linear-gradient(135deg, #059669 0%, #0d9488 100%);
  color: #ffffff !important;
  box-shadow: 0 6px 20px -2px rgba(5, 150, 105, 0.45);
}

.split-btn--academy:hover {
  box-shadow: 0 10px 28px -2px rgba(13, 148, 136, 0.55);
}

.split-btn--subtle {
  background: rgba(255, 255, 255, 0.9);
  color: #1e293b !important;
  border: 1px solid #cbd5e1;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.split-btn--subtle:hover {
  background: #ffffff;
  border-color: #94a3b8;
}

/* ==========================================================================
   INSTRUCTOR / FOUNDER SECTION (Giới thiệu Bùi Ngọc Thuận)
   ========================================================================== */
.split-author-section {
  padding: 84px 24px 96px;
  background: #ffffff;
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(226, 232, 240, 0.85);
}

.split-author-container {
  width: min(calc(100% - 32px), 1140px);
  margin-inline: auto;
}

.split-author-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 48px;
  align-items: center;
}

.split-author-gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.split-author-img-main {
  width: 100%;
  border-radius: 22px;
  object-fit: cover;
  max-height: 420px;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.14);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.split-author-subgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.split-author-img-sub {
  width: 100%;
  border-radius: 14px;
  object-fit: cover;
  height: 140px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.split-author-info {
  display: flex;
  flex-direction: column;
}

.split-author-role-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.1);
  color: #ea580c;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 10px;
  width: fit-content;
  border: 1px solid rgba(249, 115, 22, 0.2);
}

.split-author-name {
  font-size: clamp(32px, 3.8vw, 44px);
  font-weight: 850;
  letter-spacing: -0.035em;
  color: #0f172a;
  margin: 0 0 4px 0;
  line-height: 1.15;
}

.split-author-tagline {
  color: #ea580c;
  font-weight: 800;
  font-size: 17.5px;
  margin: 0 0 18px 0;
  letter-spacing: -0.01em;
}

.split-author-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.split-author-checklist li {
  padding: 11px 0;
  border-bottom: 1px solid #f1f5f9;
  color: #475467;
  font-size: 15px;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.split-author-checklist li:last-child {
  border-bottom: none;
}

.split-check-icon {
  flex-shrink: 0;
  margin-top: 3px;
  display: inline-flex;
}

.split-author-quote {
  background: linear-gradient(145deg, #ffffff 0%, #fffbf7 100%);
  border: 1.5px solid rgba(249, 115, 22, 0.35);
  border-radius: 18px;
  padding: 22px 24px;
  font-style: italic;
  color: #334155;
  line-height: 1.68;
  font-size: 15px;
  box-shadow: 0 10px 30px -5px rgba(249, 115, 22, 0.08);
}

.split-author-section .split-footer {
  margin-top: 54px;
}

/* ==========================================================================
   FOOTER INFO
   ========================================================================== */
.split-footer {
  margin-top: 28px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.split-footer-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: #64748b;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 8px 22px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.split-avatar {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #8b5cf6);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
}

.split-footer-pill strong {
  color: #0f172a;
}

.split-footer-pill a {
  color: #2563eb;
  text-decoration: none;
}

.split-footer-pill a:hover {
  text-decoration: underline;
}

.split-sep {
  color: #cbd5e1;
}

/* ==========================================================================
   RESPONSIVE (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 1024px) {
  .split-stage {
    flex-direction: column;
    gap: 20px;
  }
  .split-divider {
    display: none;
  }
  .split-panel {
    flex: 1 1 100% !important;
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
    padding: 32px 24px;
  }
  .split-hint-desktop {
    display: none;
  }
  .split-hint-mobile {
    display: inline;
  }
  .split-watermark {
    font-size: 64px;
  }
  .split-author-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .split-author-section {
    padding: 60px 20px 72px;
  }
}

@media (max-width: 640px) {
  .split-gateway {
    padding: 24px 16px 40px;
  }
  .split-panel {
    padding: 28px 18px;
    border-radius: 20px;
  }
  .split-actions {
    flex-direction: column;
  }
  .split-btn {
    width: 100%;
  }
  .split-author-subgrid {
    gap: 8px;
  }
  .split-author-img-sub {
    height: 110px;
  }
  .split-footer-pill {
    flex-direction: column;
    gap: 6px;
    border-radius: 16px;
    padding: 12px 16px;
  }
  .split-sep {
    display: none;
  }
}

/* ==========================================================================
   DEDICATED SERVICE PAGE STYLING (/dich-vu/)
   ========================================================================== */
.wm-service-page {
  font-family: var(--sim-font);
  color: var(--wm-text-main);
}

.wm-hero {
  padding-top: 64px;
  padding-bottom: 74px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.wm-hero__container {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(460px, 0.9fr);
  gap: 60px;
  align-items: center;
}

.wm-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px 5px 10px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #334155;
  letter-spacing: 0.04em;
  margin-bottom: 22px;
}

.wm-badge-pill--dark {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: #e2e8f0;
}

.wm-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--wm-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.wm-badge-dot--green {
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}

.wm-hero__title {
  font-size: 44px;
  line-height: 1.18;
  letter-spacing: -0.04em;
  font-weight: 850;
  margin: 0 0 20px 0;
  color: var(--wm-text-main);
}

.wm-gradient-text {
  background: linear-gradient(135deg, #1e293b 20%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.wm-hero__subtitle {
  font-size: 17px;
  line-height: 1.68;
  color: var(--wm-text-muted);
  max-width: 580px;
  margin: 0 0 32px 0;
}

.wm-hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.wm-hero__trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  font-size: 12.5px;
  color: #64748b;
}

.wm-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.wm-trust-item svg {
  color: var(--wm-primary);
}

/* Window Card in Service Hero */
.wm-window-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--wm-radius-lg);
  box-shadow: 0 24px 60px -12px rgba(15, 23, 42, 0.14);
  overflow: hidden;
}

.wm-window-card__header {
  height: 42px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}

.wm-window-dots { display: flex; gap: 6px; }
.wm-window-dots .dot { width: 10px; height: 10px; border-radius: 50%; }
.dot--red { background: #ef4444; }
.dot--yellow { background: #f59e0b; }
.dot--green { background: #10b981; }

.wm-window-title {
  font-family: var(--sim-mono);
  font-size: 11.5px;
  color: #64748b;
}

.wm-window-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: #10b981;
}

.status-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
}

.wm-window-card__body { padding: 20px; }

.wm-code-preview {
  background: #0f172a;
  color: #e2e8f0;
  border-radius: 10px;
  padding: 16px 18px;
  font-family: var(--sim-mono);
  font-size: 12px;
  line-height: 1.65;
  overflow-x: auto;
}

.wm-code-line { white-space: nowrap; }
.wm-code-line.indent-1 { padding-left: 18px; }
.code-keyword { color: #c084fc; font-weight: 600; }
.code-var { color: #38bdf8; }
.code-func { color: #60a5fa; }
.code-str { color: #34d399; }
.code-bool { color: #f59e0b; }

.wm-window-card__footer {
  padding: 10px 18px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  font-size: 12px;
  color: #64748b;
}

/* Service Sections */
.wm-section {
  padding-block: 84px;
  background: #ffffff;
}

.wm-section--alt { background: #f8fafc; }
.wm-section--dark { background: #090d16; color: #ffffff; padding-block: 90px; }

.wm-section-header {
  max-width: 720px;
  margin-bottom: 44px;
}

.wm-section-header--center {
  margin-inline: auto;
  text-align: center;
}

.wm-eyebrow {
  display: inline-block;
  color: var(--wm-primary);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.wm-section-title {
  font-size: 34px;
  line-height: 1.25;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--wm-text-main);
  margin: 0 0 10px 0;
}

.wm-section--dark .wm-section-title { color: #ffffff; }

.wm-section-desc {
  font-size: 16px;
  line-height: 1.65;
  color: var(--wm-text-muted);
  margin: 0;
}

.wm-section--dark .wm-section-desc { color: #94a3b8; }

/* Bento Service Grid */
.wm-bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.wm-bento-card {
  background: #ffffff;
  border: 1px solid var(--wm-border);
  border-radius: var(--wm-radius);
  padding: 34px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  box-shadow: var(--wm-shadow-sm);
}

.wm-bento-card:hover {
  border-color: #cbd5e1;
  box-shadow: var(--wm-shadow-md);
  transform: translateY(-2px);
}

.wm-bento-card--featured {
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  border-color: #bfdbfe;
}

.wm-bento-card__badge {
  display: inline-block;
  align-self: flex-start;
  padding: 3px 9px;
  background: #f1f5f9;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #475467;
  margin-bottom: 18px;
}

.wm-bento-card--featured .wm-bento-card__badge {
  background: #eff6ff;
  color: var(--wm-primary);
}

.wm-bento-card__icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: #eff6ff;
  color: var(--wm-primary);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.wm-bento-card__title {
  font-size: 21px;
  line-height: 1.35;
  letter-spacing: -0.025em;
  font-weight: 750;
  color: var(--wm-text-main);
  margin: 0 0 10px 0;
}

.wm-bento-card__desc {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--wm-text-muted);
  margin: 0 0 20px 0;
  flex: 1;
}

.wm-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  display: grid;
  gap: 9px;
}

.wm-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: #334155;
  line-height: 1.45;
}

.wm-feature-list svg {
  color: var(--wm-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.wm-bento-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid #f1f5f9;
  margin-top: auto;
}

.wm-tag { font-size: 11.5px; font-weight: 600; color: #64748b; }

.wm-text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--wm-primary);
  font-size: 13.5px;
  font-weight: 650;
  text-decoration: none;
}

.wm-text-link:hover { text-decoration: underline; }

/* Process 4-step Grid */
.wm-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.wm-process-step {
  background: #ffffff;
  border: 1px solid var(--wm-border);
  border-radius: var(--wm-radius);
  padding: 28px 22px;
  transition: transform 0.2s ease;
}

.wm-process-step:hover { transform: translateY(-2px); border-color: #cbd5e1; }

.wm-process-num {
  font-family: var(--sim-mono);
  font-size: 26px;
  font-weight: 800;
  color: var(--wm-primary);
  line-height: 1;
  margin-bottom: 16px;
}

.wm-process-title {
  font-size: 17px;
  font-weight: 750;
  color: var(--wm-text-main);
  margin: 0 0 8px 0;
}

.wm-process-text {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--wm-text-muted);
  margin: 0;
}

/* Quote Layout & Form in Service Page */
.wm-quote-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.wm-quote-title {
  font-size: 38px;
  line-height: 1.2;
  letter-spacing: -0.035em;
  color: #ffffff;
  font-weight: 800;
  margin: 0 0 16px 0;
}

.wm-quote-desc {
  font-size: 16.5px;
  line-height: 1.65;
  color: #94a3b8;
  margin: 0 0 28px 0;
}

.wm-quote-benefits { display: grid; gap: 14px; margin-bottom: 32px; }

.wm-qb-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #cbd5e1;
}

.wm-qb-item svg { color: #38bdf8; flex-shrink: 0; }
.wm-qb-item strong { color: #ffffff; }

.wm-quote-card {
  background: #ffffff;
  color: var(--wm-text-main);
  border-radius: var(--wm-radius-lg);
  padding: 36px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.wm-form-title { font-size: 22px; font-weight: 800; margin: 0 0 4px 0; color: #0f172a; }
.wm-form-subtitle { font-size: 13.5px; color: #64748b; margin: 0 0 22px 0; }
.wm-form-group { margin-bottom: 16px; }
.wm-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.wm-form-label { display: block; font-size: 13px; font-weight: 700; color: #334155; margin-bottom: 6px; }
.wm-form-label .req { color: #ef4444; }

.wm-radio-pills { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.wm-radio-pill {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 600;
  color: #334155;
  transition: all 0.15s ease;
}

.wm-radio-pill input { accent-color: var(--wm-primary); margin: 0; }
.wm-radio-pill:hover,
.wm-radio-pill:has(input:checked) {
  border-color: var(--wm-primary);
  background: #eff6ff;
  color: var(--wm-primary);
}

.wm-input,
.wm-textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 14px;
  color: #0f172a;
  background: #ffffff;
  transition: all 0.18s ease;
}

.wm-input:focus,
.wm-textarea:focus {
  outline: none;
  border-color: var(--wm-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

.wm-form-privacy { display: block; text-align: center; color: #94a3b8; font-size: 11.5px; margin-top: 12px; }

/* Shared .wm-btn Buttons */
.wm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 9px;
  font-size: 14.5px;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.wm-btn:hover { transform: translateY(-1px); }

.wm-btn--primary {
  background: var(--wm-primary);
  color: #ffffff !important;
  border-color: var(--wm-primary);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.wm-btn--primary:hover { background: var(--wm-primary-hover); }

.wm-btn--zalo {
  background: #0068ff;
  color: #ffffff !important;
  border-color: #0068ff;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0, 104, 255, 0.3);
}

.wm-btn--zalo:hover { background: #0056d6; }
.wm-btn--full { width: 100%; }

/* ==========================================================================
   RESPONSIVE QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .wm-hero__container { grid-template-columns: 1fr; gap: 40px; }
  .wm-quote-layout { grid-template-columns: 1fr; gap: 40px; }
  .wm-process-grid { grid-template-columns: repeat(2, 1fr); }
  .wm-bento-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .sim-gateway { padding: 48px 0 60px; }
  .sim-title { font-size: 30px; }
  .sim-tabs-nav { flex-direction: column; width: 100%; }
  .sim-tab-btn { min-height: 44px; width: 100%; }
  .sim-tab-glider { display: none; } /* On vertical mobile, active button takes solid bg */
  .sim-tab-btn.is-active { background: #ffffff; }
  .sim-card { padding: 26px 20px; }
  .sim-features-grid { grid-template-columns: 1fr; gap: 16px; }
  .sim-card-actions { flex-direction: column; }
  .sim-btn { width: 100%; }
  .sim-footer-contact { flex-direction: column; gap: 6px; border-radius: 12px; }
  .sim-sep { display: none; }

  /* Mobile for Service Page */
  .wm-hero { padding-top: 40px; padding-bottom: 50px; }
  .wm-hero__title { font-size: 30px; }
  .wm-section-title { font-size: 26px; }
  .wm-process-grid { grid-template-columns: 1fr; }
  .wm-quote-card { padding: 22px; }
  .wm-form-row { grid-template-columns: 1fr; }
  .wm-radio-pills { grid-template-columns: 1fr; }
  .wm-btn { width: 100%; }
}
