/* Pakharya: warm village theme. System fonts only. */
:root {
  --ink: #1d2a17;
  --ink-soft: #3d4a35;
  --cream: #fff8ec;
  --paper: #ffffff;
  --sand: #f6ead2;
  --green-900: #1f3d1c;
  --green-700: #2f6b2a;
  --green-500: #4f9a3a;
  --green-100: #e8f3dd;
  --sun: #f6b21a;
  --orange: #b84a12;
  --orange-soft: #fde3c8;
  --red: #c62f22;
  --wa: #0f7a3f;
  --radius: 20px;
  --shadow: 0 6px 24px rgba(60, 40, 10, .12);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  --font-mr: "Noto Sans Devanagari", "Nirmala UI", "Mangal", "Kohinoor Devanagari", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
}
:lang(mr) { font-family: var(--font-mr); line-height: 1.7; }
img, svg { max-width: 100%; }
a { color: var(--green-700); text-underline-offset: 3px; }
a:hover { color: var(--green-900); }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; color: var(--green-900); }
h1 { font-size: clamp(1.9rem, 6vw, 3.1rem); text-wrap: balance; }
h2 { font-size: clamp(1.5rem, 4.5vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

/* Language switching: Marathi is the default, html.en switches to English */
html.en .mr, html:not(.en) .en { display: none !important; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 18px; }
.section { padding: 64px 0; }
.section-alt { background: var(--sand); }
.section-head { max-width: 680px; margin: 0 auto 36px; text-align: center; }
.section-head p { color: var(--ink-soft); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 10px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons and pills */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 24px; border-radius: 999px;
  font-weight: 700; font-size: 1.05rem; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn svg { width: 24px; height: 24px; flex: none; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { color: #fff; }
.btn-ghost { background: var(--paper); color: var(--green-900); border-color: var(--green-700); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.pill {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  background: var(--orange-soft); color: #7a2e06; font-weight: 700; font-size: .85rem;
}
.pill-sm { font-size: .72rem; padding: 2px 8px; vertical-align: middle; }

/* Header / nav */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 248, 236, .94);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid rgba(31, 61, 28, .1);
}
.nav { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.25rem; color: var(--green-900); text-decoration: none; }
.logo img { width: 48px; height: 48px; }
.nav-links { display: none; list-style: none; margin: 0 0 0 auto; padding: 0; gap: 4px; }
.nav-links a { display: block; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 600; }
.nav-links a:hover { background: var(--green-100); }
.nav-tools { display: flex; gap: 8px; margin-left: auto; }
.nav-links + .nav-tools { margin-left: 8px; }
.lang-btn, .menu-btn {
  min-height: 44px; min-width: 44px; padding: 8px 14px; border-radius: 999px;
  border: 2px solid var(--green-700); background: var(--paper); color: var(--green-900);
  font: inherit; font-weight: 700; cursor: pointer;
}
.menu-btn { padding: 8px 12px; }
.menu-btn svg { width: 22px; height: 22px; display: block; }
.nav-open .nav-links {
  display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 64px;
  background: var(--cream); padding: 8px 18px 16px; border-bottom: 1px solid rgba(31, 61, 28, .15);
  box-shadow: var(--shadow);
}
@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-links + .nav-tools { margin-left: 8px; }
  .menu-btn { display: none; }
}

/* Hero: text sits directly on the photo. A soft light wash (::after) behind
   the text side keeps it readable without a card. */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: 36px 0 200px; background: #f7c983; }
.hero::before, .hero::after { content: ""; position: absolute; inset: 0; z-index: -1; }
.hero::before {
  background: url(../img/hero-900.webp) 62% 100% / cover no-repeat;
  animation: hero-pan 24s ease-out both;
}
.hero::after {
  background: linear-gradient(rgba(255, 244, 228, .9), rgba(255, 244, 228, .78) 55%, rgba(255, 244, 228, 0) 85%);
}
@keyframes hero-pan { from { transform: scale(1.1); } to { transform: none; } }
.hero-text {
  text-align: center; max-width: 720px; margin: 0 auto; padding: 0 18px;
  text-shadow: 0 0 14px rgba(255, 244, 228, .9);
}
.hero-text .lead { font-size: 1.1rem; color: var(--ink); }
.hero .btn-row { justify-content: center; margin: 22px 0 6px; }
.hero .btn { text-shadow: none; }
@media (min-width: 600px) { .hero::before { background-image: url(../img/hero-1600.webp); } }
@media (min-width: 1000px) {
  .hero { padding: 56px 0 72px; min-height: calc(100vh - 64px); display: flex; align-items: center; }
  .hero::before { background-position: 70% 100%; }
  .hero::after {
    background: linear-gradient(90deg, rgba(255, 244, 228, .88), rgba(255, 244, 228, .7) 38%, rgba(255, 244, 228, 0) 62%);
  }
  .hero-text { text-align: left; margin: 0 0 0 max(24px, calc((100% - 1120px) / 2 + 18px)); max-width: 600px; padding: 0; }
  .hero .btn-row { justify-content: flex-start; }
}
.eyebrow { margin: 0 0 10px; font-size: .85rem; font-weight: 800; letter-spacing: .12em; color: var(--orange); }
.subhead { font-size: clamp(1.1rem, 3.2vw, 1.4rem); font-weight: 700; color: var(--green-700); margin: -4px 0 14px; }
.hero-benefits { display: grid; gap: 12px; margin: 22px 0 4px; text-align: left; }
@media (min-width: 600px) { .hero-benefits { grid-template-columns: 1fr 1fr; } }
.benefit { border-left: 4px solid var(--red); padding: 2px 0 2px 12px; }
.benefit:first-child { border-left-color: var(--green-500); }
.benefit h2 { font-size: 1.05rem; margin: 0 0 4px; }
.benefit p { margin: 0; font-size: .97rem; color: var(--ink-soft); }
.tagline { font-weight: 700; color: var(--green-900); margin: 12px 0 4px; }
.brand-tagline { color: #7a2e06; font-weight: 600; margin: 0; }

/* Demo */
.demo-grid { display: grid; gap: 32px; justify-items: center; }
@media (min-width: 860px) { .demo-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.demo-item { width: 100%; max-width: 360px; text-align: center; }
.demo-item h3 { margin-top: 16px; }
.demo-note { font-size: .9rem; color: var(--ink-soft); }
.phone {
  width: 100%; max-width: 330px; margin: 0 auto; border-radius: 36px; padding: 12px;
  background: #222; box-shadow: 0 18px 40px rgba(30, 20, 5, .3); text-align: left;
}
.screen { border-radius: 26px; overflow: hidden; height: 520px; display: flex; flex-direction: column; }
.wa-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #075e54; color: #fff; }
.wa-head b { display: block; line-height: 1.2; }
.wa-head small { opacity: .85; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex: none; }
.avatar img { width: 34px; height: 34px; }
.chat {
  flex: 1; padding: 14px 10px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; overflow: hidden;
  background: #ece5dd;
  background-image: radial-gradient(rgba(0,0,0,.035) 1px, transparent 1px);
  background-size: 14px 14px;
  font-size: .93rem;
}
.msg {
  max-width: 84%; padding: 7px 10px 5px; border-radius: 10px; line-height: 1.45;
  box-shadow: 0 1px 1px rgba(0,0,0,.12); color: #111;
}
.msg.out { align-self: flex-end; background: #dcf8c6; border-top-right-radius: 2px; }
.msg.in { align-self: flex-start; background: #fff; border-top-left-radius: 2px; }
.msg .t { display: block; text-align: right; font-size: .7rem; color: #667; }
.msg.card b { color: var(--wa); }
.typing { align-self: flex-start; background: #fff; border-radius: 10px; padding: 10px 12px; display: none; gap: 4px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #999; animation: dot 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.js .chat .msg { display: none; }
.js .chat .msg.show { display: block; animation: pop .3s ease-out; }
.js .chat .typing.show { display: flex; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }

/* Quick-reply buttons and the notice on the customer phone */
.qr-row { display: flex; gap: 6px; margin-top: 8px; }
.qr {
  flex: 1; text-align: center; padding: 6px 8px; border-radius: 8px; font-weight: 700;
  background: #f0f7f4; color: #0b6e5f; border: 1px solid #d5e8e1; transition: background .2s, color .2s, transform .2s;
}
.qr.pressed { background: #0b6e5f; color: #fff; transform: scale(.95); }
.screen { position: relative; }
.toast {
  margin: 8px; background: #fff; color: #111; border-radius: 14px; padding: 10px 12px;
  font-size: .85rem; line-height: 1.45; box-shadow: 0 8px 24px rgba(0,0,0,.25); border-left: 5px solid var(--wa);
}
.toast b { display: block; color: var(--wa); }
.js .toast { position: absolute; left: 0; right: 0; top: 0; transform: translateY(-130%); transition: transform .45s ease; }
.js .toast.show { transform: none; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; counter-reset: step; position: relative; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--paper); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow);
  border: 1px solid rgba(31, 61, 28, .08);
}
.step { text-align: center; position: relative; }
.step-num {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--red); color: #fff; font-weight: 800; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
}
.step-ico { width: 96px; height: 96px; margin: 10px auto 12px; display: block; }
.step.in .ico-bubble { animation: bob 1.6s ease-in-out infinite alternate; }
.step.in .ico-check { stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .8s .4s ease-out forwards; }
.step.in .ico-bell { transform-box: fill-box; transform-origin: 50% 0; animation: ring 1.4s ease-in-out infinite; }
@keyframes bob { to { transform: translateY(-5px); } }
@keyframes ring { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-14deg); } 40% { transform: rotate(14deg); } 60% { transform: rotate(-8deg); } 80% { transform: rotate(6deg); } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Audience cards */
.two { display: grid; gap: 22px; }
@media (min-width: 860px) { .two { grid-template-columns: 1fr 1fr; } }
.card-owner { border-top: 8px solid var(--red); }
.card-cust { border-top: 8px solid var(--green-500); }
.card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.card-head svg { width: 56px; height: 56px; flex: none; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { padding-left: 34px; position: relative; }
.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--green-100); color: var(--green-700); font-weight: 800; display: grid; place-items: center; font-size: .85rem;
}

/* Notifications */
.notif-grid { display: grid; gap: 18px; }
@media (min-width: 860px) { .notif-grid { grid-template-columns: repeat(2, 1fr); } }
.notif-grid .card h3 { display: flex; align-items: center; gap: 10px; }
.notif-grid .card h3 span.ico { font-size: 1.5rem; }
.stop-box {
  margin-top: 22px; background: var(--green-900); color: #fff; border-radius: var(--radius); padding: 22px;
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center;
}
.stop-box p { margin: 0; flex: 1 1 260px; }
.stop-word { font-family: ui-monospace, Consolas, monospace; font-weight: 800; background: var(--sun); color: var(--green-900); border-radius: 10px; padding: 6px 14px; font-size: 1.3rem; }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--paper); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 54px 18px 20px; font-weight: 700; position: relative; min-height: 56px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; background: var(--green-100); color: var(--green-700);
  display: grid; place-items: center; font-size: 1.3rem; transition: transform .2s;
}
.faq details[open] summary::after { content: "−"; }
.faq .ans { padding: 0 20px 18px; color: var(--ink-soft); }

/* Contact strip */
.contact-strip { background: var(--green-900); color: #fff; padding: 48px 0; }
.contact-strip h2 { color: #fff; }
.contact-strip a { color: #ffe08a; }
.contact-cols { display: grid; gap: 22px; }
@media (min-width: 860px) { .contact-cols { grid-template-columns: 1.2fr 1fr 1fr; } }
.contact-cols .lbl { font-weight: 800; color: var(--sun); display: block; margin-bottom: 4px; }

/* Inner pages */
.page-hero { background: linear-gradient(#ffe2a6, var(--cream)); padding: 44px 0 20px; }
.prose { max-width: 780px; margin: 0 auto; padding: 24px 18px 64px; }
.prose h2 { font-size: 1.35rem; margin-top: 1.8em; }
.prose ul { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.updated { color: var(--ink-soft); font-size: .95rem; }
.info-grid { display: grid; gap: 18px; margin: 20px 0; }
@media (min-width: 760px) { .info-grid { grid-template-columns: 1fr 1fr; } }
.todo-note { background: #fff3cd; border-left: 4px solid var(--sun); padding: 8px 12px; border-radius: 6px; font-size: .92rem; }

/* Footer */
.site-footer { background: #15290f; color: #e7efe0; padding: 44px 0 0; font-size: .97rem; }
.site-footer a { color: #ffe08a; }
.footer-grid { display: grid; gap: 26px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 8px; font-size: 1.3rem; font-weight: 800; color: #fff; }
.footer-brand img { width: 44px; height: 44px; }
.footer-h { font-weight: 800; color: var(--sun); margin-bottom: 6px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li a { display: inline-block; padding: 6px 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 26px; padding: 16px 18px; font-size: .88rem; opacity: .85; }

/* Scroll reveal */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .12s; }
.js .reveal.d2 { transition-delay: .24s; }

/* Reduced motion: static illustrations, everything visible */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .chat .msg { display: block; }
  .js .toast { position: static; transform: none; }
  .step .ico-check { stroke-dashoffset: 0 !important; }
}
