html:has(body.page-template-template-homepage) {
  overflow-y: auto !important;
  overscroll-behavior-y: auto;
  scroll-snap-type: none !important;
}

body.page-template-template-homepage,
body.home {
  overflow-y: visible !important;
  overscroll-behavior-y: auto;
  scroll-snap-type: none !important;
}

/* Set kích thước Card theo Figma */
body.is-front-page .casitek-home-download-center .casitek-download-card__image {
  aspect-ratio: auto !important;
  height: 247px !important;
  /* Fix cứng chiều cao ảnh theo Figma */
}

.page-template-template-homepage #main,
body.home #main {
  padding: 0;
  background: #fff;
}

body.home #content.content-area,
body.home #content>.row-main,
body.home #content>.row-main>.col,
body.home #content>.row-main>.col>.col-inner {
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
}

body.home #content>.row-main>.col {
  padding-inline: 0 !important;
}

.casitek-home-section {
  position: relative;
  overflow: hidden;
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
  color: #171717;
}

/* .casitek-home-shell {
  width: min(1350px, calc(100% - 80px));
  margin-inline: auto;
} */

.casitek-home-shell {
  --shell-max-width: 1280px;
  /* Chuẩn an toàn cho màn hình laptop thông thường */
  width: min(var(--shell-max-width), calc(100% - 80px)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* If applied directly to a Flatsome row */
/* .row.casitek-home-shell {
  max-width: var(--shell-max-width, 1280px) !important;
} */

/* Tự động co giãn mượt mà khi nằm trong phần Industries của màn hình lớn */
.casitek-home-shell {
  --shell-max-width: 85vw;
  /* Sử dụng đơn vị Viewport Width để tự co giãn theo tỉ lệ màn hình */
}

.casitek-home-industries .row.casitek-home-shell {
  max-width: 1680px !important;
  /* Giới hạn chặn trên an toàn cho màn hình 4K */
}

.casitek-home-eyebrow,
.casitek-home-section-heading span,
.casitek-home-product-system__intro>span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #f36f21;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

/* Custom static Hero Section */
.casitek-home-hero {
  position: relative;
  width: 100%;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: #111;
  box-sizing: border-box;
}

.section:has(.casitek-home-hero-native) {
  padding: 0 !important;
  overflow: hidden !important;
}

.section:has(.casitek-home-hero-native) .section-content {
  padding: 0 !important;
  max-width: 100% !important;
}

.casitek-native-home-section {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}

.casitek-home-hero-native {
  color: #fff;
  overflow: hidden;
  background: #111;
}

@media (min-width: 992px) {
  .casitek-home-hero-native {
    height: 100vh !important;
    min-height: 100vh !important;
    padding-top: 0 !important;
  }
}

/* .casitek-home-hero-native .banner-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.48) 46%, rgba(0, 0, 0, 0.16) 100%),
    rgba(0, 0, 0, 0.1);
} */

.casitek-home-hero-native .banner-bg img.bg {
  object-position: center center;
}

.casitek-home-hero-native .banner-layers {
  z-index: 3;
}

/* .casitek-home-hero-native::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 69px;
  z-index: 4;
  height: 3px;
  border-radius: 999px;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      #fff 0 9.8%,
      rgba(255, 255, 255, 0) 9.8% 10.3%,
      rgba(255, 255, 255, 0.5) 10.3% 23.5%,
      rgba(255, 255, 255, 0) 23.5% 24%,
      rgba(255, 255, 255, 0.5) 24% 37.2%,
      rgba(255, 255, 255, 0) 37.2% 37.7%,
      rgba(255, 255, 255, 0.5) 37.7% 50.9%,
      rgba(255, 255, 255, 0) 50.9% 51.4%,
      rgba(255, 255, 255, 0.5) 51.4% 64.6%,
      rgba(255, 255, 255, 0) 64.6% 65.1%,
      rgba(255, 255, 255, 0.5) 65.1% 78.3%,
      rgba(255, 255, 255, 0) 78.3% 78.8%,
      rgba(255, 255, 255, 0.5) 78.8% 100%);
} */

/* .casitek-native-hero-copy {
  max-width: 980px;
  top: 50% !important;
  transform: translateY(-50%) !important;
} */

.casitek-native-hero-copy .text-inner {
  text-align: left;
}

.casitek-native-hero-copy h1 {
  max-width: 900px;
  margin: 22px 0 16px;
  color: #fff;
  font-family: 'Bricolage Grotesque', 'Plus Jakarta Sans', Arial, sans-serif;
  font-size: clamp(44px, 4.85vw, 68px);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: 0;
}

.casitek-native-hero-copy p {
  max-width: 980px;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
  font-size: clamp(16px, 1.65vw, 24px);
  line-height: 1.48;
}

.casitek-native-hero-copy .button {
  margin-top: 28px;
  border-radius: 4px !important;
  background: #f36f21 !important;
  color: #fff !important;
  letter-spacing: 0;
}

.casitek-native-hero-copy .casitek-native-hero-button {
  margin-top: 28px;
}

.casitek-native-hero-copy p:has(.casitek-native-hero-button) {
  margin-top: 0;
}

.casitek-native-hero-copy .casitek-native-hero-button .arrow:empty::before,
.casitek-btn .arrow:empty::before {
  content: '';
  width: 16px;
  height: 16px;
  display: block;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.333 8H12.666M8 12.667L12.666 8L8 3.333' stroke='black' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.333 8H12.666M8 12.667L12.666 8L8 3.333' stroke='black' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.casitek-home-hero__media,
.casitek-home-hero__overlay {
  position: absolute;
  inset: 0;
}

.casitek-home-hero__media {
  z-index: 1;
}

.casitek-home-hero__media img,
.casitek-home-hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--home-hero-media-position, center center);
  display: block;
}

.casitek-home-hero__overlay {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.48) 46%, rgba(0, 0, 0, 0.16) 100%),
    rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.casitek-home-hero__inner {
  position: relative;
  z-index: 3;
  width: min(1200px, calc(100% - 240px));
  margin-inline: auto;
  padding: 178px 0 126px;
  box-sizing: border-box;
}

.casitek-home-hero__content {
  max-width: 980px;
}

.casitek-home-hero__content h1 {
  max-width: 900px;
  margin: 22px 0 16px;
  color: #fff;
  font-family: 'Bricolage Grotesque', 'Plus Jakarta Sans', Arial, sans-serif;
  font-size: clamp(44px, 4.85vw, 68px);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: 0;
}

.casitek-home-hero__content p {
  max-width: 980px;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
  font-size: clamp(16px, 1.65vw, 24px);
  line-height: 1.48;
}

.casitek-home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

/* 5 Progress Lines matching Figma exactly */
.casitek-home-hero__lines-wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 69px;
  z-index: 4;
}

.casitek-home-hero__lines-wrap .casitek-home-shell {
  width: calc(100% - 48px);
  max-width: none;
}

.casitek-home-hero__lines {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.casitek-home-hero__lines .line {
  flex: 1;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  transition: background 0.3s ease;
}

.casitek-home-hero__lines .line--active {
  background: #fff;
}

/* Force container full-bleed and full-height */
.section:has(.casitek-home-hero) {
  padding: 0 !important;
  overflow: hidden !important;
}

.section:has(.casitek-home-hero) .section-content {
  padding: 0 !important;
  max-width: 100% !important;
}

.casitek-home-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 24px;
  width: 1px;
  height: 56px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.casitek-home-scroll-cue::after {
  content: '';
  position: absolute;
  top: 0;
  right: -7px;
  width: 1px;
  height: 56px;
  background: linear-gradient(180deg, #f36f21, rgba(255, 255, 255, 0));
  animation: casitek-home-scroll 1.8s ease-in-out infinite;
}

@keyframes casitek-home-scroll {

  0%,
  100% {
    transform: translateY(-8px);
    opacity: 0.4;
  }

  50% {
    transform: translateY(8px);
    opacity: 1;
  }
}

.casitek-home-logo-showcase {
  min-height: 760px;
  background: #fff;
}

.casitek-home-logo-showcase__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  pointer-events: none;
}

.casitek-home-section-heading h2,
.casitek-home-product-system__intro h2 {
  margin: 0;
  color: #171717;
  font-family: 'Bricolage Grotesque', 'Plus Jakarta Sans', Arial, sans-serif;
  font-size: clamp(34px, 4.4vw, 64px);
  line-height: 1;
  letter-spacing: 0;
}

.casitek-home-section-heading p,
.casitek-home-product-system__intro p {
  margin: 18px 0 0;
  color: #5f5f5f;
  font-size: 16px;
  line-height: 1.72;
}

.casitek-home-industries {
  position: relative;
  padding: 160px 0 180px !important;
  overflow: hidden;
}

.section:has(.casitek-home-industries) {
  padding: 0 !important;
  overflow: hidden !important;
}

.section:has(.casitek-home-industries) .section-content {
  padding: 0 !important;
  max-width: 100% !important;
}

.casitek-home-industries__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.casitek-home-section-logo-img {
  position: absolute;
  pointer-events: none;
  will-change: transform, top, left, bottom, right;
  max-width: none !important;
}

.casitek-home-section-logo-img--top {
  top: -160px;
  left: -40px;
  transform: translate(-10%, -20%);
  width: clamp(340px, 40vw, 548px);
  transition: all 0.7s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.casitek-home-section-logo-img--bottom {
  bottom: -130px;
  right: -100px;
  transform: translate(10%, 0);
  width: clamp(300px, 36vw, 490px);
  transition: all 0.7s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

/* --- LOGO C-MERGE ANIMATION (Discrete steps driven by JS classes .step-0, .step-1, .step-2) --- */

/* Step 0: Initial split state */
.casitek-home-industries.step-0 .casitek-home-section-logo-img--top {
  top: -160px;
  left: -40px;
  transform: translate(-10%, -20%) !important;
}

.casitek-home-industries.step-0 .casitek-home-section-logo-img--bottom {
  bottom: -130px;
  right: -100px;
  transform: translate(10%, 0) !important;
}

/* Step 1: 45% keyframe state (Slid to center, still horizontally split) */
.casitek-home-industries.step-1 .casitek-home-section-logo-img--top {
  top: calc(50% - 177px);
  left: 10%;
  transform: translate(0%, 0%) !important;
}

.casitek-home-industries.step-1 .casitek-home-section-logo-img--bottom {
  bottom: calc(50% - 269px + 177px);
  right: 10%;
  transform: translate(0%, 200px) !important;
}

/* Step 2: 100% keyframe state (Fully merged into the C logo) */
.casitek-home-industries.step-2 .casitek-home-section-logo-img--top {
  top: calc(50% - 230px);
  left: calc(50% - 215px);
  transform: translate(0%, 0%) !important;
}

.casitek-home-industries.step-2 .casitek-home-section-logo-img--bottom {
  bottom: calc(50% - 269px + -181px);
  right: calc(50% - 245px);
  transform: translate(0%, -99px) !important;
}

.casitek-home-industries>.casitek-home-shell {
  position: relative;
  z-index: 1;
}

.casitek-home-section-heading {
  max-width: 820px;
  margin-bottom: 38px;
}

.casitek-home-section-heading h2 {
  margin-top: 14px;
  font-size: 40px;
  color: #111;
}

.casitek-home-industry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.casitek-home-industry-card,
.casitek-home-industry-card .col-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 48px 32px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(243, 111, 33, 0.16);
  transition: all 0.3s ease;
  text-decoration: none !important;
}

/* Reset column wrapper styles so spacing remains perfect */
div.col.casitek-home-industry-card {
  padding: 0 9.8px 19.6px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  transform: none !important;
}

.casitek-home-industry-card .col-inner {
  height: 100%;
}

.casitek-home-industry-card.is-active,
.casitek-home-industry-card.is-active .col-inner,
.casitek-home-industry-card:hover,
.casitek-home-industry-card:hover .col-inner {
  border-color: #f36f21;
  box-shadow: 0 24px 48px rgba(243, 111, 33, 0.12);
  transform: translateY(-8px);
}

/* Make entire card clickable when using row/col */
.casitek-home-industry-card .col-inner a.casitek-home-industry-card__link::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
}

.casitek-home-industry-card__icon {
  margin-bottom: 24px;
}

.casitek-home-industry-card__icon img,
.casitek-home-industry-card__icon svg,
.casitek-home-industry-card__icon .placeholder-icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 8px;
}

.casitek-home-industry-card__icon .placeholder-icon {
  background: rgba(243, 111, 33, 0.1);
}

.casitek-home-industry-card h3 {
  margin: 0 0 16px 0;
  color: #f36f21;
  font-size: 24px;
  line-height: 1.2;
}

.casitek-home-industry-card .tags {
  color: #111;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  line-height: 1.5;
}

.casitek-home-industry-card p {
  margin: 0 0 24px 0;
  color: #666;
  font-size: 14px;
  line-height: 1.62;
  flex-grow: 1;
  /* push link to bottom */
}

.casitek-home-industry-card__link {
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  margin-left: auto;
  /* Lệch toàn bộ sang bên phải của card */
  text-decoration: none !important;
}

.casitek-home-industry-card__link .text {
  color: #f36f21;
  font-size: 14px;
  font-weight: 600;
  transition:
    color 0.3s ease,
    transform 0.3s ease;
}

.casitek-home-industry-card__link .line-dot {
  display: flex;
  align-items: center;
  margin-left: 8px;
  /* Khoảng cách giữa text và line-dot */
  transition: margin-left 0.3s ease;
}

.casitek-home-industry-card__link .line {
  height: 1px;
  width: 100px;
  /* Chiều dài line là 25px */
  background: #6d320f;
  transition:
    width 0.3s ease,
    opacity 0.3s ease;
  opacity: 1;
}

.casitek-home-industry-card__link .dot {
  width: 4px;
  /* Ban đầu dot rộng 4px */
  height: 4px;
  /* Ban đầu dot cao 4px */
  border-radius: 50%;
  background: #f36f21;
  position: relative;
  margin-left: -2px;
  /* Đặt center của dot trùng với điểm cuối của line (4px/2 = 2px) */
  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
}

.casitek-home-industry-card__link .dot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  /* Ban đầu viền ngoài rộng 32px */
  height: 32px;
  /* Ban đầu viền ngoài cao 32px */
  border: 1px solid #f36f21;
  border-radius: 50%;
  transition:
    border-color 0.3s ease,
    transform 0.3s ease;
}

/* Hiệu ứng hover - chỉ kích hoạt khi hover trực tiếp vào nút "Tìm hiểu thêm" */
.casitek-home-industry-card__link:hover .text {
  transform: translateX(-14px);
  /* Đẩy nhẹ text sang phải */
}

.casitek-home-industry-card__link:hover .line-dot {
  margin-left: 18px;
  /* Dịch chuyển để tránh đè chữ khi line co lại */
}

.casitek-home-industry-card__link:hover .line {
  width: 0;
  /* Thu hồi line trượt vào trong dot */
  opacity: 0;
}

.casitek-home-industry-card__link:hover .dot {
  background-color: #6d320f;
  /* Đổi màu dot sang màu #6D320F */
  transform: scale(1.875);
  /* Dot to lên khoảng 7.5px (4px * 1.875 = 7.5px) */
}

.casitek-home-industry-card__link:hover .dot::before {
  border-color: #6d320f;
  /* Đổi màu viền ngoài sang màu #6D320F */
  transform: translate(-50%, -50%) scale(0.5625);
  /* Zoom nhỏ viền từ 32px xuống 18px (32px * 0.5625) để ôm trọn dot */
}

.casitek-home-product-system {
  padding-top: 70px !important;
  position: relative;
  z-index: 1;
}

/* Center columns inside a Flatsome row */
.casitek-home-row-center {
  justify-content: center !important;
}

/* Reset Flatsome column style for product cards */
div.col.casitek-home-product-card {
  padding: 0 9.8px 19.6px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  transform: none !important;
}

/* Product Card Inner container */
.casitek-home-product-card .col-inner {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  height: 149px;
  background: #ffffff;
  border: 2px solid #fcdcca;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  text-decoration: none !important;
}

/* Hover state for product card */
.casitek-home-product-card:hover .col-inner,
.casitek-home-product-card.is-active .col-inner {
  border-color: #f36f21;
  box-shadow: 0 30px 34px rgba(232, 175, 139, 0.3);
  transform: translateY(-6px);
}

/* Make entire card clickable by positioning industry link overlay */
.casitek-home-product-card .col-inner .casitek-home-industry-card__link::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* Product Card Image */
.casitek-home-product-card__image {
  width: 110px;
  height: 100%;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

.casitek-home-product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.casitek-home-product-card:hover .casitek-home-product-card__image img {
  transform: scale(1.05);
}

/* Product Card Content */
.casitek-home-product-card__content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 24px;
  position: relative;
  z-index: 1;
}

.casitek-home-product-card__content h3 {
  margin: 0;
  color: #1e1e1e;
  font-family: 'Bricolage Grotesque', 'Plus Jakarta Sans', Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
}

/* Make sure link is aligned correctly inside content */
.casitek-home-product-card__content .casitek-home-industry-card__link {
  margin-top: auto;
  margin-left: auto;
  pointer-events: auto;
}

@media (max-width: 767px) {
  .casitek-home-product-card .col-inner {
    height: auto;
    min-height: 120px;
  }

  .casitek-native-hero-copy h1 {
    font-size: 2.5em !important;
  }

  .casitek-home-section-heading h2 {
    margin-top: 0px;
  }

  .casitek-home-product-card__image {
    width: 90px;
  }

  .casitek-home-product-card__content {
    padding: 16px;
  }

  .casitek-home-product-card__content h3 {
    font-size: 15px;
  }

  .casitek-home-shell {
    width: min(var(--shell-max-width), calc(100% - 30px)) !important;
    --shell-max-width: 100vw;
  }

  div.col.casitek-home-industry-card,
  div.col.casitek-home-product-card {
    padding: 0 0 19.6px !important;
  }

  .casitek-home-section-heading {
    margin-bottom: 30px;
  }
}

@media (max-width: 991px) {
  .casitek-home-industries {
    padding: 120px 0 140px !important;
  }

  .casitek-home-shell {
    width: min(100% - 40px, 760px);
  }

  .casitek-home-hero__inner,
  .casitek-home-product-system__inner {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .casitek-home-hero__inner {
    width: min(100% - 40px, 760px);
    padding: 132px 0 104px;
  }

  .casitek-home-hero__proof {
    max-width: 360px;
  }

  .casitek-home-logo-showcase {
    min-height: 560px;
  }

  .casitek-home-industry-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .casitek-home-shell {
    width: calc(100% - 28px);
  }

  .casitek-home-hero {
    min-height: 720px;
  }

  .casitek-home-hero__inner {
    width: calc(100% - 28px);
    padding: 112px 0 96px;
  }

  .casitek-home-hero__content h1 {
    font-size: clamp(36px, 13vw, 52px);
  }

  .casitek-home-hero__lines-wrap {
    bottom: 38px;
  }

  .casitek-home-hero__lines-wrap .casitek-home-shell {
    width: calc(100% - 28px);
  }

  .casitek-home-hero__actions {
    display: grid;
  }

  .casitek-home-button {
    width: 100%;
  }

  .casitek-home-scroll-cue {
    display: none;
  }

  .casitek-home-industries {
    padding: 40px 0 0px !important;
  }

  .casitek-home-product-system {
    padding: 72px 0;
  }

  .casitek-home-system-map {
    grid-template-columns: 1fr;
  }

  .casitek-home-system-map--lines::before {
    display: none;
  }

  .casitek-home-system-card {
    min-height: 180px;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px;
  width: 100%;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(232, 92, 13, 0.15);
  border: 1px solid rgba(232, 92, 13, 0.4);
  color: #e85c0d;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  width: fit-content;
  max-width: 100%;
  margin-left: 0 !important;
  margin-right: auto !important;
}

h1 {
  font-size: 52px;
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  max-width: 640px;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

h1 span {
  color: #e85c0d;
}

.hero-sub {
  font-size: 16px;
  color: #b0bec5;
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: 36px;
}

/* Reset margin của thẻ p do WordPress tự sinh ra */
.hero-badge p {
  margin: 0 !important;
  line-height: 1.4;
}

.hero-badge::before {
  content: '●';
  font-size: 14px;
  line-height: 1;
  display: block;
}

.row-btn {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.row-btn>.col {
  width: auto !important;
  max-width: none !important;
  flex: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.casitek-btn-data-center .text,
.casitek-btn-data-center .arrow {
  min-height: 44px !important;
  border-radius: 6px !important;
  font-size: 14px !important;
}

.casitek-btn-data-center .text {
  padding: 0 24px !important;
}

.btn-outline-home {
  margin: 0 !important;
  min-height: 44px !important;
  padding: 0 24px !important;
  border: 1.5px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: 6px !important;
  background-color: transparent !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-transform: none !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.btn-outline-home:hover {
  border-color: #ffffff !important;
  background-color: rgba(255, 255, 255, 0.05) !important;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 32px;
  margin-right: 32px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-item:last-child {
  border-right: none;
}

.trust-icon {
  color: #e85c0d;
  font-size: 18px;
}

.trust-label {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.trust-sub {
  color: #78909c;
  font-size: 11px;
  text-align: start;
}

/* Figma prototype scroll flow */
.casitek-home-logo-showcase {
  min-height: 100svh;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.casitek-home-logo-showcase::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(circle at 50% 45%,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.18) 58%,
      rgba(0, 0, 0, 0.62) 100%);
}

.casitek-home-logo-showcase__video {
  z-index: 0;
}

.has-casitek-figma-flow .casitek-home-logo-showcase__video {
  opacity: 0;
}

.casitek-home-logo-showcase__mark {
  position: absolute;
  inset: 0;
  margin: auto;
  z-index: 2;
  width: clamp(340px, 48vw, 760px);
  height: auto;
  max-width: none;
  opacity: 0.96;
  pointer-events: none;
  transform-origin: center;
  user-select: none;
  will-change: transform, opacity;
}

.casitek-home-industries,
.casitek-home-product-system {
  isolation: isolate;
}

.casitek-home-industries>.casitek-home-shell,
.casitek-home-product-system>.casitek-home-shell {
  position: relative;
  z-index: 2;
}

.casitek-home-section-logo {
  position: absolute;
  z-index: 0;
  max-width: none;
  pointer-events: none;
  user-select: none;
  will-change: transform, opacity;
  overflow: visible;
}

/* .casitek-home-section-logo--industry styling handled by top/bottom selectors */

.casitek-home-section-logo--product {
  right: 4vw;
  bottom: -20vw;
  width: min(1160px, 94vw);
  opacity: 0.14;
}

@media (min-width: 992px) {

  html.has-casitek-figma-flow,
  html.has-casitek-figma-flow body.page-template-template-homepage {
    overscroll-behavior-y: auto;
  }

  .casitek-home-section-flow {
    position: relative;
    min-height: 100svh;
    overflow: hidden;
    background: #f7f5f1;
    isolation: isolate;
  }

  .casitek-home-section-flow>.casitek-home-section {
    position: absolute;
    inset: 0;
    width: 100%;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: 0;
  }

  .casitek-home-section-flow .casitek-home-industries {
    background: #f7f5f1;
  }

  .casitek-home-section-flow .casitek-home-product-system {
    background:
      linear-gradient(90deg, rgba(247, 245, 241, 0.97), rgba(247, 245, 241, 0.9)),
      var(--home-system-bg) center / cover no-repeat;
  }

  .casitek-home-section-flow .casitek-home-shell {
    width: min(1200px, calc(100% - 80px));
  }
}

@media (max-width: 991px) {
  .casitek-home-logo-showcase__mark {
    width: min(78vw, 460px);
  }

  /* Force static merged state on mobile/tablet (override all step classes to remain in step-2 shape) */
  .casitek-home-industries.step-0 .casitek-home-section-logo-img--top,
  .casitek-home-industries.step-1 .casitek-home-section-logo-img--top,
  .casitek-home-industries.step-2 .casitek-home-section-logo-img--top,
  .casitek-home-industries .casitek-home-section-logo-img--top {
    top: calc(50% - 260px) !important;
    left: calc(50% - 214px) !important;
    transform: translate(0%, 0%) !important;
    width: 540px !important;
  }

  .casitek-home-industries.step-0 .casitek-home-section-logo-img--bottom,
  .casitek-home-industries.step-1 .casitek-home-section-logo-img--bottom,
  .casitek-home-industries.step-2 .casitek-home-section-logo-img--bottom,
  .casitek-home-industries .casitek-home-section-logo-img--bottom {
    bottom: calc(50% - 274px) !important;
    right: calc(50% - 206px) !important;
    transform: translate(0%, 0%) !important;
    width: 470px !important;
  }

  .casitek-home-section-logo--product {
    right: -260px;
    bottom: -160px;
    width: 720px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .has-casitek-figma-flow .casitek-home-logo-showcase__video {
    opacity: 1;
  }

  .casitek-home-logo-showcase__mark,
  .casitek-home-section-logo {
    will-change: auto;
  }
}

/* Auto-reset Flatsome native Section wrapper when it contains our Hero Slider */
.section:has(.casitek-home-hero) {
  padding: 0 !important;
  overflow: hidden !important;
}

.section:has(.casitek-home-hero) .section-content {
  padding: 0 !important;
  max-width: 100% !important;
}

/* UX Builder preview should show static content, not GSAP initial hidden states. */
html.is-ux-builder-preview .hero-rating,
html.is-ux-builder-preview .hero-content h1,
html.is-ux-builder-preview .hero-content>p,
html.is-ux-builder-preview .hero-buttons,
body.ux-builder-iframe .hero-rating,
body.ux-builder-iframe .hero-content h1,
body.ux-builder-iframe .hero-content>p,
body.ux-builder-iframe .hero-buttons {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

html.is-ux-builder-preview .casitek-home-hero,
body.ux-builder-iframe .casitek-home-hero {
  min-height: 720px;
}

html.is-ux-builder-preview .casitek-home-logo-showcase__video,
body.ux-builder-iframe .casitek-home-logo-showcase__video {
  opacity: 1 !important;
  visibility: visible !important;
}

.casitek-home-logo-showcase__svg {
  display: block;
  height: auto;
  overflow: visible;
}

.section:has(.casitek-home-logo-showcase) {
  padding: 0 !important;
  overflow: hidden !important;
}

.section:has(.casitek-home-logo-showcase) .section-content {
  padding: 0 !important;
  max-width: 100% !important;
}

body.ux-builder-iframe .casitek-home-logo-showcase__mark,
html.is-ux-builder-preview .casitek-home-logo-showcase__mark {
  opacity: 0.96 !important;
  visibility: visible !important;
  transform: none !important;
}

.casitek-home-logo-showcase {
  background: #fff;
}

.casitek-home-logo-showcase::after {
  display: none;
}

/* Video Showcase Section */
.casitek-home-video-showcase {
  position: relative;
  width: 100%;
  min-height: 80svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #111;
}

.section:has(.casitek-home-video-showcase) {
  padding: 0 !important;
  overflow: hidden !important;
}

.section:has(.casitek-home-video-showcase) .section-content {
  padding: 0 !important;
  max-width: 100% !important;
}

.casitek-home-video-showcase__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.casitek-home-video-showcase__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.casitek-home-video-showcase__overlay {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  width: 100%;
  min-height: 80svh;
  padding: 64px 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.04) 40%, rgba(0, 0, 0, 0.52) 100%);
}

.casitek-home-video-showcase__content {
  color: #fff;
}

.casitek-home-video-showcase__content h2 {
  margin: 14px 0 0;
  color: #fff;
  font-family: 'Bricolage Grotesque', 'Plus Jakarta Sans', Arial, sans-serif;
  font-size: clamp(28px, 3.6vw, 52px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: 0;
  max-width: 720px;
}

@media (max-width: 991px) {

  .casitek-custom-header,
  .casitek-custom-header .header-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
    padding-inline: 0 !important;
  }

  /* 2. Quy hoạch lại cấu trúc Flexbox bên trong để căn đều 2 đầu */
  .casitek-header-inner {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 70px !important;
    /* Chiều cao cố định chuẩn cho Mobile Header */
    padding: 0 20px !important;
    /* Khoảng đệm an toàn với 2 cạnh viền màn hình */
    box-sizing: border-box !important;
  }

  /* 3. Ẩn toàn bộ các thành phần của giao diện Desktop để giải phóng không gian */
  .casitek-custom-header .casitek-nav,
  .casitek-custom-header .casitek-header-buttons {
    display: none !important;
  }

  /* 4. Định hình lại kích thước khối Logo trên điện thoại để không bị mờ/vỡ */
  .casitek-custom-header .casitek-logo {
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
  }

  .casitek-custom-header .casitek-logo-link img {
    height: 36px !important;
    /* Giới hạn chiều cao vừa vặn cho logo mobile */
    width: auto !important;
    display: block !important;
  }

  /* 5. Định hình lại nút kích hoạt Menu Mobile (Hamburger) */
  .casitek-custom-header .casitek-mobile-nav {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .casitek-custom-header .mobile-menu-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px !important;
    color: #171717 !important;
    text-decoration: none !important;
  }

  .casitek-home-video-showcase {
    min-height: 60svh;
  }

  .casitek-home-video-showcase__overlay {
    min-height: 60svh;
    padding: 40px 0;
  }
}

@media (max-width: 640px) {
  .casitek-home-video-showcase {
    min-height: 50svh;
  }

  .casitek-home-video-showcase__overlay {
    min-height: 50svh;
    padding: 32px 0;
  }

  .trust-label {
    font-size: 14px;
  }

  .trust-item {
    padding-right: 0;
  }
}

/* Responsive cho các màn hình chuyên dụng lớn hơn Full HD (2K, 4K, 27"+) */
@media screen and (min-width: 1921px) {
  .casitek-home-industries .casitek-home-shell {
    width: 90% !important;
    /* Chiếm 90% không gian màn hình hiển thị */
    max-width: 1800px !important;
    /* Điểm dừng hoàn hảo để card to ra che khéo SVG nền */
  }
}

/* TECHNICAL ADVANTAGE SECTION */
.casitek-home-technical {
  padding: 104px 0 !important;
  background-color: rgba(30, 30, 30, 0.75) !important;
  /* Slightly more transparent */
  backdrop-filter: blur(8px) !important;
  /* Reduced blur for transparency and clarity */
  -webkit-backdrop-filter: blur(8px) !important;
  background-image: url('../images/homepage/technical-advantage-bg.svg') !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  /* Use contain to prevent logo from being cut off */
  position: relative;
  z-index: 1;
}

/* Ensure the absolute fill background inside Flatsome section is transparent so the blur is visible */
.casitek-home-technical .section-bg {
  background-color: transparent !important;
  background-image: none !important;
}

/* Heading styling */
.casitek-home-technical-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 56px;
  text-align: left;
}

.casitek-home-technical-heading .col-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 56px;
  text-align: left;
}

.casitek-home-technical-heading__icon img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.casitek-home-technical-heading__text h2 {
  margin: 0;
  font-family: 'Bricolage Grotesque', 'Plus Jakarta Sans', Arial, sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.1;
  color: #ffffff;
}

.casitek-home-technical-heading__text p {
  margin-bottom: 0;
}

.casitek-home-technical-heading__text span {
  font-family: 'Bricolage Grotesque', 'Plus Jakarta Sans', Arial, sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #f36f21;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: block;
}

/* Reset Flatsome column style for technical cards */
div.col.casitek-home-technical-card {
  padding: 0 12px 24px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  /* transform: none !important; */
}

@media (min-width: 768px) {
  div.col.casitek-home-technical-card {
    width: 20% !important;
    max-width: 20% !important;
    flex: 0 0 20% !important;
  }
}

/* Card inner structure */
.casitek-home-technical-card__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

/* Rounded square image container */
.casitek-home-technical-card__image {
  width: 100%;
  aspect-ratio: 1 / 1;
  /* Keep it perfectly square */
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  margin-bottom: 16px;
  transition:
    transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.4s ease;
}

.casitek-home-technical-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

/* Hover effects */
.casitek-home-technical-card:hover .casitek-home-technical-card__image {
  transform: translateY(-8px);
  box-shadow: 0 20px 35px rgba(243, 111, 33, 0.25);
}

.casitek-home-technical-card:hover .casitek-home-technical-card__image img {
  transform: scale(1.05);
}

/* Title caption below the card */
.casitek-home-technical-card__title {
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  margin-top: 8px;
  opacity: 0.9;
  max-width: 220px;
  display: block;
}

/* Mobile responsive adjustments */
@media (max-width: 767px) {
  .casitek-home-technical {
    padding: 50px 0 !important;
  }

  .casitek-home-technical-heading {
    margin-bottom: 38px;
    gap: 16px;
  }

  .casitek-home-technical-heading__icon img {
    width: 48px;
    height: 48px;
  }

  .casitek-home-technical-heading__text h2 {
    font-size: 26px;
  }

  .casitek-home-technical-heading__text span {
    font-size: 18px;
  }

  .casitek-home-technical-card__title {
    font-size: 13px;
  }
}

/* DATA CENTER SECTION */
.casitek-home-data-center {
  margin-top: 100px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  color: #ffffff;
  z-index: 1;
}

/* Ensure overlay for readability */
.casitek-home-data-center::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
  pointer-events: none;
}

.casitek-home-data-center .casitek-home-shell {
  position: relative;
  z-index: 1;
  text-align: center;
}

.casitek-home-data-center-intro {
  margin-bottom: 24px;
}

.casitek-home-data-center-intro h2 {
  font-family: 'Bricolage Grotesque', 'Plus Jakarta Sans', Arial, sans-serif;
  font-size: clamp(36px, 4.4vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  color: #ffffff;
  margin: 0 0 12px 0;
}

.casitek-home-data-center h2 {
  font-family: 'Bricolage Grotesque', 'Plus Jakarta Sans', Arial, sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  color: #ffffff;
  margin: 0 0 18px 0;
}

.casitek-home-data-center p {
  font-size: 20px;
}

.casitek-home-data-center-intro p {
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
  font-size: clamp(14px, 1.6vw, 17px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 auto;
  max-width: 680px;
}

/* Stacking Cards Styles */
.casitek-stacking-cards-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: 380px;
  margin: 36px auto 0;
  perspective: 1200px;
}

.casitek-stacking-card {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.3);
  transform-origin: center center;
  transition:
    transform 0.8s cubic-bezier(0.25, 1, 0.35, 1),
    opacity 0.8s ease,
    visibility 0.8s ease;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.85) translate3d(0, 40px, 0);
  z-index: 1;
}

.casitek-stacking-card__inner {
  display: flex;
  width: 100%;
  height: 100%;
}

.casitek-stacking-card__image {
  flex: 0 0 45%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
}

.casitek-stacking-card__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(30, 30, 30, 0) 60%, rgba(30, 30, 30, 1) 100%);
}

.casitek-stacking-card__content {
  flex: 0 0 55%;
  padding: 40px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  background: #1e1e1e;
  color: #ffffff;
}

.casitek-stacking-card__content .card-eyebrow {
  color: #f36f21;
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.casitek-stacking-card__content h3 {
  font-family: 'Bricolage Grotesque', 'Plus Jakarta Sans', Arial, sans-serif;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 12px 0;
}

.casitek-stacking-card__content p {
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 24px 0;
  max-width: 100%;
}

/* Stacking States */
.casitek-home-data-center.step-0 .card-0 {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translate3d(0, 0, 0);
  z-index: 3;
}

/* Step 1 active */
.casitek-home-data-center.step-1 .card-0 {
  opacity: 0.4;
  visibility: visible;
  transform: scale(0.92) translate3d(0, -24px, 0);
  z-index: 2;
}

.casitek-home-data-center.step-1 .card-1 {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translate3d(0, 0, 0);
  z-index: 3;
}

/* Step 2 active */
.casitek-home-data-center.step-2 .card-0 {
  opacity: 0;
  visibility: hidden;
  transform: scale(0.84) translate3d(0, -48px, 0);
  z-index: 1;
}

.casitek-home-data-center.step-2 .card-1 {
  opacity: 0.4;
  visibility: visible;
  transform: scale(0.92) translate3d(0, -24px, 0);
  z-index: 2;
}

.casitek-home-data-center.step-2 .card-2 {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translate3d(0, 0, 0);
  z-index: 3;
}

/* Mobile responsive */
@media (max-width: 849px) {
  .casitek-home-data-center {
    height: auto !important;
    padding: 80px 0 !important;
  }

  .casitek-stacking-cards-container {
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 28px !important;
    margin-top: 32px;
  }

  .casitek-stacking-card {
    position: relative !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    height: auto !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  }

  .casitek-stacking-card__inner {
    flex-direction: column !important;
  }

  .casitek-stacking-card__image {
    width: 100% !important;
    height: 200px !important;
    flex: none !important;
  }

  .casitek-stacking-card__image::after {
    background: linear-gradient(180deg, rgba(30, 30, 30, 0) 50%, rgba(30, 30, 30, 1) 100%);
  }

  .casitek-stacking-card__content {
    width: 100% !important;
    flex: none !important;
    padding: 32px 24px !important;
  }
}

@media (max-width: 767px) {
  .casitek-home-data-center {
    padding: 50px 0 !important;
    /* min-height: 60svh; */
  }

  .casitek-home-data-center {
    margin-top: 0;
  }

  .casitek-home-data-center h2 {
    font-size: 23px;
  }

  .casitek-home-data-center p {
    font-size: 16px;
  }
}

/* ABOUT CASITEK SECTION */
.casitek-home-about {
  padding: 104px 0 !important;
  background-color: #ffffff !important;
  position: relative;
  z-index: 1;
}

.casitek-home-about-heading {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 15px;
}

.casitek-home-about-heading h2 {
  font-family: 'Bricolage Grotesque', 'Plus Jakarta Sans', Arial, sans-serif;
  font-size: clamp(32px, 4.4vw, 56px);
  font-weight: 700;
  color: #171717;
  text-transform: uppercase;
  margin: 0;
  letter-spacing: 0.05em;
}

.casitek-home-about-video {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  aspect-ratio: 16 / 9;
  border: 3px solid #f36f21;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.1);
  background: #000;
  cursor: pointer;
}

.casitek-home-about-video .video-thumbnail {
  position: absolute;
  inset: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
}

.casitek-home-about-video .video-thumbnail::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 0;
}

.casitek-home-about-video .play-btn {
  position: relative;
  z-index: 1;
  width: clamp(72px, 8vw, 96px);
  height: clamp(72px, 8vw, 96px);
  background: #ffffff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #171717;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition:
    transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    background-color 0.3s ease,
    color 0.3s ease;
}

.casitek-home-about-video .play-btn svg {
  width: clamp(24px, 2.5vw, 32px);
  height: clamp(24px, 2.5vw, 32px);
  transition: transform 0.3s ease;
  margin-left: 4px;
}

.casitek-home-about-video:hover .play-btn {
  transform: scale(1.1);
  background-color: #f36f21;
  color: #ffffff;
}

.casitek-home-about-video:hover .play-btn svg {
  transform: scale(1.05);
}

.casitek-home-about-video .actual-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* Playing state */
.casitek-home-about-video.is-playing .video-thumbnail {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.casitek-home-about-video.is-playing .actual-video {
  opacity: 1;
}

@media (max-width: 767px) {
  .casitek-home-about {
    padding: 0 !important;
  }

  .casitek-home-about-heading {
    margin-bottom: 32px;
  }

  .casitek-home-about-video {
    border-radius: 12px;
    border-width: 2px;
  }

  .casitek-home-about-heading {
    margin-top: 30px;
  }
}

/* DOWNLOAD CENTER SECTION */
.casitek-home-download-center {
  padding: 104px 0 !important;
  background-color: #ffffff !important;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* Watermark background shape */
.casitek-home-download-center::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  max-width: 1440px;
  background-image: url('../images/homepage/download-center-bg.svg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.8;
  z-index: 0;
  pointer-events: none;
}

.casitek-home-download-center>.casitek-home-shell {
  position: relative;
  z-index: 1;
}

.casitek-download-center-title {
  text-align: center;
  margin-bottom: 64px;
}

.casitek-download-center-title h2 {
  font-family: 'Bricolage Grotesque', 'Plus Jakarta Sans', Arial, sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  color: #171717;
  margin: 0;
}

/* Row Headers styling */
.casitek-download-row-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  margin-top: 48px;
}

.casitek-download-row-header:first-of-type {
  margin-top: 0;
}

.casitek-download-row-header h3 {
  font-family: 'Bricolage Grotesque', 'Plus Jakarta Sans', Arial, sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #f36f21;
  margin: 0;
}

/* Nav arrows on right */
.casitek-download-nav {
  display: flex;
  gap: 12px;
}

.casitek-download-nav button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid #1e1e1e;
  background: #ffffff;
  color: #1e1e1e;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.casitek-download-nav button:hover {
  background: #f36f21;
  border-color: #f36f21;
  color: #ffffff;
}

/* Cards Grid & Structure */
.casitek-download-grid {
  margin-bottom: 48px;
}

/* Hide default Flickity buttons */
/* .casitek-download-grid .flickity-prev-next-button {
  display: none !important;
} */

div.col.casitek-download-card {
  padding: 0 10px 20px !important;
}

.casitek-download-card__inner {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.4s ease;
}

.casitek-download-card:hover .casitek-download-card__inner {
  border-color: rgba(243, 111, 33, 0.3);
  box-shadow: 0 20px 35px rgba(243, 111, 33, 0.08);
  transform: translateY(-6px);
}

.casitek-download-card__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f7f5f1;
}

.casitek-download-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.casitek-download-card:hover .casitek-download-card__image img {
  transform: scale(1.05);
}

.casitek-download-card__content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.casitek-download-card__content h4 {
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #171717;
  margin: 0 0 8px 0;
}

.casitek-download-card__content .subtitle {
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
  font-size: 14px;
  color: #666666;
  margin: 0 0 24px 0;
  flex-grow: 1;
}

/* Detail Button (Datasheet row) */
.casitek-download-btn-detail {
  display: flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  background: #1e1e1e;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.casitek-download-btn-detail:hover {
  background: var(--casitek-orange-dark);
}

/* Download Button (Catalogue row) */
.casitek-btn-download {
  width: 100%;
}

.casitek-btn-download .text {
  flex-grow: 1;
}

.casitek-btn-download .text,
.casitek-btn-download .arrow {
  background: #1e1e1e !important;
  color: #ffffff !important;
  border-radius: 5px;
}

.casitek-btn-download .arrow svg {
  display: none;
}

a.casitek-btn-download .arrow::before {
  content: '';
  width: 16px;
  height: 16px;
  display: block;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 12V3M8 12L4 8M8 12L12 8' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 12V3M8 12L4 8M8 12L12 8' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.casitek-btn-download:hover .text,
.casitek-btn-download:hover .arrow-right,
.casitek-btn-download:hover .arrow-left {
  background: var(--casitek-orange-dark) !important;
}

@media (max-width: 991px) {
  .casitek-download-row-header {
    margin-top: 32px;
  }

  .casitek-home-download-center {
    padding: 30px 0 !important;
  }

  .casitek-download-center-title {
    margin-bottom: 30px;
  }

  .casitek-download-row-header {
    margin-bottom: 10px;
  }

  .casitek-download-nav button {
    width: 30px;
    height: 30px;
    min-height: 30px;
    margin: 0;
  }

  .casitek-download-slider .row.swiper-wrapper {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
  }

  .casitek-download-slider .col.swiper-slide {
    padding: 0 !important;
  }

  div.col.casitek-download-card {
    padding: 0 0 20px !important;
  }
}

/* Swiper layout overrides for Flatsome grid row and columns */
.casitek-download-slider.swiper {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 0px 0;
}

.casitek-download-slider .row.swiper-wrapper {
  display: flex !important;
  flex-wrap: nowrap !important;
  margin-left: -10px !important;
  margin-right: -10px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  width: calc(100% + 20px) !important;
  max-width: none !important;
  padding: 0 !important;
}

.casitek-download-slider .col.swiper-slide {
  flex: 0 0 auto !important;
  max-width: none !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 10px !important;
}

/* HOMEPAGE CONTACT SECTION */
/* .casitek-home-contact {
  padding: 104px 0 !important;
  background-color: #f36f21 !important;
  background-image: url('../images/homepage/section-contact-bg.svg') !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  position: relative;
  z-index: 1;
  color: #ffffff;
} */

.casitek-home-contact {
  padding-top: 160px !important;
  /* Tăng khoảng đệm đỉnh để đẩy chữ ra khỏi tầm che của Sticky Header */
  padding-bottom: 120px !important;
  background-color: #f36f21 !important;
  background-image: url('../images/homepage/section-contact-bg.svg') !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  position: relative;
  z-index: 1;
  color: #ffffff;
}

.contact-info {
  justify-content: start;
  align-items: center;
  margin: 20px 0;
}

.text-contact-info p {
  margin-bottom: 0 !important;
}

/* Sửa lỗi co giãn quá đà và căn chỉnh vị trí trên màn hình lớn (Màn Laptop lớn, 2K, 4K) */
@media screen and (min-width: 992px) {
  .casitek-home-contact .row.casitek-home-shell {
    max-width: 1320px !important;
    /* Giới hạn chặn trên cố định để giữ form và text luôn gọn gàng tỉ lệ vàng */
    margin-inline: auto !important;
    align-items: center !important;
    /* Căn giữa hoàn hảo hai cột theo trục dọc */
  }

  .casitek-home-contact__form-col {
    justify-content: flex-end;
  }
}

@media screen and (max-width: 768px) {
  .casitek-download-slider .row.swiper-wrapper {
    margin-left: 0px !important;
    margin-right: 0px !important;
  }

  .casitek-download-slider .col.swiper-slide {
    padding: 0 !important;
  }
}

.casitek-home-contact .section-bg {
  background-color: transparent !important;
  background-image: none !important;
}

.casitek-home-contact__form-col {
  display: flex;
  justify-content: flex-end;
}

.casitek-home-contact__eyebrow {
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 12px;
  display: block;
}

.casitek-home-contact__title {
  font-family: 'Bricolage Grotesque', 'Plus Jakarta Sans', Arial, sans-serif;
  font-size: clamp(32px, 4.2vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  margin: 0 0 16px 0;
  text-transform: uppercase;
}

.casitek-home-contact__desc {
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 40px;
}

.casitek-home-contact__list {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.casitek-home-contact__item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.casitek-home-contact__icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
}

.casitek-home-contact__icon-circle svg {
  width: 18px;
  height: 18px;
  display: block;
}

.casitek-home-contact__item-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.casitek-home-contact__item-content strong {
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.5px;
}

.casitek-home-contact__item-content span,
.casitek-home-contact__link {
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
  font-size: 15px;
  color: #ffffff;
  line-height: 1.4;
  text-decoration: none !important;
}

.casitek-home-contact__link {
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.casitek-home-contact__link:hover {
  opacity: 0.85;
}

.casitek-home-contact__form-card {
  width: 100%;
  max-width: 594px;
  background: #ffffff;
  border-radius: 10px;
  padding: 48px 40px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.casitek-home-contact__form-card h3 {
  font-family: 'Bricolage Grotesque', 'Plus Jakarta Sans', Arial, sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #171717;
  margin-top: 0;
  margin-bottom: 28px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* .casitek-home-contact__form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 24px;
}

.casitek-home-contact__form br {
  display: none !important;
}

.casitek-home-contact__form>p {
  display: contents !important;
}

.casitek-home-contact__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 0;
}

.casitek-home-contact__field--wide {
  grid-column: span 2;
}

.casitek-home-contact__field span {
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #7f7f7f;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.casitek-home-contact__field input,
.casitek-home-contact__field textarea {
  width: 100%;
  background: #f7f5f1;
  border: 1px solid #d1d1d1;
  border-radius: 4px;
  padding: 12px 16px;
  font-size: 14px;
  color: #171717;
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
  transition: all 0.3s ease;
  outline: none;
  box-shadow: none;
}

.casitek-home-contact__field input {
  height: 42px;
}

.casitek-home-contact__field textarea {
  resize: vertical;
  min-height: 100px;
}

.casitek-home-contact__field input:focus,
.casitek-home-contact__field textarea:focus {
  background: #fffaf7;
  border-color: #f36f21;
  box-shadow: 0 0 0 3px rgba(243, 111, 33, 0.12);
}

.casitek-home-contact__form-actions {
  grid-column: span 2;
  margin-top: 12px;
}

.casitek-btn-contact-submit {
  width: 100% !important;
  max-width: none !important;
}

.casitek-btn-contact-submit .text {
  flex-grow: 1;
  text-align: center;
} */

/* --- TÙY CHỈNH LAYOUT FORM --- */
.casitek-custom-form .casitek-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* Chia 2 cột bằng nhau */
  gap: 20px;
  /* Khoảng cách giữa 2 cột */
}

/* Khoảng cách dưới mỗi field */
.casitek-custom-form .casitek-field {
  display: block;
  margin-bottom: 20px;
}

/* Ẩn các thẻ <br> thừa do CF7 tự động sinh ra gây vỡ layout */
.casitek-custom-form br {
  display: none;
}

.casitek-custom-form p {
  margin-bottom: 0;
}

/* --- TÙY CHỈNH TEXT VÀ NHÃN (LABEL) --- */
.casitek-custom-form .field-label {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 8px;
}

/* Dấu sao màu đỏ */
.casitek-custom-form .req {
  color: #e53935;
  /* Màu đỏ giống trong ảnh */
}

/* --- TÙY CHỈNH Ô NHẬP LIỆU (INPUT/TEXTAREA) --- */
.casitek-custom-form input[type="text"],
.casitek-custom-form input[type="tel"],
.casitek-custom-form input[type="email"],
.casitek-custom-form textarea {
  width: 100%;
  border: 1px solid #d1d5db;
  /* Viền màu xám nhạt */
  border-radius: 6px;
  /* Bo góc nhẹ */
  padding: 12px 15px;
  font-size: 15px;
  background-color: #ffffff;
  color: #333;
  box-shadow: none;
  /* Bỏ bóng mờ mặc định của Flatsome */
  transition: border-color 0.3s ease;
}

/* Đổi màu viền sang cam khi click chuột vào ô nhập liệu */
.casitek-custom-form input:focus,
.casitek-custom-form textarea:focus {
  border-color: #f97316;
  outline: none;
  box-shadow: 0 0 0 1px #f97316;
  /* Thêm độ đậm cho viền khi focus */
}

/* --- TÙY CHỈNH DÒNG THÔNG BÁO LỖI CHUẨN CỦA CF7 --- */
.casitek-custom-form .wpcf7-response-output {
  border: none !important;
  color: #e53935;
  margin: 0 0 20px 0 !important;
  padding: 0 !important;
  font-size: 14px;
}

.casitek-custom-form .wpcf7-not-valid-tip {
  font-size: 13px;
  margin-top: 5px;
}

/* --- TRÊN ĐIỆN THOẠI (MOBILE) --- */
@media (max-width: 767px) {
  .casitek-custom-form .casitek-form-grid {
    grid-template-columns: 1fr;
    /* Trở về 1 cột trên Mobile */
    gap: 0;
  }
}

/* Contact Notice Alert inside card */
.casitek-contact-notice {
  margin-bottom: 24px;
  padding: 12px 16px;
  border: 1px solid;
  border-radius: 6px;
  font-size: 14px;
  line-height: 22px;
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
}

.casitek-contact-notice--success {
  color: #18643b;
  background: #effaf4;
  border-color: #9bd3b4;
}

.casitek-contact-notice--error {
  color: #8a2525;
  background: #fff2f2;
  border-color: #e3aaaa;
}

@media (max-width: 991px) {
  .casitek-home-contact {
    padding: 40px 0 !important;
  }

  .casitek-home-contact .col {
    padding: 0 0px 30px;
  }

  .casitek-home-contact__form-col {
    justify-content: center;
  }

  .casitek-home-contact__form-card {
    padding: 36px 24px;
  }
}

@media (max-width: 640px) {
  .casitek-home-contact__form {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .casitek-home-contact__field--wide,
  .casitek-home-contact__form-actions {
    grid-column: span 1;
  }
}

@media (min-width: 1400px) {
  .casitek-svg-responsive-banner .text-box {
    width: 90% !important;
    max-width: 1500px !important;
  }

  .casitek-svg-responsive-banner svg {
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
  }

  .casitek-download-center-title {
    margin-top: 18px !important;
  }

  body.is-front-page .casitek-home-download-center .casitek-download-card__image {
    aspect-ratio: auto !important;
    height: 247px !important;
  }
}