/* IMP Kitchen – trang chủ phong cách đen than tối giản (lấy cảm hứng bố cục biên tập), bản 2.9.0 */
:root { --sm-bg: #1a1a1a; --sm-bk: #0b0b0b; --sm-w: #fff; --sm-t: rgba(255,255,255,.86); --sm-mu: rgba(255,255,255,.5); --sm-ln: rgba(255,255,255,.12); --sm-f: "Inter", -apple-system, "Segoe UI", Arial, sans-serif; --sm-e: cubic-bezier(.22,1,.36,1); }
html body.home, html body.home #wrapper, html body.home #main, html body.home .page-wrapper { background: var(--sm-bg) !important; }
html body.home #main > .row, html body.home .page-wrapper { padding: 0 !important; }
html body[class] .sm { background: var(--sm-bg); color: var(--sm-t); font: 300 15px/1.7 var(--sm-f); -webkit-font-smoothing: antialiased; overflow-x: clip; }
html body[class] .sm *, html body[class] .sm *::before, html body[class] .sm *::after { box-sizing: border-box; }
html body[class] .sm :is(h1, h2, h3, p, li, a, span, b, small, address, button, label, input, select, textarea) { font-family: var(--sm-f) !important; letter-spacing: 0; text-transform: none; }
html body[class] .sm :is(h1, h2, h3) { margin: 0 !important; font-weight: 300 !important; color: var(--sm-w) !important; line-height: 1.12 !important; letter-spacing: -.015em !important; }
html body[class] .sm h2 { font-size: clamp(30px, 1.2rem + 2.2vw, 46px) !important; }
html body[class] .sm p { margin: 0 !important; }
html body[class] .sm a { text-decoration: none !important; background-image: none; }
html body[class] .sm figure { margin: 0 !important; }
html body[class] .sm img { display: block; max-width: none; }
.sm-wrap { width: min(1152px, calc(100% - 48px)); margin: 0 auto; }
.sm-sec { position: relative; padding: clamp(84px, 9vw, 140px) 0; }
html body[class] .sm .sm-label { font-size: 13px !important; font-weight: 300 !important; color: var(--sm-mu) !important; margin-bottom: 22px !important; }
html body[class] .sm .sm-p { margin-top: 28px !important; max-width: 27em; font-size: 15px !important; line-height: 1.75 !important; color: var(--sm-t) !important; }
/* liên kết "● Xem thêm" */
html body[class] .sm a.sm-more { display: inline-flex; align-items: center; gap: 16px; margin-top: 40px; font-size: 15px !important; font-weight: 300 !important; color: var(--sm-w) !important; }
.sm-more i { width: 6px; height: 6px; border-radius: 50%; background: var(--sm-w); transition: transform .5s var(--sm-e); }
.sm-more:hover i { transform: scale(2.2); }
html body[class] .sm a.sm-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 28px; background: var(--sm-w); color: #111 !important; font-size: 14px !important; font-weight: 400 !important; transition: background .4s, color .4s; }
html body[class] .sm a.sm-btn:hover { background: #d9d9d9; }
/* hiện dần khi cuộn */
.sm-rv { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--sm-e) var(--d, 0s), transform 1.1s var(--sm-e) var(--d, 0s); }
.sm-rv.is-in { opacity: 1; transform: none; }
.sm-clip { overflow: hidden; clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--sm-e); }
.sm-clip.is-in { clip-path: inset(0 0 0 0); }
.sm-clip img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); transition: transform 1.8s var(--sm-e); }
.sm-clip.is-in img { transform: scale(1.04); }
/* 1. Hero */
.sm-hero { position: relative; height: 100svh; min-height: 620px; max-height: 1100px; overflow: hidden; background: #000; color: var(--sm-w); }
.sm-hero__bg, .sm-slide, .sm-hero__shade { position: absolute; inset: 0; }
.sm-slide { opacity: 0; transition: opacity 1.6s ease; }
.sm-slide.is-on { opacity: 1; }
.sm-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 9s linear; }
.sm-slide.is-on img { transform: scale(1); }
.sm-hero__video { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s; pointer-events: none; overflow: hidden; }
.sm-hero.has-video .sm-hero__video { opacity: 1; }
.sm-hero__video iframe { position: absolute; top: 50%; left: 50%; width: 177.78vh; height: 56.25vw; min-width: 100%; min-height: 100%; max-width: none !important; transform: translate(-50%, -50%) scale(1.06); border: 0; }
.sm-hero__shade { background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.12) 34%, rgba(0,0,0,.18) 62%, var(--sm-bg) 100%), linear-gradient(270deg, rgba(0,0,0,.55), rgba(0,0,0,0) 60%); }
.sm-hero__in { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.sm-hero__txt { margin-left: auto; max-width: 620px; text-align: right; padding-top: 60px; }
html body[class] .sm .sm-hero__kick { font-size: 13px !important; color: rgba(255,255,255,.7) !important; margin-bottom: 18px !important; }
html body[class] .sm .sm-hero h1 { font-size: clamp(40px, 1.2rem + 3.4vw, 72px) !important; line-height: 1.02 !important; letter-spacing: -.03em !important; }
html body[class] .sm .sm-hero__sub { margin: 26px 0 0 auto !important; max-width: 25em; font-size: 16px !important; line-height: 1.6 !important; color: rgba(255,255,255,.86) !important; }
.sm-hero__ctas { display: flex; justify-content: flex-end; align-items: center; gap: 28px; margin-top: 36px !important; }
html body[class] .sm .sm-hero__ctas a.sm-more { margin: 0; }
.sm-hero__foot { position: absolute; left: 0; right: 0; bottom: 48px; display: flex; justify-content: space-between; align-items: center; }
html body[class] .sm a.sm-hero__scroll { font-size: 14px !important; color: rgba(255,255,255,.7) !important; }
.sm-hero__ctl { display: flex; align-items: center; gap: 28px; }
html body[class] .sm button.sm-sound { all: unset; cursor: pointer; font: 300 13px/1 var(--sm-f) !important; color: rgba(255,255,255,.7); display: none; }
.sm-hero.has-video button.sm-sound { display: inline-block; }
.sm-hero.has-video .sm-dots--hero, .sm-hero.has-video .sm-hero__ctl .sm-dots { display: none; }
.sm-dots { display: inline-flex; align-items: center; gap: 22px; }
html body[class] .sm .sm-dots button { all: unset; cursor: pointer; width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.45); transition: all .5s var(--sm-e); }
html body[class] .sm .sm-dots button.is-on { width: 9px; height: 9px; background: transparent; box-shadow: inset 0 0 0 1px #fff; }
/* 2. Giải pháp (kiểu "Concept") */
.sm-concept__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.sm-concept__txt { padding-left: clamp(0px, 6vw, 72px); }
.sm-list { list-style: none; margin: 40px 0 0 !important; padding: 0; counter-reset: l; border-top: 1px solid var(--sm-ln); }
html body[class] .sm .sm-list li { counter-increment: l; margin: 0 !important; border-bottom: 1px solid var(--sm-ln); }
html body[class] .sm .sm-list a { display: grid; grid-template-columns: 36px 1fr; gap: 4px 0; padding: 18px 0; color: var(--sm-w) !important; transition: padding .5s var(--sm-e); }
.sm-list a::before { content: "0" counter(l); grid-row: span 2; font-size: 12px; line-height: 1.9; color: var(--sm-mu); }
html body[class] .sm .sm-list b { font-size: 16px !important; font-weight: 400 !important; }
html body[class] .sm .sm-list span { font-size: 13.5px !important; line-height: 1.6 !important; color: var(--sm-mu) !important; }
html body[class] .sm .sm-list a:hover { padding-left: 10px; }
.sm-collage { position: relative; height: clamp(460px, 56vw, 760px); }
.sm-collage__a { position: absolute; right: 0; top: 0; width: 72%; height: 100%; }
.sm-collage__b { position: absolute; left: 0; bottom: 12%; width: 44%; height: 56%; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); }
/* 3. Mẫu tủ bếp: dải chạy ngang */
.sm-prod { padding-bottom: clamp(70px, 8vw, 120px); }
.sm-prod__head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 0 40px; margin-bottom: 52px; }
.sm-prod__head .sm-label { grid-column: 1 / -1; }
html body[class] .sm .sm-prod__head a.sm-more { margin: 0; }
.sm-prod__rail { position: relative; display: flex; }
.sm-prod__side { flex: 0 0 auto; width: max(24px, calc((100vw - 1152px) / 2)); display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 22px; padding-top: 4px; writing-mode: vertical-rl; transform: rotate(180deg); }
html body[class] .sm .sm-prod__side span { font-size: 13px !important; color: var(--sm-mu) !important; }
html body[class] .sm .sm-prod__side b { font-size: 13px !important; font-weight: 300 !important; color: var(--sm-w) !important; padding-top: 22px; border-top: 1px solid var(--sm-ln); }
.sm-track { flex: 1 1 auto; display: flex; gap: 36px; overflow-x: auto; scroll-snap-type: x proximity; padding: 0 24px 6px 0; scrollbar-width: none; cursor: grab; outline: none; }
.sm-track::-webkit-scrollbar { display: none; }
.sm-track.is-drag { cursor: grabbing; scroll-snap-type: none; }
.sm-track.is-drag a { pointer-events: none; }
html body[class] .sm a.sm-card { flex: 0 0 clamp(250px, 26vw, 360px); scroll-snap-align: start; display: flex; flex-direction: column; color: var(--sm-w) !important; }
.sm-card figure { aspect-ratio: 3 / 4; overflow: hidden; background: #111; }
.sm-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--sm-e); pointer-events: none; }
.sm-card:hover img { transform: scale(1.05); }
html body[class] .sm .sm-card__t { margin-top: 18px; text-align: right; font-size: 15px !important; font-weight: 300 !important; }
html body[class] .sm .sm-card__d { margin-top: 4px; text-align: right; font-size: 12.5px !important; color: var(--sm-mu) !important; }
html body[class] .sm a.sm-card--all { justify-content: center; align-items: center; gap: 16px; aspect-ratio: 3 / 4; height: auto; border: 1px solid var(--sm-ln); transition: background .5s; }
html body[class] .sm a.sm-card--all:hover { background: rgba(255,255,255,.05); }
html body[class] .sm .sm-card--all .sm-card__t { margin: 0; text-align: center; }
html body[class] .sm .sm-card__arr { font-size: 22px !important; color: var(--sm-w) !important; }
.sm-prod__bar { height: 1px; background: var(--sm-ln); margin-top: 44px; position: relative; }
.sm-prod__bar i { position: absolute; left: 0; top: -.5px; height: 2px; width: var(--p, 20%); background: var(--sm-w); transition: width .2s linear; }
/* 4. Vật liệu (kiểu "Feature") */
.sm-feat { position: relative; min-height: clamp(600px, 86vh, 900px); display: flex; align-items: flex-end; padding: 0 0 clamp(48px, 6vw, 80px); overflow: hidden; }
.sm-feat__media { position: absolute; inset: 0; }
.sm-feat__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity 1.2s ease, transform 6s var(--sm-e); }
.sm-feat__media img.is-on { opacity: 1; transform: scale(1); }
.sm-feat__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--sm-bg) 0%, rgba(26,26,26,0) 18%, rgba(0,0,0,0) 70%, rgba(0,0,0,.25) 100%); }
.sm-feat__in { position: relative; z-index: 2; display: flex; justify-content: flex-end; }
.sm-feat__card { width: min(400px, 100%); background: var(--sm-bk); padding: 38px 36px 30px; }
.sm-feat__slides { display: grid; }
.sm-feat__s { grid-area: 1 / 1; opacity: 0; transform: translateY(14px); transition: opacity .8s var(--sm-e), transform .8s var(--sm-e); pointer-events: none; }
.sm-feat__s.is-on { opacity: 1; transform: none; pointer-events: auto; }
html body[class] .sm .sm-feat h2 { font-size: 26px !important; line-height: 1.25 !important; }
html body[class] .sm .sm-feat__s p { margin-top: 22px !important; font-size: 13.5px !important; line-height: 1.75 !important; color: var(--sm-t) !important; }
html body[class] .sm .sm-feat__s p.sm-feat__l { margin-top: 14px !important; font-size: 12.5px !important; color: var(--sm-mu) !important; }
.sm-feat__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--sm-ln); }
html body[class] .sm .sm-feat__foot a.sm-more { margin: 0; font-size: 13px !important; }
/* 5. Công trình (kiểu "Story") */
.sm-story__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.sm-story__media { position: relative; height: clamp(420px, 46vw, 640px); }
.sm-story__a { position: absolute; left: 0; top: 14%; width: 72%; height: 66%; }
.sm-story__b { position: absolute; right: 0; top: 0; width: 40%; height: 62%; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); }
/* 6. Quy trình */
.sm-proc { padding-top: clamp(60px, 7vw, 110px); }
.sm-proc__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 56px; }
html body[class] .sm .sm-proc__head a.sm-more { margin: 0; }
.sm-steps { list-style: none; margin: 0 !important; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--sm-ln); }
html body[class] .sm .sm-steps li { margin: 0 !important; padding: 26px 22px 6px 0; display: grid; gap: 10px; align-content: start; position: relative; }
.sm-steps li::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 0; background: var(--sm-w); transition: width 1.2s var(--sm-e) var(--d, 0s); }
.sm-steps li.is-in::before { width: 40px; }
html body[class] .sm .sm-steps span { font-size: 12px !important; color: var(--sm-mu) !important; }
html body[class] .sm .sm-steps b { font-size: 16px !important; font-weight: 400 !important; color: var(--sm-w) !important; line-height: 1.35; }
html body[class] .sm .sm-steps p { font-size: 13.5px !important; line-height: 1.65 !important; color: var(--sm-mu) !important; }
.sm-vals { list-style: none; margin: 72px 0 0 !important; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
html body[class] .sm .sm-vals li { margin: 0 !important; padding: 28px 28px 28px 0; border-top: 1px solid var(--sm-ln); display: grid; gap: 8px; }
html body[class] .sm .sm-vals b { font-size: 20px !important; font-weight: 300 !important; color: var(--sm-w) !important; }
html body[class] .sm .sm-vals span { font-size: 13.5px !important; color: var(--sm-mu) !important; }
/* 7. Nhận tư vấn */
.sm-contact { background: var(--sm-bk); }
.sm-contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 8vw, 120px); align-items: start; }
html body[class] .sm .sm-contact h2 { max-width: 14em; }
.sm-info { list-style: none; margin: 44px 0 0 !important; padding: 0; border-top: 1px solid var(--sm-ln); max-width: 460px; }
html body[class] .sm .sm-info li { margin: 0 !important; display: grid; grid-template-columns: 100px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--sm-ln); font-size: 14px !important; }
html body[class] .sm .sm-info span { font-size: 12.5px !important; color: var(--sm-mu) !important; }
html body[class] .sm .sm-info :is(a, address) { color: var(--sm-w) !important; font-style: normal; font-size: 14px !important; }
html body[class] .sm .sm-form .fluentform { margin: 0; }
html body[class] .sm .sm-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
html body[class] .sm .sm-form .ff-el-group { margin: 0 0 26px !important; }
html body[class] .sm .sm-form .ff-el-group:has(select), html body[class] .sm .sm-form .ff_submit_btn_wrapper, html body[class] .sm .sm-form .ff-el-group:has(textarea) { grid-column: 1 / -1; }
html body[class] .sm .sm-form .ff-el-input--label label { font-size: 12.5px !important; font-weight: 300 !important; color: var(--sm-mu) !important; margin: 0 0 6px !important; letter-spacing: 0 !important; text-transform: none !important; }
html body[class] .sm .sm-form .ff-el-input--label.ff-el-is-required label::after { color: var(--sm-mu) !important; }
html body[class] .sm .sm-form .ff-el-form-control { background: transparent !important; border: 0 !important; border-bottom: 1px solid rgba(255,255,255,.25) !important; border-radius: 0 !important; box-shadow: none !important; padding: 10px 0 !important; min-height: 46px !important; height: auto; font-size: 15px !important; font-weight: 300 !important; color: var(--sm-w) !important; transition: border-color .4s; }
html body[class] .sm .sm-form .ff-el-form-control:focus { border-bottom-color: #fff !important; outline: none; }
html body[class] .sm .sm-form .ff-el-form-control::placeholder { color: rgba(255,255,255,.35) !important; }
html body[class] .sm .sm-form select.ff-el-form-control { -webkit-appearance: none; appearance: none; background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%) !important; background-position: calc(100% - 10px) 21px, calc(100% - 5px) 21px !important; background-size: 5px 5px !important; background-repeat: no-repeat !important; padding-right: 24px !important; }
html body[class] .sm .sm-form select.ff-el-form-control option { color: #111; }
html body[class] .sm .sm-form .ff-btn-submit { width: 100% !important; min-height: 54px !important; border: 0 !important; border-radius: 0 !important; background: #fff !important; color: #111 !important; font: 400 14px/1 var(--sm-f) !important; letter-spacing: .02em !important; text-transform: none !important; box-shadow: none !important; transition: background .4s; }
html body[class] .sm .sm-form .ff-btn-submit:hover { background: #d9d9d9 !important; }
html body[class] .sm .sm-form .ff-message-success { background: transparent !important; border: 1px solid var(--sm-ln) !important; color: var(--sm-w) !important; box-shadow: none !important; }
html body[class] .sm .sm-form .error { color: #ff9b8f !important; font-size: 12px !important; }
html body[class] .sm a.sm-zalo { margin-top: 26px; font-size: 14px !important; color: var(--sm-t) !important; }
/* Header trang chủ: trong suốt trên ảnh, chữ trắng mảnh */
html body.home .header-wrapper, html body.home .header-wrapper .header-main, html body.home .header-wrapper .header-bg-color, html body.home #header .header-wrapper:not(.stuck) .header-main { background: transparent !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; border: 0 !important; }
html.gk-scrolled body.home .header-wrapper .header-main, html body.home .header-wrapper.stuck .header-main { background: rgba(20,20,20,.78) !important; -webkit-backdrop-filter: blur(14px) !important; backdrop-filter: blur(14px) !important; }
html body.home #header :is(.header-nav-main > li > a, .nav > li > a, #logo a, .logo-tagline, .site-title) { font-family: var(--sm-f) !important; font-weight: 300 !important; letter-spacing: .01em !important; text-transform: none !important; color: rgba(255,255,255,.82) !important; }
html body.home #header .header-nav-main > li > a:hover, html body.home #header .header-nav-main > li.active > a { color: #fff !important; }
html body.home #header #masthead .header-nav-main > li:last-child > a, html body.home #header #masthead .header-nav-main > li:last-child > a:hover { background: #fff !important; color: #111 !important; border: 0 !important; border-radius: 0 !important; font-weight: 400 !important; letter-spacing: .01em !important; }
/* Mobile */
@media (max-width: 999px) {
  .sm-concept__grid, .sm-story__grid, .sm-contact__grid { grid-template-columns: 1fr; }
  .sm-concept__txt { padding-left: 0; }
  .sm-collage { height: 118vw; max-height: 640px; }
  .sm-story__media { height: 100vw; max-height: 560px; order: 2; }
  .sm-steps { grid-template-columns: 1fr 1fr; }
  .sm-vals { grid-template-columns: 1fr; margin-top: 48px !important; }
}
@media (max-width: 599px) {
  .sm-wrap { width: calc(100% - 40px); }
  .sm-sec { padding: 88px 0; }
  .sm-hero { min-height: 600px; }
  .sm-hero__shade { background: linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,.15) 30%, rgba(0,0,0,.72) 62%, var(--sm-bg) 100%); }
  .sm-hero__txt { margin: auto 0 0; text-align: left; padding: 0 0 120px; }
  html body[class] .sm .sm-hero__sub { margin-left: 0 !important; font-size: 15px !important; }
  .sm-hero__ctas { justify-content: flex-start; gap: 22px; }
  .sm-hero__foot { bottom: 36px; }
  .sm-prod__head { grid-template-columns: 1fr; gap: 0; }
  html body[class] .sm .sm-prod__head a.sm-more { margin-top: 24px; }
  .sm-prod__side { display: none; }
  .sm-track { padding-left: 20px; gap: 18px; }
  html body[class] .sm a.sm-card { flex-basis: 74vw; }
  .sm-feat { min-height: 0; display: block; padding: 0; }
  .sm-feat__media { position: relative; height: 92vw; }
  .sm-feat__in { width: 100%; }
  .sm-feat__card { width: 100%; padding: 32px 20px 26px; }
  .sm-steps { grid-template-columns: 1fr; }
  html body[class] .sm .sm-steps li { grid-template-columns: 40px 1fr; padding: 20px 0; }
  html body[class] .sm .sm-steps li > span { grid-row: span 2; }
  .sm-proc__head { flex-direction: column; align-items: flex-start; }
  html body[class] .sm .sm-form fieldset { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .sm-rv, .sm-clip, .sm-clip img, .sm-slide img { transition: none !important; opacity: 1; transform: none; clip-path: none; } }
.sm-hero__video iframe { filter: saturate(.68) contrast(1.04) brightness(.96); }
