/* NASAKI Home Final 6.0.7 — responsive overflow-safe + centered typography */
html{overflow-x:hidden}
body.nasaki-home-page{overflow-x:hidden}

.nasaki-home{
 --nh-blue:#01458E;--nh-dark:#00366F;--nh-deep:#012D5E;--nh-paper:#F5F8FC;
 --nh-line:#DDE6F1;--nh-ink:#162033;--nh-muted:#667085;
 width:100vw;max-width:100vw;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);
 overflow-x:hidden;overflow-y:visible;color:var(--nh-ink);
 font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
}
@supports(width:100dvw){
 .nasaki-home{width:100dvw;max-width:100dvw;margin-left:calc(50% - 50dvw);margin-right:calc(50% - 50dvw)}
}
.nasaki-home,.nasaki-home *{box-sizing:border-box}
.nasaki-home img,.nasaki-home svg,.nasaki-home video,.nasaki-home canvas,.nasaki-home iframe{max-width:100%}
.nasaki-home img{height:auto}
.nasaki-home a{text-decoration:none}
.nasaki-home h1,.nasaki-home h2,.nasaki-home h3,.nasaki-home p,.nasaki-home strong,.nasaki-home span,.nasaki-home small,.nasaki-home em,.nasaki-home a,.nasaki-home button{overflow-wrap:anywhere;word-break:normal}
.nh-wrap{width:min(1320px,calc(100% - 44px));max-width:1320px;margin-inline:auto;min-width:0}
.nh-wrap>*{min-width:0}
.nh-sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.nh-section{padding:52px 0}.nh-alt{background:var(--nh-paper)}
.nasaki-home h2{margin:0 0 25px;color:var(--nh-ink);font-size:clamp(27px,2.25vw,31px);line-height:1.15;font-weight:850;letter-spacing:-.45px;text-transform:uppercase}
.nh-more{color:var(--nh-blue)!important;font-size:12px;font-weight:850}.nh-center{text-align:center;margin-top:25px}
.nh-outline-btn{display:inline-flex;align-items:center;justify-content:center;max-width:100%;min-height:42px;padding:9px 17px;border:1px solid var(--nh-line);border-radius:8px;color:var(--nh-blue)!important;font-size:11px;line-height:1.35;font-weight:900;background:#fff;text-align:center;white-space:normal}
.nh-fallback,.nh-empty{display:grid;place-items:center;width:100%;min-height:140px;background:#EDF3F9;color:var(--nh-blue);font-size:12px;font-weight:800;text-align:center;padding:20px;border-radius:10px}

/* 01 HERO — giữ nguyên toàn bộ banner, không crop */
.nh-hero,.nh-hero-slider{display:block;width:100%;max-width:none;height:auto;min-height:0;margin:0;padding:0;border:0;border-radius:0;overflow:hidden;background:#fff;line-height:0}
.nh-hero-slide{display:none;position:static;width:100%;max-width:none;height:auto;min-height:0;margin:0;padding:0;border:0;border-radius:0;overflow:hidden;opacity:1;visibility:visible;transform:none;line-height:0}
.nh-hero-slide.is-active{display:block}
.nh-hero-slide img{display:block;width:100%;max-width:100%;height:auto!important;min-height:0;object-fit:contain;object-position:center;margin:0;padding:0;border:0;border-radius:0;box-shadow:none;transform:none;vertical-align:top}

/* 02 ABOUT */
.nh-about-grid{display:grid;grid-template-columns:minmax(0,46fr) minmax(0,54fr);gap:clamp(24px,3.5vw,46px);align-items:center}
.nh-about-image{width:100%;aspect-ratio:14/9;overflow:hidden;border-radius:14px;box-shadow:0 14px 32px rgba(1,69,142,.08);background:#EDF3F9}
.nh-about-image img{display:block;width:100%;height:100%!important;object-fit:cover;object-position:center}
.nh-about-content{min-width:0}.nh-about-content h2{text-align:center;margin-bottom:18px;font-size:clamp(27px,2.5vw,34px)}
.nh-about-content>p{margin:0 0 24px;color:#40546A;font-size:14px;line-height:1.78;text-align:justify}.nh-about-content>p strong{color:var(--nh-blue)}
.nh-about-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.nh-about-stats>div{min-width:0;min-height:145px;border:1px solid var(--nh-line);border-radius:14px;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:16px;box-shadow:0 10px 25px rgba(1,69,142,.04)}
.nh-about-stats>div.is-primary{background:var(--nh-blue);border-color:var(--nh-blue)}.nh-about-stats strong{max-width:100%;font-size:clamp(20px,2.2vw,29px);line-height:1.08;font-weight:900}.nh-about-stats span{margin-top:11px;font-size:12px;color:#536579}.nh-about-stats .is-primary strong,.nh-about-stats .is-primary span{color:#fff}
.nh-about-content>.nh-more{display:block;text-align:center;margin-top:20px}

/* 03 CERTS */
.nh-cert-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.nh-cert-card{min-width:0;width:100%;padding:0;border:1px solid var(--nh-line);border-radius:12px;overflow:hidden;background:#fff;text-align:left;cursor:pointer;transition:.22s;white-space:normal}
.nh-cert-card:hover{transform:translateY(-3px);box-shadow:0 14px 28px rgba(1,69,142,.08)}.nh-cert-image{display:flex;height:285px;padding:11px;background:#F7F9FC;align-items:center;justify-content:center}.nh-cert-image img{display:block;max-width:100%;width:100%;height:100%!important;object-fit:contain}
.nh-cert-card>strong{display:flex;align-items:center;min-height:64px;padding:12px 14px;color:var(--nh-ink);font-size:11.5px;line-height:1.42;font-weight:800}

/* 04 CATEGORIES */
.nh-categories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.nh-category-card{min-width:0;display:block;border:1px solid var(--nh-line);border-radius:12px;overflow:hidden;background:#fff;transition:.22s}
.nh-category-card:hover{transform:translateY(-3px);box-shadow:0 13px 28px rgba(1,69,142,.08)}.nh-category-image{display:flex;height:190px;align-items:center;justify-content:center;background:#fff}.nh-category-image img{display:block;width:100%;height:100%!important;object-fit:contain;padding:10px}.nh-category-image b{color:var(--nh-blue)}
.nh-category-copy{display:block;padding:14px 15px}.nh-category-copy strong{display:block;color:var(--nh-ink);font-size:14px;line-height:1.35}.nh-category-copy small{display:block;margin-top:5px;color:var(--nh-muted);font-size:10px}

/* PRODUCT CARDS */
.nh-products{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px}.nh-product{min-width:0;width:100%;border:1px solid var(--nh-line);border-radius:12px;overflow:hidden;background:#fff;transition:.22s}.nh-product:hover{transform:translateY(-3px);box-shadow:0 13px 28px rgba(1,69,142,.08)}
.nh-product-media{display:flex;height:205px;align-items:center;justify-content:center;background:#F7F9FC;overflow:hidden}.nh-product-media img{display:block;width:100%;height:100%!important;object-fit:contain;padding:6px}.nh-product-body{min-width:0;padding:12px 12px 14px}.nh-product-cat,.nh-product-cat a{color:#728197!important;font-size:8.5px;font-weight:850;text-transform:uppercase;letter-spacing:.55px}
.nh-product-body h3{min-height:50px;margin:7px 0 12px;font-size:11.5px;line-height:1.45}.nh-product-body h3 a{color:var(--nh-ink)!important}.nh-product-meta{min-height:14px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:7px;color:#8391A2;font-size:8.5px;text-transform:uppercase}.nh-product-meta span{min-width:0;max-width:100%}.nh-product-meta span:last-child{text-align:right}
.nh-product-price{margin-top:8px;color:#161B22;font-size:13.5px;font-weight:850}.nh-product-price del{color:#8994A1;font-size:10px;font-weight:400}.nh-product-price ins{text-decoration:none}

/* TABS */
.nh-tabs{min-width:0;max-width:100%}.nh-tab-nav{display:flex;flex-wrap:wrap;gap:9px;max-width:100%;padding:2px 0 12px;margin-bottom:20px;overflow:visible}.nh-tab-nav button{min-width:0;max-width:100%;display:flex;align-items:center;gap:8px;min-height:42px;padding:8px 16px;border:1px solid var(--nh-line);border-radius:999px;background:#fff;color:#42556A;font-size:11px;line-height:1.3;font-weight:850;cursor:pointer;white-space:normal;text-align:left}.nh-tab-nav button small{flex:0 0 auto;display:grid;place-items:center;min-width:22px;height:22px;padding:0 5px;border-radius:50%;background:#EDF3F9;color:var(--nh-blue);font-size:9px}
.nh-tab-nav button.is-active{background:var(--nh-blue);border-color:var(--nh-blue);color:#fff}.nh-tab-nav button.is-active small{background:#fff;color:var(--nh-blue)}
.nh-tab-panel{display:none;min-width:0;max-width:100%}.nh-tab-panel.is-active{display:block}.nh-panel-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:10px 15px;padding-bottom:12px;margin-bottom:16px;border-bottom:1px solid var(--nh-line)}.nh-panel-head h3{min-width:0;margin:0;font-size:20px}.nh-panel-head a{color:var(--nh-blue)!important;font-size:11px;font-weight:850}

/* 09 PROJECTS */
.nh-projects{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.nh-project{min-width:0;position:relative;height:245px;border-radius:12px;overflow:hidden;background:#244766}.nh-project-media{position:absolute;inset:0;display:grid;place-items:center;color:#fff}.nh-project-media img{display:block;width:100%;height:100%!important;object-fit:cover}.nh-project-shade{position:absolute;inset:45% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.76))}
.nh-project>strong{position:absolute;z-index:2;left:14px;right:14px;bottom:14px;color:#fff;font-size:12px;line-height:1.4}

/* 10 REVIEWS */
.nh-reviews{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.nh-reviews>div{min-width:0;min-height:135px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:20px;border:1px dashed #B9CBDE;border-radius:12px;background:#fff}.nh-reviews strong{color:var(--nh-blue);font-size:15px}.nh-reviews p{margin:9px 0 0;color:var(--nh-muted);font-size:11px}

/* 11 FACTORY */
.nh-factory{background:var(--nh-paper)}.nh-factory-frame{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:stretch;border:1px solid var(--nh-line);border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 10px 28px rgba(1,69,142,.05)}
.nh-factory-image{min-width:0;min-height:475px;background:#EAF2FB}.nh-factory-image img{display:block;width:100%;height:100%!important;min-height:475px;object-fit:cover}.nh-factory-content{min-width:0;min-height:475px;padding:38px 42px;display:flex;flex-direction:column;justify-content:center;background:#F5F8FC}
.nh-factory-content h2{margin-bottom:17px!important;font-size:clamp(27px,2.4vw,32px)!important}.nh-factory-content>p{margin:0 0 24px;color:#536579;font-size:13px;line-height:1.72}.nh-factory-content>p strong{color:var(--nh-blue)}
.nh-factory-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.nh-factory-stats>div{min-width:0;min-height:82px;display:flex;align-items:center;justify-content:center;text-align:center;padding:12px;border:1px solid var(--nh-line);border-radius:10px;background:#fff}.nh-factory-stats strong{color:var(--nh-blue);font-size:13px;line-height:1.35;font-weight:850}

/* WHY */
.nh-why{position:relative;overflow:hidden;color:#fff;background:#06294F}.nh-why-bg{position:absolute;inset:0}.nh-why-bg img{display:block;width:100%;height:100%!important;object-fit:cover;filter:saturate(.7)}.nh-why-bg:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(1,29,59,.92),rgba(0,54,111,.84))}
.nh-why>.nh-wrap{position:relative;z-index:2;padding-top:50px;padding-bottom:52px}.nh-why h2{text-align:center;color:#fff!important;margin-bottom:35px!important}.nh-why-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:34px}.nh-why-grid article{min-width:0;text-align:center}.nh-why-grid article>span{display:grid;place-items:center;width:50px;height:50px;margin:0 auto 15px;border:1px solid rgba(255,255,255,.35);border-radius:50%;background:rgba(255,255,255,.08);font-weight:900}.nh-why-grid h3{margin:0 0 14px;color:#fff;font-size:15px}.nh-why-grid h3:after{content:"";display:block;width:70px;margin:13px auto 0;border-bottom:1px dashed rgba(255,255,255,.5)}.nh-why-grid p{margin:0;color:rgba(255,255,255,.86);font-size:12px;line-height:1.72;text-align:left}

/* 12 TOOLS */
.nh-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.nh-tools>a{min-width:0;display:block;border:1px solid var(--nh-line);border-radius:13px;overflow:hidden;background:#fff;transition:.22s}.nh-tools>a:hover{transform:translateY(-4px);box-shadow:0 14px 29px rgba(1,69,142,.09)}.nh-tools>a>img{display:block;width:100%;height:235px!important;object-fit:cover}.nh-tools>a>div{min-width:0;padding:15px 16px 17px}.nh-tools small{color:var(--nh-blue);font-size:8.5px;font-weight:900}.nh-tools strong{display:block;margin:6px 0;color:var(--nh-ink);font-size:16px}.nh-tools p{margin:0 0 10px;color:var(--nh-muted);font-size:11.5px;line-height:1.6}.nh-tools em{color:var(--nh-blue);font-size:10.5px;font-style:normal;font-weight:850}

/* 13 BLOG */
.nh-blog{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.nh-blog article{min-width:0;border:1px solid var(--nh-line);border-radius:12px;overflow:hidden;background:#fff}.nh-blog-image{display:grid;height:175px;place-items:center;background:#EAF2FB;color:var(--nh-blue)!important;font-size:11px;font-weight:900}.nh-blog-image img{display:block;width:100%;height:100%!important;object-fit:cover}.nh-blog article>div{min-width:0;padding:14px}.nh-blog h3{min-height:58px;margin:0 0 9px;font-size:13px;line-height:1.45}.nh-blog h3 a{color:var(--nh-ink)!important}

/* 14 QUOTE */
.nh-quote{padding:48px 0;background:linear-gradient(120deg,#031F40,#00366F 68%,#01458E);color:#fff}.nh-quote-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,430px);gap:clamp(28px,4vw,55px);align-items:center}.nh-quote-grid>div,.nh-quote form{min-width:0}.nh-quote h2{color:#fff!important;margin-bottom:12px!important}.nh-quote p{max-width:600px;color:#D9E6F3;font-size:13px;line-height:1.7}.nh-quote>div>div>a{display:inline-block;max-width:100%;margin-top:12px;color:#fff!important;font-size:13px;font-weight:850}
.nh-quote form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:17px;border-radius:12px;background:#fff}.nh-quote input,.nh-quote select,.nh-quote textarea{min-width:0;max-width:100%;width:100%;margin:0!important;border:1px solid var(--nh-line)!important;border-radius:7px!important;background:#fff!important;box-shadow:none!important;font-size:12px!important}.nh-quote input,.nh-quote select{height:42px;padding:0 11px}.nh-quote textarea{grid-column:1/-1;height:76px;padding:10px;resize:vertical}.nh-quote button{grid-column:1/-1;min-width:0;max-width:100%;height:43px;padding:0 12px;border:0;border-radius:7px;background:var(--nh-blue);color:#fff;font-size:11px;line-height:1.25;font-weight:900;white-space:normal}.nh-hp{position:absolute!important;left:-99999px!important}

/* MODAL */
.nh-modal{position:fixed;inset:0;z-index:999999;display:none;align-items:center;justify-content:center;padding:20px;background:rgba(1,24,50,.86)}.nh-modal.is-open{display:flex}.nh-modal>div{position:relative;width:min(820px,94vw);max-width:94vw;max-height:92vh;padding:14px;border-radius:12px;background:#fff;text-align:center;overflow:auto}.nh-modal img{display:block;max-width:100%;width:auto;height:auto!important;max-height:78vh;object-fit:contain;margin:auto}.nh-modal strong{display:block;margin-top:8px;font-size:12px}.nh-modal button{position:absolute;right:9px;top:8px;width:34px;height:34px;border:0;border-radius:50%;background:var(--nh-blue);color:#fff;font-size:22px;cursor:pointer}

/* DESKTOP NHỎ / LAPTOP */
@media(max-width:1180px){
 .nh-wrap{width:min(100% - 34px,1120px)}
 .nh-products{grid-template-columns:repeat(4,minmax(0,1fr))}
 .nh-projects{grid-template-columns:repeat(4,minmax(0,1fr))}
 .nh-cert-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .nh-about-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);gap:28px}
 .nh-about-stats{gap:10px}.nh-about-stats>div{padding:12px}
}

/* TABLET */
@media(max-width:980px){
 .nh-section{padding:46px 0}
 .nh-about-grid,.nh-factory-frame,.nh-quote-grid{grid-template-columns:minmax(0,1fr)}
 .nh-products{grid-template-columns:repeat(3,minmax(0,1fr))}
 .nh-projects{grid-template-columns:repeat(3,minmax(0,1fr))}
 .nh-cert-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .nh-categories{grid-template-columns:repeat(2,minmax(0,1fr))}
 .nh-about-image{aspect-ratio:16/9;max-height:none}.nh-about-content h2{text-align:left}
 .nh-factory-image{min-height:0;aspect-ratio:16/10}.nh-factory-image img{min-height:0;height:100%!important}.nh-factory-content{min-height:auto}
 .nh-why-grid{grid-template-columns:minmax(0,1fr);gap:25px}.nh-why-grid p{text-align:center;max-width:720px;margin:auto}
 .nh-tools{grid-template-columns:repeat(2,minmax(0,1fr))}.nh-tools>a:last-child{grid-column:1/-1;max-width:calc(50% - 8px);width:100%;justify-self:center}
 .nh-blog{grid-template-columns:repeat(2,minmax(0,1fr))}
 .nh-quote-grid{gap:24px}
}

/* MOBILE */
@media(max-width:650px){
 .nasaki-home{width:100%;max-width:100%;margin-left:0;margin-right:0}
 .nh-wrap{width:calc(100% - 24px);max-width:none}
 .nh-section{padding:36px 0}.nasaki-home h2{font-size:24px;margin-bottom:18px;letter-spacing:-.25px}
 .nh-hero,.nh-hero-slider,.nh-hero-slide{width:100%;max-width:100%;overflow:hidden}
 .nh-hero-slide img{width:100%!important;height:auto!important;max-width:100%!important;object-fit:contain!important}

 .nh-about-grid{gap:20px}.nh-about-image{aspect-ratio:14/9;border-radius:10px}.nh-about-content h2{font-size:25px;text-align:left}.nh-about-content>p{font-size:13px;line-height:1.68;text-align:left}
 .nh-about-stats{grid-template-columns:1fr;gap:8px}.nh-about-stats>div{min-height:84px;padding:11px}.nh-about-stats strong{font-size:21px}.nh-about-stats span{font-size:10px;margin-top:6px}

 .nh-cert-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.nh-cert-image{height:190px;padding:7px}.nh-cert-card>strong{min-height:58px;padding:9px;font-size:9.5px}
 .nh-categories{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.nh-category-image{height:140px}.nh-category-copy{padding:10px}.nh-category-copy strong{font-size:12px}
 .nh-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.nh-product-media{height:155px}.nh-product-body{padding:9px}.nh-product-body h3{min-height:0;font-size:10.5px}.nh-product-meta{font-size:7.7px}.nh-product-price{font-size:12px}
 .nh-tab-nav{gap:7px;margin-bottom:16px}.nh-tab-nav button{min-height:36px;padding:7px 11px;font-size:9.5px}.nh-panel-head{align-items:center}.nh-panel-head h3{font-size:17px}.nh-panel-head a{font-size:10px}
 .nh-projects{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.nh-project{height:190px}.nh-project>strong{left:10px;right:10px;bottom:10px;font-size:10px}
 .nh-reviews{grid-template-columns:minmax(0,1fr);gap:9px}.nh-reviews>div{min-height:105px}
 .nh-factory-frame{border-radius:12px}.nh-factory-image{aspect-ratio:16/10;min-height:0}.nh-factory-image img{min-height:0;height:100%!important}.nh-factory-content{padding:23px 16px}.nh-factory-content h2{font-size:24px!important}.nh-factory-content>p{font-size:12px;line-height:1.65}.nh-factory-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.nh-factory-stats>div{min-height:68px;padding:8px}.nh-factory-stats strong{font-size:10px}
 .nh-why>.nh-wrap{padding-top:36px;padding-bottom:38px}.nh-why h2{font-size:24px!important;margin-bottom:26px!important}.nh-why-grid{gap:22px}.nh-why-grid p{font-size:11px;text-align:left}
 .nh-tools{grid-template-columns:minmax(0,1fr);gap:10px}.nh-tools>a:last-child{grid-column:auto;max-width:none}.nh-tools>a>img{height:auto!important;aspect-ratio:16/10;object-fit:cover}
 .nh-blog{grid-template-columns:minmax(0,1fr)}.nh-blog-image{height:auto;aspect-ratio:16/9}.nh-blog h3{min-height:0}
 .nh-quote{padding:36px 0}.nh-quote-grid{grid-template-columns:minmax(0,1fr);gap:20px}.nh-quote form{grid-template-columns:minmax(0,1fr);padding:13px}.nh-quote textarea,.nh-quote button{grid-column:auto}
 .nh-modal{padding:10px}.nh-modal>div{width:96vw;max-width:96vw;padding:10px}.nh-modal button{right:5px;top:5px}
}

/* MOBILE NHỎ — ưu tiên đọc đủ nội dung */
@media(max-width:430px){
 .nh-wrap{width:calc(100% - 20px)}
 .nh-cert-grid,.nh-categories,.nh-projects{grid-template-columns:minmax(0,1fr)}
 .nh-cert-image{height:auto;aspect-ratio:3/4}.nh-cert-card>strong{min-height:0;font-size:10.5px}
 .nh-category-image{height:auto;aspect-ratio:4/3}
 .nh-project{height:auto;aspect-ratio:4/3}
 .nh-products{gap:7px}.nh-product-media{height:auto;aspect-ratio:1/1}.nh-product-body{padding:8px}.nh-product-body h3{font-size:10px;line-height:1.4}.nh-product-cat,.nh-product-cat a{font-size:7.6px}.nh-product-meta{display:block}.nh-product-meta span{display:block;text-align:left!important;margin-top:3px}
 .nh-factory-stats{grid-template-columns:minmax(0,1fr)}
 .nh-tab-nav button{width:100%;justify-content:space-between;border-radius:10px}
 .nh-panel-head{display:block}.nh-panel-head a{display:inline-block;margin-top:7px}
}

/* HARD OVERRIDE AGAINST FLATSOME / legacy CSS */
html body .nasaki-home .nh-hero,
html body .nasaki-home .nh-hero-slider{width:100%!important;max-width:none!important;height:auto!important;min-height:0!important;aspect-ratio:auto!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;overflow:hidden!important}
html body .nasaki-home .nh-hero-slide{display:none!important;position:static!important;inset:auto!important;width:100%!important;max-width:none!important;height:auto!important;min-height:0!important;aspect-ratio:auto!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;overflow:hidden!important;opacity:1!important;visibility:visible!important;transform:none!important}
html body .nasaki-home .nh-hero-slide.is-active{display:block!important}
html body .nasaki-home .nh-hero-slide img{display:block!important;width:100%!important;max-width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:auto!important;object-fit:contain!important;object-position:center!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;transform:none!important;vertical-align:top!important}


/* =========================================================
   6.0.6 — CĂN GIỮA HỆ THỐNG TEXT TOÀN TRANG
   Giữ nội dung cân đối trên PC / tablet / mobile.
   ========================================================= */
/* Tiêu đề section */
.nasaki-home .nh-section>.nh-wrap>h2,
.nasaki-home .nh-about-content h2,
.nasaki-home .nh-factory-content h2,
.nasaki-home .nh-quote h2{
  text-align:center!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
.nasaki-home .nh-section>.nh-wrap>h2:after,
.nasaki-home .nh-about-content h2:after,
.nasaki-home .nh-factory-content h2:after,
.nasaki-home .nh-quote h2:after{
  content:"";
  display:block;
  width:54px;
  max-width:20vw;
  height:3px;
  margin:12px auto 0;
  border-radius:999px;
  background:var(--nh-blue);
}
.nasaki-home .nh-why h2:after{background:#fff;opacity:.75}

/* Khối giới thiệu và nhà máy */
.nasaki-home .nh-about-content>p,
.nasaki-home .nh-factory-content>p{
  text-align:center!important;
  max-width:820px;
  margin-left:auto!important;
  margin-right:auto!important;
}
.nasaki-home .nh-about-content>.nh-more{text-align:center!important}

/* Chứng nhận / danh mục */
.nasaki-home .nh-cert-card>strong{
  justify-content:center;
  text-align:center!important;
}
.nasaki-home .nh-category-copy{text-align:center!important}

/* Sản phẩm */
.nasaki-home .nh-product-body{text-align:center!important}
.nasaki-home .nh-product-meta{
  justify-content:center!important;
  text-align:center!important;
}
.nasaki-home .nh-product-meta span,
.nasaki-home .nh-product-meta span:last-child{text-align:center!important}
.nasaki-home .nh-product-price{text-align:center!important}

/* Tabs và tiêu đề nhóm sản phẩm */
.nasaki-home .nh-tab-nav{justify-content:center!important}
.nasaki-home .nh-tab-nav button{
  justify-content:center!important;
  text-align:center!important;
}
.nasaki-home .nh-panel-head{
  justify-content:center!important;
  align-items:center!important;
  text-align:center!important;
}
.nasaki-home .nh-panel-head h3,
.nasaki-home .nh-panel-head a{text-align:center!important}

/* Dự án */
.nasaki-home .nh-project>strong{
  left:12px;
  right:12px;
  text-align:center!important;
}

/* Lý do chọn NASAKI */
.nasaki-home .nh-why-grid p{
  text-align:center!important;
  max-width:390px;
  margin-left:auto!important;
  margin-right:auto!important;
}

/* Công cụ / đại lý */
.nasaki-home .nh-tools>a>div{text-align:center!important}

/* Blog */
.nasaki-home .nh-blog article>div{text-align:center!important}
.nasaki-home .nh-blog h3{text-align:center!important}
.nasaki-home .nh-blog .nh-more{display:inline-block;text-align:center!important}

/* Tư vấn nhanh: chỉ căn giữa phần giới thiệu, giữ form dễ nhập */
.nasaki-home .nh-quote-grid>div{text-align:center!important}
.nasaki-home .nh-quote p{
  margin-left:auto!important;
  margin-right:auto!important;
  text-align:center!important;
}
.nasaki-home .nh-quote>div>div>a{text-align:center!important}
.nasaki-home .nh-quote form,
.nasaki-home .nh-quote input,
.nasaki-home .nh-quote select,
.nasaki-home .nh-quote textarea{text-align:left}

/* Mobile nhỏ: vẫn căn giữa, không bị rule cũ kéo về trái */
@media(max-width:650px){
  .nasaki-home .nh-about-content h2,
  .nasaki-home .nh-about-content>p,
  .nasaki-home .nh-factory-content h2,
  .nasaki-home .nh-factory-content>p,
  .nasaki-home .nh-why-grid p{text-align:center!important}
  .nasaki-home .nh-panel-head{display:flex!important;flex-direction:column!important;gap:6px!important}
  .nasaki-home .nh-tab-nav button{justify-content:center!important}
}
@media(max-width:430px){
  .nasaki-home .nh-product-meta span,
  .nasaki-home .nh-product-meta span:last-child{text-align:center!important}
  .nasaki-home .nh-panel-head{display:flex!important}
  .nasaki-home .nh-tab-nav button{justify-content:center!important}
}

/* =========================================================
   6.0.7 — MOBILE: tiêu đề VỀ NASAKI trước, ảnh ngay bên dưới
   Desktop/tablet giữ nguyên bố cục 2 cột hiện tại.
   ========================================================= */
@media(max-width:650px){
  .nasaki-home .nh-about-grid{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    grid-auto-flow:row!important;
    gap:16px!important;
  }
  .nasaki-home .nh-about-content{
    display:contents!important;
  }
  .nasaki-home .nh-about-content>h2{
    order:1!important;
    margin:0 0 2px!important;
    text-align:center!important;
  }
  .nasaki-home .nh-about-image{
    order:2!important;
    width:100%!important;
    margin:0!important;
    aspect-ratio:14/9!important;
    overflow:hidden!important;
  }
  .nasaki-home .nh-about-image img{
    display:block!important;
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
    object-position:center!important;
  }
  .nasaki-home .nh-about-content>p{
    order:3!important;
    margin:2px 0 0!important;
  }
  .nasaki-home .nh-about-stats{
    order:4!important;
    margin-top:2px!important;
  }
  .nasaki-home .nh-about-content>.nh-more{
    order:5!important;
    margin-top:2px!important;
  }
}

/* =========================================================
   6.0.8 — MOBILE: đúng thứ tự VỀ NASAKI + 2 cột chứng nhận/danh mục
   Thứ tự mobile: Tiêu đề → Nội dung → Ảnh → 3 ô thông tin → Xem thêm.
   ========================================================= */
@media(max-width:650px){
  .nasaki-home .nh-about-grid{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    grid-auto-flow:row!important;
    gap:14px!important;
  }
  .nasaki-home .nh-about-content{display:contents!important}
  .nasaki-home .nh-about-content>h2{
    order:1!important;
    margin:0 0 2px!important;
    text-align:center!important;
  }
  .nasaki-home .nh-about-content>p{
    order:2!important;
    margin:0!important;
    text-align:center!important;
  }
  .nasaki-home .nh-about-image{
    order:3!important;
    width:100%!important;
    margin:2px 0 0!important;
    aspect-ratio:14/9!important;
    overflow:hidden!important;
    border-radius:10px!important;
  }
  .nasaki-home .nh-about-image img{
    display:block!important;
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
    object-position:center!important;
  }
  .nasaki-home .nh-about-stats{
    order:4!important;
    margin-top:2px!important;
  }
  .nasaki-home .nh-about-content>.nh-more{
    order:5!important;
    margin-top:2px!important;
  }

  /* Chứng nhận: luôn 2 ô / hàng trên mobile */
  .nasaki-home .nh-cert-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:9px!important;
  }
  .nasaki-home .nh-cert-card{border-radius:10px!important}
  .nasaki-home .nh-cert-image{
    height:auto!important;
    aspect-ratio:3/4!important;
    padding:6px!important;
  }
  .nasaki-home .nh-cert-card>strong{
    min-height:52px!important;
    padding:8px 7px!important;
    font-size:9.5px!important;
    line-height:1.35!important;
  }

  /* Danh mục: card gọn hơn và luôn 2 ô / hàng trên mobile */
  .nasaki-home .nh-categories{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:9px!important;
  }
  .nasaki-home .nh-category-card{border-radius:10px!important}
  .nasaki-home .nh-category-image{
    height:auto!important;
    aspect-ratio:1/1!important;
  }
  .nasaki-home .nh-category-image img{
    padding:7px!important;
    object-fit:contain!important;
  }
  .nasaki-home .nh-category-copy{padding:8px 7px!important}
  .nasaki-home .nh-category-copy strong{
    font-size:11px!important;
    line-height:1.3!important;
  }
  .nasaki-home .nh-category-copy small{
    margin-top:3px!important;
    font-size:8.5px!important;
  }
}

/* Mobile rất nhỏ: vẫn giữ 2 cột theo yêu cầu */
@media(max-width:430px){
  .nasaki-home .nh-cert-grid,
  .nasaki-home .nh-categories{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .nasaki-home .nh-cert-image{aspect-ratio:3/4!important}
  .nasaki-home .nh-category-image{aspect-ratio:1/1!important}
}
