@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__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__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 :is(h2, 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;
  }
}

/* THÀNH CÔNG — responsive only; Figma desktop dimensions scale fluidly. */
@media (max-width:1350px){
 .site-shell .tc-nav__menu{gap:11px}
 .site-shell .tc-nav__menu a{font-size:12px}
 .site-shell .tc-about__grid{gap:46px}
 .site-shell .tc-about__photos{min-height:500px}
 .site-shell .tc-about__main-photo{height:455px}
 .site-shell .tc-footer__grid{gap:30px}
}
@media (max-width:1150px){
 .site-shell .tc-nav__top{min-height:80px}
 .site-shell .tc-nav__brand img{max-height:65px}
 .site-shell .tc-nav__toggle{display:inline-flex}
 .site-shell .tc-nav__menu-shell{display:none;max-height:calc(100vh - 80px);overflow-y:auto;box-shadow:0 14px 30px #101a2727}
 .site-shell .tc-nav__menu-shell.is-open{display:block}
 .site-shell .tc-nav__menu{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:12px 0 19px;min-height:0}
 .site-shell .tc-nav__menu>a,.site-shell .tc-nav__dropdown>a{display:flex;width:100%;padding:13px 4px;border-bottom:1px solid #ebeff3;font-size:15px}
 .site-shell .tc-nav__dropdown{flex:auto}
 .site-shell .tc-nav__submenu{display:block;position:static;opacity:1;visibility:visible;transform:none;pointer-events:auto;box-shadow:none;border:0;border-radius:0;padding:0 0 3px 16px;min-width:0}
 .site-shell .tc-nav__submenu a{padding:9px 10px;font-size:14px}
 .site-shell .tc-nav__subchildren{display:block;position:static;max-height:none;overflow:visible;box-shadow:none;width:auto;border:0;padding-left:14px}
 .site-shell .tc-nav__level-three{padding-left:28px}
 .site-shell .tc-about__grid{gap:35px}
 .site-shell .tc-about__main-photo{height:400px}
 .site-shell .tc-about__photos{min-height:438px}
 .site-shell .tc-services__grid{gap:15px}
 .site-shell .tc-service__name{font-size:17px}
 .site-shell .tc-contact-band__grid{min-height:0}
 .site-shell .tc-faq{min-height:0}
 .site-shell .tc-faq{padding:38px 28px}
 .site-shell .tc-consultation{padding:36px 30px}
 .site-shell .tc-activities__grid{grid-template-columns:300px minmax(0,1fr);gap:25px}
 .site-shell .tc-activities h2{font-size:34px;line-height:1.3}
 .site-shell .tc-activities__copy{padding-top:25px}
 .site-shell .tc-footer__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:35px}
}
@media (max-width:850px){
 .site-shell .tc-wrap{width:min(100% - 32px,1440px)}
 .site-shell .tc-section{padding:65px 0}
 .site-shell .tc-section-heading{margin-bottom:30px}
 .site-shell .tc-section-heading p{font-size:15px}
 .site-shell .tc-nav__tools{gap:13px}
 .site-shell .tc-nav__search{width:240px;max-width:40vw}
 .site-shell .tc-nav__consult{display:none}
 .site-shell .tc-hero__slides{min-height:430px;aspect-ratio:16/9}
 .site-shell .tc-hero__content{width:62%}
 .site-shell .tc-hero__content :is(h1,h2){font-size:clamp(28px,4vw,42px)}
 .site-shell .tc-hero__content p{font-size:17px}
 .site-shell .tc-about__grid{grid-template-columns:1fr}
 .site-shell .tc-about__photos{min-height:0;height:450px;max-width:650px;width:100%;margin:auto}
 .site-shell .tc-about__main-photo{height:425px}
 .site-shell .tc-about__copy{max-width:700px}
 .site-shell .tc-project-track{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 15px}
 .site-shell .tc-process__step{flex-basis:calc((100% - 24px)/2)}
 .site-shell .tc-activities__grid{grid-template-columns:minmax(0,1fr);gap:25px}
 .site-shell .tc-activities__copy{max-width:600px;padding-top:0}
 .site-shell .tc-activities__carousel{width:calc(100% + 16px)}
 .site-shell .tc-activities__track a{flex-basis:min(466px,75vw);width:min(466px,75vw);height:auto}
 .site-shell .tc-contact-band__grid{grid-template-columns:1fr;max-width:720px}
 .site-shell .tc-faq{min-height:0;border-radius:14px 14px 0 0}
 .site-shell .tc-consultation{padding:38px 32px}
 .site-shell .tc-faq__items{max-height:375px}
 .site-shell .tc-videos__track{padding-inline:16px}
 .site-shell .tc-video{flex-basis:82vw}
 .site-shell .tc-news__card{flex-basis:calc((100% - 18px)/2)}
}
@media (max-width:600px){
  /* Thanh thông tin giữ cao 41px, chỉ thu gọn mục khi thiếu chiều ngang. */
  .site-shell .tc-header__strip,.site-shell .tc-header__strip-inner{height:41px;min-height:41px}
  .site-shell .tc-header__strip-inner{justify-content:center}
  .site-shell .tc-header__meta{width:auto;max-width:100%;height:27.73px;gap:12px;justify-content:center;font-size:11px}
  .site-shell .tc-header .tc-header__item--address,.site-shell .tc-header .tc-header__item--email{display:none}
  .site-shell .tc-header__divider{display:none}
  .site-shell .tc-header__divider--last{display:block;height:20px}
  .site-shell .tc-header__item--hours{width:auto;max-width:160px}
  .site-shell .tc-header__item--phone{width:auto;max-width:145px}
 .site-shell .tc-nav__top{min-height:72px;gap:10px}
 .site-shell .tc-nav__brand{min-width:0;max-width:155px;min-height:54px;font-size:13px}
 .site-shell .tc-nav__brand img{max-height:55px}
 .site-shell .tc-nav__tools{gap:9px}
 .site-shell .tc-nav__search{width:38px;max-width:38px;height:38px;border:0;background:transparent}
 .site-shell .tc-nav__search input{position:absolute;right:16px;top:70px;z-index:10;width:min(310px,calc(100vw - 32px));height:43px;border:1px solid #e6ecf2;border-radius:7px;background:#fff;box-shadow:0 8px 15px #11203420;visibility:hidden;opacity:0;transition:opacity .2s}
 .site-shell .tc-nav__search:focus-within input{visibility:visible;opacity:1}
 .site-shell .tc-nav__search button{min-width:38px;height:38px;border-radius:6px;font-size:16px}
 .site-shell .tc-nav__language{font-size:12px}
 .site-shell .tc-nav__toggle{width:40px;height:40px}
 .site-shell .tc-section{padding:51px 0}
 .site-shell .tc-section-heading h2,.site-shell .tc-activities h2,.site-shell .tc-consultation h2,.site-shell .tc-faq h2,.site-shell .tc-process h2{font-size:27px}
 .site-shell .tc-section-heading p{font-size:14px}
 .site-shell .tc-button{font-size:14px;min-height:46px;padding:12px 22px}
 .site-shell .tc-hero{background:#fff}
 .site-shell .tc-services__grid{gap:18px 12px}
 .site-shell .tc-service{gap:8px}
 .site-shell .tc-service__name{font-size:14px}
 .site-shell .tc-about__photos{height:300px}
 .site-shell .tc-about__main-photo{height:285px}
 .site-shell .tc-about__second-photo{height:145px;border-width:5px}
 .site-shell .tc-about__copy h2{font-size:28px}
 .site-shell .tc-about__numbers{gap:9px}
 .site-shell .tc-number{min-height:110px;padding:16px}
 .site-shell .tc-number strong{font-size:29px}
 .site-shell .tc-number span{font-size:12px}
 .site-shell .tc-filters{justify-content:flex-start}
 .site-shell .tc-filters button{font-size:12px;padding:8px 12px}
 .site-shell .tc-project-track{grid-template-columns:minmax(0,1fr);gap:18px}
 .site-shell .tc-wide-carousel__item{flex-basis:77vw}
 .site-shell .tc-wide-carousel__track{gap:12px;padding-inline:16px}
 .site-shell .tc-carousel-prev,.site-shell .tc-carousel-next{height:39px;width:39px}
 .site-shell .tc-carousel-prev{left:6px}.site-shell .tc-carousel-next{right:6px}
 .site-shell .tc-process__heading{display:block;margin-bottom:22px}
 .site-shell .tc-process h2{max-width:none}
 .site-shell .tc-process__heading p{font-size:14px}
 .site-shell .tc-process__track{gap:13px}
 .site-shell .tc-process__step{flex-basis:84%;min-width:0}
 .site-shell .tc-process__panel{min-height:158px}
 .site-shell .tc-activities h2{font-size:27px;line-height:1.35}
 .site-shell .tc-activities p{font-size:15px;line-height:1.6;margin-bottom:20px}
 .site-shell .tc-activities__track a{flex-basis:84vw;width:84vw;max-width:466px}
 .site-shell .tc-activities__arrows{gap:18px;margin-top:20px}
 .site-shell .tc-activities__arrows button{width:45px;height:45px;flex-basis:45px}
 .site-shell .tc-contact-band{padding-top:34px}
 .site-shell .tc-faq,.site-shell .tc-consultation{padding:27px 21px}
 .site-shell .tc-faq__item summary{padding:13px;font-size:14px;line-height:1.5;min-height:0}
 .site-shell .tc-faq__item[open] summary{font-size:16px;line-height:1.5}
 .site-shell .tc-faq__item p{font-size:14px;line-height:1.6}
 .site-shell .tc-faq h2{font-size:27px;line-height:1.35;margin-bottom:22px}
 .site-shell .tc-consultation h2{font-size:27px;line-height:1.4}
 .site-shell .tc-consultation{padding:27px 21px}
 .site-shell .tc-field{font-size:14px;line-height:1.5}
 .site-shell .tc-field-row{grid-template-columns:1fr;gap:17px}
 .site-shell .tc-field{font-size:14px}
 .site-shell .tc-video{flex-basis:90vw}
 .site-shell .tc-video__play{width:51px;height:51px}
 .site-shell .tc-video__caption{left:12px;bottom:11px;font-size:13px}
 .site-shell .tc-news__carousel{gap:10px}
 .site-shell .tc-news__card{flex-basis:85%}
 .site-shell .tc-news__arrow{width:30px;height:37px;flex-basis:30px;font-size:14px}
 .site-shell .tc-news__caption{inset:14px}

 .site-shell .tc-news__caption h3{font-size:17px}
 .site-shell .tc-footer{padding-top:50px}
 .site-shell .tc-footer__grid{grid-template-columns:1fr;gap:25px;padding-bottom:38px}
 .site-shell .tc-footer__column{gap:9px}
 .site-shell .tc-footer__social{margin-top:15px}
 .site-shell .tc-call{left:14px;bottom:15px;padding:11px 13px;font-size:12px}
 .site-shell .tc-video-modal{padding:12px}
}
@media(prefers-reduced-motion:reduce){
 .site-shell .tc-reveal.tc-pending{opacity:1;transform:none;transition:none}
 .site-shell .tc-hero__slide,.site-shell .tc-hero__content,.site-shell .tc-button,.site-shell .tc-call{transition:none;animation:none}
 .site-shell :is(.tc-wide-carousel__track,.tc-news__track,.tc-activities__track,.tc-videos__track){scroll-behavior:auto}
}

@media (max-width:375px){
  .site-shell .tc-header .tc-header__item--hours,.site-shell .tc-header__divider--last{display:none}
  .site-shell .tc-header__meta{max-width:100%}
}
/* Keep Figma desktop exact at 1920; collapse the ten menu items only when space runs out. */
@media (max-width:1450px) and (min-width:1321px){
 .site-shell .tc-nav__top{grid-template-columns:minmax(220px,302px) minmax(240px,1fr) 180px;column-gap:28px}
 .site-shell .tc-nav__brand{width:100%;min-width:0;max-width:302px}
 .site-shell .tc-nav__brand img{max-width:100%;width:100%;height:auto;max-height:67px}
 .site-shell .tc-nav__search{width:100%}
 .site-shell .tc-nav__consult{width:180px;max-width:180px;font-size:16px;padding-inline:12px}
 .site-shell .tc-nav__menu{gap:7px}
 .site-shell .tc-nav__menu>a,.site-shell .tc-nav__dropdown>a{font-size:clamp(15px,1.24vw,18px)}
}
@media (max-width:1320px){
 .site-shell .tc-nav{top:0;height:auto;min-height:80px}
 .site-shell .tc-nav__top{display:flex;align-items:center;justify-content:space-between;gap:18px;width:min(100% - 32px,1440px);height:80px;min-height:80px;padding:0}
 .site-shell .tc-nav__brand{width:225px;min-width:0;max-width:225px;height:60px;min-height:60px;overflow:hidden}
 .site-shell .tc-nav__brand img{width:225px;max-width:225px;height:auto;max-height:60px;object-fit:contain}
 .site-shell .tc-nav__brand-fallback strong{font-size:21px}
 .site-shell .tc-nav__brand-fallback small{font-size:13px}
 .site-shell .tc-nav__tools{display:flex;align-items:center;gap:12px;margin-left:auto}
 .site-shell .tc-nav__search{width:min(42vw,430px);min-height:46px;height:46px;max-width:42vw}
 .site-shell .tc-nav__search input{font-size:15px}
 .site-shell .tc-nav__search button{min-width:46px;width:46px;flex-basis:46px;height:46px;font-size:18px}
 .site-shell .tc-nav__consult{display:none}
 .site-shell .tc-nav__toggle{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid #dce8f5;border-radius:7px;flex:0 0 44px;color:#0771fb;background:#fff}
 .site-shell .tc-nav__menu-shell{display:none;min-height:0;height:auto;max-height:calc(100vh - 80px);overflow-y:auto;overflow-x:hidden;border-top:1px solid #dadada;box-shadow:0 14px 28px #142b4321}
 .site-shell .tc-nav__menu-shell.is-open{display:block}
 .site-shell .tc-nav__menu{width:min(100% - 32px,1440px);height:auto;min-height:0;display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;gap:0;padding:9px 0 18px;white-space:normal}
 .site-shell .tc-nav__dropdown{display:block;min-height:0;height:auto;flex:auto;width:100%}
 .site-shell .tc-nav__menu>a,.site-shell .tc-nav__dropdown>a{display:flex;width:100%;min-height:43px;height:auto;justify-content:space-between;padding:11px 5px;border-bottom:1px solid #edf0f5;font-size:15px;font-weight:600;line-height:1.4}
 .site-shell .tc-nav__submenu{display:block;position:static;opacity:1;visibility:visible;pointer-events:auto;top:auto;left:auto;right:auto;min-width:0;max-width:none;height:auto;transform:none;padding:0 0 3px 15px;border:0;border-radius:0;box-shadow:none;transition:none}
 .site-shell .tc-nav__submenu a{min-height:35px;padding:8px 10px;font-size:14px;border-bottom:1px solid #edf0f5}
 .site-shell .tc-nav__subchildren,.site-shell .tc-nav__subchildren--third{display:block;position:static;left:auto;right:auto;top:auto;bottom:auto;width:auto;max-width:none;padding:0 0 0 14px;border:0;border-radius:0;box-shadow:none}
 .site-shell .tc-nav__menu .tc-nav__dropdown:nth-last-child(-n+4)>.tc-nav__submenu{left:auto;right:auto}
 .site-shell .tc-nav__menu .tc-nav__dropdown:nth-last-child(-n+4)>.tc-nav__submenu .tc-nav__subchildren{left:auto;right:auto}
}
@media (max-width:600px){
 .site-shell .tc-nav{height:auto;min-height:72px}
 .site-shell .tc-nav__top{height:72px;min-height:72px;gap:10px}
 .site-shell .tc-nav__brand{width:160px;max-width:160px;min-height:48px;height:48px}
 .site-shell .tc-nav__brand img{max-width:160px;width:160px;max-height:48px;height:auto}
 .site-shell .tc-nav__brand-fallback strong{font-size:17px}
 .site-shell .tc-nav__brand-fallback small{font-size:10px}
 .site-shell .tc-nav__tools{gap:8px}
 .site-shell .tc-nav__search{width:40px;min-width:40px;max-width:40px;height:40px;min-height:40px;overflow:visible;border:none;background:transparent}
 .site-shell .tc-nav__search input{position:absolute;right:16px;top:69px;z-index:125;width:min(310px,calc(100vw - 32px));height:43px;border:1px solid #e6ecf2;border-radius:8px;background:#fff;box-shadow:0 8px 15px #11203420;visibility:hidden;opacity:0;transition:opacity .15s;padding:0 12px;font-size:14px}
 .site-shell .tc-nav__search:focus-within input{visibility:visible;opacity:1}
 .site-shell .tc-nav__search button{width:40px;min-width:40px;height:40px;flex-basis:40px;border-radius:8px;font-size:17px}
 .site-shell .tc-nav__toggle{width:40px;height:40px;flex-basis:40px}
 .site-shell .tc-nav__menu-shell{max-height:calc(100vh - 72px)}
 .site-shell .tc-detail-album__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .site-shell .tc-pricing-article{width:calc(100% - 32px);margin:30px auto 60px}
 .site-shell .tc-pricing-article__lead{font-size:16px}
}
@media (max-width:420px){
 .site-shell .tc-detail-album__grid{grid-template-columns:1fr}
}

/* FIGMA 1920 x 698 banner: scale proportionally until copy requires additional space. */
@media (min-width:1025px){
 .site-shell .tc-hero__slides{aspect-ratio:1920 / 698;min-height:0;height:auto}
 .site-shell .tc-hero__content{padding:0;transform:none}
}
@media (max-width:1024px) and (min-width:601px){
 .site-shell .tc-hero__slides{aspect-ratio:16 / 9;min-height:0;height:auto}
 .site-shell .tc-hero__content{width:min(64%,590px);padding:0;transform:none}
 .site-shell .tc-hero__content .tc-hero__title{font-size:clamp(25px,3vw,38px)}
 .site-shell .tc-hero__subtitle{font-size:clamp(19px,2.6vw,32px)}
 .site-shell .tc-hero__content .tc-hero__description{font-size:14px;margin-bottom:16px}
 .site-shell .tc-hero__actions .tc-hero__button{font-size:13px;min-height:42px;padding:9px 17px;border-radius:8px}
}
.site-shell .tc-hero__slides:not(:has(.tc-hero__slide--with-content)) {
  height: auto;
  aspect-ratio: 1920 / 698;
}

@media (max-width: 767px) {
  .site-shell .tc-hero__slides,
  .site-shell .tc-hero__slides:not(:has(.tc-hero__slide--with-content)) {
    aspect-ratio: auto;
    min-height: 0;
  }
  .site-shell .tc-hero__slide {
    position: relative;
    inset: auto;
    background: #fff;
    display: none;
  }
  .site-shell .tc-hero__slide.is-active {display: block;}
  .site-shell .tc-hero__slide::before {
    content: "";
    display: block;
    aspect-ratio: 16 / 9;
    background: var(--tc-hero-image) center / cover no-repeat;
  }
  .site-shell .tc-hero__slide--image-only::before {aspect-ratio: 1920 / 698; background-size: contain;}
  .site-shell .tc-hero__shine {bottom: auto; width: 100%; aspect-ratio: 16 / 9;}
  .site-shell .tc-hero__slide--image-only .tc-hero__shine {aspect-ratio: 1920 / 698;}
  .site-shell .tc-hero__inner {height: auto; display: block;}
  .site-shell .tc-hero__content {
    width: 100%;
    max-width: none;
    padding: 18px 0 20px;
    text-align: left;
  }
  .site-shell .tc-hero__content .tc-hero__title {
    font-size: clamp(23px, 6vw, 34px);
    line-height: 1.2;
    margin: 0 0 10px;
    text-shadow: none;
  }
  .site-shell .tc-hero__subtitle {font-size: clamp(18px, 5vw, 26px); margin-bottom: 10px;}
  .site-shell .tc-hero__content .tc-hero__description {font-size: 15px; line-height: 1.55; margin-bottom: 14px;}
  .site-shell .tc-hero__actions {gap: 8px; flex-wrap: wrap;}
  .site-shell .tc-hero__actions .tc-hero__button {
    flex: 1 1 125px;
    justify-content: center;
    min-height: 44px;
    font-size: 13px;
    padding: 8px 10px;
    text-align: center;
    white-space: normal;
  }
  .site-shell .tc-hero__controls {position: relative; inset: auto; width: fit-content; margin: 0 auto 12px; transform: none;}
}

/* Figma 15:931 - responsive service Level-1 category cards. */
@media (max-width: 1150px){
 .site-shell .tc-services{padding:65px 0}
 .site-shell .tc-services>.tc-wrap{gap:28px}
 .site-shell .tc-services .tc-section-heading h2{font-size:36px;line-height:1.4}
 .site-shell .tc-services__grid{gap:18px}
 .site-shell .tc-service{height:auto;min-height:0;gap:12px}
 .site-shell .tc-service__name{height:auto;min-height:32px;font-size:18px;line-height:1.45}
}
@media (max-width: 850px){
 .site-shell .tc-services{padding:58px 0}
 .site-shell .tc-services .tc-section-heading{min-height:0}
 .site-shell .tc-services .tc-section-heading h2{font-size:32px;line-height:1.4}
 .site-shell .tc-services .tc-section-heading p{font-size:16px;line-height:25px;min-height:0;max-height:50px}
 .site-shell .tc-services .tc-section-action .tc-button{width:auto;height:53px;min-height:53px;font-size:16px;padding:13px 26px}
}
@media (max-width: 600px){
 .site-shell .tc-services{padding:46px 0}
 .site-shell .tc-services>.tc-wrap{gap:24px}
 .site-shell .tc-services .tc-section-heading h2{font-size:27px;line-height:1.35}
 .site-shell .tc-services .tc-section-heading p{font-size:14px;line-height:23px;max-height:46px}
 .site-shell .tc-services__grid{gap:20px 12px}
 .site-shell .tc-service{gap:8px}
 .site-shell .tc-service__name{font-size:14px;line-height:1.45;min-height:0}
 .site-shell .tc-service__image-missing{font-size:35px}
 .site-shell .tc-services .tc-section-action .tc-button{height:48px;min-height:48px;padding:11px 24px;font-size:14px;border-radius:10px}
}


@media (max-width: 767px) {
  .site-shell section.tc-services .tc-services__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 18px 12px;
    overflow: visible;
    scroll-snap-type: none;
    touch-action: auto;
    cursor: auto;
  }
  .site-shell section.tc-services .tc-service {width: auto; height: auto;}
  .site-shell section.tc-services .tc-service__name {height: auto; min-height: 0; overflow-wrap: anywhere;}
  .site-shell section.tc-services .tc-section-heading p {display: block; min-height: 0; max-height: none;}
}

/* Responsive project galleries and workflow. */
@media (max-width: 1025px) {
  .site-shell section.tc-signage .tc-section-heading {min-height: 0; margin-bottom: 20px;}
  .site-shell section.tc-signage .tc-section-heading h2 {font-size: clamp(26px, 4vw, 40px); line-height: 1.35;}
  .site-shell .tc-signage-carousel {--tc-signage-card: min(54vw, 534px); height: auto;}
  .site-shell .tc-signage__stage {
    left: auto;
    width: 100%;
    height: auto;
    transform: none;
  }
  .site-shell .tc-signage__stage.is-ready .tc-signage__item[data-tc-slot="center"] {
    position: relative;
    width: var(--tc-signage-card);
    margin-inline: auto;
    left: auto;
    transform: none;
  }
  .site-shell .tc-signage__stage.is-ready .tc-signage__item:is([data-tc-slot="far-left"], [data-tc-slot="far-right"]) {display: none;}
  .site-shell .tc-signage__stage.is-ready .tc-signage__item:is([data-tc-slot="near-left"], [data-tc-slot="near-right"]) {
    width: calc(var(--tc-signage-card) * .8);
    top: 24px;
  }
  .site-shell .tc-signage__stage.is-ready .tc-signage__item[data-tc-slot="near-left"] {left: calc(50% - var(--tc-signage-card) * .93);}
  .site-shell .tc-signage__stage.is-ready .tc-signage__item[data-tc-slot="near-right"] {left: calc(50% + var(--tc-signage-card) * .93);}
  .site-shell .tc-signage__arrow {
    top: calc(var(--tc-signage-card) * .393);
    width: 44px;
    height: 44px;
    transform: translateY(-50%);
    background: #14283ccc;
  }
  .site-shell .tc-signage__arrow--prev {left: max(8px, calc(50% - var(--tc-signage-card) / 2 - 22px));}
  .site-shell .tc-signage__arrow--next {left: auto; right: max(8px, calc(50% - var(--tc-signage-card) / 2 - 22px));}

  .site-shell section.tc-process {height: auto; min-height: 0; padding: 44px 0;}
  .site-shell section.tc-process .tc-process__heading {height: auto; min-height: 0; margin-bottom: 27px;}
  .site-shell section.tc-process .tc-process__heading h2 {font-size: 32px; line-height: 1.35;}
  .site-shell section.tc-process .tc-process__heading p {display: block; max-height: none; font-size: 16px; line-height: 1.5;}
  .site-shell section.tc-process .tc-process__track {gap: 18px; height: auto; min-height: 0;}
  .site-shell section.tc-process .tc-process__step {flex: 0 0 calc((100% - 18px) / 2); height: auto; padding-top: 62px;}
  .site-shell section.tc-process .tc-process__step::before {right: -18px;}
  .site-shell section.tc-process .tc-process__panel {width: 100%; height: auto; min-height: 0; padding: 23px 18px;}
  .site-shell section.tc-process .tc-process__panel h3 {font-size: 22px; line-height: 1.4; white-space: normal;}
  .site-shell section.tc-process .tc-process__panel p {display: block; max-height: none; font-size: 15px; line-height: 1.55;}
  .site-shell section.tc-process .tc-process__controls {inset: 0 0 auto;}
}

@media (max-width: 767px) {
  .site-shell #tc-comparisons .tc-filters {display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px;}
  .site-shell #tc-comparisons .tc-filters button {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    font-size: 13px;
    line-height: 1.35;
    padding: 8px;
  }
  .site-shell .tc-signage-carousel {--tc-signage-card: min(534px, calc(100vw - 32px));}
  .site-shell .tc-signage__stage.is-ready .tc-signage__item:not([data-tc-slot="center"]) {display: none;}
  .site-shell .tc-signage__stage:not(.is-ready) .tc-signage__item {width: var(--tc-signage-card); margin-top: 0;}
  .site-shell .tc-signage__stage.is-ready .tc-signage__item[data-tc-slot="center"] h3 {
    max-height: none;
    font-size: 18px;
    line-height: 1.45;
    overflow-wrap: anywhere;
  }
  .site-shell section.tc-signage + section.tc-process {margin-top: 32px;}
}

@media (max-width: 650px) {
  .site-shell section.tc-process {padding: 34px 0;}
  .site-shell section.tc-process .tc-process__heading {display: block; margin-bottom: 23px;}
  .site-shell section.tc-process .tc-process__heading h2 {font-size: 27px; margin-bottom: 9px;}
  .site-shell section.tc-process .tc-process__heading p {max-width: none; text-align: left; font-size: 14px;}
  .site-shell section.tc-process .tc-process__track {gap: 12px;}
  .site-shell section.tc-process .tc-process__step {flex-basis: 100%;}
  .site-shell section.tc-process .tc-process__step::before {right: -12px;}
  .site-shell section.tc-process .tc-process__panel {border-radius: 14px;}
  .site-shell section.tc-process .tc-process__index {font-size: 34px; line-height: 1.4;}
}

/* Activity archive columns on smaller screens. */
@media(max-width:1199px){
  .site-shell .tc-activity-archive__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:575px){
  .site-shell .tc-activity-archive__grid{grid-template-columns:1fr;gap:22px}
}

/* Responsive section separation, without desktop-style blank space on phones. */
@media(max-width:1100px){
  .site-shell section.tc-activities{padding-top:88px;padding-bottom:90px}
  .site-shell section.tc-activities .tc-activities__grid{column-gap:26px;row-gap:28px}
  .site-shell section.tc-activities .tc-activities__copy{padding-top:24px}
}
@media(max-width:850px){
  .site-shell section.tc-activities{padding-top:74px;padding-bottom:76px}
  .site-shell section.tc-activities .tc-activities__grid{row-gap:28px}
  .site-shell section.tc-activities .tc-activities__copy{padding-top:0}
  .site-shell section.tc-activities .tc-activities__carousel{width:100%}
}
@media(max-width:600px){
  .site-shell section.tc-activities{padding-top:58px;padding-bottom:65px}
  .site-shell section.tc-activities .tc-activities__grid{row-gap:26px}
  .site-shell section.tc-activities .tc-activities__arrows{margin-top:22px}
  .site-shell section.tc-activities .tc-activities__track a{height:auto;aspect-ratio:466/328}
}

/* Figma Video responsive: keep identical 1440:665 geometry scaled to viewport. */
@media(max-width:1199px){
 .site-shell section.tc-videos .tc-video{flex:0 0 min(1440px,calc(100vw - 32px));width:min(1440px,calc(100vw - 32px));aspect-ratio:1440/665;}
 .site-shell section.tc-videos .tc-videos__track{padding-inline:max(16px,calc((100vw - 1440px)/2));gap:20px;}
}
@media(max-width:767px){
 .site-shell section.tc-videos .tc-video{flex:0 0 calc(100vw - 32px);width:calc(100vw - 32px);}
 .site-shell section.tc-videos .tc-videos__track{padding-inline:16px;}
}

@media (max-width: 600px) {
  .site-shell .tc-about__numbers .tc-number__caption {
    padding: 6px 9px;
  }
}

/* Shared category panel for the Thanh Cong header. */
.site-shell .tc-nav__tree {
    gap: 1px;
}

.site-shell .tc-nav__tree-button,
.site-shell .tc-nav__tree-next {
    display: inline-grid;
    flex: 0 0 auto;
    place-items: center;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #55708b;
    cursor: pointer;
}

.site-shell .tc-nav__tree-button {
    width: 24px;
    height: 32px;
}

.site-shell .tc-nav__tree-button i,
.site-shell .tc-nav__tree-next i {
    font-size: 11px;
    transition: transform .16s ease;
}

.site-shell .tc-nav__tree-button[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.site-shell .tc-nav__tree-next {
    width: 32px;
    height: 32px;
    margin-right: 5px;
}

.site-shell .tc-nav__tree-button:is(:hover,:focus-visible,[aria-expanded="true"]),
.site-shell .tc-nav__tree-next:is(:hover,:focus-visible,[aria-expanded="true"]) {
    color: var(--tc-blue);
    background: #e6f1ff;
}

.site-shell .tc-nav__tree :is(button,a):focus-visible {
    outline: 2px solid var(--tc-blue);
    outline-offset: -2px;
}

.site-shell .tc-nav__tree-panel {
    color: var(--tc-navy);
    white-space: normal;
    background: #fff;
}

.site-shell .tc-nav__tree [hidden] {
    display: none;
}

.site-shell .tc-nav__tree-heading {
    margin: 0 7px 6px;
    padding: 1px 4px 10px;
    border-bottom: 1px solid #e6edf5;
    color: #526983;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.site-shell .tc-nav__tree-row {
    display: flex;
    align-items: center;
    min-height: 42px;
    margin-bottom: 3px;
    border-radius: 8px;
    transition: background-color .16s ease;
}

.site-shell .tc-nav__tree-row > a {
    display: flex;
    align-items: center;
    align-self: stretch;
    flex: 1 1 auto;
    min-width: 0;
    padding: 9px 11px;
    border-radius: 8px;
    color: #253a52;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.site-shell .tc-nav__tree-row:is(:hover,:focus-within,.is-preview) {
    color: var(--tc-blue);
    background: #edf5ff;
}

.site-shell .tc-nav__tree-row:is(.is-preview,.is-in-path,.is-current) > a {
    color: #075dbd;
}

.site-shell .tc-nav__tree-row.is-in-path > a {
    font-weight: 600;
}

.site-shell .tc-nav__tree-row.is-current {
    background: #dfedff;
    box-shadow: inset 3px 0 var(--tc-blue);
}

.site-shell .tc-service-category__filters {
    display: grid;
    gap: 9px;
    margin-bottom: 30px;
}

.site-shell .tc-service-category__filters .tc-service-category__filter-row {
    margin: 0;
    padding-bottom: 0;
}

.site-shell .tc-service-category__filters .tc-service-category__filter-row a.is-in-path {
    border-color: #b7d7ff;
    background: #edf5ff;
    color: #075dbd;
    font-weight: 600;
}

.site-shell .tc-service-category__filters .tc-service-category__filter-row a.is-active {
    font-weight: 600;
}

@media (max-width: 767px) {
    .site-shell.td-site .tc-service-category__filters .tc-service-category__filter-row {
        min-width: 0;
        flex-wrap: wrap;
        justify-content: center;
        overflow: visible;
    }

    .site-shell.td-site .tc-service-category__filter-row a {
        max-width: 100%;
        white-space: normal;
        overflow-wrap: anywhere;
        text-align: center;
    }
}

@media (min-width:1321px) {
    .site-shell .tc-nav__menu > a,
    .site-shell .tc-nav__tree > a {
        position: relative;
    }

    .site-shell .tc-nav__menu > a.is-active::after,
    .site-shell .tc-nav__tree > a.is-active::after {
        position: absolute;
        right: 0;
        bottom: -6px;
        left: 0;
        height: 2px;
        border-radius: 2px;
        background: var(--tc-blue);
        content: "";
    }

    .site-shell .tc-nav__tree-panel {
        position: absolute;
        z-index: 120;
        top: 100%;
        left: -15px;
        display: grid;
        grid-template-columns: repeat(var(--tc-tree-columns), minmax(0, 1fr));
        width: calc(var(--tc-tree-columns) * clamp(208px, 15vw, 246px));
        max-height: min(48vh, 410px);
        overflow: hidden;
        border: 1px solid #dce7f2;
        border-top: 2px solid var(--tc-blue);
        border-radius: 0 0 13px 13px;
        box-shadow: 0 18px 36px #142b431f;
    }

    .site-shell .tc-nav__tree:nth-last-child(-n+5) > .tc-nav__tree-panel {
        right: 0;
        left: auto;
    }

    .site-shell .tc-nav__tree.is-tree-ready > .tc-nav__tree-panel {
        right: auto;
        left: var(--tc-tree-offset, -14px);
    }

    .site-shell .tc-nav__tree:not(.is-tree-ready):not(:hover):not(:focus-within) > .tc-nav__tree-panel {
        visibility: hidden;
        pointer-events: none;
    }

    .site-shell .tc-nav__tree-column {
        min-width: 0;
        min-height: 0;
        padding: 10px;
        overflow: auto;
        scrollbar-width: thin;
    }

    .site-shell .tc-nav__tree-column + .tc-nav__tree-column {
        border-left: 1px solid #e8eff6;
    }

    .site-shell .tc-nav__tree-column:first-child:not(:last-child) {
        background: #f8fbff;
    }
}

@media (max-width:1320px) {
    .site-shell .tc-nav__tree {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: start;
    }

    .site-shell .tc-nav__tree-button {
        width: 42px;
        height: 42px;
    }

    .site-shell .tc-nav__tree-panel {
        grid-column: 1 / -1;
        margin: 3px 0 9px;
        padding: 5px 5px 5px 9px;
        border-left: 2px solid #c2ddff;
    }

    .site-shell .tc-nav__tree-column + .tc-nav__tree-column {
        margin: 6px 0 0 10px;
        padding: 5px 0 0 7px;
        border-left: 1px solid #e0ebf7;
    }

    .site-shell .tc-nav__tree-column:has(> [hidden]):not(:has(> :not([hidden]))) {
        display: none;
    }

    .site-shell .tc-nav__tree-next {
        width: 40px;
        height: 40px;
    }

    .site-shell .tc-nav__tree-next[aria-expanded="true"] i {
        transform: rotate(90deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-shell .tc-nav__tree :is(.tc-nav__tree-row,.tc-nav__tree-next i,.tc-nav__tree-button i) {
        transition: none;
    }
}


@media (max-width: 767px) {
  .site-shell .tc-mobile-contact:not([hidden]) {
    display: block;
    position: fixed;
    bottom: max(12px, env(safe-area-inset-bottom));
    right: max(12px, env(safe-area-inset-right));
    z-index: 105;
  }
  .site-shell.tc-mobile-contact-ready :is(#hotline, #social, .social-template-4, .toolbar, .toolbar-custom, .tc-footer-figma__hotline, .td-back-top),
  .site-shell:has(.tc-nav__menu-shell.is-open) .tc-mobile-contact {
    visibility: hidden;
    pointer-events: none;
  }
  .site-shell .tc-mobile-contact summary {
    display: grid;
    place-items: center;
    list-style: none;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #0759b4;
    box-shadow: 0 4px 16px #12324a45;
    color: #fff;
    font-size: 19px;
    cursor: pointer;
  }
  .site-shell .tc-mobile-contact summary::-webkit-details-marker {display: none;}
  .site-shell .tc-mobile-contact[open] summary {background: #123b60;}
  .site-shell .tc-mobile-contact__links {
    display: grid;
    position: absolute;
    right: 0;
    bottom: calc(100% + 8px);
    width: min(248px, calc(100vw - 32px));
    max-height: 55vh;
    overflow-y: auto;
    padding: 6px;
    border: 1px solid #dbe5f1;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 28px #12324a30;
  }
  .site-shell .tc-mobile-contact__links :is(a, button) {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    padding: 8px 10px;
    color: #123b60;
    font-weight: 600;
    border-radius: 7px;
    overflow-wrap: anywhere;
    background: none;
    border: 0;
    text-align: left;
  }
  .site-shell .tc-mobile-contact__links :is(a, button):is(:hover, :focus-visible) {background: #eaf2ff;}
  .site-shell .tc-faq__items {max-height: none; overflow: visible;}
  .site-shell :is(.tc-consultation, .tc-footer) :is(input, textarea) {font-size: 16px;}
  .site-shell .tc-footer-figma__grid {min-height: 0; gap: 24px;}
  .site-shell .tc-footer-figma {text-align: center; overflow-wrap: anywhere;}
  .site-shell .tc-footer-figma__contact {align-items: center;}
  .site-shell .tc-footer-figma__newsletter {width: 100%; margin-inline: auto;}
  .site-shell .tc-footer-figma__rich :is(ul, ol) {padding-inline: 0; list-style-position: inside;}
  .site-shell :is(.tc-footer-figma__socials, .tc-footer-figma__trust, .tc-footer-figma__bottom, .tc-footer-figma__policies) {
    justify-content: center;
  }
  .site-shell .tc-footer-figma__email {height: 44px;}
  .site-shell .tc-footer-figma__email button {height: 44px; flex-basis: 44px;}
  .site-shell .tc-footer-figma__newsletter-extra:not([hidden]) {position: static; margin-top: 8px;}
  .site-shell .tc-footer-figma__trust {flex-wrap: wrap; gap: 10px 14px;}
  .site-shell .tc-footer-figma__trust > span {flex: 0 1 auto;}
  .site-shell .tc-footer-figma__trust .tc-footer-figma__trust-label {font-size: 12px;}
}

@media (max-width: 600px) {
  .site-shell .tc-nav__top {gap: 8px;}
  .site-shell .tc-nav__brand {flex: 0 1 175px; max-width: 175px;}
  .site-shell .tc-nav__brand img {display: block; width: 100%; height: auto; object-fit: contain;}
  .site-shell .tc-nav__search {width: 44px; max-width: 44px; height: 44px;}
  .site-shell .tc-nav__search button,
  .site-shell .tc-nav__toggle {width: 44px; min-width: 44px; height: 44px; flex-basis: 44px;}
  .site-shell .tc-activities__track a {flex-basis: min(466px, 100%); width: min(466px, 100%);}
  .site-shell section.tc-activities .tc-activities__arrows {margin-top: 12px;}
}

@media (max-width: 699px) {
  .site-shell section.tc-news .tc-news__card {flex-basis: 100%; width: 100%;}
  .site-shell section.tc-news .tc-news__carousel {
    display: grid;
    grid-template-columns: 44px 44px 1fr;
    gap: 10px;
  }
  .site-shell section.tc-news .tc-news__track {grid-column: 1 / -1; grid-row: 1; min-width: 0;}
  .site-shell section.tc-news .tc-news__arrow {
    position: static;
    grid-row: 2;
    width: 44px;
    height: 44px;
    transform: none;
  }
  .site-shell section.tc-news .tc-news__arrow[data-tc-prev] {grid-column: 1;}
  .site-shell section.tc-news .tc-news__arrow[data-tc-next] {grid-column: 2;}
  .site-shell section.tc-news .tc-news__arrow:is(:hover,:focus-visible) {transform: none;}
}
