/* =========================================================
   Primal Remedies – हिंदी एडवर्टोरियल (Ceylon Cinnamon)
   Mobile-first. Breakpoints: 768px (tablet), 1025px (desktop + sidebar)
   ========================================================= */
:root {
  --green: #3daa35;
  --green-dk: #2f8f28;
  --green-bg: #f1fdf0;
  --yellow-bg: #fffbd9;
  --dark: #333333;
  --ink: #000;
  --text: #282828;
  --muted: #595959;
  --line: #e6e6e6;
  --ff: "Mukta", "Noto Sans Devanagari", "Nirmala UI", "Mangal", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--text); font-family: var(--ff); font-size: 17px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
body.modal-open { overflow: hidden; }
img, video { display: block; max-width: 100%; height: auto; }
h1, h2, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
.i { display: block; width: 1em; height: 1em; flex-shrink: 0; }
.green { color: var(--green); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

/* ---------- Top + update bar ---------- */
.top { background: var(--dark); }
.top__inner { display: flex; align-items: center; gap: 10px; max-width: 1200px; margin: 0 auto; padding: 10px 12px; }
.top__logo { width: 140px; height: auto; max-height: 44px; object-fit: contain; object-position: left; }
.top__tag { color: #fff; font-size: 14px; font-weight: 700; line-height: 1.3; }
.update { background: var(--yellow-bg); }
.update p { max-width: 1200px; margin: 0 auto; padding: 10px 12px; color: #242424; font-size: 14px; line-height: 1.6; text-align: center; }

/* ---------- Layout ---------- */
.layout { display: block; max-width: 1200px; margin: 0 auto; padding: 18px 14px 32px; }
.article { min-width: 0; }
.side { display: none; }

/* ---------- Article ---------- */
.article__h1 { margin-bottom: 12px; color: var(--ink); font-size: 26px; font-weight: 700; line-height: 1.35; letter-spacing: -.2px; }
.article__h1 strong { font-weight: 800; }
.article__sub { margin-bottom: 10px; color: #242424; font-size: 16px; line-height: 1.65; }
.rating { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; color: #242424; font-size: 14px; }
.rating__stars { color: #ebbf20; font-size: 18px; letter-spacing: 2px; line-height: 1; }
.hero-video { aspect-ratio: 16 / 9; margin-bottom: 14px; border-radius: 8px; background: #000; overflow: hidden; }
.hero-video video { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.byline { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.byline__img { width: 150px; height: auto; }
.byline__date { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.byline__date img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }

.prose p, .point p { margin-bottom: 14px; color: var(--text); font-size: 17px; line-height: 1.75; }
.prose strong, .point strong { color: var(--ink); font-weight: 700; }

/* numbered points */
.point { margin: 30px 0; }
.point__h { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; color: var(--ink); font-size: 22px; font-weight: 700; line-height: 1.35; }
.point__n { display: grid; flex-shrink: 0; place-items: center; width: 38px; height: 38px; margin-top: 1px; border-radius: 50%; background: var(--green); color: #fff; font-size: 20px; font-weight: 800; line-height: 1; }
.point__img { width: 100%; margin-bottom: 16px; border-radius: 8px; }
.checks { margin: 0 0 16px; }
.checks li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; color: var(--text); font-size: 17px; line-height: 1.55; }
.checks .i { width: 22px; height: 22px; margin-top: 3px; }

/* ---------- Offer box ---------- */
.offer { margin: 32px 0; padding: 26px 16px 22px; border: 2px dashed var(--green); border-radius: 12px; background: var(--green-bg); text-align: center; }
.offer__pre, .offer__sale, .offer__deal { font-size: 22px; font-weight: 800; line-height: 1.3; }
.offer__pre { color: var(--ink); }
.offer__sale, .offer__deal { color: var(--green); }
.offer__note { margin: 6px 0 14px; color: #242424; font-size: 15px; font-weight: 600; }
.cd { display: flex; justify-content: center; gap: 10px; margin-bottom: 18px; }
.cd__box { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 72px; padding: 8px 6px; border-radius: 8px; background: #000; color: #fff; }
.cd__v { font-size: 28px; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.cd__l { font-size: 12px; font-weight: 600; opacity: .9; }

.cta { position: relative; display: inline-flex; justify-content: center; align-items: center; width: 100%; max-width: 520px; min-height: 58px; padding: 12px 20px; border: 0; border-radius: 8px; background: var(--green); box-shadow: 0 4px 0 var(--green-dk); color: #fff; font-size: 20px; font-weight: 800; line-height: 1.3; text-align: center; transition: transform .12s, background-color .2s; animation: pulse 2.2s ease-in-out infinite; }
.cta:hover { background: #36a02f; }
.cta:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--green-dk); }
.cta--sm { min-height: 50px; font-size: 17px; animation: none; }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.025); } }
.guar { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 10px; color: #242424; font-size: 14px; font-weight: 600; }
.guar .i { width: 16px; height: 16px; color: var(--green); }

/* ---------- Final offer ---------- */
.final { margin-top: 32px; padding: 22px 16px; border-radius: 12px; background: var(--green-bg); text-align: center; }
.final__img { width: 100%; max-width: 420px; margin: 0 auto 14px; }
.final__img--desk { display: none; }
.final__h { margin-bottom: 8px; color: var(--ink); font-size: 22px; font-weight: 800; line-height: 1.3; }
.final__deal { margin-bottom: 16px; color: var(--green); font-size: 19px; font-weight: 800; line-height: 1.35; }
.final__banner { width: 100%; margin: 16px auto 0; }

/* ---------- Sidebar ---------- */
.side__box { position: sticky; top: 20px; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 22px 18px; border-radius: 12px; background: #f2f2f2; text-align: center; }
.side__h { color: #242424; font-size: 24px; font-weight: 800; line-height: 1.3; }
.side__badges { width: 100%; }

/* ---------- Footer ---------- */
.foot { padding: 24px 16px 96px; background: #f7f7f7; color: var(--muted); font-size: 13px; line-height: 1.7; text-align: center; }
.foot p { max-width: 900px; margin: 0 auto; }
.foot__copy { margin-top: 10px !important; font-weight: 600; }

/* ---------- Mobile sticky CTA ---------- */
.sticky { position: fixed; inset: auto 0 0; z-index: 30; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); box-shadow: 0 -2px 12px rgba(0,0,0,.12); transform: translateY(110%); transition: transform .3s ease; }
.sticky.is-visible { transform: none; }
.sticky .cta { max-width: none; min-height: 52px; font-size: 18px; animation: none; }

/* ---------- Lead form popup ---------- */
.modal { width: min(460px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 14px; background: #fff; color: var(--text); overflow: auto; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.modal::backdrop { background: rgba(0,0,0,.6); }
.modal[open] { animation: pop .22s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.modal__close { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.9); color: #000; font-size: 20px; }
.modal__head { padding: 22px 48px 16px; background: var(--green-bg); text-align: center; border-bottom: 1px solid #d9f2d6; }
.modal__sale { color: var(--green); font-size: 16px; font-weight: 800; }
.modal__title { color: var(--ink); font-size: 24px; font-weight: 800; line-height: 1.3; }
.modal__deal { color: var(--green); font-size: 18px; font-weight: 800; }
.lf { padding: 18px 18px 20px; }
.lf__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { color: var(--ink); font-size: 15px; font-weight: 700; }
.input { width: 100%; height: 50px; padding: 0 12px; border: 1.5px solid #cfcfcf; border-radius: 8px; background: #fff; font-size: 16px; transition: border-color .15s, box-shadow .15s; }
.input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(61,170,53,.18); outline: none; }
.field.has-error .input { border-color: #d33; }
.field__err { color: #c62828; font-size: 13px; line-height: 1.35; }
.field__err:empty { display: none; }
.phone { display: flex; gap: 8px; }
.phone__cc { display: flex; flex: 0 0 auto; align-items: center; width: auto; padding: 0 12px; background: #f6f6f6; font-weight: 700; white-space: nowrap; }
.lf__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lf .cta { max-width: none; animation: none; }
.lf__msg { margin-top: 8px; color: #c62828; font-size: 14px; text-align: center; }
.lf__msg:empty { display: none; }
.cta.is-loading { color: transparent; pointer-events: none; }
.cta.is-loading::after { content: ""; position: absolute; width: 24px; height: 24px; border: 3px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* =========================================================
   Tablet ≥ 768px
   ========================================================= */
@media (min-width: 768px) {
  .top__logo { width: 200px; }
  .top__tag { font-size: 17px; }
  .update p { font-size: 16px; }
  .layout { padding: 28px 20px 48px; }
  .article__h1 { font-size: 31px; }
  .article__sub { font-size: 17px; }
  .byline__img { width: 170px; }
  .byline__date img { width: 50px; height: 50px; }
  .point__h { font-size: 25px; }
  .offer { padding: 30px 28px 26px; }
  .offer__pre, .offer__sale, .offer__deal { font-size: 25px; }
  .cd__box { min-width: 84px; }
  .final { padding: 28px; }
  .final__h { font-size: 26px; }
  .modal__title { font-size: 26px; }
}

/* =========================================================
   Desktop ≥ 1025px – article + sticky sidebar
   ========================================================= */
@media (min-width: 1025px) {
  .top__tag { font-size: 20px; }
  .layout { display: grid; grid-template-columns: minmax(0, 1fr) 314px; align-items: start; gap: 40px; }
  .side { display: block; align-self: stretch; }
  .article__h1 { font-size: 36px; line-height: 1.3; }
  .point__h { font-size: 28px; }
  .offer__pre, .offer__sale, .offer__deal { font-size: 29px; }
  .final__img--mobile { display: none; }
  .final__grid { display: grid; grid-template-columns: 1fr 1.2fr; align-items: center; gap: 24px; text-align: center; }
  .final__img--desk { display: block; margin: 0; }
  .final__h { font-size: 29px; }
  .foot { padding-bottom: 28px; }
  .sticky { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
