/* Khắc Dấu Xanh – style theo phong cách khacdaunhanh.vn */
:root {
  --green: #0f9d58;      /* màu chủ đạo */
  --green-dark: #0c7e46;
  --green-deep: #14532d;
  --red: #ed1b2f;        /* giá khuyến mãi */
  --orange: #fd6e1d;     /* điểm nhấn */
  --gold: #f59000;
  --ink: #222222;
  --muted: #6a6a6a;
  --line: #e3e3e3;
  --bg-soft: #f2f2f2;
  --radius: 10px;
  --shadow: 0 6px 20px rgba(0,0,0,.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Roboto', Arial, 'Helvetica Neue', sans-serif;
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
}
img { max-width: 100%; }
a { color: var(--green-dark); text-decoration: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.section { padding: 56px 0; }
.section-title { font-size: 1.9rem; font-weight: 900; text-align: center; color: var(--ink); text-transform: uppercase; letter-spacing: .5px; }
.section-title::after { content: ''; display: block; width: 64px; height: 4px; background: var(--green); margin: 10px auto 0; border-radius: 2px; }
.section-sub { text-align: center; color: var(--muted); margin: 12px 0 32px; }

/* Topbar */
.topbar { background: var(--green-deep); color: #fff; font-size: .85rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 34px; flex-wrap: wrap; }
.topbar a { color: #fff; }
.topbar .topbar-hot { font-weight: 700; color: #ffd54f; }
.topbar-nav { display: flex; gap: 16px; }

/* Header */
#header { position: sticky; top: 0; z-index: 100; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.06); }
.header-main { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; color: var(--ink); font-weight: 700; }
.logo b { color: var(--green); }
.logo-badge {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--green-dark)); color: #fff;
  display: grid; place-items: center; font-weight: 900; font-size: 1.2rem;
  box-shadow: 0 3px 10px rgba(15,157,88,.4);
}
.nav { display: flex; align-items: center; gap: 22px; }
.nav a:not(.btn) { color: var(--ink); font-weight: 500; font-size: .95rem; }
.nav a:not(.btn):hover { color: var(--green); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.7rem; cursor: pointer; }
.header-call { background: var(--orange); white-space: nowrap; }

/* Buttons */
.btn { display: inline-block; padding: 11px 22px; border-radius: 999px; font-weight: 700; transition: transform .15s, box-shadow .15s, background .15s; border: 0; cursor: pointer; font-size: .95rem; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 4px 14px rgba(15,157,88,.35); }
.btn-primary:hover { background: var(--green-dark); }
.btn-light { background: #fff; color: var(--green-dark); }
.btn-light:hover { background: #f0fdf4; }
.btn-lg { padding: 14px 30px; font-size: 1.05rem; }
.btn-sm { padding: 8px 16px; font-size: .88rem; }
.btn-call { color: #fff; }
.btn-call:hover { background: #e85d10; }
.btn-order { display: block; text-align: center; background: var(--red); color: #fff; margin-top: 12px; padding: 9px; border-radius: 6px; font-size: .9rem; }
.btn-order:hover { background: #c41224; }

/* Banner */
.banner { background: linear-gradient(135deg, #0c7e46 0%, #0f9d58 60%, #16a34a 100%); color: #fff; padding: 64px 0 72px; overflow: hidden; }
.banner-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.banner h1 { font-size: 2.6rem; font-weight: 900; line-height: 1.15; margin-bottom: 16px; text-transform: uppercase; }
.banner h1 span { color: #ffd54f; }
.banner-text p { opacity: .95; margin-bottom: 24px; max-width: 560px; font-size: 1.05rem; }
.banner-actions { display: flex; gap: 14px; margin-bottom: 22px; flex-wrap: wrap; }
.banner-points { list-style: none; font-size: .95rem; }
.banner-points li { margin-bottom: 6px; }

/* Stamp */
.stamp { width: 260px; height: 260px; margin: 0 auto; background: rgba(255,255,255,.12); border: 3px solid rgba(255,255,255,.8); border-radius: 50%; display: grid; place-items: center; position: relative; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.stamp-ring { width: 100%; height: 100%; position: relative; }
.stamp-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.stamp-ring text { font-size: 18px; letter-spacing: 2px; fill: #fff; font-family: 'Roboto', Arial, sans-serif; font-weight: 700; }
.stamp-center { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; text-align: center; color: #fff; }
.stamp-center b { font-size: 2.6rem; display: block; }
.stamp-center span { font-weight: 800; letter-spacing: 2px; font-size: 1.1rem; }

/* Product cards (e-commerce style) */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: relative; transition: transform .2s, box-shadow .2s; text-align: center; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--green); }
.card-badge { position: absolute; top: 12px; left: 12px; background: var(--red); color: #fff; font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; box-shadow: 0 2px 6px rgba(237,27,47,.4); }
.card-img { font-size: 2.6rem; margin: 8px 0; }
.card h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 6px; }
.price { margin: 8px 0 2px; }
.price-old { color: #999; text-decoration: line-through; font-size: .9rem; margin-right: 8px; }
.price-new { color: var(--red); font-weight: 900; font-size: 1.15rem; }
.price-call { color: var(--orange); font-size: 1rem; }
.card-desc { color: var(--muted); font-size: .85rem; min-height: 40px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-align: center; position: relative; }
.step-num { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--green), var(--green-dark)); color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 1.2rem; margin: 0 auto 12px; box-shadow: 0 4px 12px rgba(15,157,88,.35); }
.step h3 { margin-bottom: 8px; font-size: 1.02rem; }
.step p { color: var(--muted); font-size: .88rem; }

/* Why */
.why { background: var(--bg-soft); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-item { text-align: center; padding: 24px 16px; background: #fff; border-radius: var(--radius); border-top: 4px solid var(--green); }
.why-icon { font-size: 2rem; display: block; margin-bottom: 10px; }
.why-item b { font-size: 1.05rem; color: var(--green-dark); display: block; }
.why-item p { color: var(--muted); font-size: .88rem; margin-top: 8px; }

/* Reviews */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.review-stars { color: var(--gold); font-size: 1.1rem; margin-bottom: 10px; }
.review p { font-size: .92rem; color: #444; font-style: italic; margin-bottom: 12px; }
.review-author { font-size: .85rem; color: var(--muted); font-weight: 500; }

/* Contact */
.contact { background: linear-gradient(135deg, #f0fdf4, #fff); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-info p { color: var(--muted); margin-top: 8px; }
.contact-list { list-style: none; margin-top: 20px; }
.contact-list li { margin-bottom: 12px; font-size: 1.02rem; }
.contact-list a { font-weight: 700; }
.contact-form { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.contact-form h3 { margin-bottom: 16px; color: var(--green-dark); font-size: 1.2rem; }
.contact-form label { display: block; margin-bottom: 12px; font-weight: 500; font-size: .9rem; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; margin-top: 4px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: .95rem; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--green); border-color: transparent; }
.form-note { margin-top: 10px; font-weight: 600; min-height: 1.2em; font-size: .9rem; }

/* Footer */
.footer { background: var(--green-deep); color: #d1f7e3; padding: 40px 0 90px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
.footer h4 { color: #fff; margin-bottom: 10px; text-transform: uppercase; font-size: .95rem; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 8px; font-size: .9rem; }
.footer a { color: #d1f7e3; }
.footer a:hover { color: #fff; }
.footer .footer-logo { font-size: 1.4rem; font-weight: 900; color: #fff; margin-bottom: 8px; }
.footer .footer-logo b { color: #ffd54f; }
.footer p { font-size: .9rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 30px; padding-top: 18px; text-align: center; font-size: .85rem; opacity: .8; }

/* Floating call button */
.call-float { position: fixed; bottom: 24px; left: 24px; z-index: 200; width: 64px; height: 64px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; font-size: 1.6rem; box-shadow: 0 6px 20px rgba(253,110,29,.5); animation: pulse 2s infinite; }
.call-float:hover { transform: scale(1.08); color: #fff; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(253,110,29,.5); } 70% { box-shadow: 0 0 0 18px rgba(253,110,29,0); } 100% { box-shadow: 0 0 0 0 rgba(253,110,29,0); } }

/* Responsive */
@media (max-width: 960px) {
  .cards, .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .steps, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .banner-inner, .contact-grid { grid-template-columns: 1fr; }
  .banner h1 { font-size: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .header-call { display: none; }
}
@media (max-width: 600px) {
  .nav { display: none; position: absolute; top: 66px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 16px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); align-items: flex-start; }
  .nav.open { display: flex; }
  .nav-toggle { display: block; }
  .cards, .steps, .why-grid, .reviews-grid, .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 40px 0; }
  .stamp { width: 200px; height: 200px; }
  .topbar-nav { display: none; }
}