@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:22px}
.figma-topbar-inner{gap:12px}
.figma-topbar-item{min-width:0;font-size:11px;line-height:16px}
.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,.08);box-shadow:0 3px 14px rgba(15,23,42,.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}















.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-services-figma{padding-bottom:54px}
.home-services-figma>.wrap-content{width:calc(100% - 32px)}
.home-services-figma__title{margin-bottom:30px;font-size:31px;line-height:1.25}
.home-service-slide,.home-services-static,.home-services-swiper,.home-services-swiper .swiper-wrapper{min-height:0;height:auto}
.home-services-static__track{min-height:0;grid-template-columns:minmax(0,1fr);gap:18px}
.home-services-swiper{overflow:hidden}
.home-services-swiper .swiper-wrapper{align-items:stretch}
.home-service-slide,.home-services-static .home-service-slide.is-featured,.home-services-swiper .swiper-slide-active{width:100%}
.home-service-card,.home-services-static .home-service-slide.is-featured .home-service-card,.home-services-swiper .swiper-slide-active .home-service-card{width:100%;max-width:none;height:100%;margin:0}
.home-service-card__image,.home-services-static .home-service-slide.is-featured .home-service-card__image,.home-services-swiper .swiper-slide-active .home-service-card__image{height:330px}
.home-service-card__body,.home-services-static .home-service-slide.is-featured .home-service-card__body,.home-services-swiper .swiper-slide-active .home-service-card__body{position:relative;inset:auto;gap:12px;padding:20px;background:#fff}
.home-service-card__title,.home-services-static .home-service-slide.is-featured .home-service-card__title,.home-services-swiper .swiper-slide-active .home-service-card__title{font-size:22px;line-height:1.35}
.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 .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:block;height:28px}
.figma-topbar-inner{height:28px}
.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,.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)}














.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-services-figma{padding:38px 0 44px}
.home-services-figma>.wrap-content{width:calc(100% - 24px)}
.home-services-figma__title{width:100%;margin-bottom:24px;font-size:26px;text-align:center;line-height:1.25}
.home-services-static__track{gap:16px}
.home-service-card,.home-services-static .home-service-slide.is-featured .home-service-card,.home-services-swiper .swiper-slide-active .home-service-card{display:flex;width:100%;max-width:100%;height:auto;min-height:0;flex-direction:column;border-radius:12px}
.home-service-card__image,.home-services-static .home-service-slide.is-featured .home-service-card__image,.home-services-swiper .swiper-slide-active .home-service-card__image{height:clamp(210px,61vw,270px)}
.home-service-card__body,.home-services-static .home-service-slide.is-featured .home-service-card__body,.home-services-swiper .swiper-slide-active .home-service-card__body{position:relative;inset:auto;gap:11px;padding:16px;background:#fff}
.home-service-card__title,.home-services-static .home-service-slide.is-featured .home-service-card__title,.home-services-swiper .swiper-slide-active .home-service-card__title{font-size:19px;line-height:1.3}
.home-service-card__summary,.home-services-static .home-service-slide.is-featured .home-service-card__summary,.home-services-swiper .swiper-slide-active .home-service-card__summary{gap:9px}
.home-service-card__summary p,.home-services-static .home-service-slide.is-featured .home-service-card__summary p,.home-services-swiper .swiper-slide-active .home-service-card__summary p{font-size:14px;line-height:20px}
.home-service-card__icon{width:40px;height:40px;flex-basis:40px;padding:5px}
.home-service-card__more,.home-services-static .home-service-slide.is-featured .home-service-card__more,.home-services-swiper .swiper-slide-active .home-service-card__more{min-width:124px;min-height:44px;height:auto;padding:9px 14px;font-size:14px}
.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,.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,.95) 0,rgba(252,192,11,.68) 55%,rgba(252,192,11,.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, .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,.18) 28%,#fff7b5 44%,#fff 50%,#fcc00b 58%,rgba(252,192,11,.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, .95)) drop-shadow(0 0 8px rgba(252, 192, 11, .72))!important;pointer-events:none;animation:processLineFlowMobile 7.4s ease-in-out infinite!important}
.home-process-step:nth-child(1)::before{animation-delay:.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:20px 0 0 0;transform:scale(.78);transform-origin:right center}
.scrollToTop{right:10px!important;bottom:16px!important;transform:scale(.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,.home-services-figma>.wrap-content,.info-news .wrap-content,.max-width,.wrap-content{width:calc(100% - 20px)}



.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}
}

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

  .figma-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .figma-topbar-contacts {
    min-width: 0;
    flex: 1 1 auto;
    gap: 10px;
  }

  .figma-topbar-phone,
  .figma-topbar-email {
    display: flex;
    width: auto;
    min-width: 0;
    flex: 0 1 auto;
  }

  .figma-topbar-phone span,
  .figma-topbar-email span {
    display: block;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .figma-topbar-contacts > * + * {
    padding-left: 10px;
  }

  .figma-topbar-socials {
    gap: 12px;
  }

  .figma-topbar-address {
    flex: 1 1 auto;
  }

  .figma-topbar-address span {
    display: block;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .figma-header-utility {
    height: auto;
    min-height: 64px;
    padding: 8px 0;
    background: #ffffff;
    border-bottom: 1px solid rgba(15, 15, 15, 0.08);
    box-shadow: 0 3px 14px rgba(15, 23, 42, 0.06);
  }

  .figma-header-utility__inner {
    height: auto;
    min-height: 48px;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: center;
    gap: 8px;
  }

  .figma-header-mobile-brand {
    display: block;
    grid-column: 2;
    grid-row: 1;
    width: 68px;
    max-height: 48px;
    justify-self: center;
    overflow: hidden;
  }

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

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

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

  .figma-header-actions {
    display: none;
  }

  .figma-header-search {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    max-width: none;
    height: 42px;
    margin-top: 4px;
    border-radius: 8px;
  }

  .figma-header-search > .flex {
    height: 40px;
  }

  .figma-header-search p {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    line-height: 42px;
    border-radius: 8px 0 0 8px;
  }

  .figma-header-search input {
    width: calc(100% - 42px);
    height: 40px;
    padding: 0 12px;
    font-size: 14px;
    line-height: 20px;
  }
}

@media (max-width: 767px) {
  .figma-topbar,
  .figma-topbar-inner {
    height: 28px;
  }

  .figma-topbar .wrap-content {
    width: calc(100% - 24px);
  }

  .figma-topbar-inner {
    gap: 10px;
  }

  .figma-topbar-contacts {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .figma-topbar-contacts::-webkit-scrollbar {
    display: none;
  }

  .figma-topbar-item {
    height: 28px;
    gap: 5px;
    font-size: 10px;
    line-height: 14px;
  }

  .figma-topbar-item i {
    width: 13px;
    height: 13px;
    flex-basis: 13px;
    font-size: 11px;
  }

  .figma-topbar-phone,
  .figma-topbar-email {
    flex: 0 0 auto;
  }

  .figma-topbar-address {
    max-width: 240px;
    flex: 0 0 auto;
  }

  .figma-topbar-contacts > * + * {
    padding-left: 10px;
  }

  .figma-topbar-socials {
    gap: 9px;
  }

  .figma-topbar-socials a {
    width: 13px;
    height: 18px;
    font-size: 11px;
  }

  .figma-topbar-socials img {
    width: 13px;
    height: 13px;
  }
}

@media (max-width: 767px) {
  .figma-header-search {
    display: none;
  }

  .header.search-open .figma-header-search {
    display: block;
  }

  .figma-header-utility__inner {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
  }
}

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

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

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


/* Slider Figma refinement */

@media (max-width: 1025px){
  
  
  
}


/* Home About Solar responsive */
@media (max-width:1025px){
  .home-about-solar{padding:48px 0;}
  .home-about-solar>.wrap-content{width:calc(100% - 32px);}
  .figma-about-solar{display:flex;width:100%;height:auto;flex-direction:column;gap:30px;}
  .figma-about-solar__left,.figma-about-solar__copy,.figma-about-solar__divider,.figma-about-solar__stats{width:100%;height:auto;max-width:100%;flex:none;}
  .figma-about-solar__copy h2{width:100%;font-size:30px;line-height:1.35;}
  .figma-about-solar__desc{width:100%;font-size:16px;line-height:24px;}
  .figma-about-solar__stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
  .figma-about-solar-stat:first-child,.figma-about-solar-stat:nth-child(2){width:100%;flex:none;}
  .figma-about-gallery{width:100%;height:auto;min-height:0;flex:none;}
  .figma-about-gallery__main{width:100%;height:auto;aspect-ratio:787/426;}
  .figma-about-gallery__caption{width:100%;}
  .figma-about-gallery__thumbs{width:calc(100% - 22px);height:auto;aspect-ratio:764/168;gap:10px;}
  .figma-about-gallery__thumb{width:calc((100% - 20px)/3);height:100%;flex:0 0 calc((100% - 20px)/3);border-radius:12px;}
  .figma-about-gallery__progress{position:relative;margin-top:10px;}
}
@media (max-width:600px){
  .home-about-solar{padding:34px 0;}
  .home-about-solar>.wrap-content{width:calc(100% - 24px);}
  .figma-about-solar__left{gap:24px;}
  .figma-about-solar__eyebrow{font-size:13px;line-height:20px;}
  .figma-about-solar__eyebrow i{width:38px;}
  .figma-about-solar__copy h2{font-size:27px;line-height:1.3;}
  .figma-about-solar__desc{font-size:15px;line-height:23px;}
  .figma-about-solar__stats{grid-template-columns:1fr;}
  .figma-about-solar-stat__top strong{font-size:22px;line-height:32px;}
  .figma-about-gallery__caption strong{font-size:12px;line-height:18px;}
  .figma-about-gallery__thumbs{gap:7px;}
  .figma-about-gallery__thumb{width:calc((100% - 14px)/3);flex-basis:calc((100% - 14px)/3);border-radius:8px;}
}


/* ===== HOME STATISTICS FIGMA RESPONSIVE ===== */
@media (max-width:1025px){
  .home-statistics-figma{min-height:0;padding:32px 0;background-position:center center;}
  .home-statistics-figma__inner{width:calc(100% - 32px);min-height:0;}
  .home-statistics-figma__grid{height:auto;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
  .home-statistics-card{height:290px;}
  .home-statistics-card__content{width:250px;max-width:calc(100% - 28px);min-height:238px;}
  .home-statistics-card__icon{width:80px;height:80px;flex-basis:80px;}
  .home-statistics-card__icon>img{width:28.83px;height:28.83px;}
  .home-statistics-card__icon-fallback{width:100%;height:100%;flex-basis:auto;}
  .home-statistics-card__icon-fallback i{width:28.83px;height:28.83px;font-size:28.83px;}
  .home-statistics-card__text strong{font-size:38px;line-height:56px;}
  .home-statistics-card__text h3{font-size:18px;line-height:27px;}
  .home-statistics-card__content p{min-height:auto;font-size:13px;line-height:19px;}
}
@media (max-width:575px){
  .home-statistics-figma{padding:24px 0;}
  .home-statistics-figma__inner{width:calc(100% - 24px);}
  .home-statistics-figma__grid{grid-template-columns:1fr;gap:12px;}
  .home-statistics-card{height:auto;min-height:270px;padding:20px 0;}
  .home-statistics-card__content{min-height:0;}
  .home-statistics-card__text strong{font-size:36px;line-height:52px;}
}


/* Home promo banners */
@media (max-width:1025px){
  .home-promo-banners{padding-top:32px;}
  .home-promo-banners__container{width:calc(100% - 32px);}
  .home-promo-banners__grid{gap:14px;}
}
@media (max-width:767px){
  .home-promo-banners{padding-top:24px;}
  .home-promo-banners__container{width:calc(100% - 24px);}
  .home-promo-banners__grid{grid-template-columns:1fr;gap:12px;}
  .home-promo-banner{aspect-ratio:950/322;}
}


/* Giới thiệu bảng giá trang chủ */
@media (max-width:1025px){
  .home-price-intro{padding-top:48px;}
  .home-price-intro__inner{width:calc(100% - 32px);max-width:none;gap:20px;}
  .home-price-intro__main{width:100%;gap:10px;}
  .home-price-intro__heading{width:100%;}
  .home-price-intro__heading h2{font-size:28px;line-height:40px;}
  .home-price-intro__desc{width:100%;font-size:16px;line-height:25px;}
  .home-price-intro__about-link{font-size:16px;line-height:24px;}
}
@media (max-width:767px){
  .home-price-intro{padding-top:36px;}
  .home-price-intro__inner{width:calc(100% - 24px);gap:16px;}
  .home-price-intro__eyebrow{gap:8px;font-size:13px;line-height:20px;}
  .home-price-intro__line{width:32px;flex-basis:32px;}
  .home-price-intro__heading h2{font-size:23px;line-height:32px;}
  .home-price-intro__desc{font-size:15px;line-height:23px;}
  .home-price-intro__about-link{max-width:100%;font-size:14px;line-height:21px;}
}


/* Thương hiệu phân phối - responsive */
@media (max-width: 1439px){
  .home-brand-strip{width:calc(100% - 32px);margin-top:44px;}
  .home-brand-strip__title{font-size:16px;line-height:24px;height:auto;white-space:normal;}
  .home-brand-strip__logos{gap:14px;}
  .home-brand-logo{width:180px;max-width:180px;height:60px;flex-basis:180px;}
  .home-brand-strip__logos .home-brand-logo{flex-basis:180px;}
  .home-brand-strip__swiper{width:min(1150px,100%);}
  .home-brand-strip__swiper .home-brand-strip__slide{width:180px;flex-basis:180px;height:60px;}
  .home-brand-strip__top-line,.home-brand-strip__bottom-line{width:min(1150px,100%);}
  .home-brand-logo img{height:60px;}
}
@media (max-width: 767px){
  .home-brand-strip{width:calc(100% - 24px);min-height:0;margin-top:32px;gap:16px;}
  .home-brand-strip__top-line,.home-brand-strip__bottom-line{width:100%;}
  .home-brand-strip__body{min-height:0;gap:18px;}
  .home-brand-strip__title{font-size:14px;line-height:21px;padding:0 8px;}
  .home-brand-strip__logos{height:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px;overflow:visible;}
  .home-brand-logo{width:100%;max-width:none;height:54px;}
  .home-brand-logo img{height:54px;}
  .home-brand-strip__swiper{width:100%;height:58px;}
  .home-brand-strip__swiper .home-brand-strip__slide{width:calc((100% - 12px)/2);flex-basis:calc((100% - 12px)/2);height:58px;}
}

/* ===== Responsive: Bảng giá điện mặt trời theo hóa đơn ===== */
@media (max-width: 1200px){
  .home-solar-pricing{width:calc(100% - 32px);}
  .home-solar-pricing__tabs{justify-content:flex-start;overflow-x:auto;padding:0 0 14px;scroll-snap-type:x mandatory;}
  .home-solar-pricing-tab{scroll-snap-align:start;}
  .home-solar-pricing__result-shell{padding-left:18px;padding-right:18px;}
  .home-solar-pricing__metrics{gap:24px;}
  .home-solar-pricing-metric{width:190px;}
  .home-solar-pricing__packages{justify-content:flex-start;overflow-x:auto;padding-bottom:12px;scroll-snap-type:x mandatory;}
}
@media (max-width: 1025px){
  .home-solar-pricing{margin:52px auto 62px;}
  .home-solar-pricing__heading h2{font-size:28px;line-height:40px;}
  .home-solar-pricing__heading p{font-size:16px;line-height:25px;}
  .home-solar-pricing__metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 16px;}
  .home-solar-pricing__metrics > i{display:none;}
  .home-solar-pricing-metric{width:100%;padding:14px 8px;border:1px solid #e3e3e3;}
  .home-solar-pricing-metric strong{font-size:26px;line-height:38px;}
  .home-solar-pricing-metric span{font-size:15px;line-height:23px;}
}
@media (max-width: 767px){
  .home-solar-pricing{width:calc(100% - 24px);margin:38px auto 50px;}
  .home-solar-pricing__heading{margin-bottom:26px;}
  .home-solar-pricing__eyebrow{gap:8px;font-size:12px;line-height:20px;}
  .home-solar-pricing__eyebrow i{width:30px;}
  .home-solar-pricing__heading h2{font-size:22px;line-height:31px;}
  .home-solar-pricing__heading p{margin-top:7px;font-size:14px;line-height:22px;}
  .home-solar-pricing__step-title{justify-content:flex-start;margin-bottom:16px;}
  .home-solar-pricing__step-title > span{width:30px;height:30px;flex-basis:30px;font-size:14px;}
  .home-solar-pricing__step-title strong{font-size:14px;line-height:21px;text-align:left;}
  .home-solar-pricing__tabs{gap:10px;margin-bottom:8px;}
  .home-solar-pricing-tab{width:142px;height:78px;flex-basis:142px;padding:12px 10px;}
  .home-solar-pricing-tab.is-active{height:86px;margin-bottom:-8px;}
  .home-solar-pricing-tab.is-active::after{width:18px;height:18px;bottom:-9px;}
  .home-solar-pricing-tab strong{font-size:19px;line-height:28px;}
  .home-solar-pricing-tab small{font-size:12px;line-height:18px;}
  .home-solar-pricing__result-shell{padding:26px 12px 20px;border-top-width:4px;}
  .home-solar-pricing__summary{gap:20px;margin-bottom:26px;}
  .home-solar-pricing__capacity{min-width:0;width:100%;min-height:58px;padding:10px 14px;gap:9px;}
  .home-solar-pricing__capacity span{font-size:13px;line-height:20px;}
  .home-solar-pricing__capacity i{height:31px;}
  .home-solar-pricing__capacity strong{font-size:23px;line-height:34px;}
  .home-solar-pricing__metrics{gap:10px;}
  .home-solar-pricing-metric{padding:10px 6px;}
  .home-solar-pricing-metric strong{font-size:20px;line-height:30px;}
  .home-solar-pricing-metric span{font-size:12px;line-height:18px;}
  .home-solar-pricing__step-title--solutions{margin-bottom:14px;}
  .home-solar-pricing__packages{gap:12px;margin:0 -12px;padding:0 12px 10px;}
  .home-solar-package-card{flex-basis:290px;width:290px;min-height:0;padding-left:7px;padding-right:7px;}
  .home-solar-package-card__image{width:274px;height:269px;}
  .home-solar-package-card__pricebox,
  .home-solar-package-card__province,
  .home-solar-package-card__details,
  .home-solar-package-card__modal-list{width:274px;}
  .home-solar-package-card__details h3{min-height:0;font-size:18px;line-height:27px;}
  .solar-pricing-modal{padding:12px;}
  .solar-pricing-modal__dialog{width:calc(100vw - 24px);max-height:calc(100vh - 24px);}
  .solar-pricing-modal__header{min-height:68px;padding:14px 16px;}
  .solar-pricing-modal__header h3{font-size:17px;line-height:25px;}
  .solar-pricing-modal__header button{width:36px;height:36px;flex-basis:36px;font-size:28px;}
  .solar-pricing-modal__body{max-height:calc(100vh - 116px);padding:16px;font-size:14px;}
}


/* Figma Home FAQ / Q&A */
@media (max-width: 1025px) {
  .home-faq-figma--solar { padding-top: 24px; }
  .home-faq-figma--solar .home-faq-figma__inner { width: calc(100% - 32px); gap: 24px; }
  .home-faq-figma--solar .home-faq-figma__title { font-size: 28px; line-height: 40px; }
  .home-faq-figma--solar .home-faq-item__question { min-height: 70px; padding: 20px 18px; font-size: 17px; line-height: 26px; }
  .home-faq-figma--solar .home-faq-item__answer { padding: 0 22px 20px; font-size: 15px; line-height: 24px; }
}

@media (max-width: 576px) {
  .home-faq-figma--solar { padding-top: 20px; }
  .home-faq-figma--solar .home-faq-figma__inner { width: calc(100% - 24px); gap: 20px; }
  .home-faq-figma--solar .home-faq-figma__eyebrow { gap: 9px; }
  .home-faq-figma--solar .home-faq-figma__eyebrow i { width: 38px; }
  .home-faq-figma--solar .home-faq-figma__eyebrow span { font-size: 13px; line-height: 20px; }
  .home-faq-figma--solar .home-faq-figma__title { font-size: 24px; line-height: 34px; }
  .home-faq-figma--solar .home-faq-list { gap: 8px; }
  .home-faq-figma--solar .home-faq-item__question { min-height: 62px; padding: 15px 12px; gap: 12px; font-size: 14px; line-height: 21px; }
  .home-faq-figma--solar .home-faq-item__question i { flex-basis: 26px; width: 26px; height: 26px; font-size: 14px; }
  .home-faq-figma--solar .home-faq-item__answer { padding: 0 14px 16px; font-size: 14px; line-height: 22px; }
}


/* ===== Thiết bị điện mặt trời - Figma ===== */
@media (max-width: 1199px) {
  .home-devices-figma__inner { width: calc(100% - 32px); }
  .home-devices-figma__group { grid-template-columns: 280px minmax(0, 1fr); gap: 18px; }
  .home-devices-figma__info, .home-devices-figma__info p { width: 100%; }
  .home-devices-figma__more { min-width: 0; width: 100%; }
  .home-devices-figma__products {
    display: flex;
    width: 100%;
    gap: 16px;
    overflow-x: auto;
    padding: 2px 2px 10px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }
  .home-devices-figma__product { flex: 0 0 238px; scroll-snap-align: start; }
}
@media (max-width: 767px) {
  .home-devices-figma { margin-top: 48px; padding-bottom: 48px; }
  .home-devices-figma__inner { width: calc(100% - 24px); }
  .home-devices-figma__heading { margin-bottom: 26px; }
  .home-devices-figma__eyebrow { gap: 9px; font-size: 13px; line-height: 20px; }
  .home-devices-figma__eyebrow i { width: 38px; }
  .home-devices-figma__heading h2 { font-size: 24px; line-height: 34px; text-align: center; }
  .home-devices-figma__groups { gap: 34px; }
  .home-devices-figma__group { display: flex; flex-direction: column; align-items: stretch; gap: 18px; min-height: 0; }
  .home-devices-figma__info { width: 100%; min-height: 0; }
  .home-devices-figma__info h3 { width: 100%; font-size: 22px; line-height: 31px; }
  .home-devices-figma__title-line { width: 72px; border-top-width: 2px; }
  .home-devices-figma__info p { margin-top: 12px; font-size: 14px; line-height: 21px; }
  .home-devices-figma__more { width: auto; min-height: 46px; margin-top: 18px; padding: 11px 16px; font-size: 14px; line-height: 22px; align-self: flex-start; }
  .home-devices-figma__products { gap: 12px; }
  .home-devices-figma__product { flex-basis: min(72vw, 238px); width: min(72vw, 238px); height: 317px; }
}


/* Cẩm nang điện mặt trời - responsive */
@media (max-width: 1199px) {
  .home-guide-figma__cards {
    grid-template-columns: minmax(0, 1fr) repeat(2, minmax(0, .49fr));
    gap: 16px;
  }
  .home-guide-main,
  .home-guide-side { width: 100%; }
  .home-guide-main__title-row { width: calc(100% - 8px); }
  .home-guide-main__media { width: calc(100% - 47px); }
}

@media (max-width: 991px) {
  .home-guide-figma { padding-top: 34px; }
  .home-guide-figma__heading { margin-bottom: 26px; }
  .home-guide-figma__heading h2 { font-size: 27px; line-height: 39px; }
  .home-guide-figma__heading p { font-size: 16px; line-height: 24px; }
  .home-guide-figma__cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-guide-main { grid-column: 1 / -1; min-height: auto; }
  .home-guide-main__media { height: 390px; }
  .home-guide-main__desc { margin-bottom: 22px; }
  .home-guide-side { width: 100%; height: 480px; }
}

@media (max-width: 767px) {
  .home-guide-figma__inner { width: calc(100% - 24px); }
  .home-guide-figma__eyebrow { font-size: 13px; line-height: 20px; }
  .home-guide-figma__eyebrow i { width: 38px; }
  .home-guide-figma__heading h2 { font-size: 23px; line-height: 32px; text-align: center; }
  .home-guide-figma__heading p { margin-top: 7px; font-size: 14px; line-height: 21px; }
  .home-guide-figma__cards { grid-template-columns: 1fr; gap: 14px; }
  .home-guide-main { grid-column: auto; }
  .home-guide-main__title-row { min-height: 58px; padding: 8px 28px 8px 8px; gap: 10px; }
  .home-guide-number { width: 40px; height: 40px; flex-basis: 40px; font-size: 17px; line-height: 26px; }
  .home-guide-main__title-row h3 { font-size: 20px; line-height: 29px; }
  .home-guide-main__media { width: 100%; height: 260px; margin-top: 14px; }
  .home-guide-main__desc { width: 100%; max-width: none; margin: 12px 0 18px; font-size: 14px; line-height: 21px; }
  .home-guide-main__rail { display: none; }
  .home-guide-side { height: 420px; }
  .home-guide-side__content strong { font-size: 21px; line-height: 30px; }
}


/* Giấy phép điện mặt trời - Figma */
@media (max-width: 1399px) {
  .home-license-figma__layout {
    grid-template-columns: minmax(0, 1.42fr) minmax(360px, 1fr);
    gap: 18px;
    margin-top: 10px;
  }
  .home-license-figma__left,
  .home-license-figma__row { width: 100%; }
  .home-license-figma__row--top,
  .home-license-figma__row--bottom { padding-left: 28px; padding-right: 28px; }
  .home-license-card--top { flex-basis: min(313px, 42%); width: min(313px, 42%); }
  .home-license-card--bottom { flex: 1 1 0; width: auto; min-width: 0; }
  .home-license-card--featured { width: 100%; padding-left: 24px; padding-right: 24px; }
  .home-license-card--featured .home-license-card__image { width: 100%; }
}
@media (max-width: 1025px) {
  .home-license-figma { padding: 38px 0 48px; }
  .home-license-figma__layout { display: flex; flex-direction: column; align-items: stretch; gap: 22px; margin-top: 16px; }
  .home-license-figma__left { width: 100%; gap: 22px; }
  .home-license-figma__row--top,
  .home-license-figma__row--bottom { height: auto; min-height: 0; padding: 20px 20px 24px; gap: 18px; background: #1a3174; }
  .home-license-card--top,
  .home-license-card--bottom { flex: 1 1 0; width: auto; height: auto; }
  .home-license-card--top .home-license-card__image,
  .home-license-card--bottom .home-license-card__image { height: 300px; }
  .home-license-card__caption { margin-top: 13px; }
  .home-license-card--featured { width: min(555px, 100%); height: auto; align-self: center; padding: 20px 24px 24px; background: #1a3174; }
  .home-license-card--featured .home-license-card__image { height: auto; aspect-ratio: 489 / 656; }
}
@media (max-width: 767px) {
  .home-license-figma { padding: 30px 0 40px; }
  .home-license-figma__inner { width: calc(100% - 24px); }
  .home-license-figma__eyebrow { gap: 9px; font-size: 13px; line-height: 20px; }
  .home-license-figma__eyebrow i { width: 38px; }
  .home-license-figma__heading h2 { margin-top: 4px; font-size: 24px; line-height: 34px; }
  .home-license-figma__row--top,
  .home-license-figma__row--bottom { display: grid; grid-template-columns: 1fr; padding: 14px; gap: 14px; }
  .home-license-card--top,
  .home-license-card--bottom { width: 100%; }
  .home-license-card--top .home-license-card__image,
  .home-license-card--bottom .home-license-card__image { height: auto; aspect-ratio: 1.1 / 1; }
  .home-license-card__caption { padding-bottom: 6px; }
  .home-license-card--featured { padding: 14px; }
  .home-license-card--featured .home-license-card__caption { font-size: 18px; line-height: 28px; }
}


/* Home projects Figma */
@media (max-width: 1199px){
  .home-projects-figma{padding:46px 0 40px;}
  .home-projects-figma__slide{width:960px;max-width:calc(100vw - 42px);transform:scale(.92);}
  .home-project-card{height:auto;padding:18px;}
  .home-project-card__grid{grid-template-columns:1fr 1fr;width:100%;height:auto;gap:16px;}
  .home-project-card__left,.home-project-card__right{width:100%;height:540px;}
  .home-project-card__image--one,.home-project-card__image--two,.home-project-card__image--three{left:12px;width:calc(100% - 12px);}
  .home-project-card__image--one{height:235px;top:20px;}
  .home-project-card__image--two{height:235px;top:285px;}
  .home-project-card__image--three{height:295px;top:20px;left:0;width:calc(100% - 12px);}
  .home-project-card__info{top:334px;width:calc(100% - 12px);height:186px;padding:13px 22px;}
  .home-project-card__info h3{font-size:17px;line-height:25px;}
  .home-project-card__metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;}
  .home-project-metric strong{font-size:13px;line-height:20px;}
  .home-project-metric>span:not(.home-project-metric__icon){font-size:11px;line-height:17px;white-space:normal;}
}
@media (max-width: 767px){
  .home-projects-figma{padding:34px 0 32px;}
  .home-projects-figma__heading{gap:2px;margin-bottom:16px;}
  .home-projects-figma__eyebrow{font-size:13px;line-height:20px;gap:9px;}
  .home-projects-figma__eyebrow i{width:38px;}
  .home-projects-figma__heading h2{font-size:24px;line-height:34px;}
  .home-projects-figma__slide{width:calc(100vw - 24px);max-width:none;transform:none!important;opacity:1;}
  .home-project-card{padding:10px;height:auto;}
  .home-project-card__grid{display:block;height:auto;}
  .home-project-card__left,.home-project-card__right{width:100%;height:auto;position:relative;}
  .home-project-card__image{position:relative!important;left:auto!important;top:auto!important;width:100%!important;overflow:hidden;margin:0 0 10px;}
  .home-project-card__image::before{display:none;}
  .home-project-card__image--one,.home-project-card__image--two{height:210px;}
  .home-project-card__image--three{height:250px;}
  .home-project-card__info{position:relative;left:auto;top:auto;width:100%;height:auto;padding:16px 12px;gap:14px;}
  .home-project-card__info h3{white-space:normal;text-align:center;font-size:17px;line-height:25px;}
  .home-project-card__metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;}
  .home-project-metric__icon,.home-project-metric__icon svg{width:36px;height:36px;}
  .home-project-metric>span:not(.home-project-metric__icon){font-size:10px;line-height:15px;}
  .home-project-metric strong{font-size:12px;line-height:18px;white-space:normal;}
  .home-project-card__more{font-size:14px;line-height:21px;}
  .home-projects-figma__pagination{gap:6px;margin-top:18px;}
  .home-projects-figma__pagination .swiper-pagination-bullet{width:38px;height:6px;}
}


/* Home dealer / partner registration */
@media (max-width: 1199px) {
    .home-dealer-figma { padding: 60px 0 80px; }
    .home-dealer-figma__inner { gap: 36px; }
    .home-dealer-figma__content,
    .home-dealer-figma__form-card { flex: 1 1 0; width: auto; }
    .home-dealer-figma__heading h2 { font-size: 28px; line-height: 42px; }
    .home-dealer-figma__desc { font-size: 16px; line-height: 25px; }
    .home-dealer-figma__benefits span { font-size: 15px; line-height: 23px; }
}
@media (max-width: 991px) {
    .home-dealer-figma { padding: 48px 0 64px; }
    .home-dealer-figma__inner {
        width: min(100% - 32px, 720px);
        flex-direction: column;
        align-items: stretch;
        gap: 32px;
    }
    .home-dealer-figma__content,
    .home-dealer-figma__form-card { flex: 0 0 auto; width: 100%; min-height: 0; }
    .home-dealer-figma__heading,
    .home-dealer-figma__desc { max-width: none; }
    .home-dealer-figma__form-card { padding: 32px 24px 24px; }
    .home-dealer-figma__form-title { margin-bottom: 26px; font-size: 30px; line-height: 42px; }
}
@media (max-width: 575px) {
    .home-dealer-figma { padding: 36px 0 48px; }
    .home-dealer-figma__inner { width: calc(100% - 24px); gap: 24px; }
    .home-dealer-figma__eyebrow { font-size: 13px; line-height: 20px; gap: 9px; }
    .home-dealer-figma__eyebrow i { width: 40px; }
    .home-dealer-figma__heading h2 { font-size: 24px; line-height: 34px; }
    .home-dealer-figma__desc { font-size: 15px; line-height: 23px; }
    .home-dealer-figma__benefits { width: 100%; gap: 8px; }
    .home-dealer-figma__benefits span {
        min-height: 40px;
        padding: 7px 14px;
        font-size: 13px;
        line-height: 20px;
        white-space: normal;
    }
    .home-dealer-figma__form-card { padding: 24px 18px 18px; }
    .home-dealer-figma__form-title { margin-bottom: 22px; font-size: 26px; line-height: 36px; }
    .home-dealer-figma__form { gap: 20px; }
    .home-dealer-field label { font-size: 14px; line-height: 21px; }
    .home-dealer-figma__submit { height: 48px; font-size: 16px; line-height: 24px; }
}

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

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

/* =========================================================
   FINAL RESPONSIVE OVERRIDES - CURRENT FIGMA HOMEPAGE
   2026-09-30
   - Keep desktop >= 1026px unchanged.
   - Follow JS mobile breakpoint (1025px).
   - Mobile keeps desktop brand colors; only layout/spacing changes.
   ========================================================= */
@media (max-width: 1025px) {
  /* Global safety: current Figma sections must never force horizontal page scroll. */
   .home-about-solar,
.home-statistics-figma,
.home-promo-banners,
.home-price-intro,
.home-brand-strip,
.home-solar-pricing,
.home-faq-figma--solar,
.home-devices-figma,
.home-guide-figma,
.home-license-figma,
.home-projects-figma,
.home-dealer-figma,
.footer-figma {
    max-width: 100%;
  }

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

  /* About: remove Figma fixed heights cleanly. */
  .figma-about-solar,
  .figma-about-solar__left,
  .figma-about-gallery,
  .figma-about-gallery__main,
  .figma-about-gallery__thumbs {
    min-height: 0;
  }
  .figma-about-gallery__slide img,
  .figma-about-gallery__thumb img {
    object-position: center;
  }

  /* Pricing/tab/card scrollers: momentum + predictable card snapping. */
  .home-solar-pricing__tabs,
  .home-solar-pricing__packages,
  .home-devices-figma__products {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-inline: contain;
  }
  .home-solar-pricing__tabs::-webkit-scrollbar,
  .home-solar-pricing__packages::-webkit-scrollbar,
  .home-devices-figma__products::-webkit-scrollbar {
    height: 5px;
  }

  /* Rich text/content safety for sections fed from dashboard. */
  .figma-about-solar__desc,
  .home-price-intro__desc,
  .home-dealer-figma__desc,
  .home-faq-item__answer,
  .home-guide-main__desc {
    overflow-wrap: anywhere;
  }
  .figma-about-solar__desc img,
  .home-price-intro__desc img,
  .home-dealer-figma__desc img,
  .home-faq-item__answer img,
  .home-guide-main__desc img {
    max-width: 100% !important;
    height: auto !important;
  }
}

@media (max-width: 767px) {
  /* ===== Header ===== */
  .above-nav {
    width: 100%;
  }
  .figma-header-utility {
    min-height: 62px;
    padding: 7px 0;
  }
  .figma-header-utility__inner {
    min-height: 48px;
  }
  .figma-header-mobile-brand {
    width: 66px;
    max-height: 48px;
  }
  .figma-header-mobile-brand img,
  .figma-header-mobile-brand picture {
    width: 100% !important;
    height: 48px !important;
    object-fit: contain;
  }
  .header-menu-mobile-btn,
  .mobile-header-search-toggle {
    min-width: 44px;
    min-height: 44px;
  }

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

  /* ===== Common section spacing/heading rhythm ===== */
  .home-about-solar,
  .home-price-intro,
  .home-devices-figma,
  .home-guide-figma,
  .home-license-figma,
  .home-projects-figma,
  .home-dealer-figma {
    scroll-margin-top: 72px;
  }
  .figma-about-solar__copy h2,
  .home-price-intro__heading h2,
  .home-solar-pricing__heading h2,
  .home-faq-figma--solar .home-faq-figma__title,
  .home-devices-figma__heading h2,
  .home-guide-figma__heading h2,
  .home-license-figma__heading h2,
  .home-projects-figma__heading h2,
  .home-dealer-figma__heading h2 {
    font-size: 24px;
    line-height: 1.35;
  }

  /* ===== About solar ===== */
  .figma-about-solar {
    gap: 26px;
  }
  .figma-about-solar__left {
    gap: 22px;
  }
  .figma-about-solar__copy {
    gap: 8px;
  }
  .figma-about-solar__desc {
    font-size: 14px;
    line-height: 22px;
  }
  .figma-about-solar__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .figma-about-solar-stat {
    gap: 8px;
  }
  .figma-about-solar-stat__top {
    height: auto;
    gap: 8px;
  }
  .figma-about-solar-stat__icon {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
    padding: 10px;
  }
  .figma-about-solar-stat__icon img {
    width: 34px;
    height: 34px;
  }
  .figma-about-solar-stat__top strong {
    min-width: 0;
    font-size: 18px;
    line-height: 1.35;
  }
  .figma-about-solar-stat p {
    font-size: 12px;
    line-height: 18px;
  }
  .figma-about-gallery__main {
    aspect-ratio: 16 / 10;
  }
  .figma-about-gallery__caption {
    min-height: 44px;
    height: auto;
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .figma-about-gallery__caption strong {
    font-size: 12px;
    line-height: 18px;
  }

  /* ===== Statistics: compact 2x2 instead of an unnecessarily long 4-card column ===== */
  .home-statistics-figma {
    padding: 18px 0;
  }
  .home-statistics-figma__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .home-statistics-card {
    min-height: 238px;
    height: auto;
    padding: 18px 8px;
  }
  .home-statistics-card__content {
    width: 100%;
    max-width: 100%;
    min-height: 0;
    gap: 4px;
  }
  .home-statistics-card__icon {
    width: 62px;
    height: 62px;
    flex-basis: 62px;
  }
  .home-statistics-card__icon::before {
    width: 45px;
    height: 45px;
  }
  .home-statistics-card__icon > img,
  .home-statistics-card__icon-fallback i {
    width: 24px;
    height: 24px;
    font-size: 24px;
  }
  .home-statistics-card__text strong {
    margin: 0;
    font-size: 30px;
    line-height: 42px;
  }
  .home-statistics-card__text h3 {
    font-size: 14px;
    line-height: 20px;
  }
  .home-statistics-card__content p {
    min-height: 0;
    font-size: 11px;
    line-height: 17px;
  }

  /* ===== Promo banners ===== */
  .home-promo-banners__grid {
    grid-template-columns: 1fr;
  }
  .home-promo-banner {
    border-radius: 8px;
  }

  /* ===== Price introduction / brands ===== */
  .home-price-intro__desc {
    font-size: 14px;
    line-height: 22px;
  }
  .home-brand-strip__logos {
    align-items: stretch;
  }
  .home-brand-logo,
  .home-brand-strip__swiper .home-brand-strip__slide {
    min-width: 0;
  }

  /* ===== Solar pricing ===== */
  .home-solar-pricing {
    overflow: hidden;
  }
  .home-solar-pricing__tabs {
    margin-right: -12px;
    margin-left: -12px;
    padding-right: 12px;
    padding-left: 12px;
  }
  .home-solar-pricing-tab {
    width: 136px;
    min-width: 136px;
    flex-basis: 136px;
  }
  .home-solar-pricing__result-shell {
    border-radius: 0 0 8px 8px;
    box-shadow: 0 3px 14px rgba(0, 0, 0, .14);
  }
  .home-solar-pricing__summary {
    align-items: stretch;
  }
  .home-solar-pricing__capacity {
    justify-content: center;
  }
  .home-solar-pricing__metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-solar-pricing-metric {
    min-width: 0;
    border-radius: 6px;
  }
  .home-solar-pricing__packages {
    margin-right: -12px;
    margin-left: -12px;
    padding-right: 12px;
    padding-left: 12px;
  }
  .home-solar-package-card {
    width: min(82vw, 315px);
    flex-basis: min(82vw, 315px);
    padding-top: 30px;
  }
  .home-solar-package-card__image,
  .home-solar-package-card__pricebox,
  .home-solar-package-card__province,
  .home-solar-package-card__details,
  .home-solar-package-card__modal-list {
    width: 100%;
  }
  .home-solar-package-card__image {
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }
  .home-solar-package-card__pricebox strong {
    font-size: 20px;
    line-height: 30px;
  }

  /* ===== FAQ ===== */
  .home-faq-figma--solar .home-faq-item__question {
    justify-content: space-between;
    min-height: 58px;
    padding: 14px 14px;
    gap: 12px;
    font-size: 14px;
    line-height: 21px;
    text-align: left;
  }
  .home-faq-figma--solar .home-faq-item__question span {
    flex: 1 1 auto;
  }
  .home-faq-figma--solar .home-faq-item__question i {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }
  .home-faq-figma--solar .home-faq-item__answer {
    padding: 0 14px 16px;
    font-size: 14px;
    line-height: 22px;
    text-align: left;
  }

  /* ===== Devices ===== */
  .home-devices-figma__group {
    gap: 16px;
  }
  .home-devices-figma__info h3 {
    font-size: 20px;
    line-height: 29px;
  }
  .home-devices-figma__more {
    width: 100%;
    min-height: 44px;
    align-self: stretch;
  }
  .home-devices-figma__products {
    width: calc(100vw - 12px);
    max-width: none;
    margin-right: -12px;
    padding-right: 12px;
  }
  .home-devices-figma__product {
    width: min(68vw, 238px);
    flex-basis: min(68vw, 238px);
    height: auto;
    aspect-ratio: 238 / 317;
  }
  .home-devices-figma__product-image {
    width: 100%;
    height: 100%;
    flex-basis: 100%;
  }

  /* ===== Guide ===== */
  .home-guide-main__media {
    height: auto;
    aspect-ratio: 16 / 10;
  }
  .home-guide-side {
    height: auto;
    min-height: 320px;
    aspect-ratio: 4 / 5;
  }
  .home-guide-side__content {
    padding-right: 18px;
    padding-left: 18px;
  }

  /* ===== Licenses ===== */
  .home-license-figma__layout,
  .home-license-figma__left {
    gap: 14px;
  }
  .home-license-figma__row--top,
  .home-license-figma__row--bottom {
    border-radius: 8px;
  }
  .home-license-card--top .home-license-card__image,
  .home-license-card--bottom .home-license-card__image {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }

  /* ===== Projects ===== */
  .home-project-card {
    border-radius: 8px;
  }
  .home-project-card__image--one,
  .home-project-card__image--two {
    height: clamp(180px, 54vw, 230px);
  }
  .home-project-card__image--three {
    height: clamp(210px, 65vw, 280px);
  }
  .home-project-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .home-project-card__metrics {
    align-items: stretch;
  }
  .home-project-metric {
    min-width: 0;
  }

  /* ===== Dealer form ===== */
  .home-dealer-figma__content {
    gap: 14px;
  }
  .home-dealer-figma__benefits {
    gap: 8px;
  }
  .home-dealer-figma__benefits span {
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
    text-align: center;
  }
  .home-dealer-figma__form-card {
    border-radius: 8px;
  }
  .home-dealer-field input {
    height: 36px;
    font-size: 16px; /* prevent iOS zoom on focus */
  }

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

@media (max-width: 575px) {
  /* Do not collapse statistics to one column: 2x2 is easier to scan on phones. */
  .home-statistics-figma__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .figma-about-solar__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-solar-pricing__metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-dealer-figma__benefits span {
    flex-basis: 100%;
  }
}

@media (max-width: 359px) {
  /* Extremely narrow screens get a safe single-column fallback. */
  .home-statistics-figma__grid,
  .figma-about-solar__stats,
  .home-solar-pricing__metrics {
    grid-template-columns: 1fr;
  }

  

  
}

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

  .max-width,
  .wrap-content,
  .home-about-solar > .wrap-content,
  .home-statistics-figma__inner,
  .home-promo-banners__container,
  .home-price-intro__inner,
  .home-faq-figma--solar .home-faq-figma__inner,
  .home-devices-figma__inner,
  .home-guide-figma__inner,
  .home-license-figma__inner,
  .home-dealer-figma__inner {
    width: calc(100% - 28px);
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

  /* ---- Header: cân lại tỷ lệ, icon rõ hơn ---- */
  .figma-header-utility {
    min-height: 58px;
    padding: 5px 0;
    border-bottom: 1px solid #e9ecef;
    box-shadow: 0 2px 10px rgba(26, 49, 116, .06);
  }

  .figma-header-utility__inner {
    min-height: 48px;
  }

  .figma-header-mobile-brand,
  .logo-header {
    width: 78px;
    max-height: 46px;
  }

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

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

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

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

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

  

  

  

  

  

  /* ---- Heading chung: tránh quá nhỏ ---- */
  .figma-about-solar__copy h2,
  .home-price-intro__heading h2,
  .home-solar-pricing__heading h2,
  .home-faq-figma--solar .home-faq-figma__title,
  .home-devices-figma__heading h2,
  .home-guide-figma__heading h2,
  .home-license-figma__heading h2,
  .home-projects-figma__heading h2,
  .home-dealer-figma__heading h2 {
    font-size: 23px;
    line-height: 1.32;
    letter-spacing: -.2px;
  }

  /* ---- About solar ---- */
  .home-about-solar {
    padding: 36px 0 40px;
  }

  .figma-about-solar {
    gap: 24px;
  }

  .figma-about-solar__left {
    gap: 20px;
  }

  .figma-about-solar__desc {
    font-size: 14px;
    line-height: 22px;
  }

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

  .figma-about-solar-stat {
    min-width: 0;
    padding: 12px;
    border: 1px solid #e5e8ed;
    border-radius: 10px;
    background: #fff;
  }

  .figma-about-solar-stat__top {
    gap: 8px;
  }

  .figma-about-solar-stat__icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    padding: 8px;
    border-radius: 9px;
  }

  .figma-about-solar-stat__icon img {
    width: 28px;
    height: 28px;
  }

  .figma-about-solar-stat__top strong {
    font-size: 16px;
    line-height: 1.3;
  }

  .figma-about-solar-stat p {
    font-size: 12px;
    line-height: 18px;
  }

  .figma-about-gallery {
    border-radius: 10px;
    box-shadow: 0 5px 18px rgba(26, 49, 116, .10);
  }

  .figma-about-gallery__main {
    aspect-ratio: 16 / 10;
  }

  .figma-about-gallery__thumbs {
    margin-top: 10px;
  }

  /* ---- Statistics: card thấp và thoáng hơn ---- */
  .home-statistics-figma {
    padding: 24px 0;
  }

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

  .home-statistics-card {
    min-height: 188px;
    height: auto;
    padding: 16px 10px;
    border-radius: 10px;
  }

  .home-statistics-card__content {
    width: 100%;
    max-width: 100%;
    min-height: 0;
    gap: 6px;
  }

  .home-statistics-card__icon {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
  }

  .home-statistics-card__icon::before {
    width: 38px;
    height: 38px;
  }

  .home-statistics-card__icon > img,
  .home-statistics-card__icon-fallback i {
    width: 21px;
    height: 21px;
    font-size: 21px;
  }

  .home-statistics-card__text strong {
    margin: 0;
    font-size: 25px;
    line-height: 34px;
  }

  .home-statistics-card__text h3 {
    font-size: 13px;
    line-height: 18px;
  }

  .home-statistics-card__content p {
    min-height: 0;
    font-size: 11px;
    line-height: 16px;
  }

  /* ---- Promo banners ---- */
  .home-promo-banners {
    padding-top: 28px;
  }

  .home-promo-banners__grid {
    gap: 10px;
  }

  .home-promo-banner {
    overflow: hidden;
    border-radius: 10px;
  }

  /* ---- Intro bảng giá ---- */
  .home-price-intro {
    padding-top: 38px;
  }

  .home-price-intro__inner {
    gap: 12px;
  }

  .home-price-intro__desc {
    font-size: 14px;
    line-height: 22px;
  }

  /* ---- Brand: biến logo thành card rõ ràng, không trôi lơ lửng ---- */
  .home-brand-strip {
    width: calc(100% - 28px);
    margin-top: 28px;
    gap: 14px;
  }

  .home-brand-strip__body {
    gap: 14px;
  }

  .home-brand-strip__title {
    padding: 0;
    font-size: 13px;
    line-height: 20px;
  }

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

  .home-brand-logo,
  .home-brand-strip__swiper .home-brand-strip__slide {
    min-height: 62px;
    height: 62px;
    padding: 8px;
    border: 1px solid #e6e8ec;
    border-radius: 9px;
    background: #fff;
  }

  .home-brand-logo img {
    width: 100%;
    height: 44px;
    object-fit: contain;
  }

  .home-brand-strip__swiper {
    height: auto;
  }

  /* ---- Solar pricing: bỏ cảm giác "nhồi desktop vào mobile" ---- */
  .home-solar-pricing {
    width: calc(100% - 28px);
    margin: 36px auto 46px;
    overflow: visible;
  }

  .home-solar-pricing__heading {
    margin-bottom: 22px;
  }

  .home-solar-pricing__heading p {
    margin-top: 8px;
    font-size: 14px;
    line-height: 21px;
  }

  .home-solar-pricing__step-title {
    justify-content: flex-start;
    gap: 9px;
    margin-bottom: 12px;
  }

  .home-solar-pricing__step-title > span {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 50%;
    font-size: 13px;
  }

  .home-solar-pricing__step-title strong {
    font-size: 13px;
    line-height: 19px;
    text-align: left;
  }

  .home-solar-pricing__tabs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
    gap: 8px;
    width: 100%;
    margin: 0 0 12px;
    padding: 0;
    overflow: visible;
    scroll-snap-type: none;
  }

  .home-solar-pricing-tab,
  .home-solar-pricing-tab.is-active {
    width: 100%;
    min-width: 0;
    height: 68px;
    min-height: 68px;
    margin: 0;
    padding: 9px 6px;
    flex: none;
    border-radius: 8px;
    box-shadow: none;
  }

  .home-solar-pricing-tab.is-active::after {
    display: none;
  }

  .home-solar-pricing-tab strong {
    font-size: 16px;
    line-height: 22px;
    white-space: normal;
  }

  .home-solar-pricing-tab small {
    font-size: 10px;
    line-height: 15px;
  }

  .home-solar-pricing__result-shell {
    padding: 18px 14px 18px;
    border: 1px solid #e0e4e8;
    border-top: 4px solid #318027;
    border-radius: 12px;
    box-shadow: 0 5px 18px rgba(26, 49, 116, .10);
  }

  .home-solar-pricing__summary {
    gap: 12px;
    margin-bottom: 24px;
  }

  .home-solar-pricing__capacity {
    width: 100%;
    min-width: 0;
    min-height: 54px;
    justify-content: center;
    gap: 9px;
    padding: 10px 12px;
    border-radius: 8px;
  }

  .home-solar-pricing__capacity span {
    font-size: 11px;
    line-height: 17px;
  }

  .home-solar-pricing__capacity i {
    height: 28px;
  }

  .home-solar-pricing__capacity strong {
    font-size: 20px;
    line-height: 29px;
  }

  .home-solar-pricing__metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
  }

  .home-solar-pricing__metrics > i {
    display: none;
  }

  .home-solar-pricing-metric {
    width: 100%;
    min-width: 0;
    min-height: 78px;
    justify-content: center;
    padding: 10px 7px;
    border: 1px solid #dfe8dd;
    border-radius: 8px;
    background: #f8fbf7;
  }

  .home-solar-pricing-metric strong {
    font-size: 17px;
    line-height: 24px;
  }

  .home-solar-pricing-metric span {
    font-size: 11px;
    line-height: 16px;
  }

  .home-solar-pricing__step-title--solutions {
    margin: 0 0 12px;
  }

  /* Trên mobile xếp từng gói full width. Không để lòi nửa card kế bên. */
  .home-solar-pricing__packages,
  .home-solar-pricing__packages.is-scroll {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: visible;
    scroll-snap-type: none;
  }

  .home-solar-package-card {
    width: 100%;
    min-width: 0;
    min-height: 0;
    flex: none;
    padding: 30px 12px 12px;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(26, 49, 116, .06);
  }

  .home-solar-package-card:hover {
    transform: none;
  }

  .home-solar-package-card__image {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    background: #fff;
  }

  .home-solar-package-card__pricebox,
  .home-solar-package-card__province,
  .home-solar-package-card__details,
  .home-solar-package-card__modal-list,
  .home-solar-package-card__divider {
    width: 100%;
  }

  .home-solar-package-card__pricebox {
    margin: 14px auto 14px;
  }

  .home-solar-package-card__pricebox strong {
    font-size: 20px;
    line-height: 29px;
  }

  .home-solar-package-card__details h3 {
    min-height: 0;
    font-size: 17px;
    line-height: 25px;
  }

  .home-solar-package-modal-trigger {
    min-height: 46px;
  }

  /* ---- FAQ ---- */
  .home-faq-figma--solar {
    padding-top: 16px;
  }

  .home-faq-figma--solar .home-faq-figma__inner {
    gap: 18px;
  }

  .home-faq-figma--solar .home-faq-item {
    border-radius: 8px;
  }

  .home-faq-figma--solar .home-faq-item__question {
    min-height: 54px;
    padding: 12px 13px;
    font-size: 13px;
    line-height: 20px;
  }

  /* ---- Devices: dùng grid, bỏ horizontal crop/lòi card ---- */
  .home-devices-figma {
    margin-top: 40px;
    padding-bottom: 40px;
  }

  .home-devices-figma__heading {
    margin-bottom: 24px;
  }

  .home-devices-figma__groups {
    gap: 30px;
  }

  .home-devices-figma__group {
    gap: 14px;
    padding-bottom: 24px;
    border-bottom: 1px solid #eceff1;
  }

  .home-devices-figma__group:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .home-devices-figma__info h3 {
    font-size: 18px;
    line-height: 27px;
  }

  .home-devices-figma__info p {
    margin-top: 8px;
    font-size: 13px;
    line-height: 20px;
  }

  .home-devices-figma__more {
    width: 100%;
    min-height: 42px;
    margin-top: 12px;
    padding: 9px 14px;
    justify-content: center;
    border-radius: 6px;
    font-size: 13px;
  }

  .home-devices-figma__products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
    gap: 10px;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow: visible;
    scroll-snap-type: none;
  }

  .home-devices-figma__product {
    width: 100%;
    min-width: 0;
    height: auto;
    aspect-ratio: 238 / 317;
    flex: none;
    overflow: hidden;
    border: 1px solid #e2e5e9;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 3px 10px rgba(26, 49, 116, .06);
  }

  .home-devices-figma__product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  /* ---- Guide ---- */
  .home-guide-figma {
    padding-top: 34px;
  }

  .home-guide-figma__cards {
    gap: 12px;
  }

  .home-guide-main,
  .home-guide-side {
    overflow: hidden;
    border-radius: 10px;
  }

  .home-guide-main__title-row {
    padding-right: 14px;
  }

  .home-guide-main__title-row h3 {
    font-size: 17px;
    line-height: 25px;
  }

  .home-guide-main__media {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .home-guide-side {
    min-height: 0;
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .home-guide-side__content strong,
  .home-guide-side__title {
    font-size: 18px;
    line-height: 27px;
  }

  /* ---- Licenses ---- */
  .home-license-figma {
    padding: 34px 0 40px;
  }

  .home-license-figma__layout {
    gap: 14px;
    margin-top: 16px;
  }

  .home-license-figma__left {
    gap: 14px;
  }

  .home-license-figma__row--top,
  .home-license-figma__row--bottom {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 12px;
    border-radius: 8px;
  }

  .home-license-card--top .home-license-card__image,
  .home-license-card--bottom .home-license-card__image {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .home-license-card__caption {
    margin-top: 8px;
    font-size: 10px !important;
    line-height: 15px !important;
  }

  .home-license-card--featured {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
  }

  .home-license-card--featured .home-license-card__image {
    width: 100%;
    aspect-ratio: 4 / 5;
  }

  .home-license-card--featured .home-license-card__caption {
    font-size: 16px !important;
    line-height: 24px !important;
  }

  /* ---- Projects: mobile ưu tiên ảnh chính + info, giảm cảm giác collage chật ---- */
  .home-projects-figma {
    padding: 36px 0 34px;
  }

  .home-projects-figma__slide,
  .home-projects-figma__swiper--single {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
  }

  .home-project-card {
    padding: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(26, 49, 116, .08);
  }

  .home-project-card__grid {
    display: block;
  }

  .home-project-card__image--one {
    height: auto;
    aspect-ratio: 16 / 10;
    margin: 0;
  }

  .home-project-card__image--two,
  .home-project-card__image--three,
  .home-project-corner {
    display: none !important;
  }

  .home-project-card__info {
    margin: 0;
    padding: 16px 14px 14px;
  }

  .home-project-card__info h3 {
    margin-bottom: 12px;
    font-size: 17px;
    line-height: 25px;
    text-align: left;
  }

  .home-project-card__metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .home-project-metric__icon,
  .home-project-metric__icon svg {
    width: 30px;
    height: 30px;
  }

  .home-project-metric strong {
    font-size: 11px;
    line-height: 16px;
  }

  .home-project-metric > span:not(.home-project-metric__icon) {
    font-size: 9px;
    line-height: 13px;
  }

  /* ---- Dealer form ---- */
  .home-dealer-figma {
    padding: 38px 0 46px;
  }

  .home-dealer-figma__inner {
    gap: 22px;
  }

  .home-dealer-figma__benefits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .home-dealer-figma__benefits span {
    min-height: 38px;
    padding: 7px 9px;
    font-size: 12px;
    line-height: 18px;
  }

  .home-dealer-figma__form-card {
    padding: 20px 16px 16px;
    border-radius: 10px;
  }

  .home-dealer-figma__form-title {
    margin-bottom: 18px;
    font-size: 22px;
    line-height: 32px;
  }

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

@media (max-width: 420px) {
  .figma-about-solar__stats,
  .home-statistics-figma__grid,
  .home-solar-pricing__metrics,
  .home-dealer-figma__benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-solar-pricing__tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-solar-pricing-tab,
  .home-solar-pricing-tab.is-active {
    height: 64px;
    min-height: 64px;
    padding: 8px 4px;
  }

  .home-solar-pricing-tab strong {
    font-size: 14px;
    line-height: 20px;
  }

  .home-devices-figma__products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 340px) {
  .home-solar-pricing__tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-license-figma__row--top,
  .home-license-figma__row--bottom,
  .home-devices-figma__products {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   MOBILE FLOATING ACTIONS - hotline & social cân đối hai bên
   ========================================================= */
@media (max-width: 767px) {
  /* Cùng cao độ trên mobile, tránh mỗi nút lấy một bottom khác từ Dashboard. */
  #hotline,
  #social {
    bottom: 88px !important;
  }

  #hotline {
    left: 18px !important;
    right: auto !important;
  }

  #social {
    left: auto !important;
    right: 18px !important;
  }

  /* Social cũ bị scale(.78), làm nhỏ hơn hotline. */
  #social .btn-frame,
  #hotline.btn-frame {
    width: 50px !important;
    height: 50px !important;
    /* margin: 0 !important; */
    transform: none !important;
    transform-origin: center !important;
  }

  #social .btn-frame {
    right: 18px !important;
    bottom: 0px !important;
  }

  #hotline.btn-frame {
    bottom: 88px !important;
  }

  #social .btn-frame i,
  #hotline.btn-frame i {
    width: 50px !important;
    height: 50px !important;
  }

  #social .btn-frame .kenit-alo-circle,
  #hotline.btn-frame .kenit-alo-circle {
    width: 60px !important;
    height: 60px !important;
    top: -5px !important;
    right: -5px !important;
  }

  #social .btn-frame .kenit-alo-circle-fill,
  #hotline.btn-frame .kenit-alo-circle-fill {
    width: 70px !important;
    height: 70px !important;
    top: -10px !important;
    right: -10px !important;
  }

  #social .btn-frame i img,
  #hotline.btn-frame i img {
    width: 35px !important;
    height: 35px !important;
    object-fit: contain;
  }
}

/* TBL Figma header: tablet/mobile retains the existing off-canvas menu. */
@media (max-width: 1025px) {
  .figma-topbar { height: 22px !important; }
  .figma-topbar-inner { height: 22px !important; }
  .figma-header-utility { min-height: 60px !important; height: 60px !important; padding: 4px 0 !important; }
  .figma-header-utility__inner { min-height: 52px !important; height: 52px !important; display: flex; align-items: center; gap: 8px; }
  .figma-header-brand { min-width: 0; display: flex; align-items: center; }
  .figma-header-mobile-brand { width: 92px !important; height: 48px !important; max-height: 48px !important; display: flex !important; align-items: center; }
  .figma-header-mobile-brand picture,
  .figma-header-mobile-brand img,
  .figma-header-logo-image { width: 92px !important; height: 48px !important; max-width: 92px !important; max-height: 48px !important; object-fit: contain; }
  .figma-header-brand-divider,
  .figma-header-tagline { display: none !important; }
  .figma-header-right { display: flex; align-items: center; margin-left: auto; }
  .figma-header-tools { display: flex; align-items: center; gap: 8px; }
  .figma-header-search { width: 32px; height: 36px; margin: 0; border: 0; background: transparent; }
  .figma-header-search-toggle { width: 32px; height: 36px; padding: 0; color: #0d2d62; background: transparent; border: 0; }
  .figma-header-search input { display: none; }
  .figma-header-search .show-search { display: none; }
  .figma-header-language,
  .figma-header-contact { display: none !important; }
  .header-menu-mobile-btn { display: flex !important; order: 2; width: 38px; height: 38px; min-width: 38px; min-height: 38px; margin-left: 4px; align-items: center; justify-content: center; }
  .figma-navigation { height: 0 !important; min-height: 0 !important; margin: 0 !important; background: transparent !important; }
  .figma-navigation .figma-navigation-wrap,
  .figma-desktop-menu { display: none !important; }
  .figma-navigation .header-left-fixwidth { z-index: 10060; }
}

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

/* ================= TBL SERVICES RESPONSIVE ================= */
@media (max-width: 1199px) {
    .tbl-services-page__container { width: min(100% - 48px, 1100px); }
    .tbl-services-page__cards, .tbl-services-page__projects { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .tbl-services-page__card-title h3 { font-size: 19px; }
    .tbl-services-page__section-head > p { font-size: 15px; }
}
@media (max-width: 767px) {
    .tbl-services-page__container { width: calc(100% - 32px); }
    .tbl-services-page__section { padding-block: 28px; }
    .tbl-services-page__section-head, .tbl-services-page__section-head--projects { grid-template-columns: 1fr; gap: 12px; }
    .tbl-services-page__cards, .tbl-services-page__projects { grid-template-columns: 1fr; gap: 14px; }
    .tbl-services-page__card { padding: 12px; }
    .tbl-services-page__card-title { min-height: 71px; margin-bottom: 8px; }
    .tbl-services-page__icon { width: 71px; height: 71px; flex-basis: 71px; }
    .tbl-services-page__card-title h3 { font-size: 18px; }
    .tbl-services-page__card-desc { margin: 11px 0 12px; }
    .tbl-services-page__hero-overlay { background: linear-gradient(90deg,rgba(246,251,255,.95),rgba(246,251,255,.3)); }
    .tbl-services-page__hero-overlay h1 { max-width: 60%; font-size: clamp(18px,4vw,28px); }
    .tbl-services-page__hero-overlay p { max-width: 62%; font-size: 12px; line-height: 1.3; }
    .tbl-services-page__process h2 { margin-bottom: 10px; }
    .tbl-services-page__eyebrow { font-size: 11px; gap: 8px; }
    .tbl-services-page__eyebrow::before { width: 22px; height: 3px; }
    .tbl-services-page__cta-copy h2 { font-size: 18px; }
    .tbl-services-page__cta-copy p { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
    .tbl-services-page__card, .tbl-services-page__card-photo { transition: none; }
    .tbl-services-page__card:hover { transform: none; }
}
/* ================= END TBL SERVICES RESPONSIVE ================= */

/* Digital responsive -- only pages carrying .tbl-digital-page */
@media (max-width:1199px){
 .tbl-digital-container{width:min(100% - 44px,1100px)}
 .tbl-digital-grid--four{grid-template-columns:repeat(2,minmax(0,1fr))}
 .tbl-digital-architecture,.tbl-digital-featured{grid-template-columns:1fr}
 .tbl-digital-architecture__benefits{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}
 .tbl-digital-architecture__benefits>.tbl-digital-kicker{grid-column:1/-1}
 .tbl-digital-featured__cta{min-height:250px}
}
@media (max-width:767px){
 .tbl-digital-container{width:calc(100% - 28px)}
 .tbl-digital-section{padding:26px 0}
 .tbl-digital-heading{display:block;margin-bottom:18px}
 .tbl-digital-heading>p{margin-top:14px}
 .tbl-digital-page h2{font-size:25px}
 .tbl-digital-page .tbl-digital-kicker{font-size:11px}
 .tbl-digital-hero{min-height:auto;padding:50px 0}
 .tbl-digital-hero h1{font-size:34px}
 .tbl-digital-hero__values{gap:14px;margin:28px 0}
 .tbl-digital-hero__values span{flex:1 1 42%;max-width:none;font-size:12px;border:0;padding-left:0}
 .tbl-digital-grid--four,.tbl-digital-grid--three{grid-template-columns:1fr;gap:14px}
 .tbl-digital-card__body{padding:14px}
 .tbl-digital-architecture__main,.tbl-digital-architecture__benefits{padding:15px}
 .tbl-digital-architecture__flow{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .tbl-digital-architecture__step:not(:last-child):after{display:none}
 .tbl-digital-architecture__benefits{display:block}
 .tbl-digital-featured__cta{padding:25px;min-height:265px}
 .tbl-digital-heading--featured{display:block}
 .tbl-digital-heading--featured .tbl-digital-view-all{display:inline-block;margin-top:13px}
 .tbl-digital-footer-cta .tbl-digital-container{display:block}
 .tbl-digital-footer-cta .tbl-digital-button{margin-top:18px}
 .tbl-digital-detail__gallery{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:420px){
 .tbl-digital-architecture__flow{grid-template-columns:1fr}
 .tbl-digital-architecture__step{min-height:0}
 .tbl-digital-architecture__step .tbl-digital-architecture__image,.tbl-digital-architecture__symbol{height:90px!important}
 .tbl-digital-hero h1{font-size:29px}
 .tbl-digital-detail__gallery{grid-template-columns:1fr}
}

/* Projects responsive; isolated from other TBL pages. */
@media (max-width:1199px){
 .tbl-projects-container{width:calc(100% - 44px)}
 .tbl-projects-tools{flex-wrap:wrap}
 .tbl-projects-search{width:100%;max-width:540px}
 .tbl-projects-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
}
@media (max-width:767px){
 .tbl-projects-container{width:calc(100% - 28px)}
 .tbl-projects-main{padding:20px 0 38px}
 .tbl-projects-hero{min-height:290px}
 .tbl-projects-hero .tbl-projects-container{padding:48px 0}
 .tbl-projects-tools{gap:12px;margin-bottom:18px}
 .tbl-projects-categories{flex-wrap:nowrap;overflow-x:auto;width:100%;padding:0 0 8px;scrollbar-width:thin}
 .tbl-projects-tab{white-space:nowrap;flex:0 0 auto}
 .tbl-projects-search{min-width:0;max-width:none;width:100%;flex-wrap:wrap}
 .tbl-projects-search input{width:110px}
 .tbl-projects-grid{grid-template-columns:1fr;gap:18px}
 .tbl-projects-card__body{min-height:unset}
 .tbl-projects-stats__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 0}
 .tbl-projects-stats__item:nth-child(2){border-right:0}
 .tbl-projects-review{min-height:220px;padding:23px 15px 70px}
 .tbl-projects-review p{font-size:15px}
 .tbl-projects-testimonials__controls{right:10px;top:auto;bottom:14px;transform:none}
 .tbl-projects-cta>.tbl-projects-container{flex-direction:column;align-items:flex-start}
 .tbl-projects-cta a{white-space:normal}
 .tbl-projects-detail{padding:20px 0 45px}
 .tbl-projects-detail__gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
}


/* TBL About responsive — overrides limited to About only */
@media(max-width:1199px){
 .tbl-about-page__container{width:min(100% - 44px,1800px)}
 .tbl-about-page__hero,.tbl-about-page__hero-inner{min-height:470px}
 .tbl-about-page__company{gap:22px}
 .tbl-about-page__mission{grid-template-columns:1fr 1fr}
 .tbl-about-page__values{grid-template-columns:repeat(2,minmax(0,1fr))}
 .tbl-about-page__value:nth-child(2){border-right:0}
 .tbl-about-page__bottom{gap:18px}
}
@media(max-width:767px){
 .tbl-about-page__container{width:calc(100% - 32px)}
 .tbl-about-page__hero,.tbl-about-page__hero-inner{min-height:390px}
 .tbl-about-page__hero.has-image{background-position:58% center;background-image:linear-gradient(90deg,rgba(4,25,53,.95),rgba(3,23,52,.70)),var(--tbl-about-hero)}
 .tbl-about-page__hero-copy{width:100%;padding:40px 0}
 .tbl-about-page h1{font-size:clamp(29px,7.3vw,39px)}
 .tbl-about-page h2{font-size:clamp(24px,5.4vw,32px)}
 .tbl-about-page__hero-lead{font-size:15px}
 .tbl-about-page__company{grid-template-columns:1fr;padding-top:30px;padding-bottom:22px}
 .tbl-about-page__stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .tbl-about-page__stat{min-height:105px;padding:12px}
 .tbl-about-page__stat strong{font-size:23px}
 .tbl-about-page__stat span{font-size:12px}
 .tbl-about-page__mission{grid-template-columns:1fr;gap:14px}
 .tbl-about-page__mission-card{min-height:310px;padding:24px}
 .tbl-about-page__soft-card{padding:20px}
 .tbl-about-page__alternating{grid-template-columns:1fr;gap:12px;padding:18px 0}
 .tbl-about-page__alternating.is-reversed .tbl-about-page__alternate-copy,.tbl-about-page__alternating.is-reversed .tbl-about-page__alternate-image{order:initial}
 .tbl-about-page__alternate-copy{padding:8px 0}
 .tbl-about-page__partner-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .tbl-about-page__partner{padding:12px;min-height:75px}
 .tbl-about-page__partner img{max-height:44px}
 .tbl-about-page__bottom{grid-template-columns:1fr;padding-bottom:28px}
 .tbl-about-page__location{min-height:270px;padding:20px}
 .tbl-about-page__location-copy{max-width:65%}
 .tbl-about-page__map{width:40%}
 .tbl-about-page__cta{padding:28px 24px;min-height:260px}
}
@media(max-width:420px){
 .tbl-about-page__location{display:block;min-height:330px}
 .tbl-about-page__location-copy{max-width:100%}
 .tbl-about-page__map{position:relative;width:100%;height:125px;margin-top:12px}
 .tbl-about-page__eyebrow{font-size:12px}
}

/* Contact responsive, only applies to Contact page */
@media(max-width:1199px){
 .tbl-contact-container{width:calc(100% - 44px)}
 .tbl-contact-hero,.tbl-contact-hero__inner{min-height:480px}
 .tbl-contact-hero__copy{width:65%}
 .tbl-contact-hero__benefit{padding:0 10px;font-size:13px}
 .tbl-contact-main{grid-template-columns:1.3fr 1fr;gap:15px}
 .tbl-contact-main__form,.tbl-contact-direct{padding:23px}
 .tbl-contact-location{grid-template-columns:1fr 1fr;gap:16px}
 .tbl-contact-location__info{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 20px}
 .tbl-contact-location__info h3,.tbl-contact-location__directions{grid-column:1/-1}
 .tbl-contact-cta__values{width:60%}
}
@media(max-width:767px){
 .tbl-contact-container{width:calc(100% - 30px)}
 .tbl-contact-page h1{font-size:clamp(30px,7.5vw,42px)}
 .tbl-contact-page h2{font-size:clamp(24px,5.9vw,30px)}
 .tbl-contact-hero,.tbl-contact-hero__inner{min-height:410px}
 .tbl-contact-hero.has-photo{background-image:linear-gradient(90deg,rgba(4,27,59,.95),rgba(4,27,59,.66)),var(--contact-hero)}
 .tbl-contact-hero__copy{width:100%;padding:35px 0}
 .tbl-contact-hero__copy>p{font-size:15px}
 .tbl-contact-hero__benefits{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 0;margin-top:26px}
 .tbl-contact-hero__benefit{font-size:12px;gap:6px;padding:0 10px}
 .tbl-contact-hero__benefit:nth-child(odd){padding-left:0}.tbl-contact-hero__benefit:nth-child(even){border-right:0}
 .tbl-contact-hero__benefit i{font-size:25px}
 .tbl-contact-main{grid-template-columns:1fr;gap:14px;padding:20px 0}
 .tbl-contact-main__form,.tbl-contact-direct{padding:20px 18px}
 .tbl-contact-form__grid{grid-template-columns:1fr;gap:14px}
 .tbl-contact-field--wide{grid-column:auto}
 .tbl-contact-direct__item{grid-template-columns:49px 1fr;gap:13px;padding:14px 0}
 .tbl-contact-direct__item>i{width:47px;height:47px;font-size:20px}
 .tbl-contact-direct__item strong{font-size:16px}
 .tbl-contact-location{grid-template-columns:1fr;gap:15px;padding-bottom:24px}
 .tbl-contact-location__map,.tbl-contact-location__map iframe,.tbl-contact-location__empty{height:310px;min-height:310px}
 .tbl-contact-location__info{grid-column:auto;display:block}
 .tbl-contact-cta__inner{flex-direction:column;align-items:flex-start;padding:33px 0;gap:28px}
 .tbl-contact-cta__values{grid-template-columns:repeat(2,minmax(0,1fr));width:100%;max-width:none;row-gap:20px}
 .tbl-contact-cta__values>div:nth-child(odd){border-left:0}
}

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


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


/* ======================================================================
   TBL RESPONSIVE CONSOLIDATION — 2026-10-14
   Scoped to the current TBL website. Desktop (> 1200px) is unchanged.
   Complements the existing breakpoint rules above; does not change data,
   admin pages, or the desktop visual design.
   ====================================================================== */
@media (max-width: 1200px) {
  /* Keep CSS Grid children from forcing the whole page wider than viewport. */
  :is(.tbl-solutions-landing,.tbl-services-page,.tbl-digital-page,.tbl-projects-page,
      .tbl-about-page,.tbl-contact-page,.tbl-news-page) :is(article,aside,section,main) {
    min-width: 0;
  }
  :is(.tbl-solutions-container,.tbl-services-page__container,.tbl-digital-container,
      .tbl-projects-container,.tbl-about-page__container,.tbl-contact-container) {
    max-width: 100%;
    margin-inline: auto;
  }
  :is(.tbl-solutions-heading,.tbl-services-page__section-head,.tbl-digital-heading,
      .tbl-news-page__heading,.tbl-projects-tools) > * {
    min-width: 0;
  }
  :is(.tbl-solutions-landing,.tbl-services-page,.tbl-digital-page,.tbl-projects-page,
      .tbl-about-page,.tbl-contact-page,.tbl-news-page) :is(h1,h2,h3,p,a) {
    overflow-wrap: break-word;
  }
  /* Desktop Contact remains three columns; the existing tablet two-column
     layout moves the information panel under the map and office photo. */
  .tbl-contact-location > * { min-width: 0; }
  .tbl-contact-location__office-photo { max-width: 100%; }
  .tbl-contact-location__info-item > div { min-width: 0; overflow-wrap: anywhere; }
  .tbl-contact-direct__item > div { overflow-wrap: anywhere; }
  /* Keep the project article rail in the available width on tablets. */
  .tbl-solutions-case-study__aside,
  .tbl-solutions-case-study__project-list,
  .tbl-solutions-case-study__project-track { min-width: 0; max-width: 100%; }
  .tbl-projects-search { min-width: 0; }
  .tbl-digital-heading > p { min-width: 0; }
}

@media (max-width: 1025px) {
  /* Allow long administration-entered labels to wrap on smaller screens. */
  .tbl-services-page__card-title,
  .tbl-news-page__category-card .tbl-services-page__card-title,
  .tbl-digital-card__body h3,
  .tbl-projects-card__body { min-width: 0; }
  .tbl-services-page__card-title h3,
  .tbl-news-page__category-card h3,
  .tbl-digital-card__body h3 a,
  .tbl-projects-card__body h3 { overflow-wrap: anywhere; }
  .tbl-digital-featured { min-width: 0; }
  .tbl-digital-featured > *,
  .tbl-digital-architecture > *,
  .tbl-projects-detail__gallery > *,
  .tbl-about-page__mission > * { min-width: 0; }
  /* Wide data/HTML pasted from Word must scroll inside its own content,
     not create a horizontal scrollbar for the entire webpage. */
  :is(.tbl-news-page__detail-content,.tbl-digital-detail__content,
      .tbl-projects-detail__content,.tbl-services-page__detail-content,
      .tbl-about-page__company-copy,.tbl-contact-page) :is(table,pre) {
    display: block;
    width: max-content;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  :is(.tbl-news-page__detail-content,.tbl-digital-detail__content,
      .tbl-projects-detail__content,.tbl-services-page__detail-content) :is(img,video,iframe) {
    max-width: 100% !important;
  }
  :is(.tbl-news-page__detail-content,.tbl-digital-detail__content,
      .tbl-projects-detail__content,.tbl-services-page__detail-content) img {
    height: auto !important;
  }
  .tbl-projects-categories,
  .tbl-news-page__filters { scroll-padding-inline: 12px; }
  .tbl-contact-location__map { min-width: 0; }
  .tbl-contact-location__map iframe { max-width: 100%; }
  /* Make banners and sliders viewport-friendly without changing admin images. */
  :is(.tbl-digital-banner,.tbl-projects-artwork,.tbl-news-page__hero-banner,
      .tbl-news-page__bottom-banner,.solutions-approach-banner,.solutions-cta-banner) {
    max-width: 100%;
  }
}

@media (min-width: 768px) and (max-width: 1025px) {
  /* More comfortable tablet typography and spacing. */
  .tbl-solutions-card__body h3 { font-size: clamp(19px,2.3vw,23px); }
  .tbl-solutions-card__desc { font-size: 14px; line-height: 1.5; }
  .tbl-solutions-card__features { font-size: 13px; line-height: 1.5; }
  .tbl-solutions-case-study__detail { min-width: 0; }
  .tbl-contact-location__map,
  .tbl-contact-location__map iframe,
  .tbl-contact-location__empty { min-height: 300px; }
  .tbl-projects-search { margin-left: 0; }
  .tbl-digital-grid--three { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .tbl-services-page__process-heading { flex-wrap: wrap; }
  .tbl-about-page__partner-grid { gap: 16px; }
}

@media (max-width: 767px) {
  /* Uniform side-gutters across independent page modules. */
  .tbl-solutions-container,
  .tbl-services-page__container,
  .tbl-digital-container,
  .tbl-projects-container,
  .tbl-about-page__container,
  .tbl-contact-container,
  .tbl-news-page .tbl-services-page__container {
    width: calc(100% - 32px);
    max-width: 100%;
    margin-inline: auto;
  }
  /* Solutions: each section should read naturally in a single vertical flow. */
  .tbl-solutions-grid { grid-template-columns: minmax(0,1fr); }
  .tbl-solutions-card,
  .tbl-solutions-case-study,
  .tbl-solutions-heading--two-col { min-width: 0; }
  .tbl-solutions-case-study__aside { width: 100%; }
  .tbl-solutions-case-study__project-track > .tbl-solutions-case-study__small {
    max-width: 100%;
  }
  .tbl-solutions-case-study__all { min-height: 44px; align-items: center; }
  .tbl-solutions-steps { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .tbl-solutions-step__body p { max-width: none; }
  /* Hero/fallback headings are responsive, not clipped at 320–375px. */
  .tbl-solutions-heading h2,
  .tbl-solutions-featured .tbl-solutions-heading h2 {
    font-size: clamp(26px,6.5vw,34px);
    overflow-wrap: anywhere;
  }
  .tbl-solutions-hero-fallback h1 { font-size: clamp(29px,8vw,39px); }
  /* Services, Digital and Projects cards. */
  .tbl-services-page__process-heading,
  .tbl-services-page__section-head { gap: 14px; }
  .tbl-services-page__process-heading { flex-direction: column; align-items: stretch; }
  .tbl-services-page__process-button { white-space: normal; text-align: center; }
  .tbl-services-page__all-projects { white-space: normal; min-height: 44px; display: inline-flex; align-items: center; }
  .tbl-digital-hero { min-height: 0; padding: 48px 0; }
  .tbl-digital-hero__values { gap: 16px 0; margin: 26px 0; }
  .tbl-digital-hero__values span { flex: 0 1 50%; min-width: 0; max-width: none; }
  .tbl-digital-grid--four,
  .tbl-digital-grid--three { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .tbl-digital-heading { grid-template-columns: 1fr; gap: 12px; }
  .tbl-digital-featured__cta { aspect-ratio: auto; min-height: 0; }
  .tbl-digital-footer-cta .tbl-digital-container { align-items: stretch; }
  .tbl-digital-button { white-space: normal; min-height: 44px; }
  .tbl-projects-search { width: 100%; max-width: 100%; }
  .tbl-projects-search input { width: 100%; flex: 1 1 100px; }
  .tbl-projects-search select { max-width: min(42%,160px); flex: 0 1 auto; }
  .tbl-projects-search button { width: 44px; min-width: 44px; height: 44px; }
  .tbl-projects-categories { scroll-snap-type: x proximity; }
  .tbl-projects-tab { scroll-snap-align: start; }
  .tbl-projects-testimonial-stage { aspect-ratio: 16 / 6; }
  .tbl-projects-testimonial-nav { right: 12px; top: auto; bottom: 10px; }
  .tbl-projects-testimonial-nav__buttons button { width: 40px; height: 40px; font-size: 26px; }
  .tbl-projects-detail__gallery { grid-template-columns: repeat(2,minmax(0,1fr)); }
  /* About and Contact: preserve image ratio and full information. */
  .tbl-about-page__alternating > *,
  .tbl-about-page__bottom > * { min-width: 0; }
  .tbl-about-page__cta { min-height: 0; padding: 25px 20px; }
  .tbl-contact-main--without-artwork { grid-template-columns: 1fr; }
  .tbl-contact-main__form,
  .tbl-contact-direct,
  .tbl-contact-location__info { min-width: 0; }
  .tbl-contact-location__office-photo { width: 100%; height: auto; aspect-ratio: 800 / 550; }
  .tbl-contact-location__map,
  .tbl-contact-location__map iframe,
  .tbl-contact-location__empty { height: 300px; min-height: 300px; }
  .tbl-contact-location__directions { min-height: 44px; padding: 10px 12px; text-align: center; }
  .tbl-contact-field input,
  .tbl-contact-field select,
  .tbl-contact-field textarea { max-width: 100%; font-size: 16px !important; }
  .tbl-contact-cta__values > div { min-width: 0; }
  /* News: titles, filters and thumbnails must fit small viewports. */
  .tbl-news-page__heading h1 { font-size: clamp(27px,6vw,35px); }
  .tbl-news-page__category-heading { flex-wrap: wrap; gap: 12px; }
  .tbl-news-page__category-nav { margin-left: auto; }
  .tbl-news-page__filters { gap: 8px; }
  .tbl-news-page__filter { min-height: 40px; }
  .tbl-news-page__detail-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .tbl-news-page__detail-title { font-size: clamp(26px,6vw,34px); }
  /* Shared touch targets and focus clarity. */
  :is(.tbl-solutions-landing,.tbl-services-page,.tbl-digital-page,
      .tbl-projects-page,.tbl-about-page,.tbl-contact-page,.tbl-news-page)
      :is(a,button,input,select,textarea):focus-visible {
    outline: 2px solid #1971c2;
    outline-offset: 3px;
  }
}

@media (max-width: 575px) {
  /* Solutions cards were squeezed into a 39%/61% split with 11px text.
     Switch only at phone sizes to a readable photo-above-body design. */
  .tbl-solutions-card { display: flex; flex-direction: column; min-height: 0; }
  .tbl-solutions-card__photo { display: block; width: 100%; min-height: 0; height: auto; aspect-ratio: 16 / 9; }
  .tbl-solutions-card__no-image { display: grid; place-items: center; width: 100%; min-height: 0; height: auto; aspect-ratio: 16 / 9; }
  .tbl-solutions-card__photo img,
  .tbl-solutions-card__photo picture { width: 100%; height: 100%; object-fit: cover; }
  .tbl-solutions-card__body { padding: 17px 17px 20px; }
  .tbl-solutions-card__body h3 { font-size: 20px; line-height: 1.3; }
  .tbl-solutions-card__desc { font-size: 14px; line-height: 1.55; }
  .tbl-solutions-card__features { font-size: 14px; line-height: 1.5; padding-left: 18px; }
  .tbl-solutions-card__more { min-height: 44px; align-items: center; }
  .tbl-solutions-step { gap: 8px; }
  .tbl-solutions-case-study__detail { padding: 18px 16px; }
  .tbl-digital-grid--four,
  .tbl-digital-grid--three,
  .tbl-digital-architecture__flow,
  .tbl-digital-detail__gallery { grid-template-columns: minmax(0,1fr); }
  .tbl-digital-hero__values span { font-size: 13px; line-height: 1.45; }
  .tbl-digital-architecture__main,
  .tbl-digital-architecture__benefits { padding: 16px; }
  .tbl-projects-search { gap: 3px; padding: 5px; }
  .tbl-projects-search select { max-width: 40%; }
  .tbl-projects-artwork--testimonials .tbl-projects-testimonial-stage { aspect-ratio: 16 / 8; }
  .tbl-projects-testimonial-nav__buttons { gap: 8px; }
  .tbl-about-page__stats { gap: 8px; }
  .tbl-about-page__location-copy,
  .tbl-about-page__location-copy h2 { max-width: 100%; }
  .tbl-contact-hero__benefits { gap: 12px; }
  .tbl-contact-hero__benefit { font-size: 12px; }
  .tbl-contact-main__form,
  .tbl-contact-direct,
  .tbl-contact-location__info { padding: 18px 15px; }
  .tbl-contact-location__map,
  .tbl-contact-location__map iframe,
  .tbl-contact-location__empty { height: 270px; min-height: 270px; }
  .tbl-news-page__category-grid,
  .tbl-news-page__subcat-grid,
  .tbl-news-page__post-grid { grid-template-columns: minmax(0,1fr); }
}

@media (max-width: 359px) {
  .tbl-solutions-steps { grid-template-columns: minmax(0,1fr); }
  .tbl-solutions-step { gap: 13px; }
  .tbl-contact-cta__values { grid-template-columns: 1fr; }
  .tbl-contact-cta__values > div { border-left: 0; }
  .tbl-projects-search { flex-wrap: wrap; }
  .tbl-projects-search input { flex-basis: calc(100% - 55px); }
  .tbl-projects-search select { max-width: none; flex: 1 1 100%; border-left: 0 !important; }
}

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

/* ======================================================================
   TBL TABLET / MOBILE HOME VISUAL REPAIR — 2026-10-14
   Fixes text baked into slider/banner images being cut off by object-fit:cover.
   Preserves desktop (>= 1026px), uploads, links, menu/sidebar and data.
   ====================================================================== */
@media (max-width: 1025px) {
  /* A tidy, single-row mobile/tablet brand bar. Desktop header unaffected. */
  .above-nav {
    position: relative;
    z-index: 10020;
    background: #fff;
    box-shadow: 0 2px 12px rgba(13, 45, 98, .07);
  }
  .above-nav .figma-topbar { display: none !important; }
  .above-nav .figma-header-utility {
    height: 72px !important;
    min-height: 72px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    border-bottom: 1px solid #e7edf5;
  }
  .above-nav .figma-header-utility__inner,
  .above-nav .figma-header-utility .wrap-content {
    width: calc(100% - 40px) !important;
    max-width: 970px !important;
    height: 72px !important;
    min-height: 72px !important;
    margin-inline: auto !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
  }
  .above-nav .figma-header-brand { flex: 0 1 auto; min-width: 0; height: 60px; }
  .above-nav .figma-header-mobile-brand {
    width: 126px !important;
    height: 60px !important;
    min-width: 0 !important;
    max-height: 60px !important;
    flex: 0 0 126px;
  }
  .above-nav .figma-header-mobile-brand picture,
  .above-nav .figma-header-mobile-brand img,
  .above-nav .figma-header-logo-image {
    display: block !important;
    width: 126px !important;
    height: 60px !important;
    max-width: 100% !important;
    max-height: 60px !important;
    object-fit: contain !important;
  }
  .above-nav .figma-header-brand-divider,
  .above-nav .figma-header-tagline { display: none !important; }
  .above-nav .figma-header-right {
    order: 1;
    width: auto !important;
    height: auto !important;
    flex: 0 0 auto;
    margin-left: auto !important;
    align-items: center !important;
  }
  .above-nav .figma-header-tools { width: auto !important; height: auto !important; gap: 0 !important; }
  .above-nav .figma-header-search {
    position: relative !important;
    width: 44px !important;
    height: 44px !important;
    flex: 0 0 44px;
    overflow: visible !important;
    margin: 0 !important;
  }
  .above-nav .figma-header-search-toggle {
    width: 44px !important;
    height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 10px !important;
    background: #f1f5fa !important;
    color: #0d2d62 !important;
    font-size: 19px;
  }
  /* Search icon previously focused an input that was display:none. */
  .above-nav .figma-header-search.is-open input {
    position: absolute !important;
    z-index: 10070;
    top: calc(100% + 12px);
    right: 0;
    display: block !important;
    width: min(330px, calc(100vw - 40px)) !important;
    height: 46px !important;
    padding: 0 14px !important;
    border: 1px solid #d5e1ee !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: #0d2d62 !important;
    font-size: 15px;
    box-shadow: 0 12px 26px rgba(13,45,98,.16);
  }
  .above-nav .header-menu-mobile-btn {
    order: 2;
    display: flex !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    flex: 0 0 44px;
    margin: 0 !important;
    border: 1px solid #dfe7f2;
    border-radius: 10px;
    background: #f1f5fa;
  }
  .above-nav .header-menu-mobile-btn span {
    width: 21px;
    height: 2px;
    margin: 2.5px 0;
    background: #0d2d62;
  }

  /* Slide artwork has REAL TEXT inside the uploaded image. Showing the
     full original image is safer than cropping the headline at 768px. */
  
  
  
  
  
  
  /* Linked actions get their own neat line, not over the picture text. */
  
  
  
  
  
  /* The slider provides a separate mobile asset when uploaded by the user. */
  
  

  /* Fixed-size image banners in the homepage also contain printed text.
     Respect their actual image aspect ratio instead of clipping words. */
  .home-solutions-banner,
  .home-trust-banner--image,
  .home-cta-banner--image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    padding: 0 !important;
  }
  :is(.home-solutions-banner,.home-trust-banner--image,.home-cta-banner--image)
    :is(.home-solutions-banner__image,.home-trust-banner__image,.home-cta-banner__image,picture,img) {
    max-width: 100% !important;
  }
  .home-trust-banner--image .home-trust-banner__carousel,
  .home-cta-banner--image .home-cta-banner__carousel,
  .home-trust-banner--image .swiper-wrapper,
  .home-cta-banner--image .swiper-wrapper,
  .home-trust-banner--image .swiper-slide,
  .home-cta-banner--image .swiper-slide,
  .home-trust-banner--image .home-trust-banner__link,
  .home-cta-banner--image .home-cta-banner__link { height: auto !important; }
  :is(.home-solutions-banner__image,.home-trust-banner__image,.home-cta-banner__image),
  :is(.home-solutions-banner__image,.home-trust-banner__image,.home-cta-banner__image) :is(picture,img) {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center center !important;
  }

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

@media (max-width: 600px) {
  .above-nav .figma-header-utility,
  .above-nav .figma-header-utility__inner,
  .above-nav .figma-header-utility .wrap-content {
    height: 64px !important;
    min-height: 64px !important;
  }
  .above-nav .figma-header-utility__inner,
  .above-nav .figma-header-utility .wrap-content { width: calc(100% - 28px) !important; }
  .above-nav .figma-header-mobile-brand {
    width: 108px !important;
    height: 52px !important;
    flex-basis: 108px;
  }
  .above-nav .figma-header-mobile-brand picture,
  .above-nav .figma-header-mobile-brand img,
  .above-nav .figma-header-logo-image {
    width: 108px !important;
    height: 52px !important;
    max-height: 52px !important;
  }
  
  
  
  .footer-figma__inner {
    width: calc(100% - 32px) !important;
    padding: 30px 0 98px !important;
    gap: 26px !important;
  }
  .footer-figma__columns { grid-template-columns: minmax(0,1fr) !important; gap: 23px !important; }
  .footer-figma__brand::before { display: none !important; }
  .footer-figma__brand { align-items: flex-start !important; flex-direction: row !important; }
  .footer-figma__brand-description { flex: 1 1 160px; width: auto !important; }
  .footer-figma__bottom { flex-direction: column; align-items: flex-start; }
}

/* Restore the icon search on actual phones (legacy <=767px rule hides it). */
@media (max-width: 767px) {
  .above-nav .figma-header-search { display: block !important; }
  .above-nav .figma-header-search.is-open input {
    visibility: visible !important;
    opacity: 1 !important;
  }
}

@media (max-width: 600px) {
  /* Keep the temporary search field fully inside a narrow phone viewport. */
  .above-nav .figma-header-search.is-open input {
    position: fixed !important;
    top: 70px !important;
    right: 14px !important;
    left: 14px !important;
    width: calc(100vw - 28px) !important;
    max-width: none !important;
    box-sizing: border-box !important;
  }
}

/* TBL EN / VI — keep language choice accessible on tablet and mobile. */
@media (max-width: 1025px) {
  body .above-nav .figma-header-utility .figma-header-tools .figma-header-language {
    display: block !important;
    position: relative !important;
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 58px !important;
    margin-left: 8px !important;
    z-index: 10100 !important;
  }
  body .above-nav .figma-header-utility .figma-header-tools .figma-header-language summary {
    display: flex !important;
    min-height: 44px !important;
    padding: 0 9px !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    border-radius: 10px !important;
    background: #f1f5fa !important;
    color: #0d2d62 !important;
    font-size: 14px !important;
    line-height: 20px !important;
  }
  body .above-nav .figma-header-language-menu {
    position: absolute !important;
    display: grid !important;
    right: 0 !important;
    top: calc(100% + 6px) !important;
    min-width: 145px !important;
    padding: 6px !important;
    background: #fff !important;
    border: 1px solid #dce6f2 !important;
    border-radius: 10px !important;
    box-shadow: 0 14px 28px rgba(13, 45, 98, .16) !important;
    z-index: 10120 !important;
  }
  body .above-nav .figma-header-language-menu a {
    display: block;
    padding: 11px 12px;
    white-space: nowrap;
  }
}

@media (max-width: 420px) {
  body .above-nav .figma-header-mobile-brand,
  body .above-nav .figma-header-mobile-brand img,
  body .above-nav .figma-header-logo-image {
    width: 100px !important;
    max-width: 100px !important;
  }
  body .above-nav .figma-header-utility__inner { gap: 4px !important; }
  body .above-nav .figma-header-utility .figma-header-tools .figma-header-language { margin-left: 3px !important; min-width: 54px !important; }
  body .above-nav .figma-header-utility .figma-header-tools .figma-header-language summary { padding: 0 6px !important; }
}
.figma-header-language-menu a[aria-current="true"] {
  background: #edf4ff;
  color: #0c2b60;
  font-weight: 700;
}
.figma-header-language summary:focus-visible,
.figma-header-language-menu a:focus-visible {
  outline: 2px solid #cc1832;
  outline-offset: 2px;
}
/* =============================================================
   TBL | Header EN/VI + partner logos — responsive correction
   2026-10-14
   Scope: header tools/dropdowns and partner logos only.
   Keeps desktop menu, contact button, language system and slider.
   ============================================================= */

/* Native <details> alone is not enough because the old stylesheet forces
   the dropdown menu to display:grid. Hide until the user opens it. */
body .above-nav .figma-header-language:not([open]) > .figma-header-language-menu {
  display: none !important;
}
body .above-nav .figma-header-language[open] > .figma-header-language-menu {
  display: grid !important;
}

/* An unfocused search input must never sit over the desktop navigation. */
body .above-nav .figma-header-search:not(.is-open) > input.search-auto {
  display: none !important;
}
body .above-nav .figma-header-search.is-open > input.search-auto {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

@media (min-width: 1026px) {
  body .above-nav .figma-header-utility__inner { position: relative; }
  body .above-nav .figma-header-right,
  body .above-nav .figma-header-tools { overflow: visible !important; }
  body .above-nav .figma-header-tools { position: relative; z-index: 10; }
  body .above-nav .figma-header-language { z-index: 11; }
  body .above-nav .figma-header-search.is-open > input.search-auto {
    /* Below the 98px utility row; never across the 32px nav row. */
    top: 110px !important;
    right: -10px !important;
    width: min(300px, calc(100vw - 40px)) !important;
    height: 44px !important;
    padding: 0 14px !important;
    box-sizing: border-box;
    border: 1px solid #d8e2ef;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(8,34,83,.17);
  }
  body .above-nav .figma-header-language[open] > .figma-header-language-menu {
    top: 110px !important;
    right: 0 !important;
    min-width: 142px;
    padding: 6px;
    border-radius: 9px;
    box-shadow: 0 12px 30px rgba(8,34,83,.17);
  }
  body .above-nav .figma-header-language-menu a {
    display: block;
    padding: 9px 12px;
    line-height: 1.4;
    white-space: nowrap;
  }
  /* Keep all navigation links within the current 873px desktop row. */
  body .figma-navigation .figma-nav-group {
    gap: clamp(10px, 1.25vw, 24px) !important;
    align-items: center !important;
  }
  body .figma-navigation .figma-nav-item > a {
    font-size: clamp(14px, 1.02vw, 17px) !important;
  }
}

@media (max-width: 1025px) {
  body .above-nav .figma-header-right,
  body .above-nav .figma-header-tools { min-width: 0; }
  body .above-nav .figma-header-language[open] > .figma-header-language-menu {
    top: calc(100% + 8px) !important;
    right: 0 !important;
  }
  body .above-nav .figma-header-language summary { white-space: nowrap; }
  /* Partners are a distinct image grid, not a stretched banner. */
  .home-brand-strip--figma__inner { gap: 16px; }
  .home-brand-strip--figma__logos {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) !important;
    align-items: start !important;
    height: auto !important;
    margin-top: 0 !important;
    gap: 14px !important;
    overflow: visible !important;
  }
  .home-brand-strip--figma__carousel {
    width: 100%;
    height: auto !important;
    min-width: 0;
    overflow: hidden;
  }
  .home-brand-strip--figma__carousel .swiper-slide { height: auto !important; }
  .home-brand-strip--figma__page {
    display: grid !important;
    grid-template-columns: repeat(4,minmax(0,1fr));
    align-items: center !important;
    justify-content: start !important;
    width: 100%;
    height: auto !important;
    gap: 12px !important;
  }
  .home-brand-strip--figma__item {
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 54px;
    padding: 7px;
    border: 1px solid #e4ebf3;
    border-radius: 8px;
    background: #fff;
  }
  .home-brand-strip--figma__logo {
    width: 100% !important;
    max-width: 100% !important;
    height: 40px !important;
    min-width: 0 !important;
    overflow: hidden;
  }
  .home-brand-strip--figma__logo img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 40px !important;
    object-fit: contain !important;
    object-position: center !important;
  }
  .home-brand-strip--figma__divider { display: none !important; }
  .home-brand-strip--figma__view-all {
    justify-self: start;
    width: auto;
    padding: 2px 0;
    font-size: 14px;
    line-height: 22px;
  }
  .home-partners-modal__item img,
  .tbl-about-page__partner img {
    max-width: 100% !important;
    max-height: 44px !important;
    object-fit: contain !important;
  }
}

@media (max-width: 600px) {
  .home-brand-strip--figma { margin: 30px 0 28px !important; }
  .home-brand-strip--figma__inner {
    width: calc(100% - 32px) !important;
    gap: 13px !important;
  }
  .home-brand-strip--figma__eyebrow { font-size: 13px !important; }
  .home-brand-strip--figma__page {
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 10px !important;
  }
  .home-brand-strip--figma__item { min-height: 50px; padding: 6px; }
  .home-brand-strip--figma__logo { height: 36px !important; }
  .home-brand-strip--figma__logo img { max-height: 36px !important; }
  .home-partners-modal__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .home-partners-modal__item { min-height: 72px; padding: 10px; }
  .home-partners-modal__item img { max-height: 36px !important; }
  .tbl-about-page__partner { min-height: 72px; padding: 10px; }
  .tbl-about-page__partner img { max-height: 36px !important; }
}

@media (max-width: 360px) {
  .home-brand-strip--figma__page { gap: 7px !important; }
  body .above-nav .figma-header-utility__inner { gap: 3px !important; }
  body .above-nav .figma-header-mobile-brand,
  body .above-nav .figma-header-mobile-brand img,
  body .above-nav .figma-header-logo-image { max-width: 88px !important; width: 88px !important; }
  body .above-nav .figma-header-search,
  body .above-nav .figma-header-search-toggle,
  body .above-nav .header-menu-mobile-btn { width: 40px !important; min-width: 40px !important; flex-basis: 40px !important; }
  body .above-nav .figma-header-tools .figma-header-language { min-width: 48px !important; margin-left: 0 !important; }
  body .above-nav .figma-header-language summary { padding: 0 4px !important; }
}

/* ===============================================================
   TBL HEADER — content-driven brand / controls (14-10-2026)
   Retain Figma image dimensions, but don't freeze the entire
   logo + slogan group or the translated contact button in pixels.
   This block comes last to supersede the old fixed-width rules.
   =============================================================== */
@media (min-width: 1026px) {
  body .above-nav .figma-header-utility__inner {
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: clamp(16px, 2vw, 32px) !important;
    min-width: 0;
  }
  body .above-nav .figma-header-brand {
    width: auto !important;
    min-width: 0 !important;
    max-width: min(46%, 560px);
    height: 98px;
    flex: 0 1 auto !important;
    gap: clamp(12px, 1.3vw, 20px) !important;
  }
  /* Fix only the image dimensions; the surrounding frame is intrinsic. */
  body .above-nav .figma-header-mobile-brand {
    flex: 0 0 129px !important;
    width: 129px !important;
    min-width: 129px !important;
    max-width: 129px !important;
  }
  body .above-nav .figma-header-mobile-brand picture,
  body .above-nav .figma-header-mobile-brand img,
  body .above-nav .figma-header-logo-image {
    width: 129px !important;
    height: 74px !important;
    max-width: 129px !important;
    max-height: 74px !important;
    object-fit: contain !important;
  }
  body .above-nav .figma-header-brand-divider {
    flex: 0 0 1px;
  }
  body .above-nav .figma-header-tagline {
    flex: 0 1 auto;
    width: auto !important;
    max-width: min(25vw, 340px) !important;
    min-width: 0;
    margin: 0 !important;
    white-space: normal;
    overflow-wrap: break-word;
    text-wrap: pretty;
    line-height: 1.4 !important;
  }
  body .above-nav .figma-header-right {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    flex: 1 1 auto !important;
    margin-left: auto !important;
  }
  body .above-nav .figma-header-tools {
    width: max-content !important;
    min-width: 0 !important;
    max-width: 100%;
    flex: 0 0 auto !important;
    justify-content: flex-end !important;
    gap: clamp(14px, 1.5vw, 26px) !important;
  }
  body .above-nav .figma-header-language {
    width: auto !important;
    flex: 0 0 auto !important;
    white-space: nowrap;
  }
  body .above-nav .figma-header-contact {
    width: auto !important;
    min-width: 0 !important;
    flex: 0 0 auto !important;
    height: 48px;
    min-height: 48px;
    padding: 0 clamp(14px, 1.4vw, 22px) !important;
    justify-content: center !important;
    gap: clamp(12px, 1.4vw, 22px) !important;
    box-sizing: border-box;
    white-space: nowrap;
  }
  body .above-nav .figma-header-contact span {
    display: inline-block;
    width: auto !important;
    overflow: visible !important;
    white-space: nowrap !important;
  }
}

/* The slogan remains visible on laptop/desktop. Constrain the brand
   before the navigation start instead of hiding the text on narrower PCs. */
@media (min-width: 1026px) and (max-width: 1430px) {
  body .above-nav .figma-header-brand {
    max-width: 425px !important;
    flex: 0 1 auto !important;
  }
  body .above-nav .figma-header-brand-divider { display: block !important; }
  body .above-nav .figma-header-tagline {
    display: block !important;
    width: auto !important;
    max-width: 255px !important;
    font-size: 12px !important;
    line-height: 16px !important;
  }
  body .above-nav .figma-header-tools {
    gap: clamp(10px, 1.4vw, 19px) !important;
  }
  body .figma-navigation .figma-navigation-main,
  body .figma-navigation .figma-desktop-menu {
    max-width: calc(100% - 154px) !important;
  }
}

/* On phones the off-canvas button and EN/VI dropdown should never
   compress the logo image or push the search icon out of view. */
@media (max-width: 1025px) {
  body .above-nav .figma-header-brand {
    width: auto !important;
    flex: 0 1 auto !important;
    min-width: 0 !important;
    overflow: visible;
  }
  body .above-nav .figma-header-right {
    flex: 0 0 auto !important;
    margin-left: auto !important;
  }
  body .above-nav .figma-header-tools {
    flex: 0 0 auto !important;
    gap: 8px !important;
  }
  body .above-nav .figma-header-language summary {
    display: inline-flex !important;
    white-space: nowrap;
  }
  body .above-nav .figma-header-search:not(.is-open) > input.search-auto {
    display: none !important;
  }
}
@media (max-width: 420px) {
  body .above-nav .figma-header-tools { gap: 4px !important; }
  body .above-nav .figma-header-utility__inner { gap: 5px !important; }
}

/* =============================================================
   TBL DESKTOP HEADER: fix persistent search/language overlays.
   These are stateful controls, not permanently displayed fields.
   Keep the search box in the header row on wide desktops.
   ============================================================= */
body .above-nav .figma-header-search > input.search-auto[hidden],
body .above-nav .figma-header-language > .figma-header-language-menu[hidden] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
body .above-nav .figma-header-search:not(.is-open) > input.search-auto,
body .above-nav .figma-header-language:not([open]) > .figma-header-language-menu,
body .above-nav .figma-header-search:not(.is-open) > .show-search {
  display: none !important;
}
body .above-nav .figma-header-search.is-open > input.search-auto {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  z-index: 10100 !important;
}
body .above-nav .figma-header-language[open] > .figma-header-language-menu {
  display: grid !important;
  visibility: visible !important;
  z-index: 10110 !important;
}

/* ==============================================================
   TBL HEADER UX — 2026-10-14
   Purpose: remove the artificial gap between a trigger and its
   popover; give the navigation its own compact row (no overlays).
   Desktop only. Preserve the working mobile header and data.
   ============================================================== */
@media (min-width: 1026px) {
  body .above-nav {
    position: relative !important;
    z-index: 10030 !important; /* Popovers display above the following nav row. */
    overflow: visible !important;
  }
  body .above-nav .figma-topbar {
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }
  body .above-nav .figma-topbar::after { bottom: 0 !important; }
  body .above-nav .figma-topbar-inner {
    height: 44px !important;
    min-height: 44px !important;
    align-items: center !important;
  }
  body .above-nav .figma-header-utility,
  body .above-nav .figma-header-utility__inner {
    height: 82px !important;
    min-height: 82px !important;
  }
  body .above-nav .figma-header-utility { overflow: visible !important; }
  body .above-nav .figma-header-utility__inner {
    align-items: center !important;
    gap: 18px !important;
  }
  body .above-nav .figma-header-brand {
    height: 82px !important;
    gap: clamp(12px, 1.1vw, 18px) !important;
  }
  body .above-nav .figma-header-brand-divider {
    height: 56px !important;
  }
  body .above-nav .figma-header-right {
    height: 82px !important;
    align-items: center !important;
    overflow: visible !important;
  }
  body .above-nav .figma-header-tools {
    height: 44px !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: clamp(10px, 1.3vw, 18px) !important;
    overflow: visible !important;
  }
  body .above-nav .figma-header-search {
    position: relative !important;
    width: 36px !important;
    height: 36px !important;
    flex: 0 0 36px !important;
  }
  body .above-nav .figma-header-search-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: transparent !important;
    cursor: pointer;
  }
  body .above-nav .figma-header-search-toggle:hover,
  body .above-nav .figma-header-search.is-open .figma-header-search-toggle,
  body .above-nav .figma-header-language[open] summary,
  body .above-nav .figma-header-language summary:hover {
    background: #eaf1fb !important;
  }
  body .above-nav .figma-header-language {
    position: relative !important;
    width: auto !important;
    min-width: 0 !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
  }
  body .above-nav .figma-header-language summary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 36px !important;
    min-height: 36px !important;
    padding: 0 8px !important;
    gap: 6px !important;
    border-radius: 8px !important;
    white-space: nowrap;
    cursor: pointer;
  }
  body .above-nav .figma-header-contact {
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 clamp(14px, 1.4vw, 20px) !important;
    gap: 12px !important;
  }
  /* Popovers are positioned relative to the clicked control, not
     to the 82px header or the hero banner. Gap is consistently 7px. */
  body .above-nav .figma-header-search.is-open > input.search-auto {
    position: absolute !important;
    top: 50% !important;
    right: calc(100% + 8px) !important;
    left: auto !important;
    transform: translateY(-50%) !important;
    width: min(272px, 20vw) !important;
    height: 44px !important;
    padding: 0 13px !important;
    background: #fff !important;
    border: 1px solid #d8e2ef !important;
    border-radius: 9px !important;
    box-shadow: 0 10px 28px rgba(13, 45, 98, .16) !important;
    box-sizing: border-box !important;
    transition: none !important;
    z-index: 10120 !important;
  }
  body .above-nav .figma-header-search .show-search {
    position: absolute !important;
    top: calc(100% + 10px) !important;
    right: calc(100% + 8px) !important;
    left: auto !important;
    width: min(272px, 20vw) !important;
    z-index: 10121 !important;
  }
  body .above-nav .figma-header-language[open] > .figma-header-language-menu {
    position: absolute !important;
    top: calc(100% + 7px) !important;
    right: 0 !important;
    left: auto !important;
    min-width: 150px !important;
    padding: 5px !important;
    border: 1px solid #d8e2ef !important;
    border-radius: 9px !important;
    background: #fff !important;
    box-shadow: 0 10px 28px rgba(13, 45, 98, .16) !important;
    z-index: 10130 !important;
  }
  body .above-nav .figma-header-language-menu a {
    display: block !important;
    padding: 9px 11px !important;
    border-radius: 6px;
    line-height: 20px;
  }
  /* The old navigation used height:0 and top:-32px; that layering
     made popovers look detached and caused overlap with controls. */
  body .figma-navigation,
  body .figma-navigation.is-fixed,
  body .figma-navigation.was-scrolled,
  body .figma-navigation.figma-navigation--overlay,
  body .figma-navigation.figma-navigation--solid {
    position: relative !important;
    top: auto !important;
    height: 38px !important;
    min-height: 38px !important;
    margin: 0 !important;
    overflow: visible !important;
    z-index: 10020 !important;
    background: linear-gradient(90deg,#f0f6ff 0%,#fff 48%,#f0f6ff 100%) !important;
  }
  body .figma-navigation > .figma-navigation-wrap {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    height: 38px !important;
    pointer-events: auto !important;
  }
  body .figma-navigation .figma-navigation-main,
  body .figma-navigation .figma-desktop-menu,
  body .figma-navigation .figma-nav-group {
    width: 100% !important;
    max-width: 100% !important;
    height: 38px !important;
    min-height: 38px !important;
    align-items: center !important;
  }
  body .figma-navigation .figma-nav-group {
    gap: clamp(13px, 1.65vw, 26px) !important;
    justify-content: flex-end !important;
  }
  body .figma-navigation .figma-nav-item,
  body .figma-navigation .figma-nav-item > a { height: 38px !important; }
  body .figma-navigation .figma-nav-item > a {
    display: flex !important;
    align-items: center !important;
    padding: 0 !important;
    font-size: clamp(14px, 1.03vw, 17px) !important;
  }
  body .figma-navigation .figma-nav-item:first-child > a {
    font-size: clamp(14px, 1.03vw, 17px) !important;
  }
  body .figma-navigation .figma-submenu { top: 38px !important; }
}

@media (min-width: 1026px) and (max-width: 1199px) {
  body .above-nav .figma-header-search.is-open > input.search-auto,
  body .above-nav .figma-header-search .show-search { width: 190px !important; }
}


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

@media (min-width: 1026px) and (max-width: 1199px) {
  body .above-nav .figma-topbar.dap-topbar .dap-topbar__inner {
    grid-template-columns: 225px minmax(260px, 1fr) 190px !important;
    gap: 20px !important;
  }
  body .above-nav .dap-topbar__hotline,
  body .above-nav .dap-topbar__hotline span { font-size: 16px !important; }
  body .above-nav .dap-topbar__socials { width: 190px !important; }
}

/* Mobile/tablet: keep the existing mobile search + language controls;
   a compact hotline stripe replaces the oversized desktop Topbar. */
@media (max-width: 1025px) {
  body .above-nav .figma-topbar.dap-topbar {
    display: block !important;
    width: 100% !important;
    height: 32px !important;
    min-height: 32px !important;
    padding: 0 !important;
    background: #84be40 !important;
    border: 0 !important;
  }
  body .above-nav .dap-topbar .dap-topbar__inner {
    display: flex !important;
    height: 32px !important;
    min-height: 32px !important;
    align-items: center !important;
    justify-content: center !important;
    width: calc(100% - 24px) !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }
  body .above-nav .dap-topbar__contacts { display: flex !important; align-items: center !important; }
  body .above-nav .dap-topbar__hotline,
  body .above-nav .dap-topbar__hotline span {
    display: inline-flex !important;
    align-items: center !important;
    font: 600 12px/20px "FZ Poppins", sans-serif !important;
    color: #fff !important;
    white-space: nowrap !important;
    text-decoration: none !important;
  }
  body .above-nav .dap-topbar__hotline { gap: 7px !important; height: 25px !important; }
  body .above-nav .dap-topbar__hotline i { color: #fff !important; font-size: 13px !important; }
  body .above-nav .dap-topbar__search,
  body .above-nav .dap-topbar__socials { display: none !important; }
}


/* DAP SOLAR — Menu responsive (không chứa CSS desktop). */
@media (max-width: 1025px) {
  html body .figma-navigation.dap-main-navigation .header-left-fixwidth .nav-menu .sub-menu.level1 {
    padding-left: 15px;
    background: #f5f9f0;
  }
  html body .figma-navigation.dap-main-navigation .header-left-fixwidth .nav-menu .sub-menu.level1 a {
    white-space: normal;
  }
}


/* DAP SOLAR | HERO V2 — responsive ONLY; desktop remains in style.css. */
@media (max-width:1025px) {
 html body .dap-solar-hero-v2 {height:clamp(500px,68vw,650px);min-height:0;margin:0;}
 html body .dap-solar-hero-v2 .dap-solar-hero-v2__inner {left:5%;width:90%;}
 html body .dap-solar-hero-v2 .dap-solar-hero-v2__copy {width:min(640px,80%);gap:24px;}
 html body .dap-solar-hero-v2 .dap-solar-hero-v2__title {font-size:clamp(29px,4.4vw,44px);line-height:1.3;}
 html body .dap-solar-hero-v2 .dap-solar-hero-v2__desc {font-size:16px;line-height:1.55;}
 html body .dap-solar-hero-v2 .dap-solar-hero-v2__heading {gap:10px;}
 html body .dap-solar-hero-v2 .dap-solar-hero-v2__tag {font-size:13px;line-height:20px;min-height:34px;padding:6px 12px;}
 html body .dap-solar-hero-v2 .dap-solar-hero-v2__actions {gap:20px;}
 html body .dap-solar-hero-v2 .dap-solar-hero-v2__cta {min-height:50px;min-width:0;padding:12px 16px;font-size:16px;line-height:25px;}
 html body .dap-solar-hero-v2 .dap-solar-hero-v2__video {gap:12px;font-size:15px;}
 html body .dap-solar-hero-v2 .dap-solar-hero-v2__play {height:50px;width:50px;flex-basis:50px;}
}
@media (max-width:767px) {
 html body .dap-solar-hero-v2 {height:clamp(480px,137vw,690px);}
 html body .dap-solar-hero-v2 .dap-solar-hero-v2__image--desktop {display:none;}
 html body .dap-solar-hero-v2 .dap-solar-hero-v2__image--mobile {display:block;}
 /* If no dedicated mobile picture exists, keep the desktop picture visible. */
 html body .dap-solar-hero-v2 .dap-solar-hero-v2__image:not(.dap-solar-hero-v2__image--desktop):not(.dap-solar-hero-v2__image--mobile) {display:block;}
 html body .dap-solar-hero-v2 .dap-solar-hero-v2__image img {object-position:61% center;}
 html body .dap-solar-hero-v2 .dap-solar-hero-v2__slide::before {background:linear-gradient(90deg,#073556 0%,rgba(7,53,86,.85) 63%,rgba(7,53,86,.34) 100%);}
 html body .dap-solar-hero-v2 .dap-solar-hero-v2__inner {top:50%;left:16px;width:calc(100% - 32px);transform:translateY(-50%);}
 html body .dap-solar-hero-v2 .dap-solar-hero-v2__copy {width:100%;gap:25px;}
 html body .dap-solar-hero-v2 .dap-solar-hero-v2__text {gap:9px;}
 html body .dap-solar-hero-v2 .dap-solar-hero-v2__heading {gap:9px;}
 html body .dap-solar-hero-v2 .dap-solar-hero-v2__tag {font-size:11px;line-height:18px;}
 html body .dap-solar-hero-v2 .dap-solar-hero-v2__title {font-size:clamp(25px,7vw,35px);line-height:1.25;}
 html body .dap-solar-hero-v2 .dap-solar-hero-v2__desc {font-size:14px;line-height:1.5;}
 html body .dap-solar-hero-v2 .dap-solar-hero-v2__actions {gap:14px;}
 html body .dap-solar-hero-v2 .dap-solar-hero-v2__cta {font-size:14px;min-height:46px;padding:9px 14px;}
 html body .dap-solar-hero-v2 .dap-solar-hero-v2__video {font-size:13px;}
 html body .dap-solar-hero-v2 .dap-solar-hero-v2__play {width:46px;height:46px;flex-basis:46px;}
}
@media (max-width:360px) {
 html body .dap-solar-hero-v2 .dap-solar-hero-v2__copy {gap:16px;}
 html body .dap-solar-hero-v2 .dap-solar-hero-v2__title {font-size:24px;}
 html body .dap-solar-hero-v2 .dap-solar-hero-v2__actions {gap:10px;}
 html body .dap-solar-hero-v2 .dap-solar-hero-v2__desc {font-size:13px;}
}


/* DAP SOLAR | Giới thiệu chung – responsive của Figma Frame 2071857887 */
@media (max-width:1500px) {
 html body .dap-home-about {padding:66px 30px 82px;}
 html body .dap-home-about__container {gap:4.6%;}
 html body .dap-home-about__details {gap:20px;}
 html body .dap-home-about__feature {gap:13px;padding:0;}
 html body .dap-home-about__feature-icon {width:clamp(64px,5.8vw,87px);height:clamp(64px,5.8vw,87px);flex-basis:clamp(64px,5.8vw,87px);}
 html body .dap-home-about__feature h3 {font-size:clamp(15px,1.46vw,22px);line-height:1.35;}
 html body .dap-home-about__feature p {font-size:clamp(13px,1.13vw,17px);line-height:1.45;}
 html body .dap-home-about__intro h2 {font-size:clamp(26px,2.4vw,36px);line-height:1.4;}
 html body .dap-home-about__description {font-size:clamp(15px,1.2vw,18px);line-height:1.5;}
 html body .dap-home-about__experience strong {font-size:clamp(36px,3.45vw,52px);}
 html body .dap-home-about__experience span {font-size:clamp(16px,1.6vw,24px);}
 html body .dap-home-about__actions {gap:20px;padding-top:20px;min-height:0;}
 html body .dap-home-about__read-more {min-height:52px;min-width:0;font-size:17px;padding:11px 17px;}
 html body .dap-home-about__play {width:52px;height:52px;flex-basis:52px;}
 html body .dap-home-about__video {font-size:15px;}
}
@media (max-width:1250px) {
 /* Không ép hai cột khi tổng chiều rộng không đủ chứa ảnh và chữ. */
 html body .dap-home-about__container {grid-template-columns:minmax(0,1fr);gap:40px;max-width:780px;}
 /* Giữ toàn bộ collage trong cùng một canvas; các ảnh absolute không được tràn sang section kế tiếp. */
 html body .dap-home-about__visual {width:min(710px,100%);min-width:0;max-width:none;height:auto;min-height:0;max-height:none;aspect-ratio:710 / 836;margin-inline:auto;}
 html body .dap-home-about__stamp-fallback {width:89%;height:89%;border-width:clamp(10px,2vw,20px);}
 html body .dap-home-about__content {height:auto;min-width:0;gap:26px;}
 html body .dap-home-about__details {aspect-ratio:auto;min-height:350px;}
 html body .dap-home-about__feature-icon {width:76px;height:76px;flex-basis:76px;}
 html body .dap-home-about__intro h2 {font-size:clamp(26px,3vw,36px);}
 html body .dap-home-about__description {font-size:16px;}
 html body .dap-home-about__actions {padding-top:22px;}
}
@media (max-width:767px) {
 html body .dap-home-about {padding:45px 16px 60px;}
 html body .dap-home-about__container {display:flex;flex-direction:column;gap:30px;}
 html body .dap-home-about__visual {width:100%;height:auto;aspect-ratio:710 / 836;}
 html body .dap-home-about__house {left:0;top:0;width:58%;height:62%;}
 html body .dap-home-about__engineer {left:auto;right:0;top:32%;height:68%;width:55%;border:0;border-radius:20px;box-sizing:border-box;}
 html body .dap-home-about__engineer img{clip-path:none;-webkit-clip-path:none;}
 html body .dap-home-about__experience {left:0;bottom:0;top:auto;height:36%;width:44%;}
 html body .dap-home-about__stamp {left:57%;top:8%;width:28%;height:auto;}
 html body .dap-home-about__stamp-fallback {width:90%;height:90%;border-width:clamp(8px,2vw,15px);font-size:26px;}
 html body .dap-home-about__experience strong {font-size:clamp(29px,8vw,44px);}
 html body .dap-home-about__experience span {font-size:clamp(12px,3.5vw,18px);}
 html body .dap-home-about__content {width:100%;height:auto;gap:24px;}
 html body .dap-home-about__intro {gap:12px;}
 html body .dap-home-about__eyebrow {min-height:35px;font-size:14px;line-height:20px;}
 html body .dap-home-about__intro h2 {font-size:clamp(24px,6.3vw,32px);line-height:1.35;}
 html body .dap-home-about__description {font-size:15px;line-height:1.55;}
 html body .dap-home-about__details {display:flex;flex-direction:column;gap:20px;min-height:0;aspect-ratio:auto;}
 html body .dap-home-about__features {height:auto;}
 html body .dap-home-about__features-track {height:auto;grid-template-rows:none;}
 html body .dap-home-about__feature {height:auto;gap:13px;min-height:76px;padding:10px 0;border-bottom:1px solid #e9e9e9;}
 html body .dap-home-about__feature::after {display:none;}
 html body .dap-home-about__feature-icon {width:62px;height:62px;flex-basis:62px;font-size:25px;}
 html body .dap-home-about__feature-icon img {width:30px;height:30px;}
 html body .dap-home-about__feature h3 {font-size:16px;line-height:1.35;}
 html body .dap-home-about__feature p {font-size:13px;line-height:1.45;}
 html body .dap-home-about__side-image {display:block;width:100%;height:auto;aspect-ratio:268 / 200;}
 html body .dap-home-about__actions {gap:16px;flex-wrap:wrap;}
 html body .dap-home-about__video {font-size:13px;}
}
@media (max-width:400px) {
 html body .dap-home-about__engineer {border-width:0;}
 html body .dap-home-about__engineer img{clip-path:none;-webkit-clip-path:none;}
 html body .dap-home-about__experience span {font-size:12px;}
}

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


/* DAP SOLAR – Giải Pháp Tiết Kiệm: chỉ responsive */
@media (max-width: 1199.98px) {
    .dap-saving__grid { grid-template-columns: repeat(2, minmax(0, 326px)); justify-content: center; gap: 24px; }
    .dap-saving__title { font-size: 30px; line-height: 1.4; }
}
@media (max-width: 767.98px) {
    .dap-saving { padding: 0 15px; }
    .dap-saving__title { font-size: 26px; line-height: 1.3; margin-bottom: 20px; }
    .dap-saving__grid { grid-template-columns: minmax(0, 326px); gap: 18px; }
    .dap-saving__card { min-height: 387px; height: auto; }
}
@media (prefers-reduced-motion: reduce) {
    .dap-saving__card, .dap-saving__image, .dap-saving__arrow { transition: none; }
}


/* === DAP SOLAR / Figma Group 30 / Dịch vụ responsive === */
@media(max-width:1600px){.dap-services__prev{left:-57px}.dap-services__next{right:-57px}}
@media(max-width:1500px){.dap-services__nav{width:40px;height:40px;background:rgba(255,255,255,.85);border-radius:50%}.dap-services__prev{left:0}.dap-services__next{right:0}.dap-services__slider-shell.is-carousel{padding:0 42px}.dap-services__card{padding:24px;min-height:540px}.dap-services__body h3{font-size:25px;line-height:1.4}.dap-services__image{height:auto;aspect-ratio:410/277;flex-basis:auto}}
@media(max-width:1100px){.dap-services{padding:75px 22px}.dap-services__header{grid-template-columns:1fr 1fr;gap:35px}.dap-services__heading h2{font-size:30px;line-height:1.4}.dap-services__intro p{font-size:16px;line-height:25px}.dap-services__grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dap-services__card{min-height:500px}}
@media(max-width:767px){.dap-services{padding:55px 16px;background-position:center}.dap-services__header{display:flex;flex-direction:column;align-items:stretch;gap:20px;min-height:auto;margin-bottom:28px}.dap-services__heading{gap:12px}.dap-services__badge{font-size:14px;line-height:20px;padding:7px 12px}.dap-services__heading h2{font-size:26px;line-height:1.35}.dap-services__intro{gap:15px}.dap-services__all{min-height:47px;font-size:15px;padding:11px 17px}.dap-services__grid{grid-template-columns:1fr;gap:16px}.dap-services__slider-shell.is-carousel{padding:0 27px}.dap-services__prev{left:-8px}.dap-services__next{right:-8px}.dap-services__nav{width:32px;height:38px;font-size:18px}.dap-services__card{padding:18px;min-height:0;border-radius:16px}.dap-services__image{height:auto;aspect-ratio:410/277;flex-basis:auto}.dap-services__icon{width:52px;height:52px;top:13px;left:13px;font-size:23px}.dap-services__body h3{font-size:22px;line-height:1.4;margin-bottom:9px}.dap-services__body p{font-size:15px;line-height:23px;max-height:46px}.dap-services__read-more{font-size:15px}.dap-services__read-more span{width:34px;height:34px;font-size:18px}.dap-services__footer{margin-top:25px;flex-direction:column;gap:8px;font-size:14px;line-height:22px}.dap-services__footer span{text-align:left;white-space:normal}}

/* DAP Solar / Figma 2071857913 / Tại sao chọn chúng tôi responsive */
@media(max-width:1200px){.dap-why{margin-top:80px;margin-bottom:40px}.dap-why__inner{gap:35px}.dap-why__main{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:25px}.dap-why__left{min-height:0}.dap-why__intro h1,.dap-why__intro h2{font-size:30px;line-height:1.4}.dap-why__intro p,.dap-why__highlight p{font-size:16px;line-height:25px}.dap-why__highlight{padding:25px;min-height:145px}.dap-why__highlight h3{font-size:22px;line-height:32px}.dap-why__stats{min-height:155px}.dap-why__stat strong{font-size:38px}.dap-why__image--main{height:auto;aspect-ratio:710/384}.dap-why__image--panels,.dap-why__support{height:auto;min-height:300px;aspect-ratio:345/389}.dap-why__sun{height:140px;font-size:110px}.dap-why__sun img{width:120px}}
@media(max-width:850px){.dap-why{margin-top:64px;margin-bottom:32px;padding:0 18px}.dap-why__main{grid-template-columns:1fr;gap:30px}.dap-why__left{gap:25px}.dap-why__right{max-width:710px;margin:0 auto}.dap-why__image--panels,.dap-why__support{aspect-ratio:345/389;min-height:0}}
@media(max-width:575px){.dap-why{margin-top:44px;margin-bottom:24px;padding:0 16px}.dap-why__inner{gap:26px}.dap-why__intro{gap:12px}.dap-why__intro h1,.dap-why__intro h2{font-size:25px;line-height:1.35}.dap-why__eyebrow{font-size:14px;line-height:21px;padding:6px 12px}.dap-why__intro p{font-size:15px;line-height:23px}.dap-why__highlight{gap:14px;padding:18px;border-left-width:5px;border-radius:15px}.dap-why__highlight-icon{width:58px;height:58px;flex-basis:58px;font-size:25px}.dap-why__highlight-icon img{width:32px;height:32px}.dap-why__highlight h3{font-size:18px;line-height:26px}.dap-why__highlight p{font-size:14px;line-height:21px}.dap-why__stats{min-height:110px;padding:12px 0}.dap-why__stat{padding:0 5px}.dap-why__stat strong{font-size:25px}.dap-why__stat span{font-size:12px;line-height:18px}.dap-why__cta{font-size:16px;padding:11px 16px;min-height:46px}.dap-why__right{gap:12px}.dap-why__bottom-images{gap:12px}.dap-why__image,.dap-why__support{border-radius:12px}.dap-why__support{padding:12px}.dap-why__sun{font-size:62px;height:70px}.dap-why__sun img{width:70px;height:70px}.dap-why__support-text h3{font-size:12px;line-height:17px;margin-bottom:5px;padding-bottom:5px}.dap-why__support-text p{font-size:10px;line-height:15px}.dap-why__ticker-set{gap:12px;padding-right:12px}.dap-why__tag{font-size:13px;line-height:20px;padding:7px 12px;min-height:36px}.dap-why__quote{font-size:15px;line-height:22px}}

@media(max-width:767.98px){.dap-smart-banner{width:100%;max-width:100%;aspect-ratio:1920/685}.dap-smart-banner__image{width:100%;max-width:100%;height:100%;object-fit:cover}}


/* DAP SOLAR | DU AN THUC TE RESPONSIVE */
@media(max-width:1199px){
 .dap-projects{padding:60px 0}.dap-projects__header{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;margin-bottom:30px}
 .dap-projects__heading h2{font-size:30px;line-height:1.35}.dap-projects__description{font-size:16px;line-height:24px}
 .dap-projects__stage{height:460px}.dap-projects__slide{width:47%;height:390px;top:25px}.dap-projects__slide.is-active{width:min(70%,720px);height:460px}
 .dap-projects__overlay{padding:17px 22px;min-height:120px}.dap-projects__name h3{font-size:21px;line-height:28px}.dap-projects__metric strong{font-size:19px;line-height:27px}.dap-projects__metric{padding:0 9px}
}
@media(max-width:767px){
 .dap-projects{padding:48px 0}.dap-projects__container{width:calc(100% - 32px)}.dap-projects__header{grid-template-columns:1fr;gap:12px;margin-bottom:26px}
 .dap-projects__heading h2{font-size:26px;line-height:1.35}.dap-projects__eyebrow{font-size:14px;line-height:21px;padding:7px 12px;margin-bottom:12px}.dap-projects__description{text-align:left;font-size:15px;line-height:23px;margin:0}
 .dap-projects__stage{height:480px}.dap-projects__slide{width:100%;height:480px;top:0;left:50%;right:auto;transform:translateX(-50%);opacity:0;visibility:hidden}
 .dap-projects__slide.is-prev,.dap-projects__slide.is-next{opacity:0;visibility:hidden;pointer-events:none}
 .dap-projects__slide.is-active{width:100%;height:480px;top:0;opacity:1;visibility:visible}
 .dap-projects__overlay{left:12px;right:12px;bottom:12px;display:block;padding:16px;min-height:0}
 .dap-projects__name h3{font-size:21px;line-height:29px}.dap-projects__name p{text-align:left;font-size:13px;line-height:19px}
 .dap-projects__metrics{justify-content:space-between;margin-top:10px;padding-top:9px;border-top:1px solid rgba(255,255,255,.55)}
 .dap-projects__metric{padding:0 7px}.dap-projects__metric:first-child{padding-left:0}.dap-projects__metric strong{font-size:16px;line-height:22px}.dap-projects__metric span{font-size:10px;line-height:15px}
}
@media(max-width:399px){.dap-projects__stage,.dap-projects__slide.is-active{height:430px}.dap-projects__heading h2{font-size:22px}.dap-projects__metrics{gap:4px}.dap-projects__metric{padding:0 4px}.dap-projects__metric strong{font-size:14px}}


/* DAP SOLAR | FAQ Figma 2071857919 | Responsive */
@media (max-width:1199px){
  .dap-home-faq{padding:72px 24px}
  .dap-home-faq__inner{gap:36px;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr)}
  .dap-home-faq__heading h2{font-size:30px;line-height:1.35}
  .dap-home-faq__item summary{font-size:19px;line-height:1.45;min-height:64px}
  .dap-home-faq__description,.dap-home-faq__answer{font-size:16px;line-height:1.6}
}
@media (max-width:767px){
  .dap-home-faq{padding:48px 16px 60px}
  .dap-home-faq__inner{display:flex;flex-direction:column;gap:30px}
  .dap-home-faq__intro{width:100%;gap:20px}
  .dap-home-faq__heading{gap:13px}
  .dap-home-faq__eyebrow{font-size:14px;line-height:22px;min-height:36px;padding:6px 14px}
  .dap-home-faq__heading h2{font-size:26px;line-height:1.35}
  .dap-home-faq__description{font-size:15px;line-height:1.6}
  .dap-home-faq__contact h3{font-size:20px;line-height:1.4}
  .dap-home-faq__contact p{margin-bottom:15px;font-size:15px;line-height:1.6}
  .dap-home-faq__button{min-height:50px;padding:12px 17px;font-size:16px;line-height:24px}
  .dap-home-faq__list{width:100%}
  .dap-home-faq__item summary{min-height:62px;font-size:16px;line-height:1.45;gap:13px;padding:12px 0}
  .dap-home-faq__icon{width:34px;height:34px;flex-basis:34px;font-size:14px}
  .dap-home-faq__answer{padding:0 12px 15px 0;font-size:15px;line-height:1.6}
}

/* DAP SOLAR | Đăng ký tư vấn – responsive Figma 2071857932 */
@media (max-width:1199px){
 .dap-consult{min-height:0;padding:44px 28px 50px}
 .dap-consult__columns{gap:40px}
 .dap-consult__form{gap:32px}
}
@media (max-width:767px){
 .dap-consult{padding:34px 16px 40px;background-position:center}
 .dap-consult__inner h2{font-size:27px;line-height:36px;margin-bottom:26px}
 .dap-consult__columns{grid-template-columns:1fr;gap:24px}
 .dap-consult__column{gap:14px}
 .dap-consult__column legend{font-size:18px;line-height:27px}
 .dap-consult__field input,.dap-consult__field select{height:52px;min-height:52px}
 .dap-consult__pair{grid-template-columns:1fr;gap:14px}
 .dap-consult__actions button{min-height:54px;font-size:17px;line-height:24px}
}

/* DAP Solar – Figma Frame 2071857921 | Tin tức/kiến thức responsive */
@media (max-width: 1199px) {
    .dap-home-news { padding: 70px 0 76px; }
    .dap-home-news__head { gap: 32px; margin-bottom: 40px; }
    .dap-home-news__head h2 { font-size: 30px; line-height: 1.4; }
    .dap-home-news__description { font-size: 16px; line-height: 25px; }
    .dap-home-news__card { height: 520px; padding: 22px; }
    .dap-home-news__card h3 { font-size: 20px; line-height: 30px; min-height: 60px; }
}
@media (max-width: 767px) {
    .dap-home-news { padding: 46px 0 50px; }
    .dap-home-news__inner { width: calc(100% - 32px); }
    .dap-home-news__head { min-height: 0; flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 28px; }
    .dap-home-news__head-left { width: 100%; flex: none; gap: 12px; }
    .dap-home-news__eyebrow { min-height: 36px; padding: 6px 14px; font-size: 14px; line-height: 24px; }
    .dap-home-news__head h2 { font-size: 25px; line-height: 1.4; }
    .dap-home-news__description { flex: none; max-width: 100%; font-size: 15px; line-height: 24px; text-align: left; }
    .dap-home-news__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .dap-home-news__card { height: 430px; padding: 16px; border-radius: 14px; }
    .dap-home-news__category { min-height: 34px; padding: 6px 12px; font-size: 13px; line-height: 22px; }
    .dap-home-news__card-content { gap: 12px; }
    .dap-home-news__card h3 { font-size: 17px; line-height: 25px; min-height: 50px; }
    .dap-home-news__more { font-size: 14px; line-height: 28px; }
    .dap-home-news__more-icon { width: 28px; height: 28px; flex-basis: 28px; }
}
@media (max-width: 520px) {
    .dap-home-news__grid { grid-template-columns: 1fr; gap: 16px; }
    .dap-home-news__card { height: min(520px, 125vw); min-height: 385px; padding: 20px; }
    .dap-home-news__card h3 { font-size: 20px; line-height: 30px; min-height: 60px; }
}

/* Footer - responsive (desktop tại style.css, chỉ chỉnh tablet/mobile ở đây). */
@media (max-width:1500px){
 .dap-footer{padding:55px 0 30px}
 .dap-footer__columns{grid-template-columns:minmax(260px, .36fr) minmax(0,1fr);gap:32px}
 .dap-footer__panel{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.2fr);gap:24px;padding:36px 30px;min-height:0}
 .dap-footer__contact{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
 .dap-footer__contact-item{gap:10px}
 .dap-footer__contact-icon{height:44px;width:44px;flex-basis:44px}
}
@media (max-width:1100px){
 .dap-footer{min-height:0;padding:42px 0 26px}
 .dap-footer__inner{width:min(100% - 40px,850px);min-height:0;gap:36px}
 .dap-footer__columns{grid-template-columns:1fr;gap:34px}
 .dap-footer__brand{gap:14px}
 .dap-footer__logo,.dap-footer__logo img{width:150px;height:150px}
 .dap-footer__description{max-width:560px}
 .dap-footer__panel{padding:30px;grid-template-columns:repeat(3,minmax(0,1fr))}
 .dap-footer__contact{gap:20px}
}
@media (max-width:767px){
 .dap-footer{padding:32px 0 22px;background-position:center center}
 .dap-footer__inner{width:calc(100% - 32px);gap:30px}
 .dap-footer__columns{gap:26px}
 .dap-footer__logo,.dap-footer__logo img{width:120px;height:120px}
 .dap-footer__description{font-size:14px;line-height:22px}
 .dap-footer__connect h2{font-size:16px}
 .dap-footer__right{gap:24px}
 .dap-footer__panel{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 16px;padding:22px 18px;border-radius:16px}
 .dap-footer__map{grid-column:1/-1}
 .dap-footer__panel h2{font-size:15px;line-height:22px}
 .dap-footer__nav a{font-size:14px;line-height:20px}
 .dap-footer__contact{grid-template-columns:1fr;gap:18px}
 .dap-footer__contact-item>div>span{font-size:13px}
 .dap-footer__contact-item strong,.dap-footer__contact-item a{font-size:14px;line-height:21px}
 .dap-footer__copyright{font-size:12px;line-height:20px}
}

/* DAP Solar | One shared 112 × 112 logo specification. */
@media (min-width:1026px){
 body .above-nav .figma-header-mobile-brand,
 body .above-nav .figma-header-mobile-brand picture,
 body .above-nav .figma-header-mobile-brand img,
 body .above-nav .figma-header-logo-image{
  width:112px !important;
  min-width:112px !important;
  max-width:112px !important;
  height:112px !important;
  max-height:112px !important;
  flex-basis:112px !important;
  object-fit:contain !important;
 }
}
.dap-footer__logo,.dap-footer__logo img{
 width:112px !important;
 height:112px !important;
 object-fit:contain !important;
}

/* Bài viết CKEditor khối Tại sao chọn chúng tôi: ưu tiên tỷ lệ chữ ở tablet/mobile. */
@media(max-width:1200px){.dap-why__description,.dap-why__article{font-size:16px;line-height:25px}}
@media(max-width:575px){.dap-why__description,.dap-why__article{font-size:15px;line-height:23px}}
/* DAP Solar subpages | responsive-only overrides */
@media (max-width:1199px){
  .dap-subpage__section{padding:64px 0}
  .dap-subpage__heading{gap:28px;margin-bottom:32px}
  .dap-service-grid,.dap-news-page__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dap-projects-page .tbl-projects-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dap-about-page .tbl-about-page__company{padding-top:65px}
}
@media (max-width:767px){
  .breadCrumbs{padding:11px 0}
  .breadCrumbs .breadcrumb{font-size:13px;row-gap:4px}
  .breadCrumbs .breadcrumb-item+.breadcrumb-item{padding-left:7px}
  .breadCrumbs .breadcrumb-item+.breadcrumb-item:before{padding-right:7px}
  .dap-home-about__features.is-auto-scroll{height:auto!important;overflow:visible!important}
  .dap-home-about__features.is-auto-scroll .dap-home-about__features-track{animation:none!important}
  .dap-home-about__features.is-auto-scroll .dap-home-about__feature{min-height:75px;flex:initial!important}
  .dap-home-about__features.is-auto-scroll .dap-home-about__feature.is-duplicate{display:none}
  .breadCrumbs + .dap-subpage > .dap-subpage__section:first-child,
  .breadCrumbs + .dap-subpage > .dap-projects-articles__section:first-child{padding-top:28px}
  .breadCrumbs + .dap-about-article .dap-about-article__container{padding-top:28px}
  .dap-subpage__wrap,.dap-about-page .tbl-about-page__container,.dap-projects-page .tbl-projects-container{width:calc(100% - 30px)}
  .dap-subpage__section{padding:45px 0}
  .dap-subpage__heading{display:flex;flex-direction:column;align-items:stretch;gap:16px;margin-bottom:28px}
  .dap-subpage__heading h1,.dap-subpage__heading h2{font-size:28px;line-height:1.35}
  .dap-subpage__heading p{max-width:none;justify-self:start;font-size:15px}
  .dap-subpage__tag{font-size:13px;padding:7px 13px}
  .dap-subpage__button{width:max-content;max-width:100%;min-height:48px}
  .dap-service-grid,.dap-news-page__grid{grid-template-columns:1fr;gap:18px}
  .dap-service-card{padding:14px;border-radius:15px}
  .dap-service-card__body{padding:19px 4px 5px}
  .dap-service-card__body h2{font-size:21px}
  .dap-service-card__body p{font-size:15px}
  .dap-news-card__media{aspect-ratio:4/5;border-radius:16px}
  .dap-news-card__label{top:20px;left:20px}
  .dap-news-card__content{left:20px;right:20px;bottom:24px;gap:22px}
  .dap-news-card__content strong{font-size:21px}
  .dap-news-page__filters{gap:8px;margin-bottom:25px}
  .dap-news-page__filters a{min-height:38px;font-size:13px;padding:7px 12px}
  .dap-contact-page__info{grid-template-columns:1fr;padding:24px 18px}
  .dap-contact-page__info>.dap-subpage__tag,.dap-contact-page__info>h2,.dap-contact-page__info>p{grid-column:auto}
  .dap-contact-page__line{padding:17px 0;border-left:0}
  .dap-contact-page__info h2{font-size:27px}
  .dap-contact-page__consult{padding:53px 0}
  .dap-contact-page__consult-head h2{font-size:28px}
  .dap-contact-page__form-grid{grid-template-columns:1fr;gap:15px}
  .dap-contact-page__form .dap-contact-page__wide{grid-column:auto}
  .dap-contact-page__map-section iframe{height:280px}
  .dap-projects-page .tbl-projects-main{padding:45px 0 70px}
  .dap-projects-page .tbl-projects-tools{flex-direction:column;align-items:stretch;gap:15px}
  .dap-projects-page .tbl-projects-categories{gap:7px}
  .dap-projects-page .tbl-projects-tab{font-size:13px;min-height:38px;padding:7px 11px}
  .dap-projects-page .tbl-projects-search{width:100%;min-width:0;max-width:none}
  .dap-projects-page .tbl-projects-grid{grid-template-columns:1fr;gap:18px}
  .dap-projects-page .tbl-projects-card__body{padding:18px}
  .dap-project-detail .tbl-projects-detail__gallery{grid-template-columns:1fr}
  .dap-about-page .tbl-about-page__company{grid-template-columns:1fr;gap:24px;padding:45px 0 25px}
  .dap-about-page .tbl-about-page__stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .dap-about-page .tbl-about-page__mission,.dap-about-page .tbl-about-page__alternating{grid-template-columns:1fr;gap:18px}
  .dap-about-page .tbl-about-page__mission-card{min-height:300px}
  .dap-about-page .tbl-about-page__company h2,.dap-about-page .tbl-about-page__alternating h2{font-size:28px}
}
@media (max-width:420px){
  .dap-about-page .tbl-about-page__stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dap-about-page .tbl-about-page__stat{padding:12px 4px;min-height:120px}
}
@media (max-width:991px){
  .dap-service-detail .inner-service-layout{grid-template-columns:1fr}
  .dap-service-detail .inner-service-sidebar{order:2}
  .dap-service-detail .inner-service-main{order:1}
}
@media (max-width:767px){
  .dap-service-detail .inner-service-heading h1:not(.dap-detail-title){font-size:27px}
  .dap-service-detail__cover img{max-height:320px}
  .dap-news-detail .tbl-news-page__detail-title:not(.dap-detail-title){font-size:28px}
}

@media (min-width: 768px) and (max-width: 991px) {
  .dap-project-detail .tbl-projects-detail__gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .dap-detail-page {
    --dap-detail-gutter: 32px;
    --dap-detail-section-space: 32px;
    --dap-detail-content-space: 20px;
    --dap-detail-related-space: 40px;
  }
  .dap-detail-page .dap-detail-section,
  .dap-detail-page--project,
  .dap-detail-page--service {
    padding-bottom: 56px;
  }
  .dap-detail-page .dap-detail-title {
    font-size: 26px;
    line-height: 1.35;
  }
  .dap-project-detail .dap-detail-title {
    font-size: 23px;
  }
  .dap-project-detail .tbl-projects-detail__gallery {
    grid-template-columns: 1fr;
  }
  .dap-project-detail__gallery-image {
    height: 280px;
  }
  .dap-project-detail__album-title {
    font-size: 20px;
  }
  .dap-detail-page .dap-detail-related {
    padding-top: 24px;
  }
  .dap-detail-page .dap-detail-related__title {
    margin-bottom: 18px;
    font-size: 24px;
  }
  .dap-detail-page .dap-detail-related__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  body:has(.dap-detail-page) .breadCrumbs .wrap-content {
    width: calc(100% - 32px);
  }
}


/* DAP Solar | Responsive trang Giới thiệu dạng bài viết + album */
@media (max-width: 991px) {
    .dap-about-article__container {padding: 52px 0 70px;}
    .dap-about-article__gallery {grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
}
@media (max-width: 767px) {
    .dap-about-article__container {width:calc(100% - 30px);padding:38px 0 58px;}
    .dap-about-article__title {font-size:28px;line-height:1.35;margin-bottom:20px;}
    .dap-about-article__content {font-size:15px;line-height:1.75;}
    .dap-about-article__gallery {grid-template-columns:1fr;gap:14px;margin-top:28px;}
    .dap-about-article__gallery-item {border-radius:14px;}
}

/* DAP Solar | Responsive tiêu đề Giới thiệu và trang danh sách Dịch vụ */
@media (max-width:991px){
 .dap-services-page__heading{margin-bottom:34px;gap:14px}
 .dap-services-page--listing .dap-subpage__section{padding-top:54px;padding-bottom:72px}
}
@media (max-width:767px){
 .dap-services-page__heading{max-width:100%;margin-bottom:28px;gap:12px;text-align:center}
 .dap-services-page__heading h1{font-size:28px;line-height:1.35}
 .dap-services-page__heading p{font-size:15px;line-height:1.65}
 .dap-services-page--listing .dap-subpage__section{padding-top:40px;padding-bottom:60px}
}

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

/* Hệ khoảng cách Breadcrumb → H1 → nội dung cho tablet và mobile. */
@media (max-width:1199px){
  :root{
    --page-title-size:32px;
    --page-title-margin-top:32px;
    --page-title-margin-bottom:32px;
  }
  .dap-services-page--listing .dap-subpage__section,
  .dap-projects-articles__section{padding-top:var(--page-title-margin-top)}
}
@media (max-width:767px){
  :root{
    --page-title-size:26px;
    --page-title-margin-top:24px;
    --page-title-margin-bottom:28px;
  }
  .dap-services-page__heading h1,
  .dap-projects-articles__heading h1{font-size:var(--page-title-size);line-height:var(--page-title-line-height)}
  .dap-services-page--listing .dap-subpage__section,
  .dap-projects-articles__section{padding-top:var(--page-title-margin-top)}
  .product-list-container{padding-top:var(--page-title-margin-top);padding-bottom:36px}
  .dap-contact-page__main{padding-top:32px;padding-bottom:42px}
  .dap-contact-page__title{margin-bottom:22px;font-size:30px}
  .dap-contact-page__layout{grid-template-columns:1fr;gap:20px}
  .dap-contact-page__layout .dap-contact-page__info,.dap-contact-page__layout .dap-contact-page__consult{padding:24px 18px}
  .dap-contact-page__info-title{font-size:25px}
  .dap-contact-page__layout .dap-contact-page__consult-head h2{font-size:25px}
}
