/* Banner mới: chữ bên trái, sản phẩm bên phải như ảnh mẫu */
.hero::after{background:linear-gradient(90deg,rgba(6,30,34,.62) 0%,rgba(6,30,34,.38) 42%,rgba(6,30,34,0) 62%)}
.hero-inner{align-items:flex-start;text-align:left;justify-content:center;padding:40px 46% 120px max(72px,6vw)}
.hero h1{font-size:clamp(2.4rem,4vw,4rem);max-width:none;text-wrap:wrap}
.hero-actions{justify-content:flex-start}
.slide img{object-position:center}
.lab-banners{display:grid;gap:0;padding:0;padding-block:0}.lab-banners img{width:100%;height:auto;display:block}
@media (max-width:760px){
 .slide img{object-position:76% 80%}
 .hero::after{background:linear-gradient(180deg,rgba(6,30,34,.85) 0%,rgba(6,30,34,.7) 55%,rgba(6,30,34,.1) 85%)}
 .hero-inner{padding:40px 20px 52%;justify-content:flex-start}
 .lab-banners{overflow-x:auto;grid-auto-flow:column;grid-auto-columns:100%;scroll-snap-type:x mandatory}
}
@media (max-width:760px){
 .hero .slide{inset:auto 0 72px 0;height:56.25vw}
 .hero .slide img{object-fit:cover;object-position:center}
 .hero{height:auto}
 .hero-inner{height:auto;padding-bottom:calc(56.25vw + 72px)}
 .hero::after{background:linear-gradient(180deg,rgba(6,30,34,.55) 0%,rgba(6,30,34,.4) 50%,rgba(6,30,34,0) 100%)}
}

/* Mỗi banner một headline + sub-headline riêng */
.hero-copies{display:grid;gap:0;width:100%}
.hero-copy{grid-area:1/1;display:flex;flex-direction:column;gap:22px;opacity:0;visibility:hidden;transition:opacity .6s,visibility .6s}
.hero-copy.on{opacity:1;visibility:visible}
.hero .hero-copy h1{font-size:clamp(1.9rem,3.2vw,3.2rem);max-width:none;text-wrap:wrap}
.hero .hero-copy .lead{font-size:clamp(.95rem,1.15vw,1.1rem);max-width:none;text-wrap:wrap}
@media (max-width:760px){.hero .hero-copy h1{font-size:1.7rem}.hero .hero-copy .lead{font-size:.9rem}}

/* Banner 5: ảnh nền sạch + chữ HTML. 1cqw = 1/100 chiều rộng banner, khớp bố cục ảnh gốc 2000px (x/20) */
.lab-banners .lb5{position:relative;display:block;container-type:inline-size;aspect-ratio:2880/1080;overflow:hidden}
.lab-banners .lb5 picture,.lab-banners .lb5 img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.lb5-copy{position:absolute;inset:0;color:var(--ink)}
.lb5-copy>*{position:absolute;margin:0;left:43cqw}
.lb5-title{top:4.0cqw;font:700 4.3cqw/1.4 var(--font-head);letter-spacing:-.005em;text-transform:uppercase;color:var(--ink);white-space:nowrap}
.lb5-title span{color:var(--teal-deep)}
.lb5-lead{top:15.9cqw;width:32cqw;font:400 1.2cqw/1.45 var(--font-body);color:var(--slate-text);margin-top:0}
.lb5-certs{top:21.8cqw;display:flex;gap:2.4cqw;list-style:none;padding:0}
.lb5-certs li{width:6cqw;display:grid;justify-items:center}
.lb5-certs b{width:6cqw;height:6cqw;border:.16cqw solid var(--teal-deep);border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.2cqw;text-align:center;font:700 1.15cqw/1 var(--font-head);color:var(--teal-deep);background:rgba(255,255,255,.55)}
.lb5-certs b svg{width:2.1cqw;height:2.1cqw}
.lb5-certs span{margin-top:.7cqw;font:600 1.05cqw/1 var(--font-body);color:#0f2a3d;text-transform:uppercase;white-space:nowrap}
.lb5-btn{top:31cqw;display:inline-flex;align-items:center;justify-content:space-between;gap:1.4cqw;height:3.4cqw;width:21.5cqw;padding:0 2cqw;border-radius:.25cqw;background:var(--teal-deep);color:#fff;font:700 1.1cqw/1 var(--font-head);text-transform:uppercase;white-space:nowrap}
.lb5-btn svg{width:1.7cqw;height:1.7cqw}

/* Banner 6: ảnh nền sạch + chữ HTML (1cqw = 1% chiều rộng banner; số liệu = toạ độ ảnh 2000px / 20) */
.lab-banners .lb6{position:relative;display:block;container-type:inline-size;aspect-ratio:2880/1080;overflow:hidden}
.lab-banners .lb6 picture,.lab-banners .lb6 img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.lb6-copy{position:absolute;inset:0;color:#fff}
.lb6-copy>*{position:absolute;margin:0;left:5.2cqw}
.lb6-eyebrow{top:5.35cqw;display:flex;align-items:center;gap:1cqw;font:600 1.05cqw/1 var(--font-head);letter-spacing:.2em;text-transform:uppercase;color:#6dc3c1}
.lb6-eyebrow::before{content:"";width:3.15cqw;height:.15cqw;background:#3ba9a8}
.lb6-title{top:7.95cqw;font:600 3.05cqw/1.34 var(--font-head);white-space:nowrap}
.lb6-title span{color:#4cbcb6}
.lb6-lead{top:17.25cqw;font:400 1.2cqw/1.5 var(--font-body);color:rgba(255,255,255,.85);white-space:nowrap}
.lb6-chips{top:22.95cqw;display:flex;gap:.85cqw;list-style:none;padding:0}
.lb6-chips li{height:2.4cqw;display:flex;align-items:center;padding:0 1.05cqw;border:.06cqw solid #62a8a6;border-radius:.2cqw;background:rgba(255,255,255,.04);font:500 1.1cqw/1 var(--font-body);white-space:nowrap}
.lb6-btn{top:28.8cqw;width:18.1cqw;height:3.15cqw;display:inline-flex;align-items:center;justify-content:center;gap:1.3cqw;border-radius:.2cqw;background:#fff;color:var(--ink);font:700 1.2cqw/1 var(--font-head);white-space:nowrap}
.lb6-btn svg{width:1.7cqw;height:1.7cqw}

/* hiệu ứng chữ banner phòng thí nghiệm (JS thêm .is-in khi cuộn tới) */
@media (prefers-reduced-motion: no-preference) {
  html.js .lb5-copy > *, html.js .lb6-copy > * { opacity: 0; transform: translateY(2.2cqw); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
  html.js .lb5-eyebrow, html.js .lb6-eyebrow { transform: translateX(-2cqw); transition-delay: .1s; }
  html.js .lb5-title, html.js .lb6-title { transition-delay: .25s; }
  html.js .lb5-lead, html.js .lb6-lead { transition-delay: .45s; }
  html.js .lb5-certs, html.js .lb6-chips, html.js .lb5-btn, html.js .lb6-btn { transition-delay: .6s; }
  html.js .lb5-btn, html.js .lb6-btn { transition-delay: .95s; }
  html.js .lb5.is-in .lb5-copy > *, html.js .lb6.is-in .lb6-copy > * { opacity: 1; transform: none; }

  /* từng vòng chứng nhận / nhãn nhảy lên lần lượt */
  html.js .lb5-certs { opacity: 1 !important; transform: none !important; }
  html.js .lb5-certs li, html.js .lb6-chips li { opacity: 0; transform: translateY(1.2cqw) scale(.9); transition: opacity .7s var(--ease), transform .9s var(--ease); }
  html.js .lb5.is-in .lb5-certs li, html.js .lb6.is-in .lb6-chips li { opacity: 1; transform: none; }
  html.js .lb5-certs li:nth-child(1), html.js .lb6-chips li:nth-child(1) { transition-delay: .6s; }
  html.js .lb5-certs li:nth-child(2), html.js .lb6-chips li:nth-child(2) { transition-delay: .72s; }
  html.js .lb5-certs li:nth-child(3), html.js .lb6-chips li:nth-child(3) { transition-delay: .84s; }
  html.js .lb5-certs li:nth-child(4), html.js .lb6-chips li:nth-child(4) { transition-delay: .96s; }
  html.js .lb6-chips { opacity: 1 !important; transform: none !important; }

  /* gạch ngang của nhãn được vẽ ra, ảnh nền zoom nhẹ vào */
  html.js .lb6-eyebrow::before { transform: scaleX(0); transform-origin: 0 50%; transition: transform 1s var(--ease) .35s; }
  html.js .lb6.is-in .lb6-eyebrow::before { transform: none; }
  html.js .lb5 picture, html.js .lb6 picture { transform: scale(1.05); transition: transform 2.2s var(--ease); }
  html.js .lb5.is-in picture, html.js .lb6.is-in picture { transform: none; }

  /* nút: mũi tên trượt khi rê chuột */
  .lb5-btn svg, .lb6-btn svg { transition: transform .35s var(--ease); }
  .lb5:hover .lb5-btn svg, .lb6:hover .lb6-btn svg { transform: translateX(.5cqw); }
}

/* Banner Giới thiệu: ảnh tràn ngang, tiêu đề ở giữa */
main .banner.full.gt-full{aspect-ratio:2000/400;height:auto;min-height:200px;place-items:center}
main .banner.full.gt-full::before{display:none}
main .banner.full.gt-full>img{left:0;width:100%;height:100%;margin:0;object-fit:cover;object-position:center 85%}
main .banner.full.gt-full.gt-ar{aspect-ratio:var(--ar,2000/583);min-height:220px}
main .banner.full.gt-full.gt-ar>img{object-position:center 46%}
@media (min-width:701px){
  main .banner.full.gt-full.gt-left{justify-items:start;text-align:left;padding-left:clamp(24px,24vw,480px)}
  /* Sản phẩm: tiêu đề nằm giữa cột Danh mục (rộng 300px, bắt đầu từ lề trái của .wrap) */
  main .banner.full.gt-full.gt-left.gt-side{padding-left:calc((100% - min(100% - var(--gutter)*2, var(--wrap)))/2)}
  main .banner.full.gt-full.gt-side>div{position:relative;left:56px;width:max-content;white-space:nowrap;display:flex;flex-direction:column;align-items:flex-start;text-align:left}
}
@media (max-width:700px){
  main .banner.full.gt-full{min-height:280px}
  main .banner.full.gt-full>img{object-position:64% bottom}
  main .banner.full.gt-full.gt-ar{min-height:150px}
  main .banner.full.gt-full.gt-ar>img{object-position:center 46%}
  main .banner.full.gt-full h1{font-size:1.55rem}
  main .banner.full.gt-full .crumbs{margin-top:2px;font-size:.8rem}
}

/* Giữ chiều rộng trang cố định (có/không thanh cuộn) để banner các trang con luôn cùng khung, không bị lệch ảnh khi chuyển trang */
html{scrollbar-gutter:stable}

/* Chữ banner đậm trên nền sáng (thay chữ trắng trên lớp phủ tối): tiêu đề màu teal đậm của logo, sub-headline màu mực */
.hero::after{background:linear-gradient(90deg,rgba(247,251,251,.62) 0%,rgba(247,251,251,.4) 35%,rgba(247,251,251,.12) 52%,rgba(247,251,251,0) 62%)}
.hero .hero-copy h1{color:#173B50;text-shadow:0 0 6px rgba(255,255,255,.9),0 0 22px rgba(255,255,255,.85)}
.hero .hero-copy .lead{color:#173B50;font-weight:500;text-shadow:0 0 5px rgba(255,255,255,.95),0 0 16px rgba(255,255,255,.9)}
.hero .btn-line{border-color:var(--teal-deep);color:var(--teal-deep);background:rgba(255,255,255,.55)}
.hero .btn-line:hover{background:var(--teal-deep);color:#fff;border-color:var(--teal-deep)}
.hero .btn-teal{background:var(--teal-deep);color:#fff}
.hero .btn-teal:hover{background:var(--ink);color:#fff}
.hero .dots button{background:rgba(15,44,49,.28)}
.hero .dots button[aria-current="true"]{background:var(--teal-deep)}
.hero .scroll-cue{color:var(--ink)}
@media (max-width:760px){
 .hero::after{background:linear-gradient(180deg,rgba(247,251,251,.75) 0%,rgba(247,251,251,.55) 55%,rgba(247,251,251,0) 100%)}
}

/* Tiêu đề banner: chỉ ngắt dòng giữa các cụm từ, không cắt giữa cụm */
.hero .hero-copy h1 .ph{display:inline-block}
/* Banner 1: tiêu đề hai dòng, dòng đầu "Vật liệu kết dính linh hoạt và bền bỉ" */
@media (min-width:761px){
 .hero .hero-copy h1.h1-wide{margin-right:-30vw}
 .hero .hero-copy h1.h1-wide .ph{white-space:nowrap}
}

/* Đẩy khối chữ banner trang chủ lên cao hơn để không che sản phẩm (màn hình rộng) */
@media (min-width:1001px){.hero-inner{padding-bottom:calc(120px + 33vh)}}
