:root {
  --ink: #13201d;
  --ink-2: #4a5a56;
  --line: #e3e9e7;
  --bg: #ffffff;
  --soft: #f4f7f6;
  --brand: #0d7a64;
  --brand-dark: #0a5c4c;
  --brand-soft: #e3f3ee;
  --accent: #d9a441;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(19, 32, 29, .06), 0 6px 20px rgba(19, 32, 29, .06);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 15px/1.6 "Be Vietnam Pro", system-ui, sans-serif; color: var(--ink); background: var(--bg); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .4em; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 16px; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; border: 0; background: var(--brand); color: #fff; font: 600 15px/1 inherit; font-family: inherit; cursor: pointer; transition: background .15s; }
.btn:hover { background: var(--brand-dark); }
.btn-ghost { background: transparent; color: var(--brand); box-shadow: inset 0 0 0 1.5px var(--brand); }
.btn-ghost:hover { background: var(--brand-soft); }

/* header */
.topbar { background: var(--ink); color: #cfdad7; font-size: 13px; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 12px; padding-top: 7px; padding-bottom: 7px; }
.topbar b { color: #fff; }
.header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; gap: 20px; padding-top: 12px; padding-bottom: 12px; }
.logo { display: flex; align-items: center; gap: 8px; color: var(--brand); font-size: 20px; white-space: nowrap; }
.logo span { color: var(--ink); font-weight: 500; }
.logo b { color: var(--brand); font-weight: 700; }
.logo-light span { color: #fff; }
.search { flex: 1; display: flex; max-width: 560px; background: var(--soft); border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 11px 18px; font: inherit; outline: none; }
.search button { border: 0; background: transparent; padding: 0 16px; color: var(--ink-2); cursor: pointer; }
.search:focus-within { border-color: var(--brand); background: #fff; }
.quote-btn { margin-left: auto; display: flex; align-items: center; gap: 8px; font-weight: 600; padding: 10px 16px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-dark); white-space: nowrap; }
.badge { background: var(--brand); color: #fff; border-radius: 999px; min-width: 22px; height: 22px; display: inline-grid; place-items: center; font-size: 12px; padding: 0 6px; }
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }
.nav { border-top: 1px solid var(--line); }
.nav-in { display: flex; gap: 4px; flex-wrap: wrap; }
.nav-item { position: relative; }
.nav-item > a { display: block; padding: 11px 10px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); border-bottom: 2px solid transparent; white-space: nowrap; }
.nav-item > a:hover, .nav-item > a.on { color: var(--brand); border-color: var(--brand); }
.dropdown { position: absolute; left: 0; top: 100%; min-width: 300px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 8px; display: none; }
.dropdown a { display: block; padding: 8px 12px; border-radius: 8px; }
.dropdown a:hover { background: var(--soft); color: var(--brand); }
.nav-item:hover .dropdown { display: block; }

/* hero */
.hero { background: linear-gradient(135deg, #f1f8f5 0%, #fbf7ee 100%); overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.eyebrow { color: var(--brand); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: 13px; margin: 0 0 12px; }
.hero h1 { font-size: clamp(30px, 4.2vw, 48px); letter-spacing: -.01em; }
.hero h1 span { color: var(--brand); }
.lead { font-size: 17px; color: var(--ink-2); max-width: 540px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.hero-art { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero-art img { border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.hero-art .h1, .hero-art .h3 { transform: translateY(28px); }

.hero-points { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.hero-points li { padding-left: 28px; position: relative; font-weight: 500; }
.hero-points li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 12px; display: grid; place-items: center; }
.hero-photos { position: relative; height: 480px; }
.hero-photos img { position: absolute; border-radius: 18px; box-shadow: 0 10px 30px rgba(19,32,29,.18); object-fit: cover; background: #fff; }
.hero-photos .ph-a { left: 0; top: 30px; width: 44%; height: 380px; }
.hero-photos .ph-b { right: 0; top: 0; width: 52%; height: 300px; }
.hero-photos .ph-c { right: 8%; bottom: 0; width: 34%; height: 250px; border: 4px solid #fff; }
.why { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.why h2 { font-size: 28px; }
.why p { color: var(--ink-2); }
.why-photos { display: grid; grid-template-columns: 1fr 1.2fr; gap: 12px; align-items: end; }
.why-photos img { border-radius: 16px; width: 100%; height: 100%; object-fit: cover; max-height: 420px; }
.checks { list-style: none; padding: 0; margin: 16px 0 22px; display: grid; gap: 10px; }
.checks li { padding: 12px 14px 12px 40px; background: var(--soft); border-radius: 12px; position: relative; color: var(--ink-2); }
.checks li::before { content: "✓"; position: absolute; left: 14px; top: 12px; color: var(--brand); font-weight: 700; }
.checks b { color: var(--ink); }
@media (max-width: 760px) {
  .hero-photos { height: 320px; }
  .hero-photos .ph-a { height: 250px; top: 20px; }
  .hero-photos .ph-b { height: 200px; }
  .hero-photos .ph-c { height: 170px; }
  .why { grid-template-columns: 1fr; gap: 20px; }
}

/* sections */
.section { padding-top: 48px; padding-bottom: 48px; }
.sec-head { margin-bottom: 24px; }
.sec-head h2 { font-size: 28px; }
.sec-head p { color: var(--ink-2); margin: 0; }
.groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.group { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .15s, box-shadow .15s; }
.group:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.group-img { aspect-ratio: 1; border-radius: 10px; background: var(--soft); overflow: hidden; display: grid; place-items: center; }
.group-img img { width: 100%; height: 100%; object-fit: cover; }
.group h3 { font-size: 17px; margin-bottom: 4px; }
.group p { margin: 0 0 8px; font-size: 13px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.count { font-weight: 600; font-size: 13px; color: var(--brand); }
.soon { font-size: 12px; color: var(--ink-2); }
.band { background: var(--ink); color: #dfe8e5; }
.usp { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 36px; padding-bottom: 36px; }
.usp b { color: #fff; font-size: 16px; }
.usp p { margin: 6px 0 0; font-size: 14px; color: #a9b8b4; }
.steps ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.steps li { counter-increment: s; background: var(--soft); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.steps li::before { content: counter(s); width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; margin-bottom: 8px; }
.steps span { color: var(--ink-2); font-size: 14px; }

/* product grid */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; background: #fff; transition: box-shadow .15s, transform .15s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-img { aspect-ratio: 1; background: #fff; }
.card-img img { width: 100%; height: 100%; object-fit: contain; }
.card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; border-top: 1px solid var(--line); }
.sku { font-size: 12px; font-weight: 600; color: var(--brand); letter-spacing: .03em; }
.card h3 { font-size: 14px; font-weight: 500; flex: 1; }
.card h3 a:hover { color: var(--brand); }
.add { border: 1px solid var(--line); background: var(--soft); border-radius: 999px; padding: 8px; font: 500 13px inherit; font-family: inherit; color: var(--brand-dark); cursor: pointer; }
.add:hover { background: var(--brand-soft); border-color: var(--brand); }
.add.added { background: var(--brand); color: #fff; border-color: var(--brand); }

/* listing */
.crumbs { padding-top: 16px; font-size: 13px; color: var(--ink-2); }
.crumbs a:hover { color: var(--brand); }
.listing { display: grid; grid-template-columns: 250px 1fr; gap: 28px; padding-top: 16px; padding-bottom: 48px; }
.side h4 { margin: 0 0 8px; font-size: 14px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-2); }
.side > a { display: flex; justify-content: space-between; padding: 7px 10px; border-radius: 8px; font-size: 14px; }
.side > a:hover { background: var(--soft); }
.side > a.on { background: var(--brand-soft); color: var(--brand-dark); font-weight: 600; }
.side small { color: var(--ink-2); }
.side h4 + .chips, .side a + h4 { margin-top: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips a { padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; }
.chips a.on, .chips a:hover { border-color: var(--brand); color: var(--brand); }
.list-head { margin-bottom: 20px; }
.list-head h1 { font-size: 28px; }
.list-head p { color: var(--ink-2); margin: 0; }
.listing .grid { grid-template-columns: repeat(3, 1fr); }
.pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 32px; }
.pager a, .pager span { min-width: 40px; padding: 8px 12px; text-align: center; border: 1px solid var(--line); border-radius: 10px; }
.pager a.on { background: var(--brand); color: #fff; border-color: var(--brand); }
.empty { text-align: center; padding: 48px 16px; color: var(--ink-2); }
.empty .btn { margin-top: 12px; }

/* product detail */
.pd { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding-top: 20px; padding-bottom: 20px; }
.pd-img { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.pd-video { width: 100%; margin-top: 12px; border-radius: 14px; background: #000; aspect-ratio: 16/9; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.thumbs button { padding: 0; border: 2px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; cursor: pointer; width: 72px; height: 72px; }
.thumbs button.on { border-color: var(--brand); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd-info h1 { font-size: 28px; margin-top: 6px; }
.pd-desc { color: var(--ink-2); margin: 8px 0 4px; }
.pd-feat { margin: 12px 0; }
.pd-feat li { padding: 8px 12px 8px 34px; font-size: 14px; }
.pd-feat li::before { left: 12px; top: 8px; }
.specs { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14px; }
.specs th, .specs td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { width: 40%; color: var(--ink-2); font-weight: 500; }
.pd-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hint { background: var(--soft); border-radius: 12px; padding: 12px 16px; font-size: 14px; color: var(--ink-2); margin-top: 18px; }

/* quote */
.quote-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: start; }
.q-item { display: grid; grid-template-columns: 64px 1fr 110px 32px; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.q-item img { border-radius: 8px; border: 1px solid var(--line); }
.q-item input { width: 100%; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; font: inherit; }
.q-item button { border: 0; background: none; font-size: 20px; color: var(--ink-2); cursor: pointer; }
.q-item small { color: var(--brand); font-weight: 600; }
.q-form { background: var(--soft); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.q-form label { display: flex; flex-direction: column; gap: 4px; font-size: 14px; font-weight: 500; }
.q-form input, .q-form textarea { padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; background: #fff; }
.q-form input:focus, .q-form textarea:focus { outline: 2px solid var(--brand-soft); border-color: var(--brand); }
.hp { position: absolute; left: -9999px; }
.form-msg { margin: 0; font-size: 14px; }
.form-msg.ok { color: var(--brand); } .form-msg.err { color: #b42318; }

/* prose */
.prose { max-width: 820px; }
.prose h1 { font-size: 32px; }
.prose p, .prose li { color: var(--ink-2); }
.contact-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 20px 0; }
.c-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; }
.c-card:hover { border-color: var(--brand); }
.c-card span { color: var(--brand); }

/* about */
.about-hero { background: linear-gradient(135deg, #f1f8f5 0%, #fbf7ee 100%); padding: 48px 0; }
.about-hero h1 { font-size: clamp(28px, 4vw, 42px); }
.about-hero h1 span { color: var(--brand); }
.about h2 { margin-top: 36px; font-size: 24px; }
.muted { color: var(--ink-2); font-size: 14px; }
.founder { display: flex; gap: 18px; align-items: flex-start; }
.founder-badge { flex: none; width: 64px; height: 64px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 22px; }
.caps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.caps div { background: var(--soft); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.caps b { color: var(--brand); letter-spacing: .06em; }
.caps span { color: var(--ink-2); font-size: 14px; }
.prose blockquote { margin: 16px 0; padding: 14px 18px; border-left: 4px solid var(--accent); background: #fbf7ee; border-radius: 0 12px 12px 0; font-weight: 500; }
.prose blockquote.quote { font-size: 18px; }
.chain { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; counter-reset: c; }
.chain li { counter-increment: c; background: var(--brand-soft); color: var(--brand-dark); padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; }
.chain li::before { content: counter(c) ". "; font-weight: 700; }
.about .pd-cta { margin-top: 28px; }

/* gallery */
.masonry { columns: 4 240px; column-gap: 12px; }
.masonry a { display: block; margin-bottom: 12px; break-inside: avoid; border-radius: 12px; overflow: hidden; }
.masonry img { width: 100%; height: auto; transition: transform .25s; }
.masonry a:hover img { transform: scale(1.03); }
.masonry-home { columns: 4 200px; }
@media (max-width: 760px) { .masonry, .masonry-home { columns: 2; column-gap: 8px; } }

/* blog */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.blog-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.blog-card:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.blog-card h2 { font-size: 18px; margin: 0; }
.blog-card p { margin: 0; color: var(--ink-2); font-size: 14px; flex: 1; }
.blog-date { font-size: 13px; color: var(--ink-2); }
.article h2 { margin-top: 32px; font-size: 24px; }
.article h3 { margin-top: 22px; font-size: 18px; }
.article table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; display: block; overflow-x: auto; }
.article th, .article td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.article th { background: var(--soft); }
.article a { color: var(--brand); text-decoration: underline; }
@media (max-width: 760px) { .blog-grid { grid-template-columns: 1fr; } }

/* footer */
.footer { background: var(--ink); color: #a9b8b4; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-top: 44px; padding-bottom: 24px; }
.footer h4 { color: #fff; margin: 0 0 10px; }
.footer a { display: block; padding: 2px 0; }
.footer a:hover { color: #fff; }
.footer p { margin: 0 0 6px; font-size: 14px; }
.footer p a { display: inline; color: #fff; }
.copy { border-top: 1px solid #25332f; padding-top: 16px; padding-bottom: 24px; font-size: 13px; }

/* floating contact */
.float { position: fixed; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 10px; z-index: 40; }
.float a { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0,0,0,.2); color: #fff; font-weight: 700; font-size: 13px; }
.f-zalo { background: #0068ff; } .f-mess { background: #a033ff; } .f-call { background: var(--brand); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 120px); background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; font-size: 14px; transition: transform .25s; z-index: 50; }
.toast.show { transform: translate(-50%, 0); }
.toast a { color: #8ee0c9; font-weight: 600; margin-left: 8px; }

/* responsive */
@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .groups { grid-template-columns: repeat(2, 1fr); }
  .usp, .steps ol { grid-template-columns: repeat(2, 1fr); }
  .listing .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .topbar span { display: none; }
  .topbar .wrap { justify-content: center; }
  .header-in { flex-wrap: wrap; gap: 10px; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .quote-btn { padding: 8px 12px; }
  .menu-btn { display: block; }
  .nav { display: none; }
  .nav.open { display: block; }
  .nav-in { flex-direction: column; padding-bottom: 8px; }
  .dropdown { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 0 12px; min-width: 0; }
  .nav-item > a { border: 0; padding: 10px 4px; }
  .hero-in, .pd, .quote-grid, .listing, .footer-grid { grid-template-columns: 1fr; }
  .hero-in { padding-top: 32px; padding-bottom: 40px; gap: 24px; }
  .hero-art { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .hero-art .h1, .hero-art .h3 { transform: none; }
  .groups, .usp, .steps ol, .contact-cards { grid-template-columns: 1fr; }
  .grid, .listing .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .card-body { padding: 10px; }
  .card h3 { font-size: 13px; }
  .side { display: flex; flex-direction: column; }
  .side > a { display: none; }
  .side > h4:first-child { display: none; }
  .section { padding-top: 32px; padding-bottom: 32px; }
  .q-item { grid-template-columns: 52px 1fr 80px 28px; gap: 8px; }
}
