:root {
  --blue: #0e4190;
  --blue-deep: #0a2f6b;
  --green: #3f7d3a;
  --green-soft: #e6f1e3;
  --jaggery: #b5651d;
  --bg: #f6fbf5;
  --surface: #ffffff;
  --ink: #1d2a1f;
  --muted: #5a6b5c;
  --line: #dbe7d8;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16, 40, 20, .05), 0 8px 24px rgba(16, 40, 20, .06);
  --wrap: 1140px;
  --head: "Montserrat", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1rem/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); }
h1, h2, h3 { font-family: var(--head); line-height: 1.2; margin: 0 0 .5em; color: var(--blue-deep); }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--alt { background: var(--surface); border-block: 1px solid var(--line); }
.eyebrow {
  display: inline-block; font: 700 .78rem/1 var(--head); letter-spacing: .14em;
  text-transform: uppercase; color: var(--green); margin-bottom: 14px;
}
.lead { font-size: 1.12rem; color: var(--muted); max-width: 62ch; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  padding: 13px 22px; border-radius: 999px; font: 700 .95rem/1 var(--head);
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-deep); }
.btn--wa { background: #1f9d55; color: #fff; }
.btn--wa:hover { background: #17824a; }
.btn--ghost { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn--ghost:hover { background: var(--blue); color: #fff; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 251, 245, .92); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--blue); }
.brand svg { width: 46px; height: 46px; flex: none; }
.brand-name { font: 800 1.08rem/1.1 var(--head); letter-spacing: .02em; color: var(--blue); }
.brand-name small { display: block; font-weight: 600; font-size: .66rem; letter-spacing: .12em; color: var(--muted); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font: 600 .92rem/1 var(--head); color: var(--ink); text-decoration: none; }
.nav a:hover { color: var(--blue); }
.nav .btn { padding: 10px 18px; color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--blue); }
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 8px 16px 16px; display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 12px; border-bottom: 0; }
}

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 9vw, 110px) 0 clamp(48px, 7vw, 80px); }
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; z-index: -1;
}
.hero::before { width: 520px; height: 520px; background: #d6ead0; top: -180px; right: -120px; }
.hero::after { width: 420px; height: 420px; background: #f3e3cc; bottom: -220px; left: -140px; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; }
.hero h1 span { color: var(--green); }
.hero .lead { margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px;
  padding: 36px; box-shadow: var(--shadow); text-align: center; color: var(--blue);
}
.hero-card svg.mark { width: min(220px, 60%); height: auto; margin: 0 auto 22px; }
.hero-card .tag { font: 800 1.25rem/1.2 var(--head); letter-spacing: .04em; margin: 0; }
.hero-card .rule { display: flex; align-items: center; gap: 12px; color: var(--muted); font: 500 .8rem/1 var(--head); letter-spacing: .14em; margin-top: 10px; justify-content: center; }
.hero-card .rule::before, .hero-card .rule::after { content: ""; height: 1px; width: 36px; background: currentColor; opacity: .5; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-card { order: -1; padding: 26px; }
  .hero-card svg.mark { width: 140px; }
}

/* Credentials strip */
.creds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cred { background: var(--surface); padding: 20px 22px; }
.cred dt { font: 700 .72rem/1.2 var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.cred dd { margin: 0; font: 700 1rem/1.35 var(--head); color: var(--blue-deep); word-break: break-word; }
.cred dd small { display: block; font: 500 .8rem/1.4 var(--body); color: var(--muted); margin-top: 4px; }
@media (max-width: 900px) { .creds { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .creds { grid-template-columns: 1fr; } }

/* About */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.facts li { display: flex; gap: 14px; align-items: flex-start; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.facts svg { width: 22px; height: 22px; color: var(--green); flex: none; margin-top: 2px; }
.facts strong { display: block; font-family: var(--head); color: var(--blue-deep); }
.facts span { color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; gap: 32px; } }

/* Products */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  display: flex; flex-direction: column; box-shadow: var(--shadow);
}
.product-art { aspect-ratio: 16 / 9; display: grid; place-items: center; }
.product-art svg { width: 38%; height: auto; }
.product-art--jaggery { background: linear-gradient(135deg, #f6e3c7, #e9c08f); color: #7a4210; }
.product-art--bran { background: linear-gradient(135deg, #f1ecd6, #d9cf9f); color: #6b5a1c; }
.product-art--more { background: linear-gradient(135deg, #e2f0de, #bcdcb3); color: #2f6a2b; }
.product-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.product-body p { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 20px; padding: 0; list-style: none; }
.chips li { font: 600 .78rem/1 var(--head); background: var(--green-soft); color: var(--green); padding: 7px 11px; border-radius: 999px; }
.product .btn { margin-top: auto; align-self: flex-start; padding: 11px 18px; font-size: .88rem; }
.apeda-note { margin-top: 28px; font-size: .92rem; color: var(--muted); }
@media (max-width: 960px) { .products { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .products { grid-template-columns: 1fr; } }

/* Process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; }
.steps li { position: relative; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px; counter-increment: step; }
.steps li::before {
  content: counter(step, decimal-leading-zero); display: block; font: 800 1.5rem/1 var(--head);
  color: var(--green); margin-bottom: 12px;
}
.steps h3 { font-size: 1rem; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: .92rem; margin: 0; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 30px; box-shadow: var(--shadow); }
.contact-list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; }
.contact-list svg { width: 22px; height: 22px; color: var(--blue); flex: none; margin-top: 3px; }
.contact-list strong { display: block; font: 700 .76rem/1.2 var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.contact-list a { text-decoration: none; font-weight: 600; }
.contact-list address { font-style: normal; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.contact-cta { background: var(--blue); color: #e8efff; border-radius: 18px; padding: 34px; display: flex; flex-direction: column; justify-content: center; }
.contact-cta h2 { color: #fff; }
.contact-cta p { color: #c9d7f3; }
.contact-cta .btn--ghost { border-color: #fff; color: #fff; }
.contact-cta .btn--ghost:hover { background: #fff; color: var(--blue); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--blue-deep); color: #b9c8e6; padding: 48px 0 28px; font-size: .92rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer-grid h3 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-brand { display: flex; gap: 14px; align-items: center; color: #fff; margin-bottom: 12px; }
.footer-brand svg { width: 52px; height: 52px; }
.footer-brand b { font: 800 1.05rem/1.2 var(--head); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; } }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 56px; height: 56px; border-radius: 50%;
  background: #1f9d55; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
}
.wa-float svg { width: 28px; height: 28px; }

/* 404 */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.notfound svg { width: 120px; margin: 0 auto 20px; color: var(--blue); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* Anchor targets clear the sticky header */
section[id] { scroll-margin-top: 72px; }
@media (max-width: 480px) {
  .hero-card .rule { font-size: .68rem; letter-spacing: .1em; white-space: nowrap; }
  .hero-card .rule::before, .hero-card .rule::after { width: 16px; }
}

/* Certificate links on credential cards */
.cred { display: flex; flex-direction: column; }
.cred-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 14px; }
.cred-links a {
  font: 700 .78rem/1 var(--head); text-decoration: none; padding: 8px 12px; border-radius: 999px;
  border: 1.5px solid var(--blue); color: var(--blue);
}
.cred-links a:first-child { background: var(--blue); color: #fff; }
.cred-links a:hover { background: var(--blue-deep); border-color: var(--blue-deep); color: #fff; }

/* LinkedIn link in footer */
.footer-social { display: inline-flex; align-items: center; gap: 8px; font: 700 .85rem/1 var(--head); text-decoration: none; padding: 9px 14px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; }
.footer-social svg { width: 16px; height: 16px; }
.footer-social:hover { background: rgba(255, 255, 255, .1); }

/* ===== Multi-page / SEO content (v6) ===== */
.nav { gap: 22px; }
.nav a[aria-current="page"] { color: var(--blue); box-shadow: inset 0 -2px 0 var(--blue); }
.nav a.btn[aria-current="page"] { box-shadow: none; }
@media (max-width: 1020px) and (min-width: 861px) { .nav { gap: 16px; } .nav a { font-size: .86rem; } }
.narrow { width: min(820px, 100% - 32px); margin-inline: auto; }

.crumbs { font: 500 .85rem/1.4 var(--body); color: var(--muted); padding-top: 20px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--blue); text-decoration: underline; }
.crumbs .sep { margin: 0 8px; opacity: .6; }
.crumbs span[aria-current] { color: var(--ink); }

.page-hero { padding: clamp(28px, 5vw, 56px) 0 clamp(36px, 6vw, 64px); }
.page-hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.page-hero-art { border-radius: 22px; aspect-ratio: 4 / 3; display: grid; place-items: center; }
.page-hero-art svg { width: 42%; }
.art-panel { border-radius: 22px; aspect-ratio: 4 / 3; }
@media (max-width: 860px) { .page-hero-grid { grid-template-columns: 1fr; gap: 28px; } .page-hero-art { aspect-ratio: 16 / 7; } }

.product h3 a { color: inherit; text-decoration: none; }
.product h3 a:hover { color: var(--blue); }

.prose { font-size: 1.04rem; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child, .prose .eyebrow + h1 { margin-top: 0; }
.prose h3 { margin-top: 1.4em; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.prose li { margin-bottom: .45em; }
.prose p, .prose li { max-width: 72ch; }

.table-wrap { overflow-x: auto; margin: 20px 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table.spec { width: 100%; border-collapse: collapse; font-size: .96rem; }
table.spec--wide { min-width: 560px; }
@media (max-width: 560px) {
  table.spec th, table.spec td { padding: 11px 12px; }
  table.spec { font-size: .9rem; }
  table.spec tbody th { width: 38%; }
}
table.spec th, table.spec td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.spec thead th { font: 700 .76rem/1.2 var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--bg); }
table.spec tbody th { font-family: var(--head); font-weight: 700; color: var(--blue-deep); width: 34%; }
table.spec tr:last-child th, table.spec tr:last-child td { border-bottom: 0; }
.note { font-size: .9rem; color: var(--muted); }

.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 20px; }
.section--alt .faq details { background: var(--bg); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; position: relative; font: 700 1rem/1.4 var(--head); color: var(--blue-deep); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.5rem; color: var(--green); }
.faq details[open] summary::after { content: "–"; }
.faq-a { padding: 0 0 18px; color: var(--muted); }

.cta-band { background: var(--blue); color: #dce6fa; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-inner h2 { color: #fff; margin-bottom: .3em; }
.cta-inner p { margin: 0; max-width: 60ch; color: #c9d7f3; }
.cta-band .btn--ghost { border-color: #fff; color: #fff; }
.cta-band .btn--ghost:hover { background: #fff; color: var(--blue); }

.guide-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.guide-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .15s ease; }
.section--alt .guide-card { background: var(--bg); }
.guide-card:hover { transform: translateY(-2px); }
.guide-card h3 { font-size: 1.25rem; }
.guide-card p { color: var(--muted); }
.guide-card .more { margin-top: auto; font: 700 .9rem/1 var(--head); color: var(--blue); }
@media (max-width: 760px) { .guide-cards { grid-template-columns: 1fr; } }

.article { padding-top: clamp(24px, 4vw, 40px); }
.byline { color: var(--muted); font-size: .9rem; }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin: 24px 0 8px; }
.toc strong { font-family: var(--head); color: var(--blue-deep); }
.toc ol { margin: 10px 0 0; padding-left: 1.3em; columns: 2; column-gap: 32px; }
.toc li { margin-bottom: 6px; break-inside: avoid; }
@media (max-width: 600px) { .toc ol { columns: 1; } }
.callout { background: var(--green-soft); border: 1px solid #c9e0c3; border-radius: 18px; padding: 24px 26px; margin-top: 36px; }
.callout h2 { margin-top: 0; font-size: 1.35rem; }
.callout p { margin: 0; }

.ticks { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: .45em; width: 12px; height: 7px; border-left: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(-45deg); color: #9fd6a8; }
.ticks--dark li::before { color: var(--green); }
.prose .ticks { padding-left: 0; }

.facts--grid { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 700px) { .facts--grid { grid-template-columns: 1fr; } }

.side-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px; box-shadow: var(--shadow); position: sticky; top: 96px; }
.side-card h2 { font-size: 1.2rem; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0 0 20px; font-size: .92rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; color: var(--blue-deep); word-break: break-word; }
@media (max-width: 860px) { .side-card { position: static; } }

.footer-grid--4 { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
@media (max-width: 960px) { .footer-grid--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid--4 { grid-template-columns: 1fr; } }
.footer-addr { font-style: normal; margin-bottom: 10px; }
.footer-regs { font-size: .82rem; color: #93a6cf; padding-bottom: 18px; }

.nf-mark { width: 120px; height: 120px; margin: 0 auto 20px; color: var(--blue); }
.art-panel { display: grid; place-items: center; max-height: 300px; align-self: center; aspect-ratio: auto; height: 260px; }
.art-panel svg { width: 34%; max-width: 150px; }

/* Product photos */
.product-photo, .page-hero-photo { display: block; overflow: hidden; background: #efe3d0; }
.product-photo img, .page-hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.product-photo { aspect-ratio: 16 / 9; }
.page-hero-photo { aspect-ratio: 4 / 3; border-radius: 22px; box-shadow: var(--shadow); }
@media (max-width: 860px) { .page-hero-photo { aspect-ratio: 16 / 10; } }

/* 4-up product grid (home) */
.products--4 { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.products--4 .product-body { padding: 20px; }
@media (max-width: 1120px) { .products--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .products--4 { grid-template-columns: 1fr; } }
/* 6 nav items: tighten between tablet and small desktop */
@media (max-width: 1180px) and (min-width: 861px) { .nav { gap: 14px; } .nav a { font-size: .84rem; } .nav .btn { padding: 9px 14px; } .brand-name small { display: none; } }

/* Coffee art */
.product-art--coffee { background: linear-gradient(135deg, #efe1cf, #cfae8a); color: #5a3418; }
