@media (max-width:1025px){
body,html{width:100%;max-width:100%;overflow-x:hidden}
*,::after,::before{box-sizing:border-box}
iframe,img,picture,svg,video{max-width:100%}
.max-width,.wrap-content{width:calc(100% - 32px);max-width:100%;margin-left:auto;margin-right:auto}
.above-nav{position:sticky;top:0;z-index:10020;width:100%}
.figma-topbar,.figma-topbar-inner{height:38px}
.figma-topbar-inner{gap:12px}
.figma-topbar-item{min-width:0;font-size:12px;line-height:18px}
.figma-topbar-address{width:auto;flex:1 1 auto;overflow:hidden}
.figma-topbar-address span{display:block;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.figma-topbar-time{display:none}
.figma-topbar-hotline{width:auto;flex:0 0 auto}
.header{padding:8px 0;background:#fff;border-bottom:1px solid rgba(15,15,15,.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}
.figma-hero{position:relative;width:100%;margin-top:0!important;overflow:hidden;background:#f7f7f7}
.figma-hero .figma-hero-image,.figma-hero .figma-hero-image picture,.figma-hero .figma-hero-swiper,.figma-hero .swiper-slide,.figma-hero .swiper-wrapper{width:100%}
.figma-hero-slide{min-height:500px;background:#f7f7f7}
.figma-hero .figma-hero-image,.figma-hero .figma-hero-image picture{display:block;height:500px}
.figma-hero .figma-hero-image img{display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:64% center}
.figma-hero-content{position:absolute;z-index:5;top:auto;right:24px;bottom:36px;left:24px;width:auto;transform:none;pointer-events:none}
.figma-hero-copy{display:flex;width:min(62%,520px);max-width:100%;flex-direction:column;align-items:flex-start;gap:14px}
.figma-hero-text{display:flex;width:100%;flex-direction:column;gap:8px}
.figma-hero-text :is(h1,h2){width:100%;margin:0;font-size:34px;font-weight:800;line-height:1.16;text-transform:uppercase;color:#4f4f4f}
.figma-hero-text p{width:100%;margin:0;font-size:15px;line-height:1.45;color:#4f4f4f}
.figma-hero-actions{display:flex;width:100%;height:auto;flex-wrap:wrap;gap:8px;pointer-events:auto}
.figma-hero-btn{display:inline-flex;width:auto;height:42px;padding:9px 15px;align-items:center;justify-content:center;border-radius:5px;font-size:14px;line-height:20px;white-space:nowrap}
.figma-hero-btn-primary{color:#0f0f0f;background:#fcc00b;border:2px solid #fcc00b}
.figma-hero-btn-outline{color:#fcc00b;background:rgba(255,255,255,.86);border:2px solid #fcc00b}
.figma-hero .slide-next,.figma-hero .slide-pagination,.figma-hero .slide-prev{display:none!important}
.home-about-figma{padding:54px 0}
.figma-about{min-height:0;grid-template-columns:1fr;gap:30px}
.figma-about__body,.figma-about__content,.figma-about__desc,.figma-about__heading,.figma-about__stats{width:100%;max-width:100%}
.figma-about__heading h2{font-size:30px;line-height:1.15}
.figma-about__heading h3{font-size:44px;line-height:1.05}
.figma-about__desc{font-size:16px;line-height:24px}
.figma-about__stats{max-width:590px;margin:0 auto;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto;gap:14px}
.figma-about-stat{width:100%;height:auto;aspect-ratio:286/138}
.figma-about-stat__content strong{font-size:32px;line-height:1.1}
.figma-about-stat__content span{font-size:14px;line-height:1.3}
.home-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:none}
.figma-topbar-inner{height:0}
.figma-topbar-item{height:18px;gap:5px;font-size:11px;line-height:18px}
.figma-topbar-item i{width:15px;height:15px;flex:0 0 15px;font-size:11px}
.figma-topbar-address{width:100%}
.figma-topbar-hotline,.figma-topbar-time{display:none}
.header{min-height:62px;padding:7px 0;background:#fff}
.header .wrap-content>.flex{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:8px}
.logo-header{grid-column:2;grid-row:1;width:64px;max-height:48px;flex-basis:auto;justify-self:center;overflow:hidden}
.logo-header img,.logo-header picture{width:100%;height:48px;object-fit:contain}
.header-menu-mobile-btn{grid-column:1;grid-row:1;justify-self:start;width:44px;height:44px;flex-basis:auto}
.header-menu-mobile-btn span{width:23px;margin:2.5px 0}
.mobile-header-search-toggle{display:flex;grid-column:3;grid-row:1;justify-self:end;width:44px;height:44px;padding:0;border:0;border-radius:999px;background:0 0;color:#111;align-items:center;justify-content:center;font-size:18px;cursor:pointer}
.search{display:none;grid-column:1/-1;grid-row:2;width:100%;height:40px;margin-top:2px;border-radius:8px;box-shadow:0 4px 12px rgba(0,0,0,.12)}
.header.search-open .search{display:block}
.search>.flex{height:40px}
.search input{width:calc(100% - 40px);height:40px;padding:7px 10px;border-radius:8px;font-size:14px}
.search p{width:40px;height:40px;line-height:40px;font-size:15px}
.cart-head,.change-lang,.line-head{display:none!important}
.figma-navigation,.figma-navigation.is-fixed,.figma-navigation.was-scrolled{height:0!important;min-height:0!important;margin:0!important}
.header-left-fixwidth{width:min(88vw,310px)}
.figma-hero{overflow:hidden;background:#f7f7f7}
.figma-hero .figma-hero-swiper,.figma-hero .swiper-wrapper{height:auto!important}
.figma-hero .swiper-slide.figma-hero-slide{display:flex;min-height:0;height:auto!important;flex-direction:column;overflow:hidden;background:#f7f7f7}
.figma-hero .figma-hero-image,.figma-hero .figma-hero-image picture{display:block;width:100%;height:clamp(235px,72vw,310px)}
.figma-hero .figma-hero-image img{display:block;width:100%;height:100%;object-fit:cover;object-position:22% center}
.figma-hero-slide-link{z-index:2;bottom:auto;height:clamp(235px,72vw,310px)}
.figma-hero-content{position:relative;z-index:5;top:auto;right:auto;bottom:auto;left:auto;width:calc(100% - 24px);margin:-22px auto 0;padding:18px 16px 20px;transform:none;border-radius:12px 12px 0 0;background:rgba(255,255,255,.97);box-shadow:0 -3px 14px rgba(0,0,0,.08);pointer-events:auto}
.figma-hero-copy{width:100%;max-width:100%;gap:12px}
.figma-hero-text{width:100%;gap:7px}
.figma-hero-text :is(h1,h2){width:100%;margin:0;color:#3f3f3f;font-size:clamp(21px,6.4vw,27px);line-height:1.14;letter-spacing:-.3px}
.figma-hero-text p{display:block;width:100%;margin:0;overflow:visible;color:#555;font-size:15px;line-height:1.55;-webkit-line-clamp:unset}
.figma-hero-actions{display:grid;width:100%;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.figma-hero-btn,.figma-hero-btn-outline,.figma-hero-btn-primary{width:100%;min-width:0;height:40px;padding:8px 9px;border-radius:5px;font-size:14px;line-height:20px;white-space:normal;text-align:center}
.figma-hero-btn-outline{color:#bd8c00;background:#fff}
.home-about-figma{padding:34px 0 42px}
.figma-about{display:block}
.figma-about__content{gap:15px}
.figma-about__heading{gap:7px}
.figma-about__heading h2{width:100%;font-size:22px;line-height:1.25}
.figma-about__heading h3{width:100%;font-size:clamp(28px,8vw,34px);line-height:1.05}
.figma-about__body{gap:18px}
.figma-about__desc{display:block;overflow:visible;font-size:15px;line-height:1.55;-webkit-line-clamp:unset}
.figma-about__desc p{margin-bottom:0}
.figma-about__button{width:auto;min-width:132px;height:44px;padding:9px 15px;font-size:14px;line-height:20px}
.figma-about__stats{width:100%;margin-top:24px;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.figma-about-stat{width:100%;min-width:0;border-radius:12px}
.figma-about-stat__content{gap:3px;padding:8px}
.figma-about-stat__content strong{font-size:clamp(22px,7vw,28px);line-height:1.05}
.figma-about-stat__content span{font-size:11px;line-height:1.25}
.home-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-hero-content{width:calc(100% - 20px);padding:15px 13px 16px}
.figma-hero-actions{grid-template-columns:1fr}
.figma-hero-btn,.figma-hero-btn-outline,.figma-hero-btn-primary{height:38px}
.figma-about__stats,.grid-news,.grid-product,.home-accessories__grid{gap:8px}
.home-accessory-card{min-height:222px;padding-left:7px;padding-right:7px}
.home-accessory-card__name{font-size:12px;line-height:17px}
}

/* =========================================================
   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: 38px;
  }

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

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

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

  .figma-topbar-slogan {
    display: none;
  }

  .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-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 */
.figma-hero-subtitle{display:block;width:100%;margin:0;color:#ffffff;font-family:var(--font-heading);font-weight:600;font-size:14px;line-height:1.45;text-transform:uppercase}
@media (max-width: 1025px){
  .figma-hero-subtitle{color:#4b4b4b;font-size:13px;line-height:1.45}
  .figma-hero-text{gap:8px}
  .figma-hero .figma-hero-image img{object-position:55% center}
}


/* 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. */
  .figma-hero,
  .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. */
  .figma-hero-slide {
    position: relative;
    isolation: isolate;
    background: #1a3174;
  }
  .figma-hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(10, 24, 58, .72) 0%, rgba(10, 24, 58, .44) 45%, rgba(10, 24, 58, .08) 78%, rgba(10, 24, 58, 0) 100%);
  }
  .figma-hero .figma-hero-image,
  .figma-hero .figma-hero-image picture,
  .figma-hero .figma-hero-image img {
    width: 100%;
  }
  .figma-hero-content {
    z-index: 5;
  }
  .figma-hero-subtitle,
  .figma-hero-text :is(h1, h2),
  .figma-hero-text p {
    color: #fff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .28);
  }
  .figma-hero-btn-primary {
    color: #fff !important;
    background: #318027 !important;
    border-color: #318027 !important;
  }
  .figma-hero-btn-primary:hover,
  .figma-hero-btn-primary:focus-visible {
    color: #fff !important;
    background: #25661d !important;
    border-color: #25661d !important;
  }
  .figma-hero-btn-outline {
    display: none !important;
  }

  /* 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. */
  .figma-hero .swiper-slide.figma-hero-slide {
    display: block;
    height: clamp(470px, 125vw, 590px) !important;
    min-height: 470px;
    background: #1a3174;
  }
  .figma-hero .figma-hero-image,
  .figma-hero .figma-hero-image picture {
    position: absolute;
    inset: 0;
    display: block;
    height: 100%;
  }
  .figma-hero .figma-hero-image img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center center;
  }
  .figma-hero-slide::after {
    z-index: 3;
    background: linear-gradient(180deg, rgba(10, 24, 58, .05) 20%, rgba(10, 24, 58, .38) 52%, rgba(10, 24, 58, .88) 100%);
  }
  .figma-hero-slide-link {
    inset: 0;
    width: 100%;
    height: 100%;
  }
  .figma-hero-content {
    position: absolute;
    right: 12px;
    bottom: 22px;
    left: 12px;
    width: auto;
    margin: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    pointer-events: none;
  }
  .figma-hero-copy {
    width: 100%;
    gap: 12px;
  }
  .figma-hero-text {
    gap: 7px;
  }
  .figma-hero-subtitle {
    font-size: 12px;
    line-height: 18px;
  }
  .figma-hero-text :is(h1, h2) {
    font-size: clamp(23px, 7vw, 30px);
    line-height: 1.18;
    letter-spacing: 0;
  }
  .figma-hero-text p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
  }
  .figma-hero-actions {
    display: flex;
    width: 100%;
    pointer-events: auto;
  }
  .figma-hero-btn,
  .figma-hero-btn-primary {
    width: auto;
    min-width: 150px;
    min-height: 44px;
    height: 44px;
    padding: 10px 16px;
    font-size: 14px;
    line-height: 21px;
  }

  /* ===== 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;
  }

  .figma-hero .swiper-slide.figma-hero-slide {
    min-height: 500px;
    height: 500px !important;
  }

  .figma-hero-text :is(h1, h2) {
    font-size: 22px;
  }
}

/* =========================================================
   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 ---- */
  .figma-hero .swiper-slide.figma-hero-slide {
    min-height: 430px;
    height: clamp(430px, 116vw, 520px) !important;
  }

  .figma-hero-content {
    right: 16px;
    bottom: 24px;
    left: 16px;
  }

  .figma-hero-copy {
    gap: 10px;
  }

  .figma-hero-text :is(h1, h2) {
    font-size: clamp(22px, 6.6vw, 28px);
    line-height: 1.16;
  }

  .figma-hero-text p {
    font-size: 14px;
    line-height: 1.5;
    -webkit-line-clamp: 3;
  }

  .figma-hero-btn,
  .figma-hero-btn-primary,
  .figma-hero-btn-outline {
    min-width: 0;
    min-height: 42px;
    height: 42px;
    padding: 9px 14px;
    border-radius: 6px;
    font-size: 13px;
  }

  /* ---- 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;
  }
}
