/* ==========================================================================
   TEKCOM WHY TEKCOM PAGE - RENEWAL STYLES
   Based directly on Figma Design (Node 14621:13424)
   Includes: Frosted Glass Hero, Sticky Pillar Tabs Nav, 4 Detailed Feature Cards,
             and Modern Interactive FAQ Accordion.
   ========================================================================== */

:root {
  --tk-why-navy: #102143;
  --tk-why-primary: #244a78;
  --tk-why-gold: #eba83a;
  --tk-why-gold-hover: #d4882b;
  --tk-why-bg-card-1: #e9f2ff;
  --tk-why-bg-card-2: #e6f1ff;
  --tk-why-bg-faq: #e8f0f9;
  --tk-why-border: #d1dce8;
  --tk-why-text-dark: #102143;
  --tk-why-text-body: #2d3e52;
  --tk-why-text-muted: #5e718d;
  --tk-why-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --tk-why-container: 1400px;
  --tk-why-transition: all 0.3s cubic-bezier(0.2, 0, 0.2, 1);
}

/* Base resets & containment */
.tekcom-why-main {
  font-family: var(--tk-why-font-sans);
  color: var(--tk-why-text-body);
  background-color: #ffffff;
  line-height: 1.6;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  box-sizing: border-box;
}

.tekcom-why-main *,
.tekcom-why-main *::before,
.tekcom-why-main *::after {
  box-sizing: border-box;
}

.tk-why-container {
  width: 100%;
  max-width: var(--tk-why-container);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(20px, 3.5vw, 40px);
  padding-right: clamp(20px, 3.5vw, 40px);
}

/* Common Section Header */
.tk-why-header {
  max-width: 900px;
  margin: 0 auto clamp(40px, 5vw, 64px);
  text-align: center;
}

.tk-why-section-title {
  font-size: clamp(32px, 3.8vw, 48px) !important;
  font-weight: 700 !important;
  color: var(--tk-why-navy) !important;
  line-height: 1.25 !important;
  margin: 0 0 16px !important;
  letter-spacing: -0.01em;
}

.tk-why-section-subtitle {
  font-size: clamp(16px, 1.2vw, 18px);
  color: var(--tk-why-text-muted);
  line-height: 1.65;
  margin: 0;
}

/* Common Buttons */
.tk-why-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--tk-why-font-sans);
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 14px 28px;
  border-radius: 9999px;
  text-decoration: none;
  cursor: pointer;
  transition: var(--tk-why-transition);
  outline: none;
  border: 1px solid transparent;
}

.tk-why-btn--primary {
  background-color: var(--tk-why-gold);
  color: #ffffff;
  border-color: var(--tk-why-gold);
}

.tk-why-btn--primary:hover {
  background-color: var(--tk-why-gold-hover);
  border-color: var(--tk-why-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(235, 168, 58, 0.35);
}

.tk-why-btn--outline {
  background: transparent;
  color: var(--tk-why-primary);
  border-color: var(--tk-why-primary);
}

.tk-why-btn--outline:hover {
  background: var(--tk-why-primary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(36, 74, 120, 0.25);
}

/* ==========================================================================
   1. HERO BANNER (FIGMA NODE 14621:14032 / 14621:14033)
   Single Static Banner: Aerial Factory View & Frosted Content Box
   - Box placed in vertical center, shifted to the left of the slide
   - Box dimensions unchanged (max-width: 1300px)
   ========================================================================== */
.tk-why-hero {
  position: relative;
  width: 100%;
  height: clamp(680px, 92vh, 1020px);
  min-height: clamp(680px, 92vh, 1020px);
  overflow: hidden;
  background-color: #102143;
}

@media (max-width: 768px) {
  .tk-why-hero {
    height: clamp(560px, 85vh, 720px);
    min-height: clamp(560px, 85vh, 720px);
  }
}

.tk-why-hero-swiper {
  position: relative;
  width: 100%;
  height: 100%;
}

.tk-why-hero-slide {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center; /* Cố định ở giữa theo chiều dọc */
  padding: 40px 0;
  overflow: hidden;
}

.tk-why-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.tk-why-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}

.tk-why-hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding-left: clamp(24px, 7.4vw, 142px);
  padding-right: clamp(24px, 4vw, 60px);
  display: flex;
  justify-content: flex-start; /* Lệch sang bên trái của slide */
}

.tk-why-hero-card {
  width: 100%;
  max-width: 1300px; /* Kích thước giữ nguyên */
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 6px;
  padding: clamp(28px, 3.5vw, 48px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-right: auto; /* Giữ box cố định lệch trái */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tk-why-hero-title {
  font-size: clamp(30px, 3.6vw, 54px) !important;
  font-weight: 600 !important;
  line-height: 1.18 !important;
  color: #102143 !important;
  letter-spacing: -1.08px !important;
  margin: 0 !important;
}

.tk-why-hero-desc {
  font-size: clamp(16px, 1.4vw, 22px);
  font-weight: 400;
  line-height: 1.45;
  color: rgba(0, 0, 0, 0.8);
  margin: 0;
}

/* Hero Controls - Positioned at Left and Right sides vertically centered (matching front-page) */
.tk-why-hero .tk-hero-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  background-color: #193250;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 16px rgba(25, 50, 80, 0.25);
  padding: 0;
  line-height: 1;
  outline: none;
}

.tk-why-hero .tk-hero-nav-btn:hover,
.tk-why-hero .tk-hero-nav-btn:focus:hover {
  background-color: var(--tk-gold, #CE902A);
  border-color: var(--tk-gold, #CE902A);
  color: #ffffff;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 20px rgba(206, 144, 42, 0.45);
}

.tk-why-hero .tk-hero-nav-btn:active {
  background-color: #b87220;
  border-color: #b87220;
  color: #ffffff;
  transform: translateY(-50%) scale(0.96);
}

.tk-why-hero .tk-hero-nav-btn:focus,
.tk-why-hero .tk-hero-nav-btn:focus:not(:hover) {
  background-color: #193250;
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  outline: none;
  box-shadow: 0 4px 16px rgba(25, 50, 80, 0.25);
}

.tk-why-hero .tk-hero-nav-btn:focus-visible {
  outline: 2px solid var(--tk-gold, #CE902A);
  outline-offset: 2px;
}

.tk-why-hero .tk-hero-nav-btn.prev {
  left: 36px;
}

.tk-why-hero .tk-hero-nav-btn.next {
  right: 36px;
}

@media (max-width: 768px) {
  .tk-why-hero .tk-hero-nav-btn {
    width: 40px;
    height: 40px;
  }

  .tk-why-hero .tk-hero-nav-btn.prev {
    left: 8px;
  }

  .tk-why-hero .tk-hero-nav-btn.next {
    right: 8px;
  }
}

@media (max-width: 640px) {
  .tk-why-hero .tk-hero-nav-btn {
    width: 32px;
    height: 32px;
  }

  .tk-why-hero .tk-hero-nav-btn.prev {
    left: 4px;
  }

  .tk-why-hero .tk-hero-nav-btn.next {
    right: 4px;
  }

  .tk-why-hero .tk-hero-nav-btn svg {
    width: 16px;
    height: 16px;
  }
}

/* Pagination bullets */
.tk-why-hero .tk-hero-pagination {
  position: absolute !important;
  bottom: clamp(65px, 8.5vw, 105px) !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 10 !important;
  width: auto !important;
  display: flex;
  gap: 8px;
}

@media (max-width: 768px) {
  .tk-why-hero .tk-hero-pagination {
    bottom: 45px !important;
  }
}

.tk-why-hero .swiper-pagination-bullet {
  width: 32px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  opacity: 1;
  transition: all 0.3s ease;
  border: none !important;
  padding: 0 !important;
  cursor: pointer;
  outline: none;
}

.tk-why-hero .swiper-pagination-bullet-active {
  width: 54px;
  background: var(--tk-why-gold, #eba83a);
  box-shadow: 0 1px 4px rgba(235, 168, 58, 0.5);
}

/* Bottom decorative notch with Rectangle 6373 (Figma)
   bottom: -2px & ::after strip prevent sub-pixel compositor gap/line during scroll */
.tk-hero-bottom-notch {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: calc(clamp(50px, 7.5vw, 144px) + 2px);
  pointer-events: none;
  z-index: 4;
  line-height: 0;
  overflow: visible;
}

.tk-hero-bottom-notch svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* Solid white underlay strip guaranteeing zero image bleed at the bottom edge */
.tk-hero-bottom-notch::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: #ffffff;
  pointer-events: none;
}

/* ==========================================================================
   2. FOUR PILLARS SECTION (LAYOUT 2 - FIGMA NODE 14621:13971)
   Header, Sticky Tabs & Full-Width Striped Cards with Seamless Gradients
   ========================================================================== */
.tk-why-pillars {
  position: relative;
  z-index: 5;
  margin-top: -1px;
  padding-top: clamp(60px, 8vw, 100px);
  padding-bottom: 0;
  background-color: #ffffff;
}

/* Sticky Pillars Navigation Tabs (Figma Frame 1321322519)
   Dính sát mép dưới của sticky header khi cuộn, loại bỏ hoàn toàn khoảng hở */
.tk-why-tabs-nav {
  position: sticky;
  top: 72px;
  z-index: 25;
  background: #ffffff;
  padding-top: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

body.admin-bar .tk-why-tabs-nav {
  top: 104px;
}

@media (max-width: 1024px) {
  .tk-why-tabs-nav {
    top: var(--tmm-bar-h, 64px);
  }
  body.admin-bar .tk-why-tabs-nav {
    top: calc(var(--tmm-bar-h, 64px) + 32px);
  }
}

@media screen and (max-width: 782px) {
  body.admin-bar .tk-why-tabs-nav {
    top: calc(var(--tmm-bar-h, 64px) + 46px);
  }
}

.tk-why-tabs-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: 100%;
}

.tk-why-tab-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 120px;
  background-color: transparent;
  color: #254b78 !important;
  text-decoration: none;
  font-size: clamp(14px, 1.05vw, 16px);
  font-weight: 600;
  line-height: 1.3;
  transition: var(--tk-why-transition);
  border: 1px solid #547fb1;
  box-sizing: border-box;
}

.tk-why-tab-icon,
.tk-why-tab-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #c5defd;
  color: #254b78;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  flex-shrink: 0;
  transition: var(--tk-why-transition);
}

.tk-why-tab-icon svg {
  width: 20px;
  height: 20px;
  display: block;
  stroke: currentColor;
  fill: none;
  transition: var(--tk-why-transition);
}

.tk-why-tab-text {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Hover trên mục chưa active */
.tk-why-tab-item:not(.is-active):hover {
  background-color: #d6e8fc;
  border-color: #3b6b9e;
  color: #254b78;
  transform: translateY(-1px);
}

.tk-why-tab-item:not(.is-active):hover .tk-why-tab-icon,
.tk-why-tab-item:not(.is-active):hover .tk-why-tab-num {
  background-color: #ffffff;
  color: #254b78;
}

/* Active Tab State (Solid Navy Fill with White Text - Figma Node 14621:13975) */
.tk-why-tab-item.is-active {
  background-color: #254b78 !important;
  border-color: #254b78 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.tk-why-tab-item.is-active .tk-why-tab-icon,
.tk-why-tab-item.is-active .tk-why-tab-num {
  background-color: #ffffff !important;
  color: #254b78 !important;
}

/* Hover trên mục đang hiển thị (Active): Giữ nguyên chữ màu trắng, nền navy */
.tk-why-tab-item.is-active:hover {
  background-color: #254b78 !important;
  border-color: #254b78 !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(36, 74, 120, 0.28) !important;
}

.tk-why-tab-item.is-active:hover .tk-why-tab-icon,
.tk-why-tab-item.is-active:hover .tk-why-tab-num {
  background-color: #ffffff !important;
  color: #254b78 !important;
}

/* Sequence of 4 Pillar Detail Cards (Figma Frame 1321322530)
   Full-width sections with seamless top gradient fading matching White Transparents */
.tk-why-cards-sequence {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 0;
}

.tk-why-card {
  width: 100%;
  height: 930px;
  min-height: 930px;
  max-height: 930px;
  border-radius: 0;
  padding-top: clamp(80px, 8.5vh, 105px); /* Đưa khối tiêu đề và ảnh lên trên một chút theo yêu cầu */
  padding-bottom: 40px;
  padding-left: 0;
  padding-right: 0;
  display: flex;
  align-items: flex-start; /* Khóa chặt vị trí đỉnh của grid, tuyệt đối không bị dịch chuyển khi hover */
  justify-content: center;
  scroll-margin-top: 150px;
  position: relative;
  box-sizing: border-box;
  overflow: hidden; /* Cố định chuẩn 930px như Figma, tuyệt đối không bị kéo dãn */
  transition: background-color 0.3s ease;
}

/* Card 1 & 3: Blue theme with top fade from White (#ffffff -> #e9f3ff) */
.tk-why-card--compliance {
  background: linear-gradient(180deg, #ffffff 0%, #e9f3ff 140px, #e9f3ff 100%);
}

.tk-why-card--manufacturing {
  background: linear-gradient(180deg, #ffffff 0%, #e9f3ff 140px, #e9f3ff 100%);
}

/* Card 2 & 4: White theme with top fade from Light Blue (#e9f3ff -> #ffffff) */
.tk-why-card--supply {
  background: linear-gradient(180deg, #e9f3ff 0%, #ffffff 160px, #ffffff 100%);
}

.tk-why-card--trust {
  background: linear-gradient(180deg, #e9f3ff 0%, #ffffff 160px, #ffffff 100%);
}

.tk-why-card .tk-why-container {
  max-width: 1360px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

.tk-why-card-grid {
  display: grid;
  grid-template-columns: 448px minmax(0, 1fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: start; /* Khóa chặt vị trí đỉnh của cả ảnh và khối nội dung, giữ nguyên ảnh và tiêu đề */
}

.tk-why-card--reverse .tk-why-card-grid {
  grid-template-columns: minmax(0, 1fr) 448px;
}

/* Media Side (Figma Frame 1321322531: 448px x 551px) */
.tk-why-card-media {
  width: 100%;
  align-self: start; /* Khóa cứng vị trí ảnh cố định, không di chuyển */
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.tk-why-card-media.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .tk-why-card-media {
    transform: none !important;
    transition: opacity 0.35s ease !important;
  }

  .tk-why-card-media.is-revealed {
    opacity: 1 !important;
    transform: none !important;
  }
}

.tk-why-card-img-wrap {
  width: 100%;
  height: clamp(380px, 42vw, 551px);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(16, 33, 67, 0.08);
}

.tk-why-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.2, 0, 0.2, 1);
}

.tk-why-card-img-wrap:hover img {
  transform: scale(1.025);
}

/* Content Side (Figma Frame 1321322526 + Frame 1321322529) */
.tk-why-card-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* Khóa cứng vị trí đỉnh của title/sub title */
  align-self: start;
  min-width: 0;
  max-width: 100%;
}

.tk-why-card-header {
  margin-bottom: 12px;
}

.tk-why-card-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--tk-why-primary);
  background: rgba(36, 74, 120, 0.08);
  padding: 4px 12px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.tk-why-card-title {
  font-size: clamp(24px, 2.2vw, 32px) !important;
  font-weight: 600 !important;
  color: #193250 !important;
  line-height: 1.5 !important;
  margin: 0 0 16px !important;
}

.tk-why-card--supply .tk-why-card-title,
.tk-why-card--trust .tk-why-card-title {
  color: #825800 !important;
}

.tk-why-card-lead {
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 32px;
  color: #000000 !important;
  font-weight: 400;
  margin: 0;
}

/* ==========================================================================
   Bullet Points (Figma Node 15297:15585 & 14621:14541)
   - Trạng thái bình thường: Chiều cao gọn 69px, 1 dòng ellipsis
   - Khi hover / tap: Mở rộng hiển thị đầy đủ toàn bộ nội dung mà không kéo dãn article
   - Vẫn giữ nguyên box nội dung nổi bật hơn màu nền
   - Pillars 1 & 3: Background #d6e6f9, hover #c9def5, Diamond #244a78
   - Pillars 2 & 4: Background #fff5de, hover #fae6c4, Diamond #ad7500
   ========================================================================== */
.tk-why-card-bullets {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 800px;
}

.tk-why-card-bullets li {
  display: flex;
  align-items: flex-start; /* Icon và dòng 1 luôn cố định thẳng hàng, không nhảy giật */
  gap: 14px;
  padding: 18px 20px; /* Cố định padding đồng nhất cả khi bình thường lẫn khi hover */
  min-height: 69px;
  max-height: 69px;
  width: 100%;
  max-width: 800px;
  border-radius: 6px;
  background-color: #d6e6f9;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
  overflow: hidden;
  /* Hiệu ứng thu thẻ chậm rãi, êm ái, loại bỏ hoàn toàn cảm giác giật */
  transition: max-height 0.72s cubic-bezier(0.2, 0.9, 0.3, 1),
              box-shadow 0.45s ease,
              background-color 0.4s ease,
              transform 0.35s ease;
  cursor: pointer;
  position: relative;
}

/* Subtle immediate hover feedback */
.tk-why-card-bullets li:hover {
  background-color: #cfe3f8;
}

/* Hover-Intent & Active / Expanded State: Animation mở rộng nội dung chậm rãi, mượt mà */
.tk-why-card-bullets li.is-hover-active,
.tk-why-card-bullets li.is-expanded {
  max-height: 280px;
  background-color: #c9def5;
  box-shadow: 0 10px 28px rgba(36, 74, 120, 0.16);
  transform: translateY(-2px);
  z-index: 2;
  transition: max-height 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.45s ease,
              background-color 0.4s ease,
              transform 0.35s ease;
}

/* Trạng thái thu thẻ (Collapsing): Co lại chậm rãi, êm ái */
.tk-why-card-bullets li.is-collapsing {
  max-height: 69px;
  background-color: #d6e6f9;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transform: translateY(0);
  transition: max-height 0.72s cubic-bezier(0.2, 0.9, 0.3, 1),
              box-shadow 0.45s ease,
              background-color 0.4s ease,
              transform 0.35s ease;
}

/* Gold Theme Bullets for Pillars 2 & 4 */
.tk-why-card--supply .tk-why-card-bullets li,
.tk-why-card--trust .tk-why-card-bullets li {
  background-color: #fff5de;
}

.tk-why-card--supply .tk-why-card-bullets li:hover,
.tk-why-card--trust .tk-why-card-bullets li:hover {
  background-color: #fcedd4;
}

.tk-why-card--supply .tk-why-card-bullets li.is-hover-active,
.tk-why-card--trust .tk-why-card-bullets li.is-hover-active,
.tk-why-card--supply .tk-why-card-bullets li.is-expanded,
.tk-why-card--trust .tk-why-card-bullets li.is-expanded {
  background-color: #fae6c4;
  box-shadow: 0 10px 28px rgba(173, 117, 0, 0.16);
}

.tk-why-card--supply .tk-why-card-bullets li.is-collapsing,
.tk-why-card--trust .tk-why-card-bullets li.is-collapsing {
  background-color: #fff5de;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.tk-why-bullet-icon {
  width: 12px;
  height: 12px;
  background-color: #244a78;
  transform: rotate(45deg);
  margin-top: 8px; /* Luôn cố định 8px thẳng hàng với tâm dòng chữ 1, không nhảy giật */
  flex-shrink: 0;
  border-radius: 1px;
  transition: background-color 0.3s ease;
}

.tk-why-card--supply .tk-why-bullet-icon,
.tk-why-card--trust .tk-why-bullet-icon {
  background-color: #ad7500;
}

.tk-why-bullet-text {
  flex: 1;
  min-width: 0;
  font-size: 18px;
  line-height: 29px;
  color: #193250;
  font-weight: 500;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1; /* Hiển thị 1 dòng rút gọn kèm dấu ... tự nhiên */
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  transition: color 0.3s ease;
}

.tk-why-card--supply .tk-why-bullet-text,
.tk-why-card--trust .tk-why-bullet-text {
  color: #5c5139;
}

.tk-why-card-bullets li.is-hover-active .tk-why-bullet-text,
.tk-why-card-bullets li.is-expanded .tk-why-bullet-text,
.tk-why-card-bullets li.is-collapsing .tk-why-bullet-text {
  -webkit-line-clamp: 10;
  overflow: hidden;
  text-overflow: clip;
}

.tk-why-bullet-text strong {
  color: var(--tk-why-navy);
  font-weight: 600;
}

.tk-why-card-actions {
  display: none;
}

/* ==========================================================================
   3. FAQ ACCORDION SECTION (FIGMA NODE 14621:14014)
   Full-width section with top fade from White (#ffffff -> #e8f0f9)
   ========================================================================== */
.tk-why-faq {
  padding-top: clamp(60px, 8vw, 100px);
  padding-bottom: clamp(60px, 8vw, 100px);
  background: linear-gradient(180deg, #ffffff 0%, #e8f0f9 200px, #e8f0f9 100%);
}

.tk-why-accordion {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Accordion Item */
.tk-accordion-item {
  border-radius: 0 !important;
  background-color: transparent;
  border-bottom: 1px solid var(--tk-why-border);
  transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
}

.tk-accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 24px;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  outline: none;
  white-space: normal !important;
  box-sizing: border-box;
  transition: padding 0.3s ease, color 0.3s ease;
}

.tk-accordion-num {
  font-size: clamp(32px, 3.5vw, 44px);
  font-weight: 700;
  color: #a0aec0;
  line-height: 1;
  flex-shrink: 0;
  width: 54px;
  transition: color 0.3s ease;
}

.tk-accordion-title {
  flex: 1 1 auto;
  min-width: 0;
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 600;
  color: var(--tk-why-navy);
  line-height: 1.35;
  white-space: normal !important;
  word-break: break-word;
  overflow-wrap: break-word;
  transition: color 0.3s ease;
}

.tk-accordion-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(36, 74, 120, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tk-why-primary);
  flex-shrink: 0;
  margin-left: auto;
  transition: var(--tk-why-transition);
}

.tk-accordion-icon svg {
  transition: transform 0.3s ease;
}

.tk-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.tk-accordion-content {
  padding: 0 20px 28px 98px;
}

.tk-accordion-content p {
  margin: 0;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.7;
  color: #3b506c;
}

/* Expanded State (Matches Figma Active Node: Navy Fill + White Text) */
.tk-accordion-item.is-active {
  border-radius: 0 !important;
  background-color: var(--tk-why-primary);
  border-color: transparent;
  box-shadow: 0 12px 32px rgba(36, 74, 120, 0.22);
}

.tk-accordion-item.is-active .tk-accordion-header {
  padding: 28px 24px 14px 24px;
}

.tk-accordion-item.is-active .tk-accordion-num {
  color: var(--tk-why-gold);
}

.tk-accordion-item.is-active .tk-accordion-title {
  color: #ffffff;
}

.tk-accordion-item.is-active .tk-accordion-icon {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.tk-accordion-item.is-active .tk-accordion-icon svg {
  transform: rotate(45deg);
}

.tk-accordion-item.is-active .tk-accordion-content {
  padding: 0 28px 28px 106px;
}

.tk-accordion-item.is-active .tk-accordion-content p {
  color: #e2ecf8;
}

/* ==========================================================================
   4. ACTIVE & HOVER HEADER NAVIGATION STYLING FOR WHY TEKCOM
   - Hover (on all pages): Header underline (border-bottom: 2px solid #D2910A),
     light gold tint background (#E8AE3717), gold text (#D2910A)
   - Phân biệt rõ: Tuyệt đối KHÔNG có gạch dưới text (no text-decoration underline)
   - Active on /why-tekcom/: Gold text (#D2910A), no border/background when not hovering
   ========================================================================== */
.elementor-4161 #e-n-menu-title-1113:hover {
  background-color: #E8AE3717 !important;
  border-style: solid !important;
  border-width: 0px 0px 2px 0px !important;
  border-color: #D2910A !important;
}

.elementor-4161 a[href*="/why-tekcom"]:hover .e-n-menu-title-text,
.elementor-4161 a[href*="/ve-tekcom"]:hover .e-n-menu-title-text,
.elementor-4161 #e-n-menu-title-1113:hover .e-n-menu-title-text {
  color: #D2910A !important;
}

/* Đảm bảo tuyệt đối không có gạch chân trực tiếp dưới chữ text / link container */
.elementor-4161 a[href*="/why-tekcom"],
.elementor-4161 a[href*="/ve-tekcom"],
.elementor-4161 a[href*="/why-tekcom"]:hover,
.elementor-4161 a[href*="/ve-tekcom"]:hover,
.elementor-4161 #e-n-menu-title-1113 a,
.elementor-4161 #e-n-menu-title-1113 a:hover,
.elementor-4161 #e-n-menu-title-1113 .e-n-menu-title-container,
.elementor-4161 #e-n-menu-title-1113 .e-n-menu-title-container:hover,
.elementor-4161 #e-n-menu-title-1113 .e-n-menu-title-text {
  text-decoration: none !important;
  box-shadow: none !important;
}

body.tk-page-why-tekcom .elementor-4161 #e-n-menu-title-1113:not(:hover),
body.tk-page-why-tekcom .elementor-4161 a[href*="/why-tekcom"]:not(:hover),
body.tk-page-why-tekcom .elementor-4161 a[href*="/ve-tekcom"]:not(:hover) {
  border: none !important;
  border-bottom: none !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

body.tk-page-why-tekcom .elementor-4161 a[href*="/why-tekcom"] .e-n-menu-title-text,
body.tk-page-why-tekcom .elementor-4161 a[href*="/ve-tekcom"] .e-n-menu-title-text,
body.tk-page-why-tekcom .elementor-4161 #e-n-menu-title-1113 .e-n-menu-title-text {
  color: #D2910A !important;
  font-weight: 600 !important;
}

body.tk-page-why-tekcom .tmm-nav__link[href*="/why-tekcom"],
body.tk-page-why-tekcom .tmm-nav__link[href*="/ve-tekcom"] {
  color: #D2910A !important;
  border: none !important;
  border-bottom: none !important;
  background-color: transparent !important;
}

/* ==========================================================================
   5. RESPONSIVE BREAKPOINTS (Cấu hình chuẩn chiều dài article cho từng thiết bị)
   ========================================================================== */
@media (max-width: 1200px) {
  .tk-why-tabs-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .tk-why-card {
    height: 930px;
    min-height: 930px;
    max-height: 930px;
  }

  .tk-why-card-grid {
    grid-template-columns: 380px minmax(0, 1fr);
    gap: 32px;
    align-items: start;
  }

  .tk-why-card--reverse .tk-why-card-grid {
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 32px;
    align-items: start;
  }

  .tk-why-card-img-wrap {
    height: 480px;
  }

  .tk-why-card-content {
    min-height: auto;
  }
}

@media (max-width: 991px) {
  .tk-why-hero-card {
    padding: 32px 24px;
  }

  .tk-why-card {
    height: auto;
    min-height: 820px;
    max-height: none;
    padding: 60px 0;
    overflow: visible;
    display: block;
  }

  .tk-why-card-content {
    min-height: auto;
  }

  .tk-why-card-grid,
  .tk-why-card--reverse .tk-why-card-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .tk-why-card--reverse .tk-why-card-media {
    order: -1;
  }

  .tk-why-card-media {
    width: 100%;
    margin-bottom: 24px;
  }

  .tk-why-card-img-wrap {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: none;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(16, 33, 67, 0.08);
    overflow: hidden;
    display: block;
    background: transparent;
  }

  .tk-why-card-img-wrap img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: none;
    object-fit: initial;
    border-radius: 8px;
  }

  .tk-why-card-bullets li {
    max-width: 100%;
  }

  .tk-accordion-content,
  .tk-accordion-item.is-active .tk-accordion-content {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 768px) {
  /* Sticky Pillar Nav: Fixed 2 Rows x 2 Cols (No horizontal scroll) */
  .tk-why-tabs-list {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    overflow-x: visible !important;
    padding-bottom: 0 !important;
    width: 100% !important;
  }

  .tk-why-tab-item {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 10px !important;
    min-height: 48px !important;
    height: 100% !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    width: 100% !important;
  }

  .tk-why-tab-icon {
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    flex-shrink: 0 !important;
  }

  .tk-why-tab-icon svg {
    width: 16px !important;
    height: 16px !important;
  }

  .tk-why-tab-text {
    flex: 1 1 auto !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    font-size: 11px !important;
    line-height: 1.3 !important;
    font-weight: 600 !important;
  }

  /* Pillar Images: Fill width of screen/container and keep true aspect ratio */
  .tk-why-card-media {
    width: 100% !important;
    display: block !important;
    margin-bottom: 24px !important;
  }

  .tk-why-card-img-wrap {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 24px rgba(16, 33, 67, 0.08) !important;
    overflow: hidden !important;
    display: block !important;
    background: transparent !important;
  }

  .tk-why-card-img-wrap img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: initial !important;
    border-radius: 8px !important;
  }
}

@media (max-width: 640px) {
  .tk-why-card {
    height: auto;
    min-height: auto;
    max-height: none;
    padding: 44px 0;
    overflow: visible;
    display: block;
  }

  .tk-why-card-bullets li {
    min-height: 60px;
    max-height: 60px;
    padding: 14px 16px;
    gap: 12px;
  }

  .tk-why-card-bullets li.is-hover-active,
  .tk-why-card-bullets li.is-expanded {
    max-height: 380px;
  }

  .tk-why-card-bullets li.is-collapsing {
    max-height: 60px;
  }

  .tk-why-bullet-text {
    font-size: 15px;
    line-height: 24px;
  }

  .tk-why-card-bullets li:hover .tk-why-bullet-icon,
  .tk-why-card-bullets li.is-expanded .tk-why-bullet-icon {
    margin-top: 6px;
  }

  .tk-accordion-header {
    gap: 14px;
    padding: 18px 16px;
    white-space: normal !important;
  }

  .tk-accordion-item.is-active .tk-accordion-header {
    padding: 20px 16px 12px 16px;
  }

  .tk-accordion-num {
    width: 36px;
    font-size: 26px;
    flex-shrink: 0;
  }

  .tk-accordion-title {
    font-size: 16px;
    white-space: normal !important;
    word-break: break-word;
    overflow-wrap: break-word;
    flex: 1 1 auto;
    min-width: 0;
  }

  .tk-accordion-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    margin-left: auto;
  }
}
