/* ==========================================================================
   LNP – Trang chủ B2B v2 (nạp sau lnp.css, chỉ trên trang chủ)
   Màu: xanh thương hiệu + tông giấy kraft (chất liệu sản phẩm) + navy cho khối tin cậy.
   ========================================================================== */
.lnp-home { --kraft: #b7895a; --kraft-soft: #f6efe6; --sky: #eef5fd; overflow-x: clip; }
.lnp-home .lnp-sec { background: #fff; }
.lnp-home .lnp-sec__title { font-size: clamp(24px, 2.8vw, 34px); letter-spacing: -.2px; }
.lnp-home .lnp-sec__head { margin-bottom: clamp(22px, 3vw, 40px); }

/* Buttons bổ sung */
.lnp-btn--lg { min-height: 52px; padding: 0 26px; font-size: 16px; }
.lnp-btn--primary { box-shadow: 0 8px 20px rgba(10, 111, 214, .25); }
.lnp-btn--light { background: #fff; color: var(--lnp-navy) !important; border-color: var(--lnp-line); }
.lnp-btn--light:hover { border-color: var(--lnp-primary); color: var(--lnp-primary) !important; }
.lnp-btn--white { background: #fff; color: var(--lnp-primary) !important; }
.lnp-btn--white:hover { background: var(--lnp-navy); color: #fff !important; }
.lnp-btn--ghostw { border-color: rgba(255,255,255,.7); color: #fff !important; }
.lnp-btn--ghostw:hover { background: rgba(255,255,255,.12); }

/* ---------- 1. Hero ---------- */
.lnp-hero2 { position: relative; background: linear-gradient(180deg, var(--sky) 0%, #fff 100%); padding: clamp(28px, 5vw, 72px) 0 clamp(36px, 5vw, 64px); }
.lnp-hero2::before { content: ""; position: absolute; right: -120px; top: -140px; width: 520px; height: 520px; border-radius: 0; background: radial-gradient(circle, var(--kraft-soft) 0%, rgba(246,239,230,0) 70%); pointer-events: none; }
.lnp-hero2__wrap { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.lnp-hero2__title { margin: 0 0 16px; font-size: clamp(30px, 4vw, 50px); line-height: 1.1; font-weight: 800; color: var(--lnp-navy); text-wrap: balance; }
.lnp-hero2__sub { margin: 0 0 26px; font-size: clamp(16px, 1.4vw, 18px); line-height: 1.6; color: var(--lnp-muted); max-width: 560px; }
.lnp-hero2__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.lnp-hero2__points { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lnp-hero2__points li { display: flex; align-items: center; gap: 10px; margin: 0; font-weight: 600; color: var(--lnp-navy); font-size: 15px; }
.lnp-hero2__points svg { flex: 0 0 auto; color: #fff; background: var(--lnp-accent); border-radius: 0; padding: 3px; }
.lnp-hero2__media { position: relative; aspect-ratio: 4 / 3; border-radius: 0; overflow: hidden; box-shadow: none; background: #e9eef5; }
.lnp-hero2__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1s ease; }
.lnp-hero2__slide.is-on { opacity: 1; }
.lnp-hero2__slide img { width: 100%; height: 100%; object-fit: cover; }
.lnp-hero2__badge { position: absolute; left: 18px; bottom: 18px; background: rgba(255,255,255,.96); border-radius: var(--lnp-r); padding: 12px 16px; box-shadow: var(--lnp-shadow); display: grid; line-height: 1.25; animation: lnpFloat 5s ease-in-out infinite; }
.lnp-hero2__badge strong { color: var(--lnp-primary); font-size: 18px; }
.lnp-hero2__badge span { color: var(--lnp-muted); font-size: 13px; }
@keyframes lnpFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ---------- 3. Danh mục ---------- */
.lnp-tiles { padding-bottom: clamp(16px, 2vw, 24px); }
.lnp-tiles__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.lnp-tile { display: grid; justify-items: center; text-align: center; gap: 6px; padding: 18px 12px 20px; background: #fff; border: 1px solid var(--lnp-line); border-radius: var(--lnp-r); text-decoration: none !important; transition: transform .25s, box-shadow .25s, border-color .25s; }
.lnp-tile:hover { transform: translateY(-4px); box-shadow: var(--lnp-shadow); border-color: transparent; }
.lnp-tile__img { width: 112px; height: 112px; border-radius: 0; overflow: hidden; background: var(--kraft-soft); display: block; margin-bottom: 6px; }
.lnp-tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.lnp-tile:hover .lnp-tile__img img { transform: scale(1.08); }
.lnp-tile__name { font-weight: 700; color: var(--lnp-navy); font-size: 16px; }
.lnp-tile__count { font-size: 13px; color: var(--lnp-muted); }

/* ---------- 4. Khối sản phẩm (head mới, ghi đè head nền xanh cũ) ---------- */
.lnp-products .lnp-cat { padding: clamp(24px, 3vw, 40px) 0; border-top: 0 !important; }
.lnp-products .lnp-cat:nth-child(even) { background: #fafbfd; }
.lnp-cat__head { background: none !important; color: inherit !important; padding: 0 0 14px !important; border-radius: var(--lnp-r); border-bottom: 1px solid var(--lnp-line); margin-bottom: 22px !important; align-items: flex-end !important; }
.lnp-cat__heading { display: grid; gap: 2px; margin-right: auto; }
.lnp-cat__count { font-size: 13px; font-weight: 700; color: var(--kraft, #b7895a); letter-spacing: .2px; }
.lnp-cat .lnp-cat__title { font-size: clamp(22px, 2.4vw, 30px); text-transform: none; letter-spacing: -.2px; }
.lnp-cat .lnp-cat__title a { color: var(--lnp-navy) !important; }
.lnp-cat .lnp-cat__title a:hover { color: var(--lnp-primary) !important; }
.lnp-cat .lnp-cat__tabs { background: #eef2f7; padding: 4px; border-radius: var(--lnp-r); gap: 2px; }
.lnp-cat .lnp-cat__tab { border: 0; color: var(--lnp-navy); background: transparent; min-height: 38px; text-transform: none; font-size: 14px; }
.lnp-cat .lnp-cat__tab:hover { background: rgba(255,255,255,.7); }
.lnp-cat .lnp-cat__tab.is-active, .lnp-cat .lnp-cat__tab[aria-selected="true"] { background: #fff; color: var(--lnp-primary); box-shadow: 0 2px 8px rgba(11,37,69,.12); }
.lnp-cat__all { font-weight: 700; color: var(--lnp-primary) !important; text-decoration: none !important; white-space: nowrap; padding-bottom: 8px; }
.lnp-cat__all span { display: inline-block; transition: transform .2s; }
.lnp-cat__all:hover span { transform: translateX(4px); }

/* Card + overlay thông tin khi hover */
.lnp-card__media { position: relative; overflow: hidden; }
.lnp-card__thumb img { transition: transform .5s ease; }
.lnp-card__peek { position: absolute; inset: auto 0 0 0; padding: 14px 14px 12px; background: linear-gradient(180deg, rgba(11,37,69,0) 0%, rgba(11,37,69,.92) 28%); color: #fff !important; text-decoration: none !important; transform: translateY(101%); transition: transform .35s cubic-bezier(.2,.7,.2,1); display: grid; gap: 8px; }
.lnp-card__peek ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 4px; }
.lnp-card__peek li { position: relative; margin: 0; padding-left: 16px; font-size: 12.5px; line-height: 1.4; }
.lnp-card__peek li::before { content: ""; position: absolute; left: 0; top: .5em; width: 7px; height: 7px; border-radius: 0; background: #6ee7a8; }
.lnp-card__more { font-size: 13px; font-weight: 700; color: #9fd0ff; }
@media (hover: hover) and (min-width: 850px) {
	.lnp-card:hover .lnp-card__thumb img { transform: scale(1.07); }
	.lnp-card:hover .lnp-card__peek, .lnp-card:focus-within .lnp-card__peek { transform: translateY(0); }
}
@media (hover: none), (max-width: 849px) { .lnp-card__peek { display: none; } }

/* ---------- 5. Năng lực & cam kết ---------- */
.lnp-svc { background: var(--kraft-soft) !important; }
.lnp-svc__wrap { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.lnp-svc__media { border-radius: 0; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: none; }
.lnp-svc__media img { width: 100%; height: 100%; object-fit: cover; }
.lnp-svc__body .lnp-sec__title { margin-bottom: 22px; }
.lnp-svc__list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.lnp-svc__item { display: grid; grid-template-columns: 52px 1fr; gap: 14px; background: #fff; border-radius: var(--lnp-r); padding: 18px; transition: transform .25s, box-shadow .25s; }
.lnp-svc__item:hover { transform: translateY(-3px); box-shadow: var(--lnp-shadow); }
.lnp-svc__ic { width: 52px; height: 52px; border-radius: var(--lnp-r); background: var(--sky); display: grid; place-items: center; }
.lnp-svc__ic img { width: 30px; height: 30px; object-fit: contain; }
.lnp-svc__item h3 { margin: 0 0 6px; font-size: 16px; color: var(--lnp-navy); line-height: 1.35; }
.lnp-svc__item p { margin: 0; font-size: 14px; color: var(--lnp-muted); line-height: 1.55; }

/* ---------- 6. Quy trình (nâng cấp) ---------- */
.lnp-home .lnp-proc__list { position: relative; }
.lnp-home .lnp-proc__step { border: 0; background: var(--sky); transition: transform .25s, background .25s; }
.lnp-home .lnp-proc__step:hover { transform: translateY(-4px); background: #fff; box-shadow: var(--lnp-shadow); }
@media (min-width: 850px) {
	.lnp-home .lnp-proc__list::before { content: ""; position: absolute; left: 8%; right: 8%; top: 30px; height: 2px; background: repeating-linear-gradient(90deg, var(--lnp-primary) 0 8px, transparent 8px 14px); opacity: .35; }
}

/* ---------- 7. Nhà xưởng (video) ---------- */
.lnp-factory { background: var(--lnp-navy) !important; color: #fff; }
.lnp-factory .lnp-sec__title { color: #fff; }
.lnp-factory .lnp-sec__sub { color: rgba(255,255,255,.75); }
.lnp-factory__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.lnp-vid { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; border: 0; padding: 0; margin: 0; border-radius: 0; overflow: hidden; cursor: pointer; background: #000; color: #fff; text-align: left; }
.lnp-vid img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: transform .5s, opacity .3s; }
.lnp-vid:hover img { transform: scale(1.06); opacity: 1; }
.lnp-vid__play { position: absolute; left: 50%; top: 42%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: var(--lnp-r); background: rgba(255,255,255,.95); box-shadow: 0 0 0 0 rgba(255,255,255,.5); animation: lnpPulse 2.2s infinite; }
.lnp-vid__play::after { content: ""; position: absolute; left: 22px; top: 17px; border-left: 16px solid var(--lnp-primary); border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.lnp-vid__t { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px; font-size: 14px; font-weight: 600; background: linear-gradient(transparent, rgba(0,0,0,.75)); }
.lnp-vid.is-playing iframe { width: 100%; height: 100%; border: 0; }
@keyframes lnpPulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.55); } 70% { box-shadow: 0 0 0 16px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }

/* ---------- 8. Chứng nhận ---------- */
.lnp-certs2__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.lnp-cert { margin: 0; background: #fff; border: 1px solid var(--lnp-line); border-radius: 0; overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.lnp-cert:hover { transform: translateY(-4px); box-shadow: var(--lnp-shadow); }
.lnp-cert__img { display: block; aspect-ratio: 4 / 5; background: #f3f5f8; padding: 14px; }
.lnp-cert__img img { width: 100%; height: 100%; object-fit: contain; }
.lnp-cert figcaption { padding: 14px 16px 18px; display: grid; gap: 6px; }
.lnp-cert strong { color: var(--lnp-navy); font-size: 15px; line-height: 1.35; }
.lnp-cert span { font-size: 13.5px; color: var(--lnp-muted); line-height: 1.5; }

/* ---------- 9. Giải pháp theo ngành ---------- */
.lnp-ind { background: var(--sky) !important; }
.lnp-ind__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.lnp-ind__item { position: relative; display: block; background: #fff; border-radius: var(--lnp-r); padding: 22px 18px 44px; text-decoration: none !important; border: 1.5px solid transparent; transition: border-color .25s, transform .25s; }
.lnp-ind__item:hover { border-color: var(--lnp-primary); transform: translateY(-4px); }
.lnp-ind__ic { width: 56px; height: 56px; border-radius: var(--lnp-r); display: grid; place-items: center; background: var(--kraft-soft); color: var(--kraft); margin-bottom: 14px; transition: background .25s, color .25s; }
.lnp-ind__item:hover .lnp-ind__ic { background: var(--lnp-primary); color: #fff; }
.lnp-ind__item h3 { margin: 0 0 6px; font-size: 16px; color: var(--lnp-navy); }
.lnp-ind__item p { margin: 0; font-size: 14px; color: var(--lnp-muted); line-height: 1.5; }
.lnp-ind__go { position: absolute; left: 18px; bottom: 14px; color: var(--lnp-primary); font-weight: 700; transition: transform .2s; }
.lnp-ind__item:hover .lnp-ind__go { transform: translateX(6px); }

/* ---------- 10. Khách hàng nói gì ---------- */
.lnp-tst__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.lnp-tst__item { margin: 0; background: #fff; border: 1px solid var(--lnp-line); border-radius: var(--lnp-r); padding: 22px; display: flex; flex-direction: column; gap: 16px; position: relative; }
.lnp-tst__item::before { content: "“"; position: absolute; right: 18px; top: 4px; font-size: 72px; line-height: 1; color: var(--kraft-soft); font-family: Georgia, serif; }
.lnp-tst__item blockquote { margin: 0; font-size: 15px; line-height: 1.6; color: var(--lnp-text); flex: 1; position: relative; }
.lnp-tst__item figcaption { display: flex; align-items: center; gap: 12px; }
.lnp-tst__av { width: 44px; height: 44px; border-radius: 0; overflow: hidden; background: var(--sky); flex: 0 0 auto; }
.lnp-tst__av img { width: 100%; height: 100%; object-fit: cover; }
.lnp-tst__item strong { color: var(--lnp-navy); }

/* ---------- 12. Dải CTA ---------- */
.lnp-cta { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--lnp-primary) 0%, #0b4f9c 100%); color: #fff; padding: clamp(36px, 5vw, 64px) 0; }
.lnp-cta::before, .lnp-cta::after { content: ""; position: absolute; border-radius: 0; border: 40px solid rgba(255,255,255,.06); }
.lnp-cta::before { width: 360px; height: 360px; right: -80px; top: -160px; }
.lnp-cta::after { width: 240px; height: 240px; left: 30%; bottom: -170px; }
.lnp-cta__wrap { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.lnp-cta h2 { margin: 0 0 8px; color: #fff; font-size: clamp(22px, 2.6vw, 32px); line-height: 1.25; }
.lnp-cta p { margin: 0; opacity: .9; font-size: 16px; }
.lnp-cta__btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- 13. Tin tức ---------- */
.lnp-news__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.lnp-post { display: flex; flex-direction: column; gap: 8px; text-decoration: none !important; color: inherit !important; }
.lnp-post__img { display: block; aspect-ratio: 16 / 10; border-radius: 0; overflow: hidden; background: var(--sky); }
.lnp-post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.lnp-post:hover .lnp-post__img img { transform: scale(1.05); }
.lnp-post__date { font-size: 13px; color: var(--kraft); font-weight: 700; margin-top: 4px; }
.lnp-post h3 { margin: 0; font-size: 18px; line-height: 1.4; color: var(--lnp-navy); transition: color .2s; }
.lnp-post:hover h3 { color: var(--lnp-primary); }
.lnp-post p { margin: 0; font-size: 14.5px; color: var(--lnp-muted); line-height: 1.55; }

/* FAQ & Quote trên trang chủ */
.lnp-home .lnp-faq { background: #fafbfd !important; }

/* ---------- Footer shortcode [lnp_footer] ---------- */
.lnp-foot { background: #071a33; color: rgba(255,255,255,.78); font-size: 14.5px; }
.lnp-foot__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 32px; padding-top: 48px; padding-bottom: 36px; }
.lnp-foot strong { display: block; color: #fff; font-size: 16px; margin-bottom: 12px; }
.lnp-foot__name { font-size: 17px !important; }
.lnp-foot p { margin: 0 0 8px; line-height: 1.55; }
.lnp-foot a { color: rgba(255,255,255,.85); text-decoration: none; }
.lnp-foot a:hover { color: #fff; text-decoration: underline; }
.lnp-foot nav a { display: block; margin-bottom: 8px; }
.lnp-foot__cta .lnp-btn { margin-top: 6px; }
.lnp-foot__bar { border-top: 1px solid rgba(255,255,255,.1); padding: 16px 0; font-size: 13px; }

/* ---------- Hiệu ứng xuất hiện ---------- */
.lnp-anim .lnp-reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.lnp-anim .lnp-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.lnp-hero2__badge, .lnp-vid__play { animation: none; }
	.lnp-hero2__slide { transition: none; }
}

/* ---------- Responsive ---------- */
/* Danh mục + Khách hàng nói gì: tablet & mobile (≤1024px) = slider tự chạy, đúng 2 ô / màn hình (lnp.js) */
@media (max-width: 1024px) {
	.lnp-tiles__grid, .lnp-tst__grid {
		grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc((100% - 14px) / 2);
		gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
		scrollbar-width: none; padding-bottom: 4px;
	}
	.lnp-tiles__grid::-webkit-scrollbar, .lnp-tst__grid::-webkit-scrollbar { display: none; }
	.lnp-tile, .lnp-tst__item { scroll-snap-align: start; }
}
@media (max-width: 1024px) {
	.lnp-svc__list { grid-template-columns: 1fr; }
	.lnp-factory__grid, .lnp-certs2__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lnp-ind__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.lnp-foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 849px) {
	.lnp-hero2__wrap { grid-template-columns: 1fr; }
	.lnp-hero2__media { order: -1; aspect-ratio: 16 / 11; border-radius: 0; }
	.lnp-hero2__cta .lnp-btn { flex: 1 1 100%; }
	.lnp-tile { scroll-snap-align: start; padding: 14px 10px; }
	.lnp-tile__img { width: 84px; height: 84px; }
	.lnp-cat__head { flex-direction: column; align-items: stretch !important; gap: 10px !important; }
	.lnp-cat__all { position: absolute; right: 15px; margin-top: 6px; font-size: 14px; }
	.lnp-products .lnp-cat .l-container { position: relative; }
	/* Slider sản phẩm mobile: đúng 2 ô / màn hình, 1 hàng, tự chạy (lnp.js) */
	.lnp-grid.lnp-grid--rows { --lnp-rows: 1 !important; grid-template-rows: auto; grid-auto-columns: calc((100% - 12px) / 2); margin-right: 0; padding-right: 0; }
	.lnp-svc__wrap { grid-template-columns: 1fr; }
	.lnp-svc__media { aspect-ratio: 16 / 10; }
	.lnp-factory__grid, .lnp-certs2__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
	.lnp-vid__t { font-size: 12.5px; }
	.lnp-ind__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
	.lnp-tst__item { padding: 16px; }
	.lnp-tst__item blockquote { font-size: 14px; }
	.lnp-tst__item figcaption { gap: 8px; font-size: 14px; }
	.lnp-tst__av { width: 36px; height: 36px; }
	.lnp-news__grid { grid-template-columns: 1fr; }
	.lnp-foot__grid { grid-template-columns: 1fr; gap: 22px; }
	.lnp-cta__btns .lnp-btn { flex: 1 1 100%; }
}

/* Hero fallback dùng banner cũ (ảnh rộng có chữ): hiển thị trọn ảnh, không cắt */
.lnp-hero2__media.is-banner { aspect-ratio: 2.7 / 1; background: #fff; }
.lnp-hero2__media.is-banner .lnp-hero2__slide img { object-fit: contain; }
@media (min-width: 850px) { .lnp-hero2__wrap:has(.is-banner) { grid-template-columns: 1fr; } .lnp-hero2__wrap:has(.is-banner) .lnp-hero2__copy { max-width: 820px; } }
