@media (max-width: 1025px) {
  body,
  html {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }
  *,
  ::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%;
  }
  .figma-topbar,
  .figma-topbar-inner {
    height: 38px;
  }
  .figma-topbar-inner {
    gap: 12px;
  }
  .figma-topbar-item {
    min-width: 0;
    font-size: 12px;
    line-height: 18px;
  }
  .figma-topbar-address {
    width: auto;
    flex: 1 1 auto;
    overflow: hidden;
  }
  .figma-topbar-address span {
    display: block;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  .figma-topbar-time {
    display: none;
  }
  .figma-topbar-hotline {
    width: auto;
    flex: 0 0 auto;
  }
  .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;
  }
  .figma-navigation {
    position: static !important;
    z-index: 10010;
    width: 100%;
    height: 0 !important;
    min-height: 0 !important;
    background: 0 0;
  }
  .figma-navigation.is-fixed,
  .figma-navigation.was-scrolled {
    position: static !important;
    height: 0 !important;
    min-height: 0 !important;
  }
  .figma-navigation > .wrap-content {
    display: none !important;
  }
  .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;
  }
  .figma-hero {
    position: relative;
    width: 100%;
    margin-top: 0 !important;
    overflow: hidden;
    background: #f7f7f7;
  }
  .figma-hero .figma-hero-image,
  .figma-hero .figma-hero-image picture,
  .figma-hero .figma-hero-swiper,
  .figma-hero .swiper-slide,
  .figma-hero .swiper-wrapper {
    width: 100%;
  }
  .figma-hero-slide {
    min-height: 500px;
    background: #f7f7f7;
  }
  .figma-hero .figma-hero-image,
  .figma-hero .figma-hero-image picture {
    display: block;
    height: 500px;
  }
  .figma-hero .figma-hero-image img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: 64% center;
  }
  .figma-hero-content {
    position: absolute;
    z-index: 5;
    top: auto;
    right: 24px;
    bottom: 36px;
    left: 24px;
    width: auto;
    transform: none;
    pointer-events: none;
  }
  .figma-hero-copy {
    display: flex;
    width: min(62%, 520px);
    max-width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .figma-hero-text {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 8px;
  }
  .figma-hero-text h1 {
    width: 100%;
    margin: 0;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.16;
    text-transform: uppercase;
    color: #4f4f4f;
  }
  .figma-hero-text p {
    width: 100%;
    margin: 0;
    font-size: 15px;
    line-height: 1.45;
    color: #4f4f4f;
  }
  .figma-hero-actions {
    display: flex;
    width: 100%;
    height: auto;
    flex-wrap: wrap;
    gap: 8px;
    pointer-events: auto;
  }
  .figma-hero-btn {
    display: inline-flex;
    width: auto;
    height: 42px;
    padding: 9px 15px;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    font-size: 14px;
    line-height: 20px;
    white-space: nowrap;
  }
  .figma-hero-btn-primary {
    color: #fff;
  }
  .figma-hero-btn-outline {
    color: #fcc00b;
    background: rgba(255, 255, 255, 0.86);
    border: 2px solid #fcc00b;
  }
  .figma-hero .slide-next,
  .figma-hero .slide-pagination,
  .figma-hero .slide-prev {
    display: none !important;
  }
  .home-about-figma {
    padding: 54px 0;
  }
  .figma-about {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .figma-about__body,
  .figma-about__content,
  .figma-about__desc,
  .figma-about__heading,
  .figma-about__stats {
    width: 100%;
    max-width: 100%;
  }
  .figma-about__heading h2 {
    font-size: 30px;
    line-height: 1.15;
  }
  .figma-about__heading h3 {
    font-size: 44px;
    line-height: 1.05;
  }
  .figma-about__desc {
    font-size: 16px;
    line-height: 24px;
  }
  .figma-about__stats {
    max-width: 590px;
    margin: 0 auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    gap: 14px;
  }
  .figma-about-stat {
    width: 100%;
    height: auto;
    aspect-ratio: 286/138;
  }
  .figma-about-stat__content strong {
    font-size: 32px;
    line-height: 1.1;
  }
  .figma-about-stat__content span {
    font-size: 14px;
    line-height: 1.3;
  }
  .home-process-figma {
    min-height: auto;
  }
  .home-process-figma__inner {
    padding: 42px 0;
  }
  .home-process-figma__title {
    margin-bottom: 28px;
    font-size: 30px;
    line-height: 1.3;
  }
  .home-process-figma__box {
    width: 100%;
    height: auto;
    padding: 32px 18px;
    overflow-x: auto;
    overflow-y: hidden;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
  }
  .home-process-figma__steps {
    min-width: 1000px;
    grid-template-columns: repeat(5, 150px);
    column-gap: 62px;
    justify-content: flex-start;
    padding: 0 24px;
  }
  .home-process-step,
  .home-process-step__content,
  .home-process-step__content h3,
  .home-process-step__content p {
    width: 150px;
  }
  .home-process-step:not(:last-child)::after,
  .home-process-step:not(:last-child)::before {
    width: 139px;
  }
  .home-faq-figma {
    padding: 54px 0 60px;
  }
  .home-faq-figma__grid,
  .home-faq-figma__grid.is-without-image {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .home-faq-figma__image {
    width: 100%;
    height: auto;
    aspect-ratio: 692/505;
  }
  .home-quick-repair {
    padding: 54px 0 60px;
  }
  .home-quick-repair__card {
    min-height: 0;
    padding: 18px;
  }
  .home-quick-repair__inner {
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px;
  }
  .home-quick-repair__content,
  .home-quick-repair__image {
    width: 100%;
    max-width: none;
    flex: none;
  }
  .home-quick-repair__image {
    height: auto;
    aspect-ratio: 529/493;
  }
  .home-accessories__inner {
    gap: 42px;
  }
  .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%;
  }
  .figma-topbar {
    display: none;
  }
  .figma-topbar-inner {
    height: 0;
  }
  .figma-topbar-item {
    height: 18px;
    gap: 5px;
    font-size: 11px;
    line-height: 18px;
  }
  .figma-topbar-item i {
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    font-size: 11px;
  }
  .figma-topbar-address {
    width: 100%;
  }
  .figma-topbar-hotline,
  .figma-topbar-time {
    display: none;
  }
  .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;
  }
  .figma-navigation,
  .figma-navigation.is-fixed,
  .figma-navigation.was-scrolled {
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
  }
  .header-left-fixwidth {
    width: min(88vw, 310px);
  }
  .figma-hero {
    overflow: hidden;
    background: #f7f7f7;
  }
  .figma-hero .figma-hero-swiper,
  .figma-hero .swiper-wrapper {
    height: auto !important;
  }
  .figma-hero .swiper-slide.figma-hero-slide {
    display: flex;
    min-height: 0;
    height: auto !important;
    flex-direction: column;
    overflow: hidden;
    background: #f7f7f7;
  }
  .figma-hero .figma-hero-image,
  .figma-hero .figma-hero-image picture {
    display: block;
    width: 100%;
    height: clamp(235px, 72vw, 310px);
  }
  .figma-hero .figma-hero-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 22% center;
  }
  .figma-hero-slide-link {
    z-index: 2;
    bottom: auto;
    height: clamp(235px, 72vw, 310px);
  }
  .figma-hero-content {
    position: relative;
    z-index: 5;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: calc(100% - 24px);
    margin: -22px auto 0;
    padding: 18px 16px 20px;
    transform: none;
    border-radius: 12px 12px 0 0;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 -3px 14px rgba(0, 0, 0, 0.08);
    pointer-events: auto;
  }
  .figma-hero-copy {
    width: 100%;
    max-width: 100%;
    gap: 12px;
  }
  .figma-hero-text {
    width: 100%;
    gap: 7px;
  }
  .figma-hero-text h1 {
    width: 100%;
    margin: 0;
    color: #3f3f3f;
    font-size: clamp(21px, 6.4vw, 27px);
    line-height: 1.14;
    letter-spacing: -0.3px;
  }
  .figma-hero-text p {
    display: block;
    width: 100%;
    margin: 0;
    overflow: visible;
    color: #555;
    font-size: 15px;
    line-height: 1.55;
    -webkit-line-clamp: unset;
  }
  .figma-hero-actions {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .figma-hero-btn,
  .figma-hero-btn-outline,
  .figma-hero-btn-primary {
    width: 100%;
    min-width: 0;
    height: 40px;
    padding: 8px 9px;
    border-radius: 5px;
    font-size: 14px;
    line-height: 20px;
    white-space: normal;
    text-align: center;
  }
  .figma-hero-btn-outline {
    color: #bd8c00;
    background: #fff;
  }
  .home-about-figma {
    padding: 34px 0 42px;
  }
  .figma-about {
    display: block;
  }
  .figma-about__content {
    gap: 15px;
  }
  .figma-about__heading {
    gap: 7px;
  }
  .figma-about__heading h2 {
    width: 100%;
    font-size: 22px;
    line-height: 1.25;
  }
  .figma-about__heading h3 {
    width: 100%;
    font-size: clamp(28px, 8vw, 34px);
    line-height: 1.05;
  }
  .figma-about__body {
    gap: 18px;
  }
  .figma-about__desc {
    display: block;
    overflow: visible;
    font-size: 15px;
    line-height: 1.55;
    -webkit-line-clamp: unset;
  }
  .figma-about__desc p {
    margin-bottom: 0;
  }
  .figma-about__button {
    width: auto;
    min-width: 132px;
    height: 44px;
    padding: 9px 15px;
    font-size: 14px;
    line-height: 20px;
  }
  .figma-about__stats {
    width: 100%;
    margin-top: 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .figma-about-stat {
    width: 100%;
    min-width: 0;
    border-radius: 12px;
  }
  .figma-about-stat__content {
    gap: 3px;
    padding: 8px;
  }
  .figma-about-stat__content strong {
    font-size: clamp(22px, 7vw, 28px);
    line-height: 1.05;
  }
  .figma-about-stat__content span {
    font-size: 11px;
    line-height: 1.25;
  }
  .home-process-figma__inner {
    width: calc(100% - 24px);
    padding: 36px 0 40px;
  }
  .home-process-figma__title {
    margin-bottom: 22px;
    font-size: 25px;
    line-height: 1.25;
  }
  .home-process-figma__box {
    width: 100%;
    padding: 20px 14px;
    overflow: visible;
    border-radius: 14px;
  }
  .home-process-figma__steps {
    position: relative;
    width: 100%;
    min-width: 0;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 0;
  }
  .home-process-step {
    position: relative;
    z-index: 1;
    width: 100%;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: start;
    gap: 14px;
    text-align: left;
  }
  .home-process-step__number {
    position: relative;
    z-index: 5;
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    font-size: 22px;
    line-height: 1;
    box-shadow: 0 0 0 4px rgba(252, 192, 11, 0.08);
  }
  .home-process-step__content {
    position: relative;
    z-index: 4;
    width: 100%;
    min-width: 0;
    align-items: flex-start;
    gap: 4px;
    padding-top: 2px;
  }
  .home-process-step__content h3,
  .home-process-step__content p {
    width: 100%;
    text-align: left;
  }
  .home-process-step__content h3 {
    font-size: 18px;
    line-height: 1.3;
  }
  .home-process-step__content p {
    font-size: 14px;
    line-height: 1.5;
  }
  .home-process-step:not(:last-child)::after {
    content: "";
    display: block !important;
    position: absolute;
    z-index: 2;
    top: 54px !important;
    bottom: -22px !important;
    left: 27.5px !important;
    width: 3px !important;
    height: auto !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: linear-gradient(
      180deg,
      rgba(252, 192, 11, 0.95) 0,
      rgba(252, 192, 11, 0.68) 55%,
      rgba(252, 192, 11, 0.28) 100%
    ) !important;
    opacity: 1 !important;
    clip-path: none !important;
    -webkit-clip-path: none !important;
    transform: none !important;
    filter: drop-shadow(0 0 3px rgba(252, 192, 11, 0.28)) !important;
    animation: none !important;
    pointer-events: none;
  }
  .home-process-step:not(:last-child)::before {
    content: "";
    display: block !important;
    position: absolute;
    z-index: 3;
    top: 54px !important;
    bottom: -22px !important;
    left: 26.5px !important;
    width: 5px !important;
    height: auto !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: linear-gradient(
      180deg,
      transparent 0,
      rgba(255, 250, 205, 0.18) 28%,
      #fff7b5 44%,
      #fff 50%,
      #fcc00b 58%,
      rgba(252, 192, 11, 0.08) 72%,
      transparent 100%
    ) !important;
    background-size: 100% 240% !important;
    background-position: 0 -150% !important;
    opacity: 0;
    -webkit-mask-image: none !important;
    mask-image: none !important;
    filter: drop-shadow(0 0 4px rgba(255, 248, 178, 0.95))
      drop-shadow(0 0 8px rgba(252, 192, 11, 0.72)) !important;
    pointer-events: none;
    animation: processLineFlowMobile 7.4s ease-in-out infinite !important;
  }
  .home-process-step:nth-child(1)::before {
    animation-delay: 0.45s !important;
  }
  .home-process-step:nth-child(2)::before {
    animation-delay: 1.95s !important;
  }
  .home-process-step:nth-child(3)::before {
    animation-delay: 3.45s !important;
  }
  .home-process-step:nth-child(4)::before {
    animation-delay: 4.95s !important;
  }
  @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-faq-figma {
    padding: 40px 0 46px;
  }
  .home-faq-figma__grid,
  .home-faq-figma__grid.is-without-image {
    gap: 24px;
  }
  .home-faq-figma__title {
    margin-bottom: 20px;
    font-size: 25px;
    line-height: 1.25;
    text-align: center;
  }
  .home-faq-list {
    gap: 9px;
  }
  .home-faq-item__question {
    min-height: 52px;
    gap: 10px;
    padding: 13px 14px;
    font-size: 14px;
    line-height: 1.45;
  }
  .home-faq-item__question i {
    flex-basis: 20px;
    width: 20px;
    height: 20px;
    font-size: 16px;
  }
  .home-faq-item__answer {
    padding: 0 14px 15px;
    font-size: 14px;
    line-height: 1.6;
  }
  .home-faq-figma__image {
    width: 100%;
    max-height: 300px;
    aspect-ratio: 16/10;
    overflow: hidden;
    border-radius: 12px;
  }
  .home-faq-figma__image img {
    object-fit: cover;
  }
  .home-quick-repair {
    padding: 40px 0 46px;
  }
  .home-quick-repair__card {
    padding: 12px;
    border-radius: 12px;
  }
  .home-quick-repair__inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .home-quick-repair__image {
    height: clamp(220px, 70vw, 300px);
    aspect-ratio: auto;
    border-radius: 10px;
  }
  .home-quick-repair__image img {
    object-fit: cover;
  }
  .home-quick-repair__title {
    margin-bottom: 22px;
    font-size: 25px;
    line-height: 1.25;
  }
  .home-quick-repair__fields {
    gap: 18px;
  }
  .home-quick-repair__field {
    min-height: 56px;
  }
  .home-quick-repair__field label {
    font-size: 14px;
  }
  .home-quick-repair__field input {
    height: 30px;
    font-size: 14px;
  }
  .home-quick-repair__submit {
    min-height: 44px;
    margin-top: 26px;
    font-size: 15px;
  }
  .home-accessories {
    padding-bottom: 46px;
  }
  .home-accessories__inner {
    gap: 30px;
  }
  .home-accessories__title {
    font-size: 25px;
    line-height: 1.25;
  }
  .home-accessories__body {
    gap: 22px;
  }
  .home-accessories__tabs {
    width: 100%;
    gap: 8px;
    padding-bottom: 2px;
  }
  .home-accessories__tab {
    min-width: auto;
    min-height: 40px;
    height: auto;
    padding: 8px 12px;
    font-size: 13px;
  }
  .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;
  }
  .home-accessories__title,
  .home-faq-figma__title,
  .home-find-us__title,
  .home-knowledge__title,
  .home-partners__title,
  .home-process-figma__title,
  .home-quick-repair__title,
  .home-testimonials__title {
    width: 100%;
    font-size: 26px;
    line-height: 1.3;
    text-align: center;
  }
  .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;
  }
  .social-template-4 {
    right: 8px !important;
    bottom: 76px !important;
    width: 38px;
    max-width: 38px;
    gap: 5px;
  }
  .social-template-4__item {
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    border-radius: 7px;
  }
  .social-template-4__icon {
    width: 26px;
    height: 26px;
  }
  .social-template-4__item img {
    max-width: 25px;
    max-height: 25px;
  }
  .social-template-4__back-to-top {
    font-size: 15px;
  }
  #social {
    right: 8px !important;
  }
  #social .btn-frame {
    margin: 16px 0;
    transform: scale(0.78);
    transform-origin: right center;
  }
  .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) {
  .home-process-figma__inner,
  .info-news .wrap-content,
  .max-width,
  .wrap-content {
    width: calc(100% - 20px);
  }
  .figma-hero-content {
    width: calc(100% - 20px);
    padding: 15px 13px 16px;
  }
  .figma-hero-actions {
    grid-template-columns: 1fr;
  }
  .figma-hero-btn,
  .figma-hero-btn-outline,
  .figma-hero-btn-primary {
    height: 38px;
  }
  .figma-about__stats,
  .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;
  }
}

/* =========================================================
   MOBILE RESPONSIVE FINAL OVERRIDE — 2026-09
   Scope: frontend mobile only. Keep desktop/business logic intact.
   ========================================================= */
@media (max-width: 767px) {
  /* ---------- Global ---------- */
  html,
  body {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  body {
    font-size: 16px;
    line-height: 1.6;
  }

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

  img,
  picture,
  video,
  svg,
  iframe {
    max-width: 100%;
  }

  /* ---------- Header ---------- */
  .above-nav {
    position: sticky;
    top: 0;
    z-index: 10020;
  }

  .figma-topbar {
    display: none;
  }

  .header {
    min-height: 64px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.06);
  }

  .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: 72px;
    max-width: 72px;
    max-height: 48px;
    justify-self: center;
  }

  .logo-header picture,
  .logo-header img {
    display: block;
    width: 100%;
    height: 48px;
    object-fit: contain;
  }

  .header-menu-mobile-btn,
  .mobile-header-search-toggle {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }

  .header-menu-mobile-btn {
    grid-column: 1;
    grid-row: 1;
  }

  .mobile-header-search-toggle {
    grid-column: 3;
    grid-row: 1;
  }

  .search {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    margin-top: 4px;
  }

  .header.search-open {
    padding-bottom: 10px;
  }

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

  .header-left-fixwidth .wrap-header {
    padding: 18px 14px 24px;
  }

  .header-left-fixwidth .wrap-header .nav-menu ul a {
    min-height: 46px;
    padding: 11px 46px 11px 8px;
    font-size: 15px;
    line-height: 24px;
  }

  .header-left-fixwidth .wrap-header .nav-menu ul li span.btn-dropdown-menu {
    width: 44px;
    min-width: 44px;
    height: 46px;
  }

  /* ---------- Hero ---------- */
  .figma-hero .figma-hero-image,
  .figma-hero .figma-hero-image picture,
  .figma-hero-slide-link {
    height: clamp(240px, 70vw, 310px);
  }

  .figma-hero .figma-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  .figma-hero-content {
    width: calc(100% - 32px);
    margin: -18px auto 0;
    padding: 18px 16px 20px;
    border-radius: 14px 14px 0 0;
  }

  .figma-hero-text h1 {
    font-size: clamp(23px, 6.8vw, 30px);
    line-height: 1.18;
  }

  .figma-hero-text p {
    font-size: 15px;
    line-height: 1.6;
  }

  .figma-hero-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .figma-hero-btn,
  .figma-hero-btn-outline,
  .figma-hero-btn-primary {
    min-height: 44px;
    height: auto;
    padding: 10px 12px;
    font-size: 14px;
    line-height: 20px;
  }

  /* ---------- 5 dịch vụ ---------- */
  .home-services-figma {
    margin-top: 0;
    padding: 38px 0 44px;
  }

  .home-services-figma > .wrap-content {
    width: calc(100% - 32px);
    min-height: 0;
    gap: 24px;
  }

  .home-services-figma__intro {
    display: flex;
    height: auto;
    flex-direction: column;
    gap: 12px;
  }

  .home-services-figma__title,
  .home-services-figma__desc {
    width: 100%;
    height: auto;
    min-width: 0;
  }

  .home-services-figma__title {
    font-size: clamp(25px, 7vw, 29px);
    line-height: 1.3;
  }

  .home-services-figma__desc {
    font-size: 15px;
    line-height: 1.6;
  }

  .home-services-stage {
    display: grid;
    width: 100%;
    height: auto;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .home-service-slide,
  .home-service-slide:nth-child(1),
  .home-service-slide:nth-child(2),
  .home-service-slide:nth-child(3),
  .home-service-slide:nth-child(4),
  .home-service-slide:nth-child(5) {
    position: relative;
    inset: auto;
    width: 100%;
    height: clamp(210px, 58vw, 255px);
  }

  .home-service-card,
  .home-service-card__image {
    border-radius: 14px;
  }

  .home-service-card__body,
  .home-service-slide:nth-child(1) .home-service-card__body {
    height: auto;
    min-height: 86px;
    padding: 24px 14px 14px;
    border-radius: 0 0 14px 14px;
  }

  .home-service-card__title {
    font-size: 18px;
    line-height: 1.4;
  }

  .home-service-card__more {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  /* ---------- Bản đồ phạm vi ---------- */
  .home-coverage-map {
    width: 100%;
    overflow: hidden;
  }

  /* Mobile: ảnh bản đồ export có nhiều khoảng trống nên phóng lớn để nhìn rõ hơn. */
  .home-coverage-map__image {
    width: 155%;
    max-width: none;
    height: auto;
    margin-left: -27.5%;
    object-fit: contain;
  }

  /* ---------- Giới thiệu ---------- */
  .home-about-figma {
    margin-top: 0;
    padding: 32px 0 40px;
  }

  .home-about-figma__inner {
    width: calc(100% - 32px);
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .home-about-figma__card {
    min-height: 0;
    padding: 24px 18px;
  }

  .home-about-figma__title {
    min-height: 0;
    margin-bottom: 12px;
    font-size: 26px;
    line-height: 1.35;
  }

  .home-about-figma__desc {
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.65;
  }

  .home-about-figma__more {
    min-width: 132px;
    min-height: 44px;
    height: 48px;
    padding: 11px 18px;
    font-size: 15px;
  }

  .home-about-figma__stats {
    width: 100%;
    height: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: none;
    gap: 8px;
  }

  .home-about-stat {
    width: 100%;
    min-height: 100px;
    padding: 12px 6px;
  }

  .home-about-stat__number {
    font-size: clamp(22px, 7vw, 27px);
    line-height: 1.2;
  }

  .home-about-stat__label {
    font-size: 12px;
    line-height: 1.4;
  }

  /* ---------- Đối tác ---------- */
  .home-partners__stage {
    height: 86px;
  }

  .home-partners__swiper,
  .home-partners__swiper .swiper-wrapper,
  .home-partners__swiper .swiper-slide,
  .home-partner-card,
  .home-partner-card__logo {
    height: 50px !important;
  }

  .home-partner-card__logo img {
    max-width: 105px !important;
    max-height: 46px !important;
  }

  /* ---------- Đầu tư công trình ---------- */
  .home-investment-figma {
    padding-top: 40px;
    padding-bottom: 44px;
  }

  .home-investment-figma__inner {
    width: calc(100% - 32px);
  }

  .home-investment-figma__title {
    width: 100%;
    height: auto;
    margin-bottom: 24px;
    font-size: 26px;
    line-height: 1.35;
    text-align: center;
  }

  .home-investment-figma__title br {
    display: none;
  }

  .home-investment-figma__grid {
    display: grid;
    width: 100%;
    height: auto;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .home-investment-card {
    width: 100%;
    height: clamp(250px, 72vw, 320px);
    min-height: 0;
  }

  .home-investment-card__glass {
    height: auto;
    min-height: 132px;
    padding: 20px 14px 14px;
  }

  .home-investment-card__title {
    font-size: 19px;
    line-height: 1.35;
  }

  .home-investment-card__desc {
    font-size: 14px;
    line-height: 1.5;
    -webkit-line-clamp: 2;
  }

  .home-investment-card__contact,
  .home-investment-card__arrow {
    min-height: 42px;
  }

  /* ---------- Dự án nổi bật ---------- */
  .home-featured-projects {
    padding-top: 42px;
    padding-bottom: 44px;
  }

  .home-featured-projects__inner {
    width: calc(100% - 32px);
  }

  .home-featured-projects__intro {
    width: 100%;
    margin-bottom: 24px;
  }

  .home-featured-projects__title {
    width: 100%;
    font-size: 26px;
    line-height: 1.35;
    text-align: center;
  }

  .home-featured-projects__desc {
    width: 100%;
    font-size: 15px;
    line-height: 1.6;
    text-align: center;
  }

  .home-featured-projects__stage,
  .home-featured-projects__column,
  .home-featured-projects__column--stack,
  .home-featured-projects__column--center {
    width: 100%;
    height: auto;
  }

  .home-featured-projects__stage {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .home-featured-projects__column {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .home-featured-project,
  .home-featured-project--small {
    width: 100%;
    height: clamp(220px, 62vw, 280px);
    min-height: 0;
  }

  .home-featured-project__name {
    font-size: 18px;
    line-height: 1.35;
  }

  .home-featured-project__meta {
    font-size: 13px;
    line-height: 1.45;
  }

  .home-featured-projects__footer {
    margin-top: 24px;
  }

  .home-featured-projects__more {
    min-height: 46px;
  }

  /* ---------- Phụ kiện ---------- */
  .home-accessories {
    padding-top: 40px;
    padding-bottom: 44px;
  }

  .home-accessories__inner {
    width: calc(100% - 32px);
    gap: 24px;
  }

  .home-accessories__title {
    width: 100%;
    font-size: 26px;
    line-height: 1.35;
    text-align: center;
  }

  .home-accessories__body {
    gap: 18px;
  }

  .home-accessories__tabs {
    width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .home-accessories__tabs::-webkit-scrollbar {
    display: none;
  }

  .home-accessories__tab {
    min-height: 42px;
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .home-accessories__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .home-accessories .home-accessory-card {
    min-width: 0;
    min-height: 0;
    padding: 14px 9px 12px;
  }

  .home-accessories .home-accessory-card__image {
    height: clamp(92px, 27vw, 118px);
  }

  .home-accessories .home-accessory-card__name {
    min-height: 38px;
    font-size: 13px;
    line-height: 19px;
  }

  .home-accessories .home-accessory-card__desc,
  .home-accessories .home-accessory-card__price,
  .home-accessories .home-accessory-card__more {
    font-size: 12px;
    line-height: 1.45;
  }

  /* ---------- Kiến thức ---------- */
  .home-knowledge {
    padding-top: 40px;
    padding-bottom: 44px;
  }

  .home-knowledge__inner {
    width: calc(100% - 32px);
  }

  .home-knowledge__title {
    width: 100%;
    font-size: 26px;
    line-height: 1.35;
    text-align: center;
  }

  .home-knowledge__intro {
    width: 100%;
    margin-bottom: 22px;
    font-size: 15px;
    line-height: 1.6;
    text-align: center;
  }

  .home-knowledge__grid,
  .home-knowledge__left {
    display: grid;
    width: 100%;
    height: auto;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .home-knowledge-card,
  .home-knowledge-card--small,
  .home-knowledge-card--main,
  .home-knowledge-card--right {
    width: 100%;
    height: clamp(220px, 62vw, 285px);
    min-height: 0;
  }

  .home-knowledge-card__name,
  .home-knowledge-card--small .home-knowledge-card__name,
  .home-knowledge-card--main .home-knowledge-card__name,
  .home-knowledge-card--right .home-knowledge-card__name {
    font-size: 18px;
    line-height: 1.35;
  }

  .home-knowledge-card__desc,
  .home-knowledge-card--small .home-knowledge-card__desc,
  .home-knowledge-card--main .home-knowledge-card__desc,
  .home-knowledge-card--right .home-knowledge-card__desc {
    font-size: 14px;
    line-height: 1.5;
  }

  .home-knowledge-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    font-size: 12px;
  }

  /* ---------- Tìm chúng tôi ---------- */
  .home-find-us {
    min-height: 0;
    padding: 40px 0;
  }

  .home-find-us__background {
    background-attachment: scroll;
  }

  .home-find-us__inner {
    width: calc(100% - 32px);
    gap: 22px;
  }

  .home-find-us__top {
    display: flex;
    height: auto;
    flex-direction: column;
    gap: 18px;
  }

  .home-find-us__title {
    width: 100%;
    font-size: 26px;
    line-height: 1.35;
    text-align: center;
  }

  .home-find-us__socials {
    display: grid;
    width: 100%;
    height: auto;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .home-find-us-social {
    width: 100%;
    height: 64px;
    min-height: 64px;
    justify-content: flex-start;
    padding: 12px 18px;
  }

  .home-find-us-social i {
    width: 32px;
    font-size: 27px;
  }

  .home-find-us-social strong {
    font-size: 18px;
  }

  .home-find-us__map {
    height: 260px;
    border-radius: 14px;
  }

  .home-find-us__map-button {
    right: 10px;
    bottom: 10px;
    width: auto;
    max-width: calc(100% - 20px);
    min-height: 44px;
    height: auto;
    padding: 10px 14px;
    font-size: 14px;
    line-height: 20px;
  }

  /* ---------- Đăng ký ngay: selector đúng là __visual, không phải __image ---------- */
  .home-quick-repair {
    padding: 40px 0 44px;
  }

  .home-quick-repair__stage {
    position: relative;
    width: calc(100% - 32px);
    max-width: 100%;
    height: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
  }

  .home-quick-repair__visual {
    position: relative;
    inset: auto;
    width: 100%;
    height: clamp(210px, 62vw, 290px);
    margin: 0;
    overflow: hidden;
    border-radius: 14px 14px 0 0;
  }

  .home-quick-repair__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .home-quick-repair__content {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 22px 16px 18px;
    background: #fff;
    border-radius: 0 0 14px 14px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  }

  .home-quick-repair__title,
  .home-quick-repair__form,
  .home-quick-repair__fields,
  .home-quick-repair__row,
  .home-quick-repair__submit {
    width: 100%;
    height: auto;
  }

  .home-quick-repair__title {
    justify-content: flex-start;
    margin: 0 0 8px;
    font-size: 26px;
    line-height: 1.35;
    text-align: left;
  }

  .home-quick-repair__desc {
    margin: 0 0 18px;
    font-size: 15px;
    line-height: 1.6;
  }

  .home-quick-repair__fields {
    gap: 16px;
  }

  .home-quick-repair__row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .home-quick-repair__field {
    min-height: 0;
    gap: 5px;
  }

  .home-quick-repair__field label {
    height: auto;
    font-size: 14px;
    line-height: 21px;
  }

  .home-quick-repair__field input {
    height: 48px;
    padding: 12px 14px;
    font-size: 15px;
  }

  .home-quick-repair__field textarea {
    height: 118px;
    min-height: 118px;
    max-height: none;
    padding: 12px 14px;
    font-size: 15px;
    resize: vertical;
  }

  .home-quick-repair__submit {
    min-height: 48px;
    margin-top: 22px;
    padding: 12px 18px;
    font-size: 16px;
    line-height: 24px;
  }

  /* ---------- Footer ---------- */
  .footer-figma {
    padding: 30px 0;
  }

  .footer-figma__wrap {
    width: calc(100% - 24px);
  }

  .footer-figma__card {
    padding: 24px 16px 20px;
    border-radius: 14px;
  }

  .footer-figma__main {
    flex-direction: column;
    gap: 28px;
  }

  .footer-figma__brand,
  .footer-figma__right,
  .footer-figma__column {
    width: 100%;
    max-width: 100%;
  }

  .footer-figma__brand-head {
    width: 100%;
    min-height: 0;
    height: auto;
  }

  .footer-figma__logo {
    width: min(220px, 70vw);
    height: auto;
    flex-basis: auto;
  }

  .footer-figma__logo img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
  }

  .footer-figma__company-name {
    min-height: 0;
    height: auto;
    font-size: 17px;
    line-height: 1.45;
  }

  .footer-figma__brand-description,
  .footer-figma__brand-description * {
    font-size: 14px;
    line-height: 1.6;
  }

  .footer-figma__right {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-figma__heading h3 {
    font-size: 20px;
    line-height: 1.4;
  }

  .footer-figma__links a,
  .footer-figma__links span,
  .footer-figma__contact-content,
  .footer-figma__contact-content * {
    font-size: 14px;
    line-height: 1.6;
  }

  .footer-figma__social-block > strong {
    font-size: 16px;
  }

  .footer-figma__socials a,
  .footer-figma__socials span {
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
  }

  .footer-figma__map {
    height: 220px;
    border-radius: 12px;
  }

  .footer-figma__copyright {
    font-size: 12px;
    line-height: 1.55;
  }

  /* ---------- Inner pages / common ---------- */
  .grid-news,
  .grid-product {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .title-detail h1,
  .title-main,
  .title-product {
    overflow-wrap: anywhere;
  }

  .title-detail h1 {
    font-size: 24px;
    line-height: 1.35;
  }

  .baonoidung,
  .content-main,
  .news-detail-content {
    max-width: 100%;
    font-size: 16px;
    line-height: 1.7;
    overflow-wrap: anywhere;
  }

  .baonoidung table,
  .content-main table,
  .news-detail-content table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* =========================================================
   MOBILE ABOUT / STATS / PARTNERS LAYOUT FIX — 2026-09-03
   ========================================================= */
@media (max-width: 767px) {
  /* Giới thiệu: gọn nội dung trên màn hình nhỏ, nút Xem thêm vẫn giữ nguyên */
  .home-about-figma {
    padding: 24px 0 28px;
  }

  .home-about-figma__inner {
    width: calc(100% - 24px);
    gap: 12px;
  }

  .home-about-figma__card {
    padding: 18px 14px 16px;
    border-radius: 12px;
  }

  .home-about-figma__title {
    margin-bottom: 8px;
    font-size: 22px;
    line-height: 1.25;
  }

  .home-about-figma__desc {
    display: -webkit-box;
    margin-bottom: 14px;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 8;
  }

  .home-about-figma__more {
    min-width: 112px;
    min-height: 40px;
    height: 40px;
    padding: 8px 14px;
    font-size: 13px;
  }

  /* Số liệu: bỏ kiểu cột đỏ cao, chuyển thành 3 card thấp cân nhau */
  .home-about-figma__stats {
    display: grid;
    width: 100%;
    height: auto !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 104px;
    gap: 6px;
    margin: 0;
  }

  .home-about-stat {
    display: flex;
    width: 100% !important;
    height: 104px !important;
    min-height: 104px !important;
    max-height: 104px !important;
    aspect-ratio: auto !important;
    padding: 10px 5px !important;
    align-items: center;
    justify-content: center;
    border-radius: 10px !important;
    overflow: hidden;
  }

  .home-about-stat__content {
    display: flex;
    width: 100%;
    height: auto;
    padding: 0 3px !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-align: center;
  }

  .home-about-stat__number,
  .home-about-stat__content strong {
    margin: 0;
    font-size: clamp(20px, 6vw, 24px) !important;
    line-height: 1.05 !important;
    white-space: nowrap;
  }

  .home-about-stat__label,
  .home-about-stat__content span {
    width: 100%;
    margin: 0;
    font-size: 9.5px !important;
    font-weight: 600;
    line-height: 1.3 !important;
    text-align: center;
    overflow-wrap: normal;
  }

  /* Logo đối tác: tạo một dải riêng, thoáng và không sát mép */
  .home-partners {
    padding-top: 8px;
    padding-bottom: 16px;
  }

  .home-partners__stage {
    width: calc(100% - 24px);
    height: 72px !important;
    margin: 0 auto;
    padding: 10px 8px;
    overflow: hidden;
    border-radius: 10px;
    background: #fff;
  }

  .home-partners__swiper,
  .home-partners__swiper .swiper-wrapper,
  .home-partners__swiper .swiper-slide,
  .home-partner-card,
  .home-partner-card__logo {
    height: 52px !important;
  }

  .home-partners__swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .home-partner-card__logo {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    padding: 4px;
  }

  .home-partner-card__logo img {
    width: auto !important;
    max-width: 90px !important;
    max-height: 38px !important;
    object-fit: contain;
  }

  /* Floating buttons nhỏ hơn để không che card số liệu */
  #social {
    right: 2px !important;
  }

  #social .btn-frame {
    margin: 10px 0;
    transform: scale(0.68);
    transform-origin: right center;
  }

  .social-template-4 {
    right: 4px !important;
    transform: scale(0.86);
    transform-origin: right center;
  }
}

/* =========================================================
   MOBILE REMOVE EMPTY GAP BETWEEN ABOUT STATS & PARTNERS
   2026-09-03
   ========================================================= */
@media (max-width: 767px) {
  /* Xóa chiều cao desktop còn sót lại ở section giới thiệu */
  .home-about-figma {
    height: auto !important;
    min-height: 0 !important;
    padding-bottom: 12px !important;
  }

  .home-about-figma__inner {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    align-items: stretch !important;
  }

  .home-about-figma__card {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  .home-about-figma__stats {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    grid-auto-rows: 104px;
    margin-bottom: 0 !important;
  }

  /* Đưa dải logo lên sát phần số liệu, không để khoảng trắng dư */
  .home-partners {
    height: auto !important;
    min-height: 0 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  .home-partners__stage {
    margin-top: 0 !important;
  }
}

/* Ảnh banner mobile không được xuất hiện trên desktop/tablet. */
.figma-hero-mobile-image {
  display: none !important;
}

/* =========================================================
   HOME HERO MOBILE BANNER IMAGE
   Uses slide options.mobile_photo on <= 767px, keeps desktop unchanged.
   ========================================================= */
@media (max-width: 767px) {
  .figma-hero.below-nav.home-banner {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: transparent !important;
  }

  .figma-hero .figma-hero-swiper,
  .figma-hero .swiper-wrapper,
  .figma-hero .swiper-slide.figma-hero-slide {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Desktop đang để Swiper absolute. Mobile phải đưa lại vào document flow
     để chiều cao hero bám theo ảnh mobile 768x600, không sinh khoảng trắng ảo. */
  .figma-hero .figma-hero-swiper {
    position: relative !important;
    inset: auto !important;
    overflow: hidden !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }

  .figma-hero .swiper-slide.figma-hero-slide {
    position: relative !important;
    display: block !important;
    background: transparent !important;
  }

  .figma-hero .figma-hero-image {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    aspect-ratio: 768 / 600;
    overflow: hidden !important;
  }

  .figma-hero .figma-hero-image > picture,
  .figma-hero .figma-hero-image > picture > img {
    display: none !important;
  }

  .figma-hero .figma-hero-mobile-image {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  .figma-hero-overlay {
    inset: 0 !important;
    height: 100% !important;
    min-height: 0 !important;
  }

  .figma-hero-banner-link,
  .figma-hero-slide-link {
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
  }

  .figma-hero-content {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: none;
  }

  .figma-hero-content a {
    pointer-events: auto;
  }
}

/* =========================================================
   MOBILE SERVICES — COMPACT HORIZONTAL SWIPE
   2026-09-03
   ========================================================= */
@media (max-width: 767px) {
  .home-services-figma {
    padding: 28px 0 32px !important;
  }

  .home-services-figma > .wrap-content {
    width: calc(100% - 32px) !important;
    gap: 18px !important;
  }

  .home-services-figma__intro {
    gap: 8px !important;
  }

  .home-services-figma__title {
    margin: 0 !important;
    font-size: clamp(23px, 6.5vw, 27px) !important;
    line-height: 1.2 !important;
  }

  .home-services-figma__desc {
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  /* 5 dịch vụ chuyển thành hàng vuốt ngang thay vì xếp dọc */
  .home-services-stage {
    display: flex !important;
    width: calc(100% + 16px) !important;
    height: auto !important;
    margin-right: -16px !important;
    gap: 10px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 2px 16px 8px 0 !important;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .home-services-stage::-webkit-scrollbar {
    display: none;
  }

  .home-service-slide,
  .home-service-slide:nth-child(1),
  .home-service-slide:nth-child(2),
  .home-service-slide:nth-child(3),
  .home-service-slide:nth-child(4),
  .home-service-slide:nth-child(5) {
    position: relative !important;
    inset: auto !important;
    width: min(82vw, 300px) !important;
    min-width: min(82vw, 300px) !important;
    flex: 0 0 min(82vw, 300px) !important;
    height: 190px !important;
    min-height: 190px !important;
    scroll-snap-align: start;
  }

  .home-service-card {
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    border-radius: 12px !important;
  }

  .home-service-card__image {
    width: 100% !important;
    height: 100% !important;
    border-radius: 12px !important;
  }

  .home-service-card__image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  .home-service-card__body,
  .home-service-slide:nth-child(1) .home-service-card__body {
    position: absolute !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: auto !important;
    min-height: 58px !important;
    padding: 20px 44px 10px 10px !important;
    border-radius: 0 0 12px 12px !important;
  }

  .home-service-card__title {
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .home-service-card__more {
    position: absolute !important;
    right: 8px !important;
    bottom: 9px !important;
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    flex-basis: 34px !important;
  }

  /* Giảm khoảng cách xuống section tiếp theo */
  .home-coverage-map {
    margin-top: 4px !important;
  }
}
@media (max-width: 767px) {
  .home-services-stage {
    gap: 12px !important;
    padding-bottom: 6px !important;
  }

  .home-service-slide,
  .home-service-slide:nth-child(1),
  .home-service-slide:nth-child(2),
  .home-service-slide:nth-child(3),
  .home-service-slide:nth-child(4),
  .home-service-slide:nth-child(5) {
    width: 88% !important;
    min-width: 88% !important;
    flex: 0 0 88% !important;

    height: 215px !important;
    min-height: 215px !important;

    scroll-snap-align: start;
  }

  .home-service-card,
  .home-service-card__image {
    border-radius: 14px !important;
  }

  .home-service-card__body,
  .home-service-slide:nth-child(1) .home-service-card__body {
    min-height: 64px !important;
    padding: 22px 48px 12px 12px !important;
  }

  .home-service-card__title {
    font-size: 15px !important;
    line-height: 1.35 !important;
  }

  .home-service-card__more {
    right: 10px !important;
    bottom: 11px !important;

    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
  }

  .home-coverage-map {
    margin-top: 18px !important;
  }
}

/* =========================================================
   MOBILE FEATURED PROJECTS — 2 COLUMNS GRID
   2026-09-03
   ========================================================= */
@media (max-width: 767px) {
  .home-featured-projects {
    padding-top: 30px !important;
    padding-bottom: 34px !important;
  }

  .home-featured-projects__inner {
    width: calc(100% - 24px) !important;
  }

  .home-featured-projects__intro {
    width: 100% !important;
    margin-bottom: 16px !important;
  }

  .home-featured-projects__title {
    margin: 0 0 8px !important;
    font-size: 24px !important;
    line-height: 1.2 !important;
    text-align: center !important;
  }

  .home-featured-projects__desc {
    width: 100% !important;
    margin: 0 auto !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    text-align: center !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 3 !important;
    overflow: hidden !important;
  }

  /* Flatten các column desktop để card thành 1 grid 2 cột trên mobile */
  .home-featured-projects__stage {
    display: grid !important;
    width: 100% !important;
    height: auto !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    overflow: visible !important;
  }

  .home-featured-projects__column,
  .home-featured-projects__column--stack,
  .home-featured-projects__column--center {
    display: contents !important;
  }

  .home-featured-project,
  .home-featured-project--small {
    position: relative !important;
    width: 100% !important;
    min-width: 0 !important;
    height: clamp(150px, 43vw, 185px) !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: hidden !important;
    border-radius: 10px !important;
  }

  .home-featured-project picture,
  .home-featured-project--small picture,
  .home-featured-project img,
  .home-featured-project--small img {
    width: 100% !important;
    height: 100% !important;
  }

  .home-featured-project img,
  .home-featured-project--small img {
    object-fit: cover !important;
  }

  .home-featured-project__content {
    padding: 30px 30px 9px 9px !important;
  }

  .home-featured-project__name {
    margin: 0 !important;
    font-size: 12px !important;
    line-height: 1.28 !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
  }

  .home-featured-project__meta {
    margin-top: 3px !important;
    font-size: 9.5px !important;
    line-height: 1.3 !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 1 !important;
    overflow: hidden !important;
  }

  .home-featured-project__arrow,
  .home-featured-project__more {
    right: 7px !important;
    bottom: 7px !important;
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
  }

  .home-featured-projects__footer {
    width: 100% !important;
    margin-top: 16px !important;
    text-align: center !important;
  }

  .home-featured-projects__more {
    min-height: 42px !important;
    padding: 9px 18px !important;
    font-size: 13px !important;
  }
}

/* =========================================================
   MOBILE HERO — USE 768x600 MOBILE SLIDER AS TRUE HERO
   2026-09-03
   ========================================================= */
@media (max-width: 767px) {
  /* Hero ôm đúng ảnh mobile 768 x 600, không còn vùng trắng dư */
  .figma-hero {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    background: #eaf4fb !important;
  }

  .figma-hero .figma-hero-swiper,
  .figma-hero .swiper-wrapper,
  .figma-hero .swiper-slide.figma-hero-slide,
  .figma-hero-slide {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
  }

  .figma-hero .swiper-slide.figma-hero-slide,
  .figma-hero-slide {
    aspect-ratio: 768 / 600 !important;
    display: block !important;
    overflow: hidden !important;
    background: #eaf4fb !important;
  }

  /* Ảnh mobile phủ toàn bộ hero */
  .figma-hero .figma-hero-image,
  .figma-hero .figma-hero-image picture {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
  }

  .figma-hero .figma-hero-image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  .figma-hero-slide-link {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 2 !important;
  }

  /* Gradient nhẹ để chữ phía dưới đọc rõ trên ảnh */
  .figma-hero-slide::after {
    content: "" !important;
    position: absolute !important;
    z-index: 3 !important;
    inset: 0 !important;
    pointer-events: none !important;
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.03) 0%,
      rgba(255, 255, 255, 0.02) 38%,
      rgba(255, 255, 255, 0.72) 72%,
      rgba(255, 255, 255, 0.96) 100%
    ) !important;
  }

  /* Text nằm trực tiếp trên banner, không tạo card trắng riêng */
  .figma-hero-content {
    position: absolute !important;
    z-index: 5 !important;
    top: auto !important;
    right: 12px !important;
    bottom: 12px !important;
    left: 12px !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    pointer-events: auto !important;
  }

  .figma-hero-copy {
    width: 100% !important;
    max-width: 100% !important;
    gap: 8px !important;
  }

  .figma-hero-text {
    gap: 4px !important;
  }

  .figma-hero-text h1 {
    margin: 0 !important;
    font-size: clamp(20px, 6vw, 25px) !important;
    line-height: 1.12 !important;
    font-weight: 800 !important;
    color: #7d0000 !important;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) !important;
  }

  .figma-hero-text p {
    display: -webkit-box !important;
    margin: 0 !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
    color: #222 !important;
  }

  .figma-hero-actions {
    display: grid !important;
    width: 100% !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    margin-top: 2px !important;
  }

  .figma-hero-btn,
  .figma-hero-btn-primary,
  .figma-hero-btn-outline {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 38px !important;
    height: 38px !important;
    padding: 7px 10px !important;
    border-radius: 5px !important;
    font-size: 12px !important;
    line-height: 18px !important;
    white-space: nowrap !important;
  }

  /* Section kế tiếp đi liền hero, không còn khoảng trắng lớn */
  .figma-hero + .home-services-figma,
  .home-services-figma {
    margin-top: 0 !important;
  }
}

/* =========================================================
   MOBILE HERO — LOWER TEXT POSITION
   2026-09-03
   ========================================================= */
@media (max-width: 767px) {
  /* Hạ toàn bộ nội dung hero xuống thấp hơn, tránh dính sát header */
  .figma-hero .figma-hero-content {
    position: absolute !important;
    top: auto !important;
    right: 12px !important;
    bottom: 6px !important;
    left: 12px !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: translateY(8px) !important;
  }

  .figma-hero .figma-hero-copy {
    gap: 6px !important;
  }

  .figma-hero .figma-hero-text {
    gap: 3px !important;
  }

  .figma-hero .figma-hero-text h1 {
    font-size: clamp(19px, 5.8vw, 24px) !important;
    line-height: 1.1 !important;
  }

  .figma-hero .figma-hero-text p {
    font-size: 11px !important;
    line-height: 1.35 !important;
    -webkit-line-clamp: 2 !important;
  }

  .figma-hero .figma-hero-actions {
    gap: 6px !important;
    margin-top: 1px !important;
  }

  .figma-hero .figma-hero-btn,
  .figma-hero .figma-hero-btn-primary,
  .figma-hero .figma-hero-btn-outline {
    height: 34px !important;
    min-height: 34px !important;
    padding: 6px 9px !important;
    font-size: 11px !important;
    line-height: 16px !important;
  }
}

/* =========================================================
   MOBILE HERO — CENTER CONTENT INSIDE 768x600 IMAGE
   2026-09-03
   ========================================================= */
@media (max-width: 767px) {
  /* Dùng đúng tỷ lệ ảnh mobile 768x600 và đưa nội dung vào giữa banner */
  .figma-hero .swiper-slide.figma-hero-slide,
  .figma-hero-slide {
    aspect-ratio: 768 / 600 !important;
  }

  .figma-hero .figma-hero-content {
    position: absolute !important;
    top: 50% !important;
    right: 14px !important;
    bottom: auto !important;
    left: 14px !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: translateY(-50%) !important;
    text-align: center !important;
  }

  .figma-hero .figma-hero-copy {
    width: 100% !important;
    max-width: 100% !important;
    align-items: center !important;
    gap: 7px !important;
  }

  .figma-hero .figma-hero-text {
    width: 100% !important;
    align-items: center !important;
    gap: 4px !important;
  }

  .figma-hero .figma-hero-text h1 {
    margin: 0 auto !important;
    font-size: clamp(18px, 5.6vw, 23px) !important;
    line-height: 1.08 !important;
    text-align: center !important;
    max-width: 100% !important;
  }

  .figma-hero .figma-hero-text p {
    margin: 0 auto !important;
    max-width: 92% !important;
    text-align: center !important;
    font-size: 11px !important;
    line-height: 1.35 !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
  }

  .figma-hero .figma-hero-actions {
    display: grid !important;
    width: min(100%, 250px) !important;
    margin: 0 auto !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px !important;
    justify-content: center !important;
  }

  .figma-hero .figma-hero-btn,
  .figma-hero .figma-hero-btn-primary,
  .figma-hero .figma-hero-btn-outline {
    width: 100% !important;
    min-width: 0 !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 6px 8px !important;
    border-radius: 5px !important;
    font-size: 11px !important;
    line-height: 16px !important;
    text-align: center !important;
  }
}

/* =========================================================
   MOBILE HERO — FORCE CONTENT LOWER IN 768x600 BANNER
   2026-09-03
   ========================================================= */
@media (max-width: 767px) {
  .figma-hero .swiper-slide.figma-hero-slide,
  .figma-hero-slide {
    aspect-ratio: 768 / 600 !important;
    min-height: 0 !important;
  }

  .figma-hero .figma-hero-content {
    position: absolute !important;
    top: 80% !important;
    right: 12px !important;
    bottom: auto !important;
    left: 12px !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: translateY(-50%) !important;
    text-align: center !important;
  }

  .figma-hero .figma-hero-copy,
  .figma-hero .figma-hero-text {
    align-items: center !important;
    text-align: center !important;
  }

  .figma-hero .figma-hero-copy {
    gap: 5px !important;
  }

  .figma-hero .figma-hero-text {
    gap: 2px !important;
  }

  .figma-hero .figma-hero-text h1 {
    margin: 0 auto !important;
    font-size: clamp(17px, 5.2vw, 21px) !important;
    line-height: 1.06 !important;
    text-align: center !important;
  }

  .figma-hero .figma-hero-text p {
    max-width: 94% !important;
    margin: 0 auto !important;
    font-size: 10px !important;
    line-height: 1.3 !important;
    text-align: center !important;
    -webkit-line-clamp: 2 !important;
  }

  .figma-hero .figma-hero-actions {
    width: min(100%, 236px) !important;
    margin: 1px auto 0 !important;
    gap: 5px !important;
  }

  .figma-hero .figma-hero-btn,
  .figma-hero .figma-hero-btn-primary,
  .figma-hero .figma-hero-btn-outline {
    height: 30px !important;
    min-height: 30px !important;
    padding: 5px 7px !important;
    font-size: 10px !important;
    line-height: 14px !important;
  }
}

/* =========================================================
   MOBILE FEATURED PROJECTS — IMAGE CLEAR, TEXT BELOW
   2026-09-03
   ========================================================= */
@media (max-width: 767px) {
  .home-featured-project,
  .home-featured-project--small {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: hidden !important;
    border-radius: 10px !important;
    background: #1b1b1b !important;
  }

  .home-featured-project__link {
    position: relative !important;
    display: flex !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    flex-direction: column !important;
    overflow: hidden !important;
    border-radius: 10px !important;
  }

  /* Ảnh tách riêng, không bị text phủ lên */
  .home-featured-project__image,
  .home-featured-project picture,
  .home-featured-project--small picture {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: clamp(95px, 29vw, 125px) !important;
    min-height: clamp(95px, 29vw, 125px) !important;
    overflow: hidden !important;
    flex: 0 0 auto !important;
  }

  .home-featured-project__image img,
  .home-featured-project img,
  .home-featured-project--small img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
  }

  /* Bỏ gradient/overlay đè lên hình nếu source cũ có */
  .home-featured-project__image::after,
  .home-featured-project__link::after {
    display: none !important;
    content: none !important;
  }

  /* Nội dung chuyển xuống dưới ảnh */
  .home-featured-project__content {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 62px !important;
    padding: 9px 34px 9px 9px !important;
    transform: none !important;
    background: #1b1b1b !important;
  }

  .home-featured-project__name {
    margin: 0 !important;
    color: #fff !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
  }

  .home-featured-project__meta {
    margin-top: 4px !important;
    color: rgba(255, 255, 255, 0.72) !important;
    font-size: 9px !important;
    line-height: 1.3 !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 1 !important;
    overflow: hidden !important;
  }

  .home-featured-project__arrow,
  .home-featured-project__more {
    position: absolute !important;
    right: 6px !important;
    bottom: 7px !important;
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    min-height: 26px !important;
  }
}

/* =========================================================
   MOBILE FEATURED PROJECTS — CLEAN IMAGE FIRST GRID
   2026-09-03
   ========================================================= */
@media (max-width: 767px) {
  .home-featured-projects {
    padding-top: 28px !important;
    padding-bottom: 30px !important;
  }

  .home-featured-projects__inner {
    width: calc(100% - 20px) !important;
  }

  .home-featured-projects__intro {
    margin-bottom: 14px !important;
  }

  .home-featured-projects__title {
    margin-bottom: 6px !important;
    font-size: 23px !important;
    line-height: 1.2 !important;
  }

  .home-featured-projects__desc {
    max-width: 100% !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
    -webkit-line-clamp: 3 !important;
  }

  .home-featured-projects__stage {
    display: grid !important;
    width: 100% !important;
    height: auto !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 9px !important;
    overflow: visible !important;
  }

  .home-featured-projects__column,
  .home-featured-projects__column--stack,
  .home-featured-projects__column--center {
    display: contents !important;
  }

  /* Card quay lại dạng ảnh full, text chỉ phủ nhẹ ở đáy */
  .home-featured-project,
  .home-featured-project--small {
    position: relative !important;
    width: 100% !important;
    min-width: 0 !important;
    height: clamp(132px, 40vw, 165px) !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: hidden !important;
    border-radius: 10px !important;
    background: #111 !important;
    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.16) !important;
  }

  .home-featured-project__link {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    overflow: hidden !important;
    border-radius: inherit !important;
  }

  .home-featured-project__image,
  .home-featured-project picture,
  .home-featured-project--small picture {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
  }

  .home-featured-project__image img,
  .home-featured-project img,
  .home-featured-project--small img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
  }

  /* Chỉ gradient nhẹ 38% phía dưới, không làm tối toàn ảnh */
  .home-featured-project__link::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    z-index: 1 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    height: 42% !important;
    pointer-events: none !important;
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.2) 26%,
      rgba(0, 0, 0, 0.78) 100%
    ) !important;
  }

  .home-featured-project__image::after {
    display: none !important;
    content: none !important;
  }

  .home-featured-project__content {
    position: absolute !important;
    z-index: 2 !important;
    top: auto !important;
    right: 30px !important;
    bottom: 7px !important;
    left: 8px !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    transform: none !important;
    background: transparent !important;
  }

  .home-featured-project__name {
    margin: 0 !important;
    color: #fff !important;
    font-size: 10.5px !important;
    font-weight: 800 !important;
    line-height: 1.28 !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45) !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
  }

  /* Mobile 2 cột: ẩn meta để ưu tiên ảnh */
  .home-featured-project__meta {
    display: none !important;
  }

  .home-featured-project__arrow,
  .home-featured-project__more {
    position: absolute !important;
    z-index: 3 !important;
    right: 6px !important;
    bottom: 6px !important;
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    min-height: 24px !important;
    border-radius: 6px !important;
  }

  /* Card cuối bị lẻ: cho full 2 cột để bố cục không hụt bên phải */
  .home-featured-projects__column:last-child .home-featured-project {
    grid-column: 1 / -1 !important;
    height: clamp(145px, 44vw, 178px) !important;
  }

  .home-featured-projects__footer {
    margin-top: 14px !important;
    text-align: center !important;
  }

  .home-featured-projects__more {
    min-height: 38px !important;
    padding: 8px 16px !important;
    font-size: 12px !important;
    border-radius: 7px !important;
  }
}

/* =========================================================
   MOBILE FEATURED PROJECTS — NO GRADIENT, TITLE ONLY
   2026-09-03
   ========================================================= */
@media (max-width: 767px) {
  /* Bỏ toàn bộ gradient/overlay trên card dự án mobile */
  .home-featured-project__link::after,
  .home-featured-project__image::after {
    display: none !important;
    content: none !important;
    background: none !important;
  }

  .home-featured-project,
  .home-featured-project--small {
    background: transparent !important;
  }

  /* Ảnh phải thấy rõ toàn bộ card */
  .home-featured-project__image,
  .home-featured-project picture,
  .home-featured-project--small picture,
  .home-featured-project__image img,
  .home-featured-project img,
  .home-featured-project--small img {
    width: 100% !important;
    height: 100% !important;
  }

  .home-featured-project__image img,
  .home-featured-project img,
  .home-featured-project--small img {
    object-fit: cover !important;
    object-position: center !important;
  }

  /* Chỉ giữ tiêu đề, không nền phủ lớn */
  .home-featured-project__content {
    position: absolute !important;
    z-index: 3 !important;
    top: auto !important;
    right: 32px !important;
    bottom: 6px !important;
    left: 6px !important;
    width: auto !important;
    min-height: 0 !important;
    padding: 4px 6px !important;
    background: rgba(0, 0, 0, 0.42) !important;
    border-radius: 5px !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .home-featured-project__name {
    margin: 0 !important;
    color: #fff !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45) !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
  }

  /* Ẩn mô tả/meta để ưu tiên ảnh */
  .home-featured-project__meta {
    display: none !important;
  }

  .home-featured-project__arrow,
  .home-featured-project__more {
    right: 5px !important;
    bottom: 5px !important;
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    min-height: 24px !important;
  }
}

/* =========================================================
   MOBILE FEATURED PROJECTS — REMOVE REAL GLASS OVERLAY
   2026-09-03
   ========================================================= */
@media (max-width: 767px) {
  /* Tắt lớp phủ thật từ CSS desktop */
  .home-featured-project__glass,
  .home-featured-project--side .home-featured-project__glass,
  .home-featured-project--center .home-featured-project__glass,
  .home-featured-projects__column--stack-left
    .home-featured-project--small-1
    .home-featured-project__glass,
  .home-featured-projects__column--stack-left
    .home-featured-project--small-2
    .home-featured-project__glass,
  .home-featured-projects__column--stack-right
    .home-featured-project--small-1
    .home-featured-project__glass,
  .home-featured-projects__column--stack-right
    .home-featured-project--small-2
    .home-featured-project__glass {
    position: absolute !important;
    z-index: 3 !important;
    top: auto !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;

    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;

    display: flex !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
    gap: 4px !important;

    padding: 6px 6px 5px !important;

    background: transparent !important;
    background-image: none !important;

    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;

    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  /* Tắt mọi lớp gradient phụ */
  .home-featured-project__image::after,
  .home-featured-project__link::after,
  .home-featured-project::after {
    content: none !important;
    display: none !important;
    background: none !important;
    opacity: 0 !important;
  }

  /* Chỉ còn title đặt trực tiếp trên ảnh */
  .home-featured-project__content {
    position: static !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .home-featured-project__name {
    margin: 0 !important;
    padding: 0 !important;

    color: #fff !important;
    background: transparent !important;

    font-size: 10px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;

    text-shadow:
      0 1px 2px rgba(0, 0, 0, 0.95),
      0 0 4px rgba(0, 0, 0, 0.7) !important;

    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
  }

  .home-featured-project__meta {
    display: none !important;
  }

  /* Ảnh giữ nguyên độ sáng, không filter */
  .home-featured-project__image img,
  .home-featured-project img,
  .home-featured-project--small img {
    opacity: 1 !important;
    filter: none !important;
    -webkit-filter: none !important;
  }

  .home-featured-project__arrow,
  .home-featured-project__more {
    position: relative !important;
    right: auto !important;
    bottom: auto !important;

    width: 23px !important;
    height: 23px !important;
    min-width: 23px !important;
    min-height: 23px !important;
    flex: 0 0 23px !important;
  }
}

/* =========================================================
   MOBILE NEWS & KNOWLEDGE — 1 FEATURED + COMPACT GRID
   2026-09-03
   ========================================================= */
@media (max-width: 767px) {
  .home-knowledge {
    padding: 28px 0 34px !important;
  }

  .home-knowledge__inner,
  .home-knowledge__title,
  .home-knowledge__grid {
    width: calc(100% - 20px) !important;
    max-width: 100% !important;
  }

  .home-knowledge__inner {
    gap: 14px !important;
  }

  .home-knowledge__title {
    height: auto !important;
    margin: 0 !important;
    font-size: 24px !important;
    line-height: 1.25 !important;
  }

  .home-knowledge__intro {
    margin: -4px auto 0 !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
  }

  /*
   * Mobile hierarchy:
   * - Card main = bài nổi bật full ngang ở hàng đầu.
   * - 2 card small = 2 cột bên dưới.
   * - Card right = full ngang cuối.
   */
  .home-knowledge__grid {
    display: grid !important;
    height: auto !important;
    min-height: 0 !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: auto !important;
    gap: 10px !important;
    align-items: stretch !important;
  }

  /* Bỏ wrapper cột trái để 2 bài nhỏ tham gia trực tiếp vào grid */
  .home-knowledge__left {
    display: contents !important;
  }

  /* ===== BÀI NỔI BẬT ===== */
  .home-knowledge-card--main {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    width: 100% !important;
    height: clamp(220px, 63vw, 270px) !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    border-radius: 12px !important;
  }

  .home-knowledge-card--main .home-knowledge-card__main-link {
    padding: 16px !important;
  }

  .home-knowledge-card__copy--main {
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    padding: 50px 16px 14px !important;
  }

  .home-knowledge-card--main .home-knowledge-card__name {
    width: 100% !important;
    min-height: 0 !important;
    font-size: 18px !important;
    line-height: 1.3 !important;
    -webkit-line-clamp: 2 !important;
  }

  .home-knowledge-card--main .home-knowledge-card__desc {
    width: 100% !important;
    height: auto !important;
    margin-top: 4px !important;
    font-size: 11px !important;
    line-height: 1.4 !important;
    -webkit-line-clamp: 2 !important;
  }

  .home-knowledge-card--main .home-knowledge-card__meta {
    display: none !important;
  }

  .home-knowledge-card__nav {
    top: 10px !important;
    right: 10px !important;
    height: 32px !important;
    gap: 6px !important;
  }

  .home-knowledge-card__nav-btn {
    width: 32px !important;
    height: 32px !important;
    flex-basis: 32px !important;
    padding: 6px !important;
    font-size: 16px !important;
  }

  /* ===== 2 BÀI NHỎ ===== */
  .home-knowledge-card--small {
    width: 100% !important;
    height: clamp(145px, 43vw, 175px) !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    border-radius: 10px !important;
  }

  .home-knowledge-card--small .home-knowledge-card__link {
    padding: 8px !important;
  }

  .home-knowledge-card--small .home-knowledge-card__copy {
    width: 100% !important;
    min-height: 0 !important;
    gap: 0 !important;
  }

  .home-knowledge-card--small .home-knowledge-card__name {
    min-height: 0 !important;
    font-size: 11px !important;
    line-height: 1.3 !important;
    -webkit-line-clamp: 2 !important;
  }

  .home-knowledge-card--small .home-knowledge-card__desc {
    display: none !important;
  }

  /* ===== BÀI CUỐI FULL NGANG ===== */
  .home-knowledge-card--right {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    height: clamp(170px, 50vw, 205px) !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    border-radius: 10px !important;
  }

  .home-knowledge-card--right .home-knowledge-card__link {
    padding: 12px !important;
  }

  .home-knowledge-card--right .home-knowledge-card__copy {
    width: 100% !important;
    min-height: 0 !important;
  }

  .home-knowledge-card--right .home-knowledge-card__name {
    min-height: 0 !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
    -webkit-line-clamp: 2 !important;
  }

  .home-knowledge-card--right .home-knowledge-card__desc {
    display: none !important;
  }

  /* Giữ ảnh rõ, chỉ shade nhẹ phía đáy để title dễ đọc */
  .home-knowledge-card__shade {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0) 62%,
      rgba(0, 0, 0, 0.62) 100%
    ) !important;
  }
}

/* =========================================================
   MOBILE QUICK REPAIR / ĐĂNG KÝ NGAY — HIDE IMAGE
   2026-09-03
   ========================================================= */
@media (max-width: 767px) {
  .home-quick-repair {
    padding: 28px 0 34px !important;
  }

  .home-quick-repair__card {
    padding: 12px !important;
    border-radius: 12px !important;
  }

  .home-quick-repair__inner {
    display: block !important;
    min-height: 0 !important;
  }

  /* Ẩn ảnh riêng trên mobile để ưu tiên form */
  .home-quick-repair__visual,
  .home-quick-repair__image {
    display: none !important;
  }

  .home-quick-repair__content {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .home-quick-repair__title {
    width: 100% !important;
    margin: 0 0 14px !important;
    font-size: 24px !important;
    line-height: 1.25 !important;
    text-align: left !important;
  }

  .home-quick-repair__fields {
    gap: 12px !important;
  }

  .home-quick-repair__field {
    min-height: 0 !important;
  }

  .home-quick-repair__field label {
    margin-bottom: 5px !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
  }

  .home-quick-repair__field input,
  .home-quick-repair__field textarea,
  .home-quick-repair__field select {
    width: 100% !important;
    min-height: 42px !important;
    height: 42px !important;
    padding: 9px 11px !important;
    font-size: 13px !important;
    line-height: 20px !important;
    border-radius: 7px !important;
  }

  .home-quick-repair__field textarea {
    min-height: 92px !important;
    height: 92px !important;
    resize: vertical !important;
  }

  .home-quick-repair__submit {
    width: 100% !important;
    min-height: 44px !important;
    height: 44px !important;
    margin-top: 16px !important;
    padding: 9px 14px !important;
    font-size: 14px !important;
    line-height: 20px !important;
    border-radius: 8px !important;
  }
}

/* =========================================================
   MOBILE FOOTER LOGO — MATCH DESKTOP LOGO FRAME
   2026-09-03
   ========================================================= */
@media (max-width: 767px) {
  .footer-figma__brand-head {
    min-height: 75px !important;
    height: auto !important;
    align-items: center !important;
  }

  .footer-figma__logo {
    display: flex !important;
    width: 180px !important;
    max-width: 100% !important;
    height: 75px !important;
    min-height: 75px !important;
    flex: 0 0 180px !important;
    align-items: center !important;
    justify-content: flex-start !important;
    overflow: hidden !important;
  }

  .footer-figma__logo picture {
    display: flex !important;
    width: 180px !important;
    max-width: 100% !important;
    height: 75px !important;
    align-items: center !important;
    justify-content: flex-start !important;
  }

  .footer-figma__logo img {
    display: block !important;
    width: 180px !important;
    max-width: 100% !important;
    height: 75px !important;
    max-height: 75px !important;
    object-fit: contain !important;
    object-position: left center !important;
  }
}

@media (max-width: 390px) {
  .footer-figma__logo,
  .footer-figma__logo picture,
  .footer-figma__logo img {
    width: 165px !important;
  }

  .footer-figma__logo {
    flex-basis: 165px !important;
  }
}

/* =========================================================
   MOBILE HEADER + FOOTER LOGO — KEEP DASHBOARD DIMENSIONS
   2026-09-03
   Không ép width/height riêng trên responsive.
   Ảnh sử dụng kích thước width/height do source/Dashboard xuất ra,
   chỉ giới hạn max-width để không tràn màn hình nhỏ.
   ========================================================= */
@media (max-width: 767px) {
  /* ---------- HEADER LOGO ---------- */
  .logo-header {
    grid-column: 2 !important;
    grid-row: 1 !important;

    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;

    flex: none !important;
    flex-basis: auto !important;

    justify-self: center !important;
    align-self: center !important;

    overflow: visible !important;
  }

  .logo-header picture {
    display: block !important;

    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
  }

  .logo-header img {
    display: block !important;

    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;

    object-fit: initial !important;
  }

  /* ---------- FOOTER LOGO ---------- */
  .footer-figma__brand-head {
    min-height: 0 !important;
    height: auto !important;
  }

  .footer-figma__logo {
    display: inline-block !important;

    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    flex: none !important;
    flex-basis: auto !important;

    overflow: visible !important;
  }

  .footer-figma__logo picture {
    display: block !important;

    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
  }

  .footer-figma__logo img {
    display: block !important;

    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;

    object-fit: initial !important;
    object-position: initial !important;
  }
}

/* Xóa tác động của rule cũ <=390px ép logo footer còn 165px */
@media (max-width: 390px) {
  .footer-figma__logo,
  .footer-figma__logo picture,
  .footer-figma__logo img {
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
  }

  .footer-figma__logo {
    flex-basis: auto !important;
  }
}

/* =========================================================
   MOBILE PARTNERS — BIGGER LOGOS + KEEP SWIPER MOTION
   2026-09-03
   ========================================================= */
@media (max-width: 767px) {
  .home-partners {
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 10px 0 14px !important;
    overflow: hidden !important;
  }

  .home-partners__stage {
    width: 100% !important;
    height: 88px !important;
    margin: 0 !important;
    padding: 8px 0 !important;
    overflow: hidden !important;
    border-radius: 0 !important;
    background: #fff !important;
  }

  .home-partners__swiper {
    width: 100% !important;
    height: 72px !important;
    overflow: hidden !important;
  }

  /*
   * Không set transform/transition cho wrapper.
   * Để Swiper JS toàn quyền điều khiển translate/autoplay.
   */
  .home-partners__swiper .swiper-wrapper {
    height: 72px !important;
    align-items: center !important;
  }

  /*
   * Cho mỗi logo chiếm khoảng 1/3 màn hình.
   * Nhờ vậy chỉ thấy ~3 logo/lần và hiệu ứng Swiper rõ trở lại.
   */
  .home-partners__swiper .swiper-slide {
    width: 33.3333% !important;
    min-width: 33.3333% !important;
    height: 72px !important;
    flex: 0 0 33.3333% !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 4px 8px !important;
  }

  .home-partner-card,
  .home-partner-card__logo {
    width: 100% !important;
    height: 64px !important;
    min-height: 64px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 0 !important;
    margin: 0 !important;
  }

  .home-partner-card__logo picture {
    display: flex !important;
    width: 100% !important;
    height: 64px !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .home-partner-card__logo img {
    display: block !important;

    width: auto !important;
    height: auto !important;

    max-width: 118px !important;
    max-height: 58px !important;

    object-fit: contain !important;
    object-position: center !important;
  }
}

/* Mobile rất nhỏ: vẫn giữ gần 3 logo/lần nhưng tránh chạm mép */
@media (max-width: 390px) {
  .home-partners__swiper .swiper-slide {
    width: 36% !important;
    min-width: 36% !important;
    flex-basis: 36% !important;
    padding-left: 6px !important;
    padding-right: 6px !important;
  }

  .home-partner-card__logo img {
    max-width: 104px !important;
    max-height: 54px !important;
  }
}
@media (max-width: 991px) {
  .inner-home-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inner-home-list .inner-service-layout { grid-template-columns: 1fr; }
  .inner-home-card-grid--services .inner-home-card:nth-child(5n+1) { grid-row: auto; }
  .inner-home-card-grid--services .inner-home-card:nth-child(5n+1) .inner-home-card__link { min-height: 390px; }
}

@media (max-width: 575px) {
  .inner-home-list-page,
  .inner-service-list-page { padding: 12px 0 36px; }
  .inner-home-card-grid { grid-template-columns: 1fr; gap: 16px; }
  .inner-home-card__link,
  .inner-home-card-grid--services .inner-home-card__link,
  .inner-home-card-grid--services .inner-home-card:nth-child(5n+1) .inner-home-card__link { min-height: 340px; border-radius: 18px; }
  .inner-home-card__body { padding: 22px 66px 20px 18px; }
  .inner-home-card__body h3 { font-size: 20px; }
  .inner-home-card__more { width: 44px; height: 44px; right: 16px; bottom: 18px; }
}

/* =========================================================
   FIX 2026-09-22 ROUND 2 - UPPERCASE TITLES + FOOTER OVERFLOW
   File này được load sau style.css nên đặt override cuối file.
   ========================================================= */

/* Tiêu đề trang/section chính in hoa giống menu. */
.inner-home-list__heading h1,
.title-detail h1,
.title-main,
.title-main span,
.title-product {
  text-transform: uppercase !important;
}

/*
 * Footer desktop: khung content rộng 1155px.
 * Brand 389px + right 718px + gap 58px = 1165px => dư 10px.
 * Trả gap về 47px để tổng đúng kích thước thiết kế và không tràn ngang.
 */
@media (min-width: 1200px) {
  .footer-figma__main {
    gap: 47px !important;
  }

  .footer-figma__brand {
    min-width: 0 !important;
  }

  .footer-figma__right {
    min-width: 0 !important;
  }

  .footer-figma__column--contact {
    min-width: 0 !important;
  }
}

/* Xóa format nền/khung dính từ nội dung CKE ở phần liên hệ footer. */
.footer-figma__contact-content,
.footer-figma__contact-content * {
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

.footer-figma__contact-content,
.footer-figma__contact-content p,
.footer-figma__contact-content div,
.footer-figma__contact-content span,
.footer-figma__contact-content a {
  max-width: 100% !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
}

/* Nút MXH bên phải: chừa khoảng an toàn để vòng pulse không bị cắt mép. */
@media (min-width: 768px) {
  #social {
    right: 18px !important;
    transform: none !important;
  }

  #social .btn-frame {
    margin-top: 18px !important;
    margin-bottom: 18px !important;
    transform: scale(0.78) !important;
    transform-origin: right center !important;
  }
}

@media (max-width: 767px) {
  #social {
    right: 12px !important;
  }
}


/* =========================================================
   FIX 2026-09-22 ROUND 3 - MOBILE HEADER / PRODUCT / PROJECT
   - Menu mobile in hoa giống desktop
   - Bổ sung chuyển ngôn ngữ trong drawer
   - Sản phẩm rộng hơn, giảm lề 2 bên và tránh tiêu đề dính lên trên
   - Toàn bộ card dự án nhận thao tác chạm
   ========================================================= */
@media (max-width: 767px) {
  /* Main menu mobile: chỉ in hoa cấp chính, submenu giữ nguyên tên danh mục. */
  .header-left-fixwidth .wrap-header .nav-menu > .ulmn > .nav-item > a {
    text-transform: uppercase !important;
    font-weight: 700 !important;
    letter-spacing: 0.01em !important;
  }

  .header-left-fixwidth .wrap-header .nav-menu .sub-menu a {
    text-transform: none !important;
  }

  /* Language switch đặt ngay dưới logo để mobile luôn nhìn thấy. */
  .mobile-menu-language {
    display: block !important;
    width: 100% !important;
    margin: 0 0 12px !important;
    padding: 10px 8px 12px !important;
    border-top: 1px solid #f0f0f0 !important;
    border-bottom: 1px solid #f0f0f0 !important;
  }

  .mobile-menu-language__label {
    margin: 0 0 8px !important;
    color: #333 !important;
    font-family: var(--font-heading) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
  }

  .mobile-menu-language__options {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .mobile-menu-language__option {
    display: flex !important;
    min-width: 0 !important;
    min-height: 38px !important;
    padding: 7px 9px !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    border: 1px solid #e4e4e4 !important;
    border-radius: 7px !important;
    background: #fff !important;
    color: #222 !important;
    font-family: var(--font-heading) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
  }

  .mobile-menu-language__option img {
    display: block !important;
    width: 22px !important;
    height: 15px !important;
    flex: 0 0 22px !important;
    object-fit: cover !important;
    border-radius: 1px !important;
  }

  /* Product home: cho section thở phía trên, nhưng dùng gần hết chiều ngang màn hình. */
  .home-accessories {
    padding-top: 48px !important;
    padding-bottom: 36px !important;
  }

  .home-accessories__inner,
  .home-accessories__body,
  .home-accessories__results {
    width: calc(100% - 12px) !important;
    max-width: none !important;
  }

  .home-accessories__inner {
    gap: 20px !important;
  }

  .home-accessories__title {
    width: 100% !important;
    margin: 0 0 2px !important;
    padding: 0 6px !important;
    font-size: clamp(25px, 7vw, 30px) !important;
    line-height: 1.18 !important;
    text-align: center !important;
  }

  .home-accessories__body {
    gap: 16px !important;
  }

  .home-accessories__tabs {
    width: 100% !important;
    gap: 8px !important;
    padding: 0 2px 3px !important;
  }

  .home-accessories__tab {
    min-height: 42px !important;
    padding: 9px 13px !important;
    font-size: 13px !important;
  }

  .home-accessories__grid {
    width: 100% !important;
    max-width: none !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .home-accessories .home-accessory-card {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    justify-self: stretch !important;
    padding: 10px !important;
  }

  .home-accessories .home-accessory-card__name {
    font-size: 15px !important;
    line-height: 22px !important;
  }

  .home-accessories .home-accessory-card__desc,
  .home-accessories .home-accessory-card__price {
    font-size: 12px !important;
    line-height: 17px !important;
  }

  /* Card dự án: toàn bộ ảnh/card là vùng bấm, không chỉ nút mũi tên. */
  .home-featured-project__link {
    position: relative !important;
    z-index: 2 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
    cursor: pointer !important;
  }

  .home-featured-project__glass,
  .home-featured-project__content,
  .home-featured-project__arrow,
  .home-featured-project__image {
    pointer-events: none !important;
  }
}

@media (max-width: 390px) {
  .home-accessories__inner,
  .home-accessories__body,
  .home-accessories__results {
    width: calc(100% - 8px) !important;
  }

  .home-accessories__grid {
    gap: 6px !important;
  }

  .home-accessories .home-accessory-card {
    padding: 9px !important;
  }
}

/* =========================================================
   FIX 2026-09-22 ROUND 4 - INNER TITLES + MOBILE SOCIAL
   ========================================================= */
/* Các tiêu đề trang trong dùng cùng kích thước với SẢN PHẨM.
   GIỚI THIỆU dùng template riêng nên không bị tác động. */
.inner-home-list__heading h1,
.inner-service-list-page .inner-service-heading h1,
.contact-page .title-detail h1 {
  margin-top: 0 !important;
  margin-bottom: 24px !important;
  font-family: var(--font-heading) !important;
  font-size: 24px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  text-align: center !important;
  text-transform: uppercase !important;
}

@media (max-width: 767px) {
  .inner-home-list__heading h1,
  .inner-service-list-page .inner-service-heading h1,
  .contact-page .title-detail h1 {
    margin-bottom: 20px !important;
    font-size: 21px !important;
  }

  /* Toolbar MXH mẫu 3 phải bám theo màn hình khi cuộn. */
  .toolbar-custom {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    margin-top: 0 !important;
    z-index: 1000 !important;
  }

  /* MXH trong footer luôn nằm trên một hàng. */
  .footer-figma__social-block {
    width: 100% !important;
    max-width: 100% !important;
  }

  .footer-figma__socials {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 7px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .footer-figma__socials::-webkit-scrollbar {
    display: none;
  }

  .footer-figma__socials a,
  .footer-figma__socials span {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    flex: 0 0 36px !important;
  }
}


/* =========================================================
   FOOTER BRAND 2026-09-23 - LOGO ONLY + TITLE FROM FOOTER
   Logo: Dashboard > Hình ảnh - Liên kết > Logo footer
   Tên công ty: Dashboard > Quản lý trang tĩnh > Footer > Tiêu đề
   ========================================================= */
.footer-figma__brand-head {
  width: 389px !important;
  max-width: 100% !important;
  min-height: 75px !important;
  height: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex-wrap: nowrap !important;
  gap: 12px !important;
}

.footer-figma__brand-head .footer-figma__logo {
  width: 75px !important;
  min-width: 75px !important;
  max-width: 75px !important;
  height: 75px !important;
  min-height: 75px !important;
  max-height: 75px !important;
  flex: 0 0 75px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: visible !important;
}

.footer-figma__brand-head .footer-figma__logo picture {
  width: 75px !important;
  min-width: 75px !important;
  max-width: 75px !important;
  height: 75px !important;
  min-height: 75px !important;
  max-height: 75px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.footer-figma__brand-head .footer-figma__logo img {
  display: block !important;
  width: 75px !important;
  min-width: 75px !important;
  max-width: 75px !important;
  height: 75px !important;
  min-height: 75px !important;
  max-height: 75px !important;
  object-fit: contain !important;
  object-position: center !important;
}

.footer-figma__brand-head .footer-figma__company-name {
  width: auto !important;
  min-width: 0 !important;
  min-height: 75px !important;
  height: auto !important;
  flex: 1 1 auto !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  font-family: var(--font-heading) !important;
  font-size: 17px !important;
  line-height: 1.45 !important;
  font-weight: 800 !important;
  color: #fff !important;
  overflow-wrap: anywhere !important;
}

@media (max-width: 767px) {
  .footer-figma__brand-head {
    width: 100% !important;
    min-height: 64px !important;
    gap: 10px !important;
  }

  .footer-figma__brand-head .footer-figma__logo,
  .footer-figma__brand-head .footer-figma__logo picture,
  .footer-figma__brand-head .footer-figma__logo img {
    width: 64px !important;
    min-width: 64px !important;
    max-width: 64px !important;
    height: 64px !important;
    min-height: 64px !important;
    max-height: 64px !important;
  }

  .footer-figma__brand-head .footer-figma__logo {
    flex-basis: 64px !important;
  }

  .footer-figma__brand-head .footer-figma__company-name {
    min-height: 64px !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
  }
}
