/* BioGarden landing page — mobile-first, xanh lá + trắng */
:root {
  --green: #178a3c;
  --green-dark: #0d5c26;
  --green-light: #eaf6ee;
  --ink: #1c2b21;
  --muted: #5b6b60;
  --line: #dce8de;
  --white: #ffffff;
  --amber: #b7791f;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  padding-bottom: 64px; /* chừa chỗ cho thanh CTA dính đáy */
}
h1 { font-size: 28px; line-height: 1.3; margin: 0 0 12px; color: var(--green-dark); }
h2 { font-size: 22px; line-height: 1.35; margin: 0 0 14px; color: var(--green-dark); }
h3 { font-size: 17px; margin: 0 0 6px; }
p { margin: 0 0 12px; }
a { color: var(--green); }
section { padding: 28px 18px; max-width: 720px; margin: 0 auto; }
section:nth-of-type(even) { background: var(--green-light); }
.lead { font-size: 17px; }
.center { text-align: center; }
.req { color: #c0392b; }

/* Header */
.topbar { position: sticky; top: 0; background: var(--white); border-bottom: 1px solid var(--line); z-index: 20; }
.topbar-inner { max-width: 720px; margin: 0 auto; padding: 10px 18px; display: flex; justify-content: space-between; align-items: center; }
.logo { font-weight: 800; letter-spacing: 1px; color: var(--green-dark); font-size: 19px; }
.topbar-call { font-weight: 700; text-decoration: none; color: var(--green-dark); }

/* Hero */
.hero { background: linear-gradient(180deg, var(--green-light), var(--white)); }
.eyebrow { color: var(--green); font-weight: 700; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px; }
.sub { font-size: 17px; }
.card img { width: 100%; border-radius: 8px; margin-bottom: 10px; display: block; }
.photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.photo-grid img { width: 100%; border-radius: 10px; display: block; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

/* Nút */
.btn {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 10px;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  border: none;
  cursor: pointer;
}
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:active { background: var(--green-dark); }
.btn-call { background: var(--white); color: var(--green-dark); border: 2px solid var(--green); }
.btn-zalo { background: #008fe5; color: var(--white); }
.btn-block { width: 100%; }

/* Thẻ */
.cards { display: grid; gap: 12px; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
}
.card-link { text-decoration: none; color: inherit; display: block; }
.card-link:active { border-color: var(--green); }
.price { font-size: 26px; font-weight: 800; color: var(--green-dark); margin: 4px 0; }
.price span { font-size: 15px; font-weight: 400; color: var(--muted); }
.price-card.highlight { border: 2px solid var(--green); background: var(--green-light); }

/* Danh sách */
.ticks { list-style: none; padding: 0; }
.ticks li { padding: 6px 0 6px 28px; position: relative; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.steps { padding-left: 22px; }
.steps li { margin-bottom: 10px; }
.spec { color: var(--muted); font-size: 15px; }

/* Bảng */
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { width: 42%; color: var(--green-dark); }

/* Ảnh gói */
.pack-img { width: 100%; max-width: 420px; display: block; margin: 0 auto 16px; border-radius: 12px; }

/* Form */
form { display: grid; gap: 14px; margin-top: 8px; }
form label { font-weight: 600; display: grid; gap: 6px; }
form input, form select, form textarea {
  width: 100%;
  padding: 13px 14px;
  font-size: 16px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  background: var(--white);
}
form input:focus, form select:focus, form textarea:focus { outline: none; border-color: var(--green); }
fieldset { border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; margin: 0; }
fieldset legend { font-weight: 600; padding: 0 6px; }
.radio { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; padding: 6px 0; }
.radio input { width: auto; margin-top: 4px; }
.form-error { color: #c0392b; font-weight: 600; margin: 0; }
.fineprint { font-size: 13px; color: var(--muted); }

/* FAQ */
details { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin-bottom: 10px; background: var(--white); }
summary { font-weight: 700; cursor: pointer; color: var(--green-dark); }
details p { margin: 10px 0 0; }

/* Footer */
footer { padding: 28px 18px 20px; max-width: 720px; margin: 0 auto; text-align: center; }

/* Thanh CTA dính đáy */
.sticky-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  display: flex;
  background: var(--white);
  border-top: 1px solid var(--line);
  z-index: 30;
}
.sticky-bar a {
  flex: 1;
  text-align: center;
  padding: 14px 0;
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
  color: var(--green-dark);
}
.sticky-bar a:first-child { background: var(--green); color: var(--white); }
.sticky-bar a:nth-child(3) { color: #008fe5; }

/* Popup cảm ơn */
.popup-overlay {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex; align-items: center; justify-content: center;
  z-index: 50; padding: 20px;
}
.popup-overlay[hidden] { display: none; }
.popup { background: var(--white); border-radius: 14px; padding: 24px; max-width: 420px; text-align: center; }
.popup h3 { color: var(--green-dark); font-size: 20px; }

/* Desktop */
@media (min-width: 640px) {
  h1 { font-size: 34px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .cards .price-card.highlight { grid-column: span 2; }
  body { padding-bottom: 0; }
  .sticky-bar { display: none; }
}
