/* ============================================================
   WiHub — pages/index.css
   Values extracted from src/Wihub-v1.1/src/index.html Desktop frame
   Bootstrap-first; only custom values below.
   ============================================================ */

/* =========================================================
   2. About — Về WiHub (light bg, 2 banner cards + corevalue bar)
   ========================================================= */
.home-about {
  background-color: var(--color-white);
  padding: 120px 0;
}
.home-about__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.home-about__title { margin-bottom: 16px; }
.home-about__desc {
  font-size: 18px;            /* v1.1 #Subtitle_3 18/400/160% */
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

/* --- About banner cards (Tầm Nhìn / Sứ Mệnh) --------------- */
.about-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 32px;
  min-height: 360px;
  display: flex;
  align-items: center;
}
/* Lớp nền màu (overlay) — v1.1: ảnh circuit để opacity blend lên nền màu này */
.about-card--vision  { background-color: rgb(38, 190, 232); }
.about-card--mission { background-color: rgb(26, 50, 130); }

.about-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
/* img opacity tạo blend với nền màu (đo v1.1: vision .8, mission .5) */
.about-card--vision  .about-card__bg { opacity: 0.8; }
.about-card--mission .about-card__bg { opacity: 0.5; }
/* v1.1 không có overlay gradient tối — bỏ darken, tint sinh từ blend trên */
.about-card__overlay { display: none; }
.about-card__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 56px 48px;
}
.about-card__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: var(--color-white);
}
.about-card__title {
  font-size: 26px;        /* v1.1 #Vision_Title */
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-white);
  margin-bottom: 4px;
}
.about-card__text {
  font-size: 18px;        /* v1.1 #Vision_Description 18/400/160% */
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-white-90);
  margin: 0;
}
.about-card__link {
  align-self: flex-start;
  margin-top: 8px;
}

/* --- Core Value bar (4 column icons) ---------------------- */
.corevalue-bar {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 280px;
  /* v1.1: nền navy đậm rgb(8,15,63) + circuit img opacity 0.2 blend lên */
  background-color: rgb(8, 15, 63);
}
.corevalue-bar__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.2;
}
/* Lớp overlay radial #__424 (v1.1): navy #080f3f ở tâm mờ dần ra rìa */
.corevalue-bar__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 24px;
  background-image: radial-gradient(85.7% 85.7% at 50% 50%, #080f3f 0%, rgba(8, 15, 63, 0) 100%);
}
.corevalue-bar__inner {
  position: relative;
  z-index: 2;
  padding: 48px;
  color: var(--color-white);
}
.corevalue-bar__title {
  font-size: 26px;          /* v1.1 #Core_Values_Title_4 26/700 */
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 28px;
}
.corevalue-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.corevalue-item__icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.corevalue-item__title {
  font-size: 18px;        /* v1.1 #Science_Title 18/600/150% */
  font-weight: 600;
  line-height: 1.5;
  color: var(--color-white);
}
.corevalue-item__desc {
  font-size: 16px;        /* v1.1 #__102 16/400/150% */
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-white-80);
  margin: 0;
}
.corevalue-bar__footer {
  margin-top: 24px;
  text-align: center;
}

/* === Card stack on scroll (About) — figma.site: 3 card sticky, dính top & xếp chồng khi cuộn === */
.about-card,
.corevalue-bar {
  position: sticky;
  top: calc(var(--navbar-height) + 20px);
  transform-origin: center top; /* tĩnh — ở CSS; chỉ scale() động do JS set inline */
}
/* khoảng cách cuộn giữa các card (để lộ card kế trước khi stack) */
.about-card { margin-bottom: 40px; }
@media (prefers-reduced-motion: reduce) {
  .about-card, .corevalue-bar { position: relative; top: auto; }
}

@media (max-width: 991.98px) {
  .home-about { padding: 80px 0; }
  .about-card__inner { padding: 40px 32px; }
  .corevalue-bar__inner { padding: 32px 24px; }
}
@media (max-width: 575.98px) {
  .home-about { padding: 60px 0; }
  .about-card { min-height: 320px; }
  .about-card__inner { padding: 32px 20px; }
}

/* =========================================================
   3. Competence — Năng lực / Kiến tạo Giá trị (dark bg)
   ========================================================= */
.home-competence {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
  background-color: var(--color-brand-dark);
}
.home-competence__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
/* v1.1 #__436: lớp hoạ tiết circuit phủ lên gradient, opacity 0.15 */
.home-competence__pattern {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  z-index: 1;
  pointer-events: none;
}
/* L3: keep dark bg visible — only top-darken fades to transparent */
.home-competence__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: linear-gradient(180deg,
                    rgba(20, 18, 64, 0.55) 0%,
                    rgba(20, 18, 64, 0.18) 42%,
                    rgba(20, 18, 64, 0) 100%);
}
.home-competence__inner { position: relative; z-index: 2; }

.home-competence__header {
  max-width: 720px;
  margin: 0 0 40px;
}
/* v1.1 #__438: "Năng lực" cùng cỡ tiêu đề 46/800 trắng (KHÔNG phải eyebrow nhỏ) */
.home-competence__eyebrow {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 0;
}
.home-competence__title { margin-bottom: 16px; }
.home-competence__desc {
  font-size: 18px;            /* v1.1 #Description_13 18/400/160% */
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-white-80);
  max-width: 640px;
}

.home-competence__collage {
  margin-bottom: 40px;
  text-align: center;        /* căn GIỮA collage (v1.1 #Image_1 full-width, fan ở giữa) */
}
.home-competence__collage-img {
  width: 100%;
  height: auto;
  max-width: 940px;
  margin: 0 auto;            /* căn giữa */
  display: block;
}

.home-competence__cards { margin-bottom: 40px; }

.home-competence__footer {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

@media (max-width: 991.98px) {
  .home-competence { padding: 80px 0; }
}
@media (max-width: 575.98px) {
  .home-competence { padding: 60px 0; }
}

/* =========================================================
   4. Process — Quy trình / Kiến tạo Giá trị (light bg)
   ========================================================= */
.home-process {
  background-color: #fff;
  /* v1.1: lớp gradient xanh nhạt phủ nhẹ (alpha .4) trên nền trắng */
  background-image: linear-gradient(180deg, #f8faff66 0%, #def0fe66 51.4%, #d2eefe66 100%);
  padding: 100px 0;
}
.home-process__header {
  max-width: 720px;
  margin: 0 0 48px;
}
/* v1.1 #__453: "Quy trình" cùng cỡ tiêu đề 46/800 navy đậm (KHÔNG phải eyebrow nhỏ) */
.home-process__eyebrow {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.3;
  color: var(--color-text-main);
  margin-bottom: 0;
}
.home-process__title { margin-bottom: 16px; }
.home-process__desc {
  font-size: 18px;            /* v1.1 #Description_14 18/400/160% */
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text-secondary);
  max-width: 640px;
}
.home-process__row { align-items: flex-start; }

.process-accordion {
  display: flex;
  flex-direction: column;
  gap: 8px;                 /* v1.1 #Item_list row-gap 8 */
}
/* v1.1: MỌI item = card trắng radius 16 + drop-shadow nhẹ (Black-100).
   inactive: thêm viền TRÊN 1px #e5edf5 (#List_item_2_0). active: thêm viền TRÁI 2px xanh (#List_item_6) */
.process-accordion__item {
  background-color: var(--color-white);                  /* v1.1 White-100 */
  border: 0;
  border-radius: 16px;                                   /* v1.1 border-radius 16 */
  box-shadow: 0 1px 4px rgba(12, 12, 13, 0.05);          /* v1.1 drop-shadow Black-100 */
  transition: background-color var(--transition-base), border-color var(--transition-base);
}
.process-accordion__item:not(.process-accordion__item--active) {
  border-top: 1px solid var(--color-border);   /* v1.1 #List_item_2_0 border-width:1px 0 0 */
}
.process-accordion__item--active {
  border-left: 2px solid var(--color-brand-default);   /* v1.1 #List_item_6 border-width:0 0 0 2px */
}
.process-accordion__head {
  display: flex;
  align-items: center;
  gap: 16px;                /* v1.1 #Header_32 gap 16 */
  width: 100%;
  padding: 16px 22px;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  color: var(--color-text-main);
}
/* icon trong VÒNG TRÒN 40px viền (v1.1 #Icon_68/70): inactive viền xám, active viền xanh */
.process-accordion__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 8px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  color: var(--color-text-tertiary);
  flex-shrink: 0;
}
.process-accordion__item--active .process-accordion__icon {
  border-color: var(--color-brand-default);
  color: var(--color-brand-default);
}
.process-accordion__title {
  flex: 1;
  font-size: 18px;          /* v1.1 #Title_44/45 18px/600 */
  font-weight: 600;
  color: var(--color-text-secondary);   /* inactive: #4e517a */
}
.process-accordion__item--active .process-accordion__title {
  color: var(--color-brand-default);
}
.process-accordion__caret {
  color: var(--color-text-tertiary);
  transition: transform var(--transition-base);
}
.process-accordion__item--active .process-accordion__caret { transform: rotate(180deg); color: var(--color-brand-default); }
.process-accordion__panel {
  padding: 0 22px 18px 78px;   /* thẳng title: icon 40 + gap 16 + pad-left 22 */
  display: flex;
  flex-direction: column;      /* desc trên, link căn phải dưới (v1.1 #Column) */
}
.process-accordion__panel[hidden] { display: none; }
.process-accordion__desc {
  font-size: var(--font-size-sm);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin: 0 0 12px;
}
.process-accordion__link {
  align-self: flex-end;        /* v1.1 #Button_1 justify-content:flex-end → căn phải */
  color: var(--color-brand-default);
  background-color: transparent;
  padding: 0;
  &:hover { color: var(--color-brand-dark); background-color: transparent; }
}

.process-media {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background-color: var(--color-brand-dark);
}
.process-media__video {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.home-process__footer {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

@media (max-width: 991.98px) {
  .home-process { padding: 80px 0; }
}
@media (max-width: 575.98px) {
  .home-process { padding: 60px 0; }
  .process-accordion__panel { padding: 0 16px 16px 16px; }
}

/* =========================================================
   5. Value — Giá trị cộng hưởng từ hệ sinh thái WiHub (light bg)
   ========================================================= */
.home-value {
  background-color: var(--color-white);
  padding: 120px 0;
}
.home-value__header {
  margin: 0 0 60px;
}
.home-value__title {
  margin-bottom: 0;
  font-size: 46px;
  font-weight: 800;
  line-height: 1.3;
  text-align: left;                 /* v1.1 #Title_56 text-align:left */
  color: #061b31;                   /* v1.1 __480: "Giá trị cộng hưởng" NAVY ĐẬM (không gradient) */
}
.home-value__title-accent {
  /* chỉ dòng "từ hệ sinh thái WiHub" mới gradient xanh (v1.1 __482) */
  background-image: linear-gradient(91.8deg, #6598ea 29.5%, #1b5bd2 70.7%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* --- Layout: 2 cột so le (trích v1.1 #Content_Section_1 / #Left_Container_1 / #Card_3_Container_1) --- */
.home-value__content {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.home-value__left {
  flex: 1 1 300px;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.home-value__indent { padding-left: 70px; }     /* #Card_2_Container_1 */
.home-value__right {
  flex: 1 1 300px;
  min-width: 300px;
  padding: 120px 70px 0 0;                       /* #Card_3_Container_1: lệch xuống 120px, thụt phải 70px */
}

/* --- Card: ảnh nền + hộp text trắng mờ (trích #Card_X_1 + #Gi_tr_...) --- */
.value-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  transition: transform var(--transition-base);
  &:hover { transform: translateY(-2px); }
}
.value-card--community { padding-top: 218px; }   /* #Card_1_1 */
.value-card--network   { padding-top: 258px; }   /* #Card_2_1 */
.value-card--farm      { padding-top: 298px; }   /* #Card_3_1 */
/* CHỈ ẢNH + VIỀN trắng bị "giấy xé" (filter) — hộp chữ KHÔNG dính filter → chữ nét */
.value-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  border: 4px solid var(--color-white);
  border-radius: 26px;
  filter: url(#torn-paper) drop-shadow(0 1px 4px rgba(12, 12, 13, 0.08));
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.value-card__body {
  position: relative;
  z-index: 2;
  margin: 0 10px 10px;
  padding: 30px 18px;
  width: calc(100% - 20px);
  max-width: 550px;
  border: 2px solid var(--color-white);
  border-radius: 16px;
  background-color: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(25px);
  backdrop-filter: blur(25px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.value-card__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-brand-dark);
  margin: 0;
}
.value-card__desc {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-text-secondary, #4e517a);
  margin: 0;
}
/* Link ẩn, hiện khi hover/focus card (trích v1.1: #Link_Button_29 display:none;opacity:0 + data-reaction-hover) */
.value-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-brand-dark);
  text-decoration: none;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity var(--transition-base), max-height var(--transition-base);
}
.value-card__link-arrow { display: inline-flex; }
.value-card:hover .value-card__link,
.value-card:focus-within .value-card__link {
  opacity: 1;
  max-height: 40px;
}

/* Tablet (768–991): VẪN 2 cột so le như v1.1, chỉ hiện link (không hover) */
@media (max-width: 991.98px) {
  .home-value { padding: 80px 0; }
  .home-value__title { font-size: 34px; }
  .home-value__indent { padding-left: 40px; }     /* thụt nhẹ hơn cho cột hẹp */
  .home-value__right { padding: 80px 40px 0 0; }   /* vẫn lệch xuống */
  .value-card__link { opacity: 1; max-height: 40px; }
}
/* Mobile (<768): 1 cột — bỏ so le, card full-width */
@media (max-width: 767.98px) {
  .home-value__indent { padding-left: 0; }
  .home-value__right { padding: 0; }
  .value-card--community,
  .value-card--network,
  .value-card--farm { padding-top: 200px; }
}
@media (max-width: 575.98px) {
  .home-value { padding: 60px 0; }
  .home-value__title { font-size: 28px; }
  .value-card--community,
  .value-card--network,
  .value-card--farm { padding-top: 160px; }
  .value-card__body { padding: 22px 16px; }
}

/* =========================================================
   6. CaseStudy — Hành Trình Dự Án (dark bg, carousel)
   ========================================================= */
.home-casestudy {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
  background-color: var(--color-brand-dark);
}
.home-casestudy__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.home-casestudy__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: linear-gradient(180deg, rgba(20, 18, 64, 0.42) 0%, rgba(20, 18, 64, 0.70) 100%);
}
.home-casestudy__inner { position: relative; z-index: 2; }

.home-casestudy__header { margin-bottom: 32px; }
.home-casestudy__title {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 8px;
}
.home-casestudy__subtitle {
  font-size: 18px;            /* v1.1 18/400/160% */
  line-height: 1.6;
  color: var(--color-white-80);
  margin: 0;
}

.home-casestudy__carousel { position: relative; padding: 0 60px; }

.casestudy-card {
  display: flex;
  flex-direction: column;
  background-color: var(--color-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  max-width: 940px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .casestudy-card { flex-direction: row; align-items: stretch; height: 380px; }  /* FIXED height → 2 slide + ảnh CAO BẰNG NHAU (v1.1 #Section_3 overflow:hidden) */
}
.casestudy-card__image-wrap {
  flex: 0 0 auto;
  width: 100%;
  background-color: var(--color-bg-icon);
}
@media (min-width: 768px) {
  .casestudy-card__image-wrap { width: 45%; }
}
.casestudy-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 240px;        /* mobile (cột dọc) */
}
@media (min-width: 768px) {
  .casestudy-card__image { min-height: 0; }   /* desktop: ảnh fill đúng height card cố định 380 */
}
.casestudy-card__body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.casestudy-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;          /* v1.1 #Category_Name 12/500 */
  font-weight: 500;
  color: var(--color-brand-default);
  align-self: flex-start;
  padding: 4px 10px;
  background-color: rgba(13, 80, 161, 0.10);
  border-radius: 999px;
}
.casestudy-card__title {
  font-size: 26px;          /* v1.1 #I857..6127 26/700 */
  font-weight: 700;
  color: var(--color-text-main);
  line-height: 1.3;
}
.casestudy-card__desc {
  font-size: 16px;          /* v1.1 16/400 */
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;    /* clip text dài để 2 slide cao bằng nhau (v1.1 clip overflow) */
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.casestudy-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 4px;
}
.casestudy-card__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--font-size-sm);
  color: var(--color-text-tertiary);
}
/* v1.1 #Button_31: nền trắng, viền navy 1px, chữ navy, radius 12px; #Button_Container_67 align-items:end → căn PHẢI */
.casestudy-card__cta {
  align-self: flex-end;
  margin-top: auto;
  padding: 8px 14px;
  background-image: none;
  background-color: var(--color-white);
  border: 1px solid var(--color-brand-dark);
  color: var(--color-brand-dark);
  border-radius: 12px;
  &:hover,
  &:focus {
    background-color: var(--color-brand-dark);
    color: var(--color-white);
  }
}

.home-casestudy__control {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-white-20);
  border: 1px solid var(--color-white-20);
  color: var(--color-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  top: 50%;
  transform: translateY(-50%);
  transition: background-color var(--transition-base);
  &:hover { background-color: rgba(255, 255, 255, 0.35); }
}
.home-casestudy__control--prev { left: 0; }
.home-casestudy__control--next { right: 0; }

.home-casestudy__indicators {
  position: relative;
  bottom: 0;
  margin: 24px 0 0;
  /* Dùng [data-bs-target] để THẮNG specificity của Bootstrap .carousel-indicators [data-bs-target] (0,2,0) */
  & [data-bs-target] {
    box-sizing: border-box;
    flex: 0 0 auto;
    width: 12px;              /* v1.1 #Ellipse: dots TRÒN 12px, ĐỀU nhau */
    height: 12px;
    padding: 0;
    border: 0;
    border-top: 0;            /* huỷ "dash" 30×3px mặc định của Bootstrap */
    border-bottom: 0;
    border-radius: 50%;
    margin: 0 4px;
    background-color: var(--color-white-50);
    opacity: 1;
    text-indent: 0;
    transition: background-color var(--transition-base);
  }
  & [data-bs-target].active {
    background-color: var(--color-white);   /* active: chỉ đổi màu, VẪN tròn đều */
  }
}

@media (max-width: 991.98px) {
  .home-casestudy { padding: 80px 0; }
  .home-casestudy__carousel { padding: 0 0 40px; }
  .home-casestudy__control { display: none; }
}
@media (max-width: 575.98px) {
  .home-casestudy { padding: 60px 0; }
  .casestudy-card__body { padding: 20px; }
}

/* =========================================================
   7. News — Trung Tâm Tài Nguyên (light bg, 3 cards)
   ========================================================= */
.home-news {
  background-color: #f6f9fc; /* v1.1 --Section-Background-Blue */
  padding: 100px 0;
}
.home-news__header { margin: 0 0 40px; }
.home-news__title {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  color: var(--color-text-main);
  margin-bottom: 8px;
}
.home-news__title-accent {
  background-image: linear-gradient(91deg, #6598ea 29.5%, #1b5bd2 70.7%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.home-news__subtitle {
  font-size: 18px;            /* v1.1 #Subtitle_4 18/400/160% */
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin: 0;
}

/* News card CSS → main.css (shared, 1 nguồn cho index/news/news-article) */

.home-news__footer {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

@media (max-width: 991.98px) {
  .home-news { padding: 80px 0; }
}
@media (max-width: 575.98px) {
  .home-news { padding: 60px 0; }
}


/* Contact section CSS → main.css (shared, 1 nguồn) */


/* ==========================================================================
   HERO + CAPABILITY CARD (chỉ dùng ở home — chuyển từ components/ vào page)
   ========================================================================== */
/* ==========================================================================
   Component: Hero
   Full-bleed video background (chứa IoT widget) + text overlay bên trái
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Darken nhẹ TRÁI cho title trắng đọc rõ — giữ vùng phải (widget trong video) sáng */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg,
              rgba(20, 18, 64, 0.48) 0%,
              rgba(20, 18, 64, 0.22) 38%,
              rgba(20, 18, 64, 0) 56%);
}

/* Blur overlays (source: #Ellipse_16 top glow + Hero_BottomBlur fade) */
.hero__blur-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: top;
  z-index: 1;
  pointer-events: none;
}
.hero__blur-bottom {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 340px;
  object-fit: fill;
  z-index: 1;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;

  /* Cột nội dung trái: max-width 545px (theo source #Frame_49) */
  & .col-lg-6 { max-width: 545px; }
}

/* "Kiến Tạo" — pill gradient sáng, chữ navy đậm 38px (source #Whiteboard) */
.hero__badge {
  display: inline-block;
  margin-bottom: var(--space-5);
  padding: 6px 20px;
  font-size: 38px;            /* v1.1 #Whiteboard text 38px/800 */
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -0.1px;
  color: var(--color-brand-dark);
  background-image: linear-gradient(162.9deg, #d8e9fa 0%, #f8f8f8 92.5%);
  border-radius: 40px 10px;
}

.hero__title {
  font-size: 45px;           /* v1.1 #I857..1465 45px/800 line-height 140% */
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -0.1px;
  color: var(--color-white);
  margin-bottom: var(--space-5);
}

.hero__desc {
  max-width: 545px;
  font-size: var(--font-size-lg);
  font-weight: 500;
  line-height: 1.6;
  color: var(--color-white-80);
  margin-bottom: var(--space-8);
}

/* Nút hero lớn hơn (source: 18px/700, min-width 222/155) */
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);

  & .btn-wihub { font-size: var(--font-size-lg); padding: 16px 26px; }
  & .btn-wihub--primary { min-width: 222px; justify-content: center; }
  & .btn-wihub--outline-white { min-width: 155px; justify-content: center; }
  /* mũi tên xuống: hover trượt xuống */
  & .btn-wihub:hover .btn-wihub__arrow--down { transform: translateY(2px); }
}

.btn-wihub__arrow--down { transition: transform var(--transition-base); }

@media (max-width: 991.98px) {
  .hero {
    min-height: 88vh;
    padding-top: var(--navbar-height);
  }
  .hero__overlay {
    background: linear-gradient(180deg,
                rgba(20, 18, 64, 0.55) 0%,
                rgba(20, 18, 64, 0.30) 100%);
  }
  .hero__inner .col-lg-6 { max-width: 100%; }
  .hero__badge { font-size: 30px; }
  .hero__title { font-size: 34px; }
}
@media (max-width: 575.98px) {
  .hero__badge { font-size: 24px; }
  .hero__title { font-size: 27px; }
}
/* ==========================================================================
   Component: Cards
   ========================================================================== */

/* --- Capability card (Competence: white, icon 72) ----------------------- */
.card-capability {
  height: 100%;
  background-color: var(--color-white);
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-btn);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: box-shadow var(--transition-base), transform var(--transition-base);

  &:hover {
    box-shadow: 0 6px 24px rgba(36, 63, 97, 0.16);
    transform: translateY(-2px);
  }
}

.card-capability__icon { width: 72px; height: 72px; object-fit: contain; }

.card-capability__title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-text-main);
}

.card-capability__desc {
  font-size: 16px;          /* v1.1 #Metric_Text 16/400 */
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text-secondary);
}
