/* Neyrozol — ranglar flakondagidek: yashil va oq, sariq aksent faqat tugmalarda (TZ 9) */
:root {
  --green-900: #0f3d27;
  --green-800: #17533a;
  --green-700: #1f6b45;
  --green-600: #2a8256;
  --green-100: #e6f2ea;
  --green-50: #f3f9f5;
  --white: #ffffff;
  --ink: #15241c;
  --muted: #3f5448;
  --line: #cfe2d6;
  --yellow: #ffc928;
  --yellow-hover: #ffb800;
  --err: #b42318;
  --radius: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 18px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  padding-bottom: 88px; /* mobil sticky tugma uchun joy */
}
img { max-width: 100%; height: auto; display: block; }
svg { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
h1, h2, h3 { line-height: 1.22; margin: 0 0 16px; color: var(--green-900); }
h1 { font-size: 28px; }
h2 { font-size: 26px; text-align: center; margin-bottom: 24px; }
h3 { font-size: 19px; margin-bottom: 4px; }
p { margin: 0 0 14px; }
a { color: var(--green-700); }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.sec { padding: 48px 0; }
.alt { background: var(--green-50); }

.todo {
  display: inline-block;
  background: #fff3c4;
  color: #6b4e00;
  border: 1px dashed #c99a00;
  border-radius: 6px;
  padding: 1px 6px;
  font-size: 0.85em;
  font-weight: 600;
  line-height: 1.4;
}

/* tugmalar — yagona sariq aksent */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 14px 28px;
  border: 0;
  border-radius: 14px;
  background: var(--yellow);
  color: #1d1600;
  font: inherit;
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 0 #d9a400;
  transition: background .15s, transform .1s;
}
.btn:hover { background: var(--yellow-hover); }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 #d9a400; }
.btn:focus-visible { outline: 3px solid var(--green-900); outline-offset: 3px; }
.btn[disabled] { opacity: .7; cursor: wait; }
.btn-block { width: 100%; }
.btn-ghost { background: var(--white); box-shadow: none; border: 2px solid var(--green-700); color: var(--green-800); }

/* hero */
.hero { background: linear-gradient(180deg, var(--green-100), var(--white)); padding: 24px 0 40px; }
.hero-grid { display: grid; gap: 24px; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--green-700); font-weight: 800; letter-spacing: .12em; margin-bottom: 12px; }
.lead { font-size: 19px; color: var(--muted); }
.trust { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 10px; }
.trust li { display: flex; align-items: center; gap: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-weight: 600; }
.trust svg { color: var(--green-700); width: 28px; height: 28px; }
.hero .btn { width: 100%; }
.hero-img { order: -1; }
.hero-img img { border-radius: 24px; margin: 0 auto; }
.photo-slot {
  aspect-ratio: 4 / 3;
  border: 2px dashed var(--green-600);
  border-radius: 24px;
  background: var(--green-100);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  color: var(--green-800); text-align: center; padding: 16px; font-weight: 600;
}
.photo-slot svg { width: 56px; height: 56px; }

/* tanish holatlar */
.checks, .warn { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; }
.checks li, .warn li { display: flex; gap: 12px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.checks svg { color: var(--white); background: var(--green-700); border-radius: 50%; padding: 4px; width: 28px; height: 28px; }
.warn svg { color: var(--green-800); width: 28px; height: 28px; }
.callout { background: var(--green-700); color: var(--white); border-radius: var(--radius); padding: 18px 20px; font-size: 20px; font-weight: 700; text-align: center; margin: 0; }

/* aylana */
.cycle { margin: 0 auto 24px; max-width: 460px; }
.cycle svg { width: 100%; height: auto; stroke: none; }
.cycle .ring { fill: none; stroke: var(--green-600); stroke-width: 3; stroke-dasharray: 8 8; }
.cycle .node { fill: var(--white); stroke: var(--green-700); stroke-width: 3; }
.cycle .n0 { fill: var(--green-700); }
.cycle text { font: 700 18px system-ui, sans-serif; fill: var(--green-900); text-anchor: middle; }
.cycle .n0 ~ text { fill: var(--white); font-size: 22px; }
.cycle .arr { fill: var(--green-700); }

/* giyohlar */
.herbs { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 14px; }
.herb { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; }
.herb img, .herb-ph { width: 96px; height: 96px; border-radius: 12px; object-fit: cover; }
.herb-ph { background: var(--green-100); display: flex; align-items: center; justify-content: center; color: var(--green-600); }
.herb-ph svg { width: 40px; height: 40px; }
.herb p { margin: 0; color: var(--muted); font-size: 17px; }
.herb .todo { margin-top: 6px; }
.mg { font-size: 15px; color: var(--green-700); font-weight: 600; }

/* qabul */
.facts { margin: 0; display: grid; gap: 12px; }
.facts div { background: var(--white); border: 1px solid var(--line); border-left: 6px solid var(--green-700); border-radius: 12px; padding: 14px 16px; }
.facts dt { font-weight: 700; color: var(--green-900); }
.facts dd { margin: 4px 0 0; font-size: 19px; }

/* qadamlar */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li { display: flex; gap: 14px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; font-size: 19px; }
.steps b { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--green-700); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 22px; }

/* fikrlar */
.reviews { display: grid; gap: 16px; }
.reviews figure { margin: 0; background: var(--green-50); border-radius: var(--radius); padding: 12px; }
.reviews video, .reviews audio { width: 100%; border-radius: 12px; }

/* FAQ */
.faq details { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; background: var(--white); }
.faq summary { cursor: pointer; padding: 16px 44px 16px 16px; font-weight: 700; list-style: none; position: relative; min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 28px; color: var(--green-700); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 16px 16px; color: var(--muted); }

/* forma */
.form-sec { background: var(--green-700); }
.form-sec h2 { color: var(--white); }
#leadForm { background: var(--white); border-radius: 20px; padding: 20px 16px; box-shadow: 0 10px 30px rgba(0,0,0,.15); }
.field { display: block; border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }
.field > span, .field legend { display: block; font-weight: 700; margin-bottom: 8px; padding: 0; }
.field legend em { font-weight: 400; font-style: normal; color: var(--muted); font-size: 16px; }
.field input[type=text], .field input[type=tel] {
  width: 100%; min-height: 56px; padding: 12px 16px; font: inherit; font-size: 20px;
  border: 2px solid var(--line); border-radius: 12px; background: var(--green-50); color: var(--ink);
}
.field input:focus { outline: none; border-color: var(--green-700); background: var(--white); }
.field.invalid input[type=text], .field.invalid input[type=tel] { border-color: var(--err); }
.err { display: block; color: var(--err); font-size: 16px; margin-top: 6px; min-height: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: flex; align-items: center; min-height: 52px; padding: 10px 18px;
  border: 2px solid var(--line); border-radius: 12px; background: var(--green-50); font-weight: 600; cursor: pointer;
}
.chip input:checked + span { background: var(--green-700); border-color: var(--green-700); color: var(--white); }
.chip input:focus-visible + span { outline: 3px solid var(--green-900); outline-offset: 2px; }
.privacy-note { text-align: center; color: var(--muted); font-size: 16px; margin: 12px 0 0; }
.form-msg { color: var(--err); text-align: center; font-weight: 600; margin: 10px 0 0; }

/* footer */
.footer { background: var(--green-900); color: #d7e8dd; padding: 28px 0 32px; font-size: 16px; text-align: center; }
.footer b { color: var(--white); }
.footer a { color: var(--white); }

/* mobil: doim ko'rinadigan tugma */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); box-shadow: 0 -4px 16px rgba(0,0,0,.12); z-index: 50; }

/* rahmat */
.thanks { padding: 64px 0; text-align: center; min-height: 70vh; }
.ok-icon { width: 88px; height: 88px; margin: 0 auto 20px; border-radius: 50%; background: var(--green-700); color: var(--white); display: flex; align-items: center; justify-content: center; }
.ok-icon svg { width: 48px; height: 48px; stroke-width: 3; }
.thanks h1 { font-size: 36px; }

/* maxfiylik */
.prose h1 { font-size: 30px; }
.prose h2 { text-align: left; font-size: 22px; margin: 24px 0 10px; }
.prose ul { padding-left: 22px; }

@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .sticky-cta { display: none; }
  h1 { font-size: 40px; }
  h2 { font-size: 34px; }
  .sec { padding: 72px 0; }
  .hero { padding: 56px 0 72px; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 48px; }
  .hero-img { order: 0; }
  .hero .btn { width: auto; min-width: 320px; }
  .trust { grid-template-columns: 1fr; }
  .herbs { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .steps li { flex-direction: column; text-align: center; }
  .reviews { grid-template-columns: repeat(3, 1fr); }
  #leadForm { padding: 32px; }
}
.sticky-cta { transition: transform .2s; }
.sticky-cta.off { transform: translateY(110%); }
@media (max-width: 899px) {
  .photo-slot { aspect-ratio: 16 / 9; }
  .hero-img img { max-height: 280px; width: auto; }
}
