/* ==========================================================================
   VN PREMIUM LAB - Giao diện công khai theo phong cách Khai Nguyên Dental Lab
   Chuẩn mực, hiện đại, sắc nét - Tông màu Teal & Xanh lá cây chuyên khoa
   ========================================================================== */

/* ---- Biến giao diện ---- */
:root {
  --kn-dark: #08171c;
  --kn-dark-2: #0e262f;
  --kn-dark-3: #163642;
  --kn-teal: #0a6f7c;
  --kn-teal-d: #07525c;
  --kn-teal-l: #e8f4f5;
  --kn-green: #278d39;
  --kn-green-h: #35a249;
  --kn-green-light: #5fc53f;
  --kn-border-dark: rgba(255, 255, 255, 0.1);
  --kn-gold: #f59e0b;
}

body.site-body {
  background: #f7fafb;
  color: #1a333d;
  font-family: 'Roboto', Ubuntu, sans-serif;
  font-size: 14px;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(20px, 2.5vw, 40px);
}

/* ==========================================================================
   1. TOPBAR & CHUYỂN ĐỔI NGÔN NGỮ
   ========================================================================== */
.topbar {
  background: var(--kn-dark);
  color: #9ab4bc;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.topbar .container {
  max-width: 100%;
  padding: 0 clamp(20px, 3vw, 48px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 38px;
  gap: 16px;
}
.topbar .group {
  display: flex;
  gap: 20px;
  align-items: center;
}
.topbar a {
  color: #d2e4e8;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}
.topbar a:hover {
  color: var(--kn-green-light);
}
.topbar .item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.kn-lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.kn-lang {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: #cfe2e6 !important;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid transparent;
}
.kn-lang.active, .kn-lang:hover {
  background: rgba(39, 141, 57, 0.25);
  border-color: var(--kn-green);
  color: #fff !important;
}

/* ==========================================================================
   2. HEADER & MEGA-MENU
   ========================================================================== */
.site-header {
  background: #278d39;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
  transition: background-color 0.3s;
}
.site-header .container,
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 20px;
  max-width: 100%;
  padding: 0 clamp(20px, 3vw, 48px);
}

/* Logo */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  flex-shrink: 0;
}
.brand:hover {
  color: #fff;
}
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-text strong {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #ffffff;
}
.brand-text span {
  font-size: 11px;
  color: #f0fdf4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.92;
}

/* Navigation List */
.header-nav-main {
  display: flex;
  align-items: center;
}
.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
}
.nav-item {
  position: relative;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 13px;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  border-radius: 4px;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.nav-link:hover, .nav-item:hover > .nav-link {
  color: #ffffff;
  background: rgba(0, 0, 0, 0.12);
}
.nav-link.active {
  color: #fff;
  background: rgba(0, 0, 0, 0.22);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}
.dropdown-caret {
  display: inline-flex;
  transition: transform 0.2s;
  opacity: 0.7;
}
.nav-item:hover .dropdown-caret {
  transform: rotate(180deg);
  opacity: 1;
}

/* Mega Dropdown Menu (Chuẩn Khai Nguyên Lab) */
.sub-mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 1080px;
  max-width: 95vw;
  background: rgba(8, 23, 28, 0.98);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 3px solid var(--kn-green);
  border-radius: 0 0 10px 10px;
  padding: 24px 28px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  pointer-events: none;
  z-index: 999;
}
.nav-item.has-dropdown:hover .sub-mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.mega-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 32px;
}
.mega-col {
  display: flex;
  flex-direction: column;
}
.mega-title {
  display: block;
  font-size: 14.5px;
  color: #ffffff !important;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding-bottom: 8px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: color 0.2s;
}
.mega-title:hover {
  color: var(--kn-green-light) !important;
}
.mega-sublist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.mega-sublist li a {
  display: block;
  font-size: 13px;
  color: #a4c4ca;
  line-height: 1.45;
  transition: all 0.2s;
}
.mega-sublist li a:hover {
  color: var(--kn-green-light);
  transform: translateX(4px);
}

/* Header CTA & Toggle */
.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.btn-lookup-head {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid #ffffff;
  color: #1a7e43 !important;
  font-size: 13.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
  transition: all 0.2s;
}
.btn-lookup-head:hover {
  background: #f0fdf4;
  color: #126332 !important;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.2);
  transform: translateY(-1px);
}
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* Mobile Drawer Responsive */
@media (max-width: 1080px) {
  .sub-mega-menu {
    width: 95vw;
    left: 0;
    transform: none;
  }
}
@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .btn-lookup-head span { display: none; }
  .btn-lookup-head { padding: 0 12px; }
  .header-nav-main {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--kn-dark);
    padding: 20px;
    overflow-y: auto;
    display: none;
    z-index: 998;
  }
  .header-nav-main.open { display: block; }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .nav-link {
    padding: 12px 14px;
    font-size: 14.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .sub-mega-menu {
    position: static;
    transform: none;
    width: 100%;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
    padding: 14px 12px;
    box-shadow: none;
    background: rgba(0, 0, 0, 0.4);
  }
  .nav-item.dropdown-open .sub-mega-menu {
    display: block;
  }
  .mega-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ==========================================================================
   3. HERO SECTION & TRA CỨU BẢO HÀNH ĐIỆN TỬ
   ========================================================================== */
.home-sec-hero {
  background: linear-gradient(135deg, #07191e 0%, #0d2b33 50%, #06151a 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 68px 0 76px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: radial-gradient(#278d39 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.hero-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

/* Hero Content */
.hero-kicker {
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--kn-green-light);
  font-weight: 700;
  margin-bottom: 12px;
}
.hero-title {
  color: #fff;
  font-size: 38px;
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.hero-sub {
  color: #9eccd4;
  font-size: 21px;
  font-weight: 600;
  margin-bottom: 18px;
}
.hero-lead {
  color: #d1e5e8;
  font-size: 16px;
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 28px;
}
.hero-lead strong {
  color: #ffffff;
  border-bottom: 2px solid var(--kn-green);
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.btn-hero-order {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding: 0 28px;
  border-radius: 99px;
  background: var(--kn-green);
  border: 1px solid var(--kn-green-h);
  color: #fff;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(39, 141, 57, 0.45);
  transition: all 0.25s;
}
.btn-hero-order:hover {
  background: var(--kn-green-h);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(39, 141, 57, 0.6);
}
.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 50px;
  padding: 0 24px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 600;
  transition: all 0.2s;
}
.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  color: var(--kn-green-light);
}

.hero-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  color: #cde2e5;
  font-size: 14px;
}
.hero-highlights li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-highlights .ic {
  color: var(--kn-green-light);
}

/* Khung Tra cứu thẻ bảo hành nổi bật */
.hero-lookup-card {
  background: #ffffff;
  color: #14303a;
  border-radius: 12px;
  padding: 28px 26px 24px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.lookup-card-header {
  margin-bottom: 18px;
}
.lookup-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 99px;
  background: #eaf6ec;
  color: var(--kn-green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.lookup-card-header h3 {
  font-size: 22px;
  font-weight: 800;
  color: #0d2b33;
  margin-bottom: 4px;
}
.lookup-card-header p {
  font-size: 13.5px;
  color: #617b84;
  margin: 0;
  line-height: 1.5;
}
.lookup-row {
  display: flex;
  gap: 8px;
}
.lookup-row .input {
  height: 48px;
  font-size: 15.5px;
  font-weight: 600;
  border: 2px solid #c9d7db;
  border-radius: 6px;
}
.lookup-row .input:focus {
  border-color: var(--kn-teal);
  box-shadow: 0 0 0 3px rgba(10, 111, 124, 0.15);
}
.lookup-row .btn {
  height: 48px;
  padding: 0 22px;
  background: #2cb565;
  border-color: #2cb565;
  border-radius: 6px;
  font-weight: 700;
  font-size: 15px;
}
.lookup-row .btn:hover {
  background: #239953;
  border-color: #239953;
}
.lookup-hint {
  font-size: 12.5px;
  color: #7b9099;
  margin: 9px 0 0;
}
.lookup-card-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #eef3f5;
}
.stat-mini strong {
  display: block;
  font-size: 18px;
  color: var(--kn-teal-d);
  font-weight: 800;
}
.stat-mini span {
  font-size: 12px;
  color: #6b848e;
}

@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-title { font-size: 28px; }
  .hero-sub { font-size: 18px; }
}
@media (max-width: 480px) {
  .lookup-row { flex-direction: column; }
  .lookup-row .btn { width: 100%; }
}

/* ==========================================================================
   4. SECTION: LÝ DO CHỌN
   ========================================================================== */
.section-ly-do {
  padding: 72px 0 68px;
  background: #ffffff;
}
.sec-subtitle {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--kn-green);
  margin-bottom: 6px;
}
.sec-title {
  font-size: 32px;
  font-weight: 800;
  color: #122830;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}
.brand-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 auto 16px;
  max-width: 240px;
}
.brand-divider .line {
  flex: 1;
  height: 2px;
  background: #dbe7ea;
}
.brand-divider .tooth-icon {
  color: var(--kn-green);
}
.ly-do-desc {
  max-width: 680px;
  margin: 0 auto 48px;
  font-size: 15.5px;
  color: #556e77;
  line-height: 1.65;
}
.ly-do-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.ly-do-card {
  background: #fbfdfd;
  border: 1px solid #dce8ea;
  border-radius: 10px;
  padding: 34px 22px 28px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}
.ly-do-card:hover {
  background: #ffffff;
  border-color: var(--kn-green);
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(39, 141, 57, 0.12);
}
.card-icon-wrap {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #eef7f8;
  display: grid;
  place-items: center;
  transition: transform 0.3s ease;
}
.ly-do-card:hover .card-icon-wrap {
  transform: scale(1.08);
  background: #e4f5e7;
}
.ly-do-card h3 {
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #122830;
  margin-bottom: 10px;
}
.ly-do-card p {
  font-size: 13.5px;
  color: #5f7780;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 1000px) {
  .ly-do-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .ly-do-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   5. SECTION: CA HÀNG TIÊU BIỂU (RESTORE CASE STUDIES)
   ========================================================================== */
.section-ca-tieu-bieu {
  padding: 72px 0 68px;
  background: #f4f8f9;
  border-top: 1px solid #e2eaed;
  border-bottom: 1px solid #e2eaed;
}
.section-title-wrap {
  margin-bottom: 44px;
}
.sec-desc {
  max-width: 640px;
  margin: 8px auto 0;
  font-size: 15.5px;
  color: #577079;
}
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.case-card {
  background: #ffffff;
  border: 1px solid #dbe6e8;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(20, 48, 58, 0.04);
}
.case-card:hover {
  border-color: var(--kn-teal);
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(10, 111, 124, 0.12);
}
.case-cat-label {
  background: var(--kn-dark-2);
  color: #79cad3;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 16px;
  text-align: center;
  border-bottom: 2px solid var(--kn-green);
}
.case-img-box {
  height: 200px;
  background: linear-gradient(135deg, #102a32 0%, #173e4a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.img-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(39, 141, 57, 0.9);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 4px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  z-index: 2;
}
.case-placeholder-illu {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #7ed0d4;
  transition: transform 0.3s;
}
.case-card:hover .case-placeholder-illu {
  transform: scale(1.08);
}
.illu-tag {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.3);
  padding: 4px 12px;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Tabs trong card */
.case-tab-nav {
  display: flex;
  border-bottom: 1px solid #e6eeef;
  background: #f8fbfb;
}
.case-tab-btn {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 9px 6px;
  font-size: 12px;
  font-weight: 700;
  color: #5d757d;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: all 0.2s;
  border-bottom: 2px solid transparent;
}
.case-tab-btn:hover {
  color: var(--kn-teal);
}
.case-tab-btn.active {
  color: var(--kn-teal-d);
  background: #ffffff;
  border-bottom: 2px solid var(--kn-teal);
}
.case-tab-panel {
  display: none;
}
.case-tab-panel.active {
  display: block;
}

/* Body */
.case-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.case-body h4 {
  font-size: 16px;
  font-weight: 800;
  color: #14303a;
  line-height: 1.35;
  margin-bottom: 8px;
}
.case-body p {
  font-size: 13.5px;
  color: #556e77;
  line-height: 1.55;
  margin-bottom: 16px;
  flex: 1;
}
.case-link {
  font-size: 13.5px;
  color: var(--kn-green) !important;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: gap 0.2s;
}
.case-link:hover {
  color: var(--kn-green-h) !important;
  gap: 8px;
}

@media (max-width: 980px) {
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .cases-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   6. SECTION: ĐÁNH GIÁ TỪ KHÁCH HÀNG
   ========================================================================== */
.section-testimonials {
  padding: 72px 0 68px;
  background: #ffffff;
}
.google-review-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  padding: 6px 16px;
  border-radius: 99px;
  font-size: 13.5px;
  color: #92400e;
  font-weight: 600;
  margin-top: 10px;
}
.google-review-badge .stars {
  color: #f59e0b;
  font-size: 16px;
  letter-spacing: 2px;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 36px;
}
.testimonial-card {
  background: #fbfdfd;
  border: 1px solid #dce8ea;
  border-radius: 10px;
  padding: 26px 24px 22px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s;
}
.testimonial-card:hover {
  border-color: var(--kn-teal);
  box-shadow: 0 8px 24px rgba(10, 111, 124, 0.08);
}
.t-stars {
  color: #f59e0b;
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.t-quote {
  font-size: 14.5px;
  line-height: 1.65;
  color: #3b555e;
  font-style: italic;
  flex: 1;
  margin-bottom: 18px;
}
.t-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #edf3f5;
  padding-top: 14px;
}
.t-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #eef7f8;
  color: var(--kn-teal);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.t-author strong {
  display: block;
  font-size: 14px;
  color: #122830;
}
.t-author span {
  font-size: 12px;
  color: #728c94;
}

@media (max-width: 900px) {
  .testimonials-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* ==========================================================================
   7. SECTION: GIẤY PHÉP & CHỨNG NHẬN
   ========================================================================== */
.section-certifications {
  padding: 72px 0 68px;
  background: #278d39;
  color: #fff;
}
.section-certifications .sec-subtitle {
  color: #ffffff;
  opacity: 0.9;
}
.section-certifications .sec-title {
  color: #ffffff;
}
.section-certifications .sec-desc {
  color: #f0fdf4;
}
.certs-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 28px;
  align-items: center;
  margin-top: 36px;
}
.iso-main-card {
  background: rgba(0, 0, 0, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-left: 4px solid #ffffff;
  border-radius: 10px;
  padding: 32px 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.iso-badge-ic {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #ffffff;
  color: #1a7e43;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.iso-main-card h3 {
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.iso-main-card p {
  color: #f0fdf4;
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 14px;
}
.iso-main-card .more-link {
  color: #ffffff;
  font-weight: 700;
  text-decoration: underline;
}

.cert-profiles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.cert-box {
  background: rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  padding: 20px 22px;
}
.cert-box h4 {
  font-size: 13.5px;
  color: #ffffff;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 6px;
}
.cert-pill-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cert-pill-list li {
  display: flex;
  flex-direction: column;
  font-size: 12.5px;
}
.cert-pill-list strong {
  color: #ffffff;
  font-size: 13.5px;
}
.cert-pill-list span {
  color: #e6f7ec;
}

.partner-materials-strip {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.strip-label {
  font-size: 12.5px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.06em;
}
.material-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.mat-tag {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 99px;
  padding: 5px 14px;
  font-size: 12.5px;
  color: #ffffff;
  font-weight: 600;
}

@media (max-width: 900px) {
  .certs-wrapper { grid-template-columns: 1fr; }
  .cert-profiles-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   8. SECTION SẢN PHẨM, ĐỐI TÁC, TIN TỨC & CTA
   ========================================================================== */
.section-products {
  padding: 72px 0;
  background: #ffffff;
}
.section-partners {
  padding: 72px 0;
  background: #f7fafb;
  border-top: 1px solid #e5edef;
}
.section-posts {
  padding: 72px 0;
  background: #ffffff;
  border-top: 1px solid #e5edef;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 20px;
  flex-wrap: wrap;
}
.section-head .sec-title {
  margin-bottom: 4px;
}
.section-head p {
  color: #5d757d;
  font-size: 15px;
  margin: 0;
}
.more-link {
  font-weight: 700;
  font-size: 14px;
  color: var(--kn-teal);
  display: inline-flex;
  gap: 6px;
  align-items: center;
  transition: gap 0.2s;
}
.more-link:hover {
  gap: 9px;
  color: var(--kn-teal-d);
}

/* Cards grid */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.cards.c3 {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 1000px) {
  .cards, .cards.c3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .cards, .cards.c3 { grid-template-columns: 1fr; }
}

.tile {
  background: #fff;
  border: 1px solid #dbe6e8;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: #14303a;
  transition: all 0.2s;
}
.tile:hover {
  border-color: var(--kn-teal);
  box-shadow: 0 10px 24px rgba(10, 111, 124, 0.1);
  transform: translateY(-3px);
  color: #14303a;
}
.tile .thumb {
  aspect-ratio: 4 / 3;
  background: #eef7f8;
  display: grid;
  place-items: center;
  color: #79a6ac;
  overflow: hidden;
  border-bottom: 1px solid #e5eeef;
}
.tile .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tile .body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.tile .kicker {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--kn-teal);
  font-weight: 700;
  margin-bottom: 6px;
}
.tile h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.35;
}
.tile p {
  color: #556e77;
  font-size: 13.5px;
  margin-bottom: 14px;
}
.tile .go {
  margin-top: auto;
  font-weight: 700;
  font-size: 13px;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: var(--kn-teal);
}

.partner-tile {
  padding: 18px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.partner-tile .logo {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  border: 1px solid #dce8ea;
  background: #fff;
  display: grid;
  place-items: center;
  color: var(--kn-teal);
  flex-shrink: 0;
}
.partner-tile h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}
.partner-tile .line {
  font-size: 13px;
  color: #5f7982;
  display: flex;
  gap: 6px;
  align-items: center;
  margin-top: 3px;
}

/* Call to action Banner */
.section-cta-banner {
  background: linear-gradient(135deg, var(--kn-dark-2) 0%, var(--kn-teal-d) 100%);
  color: #fff;
  padding: 56px 0;
  border-top: 3px solid var(--kn-green);
}
.cta-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.section-cta-banner h2 {
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 6px;
}
.section-cta-banner p {
  color: #c9e3e7;
  font-size: 15.5px;
  margin: 0;
  max-width: 620px;
}
.cta-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-sample-cta {
  background: var(--kn-green);
  border-color: var(--kn-green-h);
  color: #fff;
  font-weight: 700;
}
.btn-sample-cta:hover {
  background: var(--kn-green-h);
}
.btn-contact-cta {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}
.btn-contact-cta:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* ==========================================================================
   9. FOOTER (Chuẩn Khai Nguyên Lab)
   ========================================================================== */
.site-footer {
  background: var(--kn-dark);
  color: #a4c0c7;
  font-size: 14px;
  padding-top: 56px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.15fr 1fr;
  gap: 36px;
  padding-bottom: 44px;
}
.footer-col h3 {
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  margin-bottom: 14px;
}
.footer-brand .brand-mark {
  width: 40px;
  height: 40px;
}
.footer-desc {
  font-size: 13.5px;
  line-height: 1.65;
  color: #92b0b7;
  margin-bottom: 16px;
}
.footer-iso-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(39, 141, 57, 0.2);
  border: 1px solid var(--kn-green);
  color: var(--kn-green-light);
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-links a {
  color: #b5ced3;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--kn-green-light);
}
.contact-entry {
  margin-bottom: 12px;
}
.entry-label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6d8e96;
  margin-bottom: 2px;
}
.contact-entry p {
  margin: 0;
  color: #d1e5e8;
  font-size: 13.5px;
  line-height: 1.5;
}
.contact-entry a {
  color: #d1e5e8;
}
.contact-entry a:hover {
  color: var(--kn-green-light);
}
.btn-outline-white {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
}
.btn-outline-white:hover {
  background: var(--kn-green);
  border-color: var(--kn-green);
  color: #fff;
}
.absolute-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  font-size: 13px;
  color: #7a98a0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .footer-cols { grid-template-columns: 1fr; }
}

/* ==========================================================================
   10. WIDGETS NỔI: PHONE RING & SHORTCUT BAR (Chuẩn Khai Nguyên Lab)
   ========================================================================= */
/* Phone ring widget ở góc dưới bên trái */
.n-tell {
  position: fixed;
  bottom: 24px;
  left: 16px;
  z-index: 9999;
}
.n-tell-phone-ring {
  position: relative;
  width: 100px;
  height: 100px;
  cursor: pointer;
  z-index: 11;
  display: block;
}
.n-tell-cricle {
  width: 80px;
  height: 80px;
  top: 10px;
  left: 10px;
  position: absolute;
  border-radius: 100%;
  border: 2px solid #35a249;
  background-color: transparent;
  animation: phonering-cricle 1.2s ease-in-out infinite;
  opacity: 0.5;
}
.n-tell-cricle-fill {
  width: 52px;
  height: 52px;
  top: 24px;
  left: 24px;
  background-color: rgba(53, 162, 73, 0.65);
  border-radius: 100%;
  position: absolute;
  animation: phonering-circle-fill 2.3s ease-in-out infinite;
}
.n-tell-img-cricle {
  background-color: #35a249;
  width: 38px;
  height: 38px;
  top: 31px;
  left: 31px;
  position: absolute;
  display: flex;
  border-radius: 100%;
  animation: phonering-circle-img 1s ease-in-out infinite;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.n-tell-img-cricle .n-pps-btn-img {
  color: #fff;
  display: grid;
  place-items: center;
}
.n-tell .n-tell-bar {
  position: absolute;
  background: rgba(39, 141, 57, 0.9);
  height: 38px;
  width: 154px;
  line-height: 38px;
  cursor: pointer;
  z-index: 9;
  padding: 0 14px 0 42px;
  left: 31px;
  top: 31px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  border-radius: 50px !important;
}
.n-tell .n-tell-bar > a {
  text-decoration: none;
  letter-spacing: 0.5px;
  color: #ffffff !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  display: block !important;
}

@keyframes phonering-circle-fill {
  0% { transform: rotate(0deg) scale(0.7) skew(1deg); opacity: 0.6; }
  50% { transform: rotate(0deg) scale(1) skew(1deg); opacity: 0.6; }
  100% { transform: rotate(0deg) scale(0.7) skew(1deg); opacity: 0.6; }
}
@keyframes phonering-circle-img {
  0% { transform: rotate(0deg) scale(1) skew(1deg); }
  10% { transform: rotate(-25deg) scale(1) skew(1deg); }
  20% { transform: rotate(25deg) scale(1) skew(1deg); }
  30% { transform: rotate(-25deg) scale(1) skew(1deg); }
  40% { transform: rotate(25deg) scale(1) skew(1deg); }
  50% { transform: rotate(-25deg) scale(1) skew(1deg); }
  100% { transform: rotate(25deg) scale(1) skew(1deg); }
}
@keyframes phonering-cricle {
  0% { transform: rotate(0deg) scale(0.5) skew(1deg); opacity: 0.1; }
  50% { transform: rotate(0deg) scale(0.8) skew(1deg); opacity: 0.5; }
  100% { transform: rotate(0deg) scale(1) skew(1deg); opacity: 0.1; }
}

/* Shortcut bar nổi bên phải desktop */
.list-shortcut-desktop {
  position: fixed;
  z-index: 9990;
  right: 20px;
  bottom: 28%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.shortcut-item {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
  display: grid;
  place-items: center;
  transition: all 0.25s;
  border: 0;
  cursor: pointer;
  background: #ffffff;
}
.shortcut-item:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
}
.shortcut-item.phone {
  background: var(--kn-green);
  color: #fff;
}
.shortcut-item.back-to-top {
  background: var(--kn-teal);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) rotate(-90deg);
}
.shortcut-item.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) rotate(-90deg);
}

/* Thanh điều hướng cố định đáy màn hình di động (Mobile Bottom Menu) */
.wp-bottom-menu {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--kn-dark-2);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 9998;
  display: none;
  justify-content: space-around;
  padding: 6px 0 8px;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.3);
}
.wp-bottom-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: #93b5bd !important;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
}
.wp-bottom-item.active, .wp-bottom-item:hover {
  color: var(--kn-green-light) !important;
}
.wp-bottom-item.highlight {
  color: #ffffff !important;
}
.wp-bottom-item.highlight span {
  color: var(--kn-green-light);
  font-weight: 700;
}
.wp-bottom-item.phone-call {
  color: #38bdf8 !important;
}

@media (max-width: 768px) {
  .list-shortcut-desktop { display: none !important; }
  .n-tell { display: none !important; }
  .wp-bottom-menu { display: flex !important; }
  body.site-body { padding-bottom: 60px; }
}

/* ==========================================================================
   11. MODAL ĐĂNG KÝ CA MẪU / REQUEST A SAMPLE CASE
   ========================================================================== */
.kn-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 23, 28, 0.75);
  backdrop-filter: blur(5px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.kn-modal-dialog {
  background: #ffffff;
  border-radius: 12px;
  width: 100%;
  max-width: 620px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
  animation: modalFadeIn 0.25s ease-out;
}
@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
.kn-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: rgba(0, 0, 0, 0.05);
  color: #4b636d;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s;
}
.kn-modal-close:hover {
  background: rgba(0, 0, 0, 0.1);
  color: #122830;
}
.kn-modal-header {
  background: linear-gradient(135deg, var(--kn-dark-2) 0%, var(--kn-teal-d) 100%);
  color: #fff;
  padding: 24px 28px 20px;
}
.kn-modal-header h2 {
  color: #fff;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.kn-modal-header .sub-title {
  color: var(--kn-green-light);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}
.modal-notice {
  font-size: 12.5px;
  color: #b5d5dc;
  margin: 0;
}
.kn-modal-form {
  padding: 24px 28px 28px;
}
.role-selector {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.role-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #f0f7f8;
  border: 1px solid #cce1e5;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
  color: #24414a;
  cursor: pointer;
}
.role-pill input {
  margin: 0;
  accent-color: var(--kn-green);
}
.btn-block {
  width: 100%;
}

/* ==========================================================================
   12. KẾT QUẢ TRA CỨU BẢO HÀNH (GIỮ NGUYÊN 100% CẤU TRÚC VÀ TÍNH NĂNG)
   ========================================================================== */
.result-section {
  padding: 36px 0 12px;
}
.result-section[hidden] {
  display: none;
}
.result-title {
  font-size: 15px;
  color: #48616b;
  margin-bottom: 14px;
  font-weight: 500;
}
.result-title strong {
  color: #14303a;
}
.card-result {
  background: #fff;
  border: 1px solid #dce8ea;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(20, 48, 58, 0.08);
}
.card-result > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 24px;
  background: linear-gradient(135deg, var(--kn-dark-2) 0%, var(--kn-teal-d) 100%);
  color: #fff;
}
.card-result .who {
  display: flex;
  align-items: center;
  gap: 14px;
}
.card-result .who .avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: grid;
  place-items: center;
}
.card-result .who small {
  display: block;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a9cdd1;
}
.card-result .who h3 {
  margin: 0;
  color: #fff;
  font-size: 21px;
  font-weight: 800;
}
.card-result .no {
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #d3e8ea;
  font-size: 15px;
}
.card-result .state {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 38px;
  padding: 0 18px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 15px;
}
.state.active {
  background: var(--kn-green);
  color: #ffffff;
  border: 1px solid var(--kn-green-h);
  box-shadow: 0 2px 8px rgba(39, 141, 57, 0.35);
}
.state.expired {
  background: #b91c1c;
  color: #ffffff;
  border: 1px solid #991b1b;
}

.data-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 0;
}
.data-list > div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 12px;
  padding: 14px 24px;
  border-bottom: 1px solid #eef3f5;
  align-items: baseline;
}
.data-list > div:nth-child(odd) {
  border-right: 1px solid #eef3f5;
}
.data-list dt {
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6b838c;
  font-weight: 600;
}
.data-list dd {
  margin: 0;
  font-weight: 700;
  color: #14303a;
  word-break: break-word;
}
.data-list .wide {
  grid-column: 1 / -1;
  border-right: 0 !important;
  display: block !important;
  padding: 16px 24px !important;
}
.data-list .wide dt {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #6b838c;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.data-list .wide dd {
  width: 100%;
  margin: 0;
}
.card-result .foot {
  padding: 14px 24px;
  font-size: 13px;
  color: #6b848e;
  background: #f8fbfb;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 700px) {
  .data-list { grid-template-columns: 1fr; }
  .data-list > div { grid-template-columns: 130px 1fr; padding: 12px 16px; border-right: 0 !important; }
  .card-result > header { padding: 16px; }
}

.loading {
  color: #617c86;
  padding: 24px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}
.spinner {
  width: 22px;
  height: 22px;
  border: 3px solid #dce8ea;
  border-top-color: var(--kn-teal);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   13. CÁC TRANG CON THEO MẪU KHAI NGUYÊN DENTAL LAB
   ========================================================================== */

/* Header chung cho các trang con (Dark Hero Banner) */
.page-head.page-head-dark {
  background: #2cb565;
  color: #ffffff;
  padding: 44px 0 40px;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid #239953;
}
.page-head.page-head-dark::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, transparent 70%);
  pointer-events: none;
}
.page-head .crumbs {
  font-size: 13px;
  color: #e6f7ec;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.page-head .crumbs a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s;
}
.page-head .crumbs a:hover {
  color: #f0fdf4;
  text-decoration: underline;
}
.page-head .crumbs span {
  color: #e6f7ec;
}
.page-head-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 4px 14px;
  border-radius: 99px;
  margin-bottom: 12px;
}
.page-head-title {
  color: #ffffff;
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.25;
  margin: 0 0 10px;
}
.page-head-sub {
  color: #f0fdf4;
  font-size: 15px;
  max-width: 820px;
  line-height: 1.6;
  margin: 0;
}

/* Thân trang con */
.inner-page-section {
  padding: 50px 0 76px;
  background: #f7fafb;
}

/* Tiêu đề phân đoạn trong trang */
.inner-page-section .section-title-wrap {
  margin-bottom: 32px;
}
.inner-page-section .sec-subtitle {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--kn-teal);
  display: block;
  margin-bottom: 4px;
}
.inner-page-section .sec-title {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  color: #102d36;
  line-height: 1.3;
  margin: 0 0 8px;
  letter-spacing: 0.02em;
}
.inner-page-section .sec-desc {
  font-size: 15px;
  color: #53727c;
  max-width: 780px;
  line-height: 1.6;
  margin: 0;
}

/* ---- TRANG 1: CHIA SẺ TRẢI NGHIỆM / ƯU ĐÃI (/uu-dai) ---- */
.hd-danh-gia-banner {
  margin-bottom: 46px;
}
.banner-pill-text {
  display: inline-block;
  padding: 24px 44px;
  color: #ffffff;
  background: linear-gradient(135deg, #138241 0%, #35a249 100%);
  border-radius: 99px;
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 800;
  text-align: center;
  margin: 0 auto;
  box-shadow: 0 10px 28px rgba(19, 130, 65, 0.25);
  line-height: 1.4;
  max-width: 980px;
}
.hd-danh-gia {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
.hd-col {
  display: flex;
  flex-direction: column;
}
.hd-b1-item {
  display: flex;
  gap: 18px;
  position: relative;
  margin-bottom: 36px;
}
.hd-b1-item:last-child {
  margin-bottom: 0;
}
.danh-gia-dots {
  position: relative;
  width: 32px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.step-circle {
  margin-top: 2px;
}
.step-circle .circle {
  width: 22px;
  height: 22px;
  border-radius: 50% !important;
  border: 3px solid #138241;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(19, 130, 65, 0.15);
  position: relative;
}
.step-circle .circle::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #138241;
}
.step-dots {
  width: 2px;
  flex-grow: 1;
  border-left: 2px dashed #93cfa3;
  margin-top: 10px;
  margin-bottom: -16px;
}
.hd-b1-item:last-child .step-dots {
  display: none;
}
.danh-gia-content {
  flex-grow: 1;
}
.danh-gia-content .step-title {
  color: #138241;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin: 0 0 6px;
}
.danh-gia-content .step-desc {
  color: #2c4a52;
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 14px;
}
.step-img-box {
  background: #ffffff;
  border: 1px solid #dce8ea;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(10, 44, 53, 0.08);
  transition: transform 0.25s, box-shadow 0.25s;
}
.step-img-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10, 44, 53, 0.12);
}
.step-img-box img {
  width: 100%;
  height: auto;
  display: block;
}
.step-imgs-grid-2 {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 14px;
  align-items: start;
}
.step-imgs-grid-2 .qr-box {
  background: #ffffff;
  padding: 6px;
}

.review-intro-box {
  background: #ffffff;
  border: 1px solid #d8e6e9;
  border-radius: 14px;
  padding: 42px 36px;
  box-shadow: 0 8px 30px rgba(10, 36, 44, 0.05);
  margin-bottom: 46px;
}
.review-intro-box .quote-icon {
  color: var(--kn-green);
  display: inline-flex;
  margin-bottom: 14px;
}
.review-intro-box h2 {
  color: #102d36;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 800;
  margin-bottom: 14px;
  line-height: 1.35;
}
.review-intro-box .lead-text {
  color: #4a6771;
  font-size: 15.5px;
  line-height: 1.7;
  max-width: 820px;
  margin: 0 auto 20px;
}
.google-stars-display {
  background: #f0f8f3;
  border: 1px solid #c8e7d2;
  border-radius: 99px;
  padding: 8px 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #1f6d33;
  font-weight: 700;
  font-size: 14px;
}
.google-stars-display .stars {
  color: #f59e0b;
  font-size: 18px;
  letter-spacing: 2px;
}
.review-steps-wrap {
  margin-bottom: 46px;
}
.review-steps-wrap .steps-heading {
  font-size: 20px;
  font-weight: 800;
  color: #102d36;
  letter-spacing: 0.04em;
  margin-bottom: 28px;
}
.review-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step-card {
  background: #ffffff;
  border: 1px solid #dce8ea;
  border-radius: 12px;
  padding: 28px 22px;
  position: relative;
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(10, 44, 53, 0.1);
  border-color: #b4d5dc;
}
.step-card .step-num {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #8eaab2;
  background: #f0f5f6;
  padding: 3px 8px;
  border-radius: 4px;
}
.step-card .step-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(10, 111, 124, 0.08);
  color: var(--kn-teal);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.step-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: #102d36;
  margin: 0 0 8px;
  line-height: 1.4;
}
.step-card p {
  font-size: 13.5px;
  color: #5a7780;
  line-height: 1.55;
  margin: 0;
}
.step-card.highlight {
  border: 2px solid var(--kn-green);
  background: linear-gradient(180deg, #f3faf4 0%, #ffffff 100%);
  box-shadow: 0 6px 20px rgba(39, 141, 57, 0.12);
}
.step-card.highlight .step-num {
  background: var(--kn-green);
  color: #ffffff;
}
.step-card.highlight .step-icon {
  background: rgba(39, 141, 57, 0.12);
  color: var(--kn-green);
}
.review-cta-box {
  background: linear-gradient(135deg, var(--kn-dark) 0%, var(--kn-teal-d) 100%);
  border-radius: 14px;
  padding: 40px 44px;
  color: #ffffff;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: center;
  box-shadow: 0 15px 40px rgba(9, 38, 47, 0.28);
}
.qr-mock-box {
  width: 170px;
  height: 170px;
  background: #ffffff;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  border: 4px solid #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  color: #0a2c35;
}
.qr-mock-box .qr-icon {
  color: var(--kn-teal);
}
.qr-mock-box .qr-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--kn-teal);
  letter-spacing: 0.05em;
  margin-top: 6px;
}
.qr-caption {
  font-size: 12.5px;
  color: #a8cad2;
  margin: 10px 0 0;
  line-height: 1.45;
}
.action-col h3 {
  color: #ffffff;
  font-size: 23px;
  font-weight: 800;
  margin: 0 0 8px;
}
.action-col p {
  color: #d0e5ea;
  font-size: 15px;
  margin: 0 0 18px;
}
.btn-review-google {
  background: var(--kn-green);
  border-color: var(--kn-green);
  color: #ffffff;
  font-weight: 800;
  padding: 14px 28px;
  font-size: 15px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 18px rgba(39, 141, 57, 0.4);
  text-decoration: none;
  transition: all 0.25s;
}
.btn-review-google:hover {
  background: var(--kn-green-h);
  border-color: var(--kn-green-h);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(39, 141, 57, 0.5);
  color: #ffffff;
}
.support-contact-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: #b9d8df;
  margin-top: 16px;
}
.support-contact-line a {
  color: var(--kn-green-light);
  text-decoration: underline;
}

/* ---- TRANG 2: VỀ VN PREMIUM LAB (/ve-khai-nguyen, /gioi-thieu) ---- */
.about-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 60px;
}
.about-hero-text .sub-kicker {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--kn-teal);
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}
.about-hero-text h2 {
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 800;
  color: #102d36;
  line-height: 1.3;
  margin: 0 0 16px;
}
.about-hero-text p.lead {
  font-size: 16px;
  color: #234954;
  line-height: 1.7;
  font-weight: 500;
  margin-bottom: 14px;
}
.about-hero-text p {
  font-size: 14.5px;
  color: #4e6d77;
  line-height: 1.65;
  margin-bottom: 24px;
}
.about-hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.about-hero-card .card-glass-body {
  background: linear-gradient(135deg, var(--kn-dark) 0%, var(--kn-teal-d) 100%);
  color: #ffffff;
  border-radius: 14px;
  padding: 36px 32px;
  box-shadow: 0 16px 40px rgba(9, 44, 53, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.about-hero-card .card-logo-symbol {
  width: 70px;
  height: 70px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  color: var(--kn-green-light);
  margin-bottom: 20px;
}
.about-hero-card h3 {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 4px;
}
.about-hero-card .tagline {
  color: var(--kn-green-light);
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.about-quick-specs {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.about-quick-specs li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13.5px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  padding-bottom: 8px;
}
.about-quick-specs li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.about-quick-specs strong {
  color: #b7d8df;
}
.about-quick-specs span {
  color: #ffffff;
  font-weight: 600;
  text-align: right;
}
.about-pillars-wrap {
  margin-bottom: 60px;
}
.about-timeline-wrap {
  margin-bottom: 40px;
}
.timeline-tree {
  position: relative;
  max-width: 860px;
  margin: 40px auto 0;
  padding-left: 36px;
}
.timeline-tree::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 10px;
  bottom: 10px;
  width: 3px;
  background: #d0e2e6;
}
.timeline-node {
  position: relative;
  margin-bottom: 34px;
}
.timeline-node::after {
  content: "";
  position: absolute;
  left: -31px;
  top: 4px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--kn-teal);
}
.timeline-node.current::after {
  border-color: var(--kn-green);
  background: var(--kn-green);
  box-shadow: 0 0 0 4px rgba(39, 141, 57, 0.2);
}
.timeline-node .tl-date {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--kn-teal);
  margin-bottom: 4px;
}
.timeline-node.current .tl-date {
  color: var(--kn-green);
}
.timeline-node .tl-content {
  background: #ffffff;
  border: 1px solid #dce8ea;
  border-radius: 10px;
  padding: 20px 24px;
  box-shadow: 0 4px 16px rgba(10, 44, 53, 0.05);
}
.timeline-node .tl-content h4 {
  font-size: 16px;
  font-weight: 700;
  color: #102d36;
  margin: 0 0 6px;
}
.timeline-node .tl-content p {
  font-size: 14px;
  color: #53717a;
  line-height: 1.6;
  margin: 0;
}

/* ---- TRANG 3: CASE PHỤC HÌNH TIÊU BIỂU (/ca-tieu-bieu) ---- */
.cases-category-nav {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
  position: sticky;
  top: 74px;
  z-index: 10;
  background: rgba(247, 250, 251, 0.95);
  backdrop-filter: blur(8px);
  padding: 12px 0;
}
.cases-category-nav .cat-pill {
  padding: 8px 20px;
  border-radius: 99px;
  background: #ffffff;
  border: 1px solid #cce0e4;
  font-size: 13.5px;
  font-weight: 700;
  color: #274852;
  transition: all 0.2s;
  text-decoration: none;
}
.cases-category-nav .cat-pill:hover,
.cases-category-nav .cat-pill.active {
  background: var(--kn-teal);
  border-color: var(--kn-teal);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(10, 111, 124, 0.25);
}
.case-section-block {
  margin-bottom: 56px;
  scroll-margin-top: 130px;
}
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case-card {
  background: #ffffff;
  border: 1px solid #dbe7e9;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s;
  box-shadow: 0 4px 16px rgba(10, 44, 53, 0.05);
}
.case-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(10, 44, 53, 0.12);
  border-color: #b2d6dc;
}
.case-cat-label {
  padding: 8px 18px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--kn-teal);
  background: #f0f7f8;
  border-bottom: 1px solid #e1edf0;
}
.case-img-box {
  height: 210px;
  background: linear-gradient(135deg, var(--kn-dark) 0%, var(--kn-teal-d) 100%);
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.case-img-box .img-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.case-placeholder-illu {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--kn-green-light);
}
.case-placeholder-illu .illu-tag {
  font-size: 12px;
  font-weight: 700;
  color: #c5e4eb;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.case-body {
  padding: 22px 20px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.case-body h4 {
  font-size: 16.5px;
  font-weight: 800;
  color: #102d36;
  margin: 0 0 8px;
  line-height: 1.4;
}
.case-body p {
  font-size: 13.5px;
  color: #55737d;
  line-height: 1.55;
  margin: 0 0 16px;
  flex-grow: 1;
}
.case-link {
  font-size: 13px;
  color: var(--kn-green);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
}
.case-link:hover {
  color: var(--kn-green-h);
  text-decoration: underline;
}

/* Tabs con trong card Veneer */
.case-card.has-subtabs .case-tab-nav {
  display: flex;
  background: #edf5f7;
  border-bottom: 1px solid #dce8ea;
  padding: 4px;
  gap: 4px;
}
.case-card.has-subtabs .case-tab-btn {
  flex: 1;
  padding: 10px 14px;
  border: 0;
  background: transparent;
  font-size: 13.5px;
  font-weight: 700;
  color: #365660;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s;
}
.case-card.has-subtabs .case-tab-btn.active {
  background: #ffffff;
  color: var(--kn-teal);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.case-card.has-subtabs .case-tab-panel {
  display: none;
  animation: tabFadeIn 0.25s ease-out;
}
.case-card.has-subtabs .case-tab-panel.active {
  display: block;
}
@keyframes tabFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---- TRANG 4: HỖ TRỢ KHÁCH HÀNG & CHÍNH SÁCH (/ho-tro-khach-hang) ---- */
.policy-anchor-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 36px;
  position: sticky;
  top: 74px;
  z-index: 10;
  background: rgba(247, 250, 251, 0.95);
  backdrop-filter: blur(8px);
  padding: 12px 0;
}
.policy-anchor-bar .anchor-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #ffffff;
  border: 1px solid #cde1e5;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #23454f;
  text-decoration: none;
  transition: all 0.2s;
}
.policy-anchor-bar .anchor-btn:hover,
.policy-anchor-bar .anchor-btn.active {
  background: var(--kn-teal);
  border-color: var(--kn-teal);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(10, 111, 124, 0.2);
}
.policy-content-wrap {
  display: flex;
  flex-direction: column;
  gap: 36px;
  max-width: 1100px;
  margin: 0 auto;
}
.policy-section-card {
  background: #ffffff;
  border: 1px solid #dce8ea;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(10, 44, 53, 0.05);
  scroll-margin-top: 130px;
}
.policy-card-header {
  background: linear-gradient(135deg, var(--kn-dark) 0%, var(--kn-teal-d) 100%);
  color: #ffffff;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.policy-card-header .policy-num {
  font-size: 13px;
  font-weight: 800;
  background: var(--kn-green);
  color: #ffffff;
  padding: 3px 10px;
  border-radius: 6px;
  letter-spacing: 0.05em;
}
.policy-card-header h2 {
  color: #ffffff;
  font-size: 19px;
  font-weight: 800;
  margin: 0;
  letter-spacing: 0.03em;
}
.policy-card-body {
  padding: 28px 30px;
}
.policy-item {
  margin-bottom: 22px;
}
.policy-item:last-child {
  margin-bottom: 0;
}
.policy-item h4 {
  font-size: 15.5px;
  font-weight: 700;
  color: #102d36;
  margin: 0 0 6px;
}
.policy-item p {
  font-size: 14.5px;
  color: #4e6d77;
  line-height: 1.65;
  margin: 0;
}
.policy-bullet-list {
  padding-left: 20px;
  margin: 10px 0 0;
}
.policy-bullet-list li {
  font-size: 14.5px;
  color: #486771;
  line-height: 1.65;
  margin-bottom: 8px;
}
.policy-bullet-list strong {
  color: #14333d;
}

/* Quy trình giao nhận ngang */
.workflow-steps-horizontal {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 10px;
}
.wf-step {
  background: #f5fafb;
  border: 1px solid #dce8ea;
  border-radius: 10px;
  padding: 20px;
  position: relative;
}
.wf-step .wf-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  color: var(--kn-teal);
  background: #e0f0f3;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}
.wf-step h4 {
  font-size: 15px;
  font-weight: 700;
  color: #102d36;
  margin: 0 0 6px;
}
.wf-step p {
  font-size: 13px;
  color: #597780;
  line-height: 1.55;
  margin: 0;
}

/* Bảng bảo hành chi tiết */
.table-wrap {
  overflow-x: auto;
  margin-bottom: 24px;
  border-radius: 8px;
  border: 1px solid #dce8ea;
}
.warranty-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 600px;
}
.warranty-table th {
  background: #edf6f8;
  color: #12333d;
  font-weight: 800;
  padding: 12px 16px;
  text-align: left;
  border-bottom: 2px solid #cce1e6;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.warranty-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #e5eff1;
  color: #3d5c66;
}
.warranty-table tr:last-child td {
  border-bottom: 0;
}
.warranty-table .badge-time {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: #ffffff;
  background: var(--kn-green);
  padding: 4px 10px;
  border-radius: 99px;
  letter-spacing: 0.04em;
}
.warranty-conditions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.cond-box {
  background: #f8fbfb;
  border: 1px solid #dce8ea;
  border-radius: 10px;
  padding: 22px;
}
.cond-box h4 {
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: #102d36;
}
.cond-list {
  padding-left: 18px;
  margin: 0;
}
.cond-list li {
  font-size: 13.5px;
  color: #52717b;
  line-height: 1.6;
  margin-bottom: 8px;
}

/* ---- TRANG 5: QUY TRÌNH ĐẶT HÀNG (/quy-trinh-dat-hang) ---- */
.order-workflow-wrap {
  margin-bottom: 50px;
}
.workflow-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.wf-card {
  background: #ffffff;
  border: 1px solid #dce8ea;
  border-radius: 12px;
  padding: 28px 20px;
  position: relative;
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
  text-align: center;
}
.wf-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(10, 44, 53, 0.1);
  border-color: #b4d5dc;
}
.wf-card .wf-top-badge {
  position: absolute;
  top: 12px;
  left: 16px;
  font-size: 10.5px;
  font-weight: 800;
  background: var(--kn-teal);
  color: #ffffff;
  padding: 2px 8px;
  border-radius: 4px;
}
.wf-card .wf-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: rgba(10, 111, 124, 0.08);
  color: var(--kn-teal);
  display: grid;
  place-items: center;
  margin: 12px auto 16px;
}
.wf-card h3 {
  font-size: 16.5px;
  font-weight: 700;
  color: #102d36;
  margin: 0 0 8px;
}
.wf-card p {
  font-size: 13.5px;
  color: #597780;
  line-height: 1.55;
  margin: 0;
}
.sample-try-banner {
  background: linear-gradient(135deg, var(--kn-dark) 0%, var(--kn-teal-d) 100%);
  color: #ffffff;
  border-radius: 14px;
  padding: 36px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  margin-bottom: 60px;
  box-shadow: 0 14px 36px rgba(9, 44, 53, 0.2);
}
.sample-kicker {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--kn-green-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}
.sample-text h3 {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 8px;
}
.sample-text p {
  font-size: 15px;
  color: #c5e1e7;
  margin: 0;
}
.sample-action .btn-hero-order {
  white-space: nowrap;
}
.clinical-types-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.clinical-box {
  background: #ffffff;
  border: 1px solid #dce8ea;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(10, 44, 53, 0.04);
}
.clinical-box.wide {
  grid-column: 1 / -1;
}
.clinical-box .box-head {
  background: #f0f7f8;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #e0edf0;
}
.clinical-box .head-num {
  font-size: 12px;
  font-weight: 800;
  background: var(--kn-teal);
  color: #ffffff;
  padding: 2px 8px;
  border-radius: 4px;
}
.clinical-box .box-head h4 {
  font-size: 16px;
  font-weight: 700;
  color: #102d36;
  margin: 0;
}
.clinical-box .box-body {
  padding: 22px 24px;
}
.clinical-box ul {
  padding-left: 20px;
  margin: 0;
}
.clinical-box li {
  font-size: 14px;
  color: #4e6d77;
  line-height: 1.6;
  margin-bottom: 10px;
}
.clinical-box strong {
  color: #102d36;
}
.clinical-box h5 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--kn-teal);
  margin: 0 0 8px;
}

/* ---- TRANG 6: LIÊN HỆ (/lien-he) ---- */
.contact-cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.c-info-card {
  background: #ffffff;
  border: 1px solid #dce8ea;
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(10, 44, 53, 0.05);
  transition: all 0.25s;
}
.c-info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(10, 44, 53, 0.1);
  border-color: #b4d5dc;
}
.c-icon-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(10, 111, 124, 0.08);
  color: var(--kn-teal);
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
}
.c-info-card h3 {
  font-size: 16px;
  font-weight: 800;
  color: #102d36;
  margin: 0 0 8px;
  letter-spacing: 0.04em;
}
.c-info-card p {
  font-size: 14.5px;
  color: #4c6c76;
  line-height: 1.6;
  margin: 0 0 12px;
}
.c-info-card p a {
  color: var(--kn-teal);
  text-decoration: none;
  font-weight: 700;
}
.c-info-card p a:hover {
  color: var(--kn-green);
}
.c-subtext {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--kn-green);
  background: #f0f8f3;
  padding: 3px 12px;
  border-radius: 99px;
}
.contact-main-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 40px;
  align-items: start;
}
.contact-form-card {
  background: #ffffff;
  border: 1px solid #dce8ea;
  border-radius: 12px;
  padding: 36px 32px;
  box-shadow: 0 8px 24px rgba(10, 44, 53, 0.06);
}
.form-intro .sub-kicker {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--kn-teal);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}
.form-intro h2 {
  font-size: 22px;
  font-weight: 800;
  color: #102d36;
  margin: 0 0 8px;
  letter-spacing: 0.02em;
}
.form-intro p {
  font-size: 14px;
  color: #5a7882;
  margin: 0 0 14px;
}
.notice-b2b {
  background: #f0f7f8;
  border-left: 4px solid var(--kn-teal);
  padding: 10px 14px;
  border-radius: 0 6px 6px 0;
  font-size: 13px;
  color: #23454f;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
}
.contact-channels-guide {
  background: #278d39;
  color: #ffffff;
  border-radius: 12px;
  padding: 32px 28px;
  box-shadow: 0 10px 30px rgba(39, 141, 57, 0.28);
}
.contact-channels-guide h3 {
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.04em;
  margin: 0 0 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
.channel-card {
  background: rgba(0, 0, 0, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 18px;
}
.channel-card:last-child {
  margin-bottom: 0;
}
.channel-head {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  margin-bottom: 10px;
}
.channel-head h4 {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}
.channel-when {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #d9f5e1;
  display: block;
  margin-bottom: 8px;
}
.channel-card ul {
  padding-left: 18px;
  margin: 0;
}
.channel-card li {
  font-size: 13px;
  color: #f0fdf4;
  line-height: 1.55;
  margin-bottom: 6px;
}

/* ---- TRANG 7: BLOG / TIN TỨC (/blog, /tin-tuc) ---- */
.posts-category-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 36px;
}
.post-tab-item {
  padding: 8px 20px;
  border-radius: 99px;
  background: #ffffff;
  border: 1px solid #cce0e4;
  font-size: 13.5px;
  font-weight: 700;
  color: #274852;
  text-decoration: none;
  transition: all 0.2s;
}
.post-tab-item:hover,
.post-tab-item.active {
  background: var(--kn-teal);
  border-color: var(--kn-teal);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(10, 111, 124, 0.25);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.empty-state-box {
  background: #ffffff;
  border: 1px solid #dce8ea;
  border-radius: 12px;
  padding: 50px 20px;
  max-width: 600px;
  margin: 0 auto;
}
.empty-state-box .empty-icon {
  color: #8daab2;
  margin-bottom: 16px;
}
.empty-state-box h3 {
  font-size: 18px;
  font-weight: 700;
  color: #102d36;
  margin: 0 0 8px;
}
.empty-state-box p {
  color: #5d7d87;
  font-size: 14px;
  margin: 0 0 18px;
}
.pagination-wrapper {
  margin-top: 40px;
}

/* ---- FORM CONTROLS & UTILITIES TRÊN CÁC TRANG CON ---- */
.field {
  margin-bottom: 16px;
}
.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: #24414a;
  margin-bottom: 6px;
}
.field .req {
  color: #ef4444;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.input, .select, .textarea {
  width: 100%;
  background: #ffffff;
  border: 1px solid #cce1e5;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 14px;
  color: #14303a;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--kn-teal);
  box-shadow: 0 0 0 3px rgba(10, 111, 124, 0.15);
}
.textarea {
  resize: vertical;
}
.alert {
  padding: 12px 18px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  margin-bottom: 20px;
}
.alert-success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}
.alert-error, .alert-warn {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}
.hp {
  display: none !important;
}

/* ==========================================================================
   14. RESPONSIVE MEDIA QUERIES CHO CÁC TRANG CON
   ========================================================================== */
@media (max-width: 1024px) {
  .review-steps-grid { grid-template-columns: repeat(2, 1fr); }
  .about-hero-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .workflow-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .contact-main-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hd-danh-gia { grid-template-columns: 1fr; gap: 30px; }
  .step-imgs-grid-2 { grid-template-columns: 120px 1fr; }
  .review-cta-box { grid-template-columns: 1fr; padding: 30px 24px; text-align: center; }
  .support-contact-line { justify-content: center; }
  .contact-cards-3 { grid-template-columns: 1fr; }
  .workflow-steps-horizontal { grid-template-columns: 1fr; }
  .warranty-conditions-grid { grid-template-columns: 1fr; }
  .clinical-types-grid { grid-template-columns: 1fr; }
  .sample-try-banner { flex-direction: column; text-align: center; padding: 30px 24px; }
  .grid-2 { grid-template-columns: 1fr; }
  .cases-category-nav, .policy-anchor-bar { top: 60px; }
}

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

@media (max-width: 540px) {
  .review-steps-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .workflow-grid-4 { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .policy-card-body { padding: 20px 18px; }
  .contact-form-card { padding: 24px 18px; }
}

@media print {
  .topbar, .site-header, .site-footer, .n-tell, .list-shortcut-desktop, .wp-bottom-menu, .kn-modal-backdrop {
    display: none !important;
  }
}

/* ==========================================================================
   DENTAL CHART - SƠ ĐỒ HÀNG NGANG PHIẾU LABO & 4 PHÂN KHU
   ========================================================================== */
.dental-chart-3d .swatch-porcelain.dual-color {
  background: linear-gradient(90deg, #2563eb 0%, #2563eb 50%, #16a34a 50%, #16a34a 100%) !important;
  border: 1.5px solid #0f172a !important;
  box-shadow: 0 0 6px rgba(37, 99, 235, 0.45);
}
.presc-chart-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px 0;
  overflow-x: auto;
  box-sizing: border-box;
}
.presc-chart-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 24px 28px;
  max-width: 680px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}
.presc-jaw-header, .presc-jaw-footer {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #64748b;
  text-transform: uppercase;
}
.presc-jaw-header { margin-bottom: 16px; }
.presc-jaw-footer { margin-top: 16px; }
.presc-horizontal-bar {
  width: 100%;
  height: 1px;
  background: #e2e8f0;
  margin: 14px 0;
}
.presc-teeth-row {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 0 !important;
  margin: 0 !important;
}
.presc-quad {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 6px !important;
  align-items: center !important;
}
.presc-midline-bar {
  width: 1px !important;
  height: 52px !important;
  background: #e2e8f0 !important;
  margin: 0 14px !important;
  flex-shrink: 0 !important;
}
.presc-tooth-unit {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  width: 24px;
  cursor: pointer;
  padding: 2px 0;
  border-radius: 4px;
  transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.presc-tooth-unit:hover {
  transform: translateY(-2px);
}
.presc-tooth-num {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  font-family: inherit;
  line-height: 1;
}
.upper-jaw .presc-tooth-num {
  margin-bottom: 8px;
}
.lower-jaw .presc-tooth-num {
  margin-top: 8px;
}
.presc-tooth-num.is-active {
  color: #0f172a;
  font-weight: 800;
  font-size: 12.5px;
}
.presc-capsule-wrap {
  line-height: 0;
  width: 24px;
  height: 46px;
}
.presc-tooth-svg {
  display: block;
  width: 24px;
  height: 46px;
  overflow: visible;
  transition: filter 0.2s;
}
.presc-tooth-svg.is-active {
  filter: drop-shadow(0 2px 6px rgba(37, 99, 235, 0.35));
}
.presc-tooth-unit:hover .presc-tooth-svg.is-active {
  filter: drop-shadow(0 4px 10px rgba(37, 99, 235, 0.55));
}
.presc-tooth-unit:hover .presc-tooth-svg.is-natural {
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.14));
}
@media (max-width: 560px) {
  .presc-chart-box {
    padding: 16px 8px;
  }
  .presc-quad {
    gap: 3px !important;
  }
  .presc-midline-bar {
    margin: 0 8px !important;
  }
}

/* Sơ đồ 4 phân khu */
.cross-chart-container {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 14px 6px;
  overflow-x: auto;
}
.cross-chart-box {
  background: #ffffff;
  border: 1px solid #dce8ea;
  border-radius: 12px;
  padding: 24px 20px;
  max-width: 720px;
  width: 100%;
  position: relative;
  box-shadow: 0 4px 16px rgba(10, 44, 53, 0.05);
}
.cross-sides-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding: 0 10px;
}
.side-label-right, .side-label-left {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
}
.cross-quadrants-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  position: relative;
  border-top: 2px solid #0f172a;
  border-bottom: 2px solid #0f172a;
}
.cross-quadrants-grid::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2.5px;
  background: #0f172a;
  transform: translateX(-50%);
  z-index: 2;
}
.cross-divider-horizontal {
  grid-column: 1 / -1;
  height: 2.5px;
  background: #0f172a;
  margin: 0;
  z-index: 2;
}
.cross-cell {
  position: relative;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
}
.quad-cell-1, .quad-cell-4 { padding-right: 18px; }
.quad-cell-2, .quad-cell-3 { padding-left: 18px; }
.quad-number-watermark {
  position: absolute;
  font-size: 38px;
  font-weight: 900;
  color: #0f172a;
  opacity: 0.85;
  pointer-events: none;
  line-height: 1;
}
.quad-cell-1 .quad-number-watermark { top: 8px; left: 50%; transform: translateX(-50%); }
.quad-cell-2 .quad-number-watermark { top: 8px; left: 50%; transform: translateX(-50%); }
.quad-cell-4 .quad-number-watermark { bottom: 8px; left: 50%; transform: translateX(-50%); }
.quad-cell-3 .quad-number-watermark { bottom: 8px; left: 50%; transform: translateX(-50%); }
.cross-teeth-row {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: center !important;
  position: relative;
  z-index: 1;
}
.cross-numbers-row {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-top: 6px;
  position: relative;
  z-index: 1;
}
.cross-numbers-row.lower {
  margin-top: 0;
  margin-bottom: 6px;
}
.cross-num {
  font-size: 11px;
  font-weight: 700;
  color: #0f172a;
  min-width: 20px;
  text-align: center;
}
.cross-num.is-active {
  color: #2563eb;
  font-weight: 900;
  font-size: 12.5px;
}
.cross-tooth-item {
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  justify-content: center;
}
.cross-tooth-item:hover { transform: scale(1.15); }
.anat-tooth-svg {
  display: block;
  overflow: visible;
  transition: filter 0.2s;
}
.cross-tooth-item.is-restored .anat-tooth-svg {
  filter: drop-shadow(0 2px 6px rgba(37, 99, 235, 0.45));
}
.cross-tooth-item:hover .anat-tooth-svg {
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.18));
}
.cross-tooth-item.is-restored:hover .anat-tooth-svg {
  filter: drop-shadow(0 4px 12px rgba(37, 99, 235, 0.55));
}
