/* ============================================================
   🏷️ SERVICES PAGE HERO — 2 COLUMN LAYOUT
   ============================================================ */

/* ── Hero section ────────────────────────────────────────── */
._eNpyosJ {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(4,14,44,0.62) 0%, rgba(7,24,68,0.46) 48%, rgba(12,38,108,0.25) 100%),
    var(--kc-hero-bg) center center / cover no-repeat;
}

._SenaGdG {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--hero-pt) var(--hero-px) var(--hero-pb);
  display: flex;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
}

/* ROW 2: Main grid */
._dizQHjX {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--hero-grid-gap);
  align-items: start;
}

/* LEFT COLUMN */
._XsJxifN {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Breadcrumb */
._LGhBRUn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  width: fit-content;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  margin-bottom: var(--hero-path-mb);
}
._LGhBRUn svg {
  color: rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
}
._LGhBRUn span {
  color: rgba(255, 255, 255, 0.7);
}
._LGhBRUn a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}
._LGhBRUn a:hover { color: #38bdf8; }
._LGhBRUn span[aria-hidden] {
  color: rgba(255, 255, 255, 0.4);
}
._LGhBRUn span[aria-current] {
  color: #fff;
}

/* Title */
._3XZY_vM {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  max-width: 540px;
}

/* Description */
._YsNg87J {
  font-size: clamp(15px, 1.3vw, 17px);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin: 0 0 20px;
  max-width: 520px;
  text-align: justify;
  text-justify: inter-word;
}

/* Service pills — hidden desktop/tablet, restored in mobile MQ */
._-O6MgFO {
  display: none;
  flex-wrap: wrap;
  gap: 10px;
}

._BSCUXsW {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
}

._BSCUXsW svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  color: #38bdf8;
}

/* Trust grid — desktop/tablet 2×2, hidden on mobile */
._PKJ79Qq {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

/* Actions */
._cqAM075 {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ._cqAM075 ._s02TpC8 {
  padding-right: 8px;
} */

/* RIGHT COLUMN */
._OZ7oNdj {
  display: flex;
  align-items: stretch;
}

/* Service Navigator Card */
._BEGyXaa {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 24px;
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.__vlnBtY {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  color: inherit;
}

.__vlnBtY:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
}

._XDF1wi- {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(96, 165, 250, 0.15);
  border-radius: 12px;
  flex-shrink: 0;
  color: #60a5fa;
}

._xdVNc97 {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

._GzB99ZC {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

._EZdP-Py {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.4;
}

._isAhyYA {
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.2s, transform 0.2s;
  flex-shrink: 0;
}

.__vlnBtY:hover ._isAhyYA {
  color: rgba(255, 255, 255, 0.8);
  transform: translateX(4px);
}

/* Trust Strip Bottom — ROW 3 — hidden desktop/tablet, restored on mobile */
._VwcOSpE {
  position: relative;
  z-index: 2;
  margin-top: 48px;
  display: none;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

._GEiJbrc {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  backdrop-filter: blur(12px);
}

._GEiJbrc svg {
  width: 24px;
  height: 24px;
  color: #60a5fa;
  flex-shrink: 0;
  margin-top: 2px;
}

._mNJco5I {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

._VPRtObr {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.4;
}

/* Blobs */
._f4ZKpuc {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.kc-svc-hero__blob--1 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.35) 0%, transparent 70%);
  top: -120px;
  left: -100px;
}
.kc-svc-hero__blob--2 {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
  bottom: -80px;
  right: -60px;
}

/* =========================================================
   Service Mobile Hardening — drawer + navbar flyout base
   ========================================================= */
._RaCL0xJ {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

._ZPgakZg,
._8hu3PNZ {
  min-width: 0;
  overflow-wrap: anywhere;
}

._DyCEGcb,
._p7lr7UV {
  flex: 0 0 auto;
}

/* ================================================================
   RESPONSIVE — 3 tiers only. One block per tier. (SSOT-compliant)
   ================================================================ */

/* ── ①  Tablet: 641–1024px ─────────────────────────────────── */
@media (min-width: 641px) and (max-width: 1024px) {
  ._dizQHjX {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  ._VwcOSpE {
    display: none;
  }
}

/* ── ②  max-width: 640px  —  Mobile only ──────────────────── */
@media (max-width: 640px) {
  /* Section overflow */
  #kc-website-solutions,
  #ssl-security,
  #kc-platform-saas,
  #ai-solution,
  #ams-cloud {
    overflow-x: clip;
  }

  /* Scrollable tabs */
  ._xnA4TQK,
  .ssl-tabs,
  #kc-platform-saas ._Z7S8IlR,
  .ai-solution-tabs,
  .ams-cloud-tabs {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }

  ._xnA4TQK::-webkit-scrollbar,
  .ssl-tabs::-webkit-scrollbar,
  #kc-platform-saas ._Z7S8IlR::-webkit-scrollbar,
  .ai-solution-tabs::-webkit-scrollbar,
  .ams-cloud-tabs::-webkit-scrollbar {
    display: none;
  }

  ._xnA4TQK > *,
  .ssl-tabs > *,
  #kc-platform-saas ._Z7S8IlR > *,
  .ai-solution-tabs > *,
  .ams-cloud-tabs > * {
    /* flex: 0 0 auto !important; */
    white-space: nowrap !important;
  }

  /* Drawer panels — full-screen on mobile */
  ._9RpbYoZ,
  ._GhJTaLe,
  ._sjywusV {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    margin: 0 !important;
    border-left: 0 !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
  }

  ._9RpbYoZ,
  ._GhJTaLe {
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    overscroll-behavior: contain;
  }

  ._RaCL0xJ,
  ._GAjxRgL {
    flex: 0 0 auto !important;
    padding: 14px 16px 12px !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  }

  ._MP70JDG {
    min-width: 0;
  }

  ._ZPgakZg,
  ._8hu3PNZ {
    font-size: 17px !important;
    line-height: 1.3 !important;
  }

  ._PhABAkQ,
  ._hDC6UcO,
  ._O6ChByS {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  ._XXMEQcg {
    grid-template-columns: 1fr !important;
  }

  ._kHEE4Xe,
  ._o_DBGd7 {
    border-radius: 12px !important;
  }

  ._yLOB4fs,
  ._0aDzGP3,
  .ws-drawer__heading--plain {
    border-top-left-radius: 12px !important;
    border-top-right-radius: 12px !important;
  }

  /* Hero */
  ._eNpyosJ {
    overflow: clip;
    padding: 52px 0 56px;
  }

  ._SenaGdG {
    gap: 26px;
    overflow: hidden;
  }

  ._dizQHjX {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  ._eNpyosJ,
  ._dizQHjX,
  ._XsJxifN,
  ._OZ7oNdj,
  ._BEGyXaa,
  ._VwcOSpE {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  ._LGhBRUn {
    width: fit-content;
    max-width: calc(100vw - 48px);
    padding: 8px 14px;
  }

  ._3XZY_vM,
  ._YsNg87J,
  ._GzB99ZC,
  ._EZdP-Py {
    overflow-wrap: anywhere;
  }

  ._3XZY_vM {
    font-size: clamp(2rem, 8.5vw, 2.35rem);
    line-height: 1.12;
    letter-spacing: -0.018em;
    text-wrap: balance;
  }

  ._YsNg87J {
    font-size: 0.98rem;
    line-height: 1.68;
    max-width: 100%;
  }

  ._-O6MgFO {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 12px;
    border-radius: 16px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.07));
    border: 1px solid rgba(147, 197, 253, 0.36);
    box-shadow:
      0 16px 38px rgba(15, 23, 42, 0.24),
      0 0 0 1px rgba(56, 189, 248, 0.08);
    -webkit-backdrop-filter: blur(16px) saturate(130%);
    backdrop-filter: blur(16px) saturate(130%);
  }

  ._BSCUXsW {
    justify-content: flex-start;
    text-align: left;
    min-height: 44px;
    padding: 0 8px;
    border: 0;
    border-radius: 0;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.86rem;
    font-weight: 700;
    backdrop-filter: none;
  }

  ._BSCUXsW:nth-child(n+4) {
    display: none;
  }

  ._BSCUXsW:nth-child(3) {
    border-bottom: 0;
  }

  ._-O6MgFO::after {
    content: "+2 dịch vụ khác";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 34px;
    margin-top: 6px;
    color: #38bdf8;
    font-size: 0.78rem;
    font-weight: 800;
    border-top: 1px solid rgba(255, 255, 255, 0.11);
  }

  ._cqAM075 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  ._cqAM075 a {
    width: 100%;
    min-height: var(--btn-h);
    padding: 0 8px 0 14px;
    white-space: nowrap;
    line-height: 1;
    text-align: center;
  }

  .__vlnBtY {
    gap: 12px;
    padding: 12px;
  }

  /* ._VwcOSpE {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 28px;
  } */

  ._VwcOSpE {
    display: none;
  }

  ._GEiJbrc {
    gap: 10px;
    padding: 14px 12px;
    border-radius: 10px;
    min-width: 0;
  }

  ._GEiJbrc svg {
    width: 20px;
    height: 20px;
  }

  ._mNJco5I {
    font-size: 13px;
    line-height: 1.25;
  }

  ._VPRtObr {
    font-size: 11px;
    line-height: 1.35;
  }
}

@supports (-webkit-touch-callout: none) {
  @media (color-gamut: p3) {
    ._eNpyosJ {
      background:
        linear-gradient(135deg, rgba(4, 14, 44, 0.52) 0%, rgba(7, 24, 68, 0.38) 48%, rgba(12, 38, 108, 0.2) 100%),
        var(--kc-hero-bg) center center / cover no-repeat;
    }

    .kc-svc-hero__blob--1,
    .kc-svc-hero__blob--2 {
      opacity: 0.72;
    }
  }
}
