@media (max-width: 1025px) {
  body,
  html {
    width: 100%;
    max-width: 100%;
  }
  *,
  ::after,
  ::before {
    box-sizing: border-box;
  }
  iframe,
  img,
  picture,
  svg,
  video {
    max-width: 100%;
  }
  .max-width,
  .wrap-content {
    width: calc(100% - 32px);
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .above-nav {
    position: sticky;
    top: 0;
    z-index: 10020;
    width: 100%;
  }

  .header {
    padding: 8px 0;
    background: #fff;
    border-bottom: 1px solid rgba(15, 15, 15, 0.08);
    box-shadow: 0 3px 14px rgba(15, 23, 42, 0.06);
  }
  .header .wrap-content > .flex {
    gap: 10px;
    flex-wrap: nowrap;
  }
  .logo-header {
    width: 72px;
    flex: 0 0 72px;
  }
  .logo-header img,
  .logo-header picture {
    display: block;
    width: 100%;
    height: auto;
  }
  .search {
    width: auto;
    max-width: none;
    min-width: 0;
    flex: 1 1 auto;
  }
  .search input {
    min-width: 0;
  }
  .line-head {
    display: none;
  }
  .cart-head {
    flex: 0 0 auto;
  }
  .header-menu-mobile-btn {
    display: flex;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 7px;
    background: 0 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    cursor: pointer;
  }
  .header-menu-mobile-btn span {
    display: block;
    width: 23px;
    height: 2px;
    margin: 3px 0;
    border-radius: 999px;
    background: #111;
  }
  .mobile-header-search-toggle {
    display: none;
  }

  .header-left-fixwidth {
    width: min(86vw, 320px);
    transform: translateX(-105%);
  }
  .header-left-fixwidth.open-sidebar-menu {
    transform: translateX(0);
  }
  .header-left-fixwidth .wrap-header {
    padding: 16px;
  }
  .header-left-fixwidth .wrap-header .logos-menu {
    width: 80px;
    margin: 0 auto 12px;
  }
  .header-left-fixwidth .wrap-header .logos-menu img,
  .header-left-fixwidth .wrap-header .logos-menu picture {
    display: block;
    width: 100%;
    height: auto;
  }
  .header-left-fixwidth .wrap-header .nav-menu ul a {
    padding: 12px 44px 12px 8px;
    font-size: 15px;
    line-height: 22px;
    white-space: normal;
  }
  .header-left-fixwidth .wrap-header .nav-menu ul li span.btn-dropdown-menu {
    width: 44px;
    height: 46px;
  }

  .home-accessories__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
  .home-accessory-card {
    width: 100%;
  }
  .flex-product-main {
    display: block;
  }
  .flex-product-main .left-product {
    position: fixed;
    z-index: 999;
    top: 0;
    bottom: 0;
    left: 0;
    overflow-x: hidden;
    background: #fff;
    box-shadow: 0 0 5px #000;
    transform: translateX(-250px);
    transition: all 0.5s;
  }
  .flex-product-main .left-product.show {
    transform: translateX(0);
  }
  .flex-product-main .right-product {
    width: 100%;
  }
  .grid-product {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
  .filter {
    display: block;
  }
  .baonoidung,
  .content-main,
  .news-detail-content {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  .baonoidung table,
  .content-main table {
    max-width: 100%;
    overflow-x: auto;
  }
}
@media (max-width: 767px) {
  html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }
  body {
    min-width: 0;
    font-size: 16px;
    line-height: 1.55;
  }
  .max-width,
  .wrap-content {
    width: calc(100% - 24px);
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .above-nav {
    position: sticky;
    top: 0;
    z-index: 10020;
    width: 100%;
  }

  .header {
    min-height: 62px;
    padding: 7px 0;
    background: #fff;
  }
  .header .wrap-content > .flex {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: center;
    gap: 8px;
  }
  .logo-header {
    grid-column: 2;
    grid-row: 1;
    width: 64px;
    max-height: 48px;
    flex-basis: auto;
    justify-self: center;
    overflow: hidden;
  }
  .logo-header img,
  .logo-header picture {
    width: 100%;
    height: 48px;
    object-fit: contain;
  }
  .header-menu-mobile-btn {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    width: 44px;
    height: 44px;
    flex-basis: auto;
  }
  .header-menu-mobile-btn span {
    width: 23px;
    margin: 2.5px 0;
  }
  .mobile-header-search-toggle {
    display: flex;
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: 0 0;
    color: #111;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
  }
  .search {
    display: none;
    grid-column: 1/-1;
    grid-row: 2;
    width: 100%;
    height: 40px;
    margin-top: 2px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  }
  .header.search-open .search {
    display: block;
  }
  .search > .flex {
    height: 40px;
  }
  .search input {
    width: calc(100% - 40px);
    height: 40px;
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 14px;
  }
  .search p {
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 15px;
  }
  .cart-head,
  .change-lang,
  .line-head {
    display: none !important;
  }

  .header-left-fixwidth {
    width: min(88vw, 310px);
  }

  @keyframes processLineFlowMobile {
    0%,
    4% {
      opacity: 0;
      background-position: 0 -150%;
    }
    8% {
      opacity: 1;
    }
    18% {
      opacity: 1;
      background-position: 0 20%;
    }
    26% {
      opacity: 0;
      background-position: 0 150%;
    }
    100%,
    27% {
      opacity: 0;
      background-position: 0 -150%;
    }
  }

  .home-accessories {
    padding-bottom: 46px;
  }

  .home-accessories__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .home-accessory-card {
    width: 100%;
    height: auto;
    min-height: 232px;
    padding: 18px 9px 11px;
    gap: 20px;
  }
  .home-accessory-card__image {
    width: 100%;
    height: 88px;
    flex-basis: 88px;
  }
  .home-accessory-card__content {
    width: 100%;
    height: auto;
    min-height: 90px;
    gap: 9px;
  }
  .home-accessory-card__name {
    min-height: 34px;
    font-size: 13px;
    line-height: 18px;
  }
  .home-accessory-card__more,
  .home-accessory-card__price {
    font-size: 12px;
  }

  .info-news {
    padding-top: 10px;
    padding-bottom: 42px;
  }
  .info-news .wrap-content {
    width: calc(100% - 24px);
  }
  .info-news .title-main {
    margin-bottom: 22px;
  }
  .info-news .title-main span {
    font-size: 25px;
    line-height: 1.25;
    color: #ffc704;
    text-transform: capitalize;
  }
  .info-news .swiper {
    overflow: hidden;
  }
  .info-news .swiper-slide {
    height: auto;
  }
  .item-news {
    padding: 0;
  }
  .ds-news h3 {
    font-size: 16px;
    line-height: 1.4;
  }
  .desc-news,
  .ds-news .desc {
    font-size: 14px;
    line-height: 1.5;
  }
  .footer-figma {
    padding: 32px 0;
  }
  .footer-figma__card {
    padding: 28px 16px 20px;
    border-radius: 14px;
  }
  .footer-figma__content,
  .footer-figma__main {
    gap: 30px;
  }
  .footer-figma__brand-copy h2 {
    font-size: 20px;
    line-height: 1.4;
  }
  .footer-figma__brand-copy p,
  .footer-figma__contact-item,
  .footer-figma__policies a,
  .footer-figma__policies span {
    font-size: 15px;
    line-height: 1.55;
  }
  .footer-figma__heading h3 {
    font-size: 21px;
    line-height: 1.35;
  }
  .footer-figma__copyright {
    font-size: 13px;
    line-height: 1.5;
  }
  .info-footer {
    padding: 34px 0;
  }
  .info-footer .flex-footer {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .box-footer,
  .info-footer .flex-footer .box-footer {
    width: 100% !important;
    margin: 0;
  }
  .title-footer {
    margin-bottom: 12px;
    font-size: 18px;
    line-height: 1.35;
  }
  .info-footer,
  .info-footer a,
  .info-footer li,
  .info-footer p {
    font-size: 14px;
    line-height: 1.6;
  }
  .map-footer {
    height: 220px;
    overflow: hidden;
    border-radius: 10px;
  }
  .footer-powered {
    padding: 14px 0;
  }
  .flex-powered {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .copyright,
  .statistic {
    width: 100%;
    font-size: 12px;
    line-height: 1.5;
  }
  .statistic {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
  }
  .statistic span {
    padding: 0;
  }
  .scrollToTop {
    right: 10px !important;
    bottom: 16px !important;
    transform: scale(0.82);
    transform-origin: right bottom;
  }
  .gutter-x-20 {
    --bs-gutter-x: 12px;
  }
  .contact-article,
  .flex-about,
  .flex-news-detail,
  .flex-video {
    flex-wrap: wrap;
  }
  .content-about,
  .left-pro-detail,
  .news-left,
  .news-right,
  .photo-about,
  .right-pro-detail,
  .wr-form,
  .wr-video {
    width: 100% !important;
    max-width: 100% !important;
  }
  .news-right,
  .photo-about,
  .wr-form {
    margin-top: 20px;
  }
  .photo-about {
    text-align: center;
  }
  .grid-pro-detail {
    display: block;
  }
  .grid-pro-detail .left-pro-detail {
    width: 100%;
    padding: 0;
    border-right: 0;
  }
  .grid-pro-detail .right-pro-detail {
    width: 100%;
  }
  .grid-news,
  .grid-product {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .title-detail h1 {
    font-size: 22px;
    line-height: 1.35;
  }
  .baonoidung,
  .content-main,
  .news-detail-content {
    font-size: 16px;
    line-height: 1.65;
  }
  .baonoidung img,
  .content-main img,
  .news-detail-content img {
    max-width: 100% !important;
    height: auto !important;
  }
  .baonoidung iframe,
  .content-main iframe,
  .news-detail-content iframe {
    width: 100% !important;
    max-width: 100% !important;
  }
}
@media (max-width: 390px) {
  .info-news .wrap-content,
  .max-width,
  .wrap-content {
    width: calc(100% - 20px);
  }

  .grid-news,
  .grid-product,
  .home-accessories__grid {
    gap: 8px;
  }
  .home-accessory-card {
    min-height: 222px;
    padding-left: 7px;
    padding-right: 7px;
  }
  .home-accessory-card__name {
    font-size: 12px;
    line-height: 17px;
  }
}

/* =========================================================
   FIGMA HEADER - responsive cho markup header mới.
   Desktop lấy kích thước chính xác từ Figma; mobile giữ cách
   vận hành hiện tại (logo giữa, menu trái, tìm kiếm phải).
   ========================================================= */
@media (max-width: 1025px) {
  .header-menu-mobile-btn {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }

  .mobile-header-search-toggle {
    display: flex;
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }
}

/* Keep the mobile navigation isolated from the desktop Figma layout. */
@media (min-width: 1026px) {
  .header-menu-mobile-btn,
  .mobile-header-search-toggle {
    display: none !important;
  }

  .header-left-fixwidth,
  .header-left-fixwidth.open-sidebar-menu {
    display: none !important;
    visibility: hidden !important;
    transform: translateX(-105%) !important;
  }

  .opacity-menu,
  .opacity-menu.open-opacity {
    display: none !important;
  }
}

/* Slider Figma refinement */

/* Home About Solar responsive */

/* ===== HOME STATISTICS FIGMA RESPONSIVE ===== */

/* Home promo banners */

/* Giới thiệu bảng giá trang chủ */

/* Thương hiệu phân phối - responsive */

/* ===== Responsive: Bảng giá điện mặt trời theo hóa đơn ===== */

@media (max-width: 767px) {
  .solar-pricing-modal {
    padding: 12px;
  }
  .solar-pricing-modal__dialog {
    width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
  }
  .solar-pricing-modal__header {
    min-height: 68px;
    padding: 14px 16px;
  }
  .solar-pricing-modal__header h3 {
    font-size: 17px;
    line-height: 25px;
  }
  .solar-pricing-modal__header button {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    font-size: 28px;
  }
  .solar-pricing-modal__body {
    max-height: calc(100vh - 116px);
    padding: 16px;
    font-size: 14px;
  }
}

/* Figma Home FAQ / Q&A */

/* ===== Thiết bị điện mặt trời - Figma ===== */

/* Cẩm nang điện mặt trời - responsive */

/* Giấy phép điện mặt trời - Figma */

/* Home projects Figma */

/* Home dealer / partner registration */

/* Footer Figma 1920x604 */
@media (max-width: 1199px) {
  .footer-figma {
    min-height: auto;
  }
  .footer-figma__inner {
    width: min(100% - 40px, 980px);
    min-height: 0;
    padding: 64px 0 24px;
    gap: 48px;
  }
  .footer-figma__columns {
    min-height: 0;
    grid-template-columns: 1.25fr 1fr 1fr;
    column-gap: 34px;
  }
  .footer-figma__copyright {
    margin-top: 0;
  }
  .footer-figma__brand,
  .footer-figma__brand-head,
  .footer-figma__brand-description,
  .footer-figma__middle,
  .footer-figma__right,
  .footer-figma__contact-lines,
  .footer-figma__map,
  .footer-figma__map-placeholder {
    width: 100%;
  }
  .footer-figma__brand h2 {
    width: auto;
    font-size: 18px;
    line-height: 27px;
  }
  .footer-figma__map,
  .footer-figma__map-placeholder {
    height: 118px;
  }
}

@media (max-width: 767px) {
  .footer-figma__inner {
    width: calc(100% - 32px);
    padding: 42px 0 22px;
    gap: 34px;
  }
  .footer-figma__columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .footer-figma__brand,
  .footer-figma__middle,
  .footer-figma__right {
    width: 100%;
    gap: 30px;
  }
  .footer-figma__brand-head {
    width: 100%;
    min-height: 76px;
  }
  .footer-figma__logo {
    width: 76px;
    height: 76px;
    flex-basis: 76px;
  }
  .footer-figma__logo img {
    width: 76px;
    height: 76px;
  }
  .footer-figma__brand h2 {
    font-size: 17px;
    line-height: 25px;
  }
  .footer-figma__brand-description {
    width: 100%;
    font-size: 13px;
    line-height: 20px;
  }
  .footer-figma__heading {
    margin-bottom: 12px;
  }
  .footer-figma__heading h3 {
    font-size: 17px;
    line-height: 25px;
    white-space: normal;
  }
  .footer-figma__contact-lines,
  .footer-figma__policy li,
  .footer-figma__policy a,
  .footer-figma__policy span {
    font-size: 13px;
    line-height: 20px;
  }
  .footer-figma__policy ul {
    width: 100%;
  }
  .footer-figma__map,
  .footer-figma__map-placeholder {
    width: 100%;
    height: 190px;
  }
  .footer-figma__socials a {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }
  .footer-figma__copyright {
    font-size: 12px;
    line-height: 18px;
  }
}

/* =========================================================
   FINAL RESPONSIVE OVERRIDES - CURRENT FIGMA HOMEPAGE
   2026-09-30
   - Keep desktop >= 1026px unchanged.
   - Follow JS mobile breakpoint (1025px).
   - Mobile keeps desktop brand colors; only layout/spacing changes.
   ========================================================= */
@media (max-width: 1025px) {
  /* Global safety: current Figma sections must never force horizontal page scroll. */
  .footer-figma {
    max-width: 100%;
  }

  /* Hero: preserve desktop identity (white copy + green CTA) on tablet/mobile. */

  /* About: remove Figma fixed heights cleanly. */

  /* Pricing/tab/card scrollers: momentum + predictable card snapping. */

  /* Rich text/content safety for sections fed from dashboard. */
}

@media (max-width: 767px) {
  /* ===== Header ===== */
  .above-nav {
    width: 100%;
  }

  /* ===== Hero =====
     Mobile image stays as the visual background, instead of becoming a white text card. */

  /* ===== Common section spacing/heading rhythm ===== */

  /* ===== About solar ===== */

  /* ===== Statistics: compact 2x2 instead of an unnecessarily long 4-card column ===== */

  /* ===== Promo banners ===== */

  /* ===== Price introduction / brands ===== */

  /* ===== Solar pricing ===== */

  /* ===== FAQ ===== */

  /* ===== Devices ===== */

  /* ===== Guide ===== */

  /* ===== Licenses ===== */

  /* ===== Projects ===== */

  /* ===== Dealer form ===== */

  /* ===== Footer ===== */
  .footer-figma__brand-head {
    align-items: center;
  }
  .footer-figma__brand h2 {
    min-width: 0;
  }
  .footer-figma__contact-lines,
  .footer-figma__brand-description {
    overflow-wrap: anywhere;
  }
  .footer-figma__map iframe {
    display: block;
    width: 100% !important;
    height: 100% !important;
  }
}

/* =========================================================
   MOBILE POLISH V2 - 2026-09-30
   Mục tiêu: mobile thoáng, dễ đọc, không co layout desktop quá mức.
   Chỉ override <= 767px, desktop giữ nguyên.
   ========================================================= */
@media (max-width: 767px) {
  /* ---- Base / spacing ---- */
  body {
    font-size: 15px;
    line-height: 1.55;
    background: #fff;
  }

  .max-width,
  .wrap-content {
    width: calc(100% - 28px);
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

  /* ---- Header: cân lại tỷ lệ, icon rõ hơn ---- */

  .logo-header {
    width: 78px;
    max-height: 46px;
  }

  .logo-header img,
  .logo-header picture {
    width: 100% !important;
    height: 46px !important;
    object-fit: contain;
  }

  .header-menu-mobile-btn,
  .mobile-header-search-toggle {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    border-radius: 10px;
    background: #f6f7f8;
  }

  .header-menu-mobile-btn span {
    width: 20px;
    height: 2px;
    margin: 2.5px 0;
    background: #1a3174;
  }

  .mobile-header-search-toggle {
    color: #1a3174;
    font-size: 17px;
  }

  /* ---- Hero: gọn hơn, text vẫn nằm trên ảnh ---- */

  /* ---- Heading chung: tránh quá nhỏ ---- */

  /* ---- About solar ---- */

  /* ---- Statistics: card thấp và thoáng hơn ---- */

  /* ---- Promo banners ---- */

  /* ---- Intro bảng giá ---- */

  /* ---- Brand: biến logo thành card rõ ràng, không trôi lơ lửng ---- */

  /* ---- Solar pricing: bỏ cảm giác "nhồi desktop vào mobile" ---- */

  /* Trên mobile xếp từng gói full width. Không để lòi nửa card kế bên. */

  /* ---- FAQ ---- */

  /* ---- Devices: dùng grid, bỏ horizontal crop/lòi card ---- */

  /* ---- Guide ---- */

  /* ---- Licenses ---- */

  /* ---- Projects: mobile ưu tiên ảnh chính + info, giảm cảm giác collage chật ---- */

  /* ---- Dealer form ---- */

  /* ---- Footer ---- */
  .footer-figma__inner {
    width: calc(100% - 28px);
    padding-top: 42px;
  }
}

/* TBL Figma header: tablet/mobile retains the existing off-canvas menu. */
@media (max-width: 1025px) {
  .header-menu-mobile-btn {
    display: flex !important;
    order: 2;
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    margin-left: 4px;
    align-items: center;
    justify-content: center;
  }
}

/* SOLUTIONS landing responsive — chỉ tác động /solutions. */
@media (max-width: 1470px) {
  .tbl-solutions-card {
    min-height: 370px;
  }
  .tbl-solutions-card__photo,
  .tbl-solutions-card__no-image {
    min-height: 370px;
  }
  .tbl-solutions-card__body {
    padding: 14px 13px 16px;
  }
  .tbl-solutions-card__icon {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
    font-size: 37px;
    margin-bottom: 7px;
  }
  .tbl-solutions-card__icon img {
    width: 44px;
    height: 44px;
  }
  .tbl-solutions-grid {
    gap: 20px;
  }
  .tbl-solutions-step {
    gap: 9px;
  }
  .tbl-solutions-step__number {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
    font-size: 15px;
  }
  .tbl-solutions-step__arrow {
    right: 0;
    top: 23px;
  }
  .tbl-solutions-step__body h3 {
    font-size: 16px;
  }
  .tbl-solutions-step__body p {
    font-size: 14px;
  }
  .tbl-solutions-case-study__detail {
    padding: 20px 22px;
  }
}
@media (max-width: 1200px) {
  .tbl-solutions-container {
    width: calc(100% - 48px);
  }
  .tbl-solutions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tbl-solutions-card,
  .tbl-solutions-card__photo,
  .tbl-solutions-card__no-image {
    min-height: 360px;
  }
  .tbl-solutions-card__body {
    padding: 18px 18px 20px;
  }
  .tbl-solutions-card__body h3 {
    font-size: 21px;
  }
  .tbl-solutions-card__desc {
    font-size: 15px;
  }
  .tbl-solutions-card__features {
    font-size: 14px;
  }
  .tbl-solutions-steps {
    column-gap: 10px;
  }
  .tbl-solutions-step__arrow {
    display: none;
  }
  .tbl-solutions-step__number {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
  .tbl-solutions-step__icon {
    height: 36px;
    font-size: 29px;
  }
  .tbl-solutions-case-study {
    grid-template-columns: 1.05fr 1fr;
  }
  .tbl-solutions-case-study__aside {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .tbl-solutions-case-study__all {
    grid-column: 1 / -1;
  }
}
@media (max-width: 800px) {
  .tbl-solutions-heading--two-col {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .tbl-solutions-heading h2 {
    font-size: 32px;
  }
  .tbl-solutions-heading p {
    font-size: 15px;
  }
  .tbl-solutions-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 25px;
  }
  .tbl-solutions-approach {
    padding: 34px 0;
  }
}
@media (max-width: 650px) {
  .tbl-solutions-container {
    width: calc(100% - 32px);
  }
  .tbl-solutions-offerings {
    padding: 28px 0;
  }
  .tbl-solutions-heading {
    margin-bottom: 18px;
  }
  .tbl-solutions-heading h2 {
    font-size: 28px;
    line-height: 1.18;
  }
  .tbl-solutions-eyebrow {
    font-size: 12px;
    gap: 9px;
  }
  .tbl-solutions-eyebrow::before {
    width: 25px;
    flex-basis: 25px;
    height: 3px;
  }
  .tbl-solutions-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .tbl-solutions-card {
    min-height: 300px;
    grid-template-columns: 39% minmax(0, 1fr);
  }
  .tbl-solutions-card__photo,
  .tbl-solutions-card__no-image {
    min-height: 300px;
  }
  .tbl-solutions-card__body {
    padding: 12px 12px 13px;
  }
  .tbl-solutions-card__icon {
    height: 35px;
    width: 35px;
    flex-basis: 35px;
    font-size: 29px;
    margin-bottom: 6px;
  }
  .tbl-solutions-card__icon img {
    width: 34px;
    height: 34px;
  }
  .tbl-solutions-card__body h3 {
    font-size: 17px;
  }
  .tbl-solutions-card__desc {
    font-size: 12px;
    line-height: 1.35;
    margin: 5px 0 6px;
  }
  .tbl-solutions-card__features {
    padding-left: 13px;
    font-size: 11px;
    line-height: 1.32;
    margin-bottom: 7px;
  }
  .tbl-solutions-card__more {
    font-size: 13px;
    gap: 7px;
  }
  .tbl-solutions-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 23px 10px;
  }
  .tbl-solutions-step {
    gap: 9px;
  }
  .tbl-solutions-step__number {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    font-size: 12px;
  }
  .tbl-solutions-step__body h3 {
    font-size: 14px;
  }
  .tbl-solutions-step__body p {
    font-size: 12px;
  }
  .tbl-solutions-step__icon {
    font-size: 26px;
    height: 32px;
  }
  .tbl-solutions-step__icon img {
    width: 30px;
    height: 30px;
  }
  .tbl-solutions-featured {
    padding: 28px 0;
  }
  .tbl-solutions-case-study {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .tbl-solutions-case-study__image,
  .tbl-solutions-case-study__image img {
    min-height: 225px;
    max-height: 320px;
  }
  .tbl-solutions-case-study__detail {
    padding: 20px;
    min-height: 240px;
  }
  .tbl-solutions-case-study__detail h3 {
    font-size: 24px;
  }
  .tbl-solutions-case-study__detail p {
    font-size: 14px;
  }
  .tbl-solutions-case-study__aside {
    grid-template-columns: 1fr;
  }
  .tbl-solutions-case-study__small {
    min-height: 90px;
    grid-template-columns: 35% 1fr;
  }
  .tbl-solutions-case-study__small strong {
    font-size: 14px;
  }
  .tbl-solutions-case-study__all {
    font-size: 16px;
  }
  .tbl-solutions-button {
    padding: 12px 16px;
    font-size: 14px;
    min-height: 44px;
  }

  .tbl-solutions-hero-fallback {
    padding: 48px 0;
  }
  .tbl-solutions-hero-fallback h1 {
    font-size: 37px;
  }
  .tbl-solutions-hero-fallback h2 {
    font-size: 24px;
  }
  .tbl-solutions-hero-fallback p {
    font-size: 15px;
  }
  .tbl-solutions-hero-values {
    gap: 14px;
    font-size: 12px;
  }
}
@media (max-width: 375px) {
  .tbl-solutions-card__body {
    padding: 10px 9px 12px;
  }
  .tbl-solutions-card__body h3 {
    font-size: 16px;
  }
  .tbl-solutions-card__features {
    font-size: 10px;
  }
}

/* ================= TBL SERVICES RESPONSIVE ================= */
@media (max-width: 1199px) {
  .tbl-services-page__container {
    width: min(100% - 48px, 1100px);
  }
  .tbl-services-page__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tbl-services-page__card-title h3 {
    font-size: 19px;
  }
  .tbl-services-page__section-head > p {
    font-size: 15px;
  }
}
@media (max-width: 767px) {
  .tbl-services-page__container {
    width: calc(100% - 32px);
  }
  .tbl-services-page__section {
    padding-block: 28px;
  }
  .tbl-services-page__section-head {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .tbl-services-page__cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .tbl-services-page__card {
    padding: 12px;
  }
  .tbl-services-page__card-title {
    min-height: 71px;
    margin-bottom: 8px;
  }
  .tbl-services-page__icon {
    width: 71px;
    height: 71px;
    flex-basis: 71px;
  }
  .tbl-services-page__card-title h3 {
    font-size: 18px;
  }

  .tbl-services-page__eyebrow {
    font-size: 11px;
    gap: 8px;
  }
  .tbl-services-page__eyebrow::before {
    width: 22px;
    height: 3px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tbl-services-page__card,
  .tbl-services-page__card-photo {
    transition: none;
  }
  .tbl-services-page__card:hover {
    transform: none;
  }
}
/* ================= END TBL SERVICES RESPONSIVE ================= */

/* Digital responsive -- only pages carrying .tbl-digital-page */
@media (max-width: 1199px) {
  .tbl-digital-container {
    width: min(100% - 44px, 1100px);
  }
  .tbl-digital-grid--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tbl-digital-architecture,
  .tbl-digital-featured {
    grid-template-columns: 1fr;
  }

  .tbl-digital-featured__cta {
    min-height: 250px;
  }
}
@media (max-width: 767px) {
  .tbl-digital-container {
    width: calc(100% - 28px);
  }
  .tbl-digital-section {
    padding: 26px 0;
  }
  .tbl-digital-heading {
    display: block;
    margin-bottom: 18px;
  }
  .tbl-digital-heading > p {
    margin-top: 14px;
  }
  .tbl-digital-page h2 {
    font-size: 25px;
  }
  .tbl-digital-page .tbl-digital-kicker {
    font-size: 11px;
  }
  .tbl-digital-hero {
    min-height: auto;
    padding: 50px 0;
  }
  .tbl-digital-hero h1 {
    font-size: 34px;
  }
  .tbl-digital-hero__values {
    gap: 14px;
    margin: 28px 0;
  }
  .tbl-digital-hero__values span {
    flex: 1 1 42%;
    max-width: none;
    font-size: 12px;
    border: 0;
    padding-left: 0;
  }
  .tbl-digital-grid--four,
  .tbl-digital-grid--three {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .tbl-digital-card__body {
    padding: 14px;
  }

  .tbl-digital-featured__cta {
    padding: 25px;
    min-height: 265px;
  }
  .tbl-digital-heading--featured {
    display: block;
  }
  .tbl-digital-heading--featured .tbl-digital-view-all {
    display: inline-block;
    margin-top: 13px;
  }
}
@media (max-width: 420px) {
  .tbl-digital-hero h1 {
    font-size: 29px;
  }
}

/* Projects responsive; isolated from other TBL pages. */
@media (max-width: 1199px) {
  .tbl-projects-container {
    width: calc(100% - 44px);
  }
}
@media (max-width: 767px) {
  .tbl-projects-container {
    width: calc(100% - 28px);
  }

  .tbl-projects-card__body {
    min-height: unset;
  }

  .tbl-projects-detail {
    padding: 20px 0 45px;
  }
}

/* TBL About responsive — overrides limited to About only */

/* Contact responsive, only applies to Contact page */

/* TBL NEWS - responsive only; Services and other templates unchanged */
@media (max-width: 1199px) {
  .tbl-news-page__category-grid,
  .tbl-news-page__post-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .tbl-news-page .tbl-services-page__container {
    width: calc(100% - 48px);
  }
}
@media (max-width: 850px) {
  .tbl-news-page__category-grid,
  .tbl-news-page__post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tbl-news-page__heading {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .tbl-news-page__heading > p {
    max-width: 100%;
  }
}
@media (max-width: 575px) {
  .tbl-news-page .tbl-services-page__container {
    width: calc(100% - 32px);
  }
  .tbl-news-page__section {
    padding-top: 26px;
    padding-bottom: 44px;
  }
  .tbl-news-page__heading {
    margin-bottom: 22px;
  }
  .tbl-news-page__heading h1 {
    font-size: 30px;
  }
  .tbl-news-page__heading > p {
    font-size: 14px;
  }
  .tbl-news-page__category-grid,
  .tbl-news-page__post-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 15px;
  }
  .tbl-news-page__category-card .tbl-services-page__card-title {
    min-height: 56px;
  }
  .tbl-news-page__category-icon {
    width: 56px;
    height: 56px;
    font-size: 24px;
  }
  .tbl-news-page__category-card .tbl-services-page__icon {
    width: 56px;
    height: 56px;
    flex-basis: 56px;
  }
  .tbl-news-page__section-label--latest {
    margin-top: 30px;
  }
  .tbl-news-page__filters {
    gap: 7px;
    padding-bottom: 20px;
    margin-bottom: 22px;
  }
  .tbl-news-page__filter {
    font-size: 12px;
    padding: 7px 11px;
    min-height: 36px;
  }
}

/* News grid follows the four/two/one Services card breakpoints. */
@media (max-width: 1199px) {
  .tbl-news-page__category-grid,
  .tbl-news-page__post-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 850px) {
  .tbl-news-page__category-grid,
  .tbl-news-page__post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tbl-news-page__heading {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
@media (max-width: 575px) {
  .tbl-news-page__section {
    padding-top: 27px;
    padding-bottom: 45px;
  }
  .tbl-news-page__category-grid,
  .tbl-news-page__post-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 15px;
  }
  .tbl-news-page .tbl-services-page__container {
    width: calc(100% - 32px);
  }
  .tbl-news-page__category-card,
  .tbl-news-page__post-card {
    padding: 12px;
  }
  .tbl-news-page__section-label--latest {
    margin-top: 34px;
  }

  .tbl-news-page__detail-content {
    font-size: 15px;
  }
}

/* ======================================================================
   TBL RESPONSIVE CONSOLIDATION — 2026-10-14
   Scoped to the current TBL website. Desktop (> 1200px) is unchanged.
   Complements the existing breakpoint rules above; does not change data,
   admin pages, or the desktop visual design.
   ====================================================================== */
@media (max-width: 1200px) {
  /* Keep CSS Grid children from forcing the whole page wider than viewport. */

  /* Desktop Contact remains three columns; the existing tablet two-column
     layout moves the information panel under the map and office photo. */

  /* Keep the project article rail in the available width on tablets. */
  .tbl-solutions-case-study__aside,
  .tbl-solutions-case-study__project-list,
  .tbl-solutions-case-study__project-track {
    min-width: 0;
    max-width: 100%;
  }

  .tbl-digital-heading > p {
    min-width: 0;
  }
}

@media (max-width: 1025px) {
  /* Allow long administration-entered labels to wrap on smaller screens. */
  .tbl-services-page__card-title,
  .tbl-news-page__category-card .tbl-services-page__card-title,
  .tbl-digital-card__body h3,
  .tbl-projects-card__body {
    min-width: 0;
  }
  .tbl-services-page__card-title h3,
  .tbl-news-page__category-card h3,
  .tbl-digital-card__body h3 a,
  .tbl-projects-card__body h3 {
    overflow-wrap: anywhere;
  }
  .tbl-digital-featured {
    min-width: 0;
  }
  .tbl-digital-featured > *,
  .tbl-digital-architecture > * {
    min-width: 0;
  }
  /* Wide data/HTML pasted from Word must scroll inside its own content,
     not create a horizontal scrollbar for the entire webpage. */

  .tbl-news-page__filters {
    scroll-padding-inline: 12px;
  }

  /* Make banners and sliders viewport-friendly without changing admin images. */
}

@media (min-width: 768px) and (max-width: 1025px) {
  /* More comfortable tablet typography and spacing. */
  .tbl-solutions-card__body h3 {
    font-size: clamp(19px, 2.3vw, 23px);
  }
  .tbl-solutions-card__desc {
    font-size: 14px;
    line-height: 1.5;
  }
  .tbl-solutions-card__features {
    font-size: 13px;
    line-height: 1.5;
  }
  .tbl-solutions-case-study__detail {
    min-width: 0;
  }

  .tbl-digital-grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  /* Uniform side-gutters across independent page modules. */
  .tbl-solutions-container,
  .tbl-services-page__container,
  .tbl-digital-container,
  .tbl-projects-container,
  .tbl-news-page .tbl-services-page__container {
    width: calc(100% - 32px);
    max-width: 100%;
    margin-inline: auto;
  }
  /* Solutions: each section should read naturally in a single vertical flow. */
  .tbl-solutions-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .tbl-solutions-card,
  .tbl-solutions-case-study,
  .tbl-solutions-heading--two-col {
    min-width: 0;
  }
  .tbl-solutions-case-study__aside {
    width: 100%;
  }
  .tbl-solutions-case-study__project-track > .tbl-solutions-case-study__small {
    max-width: 100%;
  }
  .tbl-solutions-case-study__all {
    min-height: 44px;
    align-items: center;
  }
  .tbl-solutions-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tbl-solutions-step__body p {
    max-width: none;
  }
  /* Hero/fallback headings are responsive, not clipped at 320–375px. */
  .tbl-solutions-heading h2,
  .tbl-solutions-featured .tbl-solutions-heading h2 {
    font-size: clamp(26px, 6.5vw, 34px);
    overflow-wrap: anywhere;
  }
  .tbl-solutions-hero-fallback h1 {
    font-size: clamp(29px, 8vw, 39px);
  }
  /* Services, Digital and Projects cards. */
  .tbl-services-page__section-head {
    gap: 14px;
  }

  .tbl-digital-hero {
    min-height: 0;
    padding: 48px 0;
  }
  .tbl-digital-hero__values {
    gap: 16px 0;
    margin: 26px 0;
  }
  .tbl-digital-hero__values span {
    flex: 0 1 50%;
    min-width: 0;
    max-width: none;
  }
  .tbl-digital-grid--four,
  .tbl-digital-grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tbl-digital-heading {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .tbl-digital-featured__cta {
    aspect-ratio: auto;
    min-height: 0;
  }

  .tbl-digital-button {
    white-space: normal;
    min-height: 44px;
  }

  /* About and Contact: preserve image ratio and full information. */

  /* News: titles, filters and thumbnails must fit small viewports. */
  .tbl-news-page__heading h1 {
    font-size: clamp(27px, 6vw, 35px);
  }

  .tbl-news-page__filters {
    gap: 8px;
  }
  .tbl-news-page__filter {
    min-height: 40px;
  }

  .tbl-news-page__detail-title {
    font-size: clamp(26px, 6vw, 34px);
  }
  /* Shared touch targets and focus clarity. */
}

@media (max-width: 575px) {
  /* Solutions cards were squeezed into a 39%/61% split with 11px text.
     Switch only at phone sizes to a readable photo-above-body design. */
  .tbl-solutions-card {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .tbl-solutions-card__photo {
    display: block;
    width: 100%;
    min-height: 0;
    height: auto;
    aspect-ratio: 16 / 9;
  }
  .tbl-solutions-card__no-image {
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 0;
    height: auto;
    aspect-ratio: 16 / 9;
  }
  .tbl-solutions-card__photo img,
  .tbl-solutions-card__photo picture {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .tbl-solutions-card__body {
    padding: 17px 17px 20px;
  }
  .tbl-solutions-card__body h3 {
    font-size: 20px;
    line-height: 1.3;
  }
  .tbl-solutions-card__desc {
    font-size: 14px;
    line-height: 1.55;
  }
  .tbl-solutions-card__features {
    font-size: 14px;
    line-height: 1.5;
    padding-left: 18px;
  }
  .tbl-solutions-card__more {
    min-height: 44px;
    align-items: center;
  }
  .tbl-solutions-step {
    gap: 8px;
  }
  .tbl-solutions-case-study__detail {
    padding: 18px 16px;
  }
  .tbl-digital-grid--four,
  .tbl-digital-grid--three {
    grid-template-columns: minmax(0, 1fr);
  }
  .tbl-digital-hero__values span {
    font-size: 13px;
    line-height: 1.45;
  }

  .tbl-news-page__category-grid,
  .tbl-news-page__post-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 359px) {
  .tbl-solutions-steps {
    grid-template-columns: minmax(0, 1fr);
  }
  .tbl-solutions-step {
    gap: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tbl-solutions-card,
  .tbl-solutions-card__image,
  .tbl-projects-card__img {
    animation: none !important;
    transition: none !important;
  }
}

/* ======================================================================
   TBL TABLET / MOBILE HOME VISUAL REPAIR — 2026-10-14
   Fixes text baked into slider/banner images being cut off by object-fit:cover.
   Preserves desktop (>= 1026px), uploads, links, menu/sidebar and data.
   ====================================================================== */
@media (max-width: 1025px) {
  /* A tidy, single-row mobile/tablet brand bar. Desktop header unaffected. */
  .above-nav {
    position: relative;
    z-index: 10020;
    background: #fff;
    box-shadow: 0 2px 12px rgba(13, 45, 98, 0.07);
  }

  /* Search icon previously focused an input that was display:none. */

  .above-nav .header-menu-mobile-btn {
    order: 2;
    display: flex !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    flex: 0 0 44px;
    margin: 0 !important;
    border: 1px solid #dfe7f2;
    border-radius: 10px;
    background: #f1f5fa;
  }
  .above-nav .header-menu-mobile-btn span {
    width: 21px;
    height: 2px;
    margin: 2.5px 0;
    background: #0d2d62;
  }

  /* Slide artwork has REAL TEXT inside the uploaded image. Showing the
     full original image is safer than cropping the headline at 768px. */

  /* Linked actions get their own neat line, not over the picture text. */

  /* The slider provides a separate mobile asset when uploaded by the user. */

  /* Fixed-size image banners in the homepage also contain printed text.
     Respect their actual image aspect ratio instead of clipping words. */

  /* Footer is readable at tablet width and leaves space for fixed controls. */
  .footer-figma {
    min-height: 0 !important;
  }
  .footer-figma__inner {
    width: calc(100% - 40px) !important;
    max-width: 920px !important;
    height: auto !important;
    margin: 0 auto !important;
    padding: 34px 0 94px !important;
    gap: 32px !important;
  }
  .footer-figma__columns {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: 100%;
    height: auto !important;
    align-items: start !important;
    gap: 30px 34px !important;
  }
  .footer-figma__columns
    > :is(
      .footer-figma__brand,
      .footer-figma__quick-links,
      .footer-figma__contact,
      .footer-figma__social
    ) {
    min-width: 0;
    width: 100% !important;
    max-width: 100% !important;
  }
  .footer-figma__brand {
    flex-wrap: wrap;
    gap: 13px;
  }
  .footer-figma__quick-links ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
  }
  .footer-figma__bottom {
    min-height: 0;
    gap: 14px;
    padding-top: 16px;
  }
  .footer-figma__contact-content,
  .footer-figma__brand-description {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 600px) {
  .footer-figma__inner {
    width: calc(100% - 32px) !important;
    padding: 30px 0 98px !important;
    gap: 26px !important;
  }
  .footer-figma__columns {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 23px !important;
  }
  .footer-figma__brand::before {
    display: none !important;
  }
  .footer-figma__brand {
    align-items: flex-start !important;
    flex-direction: row !important;
  }
  .footer-figma__brand-description {
    flex: 1 1 160px;
    width: auto !important;
  }
  .footer-figma__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Restore the icon search on actual phones (legacy <=767px rule hides it). */

/* TBL EN / VI — keep language choice accessible on tablet and mobile. */

/* =============================================================
   TBL | Header EN/VI + partner logos — responsive correction
   2026-10-14
   Scope: header tools/dropdowns and partner logos only.
   Keeps desktop menu, contact button, language system and slider.
   ============================================================= */

/* Native <details> alone is not enough because the old stylesheet forces
   the dropdown menu to display:grid. Hide until the user opens it. */

/* An unfocused search input must never sit over the desktop navigation. */

@media (max-width: 360px) {
  body .above-nav .header-menu-mobile-btn {
    width: 40px !important;
    min-width: 40px !important;
    flex-basis: 40px !important;
  }
}

/* ===============================================================
   TBL HEADER — content-driven brand / controls (14-10-2026)
   Retain Figma image dimensions, but don't freeze the entire
   logo + slogan group or the translated contact button in pixels.
   This block comes last to supersede the old fixed-width rules.
   =============================================================== */

/* The slogan remains visible on laptop/desktop. Constrain the brand
   before the navigation start instead of hiding the text on narrower PCs. */

/* On phones the off-canvas button and EN/VI dropdown should never
   compress the logo image or push the search icon out of view. */

/* =============================================================
   TBL DESKTOP HEADER: fix persistent search/language overlays.
   These are stateful controls, not permanently displayed fields.
   Keep the search box in the header row on wide desktops.
   ============================================================= */

/* ==============================================================
   TBL HEADER UX — 2026-10-14
   Purpose: remove the artificial gap between a trigger and its
   popover; give the navigation its own compact row (no overlays).
   Desktop only. Preserve the working mobile header and data.
   ============================================================== */
@media (min-width: 1026px) {
  body .above-nav {
    position: relative !important;
    z-index: 10030 !important; /* Popovers display above the following nav row. */
    overflow: visible !important;
  }

  /* Popovers are positioned relative to the clicked control, not
     to the 82px header or the hero banner. Gap is consistently 7px. */

  /* The old navigation used height:0 and top:-32px; that layering
     made popovers look detached and caused overlap with controls. */
}

/* CKEditor content on small screens: scroll the article's wide elements
   without changing the editor's text, font, alignment or table layout. */
@media (max-width: 1025px) {
  .article-cke-content.baonoidung {
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
  }
  .article-cke-content.baonoidung table {
    display: table;
    width: auto;
    max-width: none !important;
    overflow: visible;
  }
}

/* Responsive topbar for compact screens. */

/* Shared responsive layout rules. */

/* Shared responsive layout rules. */

/* Shared responsive layout rules. */
@media (max-width: 1500px) {
  html body .dap-home-about {
    padding: 66px 30px 82px;
  }

  html body .dap-home-about__feature {
    gap: 13px;
    padding: 0;
  }

  html body .dap-home-about__feature h3 {
    font-size: clamp(15px, 1.46vw, 22px);
    line-height: 1.35;
  }
  html body .dap-home-about__feature p {
    font-size: clamp(13px, 1.13vw, 17px);
    line-height: 1.45;
  }

  html body .dap-home-about__experience strong {
    font-size: clamp(36px, 3.45vw, 52px);
  }
  html body .dap-home-about__experience span {
    font-size: clamp(16px, 1.6vw, 24px);
  }
}

@media (max-width: 767px) {
  html body .dap-home-about {
    padding: 45px 16px 60px;
  }

  html body .dap-home-about__experience {
    left: 0;
    bottom: 0;
    top: auto;
    height: 36%;
    width: 44%;
  }

  html body .dap-home-about__experience strong {
    font-size: clamp(29px, 8vw, 44px);
  }
  html body .dap-home-about__experience span {
    font-size: clamp(12px, 3.5vw, 18px);
  }

  html body .dap-home-about__features {
    height: auto;
  }

  html body .dap-home-about__feature {
    height: auto;
    gap: 13px;
    min-height: 76px;
    padding: 10px 0;
    border-bottom: 1px solid #e9e9e9;
  }
  html body .dap-home-about__feature::after {
    display: none;
  }

  html body .dap-home-about__feature h3 {
    font-size: 16px;
    line-height: 1.35;
  }
  html body .dap-home-about__feature p {
    font-size: 13px;
    line-height: 1.45;
  }
}
@media (max-width: 400px) {
  html body .dap-home-about__experience span {
    font-size: 12px;
  }
}

/* Shared responsive layout rules. */
@media (max-width: 1500px) {
  .dap-price-intro {
    max-width: calc(100% - 60px);
  }
  .dap-price-tabs {
    gap: 12px;
  }
  .dap-price-tab {
    flex-basis: 190px;
    min-height: 98px;
  }
  .dap-price-tab strong {
    font-size: 23px;
  }
  .dap-price-cards {
    gap: 14px;
  }
  .dap-price-card__image {
    height: 260px;
  }
  .dap-price-card__specs h3 {
    font-size: 18px;
  }
}
@media (max-width: 1100px) {
  .dap-price-section {
    padding-top: 65px;
  }
  .dap-price-intro {
    max-width: calc(100% - 40px);
  }
  .dap-price-tabs-wrap {
    overflow-x: auto;
    padding: 0 20px 10px;
  }
  .dap-price-tabs {
    width: max-content;
    justify-content: flex-start;
    max-width: none;
  }
  .dap-price-tab {
    flex-basis: 165px;
    min-height: 80px;
  }
  .dap-price-tab strong {
    font-size: 20px;
    line-height: 30px;
  }
  .dap-price-tab small {
    font-size: 13px;
    line-height: 19px;
  }
  .dap-price-results {
    padding: 55px 0;
  }
  .dap-price-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 800px;
  }
  .dap-price-card__image {
    height: 275px;
  }
  .dap-price-summary {
    gap: 25px;
  }
  .dap-price-metric strong {
    font-size: 23px;
    line-height: 32px;
  }
  .dap-price-metric span {
    font-size: 14px;
    line-height: 20px;
  }
}
@media (max-width: 650px) {
  .dap-price-section {
    padding: 46px 0 52px;
  }
  .dap-price-intro {
    width: calc(100% - 30px);
    max-width: none;
    margin-bottom: 28px;
  }
  .dap-price-eyebrow {
    font-size: 14px;
    line-height: 22px;
    padding: 5px 12px;
  }
  .dap-price-intro h2 {
    font-size: 25px;
    line-height: 1.4;
    margin: 10px 0;
  }
  .dap-price-intro p {
    font-size: 14px;
    line-height: 22px;
  }
  .dap-price-tabs-wrap {
    padding: 0 15px 12px;
  }
  .dap-price-tabs {
    gap: 8px;
  }
  .dap-price-tab {
    flex-basis: 125px;
    min-height: 75px;
    padding: 8px;
  }
  .dap-price-tab strong {
    font-size: 16px;
    line-height: 24px;
  }
  .dap-price-tab small {
    font-size: 11px;
    line-height: 16px;
  }
  .dap-price-results {
    padding: 40px 0;
    border-top-width: 5px;
  }
  .dap-price-summary {
    width: calc(100% - 24px);
    margin-bottom: 35px;
  }
  .dap-price-capacity {
    min-height: 56px;
    padding: 10px 12px;
    gap: 8px;
  }
  .dap-price-capacity span {
    font-size: 12px;
    line-height: 18px;
  }
  .dap-price-capacity strong {
    font-size: 18px;
    line-height: 26px;
    padding-left: 8px;
  }
  .dap-price-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 0;
  }
  .dap-price-metric {
    min-height: 65px;
  }
  .dap-price-metric:nth-child(2) {
    border-right: 0;
  }
  .dap-price-metric strong {
    font-size: 20px;
    line-height: 30px;
  }
  .dap-price-metric span {
    font-size: 12px;
    line-height: 18px;
  }
  .dap-price-cards {
    grid-template-columns: 1fr;
    width: min(380px, calc(100% - 30px));
    gap: 35px;
  }
  .dap-price-card {
    padding: 16px 9px 12px;
  }
  .dap-price-card__image {
    height: 270px;
  }
  .dap-price-card__specs {
    min-height: 145px;
  }
}

/* Shared responsive layout rules. */

/* Shared responsive layout rules. */
@media (max-width: 1600px) {
  .dap-services__prev {
    left: -57px;
  }
  .dap-services__next {
    right: -57px;
  }
}
@media (max-width: 1500px) {
  .dap-services__prev {
    left: 0;
  }
  .dap-services__next {
    right: 0;
  }
  .dap-services__card {
    padding: 24px;
    min-height: 540px;
  }
  .dap-services__body h3 {
    font-size: 25px;
    line-height: 1.4;
  }
  .dap-services__image {
    height: auto;
    aspect-ratio: 410/277;
    flex-basis: auto;
  }
}
@media (max-width: 1100px) {
  .dap-services {
    padding: 75px 22px;
  }
  .dap-services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dap-services__card {
    min-height: 500px;
  }
}
@media (max-width: 767px) {
  .dap-services {
    padding: 55px 16px;
    background-position: center;
  }
  .dap-services__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .dap-services__prev {
    left: -8px;
  }
  .dap-services__next {
    right: -8px;
  }
  .dap-services__card {
    padding: 18px;
    min-height: 0;
    border-radius: 16px;
  }
  .dap-services__image {
    height: auto;
    aspect-ratio: 410/277;
    flex-basis: auto;
  }
  .dap-services__icon {
    width: 52px;
    height: 52px;
    top: 13px;
    left: 13px;
    font-size: 23px;
  }
  .dap-services__body h3 {
    font-size: 22px;
    line-height: 1.4;
    margin-bottom: 9px;
  }
  .dap-services__body p {
    font-size: 15px;
    line-height: 23px;
    max-height: 46px;
  }
  .dap-services__read-more {
    font-size: 15px;
  }
  .dap-services__read-more span {
    width: 34px;
    height: 34px;
    font-size: 18px;
  }
}

/* Shared responsive layout rules. */
@media (max-width: 1200px) {
  .dap-why {
    margin-top: 80px;
    margin-bottom: 40px;
  }
}
@media (max-width: 850px) {
  .dap-why {
    margin-top: 64px;
    margin-bottom: 32px;
    padding: 0 18px;
  }
}
@media (max-width: 575px) {
  .dap-why {
    margin-top: 44px;
    margin-bottom: 24px;
    padding: 0 16px;
  }
}

/* Responsive page layout. */
@media (max-width: 1199px) {
  .dap-projects {
    padding: 60px 0;
  }
}
@media (max-width: 767px) {
  .dap-projects {
    padding: 48px 0;
  }
}

/* Shared responsive layout rules. */

/* Shared responsive layout rules. */

/* Shared responsive layout rules. */

/* Footer - responsive (desktop tại style.css, chỉ chỉnh tablet/mobile ở đây). */

/* Shared responsive layout rules. */

/* Bài viết CKEditor khối Tại sao chọn chúng tôi: ưu tiên tỷ lệ chữ ở tablet/mobile. */

/* Shared responsive layout rules. */
@media (max-width: 1199px) {
  .dap-news-page__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .breadCrumbs {
    padding: 11px 0;
  }
  .breadCrumbs .breadcrumb {
    font-size: 13px;
    row-gap: 4px;
  }
  .breadCrumbs .breadcrumb-item + .breadcrumb-item {
    padding-left: 7px;
  }
  .breadCrumbs .breadcrumb-item + .breadcrumb-item:before {
    padding-right: 7px;
  }
  .dap-home-about__features.is-auto-scroll {
    height: auto !important;
    overflow: visible !important;
  }

  .dap-home-about__features.is-auto-scroll .dap-home-about__feature {
    min-height: 75px;
    flex: initial !important;
  }
  .dap-home-about__features.is-auto-scroll
    .dap-home-about__feature.is-duplicate {
    display: none;
  }
  .breadCrumbs + .dap-subpage > .dap-projects-articles__section:first-child {
    padding-top: 28px;
  }
  .breadCrumbs + .dap-about-article .dap-about-article__container {
    padding-top: 28px;
  }
  .dap-projects-page .tbl-projects-container {
    width: calc(100% - 30px);
  }

  .dap-news-page__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .dap-news-card__media {
    aspect-ratio: 4/5;
    border-radius: 16px;
  }
  .dap-news-card__label {
    top: 20px;
    left: 20px;
  }
  .dap-news-card__content {
    left: 20px;
    right: 20px;
    bottom: 24px;
    gap: 22px;
  }
  .dap-news-card__content strong {
    font-size: 21px;
  }
  .dap-news-page__filters {
    gap: 8px;
    margin-bottom: 25px;
  }
  .dap-news-page__filters a {
    min-height: 38px;
    font-size: 13px;
    padding: 7px 12px;
  }

  .dap-projects-page .tbl-projects-card__body {
    padding: 18px;
  }
}

@media (max-width: 991px) {
  .dap-service-detail .inner-service-layout {
    grid-template-columns: 1fr;
  }
  .dap-service-detail .inner-service-sidebar {
    order: 2;
  }
  .dap-service-detail .inner-service-main {
    order: 1;
  }
}
@media (max-width: 767px) {
  .dap-service-detail .inner-service-heading h1:not(.dap-detail-title) {
    font-size: 27px;
  }

  .dap-news-detail .tbl-news-page__detail-title:not(.dap-detail-title) {
    font-size: 28px;
  }
}

@media (max-width: 767px) {
  .dap-detail-page {
    --dap-detail-gutter: 32px;
    --dap-detail-section-space: 32px;
    --dap-detail-content-space: 20px;
    --dap-detail-related-space: 40px;
  }
  .dap-detail-page .dap-detail-section,
  .dap-detail-page--project,
  .dap-detail-page--service {
    padding-bottom: 56px;
  }
  .dap-detail-page .dap-detail-title {
    font-size: 26px;
    line-height: 1.35;
  }
  .dap-detail-page .dap-detail-related {
    padding-top: 24px;
  }
  .dap-detail-page .dap-detail-related__title {
    margin-bottom: 18px;
    font-size: 24px;
  }
  .dap-detail-page .dap-detail-related__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  body:has(.dap-detail-page) .breadCrumbs .wrap-content {
    width: calc(100% - 32px);
  }
}

/* Shared responsive layout rules. */
@media (max-width: 991px) {
  .dap-about-article__container {
    padding: 52px 0 70px;
  }
  .dap-about-article__gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}
@media (max-width: 767px) {
  .dap-about-article__container {
    width: calc(100% - 30px);
    padding: 38px 0 58px;
  }

  .dap-about-article__content {
    font-size: 15px;
    line-height: 1.75;
  }
  .dap-about-article__gallery {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 28px;
  }
  .dap-about-article__gallery-item {
    border-radius: 14px;
  }
}

/* Shared responsive layout rules. */

/* Shared responsive layout rules. */
@media (max-width: 991px) {
  .dap-projects-articles__section {
    padding: 55px 20px 70px;
  }
  .dap-projects-articles__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
  .dap-project-post__body {
    padding: 20px;
  }
  .dap-project-post__body h2 {
    font-size: 21px;
  }
}
@media (max-width: 575px) {
  .dap-projects-articles__section {
    padding: 40px 15px 60px;
  }
  .dap-projects-articles__heading {
    margin-bottom: 28px;
  }
  .dap-projects-articles__heading h1 {
    font-size: 28px;
  }
  .dap-projects-articles__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .dap-project-post__body {
    padding: 18px 19px 22px;
  }
  .dap-project-post__body h2 {
    font-size: 21px;
  }
  .dap-project-post__body p {
    font-size: 15px;
  }
}

/* Hệ khoảng cách Breadcrumb → H1 → nội dung cho tablet và mobile. */
@media (max-width: 1199px) {
  :root {
    --page-title-size: 32px;
    --page-title-margin-top: 32px;
    --page-title-margin-bottom: 32px;
  }
  .dap-projects-articles__section {
    padding-top: var(--page-title-margin-top);
  }
}
@media (max-width: 767px) {
  :root {
    --page-title-size: 26px;
    --page-title-margin-top: 24px;
    --page-title-margin-bottom: 28px;
  }
  .dap-projects-articles__heading h1 {
    font-size: var(--page-title-size);
    line-height: var(--page-title-line-height);
  }
  .dap-projects-articles__section {
    padding-top: var(--page-title-margin-top);
  }
  .product-list-container {
    padding-top: var(--page-title-margin-top);
    padding-bottom: 36px;
  }
}

/* ======================================================================
   RESPONSIVE LAYOUT 2026
   Scope: toàn website (home, subpages, shop, blog, checkout).
   Desktop >=1200 giữ style.css/Figma; không biến CSS desktop thành bản mobile.
   ====================================================================== */
@media (max-width: 1199px) {
  html,
  html body {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }
  html body img,
  html body video,
  html body iframe,
  html body svg {
    max-width: 100%;
  }
  html body .wrap-content,
  html body .max-width {
    width: min(100% - 48px, 1366px);
    max-width: 100%;
    margin-inline: auto;
  }

  html body .site-masthead {
    max-width: 100%;
    width: 100%;
  }
  /* Mọi trang con dùng chung chiều rộng và các nội dung nhập từ CMS. */

  /* Không che click/không đổi bố cục khi tab, modal, form hoạt động. */

  /* Home: phần động theo số lượng khóa học/bài báo/hình dashboard. */

  /* Figma vector: 1920×663 trên desktop, nội dung dài phải tự giãn ở tablet. */

  /* Trang con chung */
  html body .cart-columns {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 38%);
    gap: 20px;
  }
  html body .cart-row {
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 12px;
  }
  html body .cart-quantity,
  html body .cart-row-total {
    grid-column: auto;
    min-width: 0;
  }
}

@media (max-width: 1025px) {
  /* Header sticky: mobile/tablet không dùng menu desktop bị ép trong 1440px. */
  /* Lớp phủ không được bắt click khi menu chưa mở. Trước đây nó luôn display:block. */

  html body .breadCrumbs {
    max-width: 100%;
  }
  html body .breadCrumbs .wrap-content {
    width: min(100% - 48px, 1366px);
  }
}

@media (max-width: 767px) {
  /* Topbar di động: chỉ giữ chọn ngôn ngữ và giỏ hàng; icon mạng xã hội đã có ở footer. */

  html body .wrap-content,
  html body .max-width {
    width: calc(100% - 32px);
  }

  html body .site-masthead .header-menu-mobile-btn {
    grid-column: 1;
    grid-row: 1;
    order: 0;
    justify-self: start;
  }

  html body .breadCrumbs .wrap-content {
    width: calc(100% - 32px);
    font-size: 12px;
    overflow-wrap: anywhere;
  }
  /* Mobile layout. */
     CMS keeps ONE 1920x2144 image; don't stretch it with object-fit:cover.
     Painting and brush stay visible, instead of behind copy. */

  /* Animation nhẹ một lần, không gây giật bố cục hoặc cản thao tác. */


  /* Trả lại ảnh đường sóng Figma upload từ Dashboard; co theo vùng 5 bàn tay mobile. */


  /* Figma: logo vẫn là thẻ ảnh ngang, nhưng thu xuống 2 cột thay vì 1 cột khổng lồ. */

  /* Ảnh Dashboard và demo không bị làm mờ thêm bằng backdrop-filter. */

  /* Trang con: không để màn hình điện thoại phải vuốt ngang. */


  html body .cart-page {
    padding: 40px 0 66px;
  }
  html body .cart-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  html body .cart-row {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 10px;
  }
  html body .cart-photo {
    max-width: 100%;
    min-width: 0;
  }
  html body .cart-quantity,
  html body .cart-row-total {
    grid-column: 2;
    min-width: 0;
  }
  html body .cart-checkout {
    width: 100%;
    min-width: 0;
  }
  html body .cart-form-fields {
    min-width: 0;
  }
  html body .cart-form-fields input,
  html body .cart-form-fields textarea,
  html body .cart-form-fields select {
    max-width: 100%;
    width: 100%;
    font-size: 16px;
  }
  html body .cart-submit {
    min-height: 48px;
    width: 100%;
  }

  html body .product-detail-page .wrap-content {
    width: calc(100% - 32px);
  }
  html
    body
    .product-detail-page
    :is(.product-detail, .product-info, .product-gallery) {
    max-width: 100%;
  }
  html body .product-detail-page .product-related-section {
    overflow: hidden;
  }
  html body .product-related-section .swiper-slide {
    min-width: 0;
  }
}

@media (max-width: 479px) {
  /* Keep the same hero proportions on 320-479px (no 420px image crop). */

}

/* Các lớp nét cọ thuộc carousel phải đi theo dòng thay vì đè card mobile. */

/* Consolidated responsive rules for home and inner pages.
   The 1920px Figma layout is intentionally not modified. */
@media (max-width: 1599px) {
  .site-shell .site-container {
    width: calc(100% - 64px);
  }
  .site-shell .site-menu__list {
    gap: clamp(12px, 1.35vw, 22px);
  }
  .site-shell .site-menu__list > li > a {
    font-size: clamp(14px, 1.15vw, 18px);
  }
}
@media (max-width: 1199px) {
  .site-shell .site-container {
    width: calc(100% - 48px);
  }
  .site-shell .site-navigation {
    height: 86px;
  }
  .site-shell .site-menu__list {
    gap: 12px;
  }
  .site-shell .site-menu__list > li > a {
    font-size: 13px;
  }

  .site-shell .site-hero {
    margin-top: -86px;
  }

  .site-shell .site-button {
    min-height: 48px;
    padding: 10px 22px;
    font-size: 15px;
    line-height: 1.5;
  }
  .site-shell .site-categories {
    padding: 54px 0;
  }

  .site-shell .site-about {
    padding-bottom: 65px;
  }

  .site-shell .site-stats {
    min-height: 0;
    padding: 54px 0;
  }
  .site-shell .site-stat {
    min-height: 220px;
    height: auto;
    padding: 23px 16px;
  }
  .site-shell .site-stat > strong {
    font-size: 34px;
    line-height: 1.4;
  }
  .site-shell .site-stat h2 {
    font-size: 18px;
    line-height: 1.45;
  }

  .site-shell .site-news {
    padding: 60px 0;
  }

  .site-shell .site-product-listing .product-list-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
  .site-shell .dap-projects-articles__grid,
  .site-shell .dap-services__grid,
  .site-shell .site-news-listing,
  .site-shell .site-blog-news,
  .site-shell .site-blog-press {
    gap: 18px;
  }
  .site-shell .site-contact__grid {
    gap: 22px;
  }
  .site-shell .site-contact__details,
  .site-shell .site-contact__form-card {
    padding: 25px;
  }
}
/* Header and menus change to touch navigation before the desktop links collide. */
@media (max-width: 1025px) {
  .site-shell .site-navigation {
    height: 72px;
    z-index: 90;
    backdrop-filter: none;
  }

  .site-shell .site-menu-toggle,
  .site-shell .site-menu-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex: none;
    border-radius: 10px;
    background: transparent;
    color: var(--site-green);
    font-size: 24px;
  }
  .site-shell .site-menu-toggle:focus-visible,
  .site-shell .site-menu-close:focus-visible {
    background: #e3efe5;
  }
  .site-shell .site-menu-backdrop {
    position: fixed;
    inset: 0;
    height: 100dvh;
    background: rgba(0, 0, 0, 0.52);
    z-index: 1;
  }
  .site-shell .site-menu {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(380px, 90vw);
    height: 100vh;
    height: 100dvh;
    padding: 76px 20px max(26px, env(safe-area-inset-bottom));
    background: #fff;
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(102%);
    visibility: hidden;
    transition:
      transform 0.25s ease,
      visibility 0.25s ease;
    z-index: 2;
    box-shadow: -8px 0 26px #0002;
  }
  .site-shell .site-menu.is-open {
    transform: translateX(0);
    visibility: visible;
  }
  .site-shell .site-menu-close {
    position: absolute;
    top: 15px;
    right: 17px;
    background: #f0f6f1;
  }
  .site-shell .site-menu__list {
    display: block;
    height: auto;
  }
  .site-shell .site-menu__list > li {
    border-bottom: 1px solid #e3ece5;
  }

  .site-shell .site-menu__list > li > a {
    min-height: 54px;
    flex: 1;
    white-space: normal;
    overflow-wrap: anywhere;
    font-size: 16px;
    line-height: 1.5;
  }

  .site-shell .site-submenu,
  .site-shell .site-submenu .site-submenu {
    display: none;
    position: static;
    width: 100%;
    padding: 0 0 8px 12px;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
    background: transparent;
  }

  .site-shell .site-submenu a {
    font-size: 14px;
    line-height: 1.5;
    padding: 12px 10px;
  }

  .site-shell .site-hero {
    margin-top: 0;
  }

  .site-shell .site-stats__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
  }
  .site-shell .site-stat:last-child:nth-child(odd) {
    grid-column: 1/-1;
  }
  .site-shell .site-listing,
  .site-shell .site-subpage-section,
  .site-shell .dap-about-article,
  .site-shell .dap-projects-articles,
  .site-shell .dap-services-page,
  .site-shell .site-blog-page {
    padding: 48px 0 65px;
  }
  .site-shell .site-page-hero {
    padding: 16px 0;
  }
  .site-shell .dap-detail-page .dap-detail-related__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
  .site-shell .dap-projects-articles__grid,
  .site-shell .dap-services__grid,
  .site-shell .site-news-listing,
  .site-shell .site-blog-news,
  .site-shell .site-blog-press {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .site-shell .site-contact__grid {
    grid-template-columns: 1fr;
  }
  .site-shell .site-contact__details,
  .site-shell .site-contact__form-card {
    padding: 28px;
  }
  .site-shell .dap-about-article__gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .site-shell .site-product-listing .product-list-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .site-shell {
    font-size: 16px;
  }
  .site-shell .site-container,
  .site-shell .site-subpage-body .wrap-content,
  .site-shell .dap-about-article__container,
  .site-shell .dap-projects-articles__container,
  .site-shell .dap-services__container,
  .site-shell .dap-detail-container,
  .site-shell .site-blog-page__container {
    width: calc(100% - 32px);
  }
  .site-shell .site-topbar {
    min-height: 36px;
  }

  .site-shell .site-search {
    width: 100%;
    flex: 1;
    min-width: 0;
    height: 44px;
  }
  .site-shell .site-search input.search-auto {
    height: 42px;
    font-size: 14px;
    padding: 9px 12px;
  }
  .site-shell .site-search > button {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }

  .site-shell .site-navigation {
    height: 65px;
  }

  /* Keep the banner photograph intact and reduce caption spacing on phones. */

  .site-shell .site-categories {
    padding: 34px 0 28px;
  }

  .site-shell .site-about {
    padding-bottom: 42px;
  }

  .site-shell .site-about__photo {
    border-radius: 12px;
  }

  .site-shell .site-stats {
    padding: 35px 0;
  }
  .site-shell .site-stats__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .site-shell .site-stat,
  .site-shell .site-stat:last-child:nth-child(odd) {
    grid-column: auto;
    min-height: 0;
    padding: 22px 20px;
  }
  .site-shell .site-stat > strong {
    font-size: 33px;
    line-height: 1.3;
  }
  .site-shell .site-stat h2 {
    font-size: 18px;
    line-height: 1.45;
    margin: 4px 0 7px;
  }
  .site-shell .site-stat p {
    font-size: 14px;
    line-height: 1.5;
  }

  .site-shell .site-process {
    min-height: 0;
    scroll-margin-top: 82px;
  }

  .site-shell .site-news {
    padding: 42px 0;
  }

  /* Mobile: retain the user-uploaded social images at right; hotline at left. */
  .site-shell #hotline.btn-frame {
    left: var(--left, 14px);
    right: var(--right, auto);
    bottom: calc(var(--bottom, 19px) + env(safe-area-inset-bottom));
    width: 44px;
    height: 44px;
    transform: none;
  }
  .site-shell #hotline.btn-frame i {
    width: 44px;
    height: 44px;
  }
  .site-shell #hotline.btn-frame .kenit-alo-circle {
    inset: -6px;
    width: auto;
    height: auto;
  }
  .site-shell #hotline.btn-frame .kenit-alo-circle-fill {
    inset: -3px;
    width: auto;
    height: auto;
  }
  .site-shell #social {
    left: var(--left, auto);
    right: var(--right, 10px);
    bottom: calc(var(--bottom, 10px) + env(safe-area-inset-bottom));
    width: 44px;
    gap: 12px;
  }
  .site-shell #social .btn-frame {
    width: 44px;
    height: 44px;
    margin: 0;
  }
  .site-shell #social .btn-frame i {
    width: 44px;
    height: 44px;
  }
  .site-shell #social .btn-frame i img {
    width: 32px;
    height: 32px;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }
  .site-shell .social-template-4 {
    left: var(--left, auto);
    right: var(--right, 10px);
    bottom: calc(var(--bottom, 10px) + env(safe-area-inset-bottom));
    width: 38px;
    max-width: 38px;
    gap: 6px;
  }
  .site-shell .social-template-4__item {
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
  }
  .site-shell .social-template-4__icon {
    width: 30px;
    height: 30px;
  }
  .site-shell .social-template-4__item img {
    max-width: 30px;
    max-height: 30px;
  }

  /* Inner pages: content, CMS images, listing cards and contact fields. */
  .site-shell .site-page-hero {
    padding: 14px 0;
  }

  .site-shell .site-page-hero__crumbs {
    font-size: 12px;
    line-height: 1.5;
  }
  .site-shell .site-page-hero__crumbs .breadcrumb-item {
    font-size: 12px;
    line-height: 1.5;
  }
  .site-shell .site-listing,
  .site-shell .site-subpage-section,
  .site-shell .dap-about-article,
  .site-shell .dap-projects-articles,
  .site-shell .dap-services-page,
  .site-shell .site-blog-page {
    padding: 32px 0 46px;
  }
  .site-shell .site-subpage-body {
    min-height: 0;
    font-size: 15px;
    line-height: 1.65;
  }
  .site-shell .site-subpage-body .title-detail {
    margin-bottom: 19px;
  }
  .site-shell .site-subpage-body h1 {
    font-size: 25px;
  }
  .site-shell .site-subpage-body h2 {
    font-size: 22px;
  }
  .site-shell .site-subpage-body h3 {
    font-size: 19px;
  }
  .site-shell .site-product-listing .product-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .site-shell .site-product-listing .product-list-card {
    min-width: 0;
    border-radius: 12px;
  }
  .site-shell .site-product-listing .product-list-photo a {
    padding: 8px;
    height: auto !important;
    aspect-ratio: 1 !important;
  }
  .site-shell .site-product-listing .product-list-info {
    padding: 11px;
  }
  .site-shell .site-product-listing .product-list-name {
    font-size: 14px;
    line-height: 1.45;
    min-height: 0;
    overflow-wrap: anywhere;
  }
  .site-shell .site-product-listing .product-list-price .price-new {
    font-size: 14px;
  }
  .site-shell .site-product-listing .sort-select {
    max-width: 100%;
  }
  .site-shell .site-product-listing .pagination,
  .site-shell .site-listing .pagination {
    margin-top: 24px;
  }
  .site-shell .product-detail-page > .wrap-content,
  .site-shell .news-detail-content-only {
    padding: 26px 0 48px;
  }
  .site-shell .product-detail-page .grid-pro-detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }
  .site-shell .product-detail-page .left-pro-detail,
  .site-shell .product-detail-page .right-pro-detail {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .site-shell .product-detail-page .product-detail-template {
    grid-template-columns: 1fr;
  }
  .site-shell .product-detail-page .product-detail-tabs-wrap .nav-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
  }
  .site-shell .product-detail-page .product-detail-tabs-wrap .nav-link {
    min-height: 42px;
  }
  .site-shell .product-detail-page .product-related-section {
    margin-top: 25px;
  }
  .site-shell .dap-about-article__body,
  .site-shell .dap-detail-article {
    padding: 20px;
    border-radius: 13px;
  }
  .site-shell .dap-about-article__gallery {
    gap: 10px;
  }
  .site-shell .dap-projects-articles__grid,
  .site-shell .dap-services__grid,
  .site-shell .site-news-listing,
  .site-shell .site-blog-news,
  .site-shell .site-blog-press {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .site-shell .dap-project-post__body,
  .site-shell .dap-services__body,
  .site-shell .site-news-listing__content,
  .site-shell .site-blog-news__body,
  .site-shell .site-blog-press__body {
    padding: 17px;
  }
  .site-shell .dap-project-post__body h2,
  .site-shell .dap-services__body h3,
  .site-shell .site-news-listing__content h2 {
    font-size: 19px;
    line-height: 1.45;
  }
  .site-shell .site-blog-page__header {
    align-items: flex-start;
    gap: 13px;
    margin-bottom: 23px;
  }
  .site-shell .site-blog-page__section {
    margin-bottom: 30px;
  }
  .site-shell .site-blog-page__section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }
  .site-shell .site-blog-page__tabs,
  .site-shell .dap-news-page__filters {
    gap: 8px;
  }
  .site-shell .site-blog-page__tabs a,
  .site-shell .dap-news-page__filters a {
    min-height: 40px;
    padding: 9px 13px;
  }
  .site-shell .dap-detail-page .dap-detail-section {
    padding: 30px 0 48px;
  }
  .site-shell .dap-detail-page .dap-detail-related {
    margin-top: 26px;
    padding-top: 24px;
  }
  .site-shell .dap-detail-page .dap-detail-related__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .site-shell .dap-detail-page .dap-news-card__media {
    aspect-ratio: 16/10;
  }
  .site-shell .dap-detail-page .dap-news-card__content {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }
  .site-shell .dap-detail-page .dap-news-card__content strong {
    font-size: 16px;
  }
  .site-shell .site-contact__head {
    margin-bottom: 24px;
  }
  .site-shell .site-contact__grid {
    gap: 16px;
  }
  .site-shell .site-contact__details,
  .site-shell .site-contact__form-card {
    padding: 21px;
    border-radius: 14px;
  }
  .site-shell .site-contact__details h2,
  .site-shell .site-contact__form-card h2 {
    font-size: 21px;
  }
  .site-shell .site-contact__fields {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .site-shell .site-contact__fields input,
  .site-shell .site-contact__fields textarea {
    min-height: 45px;
    font-size: 16px;
  }
  .site-shell .site-contact__form .site-button {
    width: 100%;
    margin-top: 18px;
  }
  .site-shell .site-process-article h1 {
    font-size: 27px;
    line-height: 1.4;
    margin-bottom: 21px;
  }
  .site-shell .site-process-article__description {
    font-size: 16px;
    line-height: 1.65;
  }
  .site-shell .site-process-article > .article-cke-content {
    font-size: 15px;
    line-height: 1.75;
  }
  .site-shell .site-subpage-body .article-cke-content img,
  .site-shell .site-subpage-body .content-main img {
    max-width: 100%;
    height: auto;
  }
  .site-shell .site-subpage-body .article-cke-content iframe,
  .site-shell .site-subpage-body .content-main iframe {
    max-width: 100%;
  }
  .site-shell .site-subpage-body .article-cke-content table,
  .site-shell .site-subpage-body .content-main table {
    display: block;
    width: max-content;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}
@media (max-width: 480px) {
  .site-shell .site-container,
  .site-shell .site-subpage-body .wrap-content,
  .site-shell .dap-about-article__container,
  .site-shell .dap-projects-articles__container,
  .site-shell .dap-services__container,
  .site-shell .dap-detail-container,
  .site-shell .site-blog-page__container {
    width: calc(100% - 28px);
  }

  .site-shell .site-contact__details,
  .site-shell .site-contact__form-card {
    padding: 17px;
  }
  .site-shell .site-product-listing .product-list-info {
    padding: 9px;
  }
  .site-shell .site-product-listing .product-list-name {
    font-size: 13px;
  }
  .site-shell .site-product-listing .product-list-price .price-new {
    font-size: 13px;
  }
}

@media (hover: none) and (pointer: coarse) {
  .site-shell .dap-project-post:hover img,
  .site-shell .dap-services__card:hover img {
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .site-shell *,
  .site-shell *::before,
  .site-shell *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Responsive rules for pages and shared modules. */
@media (max-width: 1440px) {
  .site-shell.td-site .td-menu__list {
    gap: clamp(8px, 1.05vw, 20px);
  }

  .site-shell.td-site .td-menu {
    margin-left: 0;
  }
}
@media (max-width: 1025px) {
  .site-shell.td-site :is(.td-container, .site-container) {
    width: calc(100% - 40px);
  }
  .site-shell.td-site .td-navigation,
  .site-shell.td-site .td-navigation.is-stuck {
    height: 75px;
    padding: 0;
  }

  .site-shell.td-site .td-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    order: 3;
    width: 43px;
    height: 43px;
    border: 0;
    background: var(--td-blue);
    color: #fff;
    border-radius: 5px;
  }
  .site-shell.td-site .td-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 105;
    width: min(350px, 86vw);
    height: 100dvh;
    display: block;
    overflow-y: auto;
    padding: 70px 20px 26px;
    transform: translateX(105%);
    transition: transform 0.25s;
    box-shadow: -5px 0 20px #0002;
  }
  .site-shell.td-site .td-menu.is-open {
    transform: translateX(0);
  }
  .site-shell.td-site .td-menu__close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 20px;
    top: 20px;
    width: 37px;
    height: 37px;
    border: 0;
    background: #eaf4fe;
    color: #203749;
  }
  .site-shell.td-site .td-menu__list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .site-shell.td-site .td-menu__list > li {
    width: 100%;
    border-bottom: 1px solid #eff3f7;
  }
  .site-shell.td-site .td-menu__list > li > a {
    font-size: 15px;
    padding: 12px 0;
    white-space: normal;
  }

  .site-shell.td-site .td-stat strong {
    font-size: 35px;
  }
  .site-shell.td-site .td-stat p {
    font-size: 18px;
  }

  .site-shell.td-site .td-dealer__media {
    min-height: 620px;
  }
}
@media (max-width: 767px) {
  .site-shell.td-site :is(.td-container, .site-container) {
    width: calc(100% - 30px);
  }
  .site-shell.td-site .td-topbar {
    height: auto;
    min-height: 34px;
  }

  .site-shell.td-site .td-languages {
    gap: 7px;
  }
  .site-shell.td-site .td-languages button {
    font-size: 16px;
    padding: 3px;
  }
  .site-shell.td-site .td-navigation,
  .site-shell.td-site .td-navigation.is-stuck {
    height: 65px;
  }

  .site-shell.td-site .td-stat strong {
    font-size: clamp(24px, 6vw, 33px);
  }
  .site-shell.td-site .td-stat p {
    font-size: 14px;
  }

  .site-shell.td-site .td-product {
    height: 315px;
    padding: 10px 11px;
  }

  .site-shell.td-site .td-product h3 {
    font-size: 12px;
    min-height: 56px;
  }

  .site-shell.td-site .td-dealer__media {
    min-height: 280px;
  }

  .site-shell.td-site .site-contact__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .site-shell.td-site .site-contact__details,
  .site-shell.td-site .site-contact__form-card {
    padding: 22px;
  }
  .site-shell.td-site .site-subpage-body {
    padding-bottom: 25px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-shell.td-site *,
  .site-shell.td-site *::before,
  .site-shell.td-site *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
/* Older media rules retained for the current header layout. */

/* Tablet and mobile page layouts (desktop rules live in style.css). */
@media (max-width: 1199px) {
  .site-shell.td-site
    .site-subpage-body
    :is(
      .wrap-content,
      .max-width,
      .dap-about-article__container,
      .dap-projects-articles__container,
      .dap-services__container,
      .dap-detail-container,
      .tbl-projects-container,
      .tbl-services-page__container,
      .site-blog-page__container
    ) {
    width: calc(100% - 40px);
  }
  .site-shell.td-site .site-subpage-body {
    padding-bottom: 58px;
  }
  .site-shell.td-site .site-product-listing .product-list-container {
    padding-top: 44px;
  }
  .site-shell.td-site .site-contact {
    padding-top: 44px;
  }
  .site-shell.td-site .site-blog-page {
    padding-top: 44px;
  }
  .site-shell.td-site .site-subpage-body > .news-list-template > .wrap-content {
    padding-top: 44px;
  }
  .site-shell.td-site
    .site-subpage-body
    :is(.dap-listing-page-title, .news-template-title, .site-listing__heading)
    > h1,
  .site-shell.td-site
    .site-subpage-body
    :is(.site-contact__head, .site-blog-page__header)
    > h1,
  .site-shell.td-site .site-subpage-body .td-static-page .title-detail h1 {
    font-size: 28px;
    line-height: 1.35;
  }
  .site-shell.td-site .dap-services__grid,
  .site-shell.td-site .dap-projects-articles__grid,
  .site-shell.td-site .site-news-listing {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .site-shell.td-site .site-news-listing__card--lead {
    grid-column: span 2;
  }
  .site-shell.td-site .dap-detail-related__grid,
  .site-shell.td-site .dap-news-page__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .site-shell.td-site .site-product-listing .product-list-grid,
  .site-shell.td-site
    .site-product-listing.product-list-template-product2
    .product-list-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .site-shell.td-site .site-contact__details,
  .site-shell.td-site .site-contact__form-card {
    padding: 28px;
  }
  .site-shell.td-site .dap-services--subpage {
    padding: 44px 0 35px;
  }
  .site-shell.td-site .dap-projects-articles__section {
    padding: 44px 0 35px;
  }
  .site-shell.td-site .dap-about-article__container {
    padding-top: 44px;
  }
  .site-shell.td-site .site-subpage-body .grid-news {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .site-shell.td-site .site-subpage-body .grid-product {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .site-shell.td-site .site-page-hero {
    padding: 14px 0 15px;
  }
  .site-shell.td-site .site-page-hero__crumbs {
    font-size: 12px;
    gap: 7px;
  }
  .site-shell.td-site .site-subpage-body {
    padding-bottom: 40px;
  }
  .site-shell.td-site .site-subpage-body > .news-list-template > .wrap-content {
    padding-top: 32px;
  }
  .site-shell.td-site
    .site-subpage-body
    :is(.site-contact__head, .site-blog-page__header)
    > h1,
  .site-shell.td-site .site-subpage-body .td-static-page .title-detail h1 {
    font-size: 24px;
    line-height: 1.35;
  }
  .site-shell.td-site
    .site-subpage-body
    :is(
      .wrap-content,
      .max-width,
      .dap-about-article__container,
      .dap-projects-articles__container,
      .dap-services__container,
      .dap-detail-container,
      .tbl-projects-container,
      .tbl-services-page__container,
      .site-blog-page__container
    ) {
    width: calc(100% - 30px);
  }
  .site-shell.td-site
    .site-subpage-body
    :is(.dap-listing-page-title, .news-template-title, .site-listing__heading) {
    margin-bottom: 24px;
  }
  .site-shell.td-site
    .site-subpage-body
    :is(.dap-listing-page-title, .news-template-title, .site-listing__heading)
    > h1,
  .site-shell.td-site .site-contact__head > h1 {
    font-size: 24px;
    gap: 10px;
    line-height: 1.35;
  }
  .site-shell.td-site
    .site-subpage-body
    :is(.dap-listing-page-title, .news-template-title, .site-listing__heading)
    > h1::before,
  .site-shell.td-site
    .site-subpage-body
    :is(.dap-listing-page-title, .news-template-title, .site-listing__heading)
    > h1::after,
  .site-shell.td-site .site-contact__head > h1::before,
  .site-shell.td-site .site-contact__head > h1::after {
    flex-basis: 30px;
  }
  .site-shell.td-site
    .site-subpage-body
    :is(
      .content-main,
      .baonoidung,
      .article-cke-content,
      .dap-detail-content,
      .dap-about-article__content
    ) {
    font-size: 15px;
    line-height: 1.8;
  }
  .site-shell.td-site .dap-about-article__container {
    padding: 32px 0 12px;
  }
  .site-shell.td-site .dap-about-article__content-title {
    font-size: 21px;
  }
  .site-shell.td-site .dap-about-article__gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 28px;
  }
  .site-shell.td-site .dap-services--subpage {
    padding: 32px 0 28px;
  }
  .site-shell.td-site .dap-projects-articles__section {
    padding: 32px 0 28px;
  }
  .site-shell.td-site .dap-services__grid,
  .site-shell.td-site .dap-projects-articles__grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .site-shell.td-site .dap-services--subpage .dap-services__card {
    min-height: 0;
    padding: 0;
    border-radius: 9px;
  }
  .site-shell.td-site .dap-services--subpage .dap-services__body {
    padding: 19px 20px;
    gap: 11px;
  }
  .site-shell.td-site .dap-services--subpage .dap-services__body h3 {
    font-size: 21px;
  }
  .site-shell.td-site .dap-project-post__body {
    padding: 20px;
  }
  .site-shell.td-site .dap-project-post__body h2 {
    font-size: 21px;
  }
  .site-shell.td-site .dap-news-page__filters {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: thin;
    padding: 0 0 9px;
    margin-bottom: 23px;
  }
  .site-shell.td-site .dap-news-page__filters a {
    flex: none;
    font-size: 13px;
    padding: 8px 13px;
  }
  .site-shell.td-site .site-news-listing {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .site-shell.td-site .site-news-listing__card--lead {
    grid-column: auto;
    display: flex;
    min-height: 0;
  }
  .site-shell.td-site .site-news-listing__card--lead .site-news-listing__media {
    aspect-ratio: 467/288;
  }
  .site-shell.td-site .site-news-listing__card--lead .site-news-listing__content {
    padding: 21px;
  }
  .site-shell.td-site .site-news-listing__content {
    padding: 21px;
    gap: 11px;
  }
  .site-shell.td-site .site-news-listing__card--lead h2,
  .site-shell.td-site .site-news-listing__content h2 {
    font-size: 20px;
  }
  .site-shell.td-site .dap-detail-container {
    padding: 36px 0 20px;
  }
  .site-shell.td-site .dap-detail-title,
  .site-shell.td-site .news-detail-content-only h1,
  .site-shell.td-site .news-template-article h1 {
    font-size: 27px;
    margin-bottom: 23px;
    text-align: left;
  }
  .site-shell.td-site .dap-detail-related__title {
    font-size: 24px;
  }
  .site-shell.td-site .dap-detail-related__grid,
  .site-shell.td-site .dap-news-page__grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .site-shell.td-site .dap-news-card__media {
    min-height: 250px;
    aspect-ratio: 4/3;
  }
  .site-shell.td-site .news-detail-content-only,
  .site-shell.td-site .news-template-article {
    margin-top: 35px;
  }
  .site-shell.td-site .site-product-listing .product-list-container {
    padding: 32px 0 20px;
  }
  .site-shell.td-site .site-product-listing .site-listing__heading h1 {
    font-size: 24px;
    padding: 0;
    line-height: 1.35;
    text-transform: none;
  }
  .site-shell.td-site .site-product-listing .site-listing__heading .filter {
    position: static;
    text-align: right;
  }
  .site-shell.td-site .site-product-listing .sort-select {
    margin-bottom: 18px;
  }
  .site-shell.td-site .site-product-listing .product-list-grid,
  .site-shell.td-site
    .site-product-listing.product-list-template-product2
    .product-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .site-shell.td-site .site-product-listing .product-list-photo a {
    padding: 10px;
  }
  .site-shell.td-site .site-product-listing .product-list-info {
    padding: 11px;
    gap: 8px;
  }
  .site-shell.td-site .site-product-listing .product-list-name {
    font-size: 14px;
  }
  .site-shell.td-site .site-product-listing .product-list-price {
    font-size: 14px;
  }
  .site-shell.td-site .product-detail-page {
    padding: 27px 0 15px;
  }
  .site-shell.td-site .product-detail-page > .wrap-content {
    width: calc(100% - 30px);
  }
  .site-shell.td-site .product-detail-page .product-related-section {
    margin-top: 32px;
    padding-top: 23px;
  }
  .site-shell.td-site .product-detail-page .product-list-heading {
    font-size: 22px;
  }
  .site-shell.td-site .site-contact {
    padding: 32px 0 10px;
  }
  .site-shell.td-site .site-contact__head {
    margin-bottom: 30px;
  }
  .site-shell.td-site .site-contact__head > p {
    font-size: 15px;
  }
  .site-shell.td-site .site-contact__grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .site-shell.td-site .site-contact__details,
  .site-shell.td-site .site-contact__form-card {
    padding: 23px 19px;
  }
  .site-shell.td-site .site-contact__details h2,
  .site-shell.td-site .site-contact__form-card h2 {
    font-size: 22px;
  }
  .site-shell.td-site .site-contact__fields {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .site-shell.td-site .site-contact__fields .site-contact__wide {
    grid-column: auto;
  }
  .site-shell.td-site .site-contact__form .site-button {
    display: flex;
    width: 100%;
    justify-content: center;
  }
  .site-shell.td-site .site-subpage-body .grid-news,
  .site-shell.td-site .site-subpage-body .grid-product {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
  }
}
@media (max-width: 430px) {
  .site-shell.td-site .dap-about-article__gallery {
    grid-template-columns: 1fr;
  }
  .site-shell.td-site .site-subpage-body .grid-news {
    grid-template-columns: 1fr;
  }
  .site-shell.td-site .site-subpage-body .grid-product .name-product {
    font-size: 14px;
  }
  .site-shell.td-site .site-subpage-body .grid-product .pic-product img {
    height: 130px !important;
  }
}
/* Subpage press/blog and optional gallery responsive. */
@media (max-width: 1025px) {
  .site-shell.td-site .site-blog-press,
  .site-shell.td-site .site-blog-news {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .site-shell.td-site .site-blog-page {
    padding: 32px 0 10px;
  }
  .site-shell.td-site .site-blog-page__header {
    gap: 14px;
    margin-bottom: 26px;
  }
  .site-shell.td-site .site-subpage-body .site-blog-page__header h1 {
    font-size: 24px;
  }
  .site-shell.td-site .site-blog-page__tabs a {
    font-size: 13px;
    padding: 8px 13px;
  }
  .site-shell.td-site .site-blog-page__section-heading h2 {
    font-size: 22px;
  }
  .site-shell.td-site .site-blog-press,
  .site-shell.td-site .site-blog-news {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .site-shell.td-site .site-blog-press__body,
  .site-shell.td-site .site-blog-news__body {
    padding: 19px 20px;
  }
}

/* ============================================================
   RESPONSIVE LAYOUT SYSTEM
   Keeps the Dashboard-driven desktop design in style.css intact.
   Breakpoints follow the real content constraints, not device names.
   ============================================================ */
@media (max-width: 1400px) {
  .site-shell .ui-navigation__inner {
    grid-template-columns: minmax(0, 1fr) 160px minmax(0, 1fr);
    gap: 12px;
  }
  .site-shell .ui-navigation__left,
  .site-shell .ui-navigation__right {
    gap: 12px;
    padding: 0;
  }
  .site-shell .ui-navigation__link {
    font-size: 12px !important;
  }
  .site-shell .ui-navigation__brand img {
    width: 155px;
    height: 68px;
  }
  .site-shell .ui-languages {
    gap: 5px;
  }
  .site-shell .ui-languages button img {
    width: 22px;
    height: 15px;
  }
  .site-shell .ui-follow {
    font-size: 12px;
  }
}
@media (max-width: 1025px) {
  .site-shell {
    max-width: 100%;
    min-width: 0;
  }
  .site-shell :is(.ui-container, .td-container) {
    width: min(100% - 40px, 960px);
    max-width: 100%;
  }
  .site-shell
    :is(
      .ui-section,
      .ui-artwork,
      .ui-products,
      .ui-applications,
      .ui-activities,
      .ui-reviews
    ) {
    max-width: 100%;
  }
  .site-shell
    :is(
      .ui-container,
      .ui-about__body,
      .ui-about__visual,
      .ui-product,
      .ui-review,
      .ui-applications__card
    ) {
    min-width: 0;
  }
  .site-shell
    :is(
      .ui-copy,
      .ui-activities__lead,
      .ui-review blockquote,
      .ui-footer__rich
    ) {
    overflow-wrap: break-word;
  }
  .site-shell .ui-navigation,
  .site-shell .ui-navigation.is-stuck {
    height: 72px !important;
    padding: 0 !important;
  }
  .site-shell .ui-navigation__inner {
    display: grid;
    grid-template-columns: minmax(44px, 1fr) auto minmax(44px, 1fr);
    gap: 10px;
    width: calc(100% - 32px);
  }
  .site-shell .ui-navigation__left {
    grid-column: 1;
    grid-row: 1;
    justify-content: flex-start;
  }
  .site-shell .ui-navigation__left > .ui-navigation__link {
    display: none;
  }
  .site-shell .ui-navigation__brand {
    grid-column: 2;
    grid-row: 1;
    height: 70px;
    max-width: 155px;
  }
  .site-shell .ui-navigation__brand img {
    width: 138px;
    height: 60px;
    max-width: 100%;
    object-fit: contain;
  }
  .site-shell .ui-navigation__right {
    display: none;
  }
  .site-shell .ui-search > button {
    width: 44px;
    height: 44px;
    font-size: 19px;
  }
  .site-shell .ui-search__field {
    left: 0;
    top: calc(100% + 10px);
    width: min(320px, calc(100vw - 40px));
    max-width: none;
  }
  .site-shell .ui-menu-toggle {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border: 0 !important;
    border-radius: 50% !important;
    width: 44px !important;
    height: 44px !important;
    background: #32b5b7 !important;
    color: #fff !important;
    font-size: 21px;
    box-shadow: 0 3px 10px #32b5b73d;
  }
  .site-shell .ui-mobile-menu {
    box-sizing: border-box;
    display: flex !important;
    flex-direction: column;
    position: fixed !important;
    inset: 0 0 0 auto !important;
    width: min(350px, 88vw) !important;
    height: 100vh !important;
    height: 100dvh !important;
    margin: 0 !important;
    padding: 82px 24px max(28px, env(safe-area-inset-bottom)) !important;
    background: #fff !important;
    z-index: 105 !important;
    box-shadow: -10px 0 32px #0a424333 !important;
    transform: translateX(105%);
    visibility: hidden;
    transition:
      transform 0.28s ease,
      visibility 0.28s ease;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .site-shell .ui-mobile-menu.is-open {
    transform: translateX(0);
    visibility: visible;
  }
  .site-shell .ui-mobile-menu .site-menu-close {
    top: 20px;
    right: 22px;
    width: 42px;
    height: 42px;
    border: 1px solid #b9e6e4;
    border-radius: 12px;
    background: #effbfa;
    color: #159b9d;
    font-size: 22px;
  }
  .site-shell .ui-mobile-menu__list {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
  }
  .site-shell .ui-mobile-menu__list li {
    border-bottom: 1px solid #e3f1f0 !important;
    width: 100%;
    margin: 0;
  }
  .site-shell .ui-mobile-menu__list a,
  .site-shell .ui-mobile-menu__list button {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 52px;
    border: 0;
    background: transparent;
    color: #23434d !important;
    font-size: 15px !important;
    line-height: 1.5;
    padding: 13px 4px !important;
    text-align: left;
    text-decoration: none;
    font-weight: 600;
    white-space: normal;
  }
  .site-shell .ui-mobile-menu__list a:is(:hover, :focus-visible),
  .site-shell .ui-mobile-menu__list button:is(:hover, :focus-visible),
  .site-shell .ui-mobile-menu__list a.ui-current {
    color: #1da9ab !important;
    background: #f1fbfa;
  }
  .site-shell .ui-mobile-languages {
    display: flex !important;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 28px;
  }
  .site-shell .ui-mobile-languages button {
    min-height: 42px;
    padding: 8px 10px;
    border: 1px solid #e2f0ee;
    border-radius: 9px;
    font-size: 14px;
    opacity: 1;
  }
  .site-shell .ui-mobile-languages button.is-active {
    background: #e0f8f4;
    border-color: #32b5b7;
    color: #168a90;
  }
  .site-shell .ui-hero__slide {
    min-height: 410px;
    padding: 55px 22px;
  }
  .site-shell .ui-about {
    padding: 60px 0;
  }
  .site-shell .ui-about__layout {
    gap: 30px;
  }
  .site-shell .ui-about__body h2,
  .site-shell .ui-philosophy__card h2 {
    font-size: clamp(26px, 3.8vw, 36px);
  }
  .site-shell .ui-about__photo {
    max-width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
  }
  .site-shell #site-main .ui-difference__copy {
    left: auto;
    right: 5%;
    width: 42%;
    height: auto;
    gap: 8px;
  }
  .site-shell #site-main .ui-difference__copy h2 {
    width: 100%;
    min-height: 0;
    font-size: clamp(23px, 3.5vw, 38px);
    line-height: 1.25;
  }
  .site-shell #site-main .ui-difference__copy p {
    width: 100%;
    min-height: 0;
    font-size: clamp(13px, 1.8vw, 17px);
    line-height: 1.5;
  }
  .site-shell .ui-certificates__grid {
    gap: 22px;
  }
  .site-shell .ui-certificates__item img {
    width: min(100%, 240px);
    height: 240px;
  }
  .site-shell .ui-certificates__item h3 {
    font-size: 21px;
  }
  .site-shell .ui-certificates__item p {
    font-size: 15px;
  }
  .site-shell .ui-artwork__layout {
    min-height: 0;
    gap: 20px;
  }
  .site-shell .ui-artwork__text {
    min-height: 0;
  }
  .site-shell .ui-artwork__visual {
    min-height: 360px;
  }
  .site-shell .ui-artwork__visual img {
    max-height: 440px;
  }
  .site-shell .ui-products {
    padding: 56px 0;
  }
  .site-shell .ui-product {
    min-height: 0;
    padding: 16px;
  }
  .site-shell .ui-product__image {
    height: auto;
    aspect-ratio: 1.16;
  }
  .site-shell .ui-product__image img {
    height: 100%;
    width: 100%;
    object-fit: contain;
  }
  .site-shell .ui-product h3 {
    min-height: 0;
    margin: 14px 0;
    font-size: 16px;
  }
  .site-shell .ui-product__buttons {
    gap: 8px;
    flex-wrap: wrap;
  }
  .site-shell .ui-market {
    min-height: 44px;
    padding: 10px 12px;
    font-size: 13px;
  }
  .site-shell .ui-applications {
    padding: 70px 0;
  }
  .site-shell .ui-applications__top {
    gap: 22px;
  }
  .site-shell .ui-applications__top .ui-heading {
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.28;
  }
  .site-shell .ui-applications__grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    grid-template-rows: repeat(2, minmax(250px, auto));
    gap: 16px;
  }

  .site-shell .ui-reviews__top {
    gap: 24px;
    margin-bottom: 30px;
  }
  .site-shell .ui-reviews__title {
    flex: 0 1 auto;
  }
  .site-shell .ui-review {
    width: 100%;
  }
  .site-shell .ui-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 35px;
    min-height: 0;
    padding-block: 60px;
  }
  .site-shell .ui-footer--has-background {
    background-size: cover;
  }
}
@media (max-width: 767px) {
  .site-shell :is(.ui-container, .td-container) {
    width: calc(100% - 36px);
    margin-inline: auto;
  }
  .site-shell
    :is(
      .ui-about,
      .ui-difference,
      .ui-philosophy,
      .ui-certificates,
      .ui-artwork,
      .ui-products,
      .ui-applications,
      .ui-activities,
      .ui-reviews
    ) {
    scroll-margin-top: 82px;
  }
  .site-shell .ui-topbar,
  .site-shell .td-topbar {
    height: 6px !important;
  }
  .site-shell .ui-navigation,
  .site-shell .ui-navigation.is-stuck {
    height: 62px !important;
  }
  .site-shell .ui-navigation__inner {
    width: calc(100% - 30px);
    gap: 8px;
  }
  .site-shell .ui-navigation__brand {
    height: 60px;
  }
  .site-shell .ui-navigation__brand img,
  .site-shell .ui-navigation.is-stuck .ui-navigation__brand img {
    width: 122px;
    height: 52px;
  }
  .site-shell .ui-search > button {
    font-size: 18px;
  }
  .site-shell .ui-heading {
    font-size: clamp(23px, 5.9vw, 28px);
    line-height: 1.32;
    margin: 0 0 21px;
  }
  .site-shell .ui-pill {
    min-height: 44px;
    padding: 10px 20px;
    font-size: 14px;
  }
  .site-shell .ui-hero__slide {
    aspect-ratio: auto;
    min-height: clamp(380px, 112vw, 490px);
    padding: 55px 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }
  .site-shell .ui-hero__copy {
    width: 100%;
    max-width: 420px;
    padding: 8px 2px;
    text-align: center;
  }
  .site-shell .ui-hero__kicker {
    font-size: clamp(13px, 3.5vw, 16px);
    padding: 6px 22px;
  }
  .site-shell .ui-hero__copy h1,
  .site-shell .ui-hero__copy h2 {
    font-size: clamp(28px, 7.9vw, 43px);
    line-height: 1.16;
    letter-spacing: -0.5px;
    overflow-wrap: break-word;
    -webkit-text-stroke: 0.5px #168f91;
    text-shadow: 2px 3px 0 #08777a;
  }
  .site-shell .ui-hero__copy p {
    font-size: clamp(15px, 4.2vw, 19px);
    line-height: 1.5;
    margin-bottom: 20px;
  }
  .site-shell .ui-hero__controls {
    bottom: 14px;
    gap: 10px;
    font-size: 13px;
  }
  .site-shell .ui-hero__line {
    width: 64px;
  }
  .site-shell .ui-hero__controls button {
    font-size: 20px;
  }
  .site-shell .ui-about {
    min-height: 0;
    padding: 38px 0 44px;
  }
  .site-shell .ui-about__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 23px;
    min-height: 0;
  }
  .site-shell .ui-about__body h2 {
    font-size: clamp(23px, 5.6vw, 27px);
    line-height: 1.35;
    margin-bottom: 13px;
    overflow-wrap: break-word;
  }
  .site-shell .ui-about__body :is(p, .ui-copy) {
    font-size: 15px;
    line-height: 1.72;
    margin-bottom: 15px;
    text-align: left;
  }
  .site-shell .ui-about__body .ui-copy :is(p, div) {
    max-width: 100%;
    overflow-wrap: break-word;
  }
  .site-shell .ui-about__photo {
    height: auto;
    max-height: none;
    width: 100%;
    aspect-ratio: 729/443;
    object-fit: contain;
    border-radius: 14px;
  }
  .site-shell #site-main .ui-difference {
    width: 100%;
    max-width: 100%;
    margin: 0;
    transform: none;
    overflow: hidden;
  }
  .site-shell .ui-difference__image {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
  }
  .site-shell #site-main .ui-difference__copy {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    width: calc(100% - 36px);
    height: auto;
    max-width: 560px;
    margin: 0 auto;
    padding: 0 0 28px;
    gap: 7px;
    text-align: center;
    align-items: center;
  }
  .site-shell #site-main .ui-difference__copy h2 {
    width: 100%;
    min-height: 0;
    font-size: clamp(23px, 5.8vw, 29px);
    line-height: 1.32;
    text-align: center;
  }
  .site-shell #site-main .ui-difference__copy p {
    width: 100%;
    min-height: 0;
    font-size: 15px;
    line-height: 1.65;
    text-align: center;
  }
  .site-shell .ui-philosophy {
    min-height: 0;
    margin-top: 0;
    padding: 30px 18px;
    background-size: cover;
    background-position: center;
  }
  .site-shell .ui-philosophy__card {
    width: 100%;
    min-height: 0;
    padding: 25px 19px;
    border-radius: 18px;
    box-shadow: 0 9px 28px #167d8830;
  }
  .site-shell .ui-philosophy__card h2 {
    font-size: clamp(23px, 5.8vw, 28px);
    line-height: 1.3;
    margin: 0 0 13px;
  }
  .site-shell .ui-philosophy__card p,
  .site-shell .ui-philosophy__card .ui-copy {
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 16px;
  }
  .site-shell .ui-certificates {
    padding: 44px 0 46px;
  }
  .site-shell .ui-certificates__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }
  .site-shell .ui-certificates__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 480px;
    margin-inline: auto;
    padding: 7px 10px 14px;
    text-align: center;
  }
  .site-shell .ui-certificates__item img {
    width: min(100%, 230px);
    height: clamp(165px, 52vw, 230px);
    max-height: 230px;
    object-fit: contain;
    margin: 0 auto 14px;
  }
  .site-shell .ui-certificates__item h3 {
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 8px;
    overflow-wrap: break-word;
  }
  .site-shell .ui-certificates__item p {
    max-width: 420px;
    font-size: 14px;
    line-height: 1.65;
    margin: 0;
  }
  .site-shell #site-main .ui-artwork--full {
    width: 100%;
    max-width: 100%;
    margin: 0;
    transform: none;
  }
  .site-shell #site-main .ui-artwork--full > img {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
  }
  .site-shell .ui-artwork__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding-block: 36px;
    min-height: 0;
  }
  .site-shell .ui-artwork__text {
    min-height: 0;
    max-width: none;
    align-items: center;
    text-align: center;
    gap: 12px;
  }
  .site-shell .ui-artwork__text h2 {
    font-size: clamp(25px, 6.5vw, 33px);
  }
  .site-shell .ui-artwork__text p {
    font-size: 16px;
    line-height: 1.55;
  }
  .site-shell .ui-artwork__text .ui-copy {
    font-size: 15px;
    line-height: 1.65;
  }
  .site-shell .ui-artwork__visual {
    min-height: 0;
  }
  .site-shell .ui-artwork__visual img {
    max-width: 95%;
    max-height: 350px;
    height: auto;
  }
  .site-shell .ui-products {
    padding: 42px 0 48px;
    background-size: cover;
    background-position: center top;
  }
  .site-shell .ui-products__swiper {
    padding: 9px 5px 16px;
    margin: -9px -5px -16px;
  }
  .site-shell .ui-product {
    box-sizing: border-box;
    min-height: 0;
    border-radius: 17px;
    padding: 14px 14px 16px;
    box-shadow: 0 4px 17px #32b5b71e;
  }
  .site-shell .ui-product__image {
    width: 100%;
    height: auto;
    aspect-ratio: 1.2;
    min-height: 0;
    border-bottom: 1px solid #edf5f4;
  }
  .site-shell .ui-product__image img {
    width: 100%;
    height: 100%;
    max-height: 290px;
    object-fit: contain;
  }
  .site-shell .ui-product h3 {
    font-size: 14px;
    line-height: 1.55;
    min-height: 0;
    margin: 12px 0 14px;
    overflow-wrap: break-word;
  }
  .site-shell .ui-product__buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }
  .site-shell .ui-market {
    flex: 1 1 124px;
    min-width: 0;
    min-height: 44px;
    padding: 9px 10px;
    font-size: 12px;
    gap: 5px;
    white-space: normal;
    text-align: center;
  }
  .site-shell .ui-market i {
    font-size: 15px;
  }
  .site-shell .ui-progress {
    width: 124px;
    height: 5px;
    margin: 20px auto 0;
  }
  .site-shell .ui-applications {
    padding: 45px 0 50px;
    background-position: center top;
    background-size: cover;
  }
  .site-shell .ui-applications__top {
    display: block;
    margin-bottom: 24px;
  }
  .site-shell .ui-applications__top .ui-heading {
    text-align: center;
    margin-bottom: 12px;
    font-size: clamp(24px, 6vw, 29px);
    line-height: 1.35;
  }
  .site-shell .ui-applications__top > p {
    max-width: 530px;
    margin: 0 auto;
    text-align: center;
    font-size: 15px;
    line-height: 1.65;
  }
  .site-shell .ui-applications__grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    gap: 14px;
  }
  .site-shell .ui-applications__card {
    box-sizing: border-box;
    display: flex;
    grid-column: auto;
    grid-row: auto;
    min-height: 0;
    padding: 20px;
    border-radius: 17px;
    overflow: hidden;
  }

  .site-shell .ui-applications__card h3 {
    width: auto;
    margin: 0;
    font-size: 20px;
    line-height: 1.3;
  }
  .site-shell .ui-applications__card p {
    width: auto;
    max-width: 100%;
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
  }

  .site-shell .ui-activities {
    padding: 45px 0 50px;
  }
  .site-shell .ui-activities__lead {
    max-width: 570px;
    margin: 0 auto 19px;
    font-size: 15px;
    line-height: 1.65;
  }
  .site-shell .ui-activities__lane {
    margin-top: 12px;
  }
  .site-shell .ui-activities__track {
    gap: 12px;
  }
  .site-shell .ui-activities__track figure {
    width: clamp(180px, 68vw, 300px);
    height: auto;
    aspect-ratio: 4/3;
    border-left-width: 6px;
  }
  .site-shell .ui-reviews {
    padding: 45px 0 58px;
  }
  .site-shell .ui-reviews .ui-container {
    width: calc(100% - 36px);
    max-width: 100%;
  }
  .site-shell .ui-reviews__top {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
    height: auto;
    gap: 15px;
    margin: 0 0 24px;
  }
  .site-shell .ui-reviews__title {
    flex: none;
    min-width: 0;
    width: 100%;
    height: auto;
  }
  .site-shell .ui-reviews__top .ui-heading {
    margin: 0;
    text-align: left;
    font-size: clamp(23px, 5.7vw, 28px);
  }
  .site-shell .ui-reviews__meta {
    flex: 0 0 auto;
    min-width: 0;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
  }
  .site-shell .ui-reviews__avatars {
    width: auto;
    max-width: 110px;
  }
  .site-shell .ui-reviews__avatars img {
    width: 40px;
    height: 40px;
    margin-left: -9px;
  }
  .site-shell .ui-reviews__more {
    width: 38px;
    height: 38px;
    font-size: 17px;
  }
  .site-shell .ui-reviews__description {
    width: auto;
    min-width: 0;
    flex: 1 1 140px;
    font-size: 13px;
    line-height: 1.5;
  }
  .site-shell .ui-reviews__shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .site-shell .ui-reviews__shell .ui-arrow {
    display: none;
  }
  .site-shell .ui-reviews__swiper {
    width: 100%;
    padding: 8px 4px 14px;
    margin: -8px -4px -14px;
  }
  .site-shell .ui-reviews__static-list {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .site-shell .ui-reviews__static-item {
    flex: 0 0 auto;
    max-width: 100%;
    width: 100%;
  }
  .site-shell .ui-review {
    width: 100%;
    min-height: 230px;
    height: auto;
    padding: 20px;
    border-radius: 17px;
  }
  .site-shell .ui-review__head > span:first-child {
    font-size: 58px;
  }
  .site-shell .ui-review__stars {
    font-size: 15px;
    letter-spacing: 1px;
  }
  .site-shell .ui-review blockquote {
    font-size: 14px;
    line-height: 1.65;
    margin: 8px 0 14px;
  }
  .site-shell .ui-review__person {
    gap: 12px;
  }
  .site-shell .ui-review__person img {
    width: 46px;
    height: 46px;
  }
  .site-shell .ui-review__person strong {
    font-size: 15px;
  }
  .site-shell .ui-review__person span {
    font-size: 12px;
  }
  .site-shell .ui-footer--has-background {
    background-position: center;
    background-size: cover;
  }
  .site-shell .ui-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 18px;
    min-height: 0;
    padding-block: 45px 40px;
  }
  .site-shell .ui-footer__brand {
    grid-column: 1/-1;
    max-width: none;
  }
  .site-shell .ui-footer__logo {
    max-width: 154px;
    margin-bottom: 14px;
  }
  .site-shell .ui-footer__logo img {
    width: 154px;
    height: auto;
    max-height: 65px;
  }
  .site-shell .ui-footer__intro {
    font-size: 14px;
    line-height: 1.65;
    font-weight: 600;
    margin: 0 0 22px;
  }
  .site-shell .ui-footer__social {
    gap: 9px;
    flex-wrap: wrap;
  }
  .site-shell .ui-footer__social a {
    width: 40px;
    height: 40px;
  }
  .site-shell .ui-footer__column {
    min-width: 0;
  }
  .site-shell .ui-footer__column h2 {
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 12px;
  }
  .site-shell .ui-footer__column > a {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 10px;
    overflow-wrap: anywhere;
  }
  .site-shell .ui-footer__contact {
    grid-column: 1/-1;
  }
  .site-shell .ui-footer__rich,
  .site-shell .ui-footer__contact p {
    font-size: 13px;
    line-height: 1.7;
    overflow-wrap: anywhere;
  }
  .site-shell .ui-footer__contact p {
    gap: 9px;
    margin-bottom: 10px;
  }
  .site-shell .ui-footer__bottom {
    font-size: 11px;
    line-height: 1.5;
    padding: 14px 18px;
  }
  .site-shell .ui-buy-modal__panel {
    padding: 26px 19px;
  }
  .site-shell .ui-buy-modal__panel h2 {
    font-size: 23px;
  }
  .site-shell .ui-video-modal {
    padding: 14px;
  }
  .site-shell #hotline.btn-frame {
    left: 14px;
    right: auto;
    bottom: calc(16px + env(safe-area-inset-bottom));
    width: 42px;
    height: 42px;
    z-index: 95;
  }
  .site-shell #hotline.btn-frame i {
    width: 42px;
    height: 42px;
  }
  .site-shell #social {
    left: auto;
    right: 12px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    width: 42px;
    gap: 8px;
    z-index: 95;
  }
  .site-shell #social .btn-frame,
  .site-shell #social .btn-frame i {
    width: 42px;
    height: 42px;
  }
  .site-shell .social-template-4 {
    left: auto;
    right: 12px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    width: 42px;
    max-width: 42px;
    gap: 8px;
    z-index: 95;
  }
  .site-shell .social-template-4__item {
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
  }
  .site-shell .social-template-4__icon {
    width: 31px;
    height: 31px;
  }
  .site-shell .social-template-4__item img {
    max-width: 31px;
    max-height: 31px;
    object-fit: contain;
  }
  .site-shell .social-template-4__back-to-top {
    opacity: 0;
    pointer-events: none;
    max-height: 0;
    min-height: 0;
    transform: translateY(8px);
    transition:
      opacity 0.2s ease,
      transform 0.2s ease,
      max-height 0.2s ease;
  }
  .site-shell.ui-scrolled .social-template-4__back-to-top {
    opacity: 1;
    pointer-events: auto;
    max-height: 42px;
    min-height: 42px;
    transform: none;
  }
  .site-shell:has(.social-template-4) #social,
  .site-shell:has(.social-template-4) > .scrollToTop {
    display: none !important;
  }
  .site-shell.ui-menu-open
    :is(#hotline, #social, .social-template-4, .scrollToTop) {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}
@media (max-width: 390px) {
  .site-shell :is(.ui-container, .td-container) {
    width: calc(100% - 28px);
  }
  .site-shell .ui-navigation__inner {
    width: calc(100% - 24px);
  }
  .site-shell .ui-hero__copy h1,
  .site-shell .ui-hero__copy h2 {
    font-size: clamp(27px, 7.7vw, 32px);
  }
  .site-shell .ui-about__body h2 {
    font-size: 23px;
  }

  .site-shell .ui-market {
    font-size: 11px;
    padding-inline: 7px;
  }
  .site-shell .ui-footer__grid {
    gap: 23px 12px;
  }
  .site-shell #hotline.btn-frame {
    left: 10px;
  }
  .site-shell .social-template-4,
  .site-shell #social {
    right: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .site-shell .ui-animate-in.ui-pending {
    opacity: 1;
    transform: none;
  }
  .site-shell .ui-activities__track {
    animation: none !important;
    transform: none !important;
  }
  .site-shell .ui-mobile-menu {
    transition: none;
  }
}

/* LGP RP01–RP08: content-driven mobile/tablet layout, desktop unchanged. */
.lgp-site .lgp-mobile-menu-button,.lgp-site .lgp-sidebar-toggle,.lgp-site .lgp-mobile-dialog:not([open]){display:none}
@media(max-width:1200px){
 .lgp-site .lgp-nav.lgp-mobile-ready .lgp-nav-inner{flex-wrap:nowrap;gap:12px;min-height:76px;height:auto;padding-block:9px}
 .lgp-site .lgp-nav.lgp-mobile-ready .lgp-nav-tools{flex:0 1 auto;width:auto;min-width:0;margin-left:auto;gap:10px}
 .lgp-site .lgp-nav .lgp-nav-hotline{width:auto;height:auto;min-height:44px;padding:9px 14px;font:600 15px/22px LgpPoppins,Arial,sans-serif;font-synthesis:none;white-space:nowrap}
 .lgp-site :is(.lgp-mobile-menu-button,.lgp-mobile-menu-close){display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;padding:0;border:1px solid #d4dacd;border-radius:10px;background:#fff;color:#455b2c;cursor:pointer;font:500 18px/1 LgpPoppins,Arial,sans-serif;font-synthesis:none;box-sizing:border-box}
 .lgp-site .lgp-mobile-menu-button{background:#e6ebe0;border-color:#d4dacd}
 .lgp-site .lgp-mobile-menu-button svg{width:23px;height:23px;display:block}
 .lgp-site .lgp-mobile-dialog{position:fixed;inset:0 0 0 auto;margin:0;width:min(380px,calc(100% - 24px));height:100%;height:100dvh;max-height:none;max-width:none;padding:0 0 max(16px,env(safe-area-inset-bottom));border:0;border-radius:16px 0 0 16px;background:#fcfcfa;color:#20251c;overflow:auto;overscroll-behavior:contain;box-sizing:border-box;font:400 16px/24px LgpPoppins,Arial,sans-serif;font-synthesis:none;box-shadow:-12px 0 40px #18230e26}
 .lgp-site .lgp-mobile-dialog::backdrop{background:rgba(17,24,12,.6)}
 .lgp-site .lgp-mobile-dialog-head{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0;padding:16px 18px;background:#455b2c;color:#fff;font:700 22px/30px LgpPoppins,Arial,sans-serif;box-sizing:border-box}
 .lgp-site .lgp-mobile-dialog-head span{font:inherit;letter-spacing:normal;text-transform:none}
 .lgp-site .lgp-mobile-menu-close{position:relative;background:#ffffff14;color:#fff;border-color:#ffffff55;font-size:0}
 .lgp-site .lgp-mobile-menu-close::before,.lgp-site .lgp-mobile-menu-close::after{content:"";position:absolute;left:50%;top:50%;width:19px;height:2px;background:currentColor;border-radius:2px;transform:translate(-50%,-50%) rotate(45deg)}
 .lgp-site .lgp-mobile-menu-close::after{transform:translate(-50%,-50%) rotate(-45deg)}
 .lgp-site .lgp-mobile-dialog .lgp-menu{display:block;width:100%;max-width:none;min-width:0;margin:0;padding:12px 12px 16px;box-sizing:border-box}
 .lgp-site .lgp-mobile-dialog .lgp-menu li{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:0;border-bottom:1px solid #e6ebe0;padding:0;min-width:0}
 .lgp-site .lgp-mobile-dialog .lgp-menu a{display:flex;align-items:center;min-height:52px;padding:12px 12px;color:#20251c;font:500 16px/24px LgpPoppins,Arial,sans-serif;font-synthesis:none;letter-spacing:normal;white-space:normal;overflow-wrap:anywhere;text-transform:none;box-sizing:border-box;text-decoration:none}
 .lgp-site .lgp-mobile-dialog .lgp-menu a.lgp-active{color:#c3161c;background:#fbecec;border-radius:8px;font-weight:600}
 .lgp-site .lgp-mobile-dialog .lgp-menu li:has(>a.lgp-active){border-color:transparent}
 .lgp-site .lgp-mobile-dialog .lgp-menu .lgp-subtoggle{display:grid;place-items:center;position:static;transform:none;opacity:1;width:44px;height:44px;padding:0;margin:0 4px 0 0;border:1px solid transparent;border-radius:8px;background:transparent;color:#455b2c;font-size:0;cursor:pointer}
 .lgp-site .lgp-mobile-dialog .lgp-menu .lgp-subtoggle::after{content:"";display:block;width:9px;height:9px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-2px) rotate(45deg);transition:transform .18s ease}
 .lgp-site .lgp-mobile-dialog .lgp-menu .lgp-subtoggle[aria-expanded=true]{transform:none;background:#e6ebe0;border-color:#d4dacd}
 .lgp-site .lgp-mobile-dialog .lgp-menu .lgp-subtoggle[aria-expanded=true]::after{transform:translateY(2px) rotate(225deg)}
 .lgp-site .lgp-mobile-dialog .lgp-menu .lgp-dropdown{position:static;grid-column:1/-1;display:none;width:auto;min-width:0;max-width:none;margin:0 6px 8px 12px;padding:0 0 0 8px;border:0;border-left:2px solid #d4dacd;box-shadow:none;background:transparent}
 .lgp-site .lgp-mobile-dialog .lgp-menu .lgp-has-menu.lgp-open>.lgp-dropdown{display:block}
 .lgp-site .lgp-mobile-dialog .lgp-menu .lgp-dropdown a{font-size:15px;line-height:23px;min-height:46px;padding:10px 8px}
 .lgp-site .lgp-mobile-dialog .lgp-menu .lgp-dropdown li:last-child{border-bottom:0}
 .lgp-site .lgp-mobile-dialog :is(a,button):focus-visible,.lgp-site .lgp-mobile-menu-button:focus-visible{outline:2px solid #c3161c;outline-offset:-2px}
 .lgp-site .lgp-mobile-dialog-head .lgp-mobile-menu-close:focus-visible{outline-color:#fff}
 @media(hover:hover){.lgp-site .lgp-mobile-dialog .lgp-menu a:hover{color:#c3161c;background:#f1f3ed;border-radius:8px}.lgp-site .lgp-mobile-menu-button:hover{background:#d4dacd}}
 html.lgp-mobile-nav-open{overflow:hidden}
 .lgp-site :is([id^=site-],#form-contact){scroll-margin-top:88px}
}
@media(max-width:991px){
 .lgp-site .product-list-layout.lgp-sidebar-ready{grid-template-columns:minmax(0,1fr);gap:16px}
 .lgp-site .lgp-sidebar-ready .product-list-sidebar{position:static;grid-row:1;min-width:0}
 .lgp-site .lgp-sidebar-ready .lgp-sidebar-toggle{display:flex;justify-content:space-between;align-items:center;width:100%;min-height:44px;padding:10px 14px;border:1px solid #d4dacd;border-radius:8px;background:#e6ebe0;color:#455b2c;font-size:15px;font-weight:600;cursor:pointer;text-align:left}
 .lgp-site .lgp-sidebar-ready .lgp-sidebar-panel{padding-top:12px}
 .lgp-site .lgp-sidebar-ready .lgp-sidebar-toggle[aria-expanded=false]+.lgp-sidebar-panel{display:none}
 .lgp-site .lgp-sidebar-ready .product-list-category a{min-height:44px;display:flex;align-items:center}
 .lgp-site .lgp-sidebar-ready .product-list-filter .item-search{min-height:44px}
 .lgp-site .site-product-listing:has(.lgp-sidebar-ready) .site-listing__heading .filter{display:none}
 .lgp-site #site-consultation .lgp-consultation-fields input,.lgp-site #site-consultation .lgp-consultation-fields textarea{font-size:16px;line-height:24px}
}
@media(max-width:768px){
 .lgp-site .lgp-nav.lgp-mobile-ready .lgp-nav-inner{width:calc(100% - 24px);gap:8px;min-height:72px}
 .lgp-site .lgp-nav .lgp-logo{flex-basis:96px;width:96px;height:54px}
 .lgp-site .lgp-nav.lgp-mobile-ready .lgp-nav-tools{gap:8px}
 .lgp-site .lgp-nav .lgp-nav-hotline{font:600 13px/19px LgpPoppins,Arial,sans-serif;padding:8px 10px;white-space:normal;overflow-wrap:anywhere;text-align:center;min-width:0;border-radius:8px}
 .lgp-site .lgp-topbar{font:400 12px/18px LgpPoppins,Arial,sans-serif}
 .lgp-site .lgp-topbar .lgp-topbar-inner{width:calc(100% - 28px);align-items:flex-start;gap:5px;padding-block:8px}
 .lgp-site .lgp-topbar .lgp-topbar-item{font:400 12px/18px LgpPoppins,Arial,sans-serif;justify-content:flex-start;text-align:left;align-items:flex-start;gap:7px;max-width:100%}
 .lgp-site .lgp-topbar .lgp-topbar-item svg{flex:0 0 14px;width:14px;height:14px;margin-top:2px}
 .lgp-site .lgp-hero-slide{min-height:330px;padding:24px 14px;background-position:center}
 .lgp-site .lgp-hero-copy{box-sizing:border-box;width:min(100%,460px);padding:16px;background:rgba(255,255,255,.91);border-radius:10px}
 .lgp-site .lgp-hero-copy :is(h1,h2){font-size:clamp(23px,5.7vw,32px);line-height:1.25;margin:8px 0;overflow-wrap:anywhere}
 .lgp-site .lgp-hero-copy p{font-size:14px;line-height:21px;margin-bottom:14px}
 .lgp-site .lgp-btn{min-height:44px}
 .lgp-site :is(#site-services,#site-why,#site-products,#site-process,#site-pricing,#site-projects,#site-news) .lgp-heading{font-size:clamp(24px,6vw,30px);line-height:1.35}
 .lgp-site #site-services .lgp-services-heading p,.lgp-site #site-pricing .lgp-pricing-heading p,.lgp-site #site-projects .lgp-projects-heading p{font-size:15px;line-height:1.6}
 /* Service card typography is shared in style.css. */
 .lgp-site #site-about .lgp-about-copy h2{font-size:25px;line-height:1.4}
 .lgp-site #site-about .lgp-about-desc{font-size:15px;line-height:1.65}
 .lgp-site #site-why .lgp-why-grid{gap:18px 12px}
 .lgp-site #site-why .lgp-why-item h3{font-size:15px;line-height:22px}
 .lgp-site #site-products .lgp-tabs button,.lgp-site #site-pricing .lgp-price-tabs button{min-height:44px;font-size:14px;padding:8px 12px}
 .lgp-site #site-products .lgp-product-card{height:100%;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:8px;padding:10px}
 .lgp-site #site-products .lgp-product-grid{align-items:stretch}
 .lgp-site #site-products .lgp-product-image{position:static;width:100%;height:auto;aspect-ratio:347/241;flex:none}
 .lgp-site #site-products .lgp-product-image img{object-fit:scale-down}
 .lgp-site #site-products .lgp-product-copy{flex:1;min-height:0;justify-content:flex-start}
 .lgp-site #site-products .lgp-product-copy h3{font-size:14px;line-height:21px;height:63px;min-height:63px;-webkit-line-clamp:3}
 .lgp-site #site-products .lgp-product-copy p{font-size:13px;line-height:19px;height:19px;min-height:19px;margin-bottom:8px}
 .lgp-site #site-products .lgp-product-copy .lgp-btn{margin-top:auto;min-height:44px;height:auto;padding:8px 4px;font-size:13px;line-height:18px}
 .lgp-site #site-products .lgp-product-scroll{grid-template-rows:repeat(2,auto);grid-auto-rows:auto}
 /* Mobile process: compact horizontal steps, all content remains visible. */
 .lgp-site #site-process{padding:24px 0}
 .lgp-site #site-process .lgp-process-box{padding:18px 10px}
 .lgp-site #site-process .lgp-heading{margin-bottom:16px}
 .lgp-site #site-process .lgp-process-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:none;gap:8px}
 .lgp-site #site-process .lgp-step{min-height:0;padding:4px;border-radius:7px}
 .lgp-site #site-process .lgp-step-body{display:grid;grid-template-columns:36px minmax(0,1fr);align-items:start;gap:10px;min-height:0;padding:10px;border-radius:5px}
 .lgp-site #site-process .lgp-step:has(.lgp-step-icon) .lgp-step-body{min-height:78px}
 .lgp-site #site-process .lgp-step-number{height:auto;min-height:0;justify-content:center;font-size:26px;line-height:30px}
 .lgp-site #site-process .lgp-step-icon{top:47px;left:18px;right:auto;width:28px;height:28px}
 .lgp-site #site-process .lgp-step-copy{gap:3px}
 .lgp-site #site-process .lgp-step-copy h3{font-size:15px;line-height:21px}
 .lgp-site #site-process .lgp-step-copy p{font-size:14px;line-height:20px}
 .lgp-site #site-consultation .lgp-consultation-body{padding:18px;margin:10px}
 .lgp-site #site-consultation .lgp-form-row{grid-template-columns:minmax(0,1fr)}
 .lgp-site #site-consultation .lgp-consultation-heading h2{font-size:26px;line-height:1.35}
 .lgp-site #site-consultation .lgp-consultation-privacy{font-size:12px;line-height:18px}
 .lgp-site #site-projects .lgp-projects-window{width:calc(100% - 28px);height:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;padding-bottom:8px}
 .lgp-site #site-projects .lgp-projects-track{height:auto;justify-content:flex-start;min-width:100%;gap:14px}
 .lgp-site #site-projects .lgp-project-card,.lgp-site #site-projects .lgp-project-card.is-lower{flex:0 0 min(400px,calc(100vw - 28px));width:min(400px,calc(100vw - 28px));height:auto;min-height:0;transform:none;animation:none;scroll-snap-align:start}
 .lgp-site #site-projects .lgp-project-photo{height:auto;aspect-ratio:366/220}
 .lgp-site #site-projects .lgp-project-copy{height:auto;min-height:82px}
 .lgp-site #site-projects .lgp-project-copy h3{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:17px;line-height:24px}
 .lgp-site #site-news .lgp-news-window{--news-row:148px;--news-row-gap:14px;--news-window:634px}
 .lgp-site #site-news .lgp-news-card{grid-template-columns:minmax(0,40%) minmax(0,1fr);gap:12px}
 .lgp-site #site-news .lgp-news-card h3{font-size:15px;line-height:22px;-webkit-line-clamp:3}
 .lgp-site #site-news .lgp-news-more{min-height:44px}
 .lgp-site #site-news .lgp-news-image{height:auto;aspect-ratio:374/250}
 .lgp-site .lgp-footer{padding-bottom:calc(76px + env(safe-area-inset-bottom))}
 .lgp-site .lgp-footer-form input[type=tel]{font-size:16px}
 .lgp-site .lgp-footer-policies a{display:inline-flex;align-items:center;min-height:44px}
 .lgp-site .lgp-footer-contact-copy,.lgp-site .lgp-footer-policies{overflow-wrap:anywhere}
 .lgp-site #hotline.btn-frame,.lgp-site #hotline.btn-frame i{width:44px;height:44px}
 .lgp-site #hotline.btn-frame{bottom:calc(10px + env(safe-area-inset-bottom));left:10px}
 .lgp-site .scrollToTop.td-back-top{width:44px;height:44px;right:10px;bottom:calc(10px + env(safe-area-inset-bottom))}
 .lgp-site:has(:is(input:not([type=checkbox]):not([type=radio]),textarea,select):focus) :is(#hotline,#social,.social-template-4,.scrollToTop){visibility:hidden;pointer-events:none}
 .site-shell.td-site.lgp-site .lgp-inner-page :is(.content-main,.article-cke-content,.baonoidung,.dap-detail-content) img{max-width:100%;height:auto}
 .site-shell.td-site.lgp-site .lgp-inner-page :is(.site-contact__fields,.site-contact__form-card,.lgp-recruitment-form) :is(input:not([type=hidden]):not([type=checkbox]),textarea,select){max-width:100%;min-width:0;font-size:16px;min-height:44px}
 .lgp-site .lgp-inner-page .pagination{flex-wrap:wrap;gap:4px}
 .lgp-site .lgp-inner-page .pagination .page-link{min-height:40px;display:flex;align-items:center}
}
@media(max-width:479px){
 .lgp-site #site-process .lgp-process-grid{grid-template-columns:minmax(0,1fr)}
 .lgp-site #site-about .lgp-about-lower{flex-direction:column;align-items:stretch}
 .lgp-site #site-about .lgp-about-small-frame{width:min(160px,52%);flex:none;align-self:center}
 .lgp-site #site-about .lgp-about-lower-copy{width:100%;padding:0;align-items:flex-start}
}
@media(max-width:360px){
 .lgp-site .lgp-nav .lgp-logo{flex-basis:65px;width:65px}
 .lgp-site #site-products{--lgp-product-cols:1}
 .lgp-site #site-products .lgp-product-copy h3{height:auto;min-height:42px;-webkit-line-clamp:2}
}
@media(prefers-reduced-motion:reduce){.lgp-site .lgp-mobile-dialog *{scroll-behavior:auto}}
@media(min-width:769px) and (max-width:991px){
 .lgp-site #site-consultation{grid-template-columns:minmax(0,1fr);min-height:0}
 .lgp-site #site-consultation .lgp-consultation-media{min-height:0;aspect-ratio:16/9;border-radius:20px 20px 0 0}
 .lgp-site #site-consultation .lgp-consultation-body{min-height:0;margin:20px}
 .lgp-site #site-products{--lgp-product-cols:3}
 .lgp-site #site-news .lgp-news-window{--news-cols:1;--news-row:160px;--news-row-gap:18px;--news-window:694px}
 .lgp-site #site-news .lgp-news-track{grid-template-columns:minmax(0,1fr)}
 .lgp-site #site-news .lgp-news-card{grid-template-columns:minmax(0,42%) minmax(0,1fr)}
}
@media(max-width:768px){
 .lgp-site #site-projects .lgp-projects-window::-webkit-scrollbar{display:block;height:5px}
 .lgp-site #site-projects .lgp-projects-window::-webkit-scrollbar-thumb{background:#aeb8a2;border-radius:6px}
 .lgp-site #site-projects .lgp-projects-window::-webkit-scrollbar-track{background:#e6ebe0}
 .lgp-site .lgp-inner-page .lgp-quick-register{width:calc(100% - 28px)}
}

.site-shell.td-site.lgp-site .lgp-inner-page :is(.content-main,.article-cke-content,.baonoidung,.dap-detail-content) .lgp-responsive-table{width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain}
@media(max-width:991px){
 .site-shell.td-site.lgp-site .site-product-listing:is(.product-list-page-san-pham,.product-list-page-vat-tu,.product-list-page-tim-kiem) .site-listing__heading .filter{display:none}
}

/* Footer: center only the logo in the single-column mobile layout. */
@media(max-width:575px){
 .lgp-site .lgp-footer-brand .lgp-footer-logo{align-self:center;margin-inline:auto}
}

/* Keep the brand and touch controls legible on the narrowest screens. */
@media(max-width:360px){
 .lgp-site .lgp-nav .lgp-logo{flex-basis:82px;width:82px;height:46px}
 .lgp-site .lgp-nav.lgp-mobile-ready .lgp-nav-tools{gap:6px}
 .lgp-site .lgp-nav .lgp-nav-hotline{font-size:12px;padding-inline:8px}
}
@media(prefers-reduced-motion:reduce){.lgp-site .lgp-mobile-dialog .lgp-menu .lgp-subtoggle::after{transition:none}}

/* LGP desktop: fluid Figma proportions, no page zoom or scale. */
@media (min-width:1201px) {
 .site-shell.lgp-site {--lgp-desktop-width:min(1440px, max(1152px, 75vw), calc(100% - 48px));}
 .lgp-site .lgp-container,
 .lgp-site #site-products,
 .lgp-site #site-pricing,
 .lgp-site #site-process .lgp-process-box,
 .lgp-site #site-consultation,
 .lgp-site .lgp-footer-inner,
 .lgp-site .lgp-footer-map {width:var(--lgp-desktop-width)}
 .lgp-site #site-news .lgp-news-container {width:min(1429px,var(--lgp-desktop-width))}
 .site-shell.td-site.lgp-site .lgp-inner-page :is(.lgp-container,.site-container,.wrap-content,.dap-services__container,.dap-projects-articles__container,.dap-detail-container),
 .site-shell.td-site.lgp-site .site-page-hero--breadcrumb-only .site-container,
 .lgp-site .lgp-inner-page .lgp-quick-register {width:var(--lgp-desktop-width)}
 .lgp-site .lgp-topbar {height:clamp(37px,2.448vw,47px);font-size:clamp(14px,.9375vw,18px);line-height:1.5}
 .lgp-site .lgp-topbar .lgp-topbar-inner {width:var(--lgp-desktop-width);margin-inline:auto;height:auto;gap:18px}
 .lgp-site .lgp-nav .lgp-nav-inner {height:clamp(82px,5.73vw,110px);padding-block:10px;gap:clamp(12px,1.6vw,30px)}
 .lgp-site .lgp-nav .lgp-logo {flex:0 0 clamp(100px,7.03125vw,135px);width:clamp(100px,7.03125vw,135px);height:auto;aspect-ratio:135/75.98}
 .lgp-site .lgp-nav .lgp-menu {flex:1 1 auto;max-width:none;gap:clamp(6px,.75vw,14px)}
 .lgp-site .lgp-nav .lgp-menu > li > a {font-size:clamp(12px,.9375vw,18px);line-height:1.5;padding-block:12px}
 .lgp-site .lgp-nav .lgp-nav-tools {flex:0 0 clamp(174px,12.5vw,240px);width:clamp(174px,12.5vw,240px)}
 .lgp-site .lgp-nav .lgp-nav-hotline {width:100%;height:clamp(44px,3.073vw,59px);display:flex;align-items:center;justify-content:center;padding:8px;font-size:clamp(13px,.9375vw,18px);line-height:1.5}
 .lgp-site .lgp-hero-slide {padding-inline:max(24px,calc((100% - min(1440px,max(1152px,75vw)))/2));padding-block:20px}
 .lgp-site .lgp-hero-copy {width:min(690px,49%);min-width:0}
 .lgp-site .lgp-hero-copy :is(h1,h2) {font-size:clamp(32px,2.5vw,48px);line-height:1.2;margin:10px 0 14px;overflow-wrap:break-word;text-wrap:balance}
 .lgp-site .lgp-hero-copy .lgp-kicker {font-size:clamp(19px,1.46vw,28px);line-height:1.35}
 .lgp-site .lgp-hero-copy p {font-size:clamp(14px,.9375vw,18px);line-height:1.5;margin-bottom:22px}
 .lgp-site .lgp-hero-copy .lgp-btn {font-size:clamp(13px,.78125vw,15px);padding:10px 20px}
}
@media (min-width:1201px) and (max-width:1919px) {
 .lgp-site :is(#site-services,#site-why,#site-products,#site-pricing,#site-projects,#site-news) .lgp-heading,
 .lgp-site #site-about .lgp-about-copy h2 {font-size:clamp(30px,2.08333vw,40px);line-height:1.4}
 .lgp-site #site-process .lgp-heading {font-size:clamp(32px,2.5vw,48px);line-height:1.3}
 .lgp-site :is(#site-services .lgp-services-heading,#site-pricing .lgp-pricing-heading,#site-projects .lgp-projects-heading) p {font-size:clamp(15px,.9375vw,18px);line-height:1.5}
 .lgp-site #site-why .lgp-why-stage:not(.lgp-why-stage--no-machine) {min-height:0}
 .lgp-site #site-products {--lgp-card-height:clamp(350px,21.823vw,419px)}
 .lgp-site #site-products .lgp-product-card {padding:16px 18px}
 .lgp-site #site-products .lgp-product-image {position:static;height:auto;aspect-ratio:347/241;flex:1 1 auto;min-height:0}
 .lgp-site #site-products .lgp-product-copy {flex:0 0 auto}
 .lgp-site #site-products .lgp-product-copy h3 {font-size:16px;line-height:24px;height:48px;min-height:48px}
 .lgp-site .lgp-footer-grid {grid-template-columns:minmax(0,360fr) minmax(0,354fr) minmax(0,180fr) minmax(0,320fr);gap:clamp(16px,2vw,36px)}
 .site-shell.td-site.lgp-site .lgp-inner-page :is(.lgp-inner-heading,.dap-listing-page-title h1,.site-listing__heading h1,.site-contact__head h1,.dap-detail-title,.about-template h1,.title-detail h1) {font-size:clamp(30px,2.08333vw,40px);line-height:1.4}
}
@media (min-width:1920px) {
 .lgp-site .lgp-nav .lgp-nav-inner {gap:43px;padding-block:17px}
 .lgp-site .lgp-nav .lgp-menu {flex:1 1 979px;max-width:979px;gap:clamp(12px,1.1vw,21px)}
 .lgp-site .lgp-nav .lgp-menu > li > a {padding-block:16px}
 .lgp-site #site-products {width:min(1442px,calc(100% - 48px))}
 .lgp-site #site-pricing {width:min(1441px,calc(100% - 48px))}
}
