/* Medhya Farms — brand colours from the logo: farm green + Medhya orange on milk white. Pack colours match the delivery app. */
:root {
  --milk: #FBFBF7; --ink: #123D24; --soft: #5A6B5F; --line: #E1E7DE;
  --band: #123D24; --bandInk: #F2F7F1; --ghee: #E6AE2E;
  --brand: #C64C00; --green: #006B28;
  --pMilk: #EEE0D3; --pPaneer: #FFFFFF; --pDahi: #CDE7F0; --pMakhan: #FFEE8C; --pGhee: #EFC850;
  --display: "Baloo 2", "Mukta", system-ui, sans-serif;
  --body: "Mukta", "Noto Sans Devanagari", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { --milk: #0E1A13; --ink: #EAF2EA; --soft: #A5B7A9; --line: #22352A; --band: #16301F; --brand: #F07A2E; --green: #4FB574; color-scheme: dark; }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--milk); color: var(--ink); font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; }
.lang-en .hi, .lang-hi .en { display: none !important; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2 { font-family: var(--display); font-weight: 800; line-height: 1.04; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--milk); padding: 8px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
.wrap { max-width: 1100px; margin: 0 auto; padding-inline: 20px; }

/* Header */
.site-header .wrap { display: flex; align-items: center; gap: 22px; padding-block: 20px; position: relative; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.logo img { width: 52px; height: 52px; flex: none; }
.logo b { font-family: var(--display); font-weight: 800; font-size: clamp(1.15rem, 4.5vw, 1.5rem); white-space: nowrap; line-height: 1; }
.logo .m { color: var(--brand); } .logo .f { color: var(--green); }
.links { display: flex; gap: 24px; }
.links a { text-decoration: none; color: var(--soft); font-weight: 500; }
.links a:hover, .links a[aria-current="page"] { color: var(--ink); }
.links a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--brand); }
.lang { font: inherit; font-weight: 600; font-size: .95rem; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); border-radius: 999px; padding: 4px 14px; cursor: pointer; }
.menu-toggle { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.menu-btn { display: none; }
.menu-toggle:focus-visible + .menu-btn { outline: 3px solid var(--brand); outline-offset: 6px; }

@media (max-width: 720px) {
  .menu-btn { display: block; order: 3; width: 28px; height: 20px; position: relative; cursor: pointer; }
  .menu-btn span[aria-hidden], .menu-btn::before, .menu-btn::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: var(--ink); border-radius: 2px; }
  .menu-btn::before { top: 0; } .menu-btn span[aria-hidden] { top: 9px; } .menu-btn::after { bottom: 0; }
  .links { display: none; position: absolute; top: 100%; left: 20px; right: 20px; flex-direction: column; gap: 0; background: var(--milk); border: 1.5px solid var(--line); border-radius: 16px; padding: 8px; z-index: 10; }
  .links a { padding: 12px 14px; }
  .menu-toggle:checked ~ .links { display: flex; }
}

/* Buttons */
.btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.btn { display: inline-block; font: inherit; font-weight: 600; text-decoration: none; padding: 12px 22px; border-radius: 999px; border: 1.5px solid var(--ink); color: var(--ink); background: transparent; }
.btn.solid { background: var(--ink); color: var(--milk); }

/* Hero */
.hero { display: grid; grid-template-columns: 1fr; gap: 40px; padding-block: 32px 72px; align-items: end; }
@media (min-width: 880px) { .hero { grid-template-columns: 1fr 1.05fr; padding-block: 56px 96px; } }
.hero h1 { font-size: clamp(2.8rem, 7.5vw, 5.4rem); }
.lead { font-size: 1.25rem; color: var(--soft); margin-top: 18px; max-width: 34ch; }

.shelf { display: flex; align-items: flex-end; gap: clamp(6px, 1.4vw, 14px); height: clamp(240px, 40vw, 400px); padding-top: 16px; }
.bottle { flex: 1; min-width: 0; border-radius: 44% 44% 14px 14px / 22% 22% 14px 14px; display: flex; flex-direction: column; justify-content: flex-end; padding: 12px 6px; color: #123D24; text-align: center; border: 1.5px solid rgba(18,61,36,.14); position: relative; }
.bottle::before { content: ""; position: absolute; top: -14px; left: 32%; right: 32%; height: 16px; border-radius: 6px 6px 0 0; background: inherit; border: inherit; border-bottom: 0; }
.bottle b { font-family: var(--display); font-weight: 700; font-size: clamp(.85rem, 1.6vw, 1.15rem); line-height: 1.1; }
.bottle small { font-size: clamp(.72rem, 1.2vw, .9rem); opacity: .75; }
@media (prefers-reduced-motion: no-preference) {
  .bottle { animation: pour .7s cubic-bezier(.2,.8,.2,1) both; }
  .bottle:nth-child(2) { animation-delay: .06s; } .bottle:nth-child(3) { animation-delay: .12s; }
  .bottle:nth-child(4) { animation-delay: .18s; } .bottle:nth-child(5) { animation-delay: .24s; }
  @keyframes pour { from { transform: translateY(18px); } to { transform: none; } }
}

.photo { margin: 0 0 56px; border-radius: 28px; overflow: hidden; aspect-ratio: 21 / 9; max-width: 100%; }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* Sections */
.block { border-top: 1.5px solid var(--line); padding-block: 56px; }
.block h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 28px; }
.page-head { padding-block: 48px 40px; }
.page-head h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }

.plist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 28px 24px; }
.plist li { display: flex; gap: 14px; align-items: flex-start; }
.plist .dot { flex: none; width: 18px; height: 18px; border-radius: 50%; margin-top: 6px; border: 1.5px solid rgba(18,61,36,.2); }
.plist b { display: block; font-family: var(--display); font-weight: 700; font-size: 1.3rem; line-height: 1.2; }
.plist span { color: var(--soft); font-size: .98rem; }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cta-row p { font-family: var(--display); font-weight: 700; font-size: 1.5rem; }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 36px 28px; }
.facts > div { display: flex; flex-direction: column; gap: 4px; }
.k { color: var(--soft); font-size: .95rem; }
.facts b, .c-item b { font-family: var(--display); font-weight: 700; font-size: 1.35rem; line-height: 1.25; }
.facts a { color: var(--soft); font-size: .95rem; margin-top: 4px; }

.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.c-item { display: flex; flex-direction: column; gap: 6px; padding: 24px; border: 1.5px solid var(--line); border-radius: 20px; text-decoration: none; min-width: 0; }
.c-item:hover { border-color: var(--ink); }

/* Ghee check band */
.check { background: var(--band); color: var(--bandInk); border-radius: 28px; padding: clamp(28px, 5vw, 56px); display: grid; gap: 28px; grid-template-columns: 1fr; align-items: center; margin-bottom: 56px; }
@media (min-width: 860px) { .check { grid-template-columns: 1fr 1fr; } }
.check h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.check h2 em { font-style: normal; color: var(--ghee); }
.check p { opacity: .8; margin-top: 12px; max-width: 40ch; }
.check form { display: flex; gap: 10px; flex-wrap: wrap; }
.check input { flex: 1 1 200px; min-width: 0; font: inherit; font-size: 1.1rem; padding: 14px 18px; border-radius: 999px; border: 0; background: rgba(255,255,255,.12); color: var(--bandInk); }
.check input::placeholder { color: var(--bandInk); opacity: .5; }
.check button { font: inherit; font-weight: 600; padding: 14px 24px; border-radius: 999px; border: 0; background: var(--ghee); color: #123D24; cursor: pointer; }
.check output { display: block; margin-top: 14px; font-size: .98rem; opacity: .9; min-height: 1.6em; }

/* Policy pages */
.legal { max-width: 760px; padding-block: 48px 72px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 20px; }
.legal h2 { font-size: 1.4rem; margin: 32px 0 8px; }
.legal p { color: var(--soft); margin-bottom: 12px; }

/* Footer — farm photo under an indigo veil so text stays readable */
.site-footer { position: relative; color: #E6EFE6; background: #123D24 url(../img/footer.jpeg) center 60% / cover no-repeat; }
.site-footer::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,46,24,.58), rgba(6,28,14,.92)); }
.site-footer .wrap { position: relative; display: grid; grid-template-columns: 1fr; gap: 22px; padding-block: 56px 48px; font-size: .95rem; }
@media (min-width: 820px) { .site-footer .wrap { grid-template-columns: 1.4fr 1fr 1fr; padding-block: 88px 56px; } }
.site-footer .wrap > div { display: flex; flex-direction: column; gap: 4px; }
.site-footer strong { color: #FFFFFF; font-weight: 600; font-family: var(--display); font-size: 1.25rem; }
.site-footer a { color: #E6EFE6; text-decoration: none; }
.site-footer a:hover { color: #FFB27A; text-decoration: underline; }

/* 404 */
.notfound { padding-block: 80px 96px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.notfound h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
.legal ul { color: var(--soft); padding-left: 1.2em; margin: 0 0 12px; display: flex; flex-direction: column; gap: 8px; }
.legal .updated { font-size: .9rem; margin-bottom: 24px; }

/* Home hero: our farm photo full-bleed, headline over the grass. */
.hero-bg { position: relative; overflow: hidden; background-color: #23401F; background-size: cover; background-position: center 82%; color: #FFFFFF; }
.hero-bg::before { content: ""; position: absolute; inset: 0; background:
  linear-gradient(0deg, rgba(8,34,18,.92) 0%, rgba(8,34,18,.62) 40%, rgba(8,34,18,0) 72%),
  linear-gradient(90deg, rgba(8,34,18,.35) 0%, rgba(8,34,18,0) 55%); }
.hero-inner { position: relative; display: grid; grid-template-columns: 1fr; align-content: end; gap: 0; min-height: clamp(560px, 88vh, 780px); padding-block: 40px 52px; }
.tagline { font-family: var(--display); font-weight: 700; font-style: italic; color: #FFB27A; font-size: clamp(1.05rem, 1.6vw, 1.25rem); letter-spacing: .01em; margin-bottom: 6px; }
.hero-bg h1 { font-size: clamp(2.3rem, 4.8vw, 3.9rem); max-width: 17ch; color: #FFFFFF; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.hero-bg .lead { color: rgba(255,255,255,.92); max-width: 42ch; margin-top: 12px; }
.pills { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; }
.pills a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; text-decoration: none; color: #FFFFFF; font-weight: 600; font-size: .95rem;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background .2s; }
.pills a:hover { background: rgba(255,255,255,.26); }
.pills i { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); }
.hero-bg .btns { margin-top: 26px; }
.hero-bg .btn { border-color: #FFFFFF; color: #FFFFFF; transition: background .2s, transform .2s; }
.hero-bg .btn:hover { background: rgba(255,255,255,.12); }
.hero-bg .btn.solid { background: var(--brand); border-color: var(--brand); color: #FFFFFF; box-shadow: 0 8px 24px rgba(198,76,0,.35); }
.hero-bg .btn.solid:hover { background: #A53F01; border-color: #A53F01; }
.hero-meta { margin-top: 26px; font-size: .9rem; color: rgba(255,255,255,.72); }
@media (max-width: 720px) {
  .hero-bg { background-position: 22% 30%; }
  .hero-bg::before { background: linear-gradient(0deg, rgba(8,34,18,.94) 0%, rgba(8,34,18,.66) 50%, rgba(8,34,18,.05) 78%); }
  .hero-inner { min-height: 640px; padding-block: 24px 34px; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-text { animation: riseIn .8s .15s cubic-bezier(.2,.8,.2,1) both; }
  @keyframes riseIn { from { transform: translateY(14px); } to { transform: none; } }
}
.block.first { border-top: 0; }
.shelf.small { height: clamp(140px, 22vw, 200px); max-width: 560px; margin-bottom: 36px; }

/* Footer brand: logo in the left corner, wordmark in the logo's colours (lightened to read on dark green) */
.f-logo { display: flex; align-items: center; gap: 14px; text-decoration: none; margin-bottom: 10px; }
.f-logo img { width: 80px; height: 80px; flex: none; filter: drop-shadow(0 4px 12px rgba(0,0,0,.35)); }
.f-logo b { display: block; font-family: var(--display); font-weight: 800; font-size: 1.5rem; line-height: 1.05; }
.f-logo .m { color: #FF8A3D; } .f-logo .f { color: #6CCB8B; }
.f-logo em { display: block; font-family: var(--display); font-style: italic; font-weight: 600; color: #FFB27A; font-size: .95rem; }
.site-footer .f-logo:hover { text-decoration: none; }
/* Social icons: full-width row under the footer columns, separated by a thin line */
.site-footer .wrap > .f-social { display: flex; grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 26px; margin-top: 8px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.2); }
.f-social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #FFFFFF; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); transition: background .2s, transform .2s, border-color .2s; }
.site-footer .f-social a:hover, .f-social a:focus-visible { background: var(--brand); border-color: var(--brand); color: #FFFFFF; transform: translateY(-2px); text-decoration: none; }

/* ── Shop ── */
.cart-link { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; color: var(--ink); text-decoration: none; }
.cart-link:hover { background: var(--line); }
.cart-count { position: absolute; top: -2px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--brand); color: #FFFFFF; font-size: .75rem; font-weight: 700; line-height: 20px; text-align: center; }
@media (max-width: 720px) { .cart-link { order: 2; } }
.btn.sm { padding: 8px 16px; font-size: .95rem; }
.btn.wide { width: 100%; text-align: center; }
.btn.solid { background: var(--brand); border-color: var(--brand); color: #FFFFFF; }
.btn.solid:hover { background: #A53F01; border-color: #A53F01; }
.notice { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; margin-bottom: 24px; border-radius: 14px; background: color-mix(in srgb, var(--green) 12%, var(--milk)); border: 1px solid color-mix(in srgb, var(--green) 30%, transparent); font-weight: 600; }
.shop { display: grid; gap: 28px; padding-bottom: 56px; }
.product { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; background: color-mix(in srgb, var(--ghee) 7%, var(--milk)); border: 1px solid var(--line); border-radius: 28px; padding: clamp(16px, 3vw, 32px); }
@media (min-width: 820px) { .product { grid-template-columns: minmax(0, 440px) minmax(0, 1fr); } }
.product-img { background: #FFFFFF; border-radius: 22px; overflow: hidden; aspect-ratio: 1 / 1; max-width: 100%; }
.product-img img { width: 100%; height: 100%; object-fit: contain; }
.product-body { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.product-body h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.product-desc { color: var(--soft); max-width: 46ch; }
.buy { display: flex; flex-direction: column; gap: 16px; margin-top: 6px; }
.sizes { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.sizes legend { margin-bottom: 8px; }
.size input { position: absolute; opacity: 0; }
.size > span { display: flex; flex-direction: column; min-width: 110px; padding: 10px 16px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--milk); cursor: pointer; }
.size b { font-family: var(--display); font-size: 1.15rem; } .size small { color: var(--soft); font-weight: 600; }
.size small s { font-weight: 400; margin-right: 4px; } .size .save { font-style: normal; font-size: .82rem; font-weight: 700; color: var(--green); }
.size input:checked + span { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 20%, transparent); }
.size input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }
.size.off > span { opacity: .45; cursor: not-allowed; }
.buy-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--milk); }
.qty button { width: 44px; height: 46px; border: 0; background: transparent; color: var(--ink); font-size: 1.3rem; cursor: pointer; }
.qty button:hover { background: var(--line); }
.qty input, .qty output { width: 46px; text-align: center; border: 0; background: transparent; font: inherit; font-weight: 700; color: var(--ink); -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty.sm button { width: 36px; height: 36px; } .qty.sm output { width: 32px; }
.fine { font-size: .88rem; color: var(--soft); }
.soon { font-weight: 600; color: var(--brand); }
/* Cart & checkout */
.checkout-grid { display: grid; grid-template-columns: 1fr; gap: 28px; padding-bottom: 64px; }
@media (min-width: 900px) { .checkout-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; } }
.cart-lines { display: flex; flex-direction: column; min-width: 0; }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line img { width: 72px; height: 72px; object-fit: contain; background: #FFFFFF; border-radius: 12px; border: 1px solid var(--line); }
.line-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.line-info b { font-family: var(--display); font-size: 1.15rem; }
.line-qty { display: flex; align-items: center; gap: 14px; margin-top: 4px; }
.line-total { font-family: var(--display); font-size: 1.2rem; font-variant-numeric: tabular-nums; }
.linkish { background: none; border: 0; padding: 0; color: var(--soft); text-decoration: underline; cursor: pointer; font: inherit; font-size: .92rem; }
.sum { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; font-variant-numeric: tabular-nums; }
.sum > div { display: flex; justify-content: space-between; gap: 12px; }
.sum .grand { font-family: var(--display); font-size: 1.5rem; font-weight: 800; padding-top: 8px; border-top: 1.5px solid var(--line); }
.panel { background: var(--milk); border: 1.5px solid var(--line); border-radius: 22px; padding: clamp(18px, 3vw, 28px); min-width: 0; }
.checkout h2 { font-size: 1.6rem; margin-bottom: 14px; }
.co-form { display: flex; flex-direction: column; gap: 6px; }
.co-form label { font-weight: 600; font-size: .95rem; margin-top: 8px; }
.co-form input, .co-form textarea { font: inherit; width: 100%; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--milk); color: var(--ink); }
.co-form input:focus, .co-form textarea:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 18%, transparent); }
.co-form .two { display: grid; grid-template-columns: 1fr; gap: 0 14px; }
@media (min-width: 560px) { .co-form .two { grid-template-columns: 1fr 1fr; } }
.co-form .btn.wide { margin-top: 18px; }
.errors { background: color-mix(in srgb, var(--brand) 10%, var(--milk)); border: 1px solid color-mix(in srgb, var(--brand) 35%, transparent); color: var(--ink); border-radius: 12px; padding: 12px 16px; margin-bottom: 10px; font-weight: 600; display: flex; flex-direction: column; gap: 4px; }
.addr-box { line-height: 1.7; margin-bottom: 6px; }
.paybox { margin-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.empty { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; padding-bottom: 80px; }
.result { padding-bottom: 72px; display: flex; flex-direction: column; gap: 14px; }
.result .btns { margin-top: 8px; }
.tag-ok { color: var(--green); font-weight: 700; font-size: 1.1rem; }

/* "How our Bilona ghee is made" steps on the dairy page */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; counter-reset: step; }
.steps li { counter-increment: step; display: flex; flex-direction: column; gap: 6px; padding: 22px 22px 20px; border: 1px solid var(--line); border-radius: 20px; background: var(--milk); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; font-family: var(--display); font-weight: 700; margin-bottom: 6px; }
.steps b { font-family: var(--display); font-weight: 700; font-size: 1.2rem; line-height: 1.2; }
.steps li > span { color: var(--soft); font-size: .98rem; }

/* ── Contact page ── */
.contact-hero { position: relative; color: #FFFFFF; background: #123D24 url(../img/hero.jpg) center 70% / cover no-repeat; }
.contact-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,34,18,.9) 0%, rgba(8,34,18,.65) 50%, rgba(8,34,18,.25) 100%); }
.contact-hero .wrap { position: relative; padding-block: clamp(56px, 9vw, 110px) clamp(48px, 7vw, 84px); }
.contact-hero h1 { font-size: clamp(2.3rem, 5.5vw, 4rem); max-width: 16ch; color: #FFFFFF; text-shadow: 0 2px 18px rgba(0,0,0,.3); }
.contact-hero .lead { color: rgba(255,255,255,.9); max-width: 46ch; margin-top: 14px; }
.contact-hero .btns { margin-top: 26px; }
.contact-hero .btn { border-color: #FFFFFF; color: #FFFFFF; }
.contact-hero .btn:hover { background: rgba(255,255,255,.12); }
.contact-hero .btn.solid { background: var(--brand); border-color: var(--brand); box-shadow: 0 8px 24px rgba(198,76,0,.35); }

.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-top: -36px; position: relative; z-index: 1; }
.c-card { display: flex; flex-direction: column; gap: 4px; padding: 22px; border-radius: 22px; background: var(--milk); border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(18,61,36,.10); text-decoration: none; min-width: 0; transition: transform .2s, box-shadow .2s, border-color .2s; }
.c-card:hover { transform: translateY(-3px); border-color: var(--brand); box-shadow: 0 14px 34px rgba(18,61,36,.16); }
.c-card b { font-family: var(--display); font-weight: 700; font-size: 1.3rem; line-height: 1.25; overflow-wrap: anywhere; }
.c-card b.addr { font-size: 1.05rem; }
.c-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; margin-bottom: 8px; color: #FFFFFF; background: var(--green); }
.c-card.wa .c-ico { background: #1FA855; }
.c-card:nth-child(1) .c-ico { background: var(--brand); }
.c-card:nth-child(3) .c-ico { background: #2F6E8F; }
.c-card:nth-child(4) .c-ico { background: #8A5A12; }

.visit { display: grid; grid-template-columns: 1fr; gap: 32px; padding-block: 64px 72px; scroll-margin-top: 16px; }
@media (min-width: 920px) { .visit { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; gap: 48px; } }
.visit h2 { font-size: clamp(2rem, 4.4vw, 3rem); }
.visit-points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-direction: column; gap: 18px; }
.visit-points li { display: flex; flex-direction: column; gap: 2px; padding-left: 22px; border-left: 3px solid var(--ghee); }
.visit-points b { font-family: var(--display); font-weight: 700; font-size: 1.15rem; }
.visit-points li > span { color: var(--soft); }
.visit-form { box-shadow: 0 12px 34px rgba(18,61,36,.08); }
.co-form select { font: inherit; width: 100%; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--milk); color: var(--ink); }
.co-form select:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 18%, transparent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.visit-done { text-align: center; padding: 24px 8px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.visit-done h3 { font-family: var(--display); font-size: 1.8rem; margin: 0; }
.done-ico { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--green); color: #FFFFFF; font-size: 2rem; font-weight: 700; }

/* ── Admin: farm visits ── */
.admin { padding-bottom: 64px; }
.admin-login { max-width: 440px; margin-bottom: 64px; }
.admin-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tabs a { text-decoration: none; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; }
.tabs a span { display: inline-block; min-width: 22px; padding: 0 6px; margin-left: 4px; border-radius: 999px; background: var(--line); text-align: center; font-size: .85rem; }
.tabs a[aria-current="page"] { border-color: var(--brand); color: var(--brand); }
.vlist { display: grid; gap: 18px; }
.vcard { border: 1.5px solid var(--line); border-radius: 20px; padding: 20px; background: var(--milk); scroll-margin-top: 16px; }
.vcard.flash { border-color: var(--green); box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 20%, transparent); }
.vcard header { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 12px; }
.vcard header b { font-family: var(--display); font-size: 1.3rem; }
.badge { display: inline-block; font-size: .78rem; font-weight: 700; padding: 2px 10px; border-radius: 999px; vertical-align: middle; background: var(--line); }
.badge.requested { background: color-mix(in srgb, var(--ghee) 35%, var(--milk)); }
.badge.approved { background: var(--green); color: #FFFFFF; }
.badge.declined { background: color-mix(in srgb, var(--brand) 18%, var(--milk)); }
.vcard dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px 18px; margin: 0 0 12px; }
.vcard dl .wide { grid-column: 1 / -1; }
.vcard dt { font-size: .82rem; color: var(--soft); } .vcard dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.vdone { border-top: 1px solid var(--line); padding-top: 12px; margin-bottom: 8px; }
.msg { white-space: pre-wrap; font: inherit; font-size: .92rem; background: color-mix(in srgb, var(--green) 7%, var(--milk)); border-radius: 12px; padding: 12px 14px; margin: 10px 0; overflow-wrap: anywhere; }
.send { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.vcard details summary { cursor: pointer; font-weight: 700; color: var(--brand); padding: 6px 0; }
.vactions { display: grid; grid-template-columns: 1fr; gap: 18px; padding-top: 8px; }
@media (min-width: 760px) { .vactions { grid-template-columns: 1.3fr 1fr; } }
.vactions .btn { margin-top: 12px; align-self: flex-start; }

/* ── Admin: website visitors ── */
.stats { margin-bottom: 48px; }
.stats h2, .visits-h { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin-bottom: 18px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.tile { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: 18px; background: var(--milk); }
.tile b { font-family: var(--display); font-weight: 800; font-size: 2rem; line-height: 1.1; }
.tile.now { border-color: var(--green); background: color-mix(in srgb, var(--green) 8%, var(--milk)); }
.bars-fig { margin: 22px 0 0; padding: 18px 18px 12px; border: 1.5px solid var(--line); border-radius: 18px; }
.bars-fig figcaption { font-weight: 600; color: var(--soft); font-size: .92rem; margin-bottom: 10px; }
.bars { position: relative; display: flex; align-items: flex-end; gap: 2px; height: 140px; border-bottom: 1px solid var(--line);
  background: linear-gradient(var(--line), var(--line)) 0 0 / 100% 1px no-repeat; padding-top: 1px; }
.bars-max { position: absolute; top: -2px; right: 0; transform: translateY(-100%); font-size: .75rem; color: var(--soft); }
.bar { position: relative; flex: 1 1 0; height: 100%; display: flex; align-items: flex-end; cursor: default; outline: none; }
.bar i { display: block; width: 100%; max-width: 22px; margin: 0 auto; background: var(--green); border-radius: 4px 4px 0 0; }
.bar:hover i, .bar:focus-visible i { background: var(--brand); }
.bar:hover::after, .bar:focus-visible::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%);
  white-space: nowrap; background: var(--ink); color: var(--milk); font-size: .8rem; padding: 5px 9px; border-radius: 8px; z-index: 2; pointer-events: none; }
.bar:first-child:hover::after, .bar:first-child:focus-visible::after { left: 0; transform: none; }
.bar:last-child:hover::after, .bar:last-child:focus-visible::after { left: auto; right: 0; transform: none; }
.bars-axis { display: flex; justify-content: space-between; font-size: .78rem; color: var(--soft); margin-top: 6px; }
.stat-lists { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 16px; }
@media (min-width: 760px) { .stat-lists { grid-template-columns: 1fr 1fr; } }
.stat-lists > div { border: 1.5px solid var(--line); border-radius: 18px; padding: 16px 18px; }
.stat-lists h3 { font-family: var(--display); font-size: 1.15rem; margin: 0 0 8px; }
.stat-lists ol { list-style: none; margin: 0; padding: 0; }
.stat-lists li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.stat-lists li:last-child { border-bottom: 0; }
