@font-face { font-family: "BVP"; src: url("assets/BeVietnamPro-Regular.ttf"); font-weight: 400; font-display: swap; }
@font-face { font-family: "BVP"; src: url("assets/BeVietnamPro-SemiBold.ttf"); font-weight: 600; font-display: swap; }
@font-face { font-family: "BVP"; src: url("assets/BeVietnamPro-ExtraBold.ttf"); font-weight: 800; font-display: swap; }

:root {
  --green: #4A5235; --green-dark: #2f3522; --ink: #1b1f12; --mute: #4b5040;
  --grey: #EEF0E9; --paper: #fff; --accent: #D9772B; --accent-light: #F6B26B; --zalo: #0068ff;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: "BVP", system-ui, sans-serif; color: var(--ink); background: var(--paper); font-size: 16px; line-height: 1.55; padding-bottom: 64px; }
img, video { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
b, strong { font-weight: 800; }
em { font-style: normal; color: var(--accent); }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 18px; }

/* header */
.top { background: #fff; border-bottom: 1px solid #e3e5dc; position: sticky; top: 0; z-index: 20; }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.top img { height: 30px; width: auto; }
.top-call { text-decoration: none; font-size: 14px; color: var(--green-dark); white-space: nowrap; }

/* hero */
.hero { position: relative; background: var(--green-dark); color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.hero-in { position: relative; padding-top: 34px; padding-bottom: 38px; }
.kicker { font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-light); margin-bottom: 10px; }
.k2 { color: var(--accent); }
h1 { font-weight: 800; font-size: clamp(28px, 7.4vw, 50px); line-height: 1.22; letter-spacing: -.01em; }
h1 em { color: var(--accent-light); }
.lead { margin-top: 12px; font-size: 16px; color: #e6e9dc; max-width: 620px; }
.price-card { margin-top: 22px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); border-radius: 12px; padding: 16px 18px; max-width: 520px; backdrop-filter: blur(3px); }
.pc-lbl { font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.pc-num { font-weight: 800; font-size: clamp(40px, 12vw, 64px); line-height: 1.15; color: var(--accent-light); letter-spacing: -.02em; white-space: nowrap; }
.pc-num small { font-size: .32em; color: #fff; font-weight: 600; letter-spacing: 0; }
.pc-cond { font-size: 14px; color: #e6e9dc; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.cta-note { font-size: 13.5px; color: #dfe3d3; margin-top: 10px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border-radius: 10px; font-weight: 800; font-size: 16px; text-decoration: none; text-align: center; }
.btn-zalo { background: var(--zalo); color: #fff; }
.btn-call { background: var(--accent); color: #fff; }
.btn-line { border: 2px solid var(--green); color: var(--green-dark); margin-top: 16px; }

/* sections */
.sec { padding: 44px 0; }
.sec-grey { background: var(--grey); }
.sec-dark { background: var(--green-dark); color: #fff; }
h2 { font-weight: 800; font-size: clamp(24px, 6vw, 36px); line-height: 1.25; letter-spacing: -.01em; }
.sec-dark h2 em { color: var(--accent-light); }
.sub { color: var(--mute); margin-top: 8px; max-width: 720px; }
.sec-dark .sub { color: #dfe3d3; }
.small { font-size: 13.5px; color: var(--mute); margin-top: 8px; }

.incl { list-style: none; display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 18px; }
.incl li { background: #fff; border-radius: 10px; padding: 12px 14px 12px 42px; position: relative; font-weight: 600; }
.incl li::before { content: ""; position: absolute; left: 17px; top: 13px; width: 7px; height: 14px; border: solid var(--accent); border-width: 0 3px 3px 0; transform: rotate(40deg); }
.commit { display: grid; gap: 10px; margin-top: 18px; }
.commit div { border-left: 4px solid var(--green); padding: 4px 0 4px 14px; }
.commit b { display: block; font-size: 26px; line-height: 1.2; color: var(--green-dark); }
.commit span { color: var(--mute); font-size: 14.5px; }

.clips { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 12px; margin-top: 20px; }
.clip video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 12px; background: #d9dccf; }
.clip figcaption { font-size: 13.5px; color: var(--mute); margin-top: 8px; line-height: 1.45; }
.clip figcaption b { display: block; color: var(--ink); font-size: 15px; margin-bottom: 2px; }
.cut { margin-top: 30px; display: grid; gap: 14px; align-items: center; }
.cut h3 { font-size: 21px; font-weight: 800; line-height: 1.3; color: var(--green-dark); }
.cut p { margin-top: 6px; }

.qs { margin-top: 18px; display: grid; gap: 10px; }
details { background: #fff; border-radius: 12px; padding: 0 16px; border-left: 5px solid var(--green); }
summary { list-style: none; cursor: pointer; font-weight: 800; font-size: 17px; padding: 14px 0; display: flex; gap: 12px; align-items: baseline; }
summary::-webkit-details-marker { display: none; }
summary span { color: var(--accent); font-size: 22px; min-width: 18px; }
details p { padding: 0 0 12px 30px; font-size: 15px; }
details .why { color: #b55a14; font-weight: 600; font-size: 14px; padding-bottom: 6px; }

.tabs { display: flex; gap: 8px; overflow-x: auto; margin: 18px -18px 0; padding: 0 18px 6px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; font: inherit; font-weight: 600; font-size: 14.5px; padding: 9px 14px; border-radius: 99px; border: 1.5px solid #c9cdbd; background: #fff; color: var(--ink); cursor: pointer; }
.tabs button.on { background: var(--green); border-color: var(--green); color: #fff; }
.doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.doors[hidden] { display: none; }
.doors figure { background: var(--grey); border-radius: 10px; padding: 10px 6px 8px; text-align: center; }
.doors img { height: 190px; width: auto; margin: 0 auto; object-fit: contain; }
.doors figcaption { font-size: 12.5px; font-weight: 600; margin-top: 6px; color: var(--mute); }
.also { margin-top: 14px; color: var(--mute); font-size: 15px; }

.steps { list-style: none; counter-reset: s; display: grid; gap: 12px; margin-top: 18px; }
.steps li { counter-increment: s; background: rgba(255,255,255,.08); border-radius: 12px; padding: 14px 16px 14px 58px; position: relative; color: #e6e9dc; }
.steps li::before { content: counter(s); position: absolute; left: 16px; top: 12px; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-light); color: var(--green-dark); font-weight: 800; display: grid; place-items: center; }
.steps b { display: block; color: var(--accent-light); text-transform: uppercase; letter-spacing: .04em; font-size: 14.5px; }
.flow { margin-top: 16px; font-size: 14.5px; color: #dfe3d3; }

.two { display: grid; gap: 20px; align-items: center; }
.two > img { border-radius: 12px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 16px 0 10px; font-size: 13.5px; color: var(--mute); line-height: 1.35; }
.stats b { display: block; font-size: 24px; color: var(--green-dark); line-height: 1.2; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chips li { background: var(--grey); border-radius: 99px; padding: 6px 12px; font-size: 13.5px; font-weight: 600; }

.pro { list-style: none; display: grid; gap: 10px; margin: 18px 0; }
.pro li { background: #fff; border-radius: 10px; padding: 12px 14px; }
.pro b { color: var(--green-dark); }

.contact .who { margin-top: 14px; color: #e6e9dc; }
.phone { display: block; font-weight: 800; font-size: clamp(32px, 9vw, 46px); line-height: 1.2; color: var(--accent-light); text-decoration: none; letter-spacing: -.01em; }
.addr { margin-top: 14px; font-size: 14px; color: #dfe3d3; display: grid; gap: 3px; }
.addr b { color: #fff; }
.qr { justify-self: start; background: #fff; border-radius: 12px; padding: 12px; text-align: center; text-decoration: none; color: var(--ink); font-size: 13px; font-weight: 600; width: 200px; }
.qr img { width: 100%; }

/* sticky bottom bar */
.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; box-shadow: 0 -2px 12px rgba(0,0,0,.18); }
.bar a { flex: 1; min-height: 56px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; text-decoration: none; color: #fff; }
.bar-zalo { background: var(--zalo); }
.bar-call { background: var(--accent); }

@media (min-width: 760px) {
  body { font-size: 17px; padding-bottom: 0; }
  .bar { display: none; }
  .top-in { height: 66px; } .top img { height: 36px; } .top-call { font-size: 16px; }
  .hero-in { padding-top: 64px; padding-bottom: 70px; }
  .sec { padding: 68px 0; }
  .incl { grid-template-columns: repeat(3, 1fr); }
  .commit { grid-template-columns: repeat(3, 1fr); }
  .clips { grid-template-columns: repeat(3, 1fr); gap: 22px 16px; }
  .cut { grid-template-columns: 1.1fr 1fr; gap: 30px; }
  .qs { grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 14px 18px; }
  .qs details { height: 100%; }
  .qs summary { cursor: default; pointer-events: none; padding-bottom: 8px; }
  .doors img { height: 260px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .two { grid-template-columns: 1fr 1fr; gap: 40px; }
  .contact .two { grid-template-columns: 1fr auto; }
  .pro { grid-template-columns: 1fr 1fr; }
  .tabs { margin: 18px 0 0; padding: 0 0 6px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* layout refinements */
.hero-r { margin-top: 22px; }
.hero-r .price-card { margin-top: 0; }
.gal-b .btn-line { margin-top: 12px; }
@media (min-width: 900px) {
  .hero-in { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
  .hero-r { margin-top: 0; }
  .hero-r .price-card { max-width: none; padding: 22px 24px; }
  .hero-r .cta-row .btn { flex: 1; }
  .gal { display: grid; grid-template-columns: 1fr 1.15fr; grid-template-areas: "l r" "b r"; column-gap: 48px; align-items: center; }
  .gal-l { grid-area: l; align-self: end; }
  .gal-r { grid-area: r; }
  .gal-b { grid-area: b; align-self: start; }
  .gal .tabs { flex-wrap: wrap; overflow: visible; }
  .gal .doors { margin-top: 0; }
  .cut { grid-template-columns: 1fr 1fr; }
  .two { align-items: center; }
}
@media (min-width: 1100px) {
  .clips { grid-template-columns: repeat(6, 1fr); gap: 14px; }
  .clip figcaption { font-size: 13px; }
}

/* balance fixes after multi-device testing */
.wrap { max-width: 1160px; }
.cta-row .btn { flex: 1 1 200px; }
.hero-r { max-width: 560px; }
@media (min-width: 760px) and (max-width: 899px) {
  .two { grid-template-columns: 1fr; }
  .contact .two { grid-template-columns: 1fr auto; }
  .cut { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .hero-r { max-width: none; }
  #du-an .two { grid-template-columns: 1.1fr 1fr; }
  #du-an .two > img { height: 100%; min-height: 300px; object-fit: cover; }
}
@media (min-width: 760px) {
  .hero-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; }
  .hero-r { margin-top: 0; max-width: none; }
  .hero-r .pc-num { font-size: clamp(38px, 5vw, 62px); }
  h1 { font-size: clamp(30px, 4.3vw, 50px); }
}
@media (min-width: 900px) { .hero-in { gap: 48px; } }
@media (max-width: 759px) { .pc-num { font-size: clamp(32px, 10.4vw, 60px); } }
@media (max-width: 380px) { .top img { height: 24px; } .top-call { font-size: 12.5px; } }

/* factory section */
.nums { display: grid; gap: 12px; margin-top: 20px; }
.nums > div { background: rgba(255,255,255,.08); border-radius: 12px; padding: 14px 16px; }
.nums b { display: block; font-size: 30px; line-height: 1.2; color: var(--accent-light); }
.nums span { font-size: 14.5px; color: #dfe3d3; }
.fgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 18px; }
.fgrid figure { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; background: #3a4129; }
.fgrid .f-wide { grid-column: 1 / -1; aspect-ratio: 16 / 7; }
.fgrid img { width: 100%; height: 100%; object-fit: cover; }
.fgrid figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 10px 8px; font-size: 13px; font-weight: 600; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.72)); line-height: 1.3; }
.sec-dark .flow b { color: #fff; }
.trust { display: grid; gap: 18px; margin-top: 30px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.18); }
.trust h3 { font-size: 21px; font-weight: 800; line-height: 1.3; }
.trust p { margin-top: 8px; color: #e6e9dc; font-size: 15px; }
.trust p b { color: #fff; }
.trust .sub2 { font-size: 13.5px; color: #cfd4c2; margin-top: 14px; }
.certs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 420px; }
.certs img { border-radius: 6px; background: #fff; }
.sec-dark .chips li { background: rgba(255,255,255,.12); color: #fff; }
@media (min-width: 760px) {
  .nums { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .fgrid { grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .fgrid .f-wide { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
  .trust { grid-template-columns: auto 1fr; gap: 36px; align-items: center; }
  .certs { width: 340px; }
}
@media (min-width: 760px) and (max-width: 899px) { .trust { grid-template-columns: 1fr; } .certs { width: auto; } }
