/*
Theme Name: Vyapara Mitra
Text Domain: vyapara-mitra
Description: Fast bilingual (Telugu/English) one-page theme for the Vyapara Mitra WhatsApp community.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
WPVibe: yes
*/
:root{--g:#0E5E1F;--gd:#0A4416;--y:#FDB913;--c:#FAF7EC;--t:#1A1A1A;color-scheme:light}
html{scroll-behavior:smooth;scroll-padding-top:76px}
*,*::before,*::after{box-sizing:border-box}
body{margin:0;background:#fff;color:var(--t);font:400 17px/1.7 "Noto Sans Telugu","Noto Sans",system-ui,sans-serif;-webkit-text-size-adjust:100%}
html[lang=en] body{line-height:1.6}
h1,h2,h3,p{margin:0}
h1,h2,h3{color:var(--g);font-weight:700;line-height:1.5}
html[lang=en] h1,html[lang=en] h2,html[lang=en] h3{line-height:1.25}
h1{font-size:30px}h2{font-size:27px;margin-bottom:20px}h3{font-size:19px}
.wrap{max-width:1040px;margin:0 auto;padding:0 20px}
section{padding:52px 0}
.alt{background:var(--c)}
.gap{margin-top:22px}
a{color:inherit}
:focus-visible{outline:3px solid var(--y);outline-offset:2px}
.site-header{position:sticky;top:0;z-index:20;background:var(--g);color:#fff;padding-top:env(safe-area-inset-top,0px)}
.admin-bar .site-header{top:32px}
.hd{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:64px}
.logo{display:flex;align-items:center;gap:8px;font-weight:700;font-size:17px;text-decoration:none;color:#fff;line-height:1.2}
.mark{width:40px;height:40px;border-radius:50%;flex:none;display:block}
.logo .nm{display:none}
.hr{display:flex;align-items:center;gap:8px}
.tg{display:flex;border:2px solid var(--y);border-radius:999px;overflow:hidden}
.tg button{font:700 14px/1 "Noto Sans Telugu","Noto Sans",sans-serif;background:none;color:#fff;border:0;padding:9px 11px;cursor:pointer;min-height:36px}
.tg button[aria-pressed=true]{background:var(--y);color:var(--g)}
.btn{display:flex;align-items:center;justify-content:center;background:var(--g);color:#fff;font-family:inherit;font-weight:700;font-size:18px;line-height:1.4;text-decoration:none;cursor:pointer;min-height:56px;padding:12px 22px;border-radius:14px;width:100%;text-align:center;box-shadow:0 3px 0 var(--gd)}
.btn:active{transform:translateY(2px);box-shadow:0 1px 0 var(--gd)}
.btn.sm{width:auto;min-height:40px;padding:6px 12px;font-size:14px;background:var(--y);color:var(--g);box-shadow:none;border-radius:999px}
.hero{padding:32px 0 44px;background:var(--c)}
.hero .wrap{display:grid;gap:24px}
.badge{display:inline-block;background:var(--y);color:var(--g);font-weight:700;padding:2px 16px;border-radius:999px;font-size:16px}
.hero h1{margin:12px 0}
.sub{font-size:18px}
.note{font-size:15px;color:#4a4a4a;margin-top:12px;text-align:center}
.shop{border-radius:20px;overflow:hidden;background:#fff;aspect-ratio:4/3;border:2px solid #e8e0c4}
.shop svg{width:100%;height:100%;display:block}
.pain{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.pain li{display:flex;gap:14px;align-items:flex-start;background:var(--c);padding:14px 16px;border-radius:14px}
.pain li::before,.pl li::before{content:"✓";flex:none;width:30px;height:30px;border-radius:50%;background:var(--y);color:var(--g);font-weight:700;display:grid;place-items:center;margin-top:2px;line-height:1}
.lead{margin-top:22px;font-weight:700;color:var(--g);font-size:18px}
.grid{display:grid;gap:16px}
.card{background:#fff;border-radius:16px;padding:20px;border:1px solid #e8e0c4}
.ic{width:52px;height:52px;border-radius:50%;background:var(--y);display:grid;place-items:center;margin-bottom:10px}
.ic svg{width:26px;height:26px}
.card p{margin-top:6px}
.steps{display:grid;counter-reset:s}
.step{display:grid;grid-template-columns:48px 1fr;gap:14px;position:relative;padding-bottom:24px}
.step::before{counter-increment:s;content:counter(s);width:44px;height:44px;border-radius:50%;background:var(--g);color:#fff;font-weight:700;font-size:20px;display:grid;place-items:center;position:relative;z-index:1}
.step::after{content:"";position:absolute;left:21px;top:44px;bottom:0;width:2px;background:var(--y)}
.step:last-child::after{display:none}
.step b{color:var(--g)}
.story{max-width:62ch}
.fg{margin-top:28px}
.fc{text-align:center}
.ph{width:112px;height:112px;border-radius:50%;margin:0 auto 10px;background:var(--y);color:var(--g);display:grid;place-items:center;font-size:40px;font-weight:700;border:4px solid #fff;box-shadow:0 0 0 2px var(--g)}
.fc strong{display:block;color:var(--g)}
.prom{background:var(--g);color:#fff}
.prom h2{color:#fff}
.pl{list-style:none;margin:0;padding:0;display:grid;gap:14px}
.pl li{display:flex;gap:12px;align-items:flex-start}
details{background:#fff;border:1px solid #e8e0c4;border-radius:14px;margin-bottom:12px}
summary{list-style:none;cursor:pointer;padding:16px 52px 16px 18px;font-weight:700;color:var(--g);position:relative;min-height:56px}
summary::-webkit-details-marker{display:none}
summary::after{content:"+";position:absolute;right:16px;top:50%;transform:translateY(-50%);width:28px;height:28px;border-radius:50%;background:var(--y);display:grid;place-items:center;font-size:20px;line-height:1}
details[open] summary::after{content:"–"}
details p{padding:0 18px 16px}
.cta{text-align:center;background:var(--y)}
.cta .btn{max-width:420px;margin:0 auto}
.cta .note{color:var(--g)}
.qrcard{margin:32px auto 0;max-width:280px;background:#fff;border-radius:20px;padding:18px 18px 14px;box-shadow:0 4px 18px rgba(14,94,31,.18)}
.qt{font-weight:700;color:var(--g);margin-bottom:10px}
.qrlink{display:block;width:200px;max-width:100%;margin:0 auto;border:2px solid var(--g);border-radius:12px;overflow:hidden;line-height:0}
.qrlink svg{width:100%;height:auto;display:block}
.qn{font-size:15px;margin-top:10px;color:#4a4a4a}
.site-footer{background:var(--gd);color:#fff;padding:32px 0 96px;font-size:15px}
.site-footer p{margin-bottom:8px}
.site-footer .b{font-weight:700;font-size:18px}
.fab{position:fixed;right:16px;bottom:calc(16px + env(safe-area-inset-bottom,0px));width:60px;height:60px;border-radius:50%;background:#25D366;display:grid;place-items:center;box-shadow:0 4px 14px rgba(0,0,0,.3);z-index:25}
.fab svg{width:32px;height:32px;fill:#fff}
@media(min-width:640px){
 .logo .nm{display:inline}
 h1{font-size:38px}h2{font-size:32px}
 .grid.c3,.grid.f{grid-template-columns:repeat(2,1fr)}
 .btn{width:auto;min-width:340px}
 .hero .btn{width:100%}
}
@media(min-width:783px){.admin-bar .site-header{top:32px}}
@media(max-width:782px){.admin-bar .site-header{top:46px}}
@media(min-width:900px){
 .hero .wrap{grid-template-columns:1.15fr 1fr;align-items:center;gap:40px}
 h1{font-size:44px}
 .grid.c3,.grid.f{grid-template-columns:repeat(3,1fr)}
 .pain{grid-template-columns:1fr 1fr}
 .steps{grid-template-columns:repeat(3,1fr);gap:20px}
 .step{grid-template-columns:1fr;padding-bottom:0}
 .step::after{left:56px;top:22px;bottom:auto;width:calc(100% - 20px);height:2px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
