/*
Theme Name: Keshav Fresh
Theme URI: https://keshavfresh.co.in/
Author: Keshav Fresh Pvt. Ltd.
Description: Mobile-first company website for Keshav Fresh with products (photo sliders, likes, Ask Price, WhatsApp chat), news slider, team, gallery, certificates and an enquiry form that sends leads to the Keshav Fresh CRM. Manage everything from wp-admin → Keshav Fresh.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: keshav-fresh
*/

:root {
  --bg: #ffffff; --soft: #f4f8f3; --cream: #fff8e8; --ink: #1d2b22; --mu: #5d6b62; --line: #e4ebe3;
  --brand: #1a7a43; --brand-d: #0f4d2a; --gold: #e9a62d; --gold-d: #a86c0a; --white: #ffffff; --wa: #25d366; --heart: #e0245e;
  --f: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Devanagari", sans-serif; --f-hi: "Yatra One", "Poppins", serif;
  --gl: max(16px, env(safe-area-inset-left, 0px)); --gr: max(16px, env(safe-area-inset-right, 0px));
  --ease: cubic-bezier(.16,1,.3,1); --spring: cubic-bezier(.34,1.4,.5,1); color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f); font-size: 15px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.kf-lock { overflow: hidden; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: var(--gl); padding-right: var(--gr); }
.sec { padding-block: 52px; }
.sec.soft { background: var(--soft); }
.title { text-align: center; margin-bottom: 28px; }
.title h2 { font-size: clamp(1.5rem, 5.5vw, 2.15rem); font-weight: 700; color: var(--brand-d); }
.title .bar { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; }
.title .bar i { height: 3px; width: 46px; border-radius: 3px; background: var(--gold); }
.title .bar b { width: 10px; height: 10px; border-radius: 50%; border: 3px solid var(--brand); }
.title p { color: var(--mu); margin: 12px auto 0; max-width: 62ch; }
.center { text-align: center; margin-top: 24px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 600; font-size: .93rem; padding: 11px 22px; border-radius: 999px; border: 0; cursor: pointer; transition: transform .15s, background .2s, box-shadow .2s, color .2s; line-height: 1.2; text-align: center; }
.btn:active { transform: scale(.96); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-g { background: var(--brand); color: var(--white); box-shadow: 0 8px 18px -10px rgba(26,122,67,.9); }
.btn-g:hover { background: var(--brand-d); }
.btn-y { background: var(--gold); color: #2b1b00; }
.btn-y:hover { background: #f2b545; }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 8px 18px -10px rgba(37,211,102,.9); }
.btn-wa:hover { background: #1fb957; }
.btn-line { border: 2px solid var(--brand); color: var(--brand); background: transparent; padding: 9px 20px; }
.btn-line:hover { background: var(--brand); color: var(--white); }
.btn-ghost { border: 2px solid rgba(255,255,255,.85); color: #fff; background: rgba(0,0,0,.22); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); padding: 9px 20px; }
.btn-sm { padding: 8px 14px; font-size: .84rem; }

/* ---------- top bar + header ---------- */
.infobar { background: var(--brand-d); color: #e3eee6; font-size: .8rem; }
.infobar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-block: 7px; }
.infobar .legal { font-weight: 600; letter-spacing: .02em; }
.soc { display: flex; gap: 10px; align-items: center; }
.soc a { display: grid; place-items: center; opacity: .9; transition: opacity .2s, transform .2s; }
.soc a:hover { opacity: 1; transform: translateY(-1px); }
.soc svg { width: 15px; height: 15px; }
header.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 60; background: var(--white); box-shadow: 0 2px 14px rgba(15,77,42,.08); }
body.admin-bar header.nav { top: calc(env(safe-area-inset-top, 0px) + 32px); }
@media (max-width: 782px) { body.admin-bar header.nav { top: env(safe-area-inset-top, 0px); } }
header.nav .wrap { display: flex; align-items: center; gap: 16px; height: 70px; }
.logo { display: flex; align-items: center; gap: 10px; min-width: 0; }
.logo img { height: 52px; width: auto; }
.logo .mk { width: 48px; height: 48px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #2a9a58, var(--brand-d)); color: var(--gold); display: grid; place-items: center; font-weight: 800; font-size: 1.3rem; border: 3px solid var(--gold); flex-shrink: 0; }
.logo b { display: block; font-size: 1.12rem; color: var(--brand-d); line-height: 1.05; font-weight: 800; }
.logo small { display: block; font-size: .68rem; color: var(--gold-d); font-weight: 600; }
.menu { display: none; margin-left: auto; gap: 2px; align-items: center; }
.menu > a, .dd > button { font: inherit; font-weight: 500; font-size: .89rem; padding: 8px 11px; border-radius: 8px; background: none; border: 0; cursor: pointer; color: var(--ink); white-space: nowrap; }
.menu > a:hover, .dd > button:hover { color: var(--brand); }
.dd { position: relative; }
.dd .list { position: absolute; top: 100%; left: 0; min-width: 220px; background: var(--white); border-radius: 12px; box-shadow: 0 16px 34px -14px rgba(0,0,0,.25); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .22s var(--ease); border-top: 3px solid var(--gold); max-height: 70vh; overflow-y: auto; }
.dd:hover .list, .dd:focus-within .list { opacity: 1; visibility: visible; transform: none; }
.dd .list a { display: block; padding: 8px 12px; border-radius: 8px; font-size: .88rem; }
.dd .list a:hover { background: var(--soft); color: var(--brand); }
.menu .btn { margin-left: 8px; }
.menu > a.btn-g { background: var(--brand); color: var(--white); padding: 10px 20px; border-radius: 999px; font-weight: 600; }
.menu > a.btn-g:hover { background: var(--brand-d); color: var(--white); }
.burger { margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); display: grid; place-items: center; cursor: pointer; color: var(--ink); flex-shrink: 0; }
.burger svg { width: 22px; height: 22px; }

.drawer { position: fixed; inset: 0; z-index: 90; visibility: hidden; }
.drawer.open { visibility: visible; }
.drawer .shade { position: absolute; inset: 0; background: rgba(0,0,0,.45); opacity: 0; transition: opacity .3s; }
.drawer.open .shade { opacity: 1; }
.drawer .panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(320px, 86%); background: var(--white); transform: translateX(100%); transition: transform .35s var(--ease); padding: calc(16px + env(safe-area-inset-top, 0px)) max(20px, env(safe-area-inset-right, 0px)) calc(20px + env(safe-area-inset-bottom, 0px)) 20px; overflow-y: auto; display: flex; flex-direction: column; }
.drawer.open .panel { transform: none; }
.drawer .x { align-self: flex-end; border: 0; background: var(--soft); width: 40px; height: 40px; border-radius: 50%; font-size: 1.05rem; cursor: pointer; margin-bottom: 6px; color: var(--ink); }
.drawer .panel > a, .drawer summary { padding: 12px 6px; border-bottom: 1px solid var(--line); font-weight: 500; cursor: pointer; list-style: none; display: block; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer summary::after { content: "+"; float: right; color: var(--brand); font-weight: 700; }
.drawer details[open] summary::after { content: "−"; }
.drawer details a { display: block; padding: 9px 18px; font-size: .9rem; color: var(--mu); }
.drawer .btn { margin-top: 16px; }
.drawer .soc { margin-top: 18px; color: var(--brand-d); gap: 16px; }
.drawer .soc svg { width: 20px; height: 20px; }

/* ---------- generic slider ---------- */
.sl { position: relative; overflow: hidden; touch-action: pan-y; }
.sl-track { display: flex; transition: transform .6s var(--ease); will-change: transform; }
.sl-track > * { flex: 0 0 100%; min-width: 0; }
.sl.dragging .sl-track { transition: none; }
.sl-dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 6px; z-index: 3; pointer-events: none; }
.sl-dots button { pointer-events: auto; width: 8px; height: 8px; border-radius: 8px; border: 0; background: rgba(255,255,255,.6); padding: 0; cursor: pointer; transition: width .3s var(--ease), background .3s; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.sl-dots button[aria-current="true"] { width: 22px; background: var(--gold); }
.sl-arr { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.88); color: var(--brand-d); cursor: pointer; display: none; place-items: center; font-size: 1.3rem; box-shadow: 0 6px 16px -8px rgba(0,0,0,.4); }
.sl-arr.l { left: 12px; } .sl-arr.r { right: 12px; }

/* ---------- hero ---------- */
.hero .sl-dots { bottom: 18px; }
.slide { min-height: 440px; position: relative; display: flex; align-items: center; overflow: hidden; color: var(--white); background-size: cover; background-position: center; }
.slide.has-img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.62), rgba(0,0,0,.15) 75%); z-index: 1; }
.slide .wrap { width: 100%; display: grid; gap: 12px; padding-block: 44px 64px; position: relative; z-index: 2; }
.slide .kick { font-family: var(--f-hi); color: var(--gold); font-size: 1.35rem; }
.slide h1, .slide h2 { font-size: clamp(1.85rem, 7.4vw, 3.3rem); font-weight: 800; max-width: 15ch; }
.slide p { max-width: 40ch; opacity: .92; }
.slide .btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.slide .art { position: absolute; right: -40px; bottom: -30px; width: 300px; height: 300px; z-index: 1; }
.tone-green { background-color: #136338; background-image: radial-gradient(circle at 80% 70%, #2b9c5a 0, transparent 55%), linear-gradient(120deg, #0d4527, #136338); }
.tone-gold { background-color: #9a5a0c; background-image: radial-gradient(circle at 80% 70%, #f4c460 0, transparent 55%), linear-gradient(120deg, #6b3b05, #b9761a); }
.tone-blue { background-color: #145a8c; background-image: radial-gradient(circle at 80% 70%, #5aa9e0 0, transparent 55%), linear-gradient(120deg, #0c3b5e, #1966a0); }
.tone-red { background-color: #8e3320; background-image: radial-gradient(circle at 80% 70%, #f08a6a 0, transparent 55%), linear-gradient(120deg, #6e1f12, #b2462a); }
.slide.has-img { background-color: #222; }

/* ---------- news slider (Bhaskar-style) ---------- */
.news-sl { border-radius: 18px; box-shadow: 0 22px 44px -28px rgba(15,77,42,.55); }
.ncard { position: relative; aspect-ratio: 16 / 10; max-width: 100%; color: #fff; cursor: pointer; display: block; overflow: hidden; background: var(--brand-d); }
.ncard .bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 6s linear; }
.ncard.on .bg { transform: scale(1.06); }
.ncard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.82)); }
.ncard .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 16px 34px; z-index: 2; display: grid; gap: 6px; }
.ncard .tag { width: fit-content; background: #d62828; color: #fff; font-size: .7rem; font-weight: 700; padding: 2px 9px; border-radius: 4px; letter-spacing: .04em; }
.ncard h3 { font-size: clamp(1.05rem, 4.6vw, 1.5rem); font-weight: 700; line-height: 1.3; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.ncard .dt { font-size: .78rem; opacity: .85; }
.news-list { display: grid; gap: 10px; margin-top: 16px; }
.nrow { display: flex; gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; background: var(--white); transition: background .2s, transform .2s; text-align: left; font: inherit; color: inherit; width: 100%; }
.nrow:hover { background: var(--soft); }
.nrow .th { width: 76px; height: 56px; border-radius: 10px; flex-shrink: 0; background-size: cover; background-position: center; background-color: var(--soft); }
.nrow b { font-size: .92rem; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nrow small { color: var(--mu); font-size: .76rem; }

/* ---------- process / features ---------- */
.steps { display: grid; gap: 16px; }
.step { background: var(--white); border-radius: 18px; padding: 24px 20px 20px; text-align: center; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.step:hover { transform: translateY(-4px); box-shadow: 0 18px 30px -20px rgba(15,77,42,.45); }
.step .no { font-size: .78rem; font-weight: 700; color: var(--gold-d); letter-spacing: .08em; }
.step .ic { width: 72px; height: 72px; border-radius: 50%; margin: 8px auto 12px; display: grid; place-items: center; background: var(--soft); color: var(--brand); border: 2px dashed rgba(26,122,67,.35); }
.step .ic svg { width: 34px; height: 34px; }
.step h3 { font-size: 1.05rem; color: var(--brand-d); margin-bottom: 6px; }
.step p { color: var(--mu); font-size: .9rem; }
.tagline { background: linear-gradient(120deg, var(--brand-d), var(--brand)); color: var(--white); text-align: center; padding-block: 44px; position: relative; overflow: hidden; }
.tagline h2 { font-family: var(--f-hi); font-weight: 400; font-size: clamp(1.8rem, 8vw, 3.1rem); color: var(--gold); position: relative; }
.tagline p { opacity: .85; margin-top: 6px; position: relative; }
.tagline .seal { position: absolute; width: 180px; height: 180px; border-radius: 50%; border: 2px dashed rgba(233,166,45,.35); right: -50px; top: -60px; }
.tagline .seal.b { left: -60px; bottom: -80px; top: auto; right: auto; width: 220px; height: 220px; }
.feats { display: grid; }
.feat { display: flex; gap: 16px; padding: 20px 4px; border-bottom: 1px dashed var(--line); align-items: flex-start; }
.feat:last-child { border-bottom: 0; }
.feat .ic { width: 62px; height: 62px; border-radius: 18px; background: var(--cream); color: var(--gold-d); display: grid; place-items: center; flex-shrink: 0; }
.feat .ic svg { width: 30px; height: 30px; }
.feat h3 { font-size: 1.08rem; color: var(--brand-d); }
.feat .sub { color: var(--gold-d); font-weight: 600; font-size: .86rem; margin: 2px 0 6px; }
.feat p { color: var(--mu); font-size: .9rem; }

/* ---------- product cards ---------- */
.cat-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 18px; justify-content: flex-start; scrollbar-width: none; }
.cat-chips::-webkit-scrollbar { display: none; }
.cat-chips button { font: inherit; font-size: .86rem; font-weight: 500; border: 1px solid var(--line); background: var(--white); padding: 7px 16px; border-radius: 999px; cursor: pointer; white-space: nowrap; color: var(--ink); transition: all .2s; }
.cat-chips button[aria-pressed="true"] { background: var(--brand); color: var(--white); border-color: var(--brand); }
.prod-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pcard { background: var(--white); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s; position: relative; }
.pcard:hover { transform: translateY(-4px); box-shadow: 0 20px 34px -22px rgba(15,77,42,.5); }
.pcard .sl { aspect-ratio: 1; max-width: 100%; background: radial-gradient(circle at 50% 42%, var(--white), var(--soft) 72%); cursor: pointer; }
.pcard .sl-dots { bottom: 8px; }
.pcard .sl-dots button { width: 6px; height: 6px; background: rgba(15,77,42,.25); box-shadow: none; }
.pcard .sl-dots button[aria-current="true"] { width: 16px; background: var(--brand); }
.ph { width: 100%; height: 100%; display: grid; place-items: center; overflow: hidden; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph svg { width: 78%; height: 78%; }
.pcard .b { padding: 10px 10px 12px; display: grid; gap: 4px; flex: 1; }
.pcard h3 { font-size: .95rem; color: var(--brand-d); font-weight: 600; line-height: 1.3; cursor: pointer; }
.pcard .sz { font-size: .78rem; color: var(--mu); }
.pcard .acts { display: grid; grid-template-columns: 1fr auto; gap: 6px; margin-top: 6px; align-items: center; }
.pcard .acts .btn { padding: 8px 10px; font-size: .8rem; }
.pcard .acts .btn-wa { width: 36px; height: 36px; padding: 0; border-radius: 50%; }
.pcard .acts .btn-wa svg { width: 19px; height: 19px; }
.like-chip { position: absolute; top: 8px; right: 8px; z-index: 4; display: inline-flex; align-items: center; gap: 4px; background: rgba(255,255,255,.92); border: 0; border-radius: 999px; padding: 4px 9px 4px 7px; font: inherit; font-size: .76rem; font-weight: 600; color: var(--ink); cursor: pointer; box-shadow: 0 4px 12px -6px rgba(0,0,0,.35); }
.like-chip svg { width: 16px; height: 16px; color: var(--heart); }
.badge-top { position: absolute; top: 8px; left: 8px; z-index: 4; background: var(--gold); color: #2b1b00; font-size: .68rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; }
.heart-on svg { fill: currentColor; }
.pop { animation: heartpop .45s var(--spring); }
@keyframes heartpop { 40% { transform: scale(1.35); } }

/* ---------- product detail sheet ---------- */
.sheet { position: fixed; inset: 0; z-index: 95; visibility: hidden; }
.sheet.open { visibility: visible; }
.sheet .shade { position: absolute; inset: 0; background: rgba(8,20,13,.55); opacity: 0; transition: opacity .3s; }
.sheet.open .shade { opacity: 1; }
.sheet .box { position: absolute; left: 0; right: 0; bottom: 0; max-height: 96vh; max-height: 96dvh; background: var(--white); border-radius: 22px 22px 0 0; overflow-y: auto; overscroll-behavior: contain; transform: translateY(100%); transition: transform .45s var(--ease); padding-bottom: env(safe-area-inset-bottom, 0px); }
.sheet.open .box { transform: none; }
.sheet .bar { position: sticky; top: 0; z-index: 6; display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; pointer-events: none; }
.sheet .bar button { pointer-events: auto; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--ink); cursor: pointer; display: grid; place-items: center; box-shadow: 0 4px 14px -6px rgba(0,0,0,.4); }
.sheet .bar svg { width: 20px; height: 20px; }
.sheet .grab { position: absolute; left: 50%; top: 8px; width: 42px; height: 5px; margin-left: -21px; border-radius: 9px; background: rgba(0,0,0,.18); z-index: 7; }
.pd-gal { margin-top: -60px; aspect-ratio: 1; max-height: 62vh; width: 100%; background: radial-gradient(circle at 50% 42%, var(--white), var(--soft) 72%); }
.pd-gal .ph svg { width: 70%; height: 70%; }
.pd-gal .sl-dots button { background: rgba(15,77,42,.25); box-shadow: none; }
.pd-gal .sl-dots button[aria-current="true"] { background: var(--brand); }
.pd-gal .count { position: absolute; right: 12px; bottom: 12px; z-index: 3; background: rgba(0,0,0,.55); color: #fff; font-size: .74rem; padding: 2px 9px; border-radius: 999px; }
.pd-thumbs { display: flex; gap: 8px; padding: 10px var(--gr) 0 var(--gl); overflow-x: auto; scrollbar-width: none; }
.pd-thumbs button { width: 58px; height: 58px; border-radius: 12px; border: 2px solid transparent; padding: 0; overflow: hidden; background: var(--soft); cursor: pointer; flex-shrink: 0; }
.pd-thumbs button[aria-current="true"] { border-color: var(--brand); }
.pd-thumbs .ph svg { width: 80%; height: 80%; }
.pd-body { padding: 16px var(--gr) 24px var(--gl); display: grid; gap: 14px; }
.pd-cat { color: var(--gold-d); font-size: .8rem; font-weight: 600; }
.pd-body h2 { font-size: clamp(1.4rem, 6vw, 2rem); color: var(--brand-d); font-weight: 700; }
.pd-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pd-size { background: var(--soft); border-radius: 999px; padding: 4px 12px; font-size: .84rem; font-weight: 600; }
.like-btn { display: inline-flex; align-items: center; gap: 7px; border: 1.5px solid var(--line); background: var(--white); border-radius: 999px; padding: 6px 14px; font: inherit; font-weight: 600; font-size: .86rem; cursor: pointer; color: var(--ink); transition: border-color .2s, background .2s; }
.like-btn svg { width: 19px; height: 19px; color: var(--heart); }
.like-btn.heart-on { border-color: rgba(224,36,94,.35); background: #fff0f4; }
.pd-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pd-cta .btn { padding: 13px 12px; font-size: .95rem; }
.pd-short { font-size: 1rem; color: var(--ink); }
.pd-desc { color: var(--mu); }
.pd-desc p + p { margin-top: 10px; }
.pd-feat { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.pd-feat li { display: flex; gap: 10px; align-items: flex-start; }
.pd-feat li::before { content: ""; width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; border-radius: 50%; background: var(--soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a7a43' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat; }
.pd-h { font-size: 1rem; color: var(--brand-d); }
.pd-rel { display: grid; grid-auto-flow: column; grid-auto-columns: 42%; gap: 10px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.pd-rel .pcard .acts { display: none; }
.pd-sticky { position: sticky; bottom: 0; z-index: 5; background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding: 10px var(--gr) calc(10px + env(safe-area-inset-bottom, 0px)) var(--gl); }

/* ---------- modal (enquiry, news reader) ---------- */
.modal { position: fixed; inset: 0; z-index: 100; visibility: hidden; display: flex; align-items: flex-end; justify-content: center; }
.modal.open { visibility: visible; }
.modal .shade { position: absolute; inset: 0; background: rgba(8,20,13,.55); opacity: 0; transition: opacity .3s; }
.modal.open .shade { opacity: 1; }
.modal .box { position: relative; width: 100%; max-height: 94vh; max-height: 94dvh; overflow-y: auto; background: var(--white); border-radius: 22px 22px 0 0; transform: translateY(100%); transition: transform .4s var(--ease); padding: 20px var(--gr) calc(22px + env(safe-area-inset-bottom, 0px)) var(--gl); overscroll-behavior: contain; }
.modal.open .box { transform: none; }
.modal .x { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--soft); color: var(--ink); cursor: pointer; font-size: 1rem; z-index: 2; }
.modal h3 { font-size: 1.3rem; color: var(--brand-d); padding-right: 44px; }
.enq-prod { display: flex; gap: 12px; align-items: center; background: var(--soft); border-radius: 14px; padding: 10px; margin: 12px 0 14px; }
.enq-prod .ph { width: 54px; height: 54px; border-radius: 10px; background: var(--white); flex-shrink: 0; }
.enq-prod b { display: block; font-size: .95rem; } .enq-prod small { color: var(--mu); }
.fgrid { display: grid; gap: 12px; }
.fgrid label { display: grid; gap: 4px; font-size: .85rem; font-weight: 500; }
.fgrid input, .fgrid select, .fgrid textarea { font: inherit; font-size: .95rem; padding: 11px 13px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); width: 100%; }
.fgrid input:focus, .fgrid select:focus, .fgrid textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(26,122,67,.14); }
.fgrid .err { color: #c0392b; font-size: .78rem; }
.fgrid .bad input { border-color: #c0392b; }
.fgrid .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fine { font-size: .78rem; color: var(--mu); text-align: center; }
.ok { text-align: center; padding: 16px 0 6px; display: grid; gap: 8px; justify-items: center; }
.ok .t { width: 64px; height: 64px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; animation: okpop .45s var(--spring); }
.ok .t svg { width: 32px; height: 32px; }
.ok p { color: var(--mu); max-width: 34ch; }
@keyframes okpop { from { transform: scale(.5); opacity: 0; } }
.reader .hero-img { margin: -20px calc(-1 * var(--gr)) 14px calc(-1 * var(--gl)); aspect-ratio: 16 / 9; max-width: none; background-size: cover; background-position: center; background-color: var(--brand-d); border-radius: 22px 22px 0 0; }
.reader .dt { color: var(--mu); font-size: .82rem; margin: 6px 0 10px; }
.reader .content { color: var(--ink); }
.reader .content p { margin-bottom: 12px; }
.reader .content img { border-radius: 12px; margin: 10px 0; height: auto; }
.reader .share { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }

/* ---------- about + team ---------- */
.about { display: grid; gap: 22px; }
.about h2 { font-size: clamp(1.5rem, 5.5vw, 2.1rem); color: var(--brand-d); }
.about .txt p { color: var(--mu); margin-top: 10px; }
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; }
.member { background: var(--white); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; text-align: center; cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s; font: inherit; color: inherit; padding: 0; }
.member:hover { transform: translateY(-4px); box-shadow: 0 18px 30px -20px rgba(15,77,42,.45); }
.member .pic { aspect-ratio: 1; max-width: 100%; background: linear-gradient(160deg, var(--soft), #dcebdf); background-size: cover; background-position: center top; display: grid; place-items: center; font-size: 2.4rem; font-weight: 800; color: var(--brand); }
.member .in { padding: 12px 10px 14px; }
.member b { display: block; font-size: .98rem; color: var(--brand-d); }
.member span { display: block; font-size: .8rem; color: var(--gold-d); font-weight: 600; }
.cinfo { display: grid; gap: 10px; }
.crow { display: flex; gap: 14px; align-items: center; background: var(--soft); border-radius: 14px; padding: 12px 14px; }
.crow .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--brand); color: var(--white); display: grid; place-items: center; flex-shrink: 0; }
.crow .ic svg { width: 20px; height: 20px; }
.crow small { display: block; color: var(--mu); font-size: .78rem; }
.crow b { font-weight: 600; word-break: break-word; }
.crow.wa .ic { background: var(--wa); }
button.crow { width: 100%; border: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; }
a.crow { color: inherit; text-decoration: none; }
.team-h { font-size: 1.25rem; color: var(--brand-d); }
.soc-big { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.soc-big a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; transition: transform .2s; }
.soc-big a:hover { transform: translateY(-2px); }
.soc-big svg { width: 20px; height: 20px; }
.s-facebook { background: #1877f2; } .s-instagram { background: linear-gradient(45deg, #f58529, #dd2a7b 50%, #8134af); } .s-youtube { background: #ff0000; } .s-x { background: #111; } .s-linkedin { background: #0a66c2; } .s-whatsapp { background: var(--wa); }

/* ---------- gallery, certs, ticker ---------- */
.gal-tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }
.gal-tabs button { font: inherit; font-size: .84rem; font-weight: 500; border: 1px solid var(--line); background: var(--white); padding: 6px 14px; border-radius: 999px; cursor: pointer; color: var(--ink); }
.gal-tabs button[aria-pressed="true"] { background: var(--brand); color: var(--white); border-color: var(--brand); }
.gal { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.gtile { aspect-ratio: 1; max-width: 100%; border-radius: 14px; position: relative; overflow: hidden; display: grid; place-items: center; color: rgba(255,255,255,.9); cursor: pointer; background-size: cover; background-position: center; border: 0; padding: 0; font: inherit; }
.gtile.hide { display: none; }
.gtile svg { width: 38%; height: 38%; }
.gtile span { position: absolute; left: 8px; bottom: 8px; background: rgba(0,0,0,.45); color: #fff; font-size: .72rem; padding: 2px 9px; border-radius: 999px; }
.g-factory { background-color: #3f8a5f; } .g-shop { background-color: #c98a2c; } .g-delivery { background-color: #2f6ea6; } .g-event { background-color: #a5435f; } .g-other { background-color: #5d6b62; }
.lightbox { position: fixed; inset: 0; z-index: 110; background: rgba(0,0,0,.92); display: none; place-items: center; padding: 20px; }
.lightbox.open { display: grid; }
.lightbox img { max-height: 86vh; width: auto; border-radius: 10px; }
.lightbox button { position: absolute; top: calc(14px + env(safe-area-inset-top, 0px)); right: 14px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.15); color: #fff; font-size: 1.1rem; cursor: pointer; }
.certs { display: flex; gap: 12px; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.certs::-webkit-scrollbar { display: none; }
.cert { flex: 0 0 132px; scroll-snap-align: start; aspect-ratio: 1; border: 1px solid var(--line); border-radius: 16px; display: grid; place-items: center; text-align: center; padding: 10px; background: var(--white); }
.cert img { max-height: 64px; width: auto; margin: 0 auto 6px; }
.cert b { display: block; font-size: 1.05rem; color: var(--brand-d); }
.cert small { color: var(--mu); font-size: .72rem; line-height: 1.3; display: block; }
.cert i { width: 42px; height: 42px; border-radius: 50%; margin: 0 auto 6px; display: grid; place-items: center; background: var(--cream); color: var(--gold-d); font-style: normal; }
.cert i svg { width: 22px; height: 22px; }
.ticker { background: var(--gold); color: #2b1b00; overflow: hidden; white-space: nowrap; padding-block: 12px; font-weight: 600; }
.ticker .tk { display: inline-flex; gap: 40px; animation: tick 34s linear infinite; padding-left: 40px; }
.ticker .tk span { display: inline-flex; align-items: center; gap: 40px; }
.ticker .tk span::after { content: "✦"; color: var(--brand-d); }
@keyframes tick { to { transform: translateX(-50%); } }

.tops { display: grid; grid-auto-flow: column; grid-auto-columns: 58%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gr) 12px var(--gl); margin: 0 calc(-1 * var(--gr)) 0 calc(-1 * var(--gl)); scroll-padding-left: var(--gl); scrollbar-width: none; }
.tops::-webkit-scrollbar { display: none; }
.tops .pcard { scroll-snap-align: start; }
.enq-sec { background: var(--white); border-radius: 22px; padding: 22px; box-shadow: 0 24px 48px -30px rgba(15,77,42,.55); border: 1px solid var(--line); max-width: 720px; margin: 0 auto; }

/* ---------- footer ---------- */
footer.site { background: #0b2a18; color: #b8c9bd; font-size: .9rem; }
footer.site .cols { display: grid; gap: 28px; padding-block: 44px 30px; }
footer.site h4 { color: var(--white); font-size: 1.02rem; margin-bottom: 12px; position: relative; padding-bottom: 8px; }
footer.site h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; background: var(--gold); border-radius: 3px; }
footer.site ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
footer.site a:hover { color: var(--gold); }
footer.site .soc { margin-top: 14px; gap: 10px; }
footer.site .soc a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); }
footer.site .soc svg { width: 17px; height: 17px; }
footer.site .copy { border-top: 1px solid rgba(255,255,255,.1); padding-block: 16px calc(16px + env(safe-area-inset-bottom, 0px)); font-size: .8rem; text-align: center; }

.fab-wa { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 65; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 24px -10px rgba(0,0,0,.45); }
.fab-wa svg { width: 30px; height: 30px; }
.fab-wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ring 2.2s ease-out infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
.totop { position: fixed; right: max(24px, calc(env(safe-area-inset-right, 0px) + 8px)); bottom: calc(86px + env(safe-area-inset-bottom, 0px)); z-index: 65; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--brand-d); color: var(--white); cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .3s; font-size: 1.1rem; }
.totop.on { opacity: 1; pointer-events: auto; }
.toast { position: fixed; left: 50%; bottom: calc(90px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 12px; font-size: .88rem; opacity: 0; pointer-events: none; transition: all .35s var(--ease); z-index: 120; max-width: calc(100% - 32px); text-align: center; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.page-content { padding-block: 40px 60px; max-width: 820px; }
.page-content h1 { color: var(--brand-d); font-size: clamp(1.6rem, 6vw, 2.4rem); margin-bottom: 16px; }
.page-content p { margin-bottom: 14px; }

@media (min-width: 640px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .prod-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .gal { grid-template-columns: repeat(3, 1fr); }
  .tops { grid-auto-columns: 36%; }
  .team { grid-template-columns: repeat(3, 1fr); }
  .fgrid.two { grid-template-columns: 1fr 1fr; }
  .fgrid .full { grid-column: 1 / -1; }
  footer.site .cols { grid-template-columns: 1fr 1fr; }
  .pd-rel { grid-auto-columns: 28%; }
}
@media (min-width: 900px) {
  .sheet .box, .modal .box { left: 50%; right: auto; bottom: auto; top: 50%; width: min(1040px, 94vw); max-height: 90vh; border-radius: 22px; transform: translate(-50%, -46%) scale(.97); opacity: 0; transition: transform .4s var(--ease), opacity .3s; }
  .sheet.open .box { transform: translate(-50%, -50%); opacity: 1; }
  .modal { align-items: center; } .modal .box { position: relative; left: auto; top: auto; width: min(560px, 94vw); transform: translateY(16px) scale(.97); border-radius: 22px; }
  .modal.open .box { transform: none; opacity: 1; }
  .modal .box.wide { width: min(780px, 94vw); }
  .reader .hero-img { border-radius: 22px 22px 0 0; }
  .sheet .grab { display: none; }
  .pd-wrap { display: grid; grid-template-columns: 1.05fr 1fr; align-items: start; }
  .pd-wrap .pd-media { position: sticky; top: 0; }
  .pd-gal { margin-top: 0; max-height: none; border-radius: 22px 0 0 0; }
  .sheet .bar { position: absolute; left: 0; right: 0; }
  .pd-sticky { position: static; background: none; border: 0; padding: 0; }
  .pd-body { padding: 26px 30px; }
  .sl-arr { display: grid; }
  .pcard .sl-arr { display: none; }
}
@media (min-width: 1000px) {
  .menu { display: flex; } .burger { display: none; }
  .slide { min-height: 520px; } .slide .art { right: 6%; bottom: 50%; transform: translateY(50%); width: 400px; height: 400px; }
  .news-wrap { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; align-items: start; }
  .news-list { margin-top: 0; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .feats { grid-template-columns: 1fr 1fr; column-gap: 40px; } .feat:nth-last-child(2) { border-bottom: 0; }
  .prod-grid { grid-template-columns: repeat(5, 1fr); }
  .gal { grid-template-columns: repeat(4, 1fr); }
  .about { grid-template-columns: 1.1fr .9fr; align-items: start; gap: 48px; }
  .team { grid-template-columns: repeat(auto-fit, minmax(200px, 250px)); justify-content: center; }
  .tops { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); grid-auto-columns: auto; overflow: visible; margin: 0; padding: 4px 0 0; }
  footer.site .cols { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition-duration: 1ms !important; scroll-behavior: auto !important; } }

/* small screens: keep the hero art clear of the buttons */
@media (max-width: 639px) {
  .slide .art { width: 190px; height: 190px; right: -46px; bottom: -54px; opacity: .95; }
  .slide .wrap { padding-block: 40px 96px; }
}

/* WhatsApp message preview (preview mode only) */
.wa-prev { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.wa-top { display: flex; align-items: center; gap: 10px; background: #075e54; color: #fff; padding: 10px 14px; }
.wa-top svg { width: 22px; height: 22px; }
.wa-chat { background: #efeae2; padding: 16px 12px; display: flex; justify-content: flex-end; }
.wa-bub { background: #d9fdd3; border-radius: 10px 0 10px 10px; padding: 5px; max-width: 290px; width: 100%; box-shadow: 0 1px 1px rgba(0,0,0,.1); position: relative; color: #111b21; }
.wa-card { background: rgba(0,0,0,.05); border-radius: 8px; overflow: hidden; }
.wa-card .ph { aspect-ratio: 1.6; display: grid; place-items: center; background: #f4efe2; }
.wa-card .ph img, .wa-card .ph svg { width: 100%; height: 100%; object-fit: cover; }
.wa-card .ph svg { width: 46%; }
.wa-meta { padding: 7px 9px; display: grid; gap: 2px; font-size: .8rem; }
.wa-meta small { color: #54656f; }
.wa-meta i { color: #54656f; font-style: normal; font-size: .72rem; }
.wa-txt { padding: 7px 7px 16px; font-size: .88rem; line-height: 1.45; word-break: break-word; }
.wa-tm { position: absolute; right: 9px; bottom: 4px; font-size: .68rem; color: #667781; }

/* language switch */
.ib-r { display: flex; align-items: center; gap: 12px; }
.lang-btn { border: 1px solid rgba(255,255,255,.45); background: rgba(255,255,255,.1); color: #fff; font: 600 .78rem/1 var(--f); padding: 6px 12px; border-radius: 999px; cursor: pointer; white-space: nowrap; transition: background .2s, border-color .2s; }
.lang-btn:hover { background: rgba(255,255,255,.22); border-color: #fff; }
.lang-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.drawer .lang-btn.wide { margin-top: 14px; width: 100%; padding: 12px; font-size: .95rem; color: var(--brand-d); border-color: var(--brand); background: transparent; }
/* English headings use the text face; the Devanagari display face is for Hindi */
html:not([lang|="hi"]) .slide .kick { font-family: var(--f); font-weight: 600; font-size: 1rem; letter-spacing: .03em; }
html:not([lang|="hi"]) .tagline h2 { font-family: var(--f); font-weight: 700; font-size: clamp(1.6rem, 6.5vw, 2.6rem); }
html[lang|="hi"] body { line-height: 1.75; }
