/* ==========================================================
   DD Dairy Farm Siwanka — site styles
   Colours: change the values below to re-theme the whole site.
   ========================================================== */
:root {
  --green-900: #163a20;
  --green-800: #1f4d2b;
  --green-700: #2a6139;
  --green-100: #e6efe3;
  --cream: #faf6ec;
  --cream-2: #f3ecda;
  --milk: #fffdf7;
  --yellow: #e9b949;
  --yellow-dark: #8a6410;
  --ink: #1f2421;
  --ink-2: #454c47;
  --line: #d9d2bf;
  --wa: #0f7a3d;
  --error: #b3261e;
  --radius: 6px;
  --shadow: 0 1px 2px rgba(31, 36, 33, .08), 0 4px 14px rgba(31, 36, 33, .06);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --container: 1160px;
  --sticky-h: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 17px/1.65 var(--sans);
  padding-bottom: var(--sticky-h);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-800); text-underline-offset: 3px; }
a:hover { color: var(--green-900); }
h1, h2, h3, .h3 { font-family: var(--serif); color: var(--green-900); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(2rem, 1.3rem + 3.2vw, 3.25rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.55rem, 1.2rem + 1.6vw, 2.2rem); }
h3, .h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
address { font-style: normal; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--ink-2); }
.small { font-size: .9rem; }
.note { font-size: .95rem; color: var(--ink-2); border-left: 3px solid var(--yellow); padding: .3em .8em; background: var(--milk); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 2px; }
main:focus { outline: none; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--green-900); color: #fff; padding: 10px 16px; border-radius: var(--radius); }
.skip-link:focus { top: 12px; color: #fff; }

.icon { flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 50px; padding: .7em 1.3em; border-radius: var(--radius); border: 2px solid transparent;
  font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--green-800); color: #fff; }
.btn-primary:hover { background: var(--green-900); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #0b5f2f; color: #fff; }
.btn-outline { background: transparent; color: var(--green-800); border-color: var(--green-800); }
.btn-outline:hover { background: var(--green-800); color: #fff; }
.btn-light { background: var(--yellow); color: var(--ink); }
.btn-light:hover { background: #f3c863; color: var(--ink); }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-stack { display: grid; gap: 10px; }
.text-link { display: inline-flex; align-items: center; gap: .35em; font-weight: 600; }
.text-link .icon { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--milk); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--green-900); margin-right: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--serif); font-size: 1.25rem; }
.brand-text small { font-size: .78rem; color: var(--ink-2); letter-spacing: .04em; text-transform: uppercase; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.main-nav a { display: block; white-space: nowrap; padding: .55em .6em; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .96rem; border-radius: var(--radius); }
.main-nav a:hover { background: var(--green-100); }
.main-nav a[aria-current="page"] { color: var(--green-800); box-shadow: inset 0 -3px 0 var(--yellow); border-radius: 0; }
.nav-mobile-extra { display: none; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-call { min-height: 44px; padding: .5em 1em; }
.hc-num { display: none; }
.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--green-900); cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle .icon { width: 24px; height: 24px; }

@media (max-width: 1140px) {
  .menu-toggle { display: inline-flex; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--milk); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); max-height: calc(100vh - 70px); overflow-y: auto; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 8px 12px; }
  .main-nav a { padding: .8em .8em; font-size: 1.05rem; border-bottom: 1px solid var(--cream-2); border-radius: 0; }
  .main-nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--yellow); }
  .nav-mobile-extra { display: grid; gap: 10px; padding: 8px 20px 20px; }
  .header-call { width: 46px; height: 46px; padding: 0; }
  .header-call span { display: none !important; }
}

/* ---------- Breadcrumb ---------- */
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3em; margin: 0; padding: 14px 20px 0; font-size: .9rem; color: var(--ink-2); }
.breadcrumb li + li::before { content: "›"; margin-right: .3em; color: var(--ink-2); }
.breadcrumb .container, .breadcrumb.container { padding: 0; }

/* ---------- Sections ---------- */
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section-alt { background: var(--milk); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-green { background: var(--green-800); color: #eef3ea; }
.section-green h2, .section-green h3 { color: #fff; }
.section-green a { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 32px; }
.eyebrow { display: inline-block; font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--yellow-dark); margin-bottom: .6em; }
.section-green .eyebrow { color: var(--yellow); }
.lead { font-size: 1.15rem; color: var(--ink-2); }
.prose { max-width: 740px; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.3em; }
.two-col { display: grid; gap: 40px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1.4fr 1fr; align-items: start; } .two-col.even { grid-template-columns: 1fr 1fr; } }

/* ---------- Hero ---------- */
.hero { padding: clamp(36px, 6vw, 72px) 0 clamp(44px, 6vw, 80px); background:
  linear-gradient(180deg, var(--milk) 0%, var(--cream) 100%); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.25fr 1fr; } }
.hero-hindi { font-size: 1.05rem; color: var(--green-700); font-weight: 600; margin-bottom: .6em; }
.hero .lead { max-width: 620px; }
.hero-points { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 6px; }
.hero-points li { display: flex; gap: .5em; align-items: flex-start; }
.hero-points .icon { color: var(--green-700); margin-top: 3px; }
.hero-phone { margin-top: 16px; font-size: 1.05rem; }
.hero-phone a { font-weight: 700; font-size: 1.3rem; text-decoration: none; }
.hero-figure { margin: 0; position: relative; max-width: 460px; justify-self: center; width: 100%; }
.hero-figure img { border-radius: var(--radius); border: 8px solid #fff; box-shadow: var(--shadow); }
.hero-figure figcaption { font-size: .88rem; color: var(--ink-2); margin-top: 10px; text-align: center; }
.page-hero { padding: clamp(28px, 5vw, 56px) 0 clamp(32px, 5vw, 56px); border-bottom: 1px solid var(--line); background: var(--milk); }
.page-hero .lead { max-width: 760px; }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 20px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards-4 { grid-template-columns: repeat(4, 1fr); } .cards-3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--green-800); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--ink-2); flex: 1; }
.card .text-link { margin-top: 8px; }
.card-accent { border-top-color: var(--yellow); }
.reasons { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
@media (min-width: 700px) { .reasons { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .reasons { grid-template-columns: repeat(3, 1fr); } }
.reasons li { padding: 18px 20px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--radius); }
.reasons strong { display: block; font-family: var(--serif); font-size: 1.15rem; color: #fff; margin-bottom: .2em; }
.steps { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; position: relative; padding: 14px 16px 14px 60px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before { content: counter(s); position: absolute; left: 16px; top: 14px; width: 30px; height: 30px; border-radius: 50%; background: var(--green-800); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: .95rem; }
.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding-left: 1.7em; margin-bottom: .45em; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .45em; width: 1em; height: .55em; border-left: 3px solid var(--green-700); border-bottom: 3px solid var(--green-700); transform: rotate(-45deg); }

/* Buy / sell panels */
.trade-grid { display: grid; gap: 20px; }
@media (min-width: 700px) { .trade-grid { grid-template-columns: repeat(2, 1fr); } }
.trade { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.trade .tag { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .2em .6em; background: var(--green-100); color: var(--green-800); border-radius: 3px; margin-bottom: .6em; }
.trade .tag.sell { background: #fbefd0; color: var(--yellow-dark); }

/* ---------- Area chips ---------- */
.area-chips { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: .45em 1em; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-weight: 500; }
.chip-primary { background: var(--green-800); border-color: var(--green-800); color: #fff; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.6rem; }
.form-grid { display: grid; gap: 0 18px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.field { margin: 0 0 16px; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { display: block; font-weight: 600; margin-bottom: 6px; font-size: .98rem; padding: 0; }
.req { color: var(--error); }
.opt { font-weight: 400; color: var(--ink-2); font-size: .88rem; }
.hint { font-size: .85rem; color: var(--ink-2); margin: -2px 0 6px; }
input[type="text"], input[type="tel"], input[type="email"], input[type="number"], select, textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font: 16px/1.4 var(--sans); color: var(--ink);
  background: var(--milk); border: 1.5px solid #b9b19c; border-radius: var(--radius);
}
textarea { min-height: 90px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--green-800); outline: 3px solid rgba(233, 185, 73, .6); outline-offset: 0; background: #fff; }
[aria-invalid="true"] { border-color: var(--error) !important; }
.field-error { color: var(--error); font-size: .9rem; margin: 6px 0 0; font-weight: 600; }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio { display: inline-flex !important; align-items: center; gap: 8px; min-height: 48px; padding: 8px 16px; border: 1.5px solid #b9b19c; border-radius: var(--radius); background: var(--milk); cursor: pointer; font-weight: 500 !important; margin: 0 !important; }
.radio input { width: 20px; height: 20px; accent-color: var(--green-800); margin: 0; }
.radio:has(input:checked) { border-color: var(--green-800); background: var(--green-100); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 4px 0 12px; }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--error); background: #fdecea; border: 1px solid #f3c2bd; padding: 12px 14px; border-radius: var(--radius); font-weight: 600; }
.form-status.is-success { color: var(--green-900); background: var(--green-100); border: 1px solid #b9d1b2; padding: 12px 14px; border-radius: var(--radius); font-weight: 600; }
.form-foot { font-size: .85rem; color: var(--ink-2); margin: 12px 0 0; }
.btn-submit { position: relative; font-size: 1.08rem; }
.spinner { display: none; width: 20px; height: 20px; border: 3px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
.is-loading .spinner { display: inline-block; }
.is-loading { opacity: .85; pointer-events: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-banner { padding: 14px 16px; border-radius: var(--radius); margin-bottom: 18px; font-weight: 600; }
.form-banner.error { background: #fdecea; color: var(--error); border: 1px solid #f3c2bd; }

.contact-card { background: var(--green-800); color: #eef3ea; border-radius: var(--radius); padding: 26px; }
.contact-card h2 { color: #fff; }
.contact-card .big-phone a { color: #fff; font-size: 1.8rem; font-weight: 700; text-decoration: none; font-family: var(--serif); }
.contact-card .muted { color: #cfe0ca; margin-top: 14px; }
.contact-card .btn-primary { background: var(--yellow); color: var(--ink); }
.contact-card .btn-primary:hover { background: #f3c863; }
.contact-card .btn-wa { background: #fff; color: var(--wa); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 10px; max-width: 860px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.faq-item summary { list-style: none; cursor: pointer; padding: 16px 52px 16px 20px; position: relative; min-height: 56px; display: flex; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--green-800); line-height: 1; }
.faq-item[open] summary::after { content: "−"; }
.faq-q { font-family: var(--sans); font-size: 1.05rem; margin: 0; color: var(--ink); font-weight: 600; }
.faq-a { padding: 0 20px 18px; color: var(--ink-2); }
.faq-a p:last-child { margin-bottom: 0; }

/* ---------- Gallery ---------- */
.gallery-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filter-btn { min-height: 44px; padding: .4em 1.1em; border: 1.5px solid var(--green-800); background: #fff; color: var(--green-800); border-radius: 999px; font: 600 .95rem var(--sans); cursor: pointer; }
.filter-btn[aria-pressed="true"] { background: var(--green-800); color: #fff; }
.gallery-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); list-style: none; padding: 0; margin: 0; }
.gallery-grid li[hidden] { display: none; }
.g-item { margin: 0; }
.g-link { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--radius); overflow: hidden; }
.g-link img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .25s; }
.g-link:hover img { transform: scale(1.03); }
.g-item figcaption { font-size: .9rem; color: var(--ink-2); padding-top: 8px; }
.gallery-empty { background: #fff; border: 1px dashed #b9b19c; border-radius: var(--radius); padding: 28px; text-align: center; color: var(--ink-2); }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(12, 20, 14, .92); display: none; align-items: center; justify-content: center; padding: 60px 16px 40px; }
.lightbox.open { display: flex; }
.lightbox figure { margin: 0; max-width: 1000px; text-align: center; color: #fff; }
.lightbox img { max-height: 78vh; width: auto; margin: 0 auto; border-radius: 4px; }
.lightbox figcaption { margin-top: 10px; }
.lb-btn { position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .3); width: 48px; height: 48px; border-radius: 50%; font-size: 1.4rem; cursor: pointer; display: grid; place-items: center; }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; }
.lb-next { right: 12px; top: 50%; }
.gallery-strip { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

/* ---------- Map ---------- */
.map-wrap { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--cream-2); aspect-ratio: 16 / 10; margin-bottom: 10px; }
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.info-list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 14px; }
.info-list li { display: flex; gap: 12px; }
.info-list .icon { color: var(--green-700); margin-top: 3px; }
.info-list strong { display: block; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--green-900); color: #e7efe4; padding: clamp(44px, 6vw, 72px) 0; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 640px; margin-left: auto; margin-right: auto; }
.cta-band .btn-row { justify-content: center; margin: 22px 0 14px; }
.cta-band .btn-primary { background: #fff; color: var(--green-900); }
.cta-band .btn-primary:hover { background: var(--cream); }
.cta-phone a { color: var(--yellow); font-weight: 700; font-size: 1.2rem; }

/* ---------- Footer ---------- */
.site-footer { background: #13301b; color: #cfdccb; padding: 56px 0 0; font-size: .96rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 1.35rem; color: #fff; font-weight: 700; margin-bottom: .3em; }
.footer-tag { color: var(--yellow); font-weight: 600; }
.footer-h { font-family: var(--sans); font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: #fff; margin: 0 0 12px; }
.footer-links { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 4px; }
.footer-links a { text-decoration: none; display: inline-block; padding: 3px 0; }
.footer-links a:hover { text-decoration: underline; }
.footer-areas { grid-template-columns: 1fr 1fr; }
.footer-small { font-size: .88rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 32px; padding-top: 18px; padding-bottom: 22px; font-size: .88rem; }

/* ---------- Sticky mobile bar ---------- */
.sticky-bar { display: none; }
@media (max-width: 767px) {
  :root { --sticky-h: 64px; }
  .sticky-bar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; height: calc(var(--sticky-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: var(--green-900); box-shadow: 0 -2px 10px rgba(0, 0, 0, .15); }
  .sticky-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: #fff; text-decoration: none; font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
  .sticky-bar a + a { border-left: 1px solid rgba(255, 255, 255, .15); }
  .sticky-bar .sb-wa { background: var(--wa); }
  .sticky-bar .sb-enq { background: var(--yellow); color: var(--ink); }
  body { padding-bottom: calc(var(--sticky-h) + env(safe-area-inset-bottom)); }
  body.typing .sticky-bar { display: none; }
  .lightbox { padding-bottom: 20px; }
  .btn-row .btn { flex: 1 1 100%; }
}
@media (max-width: 380px) { .brand-text small { display: none; } .brand-text strong { font-size: 1.1rem; } .container { padding: 0 16px; } }

/* ---------- Misc ---------- */
.thanks { text-align: center; max-width: 640px; margin: 0 auto; }
.thanks .tick { width: 72px; height: 72px; border-radius: 50%; background: var(--green-100); color: var(--green-800); display: grid; place-items: center; margin: 0 auto 18px; }
.thanks .tick .icon { width: 40px; height: 40px; }
.thanks .btn-row { justify-content: center; }
.legal h2 { font-size: 1.4rem; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
@media print { .site-header, .sticky-bar, .site-footer, .cta-band { display: none; } }
.section-pad-top { margin-top: 28px; }
.center-chips { justify-content: center; margin: 20px 0 28px; }
.center-chips a { text-decoration: none; }
