/* Minh Anh Ecoxim Global — giao diện dùng chung cho mọi trang */
:root {
  --bg: #ffffff;
  --bg-soft: #f2f8f3;
  --ink: #15261c;
  --ink-2: #4b5d52;
  --line: #e1ece4;
  --brand: #17804a;
  --brand-2: #23a05e;
  --accent: #e0a100;
  --radius: 14px;
  --max: 1160px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.65; font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
svg { display: block; }
ul { list-style: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
section { padding: 88px 0; }
.soft { background: var(--bg-soft); }
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand-2); margin-bottom: 14px;
}
h1, h2, h3 { line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: clamp(26px, 3.2vw, 36px); margin-bottom: 16px; }
.lead { color: var(--ink-2); font-size: 17px; max-width: 680px; }
.head { margin-bottom: 44px; }
.head.center { text-align: center; }
.head.center .lead { margin: 0 auto; }
.prose p { color: var(--ink-2); margin-bottom: 14px; }
.prose p:last-child { margin-bottom: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px;
  border-radius: 999px; font-weight: 600; font-size: 15px; transition: .2s; border: 1.5px solid transparent;
  cursor: pointer; font-family: inherit; white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: #0f6438; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { background: #eaf6ee; }
.btn svg { width: 18px; height: 18px; }
.link-more { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; color: var(--brand-2); font-size: 15px; margin-top: 14px; }
.link-more:hover { color: var(--brand); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Demo bar */
.demo-bar { background: #fff6e6; color: #7a5410; font-size: 13px; text-align: center; padding: 8px 16px; }

/* Header */
header.site {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.95);
  backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 12px; font-weight: 700; white-space: nowrap; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 10px; background: var(--brand); color: #fff;
  display: grid; place-items: center; font-size: 15px; letter-spacing: .02em; flex: 0 0 40px;
}
.logo small { display: block; font-weight: 500; font-size: 12px; color: var(--ink-2); letter-spacing: .02em; }
.menu { display: flex; gap: 2px; font-size: 14px; color: var(--ink-2); align-items: center; }
.menu > li { position: relative; }
.menu > li > a { display: block; padding: 10px 9px; border-radius: 8px; white-space: nowrap; }
header.site .wrap { max-width: 1280px; }
.menu > li > a:hover, .menu > li > a.active { color: var(--brand); }
.menu > li > a.active { font-weight: 600; }
.menu .has-sub > a::after { content: "▾"; font-size: 11px; margin-left: 5px; }
.sub {
  position: absolute; top: 100%; left: 0; min-width: 270px; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 8px; box-shadow: 0 18px 40px -20px rgba(16,90,52,.35);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s;
}
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--ink); font-size: 14.5px; }
.sub a:hover, .sub a.active { background: var(--bg-soft); color: var(--brand); }
.nav .btn { padding: 10px 18px; font-size: 14px; }
.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; }

/* Home hero */
.hero { padding: 88px 0 96px; background:
    radial-gradient(700px 360px at 92% -10%, rgba(255,201,40,.18), transparent 70%), radial-gradient(900px 420px at 70% 0%, rgba(35,160,94,.12), transparent 70%), var(--bg); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(32px, 4.6vw, 52px); margin-bottom: 22px; }
.hero h1 em, .page-hero h1 em { font-style: normal; color: var(--brand-2); }
.hero .lead { margin-bottom: 34px; }
.hero-card {
  border: 1px solid var(--line); border-radius: 20px; padding: 32px; background: #fff;
  box-shadow: 0 20px 50px -30px rgba(16,90,52,.35);
}
.hero-card h3 { font-size: 15px; color: var(--ink-2); font-weight: 600; margin-bottom: 18px; }

/* Inner page hero */
.page-hero { padding: 64px 0 56px; border-bottom: 1px solid var(--line); background:
    radial-gradient(800px 320px at 90% -20%, rgba(35,160,94,.09), transparent 70%), var(--bg); }
.page-hero h1 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 16px; max-width: 820px; }
.crumbs { font-size: 13.5px; color: var(--ink-2); margin-bottom: 22px; }
.crumbs a:hover { color: var(--brand); }
.crumbs span { margin: 0 8px; color: #a9bcae; }

/* Check list */
.check { display: grid; gap: 14px; }
.check li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.check li::before {
  content: ""; flex: 0 0 22px; height: 22px; border-radius: 50%; margin-top: 2px;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/13px no-repeat;
}
.check.light li { font-weight: 400; color: var(--ink-2); }

/* Cards */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  transition: .2s; display: flex; flex-direction: column;
}
a.card:hover, .card.hover:hover { border-color: #bcdcc7; transform: translateY(-2px); box-shadow: 0 14px 30px -24px rgba(16,90,52,.5); }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { color: var(--ink-2); font-size: 15px; }
.card .check { margin-top: 14px; gap: 10px; }
.card .check li { font-size: 15px; }
.card .link-more { margin-top: auto; padding-top: 14px; }
.icon {
  width: 48px; height: 48px; border-radius: 12px; background: rgba(35,160,94,.09); color: var(--brand-2);
  display: grid; place-items: center; margin-bottom: 20px; flex: 0 0 48px;
}
.icon svg { width: 24px; height: 24px; }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.top { align-items: start; }
.doc-list { display: grid; gap: 16px; }
.doc-item { display: flex; gap: 18px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.doc-item .num {
  flex: 0 0 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--accent); color: var(--accent);
  display: grid; place-items: center; font-weight: 700; font-size: 14px;
}
.doc-item h3 { font-size: 16px; margin-bottom: 4px; }
.doc-item p { color: var(--ink-2); font-size: 15px; }

/* Stats-like strip (no numbers — strengths) */
.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.strip > div { background: #fff; padding: 26px; }
.strip h3 { font-size: 16px; margin-bottom: 4px; }
.strip p { color: var(--ink-2); font-size: 14.5px; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: s; }
.steps.six { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
.step { border-top: 2px solid var(--brand); padding-top: 22px; }
.step::before { counter-increment: s; content: "0" counter(s); display: block; font-size: 13px;
  font-weight: 700; color: var(--accent); letter-spacing: .1em; margin-bottom: 10px; }
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { color: var(--ink-2); font-size: 15px; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 0 22px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 20px; color: var(--brand-2); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-2); padding-bottom: 18px; }

/* Product detail */
.side-nav { position: sticky; top: 96px; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; }
.side-nav h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); padding: 10px 12px 6px; }
.side-nav a { display: block; padding: 10px 12px; border-radius: 8px; font-size: 15px; color: var(--ink-2); }
.side-nav a:hover { background: var(--bg-soft); color: var(--brand); }
.side-nav a.active { background: rgba(35,160,94,.09); color: var(--brand); font-weight: 600; }
.detail { display: grid; grid-template-columns: 270px 1fr; gap: 48px; align-items: start; }
.detail-body > div + div { margin-top: 56px; }
.detail-body h2 { font-size: 26px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.tag-list li { border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 14.5px; background: #fff; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, #136b3e, #1f9456); color: #fff; border-radius: 20px; padding: 44px; display: flex;
  justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { font-size: 26px; margin-bottom: 6px; }
.cta-band p { color: rgba(255,255,255,.78); }

/* Contact */
.contact { background: linear-gradient(135deg, #136b3e, #1a8a50); color: #fff; }
.contact .eyebrow { color: #fff1b8; }
.contact .lead { color: rgba(255,255,255,.78); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; }
.info { display: grid; gap: 22px; margin-top: 36px; }
.info a, .info div.row { display: flex; gap: 16px; align-items: flex-start; }
.info .ic { flex: 0 0 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.1);
  display: grid; place-items: center; }
.info .ic svg { width: 20px; height: 20px; }
.info small { display: block; color: rgba(255,255,255,.6); font-size: 13px; }
.info strong { font-weight: 600; font-size: 16px; }
.info .big { font-size: 22px; letter-spacing: .02em; }
form.lead-form { background: #fff; color: var(--ink); border-radius: 20px; padding: 34px; display: grid; gap: 16px; border: 1px solid var(--line); }
form.lead-form h3 { font-size: 20px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
input, select, textarea {
  font: inherit; font-size: 15px; color: var(--ink); padding: 12px 14px; border: 1px solid var(--line);
  border-radius: 10px; background: #fff; width: 100%;
}
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(35,160,94,.35); border-color: var(--brand-2); }
textarea { min-height: 110px; resize: vertical; }
.note { font-size: 13px; color: var(--ink-2); }
.map { border: 0; width: 100%; height: 380px; border-radius: var(--radius); display: block; background: var(--bg-soft); }

.doc-item .num { font-size: 13px; letter-spacing: .02em; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.badges li { font-size: 13.5px; font-weight: 600; color: var(--brand); background: rgba(255,255,255,.85); border: 1px solid #bcdcc7;
  border-radius: 999px; padding: 6px 14px 6px 30px; position: relative; }
.badges li::before { content: "✓"; position: absolute; left: 12px; top: 5px; font-size: 12px; }
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.trust > div { background: #fff; padding: 22px 24px; display: flex; gap: 14px; align-items: flex-start; }
.trust .tag { flex: 0 0 auto; font-weight: 700; font-size: 13px; color: #fff; background: var(--brand); border-radius: 8px; padding: 4px 9px; }
.trust h3 { font-size: 15.5px; margin-bottom: 2px; }
.trust p { color: var(--ink-2); font-size: 14px; }

/* Product hero with illustration */
.page-hero.has-art .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero-art { width: 100%; height: auto; display: block; filter: drop-shadow(0 24px 40px rgba(16,90,52,.14)); }

/* Product group cards with picture */
.pcard { padding: 0; overflow: hidden; }
.pcard h3, .pcard p, .pcard .link-more { margin-left: 26px; margin-right: 26px; }
.pcard h3 { margin-top: 22px; }
.pcard .link-more { margin-bottom: 24px; }
.thumb { aspect-ratio: 4 / 3; display: grid; place-items: center; border-bottom: 1px solid var(--line); background-size: 240px; }
.thumb img { width: 92%; height: auto; transition: transform .3s; }
.pcard:hover .thumb img { transform: scale(1.04); }

/* Product items */
.items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 20px; }
.item { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; display: flex; flex-direction: column; transition: .2s; }
.item:hover { border-color: #bcdcc7; box-shadow: 0 14px 30px -24px rgba(16,90,52,.5); }
.item-img { aspect-ratio: 4 / 3; display: grid; place-items: center; border-bottom: 1px solid var(--line); }
.item-img img { width: 82%; height: auto; }
.item-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.item h3 { font-size: 16px; margin-bottom: 6px; }
.item p { color: var(--ink-2); font-size: 14px; margin-bottom: 14px; }
.item-quote { margin-top: auto; font: inherit; font-size: 14px; font-weight: 600; color: var(--brand); background: rgba(35,160,94,.09);
  border: 0; border-radius: 999px; padding: 10px 16px; cursor: pointer; transition: .2s; }
.item-quote:hover { background: var(--brand); color: #fff; }

/* Quote / lead capture */
.quote-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.quote-side .check { margin: 26px 0 30px; }
.hotline-box { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.hotline-box .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--brand); color: #fff; display: grid; place-items: center; flex: 0 0 46px; }
.hotline-box .ic svg { width: 22px; height: 22px; }
.hotline-box small { display: block; color: var(--ink-2); font-size: 13px; }
.hotline-box strong { font-size: 20px; letter-spacing: .02em; }
form.quote-form { background: #fff; border-radius: 20px; padding: 34px; display: grid; gap: 16px; border: 1px solid var(--line);
  box-shadow: 0 24px 50px -36px rgba(16,90,52,.45); }
form.quote-form h3 { font-size: 20px; }
.needs { display: flex; gap: 10px; flex-wrap: wrap; }
.needs label { display: inline-flex; flex-direction: row; align-items: center; gap: 8px; border: 1.5px solid var(--line); border-radius: 999px;
  padding: 9px 16px; cursor: pointer; color: var(--ink); font-weight: 500; transition: .15s; }
.needs input { width: 16px; height: 16px; accent-color: var(--brand); padding: 0; }
.needs label:has(input:checked) { border-color: var(--brand); background: rgba(35,160,94,.08); color: var(--brand); }
.req { color: #c0392b; }
.form-msg { border-radius: 12px; padding: 14px 16px; font-size: 15px; display: none; }
.form-msg.ok { display: block; background: #e8f6ee; color: #0f6438; border: 1px solid #bfe3cd; }
.form-msg.err { display: block; background: #fdeeee; color: #9b2c2c; border: 1px solid #f3c9c9; }
.info-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.info-cards .card .icon { margin-bottom: 14px; }
.info-cards .card strong { font-size: 16px; }

/* Footer */
footer.site { background: #0d3320; color: rgba(255,255,255,.72); font-size: 14.5px; padding: 64px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
footer.site h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
footer.site li { margin-bottom: 10px; }
footer.site a:hover { color: #fff; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 44px; padding-top: 22px; font-size: 13px; }
footer.site .logo-mark { background: #fff; color: var(--brand); }
footer.site .logo { color: #fff; margin-bottom: 16px; }

.float-call {
  display: none; position: fixed; right: 16px; bottom: 16px; z-index: 60; width: 56px; height: 56px;
  border-radius: 50%; background: var(--accent); color: #fff; place-items: center;
  box-shadow: 0 10px 24px -8px rgba(0,0,0,.35);
}
.float-call svg { width: 24px; height: 24px; }

@media (max-width: 1340px) {
  header.site .logo small { display: none; }
}
@media (max-width: 1180px) {
  .menu, .nav .btn { display: none; }
  .burger { display: block; }
  .menu.open { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 16px; max-height: calc(100vh - 72px); overflow: auto; }
  .menu.open > li > a { padding: 13px 0; border-bottom: 1px solid var(--line); border-radius: 0; }
  .menu .has-sub > a::after { content: ""; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0;
    padding: 4px 0 8px 14px; min-width: 0; }
  .sub a { padding: 9px 0; font-size: 14px; color: var(--ink-2); }
}
@media (max-width: 960px) {
  section { padding: 68px 0; }
  .hero-grid, .split, .contact-grid, .detail, .quote-grid, .page-hero.has-art .wrap { grid-template-columns: 1fr; gap: 40px; }
  .items, .info-cards, .trust { grid-template-columns: 1fr 1fr; }
  .hero-art { max-width: 460px; }
  .grid-3, .grid-4, .strip { grid-template-columns: 1fr 1fr; }
  .steps, .steps.six { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .side-nav { position: static; }
  .float-call { display: grid; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .grid-2, .grid-3, .grid-4, .strip, .steps, .steps.six, .row-2, .foot-grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 72px; }
  .page-hero { padding: 44px 0 40px; }
  .hero-card, form.lead-form, form.quote-form, .cta-band { padding: 24px; }
  .items, .info-cards, .trust { grid-template-columns: 1fr; }
  .cta-row .btn { width: 100%; justify-content: center; }
  .logo small { display: none; }
}
