/* ==========================================================================
   Mahadev Agriculture — light farm theme
   Soil, crop green, tractor red and a warm field sky. Built for easy reading.
   ========================================================================== */
:root {
  --cream: #f6efe3;
  --cream-2: #efe5d4;
  --paper: #fffaf2;
  --ink: #1d1a15;
  --ink-2: #4a4339;
  --muted: #6b6255;
  --line: rgba(29, 26, 21, 0.12);
  --soil: #6b4429;
  --soil-2: #3a2617;
  --crop: #3f7a2c;
  --crop-2: #e7efd9;
  --red: #c4161c;
  --red-2: #a51217;
  --sun: #f2a23a;

  --f-display: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;
  --f-hindi: "Mukta", "Archivo", sans-serif;

  --pad: clamp(18px, 4vw, 64px);
  --maxw: 1320px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --radius: 18px;
  --shadow: 0 1px 2px rgba(58, 38, 23, 0.06), 0 12px 32px -12px rgba(58, 38, 23, 0.22);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--f-display); font-size: 18px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-style: normal; }
[hidden] { display: none !important; }
[lang="hi"] { font-family: var(--f-hindi); }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 6px; }

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

/* ---------- type ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; color: var(--crop); }
.eyebrow--light { color: #ffd18f; }
.eyebrow--dark { color: var(--ink); }
.eyebrow .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(196, 22, 28, 0.18); }
.h2 { font-size: clamp(32px, 4.4vw, 60px); font-weight: 780; font-stretch: 104%; line-height: 1.05; letter-spacing: -0.02em; margin-top: 12px; }
.h2 em, .hero__title em { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-stretch: 100%; color: var(--red); letter-spacing: -0.01em; }
.lead { font-size: clamp(18px, 1.4vw, 21px); color: var(--ink-2); max-width: 60ch; margin-top: 14px; }
.section-head { max-width: var(--maxw); margin: 0 auto 40px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 650; font-size: 16px; text-decoration: none; white-space: nowrap;
  transition: background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-2); box-shadow: 0 8px 20px -8px rgba(196, 22, 28, 0.6); }
.btn--ghost { border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--soil-2); }
.btn--sm { padding: 10px 18px; font-size: 15px; }
.btn--lg { padding: 18px 30px; font-size: 17px; }

/* ---------- preloader ---------- */
.preloader { position: fixed; inset: 0; z-index: 400; background: var(--cream); display: grid; place-items: center; }
.preloader__inner { display: grid; justify-items: center; gap: 14px; }
.preloader__logo { width: 60px; color: var(--red); }
.preloader__logo path:first-child { stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw 1.1s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.preloader__name { font-weight: 800; font-size: 18px; letter-spacing: 0.08em; text-transform: uppercase; }
.preloader__bar { width: 180px; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.preloader__bar span { display: block; height: 100%; background: var(--red); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- nav ---------- */
.nav {
  position: fixed; z-index: 100; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 14px var(--pad); transition: transform 0.5s var(--ease), background 0.3s, box-shadow 0.3s;
}
.nav.is-scrolled { background: rgba(246, 239, 227, 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.nav.is-hidden { transform: translateY(-105%); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark { width: 34px; height: 34px; color: var(--red); flex: none; }
.brand__text { display: grid; line-height: 1; }
.brand__text strong { font-weight: 850; font-stretch: 115%; font-size: 19px; letter-spacing: 0.06em; text-transform: uppercase; }
.brand__text small { font-size: 11px; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; color: var(--crop); margin-top: 4px; }
.nav__links { display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(255, 250, 242, 0.85); box-shadow: var(--shadow); }
.nav__links a { padding: 9px 16px; border-radius: 999px; font-size: 15.5px; font-weight: 600; text-decoration: none; transition: background 0.2s, color 0.2s; }
.nav__links a:hover { background: var(--crop-2); color: var(--crop); }
.nav__right { display: flex; align-items: center; gap: 10px; }
.nav__search, .nav__menu { width: 44px; height: 44px; border-radius: 50%; background: var(--paper); box-shadow: var(--shadow); display: grid; place-items: center; }
.nav__search svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; }
.nav__menu { display: none; position: relative; }
.nav__menu span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); transition: transform 0.4s var(--ease); }
.nav__menu span:first-child { top: 18px; } .nav__menu span:last-child { top: 25px; }
.menu-open .nav__menu span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .nav__menu span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 90; background: var(--cream); padding: 110px var(--pad) 40px; visibility: hidden; opacity: 0; transition: opacity 0.3s, visibility 0.3s; }
.menu-open .menu { visibility: visible; opacity: 1; }
.menu__links { display: grid; gap: 6px; }
.menu__links a { font-size: 36px; font-weight: 780; text-decoration: none; padding: 6px 0; border-bottom: 1px solid var(--line); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; z-index: 3; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: visible; background: linear-gradient(#a9cbe6, #f1e4cc 55%, #b98a5c 56%); }
.hero__stage { position: absolute; inset: 0; touch-action: pan-y; cursor: grab; }
.hero__stage:active { cursor: grabbing; }
.hero__canvas { position: relative; width: 100%; height: 100%; display: block; }
/* real photo of our factory, softly blurred like a camera's depth of field */
.hero__bg { position: absolute; inset: 0; overflow: hidden; background: #cfd9df; }
.hero__bg::before { content: ""; position: absolute; inset: -3%; background: url("../img/factory-backdrop.webp") 100% 100% / cover no-repeat; animation: drift 40s ease-in-out infinite alternate; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(246, 239, 227, 0.12) 0%, rgba(246, 239, 227, 0) 40%, rgba(60, 40, 20, 0.12) 100%); }
@keyframes drift { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.06) translate(-1.5%, -1%); } }
.hero__fallback { display: none; }
.no-webgl .hero__fallback { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.no-webgl .hero__canvas, .no-webgl .hero__dots, .no-webgl .hero__showing, .no-webgl .hero__hint { display: none; }
/* soft cream wash on the left so the text is always easy to read */
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(246, 239, 227, 0.96) 0%, rgba(246, 239, 227, 0.9) 34%, rgba(246, 239, 227, 0) 60%); }
.hero__content { position: relative; z-index: 2; width: min(620px, 100%); margin-left: max(var(--pad), calc((100vw - var(--maxw)) / 2)); padding: 120px 0 80px; }
.hero__title { font-size: clamp(40px, 5.4vw, 78px); font-weight: 820; font-stretch: 104%; line-height: 1.02; letter-spacing: -0.03em; margin-top: 18px; }
.hero__title em { display: block; }
.hero__lead { font-size: clamp(18px, 1.45vw, 21px); color: var(--ink-2); margin-top: 18px; max-width: 54ch; }

.hero__showing { position: absolute; z-index: 2; right: var(--pad); top: 100px; display: grid; gap: 2px; justify-items: end; text-align: right; background: rgba(255, 250, 242, 0.9); padding: 14px 18px; border-radius: 14px; box-shadow: var(--shadow); }
.hero__showing-label { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--crop); }
.hero__showing-name { font-size: 20px; font-weight: 750; }
.hero__showing-link { font-size: 15px; font-weight: 650; color: var(--red); text-decoration: none; }
.hero__showing-link:hover { text-decoration: underline; }
.hero__dots { position: absolute; z-index: 2; right: var(--pad); bottom: 48px; display: flex; gap: 8px; }
.hero__dots button { width: 34px; height: 6px; border-radius: 6px; background: rgba(29, 26, 21, 0.25); position: relative; overflow: hidden; }
.hero__dots button.is-active { background: rgba(29, 26, 21, 0.25); }
.hero__dots button i { position: absolute; inset: 0; background: var(--red); transform-origin: 0 50%; transform: scaleX(0); }
.hero__dots button.is-done i { transform: scaleX(1); }
.hero__hint { position: absolute; z-index: 2; right: var(--pad); bottom: 18px; font-size: 13px; color: rgba(255, 250, 242, 0.9); text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4); }

/* search */
.search { position: relative; z-index: 5; margin-top: 30px; }
.search__label { display: block; font-weight: 700; font-size: 16px; margin-bottom: 8px; }
.search__box { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px; padding: 6px 6px 6px 18px; box-shadow: 0 2px 4px rgba(58, 38, 23, 0.08), 0 18px 40px -16px rgba(58, 38, 23, 0.35); border: 2px solid transparent; transition: border-color 0.2s; }
.search__box:focus-within { border-color: var(--crop); }
.search__box--light { box-shadow: var(--shadow); flex: 1 1 320px; max-width: 520px; padding-right: 10px; }
.search__icon { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--muted); stroke-width: 2.2; stroke-linecap: round; }
.search__input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 18px; padding: 12px 4px; color: var(--ink); }
.search__input::placeholder { color: #9a8f80; }
.search__input::-webkit-search-cancel-button { display: none; }
.search__go { padding: 14px 26px; }
.search__clear { width: 34px; height: 34px; border-radius: 50%; color: var(--muted); }
.search__clear:hover { background: var(--cream-2); }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 20; background: #fff; border-radius: 16px; box-shadow: 0 24px 60px -20px rgba(58, 38, 23, 0.45); padding: 8px; max-height: 420px; overflow: auto; }
.suggest li { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; cursor: pointer; }
.suggest li[aria-selected="true"], .suggest li:hover { background: var(--crop-2); }
.suggest img { width: 64px; height: 48px; object-fit: cover; border-radius: 8px; flex: none; }
.suggest b { display: block; font-size: 16px; font-weight: 700; line-height: 1.25; }
.suggest small { color: var(--muted); font-size: 14px; }
.suggest .suggest__all { justify-content: center; font-weight: 700; color: var(--red); }

.quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.quick a { padding: 8px 14px; border-radius: 999px; background: rgba(255, 250, 242, 0.95); border: 1px solid var(--line); font-size: 15px; font-weight: 600; text-decoration: none; transition: background 0.2s, border-color 0.2s; }
.quick a:hover { background: var(--crop-2); border-color: var(--crop); color: var(--crop); }

/* ---------- trust bar ---------- */
.trust { background: var(--soil-2); color: #f6efe3; }
.trust ul { max-width: var(--maxw); margin: 0 auto; padding: 18px var(--pad); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; font-size: 16px; font-weight: 600; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); }
.trust b { color: var(--sun); font-size: 20px; }

/* ---------- sections ---------- */
.types, .catalogue, .process, .why { padding: clamp(70px, 10vw, 130px) var(--pad); }
.types { background: var(--cream); }
.types__grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.type { position: relative; display: grid; grid-template-rows: auto 1fr; background: var(--paper); border-radius: var(--radius); overflow: hidden; text-decoration: none; box-shadow: var(--shadow); transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.type:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -20px rgba(58, 38, 23, 0.4); }
.type__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream-2); }
.type__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.type:hover .type__img img { transform: scale(1.06); }
.type__body { padding: 16px 18px 20px; display: grid; gap: 6px; align-content: start; }
.type__name { font-size: 20px; font-weight: 750; line-height: 1.2; }
.type__count { font-size: 14px; font-weight: 700; color: var(--crop); }
.type__sum { font-size: 15.5px; color: var(--ink-2); line-height: 1.5; }

.catalogue { background: var(--paper); border-top: 1px solid var(--line); }
.toolbar { max-width: var(--maxw); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 15px; font-weight: 600; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.filter:hover { border-color: var(--ink); }
.filter.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.filter small { opacity: 0.6; margin-left: 4px; font-weight: 500; }
.results { max-width: var(--maxw); margin: 22px auto 16px; color: var(--muted); font-size: 16px; }
.results b { color: var(--ink); }
.products { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.product { display: grid; grid-template-rows: auto 1fr; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-align: left; transition: transform 0.35s var(--ease), box-shadow 0.35s; }
.product:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -20px rgba(58, 38, 23, 0.4); }
.product__img { position: relative; aspect-ratio: 4 / 3; background: var(--cream-2); overflow: hidden; }
.product__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.product:hover .product__img img { transform: scale(1.05); }
.product__ref { position: absolute; top: 10px; left: 10px; background: rgba(255, 250, 242, 0.95); padding: 3px 9px; border-radius: 6px; font-size: 13px; font-weight: 700; }
.product__body { padding: 14px 16px 18px; display: grid; gap: 4px; align-content: start; }
.tag { display: inline-block; justify-self: start; font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--crop); }
.product__name { font-size: 18.5px; font-weight: 720; line-height: 1.25; }
.product__colour { display: flex; align-items: center; gap: 7px; font-size: 15px; color: var(--ink-2); }
.product__colour i { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, 0.15); }
.product__more { margin-top: 8px; font-size: 15px; font-weight: 700; color: var(--red); }
.empty { max-width: 640px; margin: 40px auto 0; text-align: center; display: grid; gap: 14px; justify-items: center; padding: 40px 24px; border-radius: var(--radius); background: var(--cream); }
.empty h3 { font-size: 26px; }
.empty p { color: var(--ink-2); }

.about { padding: clamp(70px, 10vw, 130px) var(--pad); background: var(--crop-2); }
.about__grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 6vw, 90px); }
.about__photo { margin: 28px 0 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.about__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about__photo figcaption { padding: 10px 14px; font-size: 15px; color: var(--ink-2); }
.about__text { display: grid; gap: 16px; align-content: start; font-size: 19px; color: var(--ink-2); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 18px; padding-top: 22px; border-top: 1px solid rgba(63, 122, 44, 0.25); }
.stat { display: grid; gap: 2px; }
.stat__num { font-size: clamp(34px, 3.4vw, 50px); font-weight: 850; font-stretch: 110%; color: var(--crop); line-height: 1; letter-spacing: -0.03em; }
.stat__label { font-size: 14.5px; color: var(--ink-2); line-height: 1.35; }

/* ---------- factory slideshow ---------- */
.yard { position: relative; background: var(--soil-2); color: #fff; }
.yard__frame { position: relative; height: min(92vh, 860px); overflow: hidden; }
.yard__canvas, .yard__fallback { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.yard__fallback { display: none; }
.yard__fallback img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.yard__fallback img.is-active { opacity: 1; }
.yard.is-fallback .yard__fallback { display: block; }
.yard.is-fallback .yard__canvas { display: none; }
.yard__shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(20, 14, 8, 0.72) 0%, rgba(20, 14, 8, 0) 36%, rgba(20, 14, 8, 0) 50%, rgba(20, 14, 8, 0.85) 100%); }
.yard__ui { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr auto; grid-template-rows: 1fr auto auto; padding: clamp(40px, 6vw, 80px) var(--pad) 36px; gap: 22px; max-width: calc(var(--maxw) + 2 * var(--pad)); margin: 0 auto; }
.yard__head { grid-column: 1 / -1; }
.yard__head .h2 { max-width: 16ch; }
.yard__head .h2 em { color: #ffd18f; }
.yard__caption { align-self: end; max-width: 560px; display: grid; gap: 6px; }
.yard__count { font-size: 15px; opacity: 0.8; }
.yard__count b { color: #ffd18f; }
.yard__title { font-size: clamp(24px, 2.4vw, 36px); font-weight: 750; line-height: 1.15; }
.yard__text { font-size: 18px; opacity: 0.9; }
.yard__controls { align-self: end; display: flex; gap: 10px; }
.yard__btn { width: 56px; height: 56px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.5); font-size: 20px; color: #fff; background: rgba(0, 0, 0, 0.25); transition: background 0.2s, color 0.2s; }
.yard__btn:hover { background: #fff; color: var(--ink); }
.yard__bar { grid-column: 1 / -1; height: 3px; background: rgba(255, 255, 255, 0.25); border-radius: 3px; overflow: hidden; }
.yard__bar span { display: block; height: 100%; background: #ffd18f; transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- process ---------- */
.process { background: var(--cream); }
.steps { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: s; }
.step { position: relative; background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); padding-bottom: 20px; }
.step__img { aspect-ratio: 4 / 3; overflow: hidden; }
.step__img img { width: 100%; height: 100%; object-fit: cover; }
.step__n { position: absolute; top: 12px; left: 12px; width: 38px; height: 38px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-weight: 800; }
.step h3 { font-size: 20px; font-weight: 750; margin: 16px 18px 6px; }
.step p { font-size: 16px; color: var(--ink-2); margin: 0 18px; line-height: 1.5; }

/* ---------- why ---------- */
.why { background: var(--paper); border-top: 1px solid var(--line); }
.why__grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { padding: 28px; border-radius: var(--radius); background: var(--cream); display: grid; gap: 8px; align-content: start; }
.feature svg { width: 44px; height: 44px; fill: none; stroke: var(--crop); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 8px; }
.feature h3 { font-size: 21px; font-weight: 750; }
.feature p { color: var(--ink-2); font-size: 16.5px; }

/* ---------- contact ---------- */
.contact { background: linear-gradient(135deg, #f2a23a, #e2731f); padding: clamp(70px, 10vw, 130px) var(--pad); }
.contact__inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.contact__title { font-size: clamp(40px, 5.6vw, 80px); font-weight: 850; line-height: 1; letter-spacing: -0.03em; margin-top: 12px; }
.contact__lead { font-size: 19px; margin-top: 18px; max-width: 44ch; }
.contact__list { margin-top: 32px; border-top: 1px solid rgba(29, 26, 21, 0.2); }
.contact__list li { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid rgba(29, 26, 21, 0.2); align-items: baseline; }
.contact__list span { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.75; }
.contact__list a { font-size: 20px; font-weight: 700; text-decoration: none; line-height: 1.35; }
.contact__list a:hover { text-decoration: underline; }
.contact__phones { display: grid; gap: 4px; }
.enquiry { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: clamp(20px, 2.6vw, 36px); border-radius: 22px; background: var(--paper); box-shadow: 0 40px 80px -40px rgba(80, 30, 0, 0.6); }
.field { display: grid; gap: 6px; }
.field--full, .enquiry .btn, .enquiry__note { grid-column: 1 / -1; }
.field label { font-size: 15px; font-weight: 650; }
.field input, .field textarea, .field select { width: 100%; font: inherit; font-size: 17px; color: var(--ink); background: #fff; border: 1.5px solid rgba(29, 26, 21, 0.2); border-radius: 12px; padding: 12px 14px; outline: none; transition: border-color 0.2s, box-shadow 0.2s; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--crop); box-shadow: 0 0 0 3px rgba(63, 122, 44, 0.15); }
.field.is-invalid input { border-color: var(--red); }
.enquiry .btn { justify-self: start; }
.enquiry__note { font-size: 14.5px; color: var(--muted); }

/* ---------- footer ---------- */
.footer { background: var(--soil-2); color: #f6efe3; padding: 60px var(--pad) 28px; overflow: hidden; }
.footer__top { max-width: var(--maxw); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer__hindi { font-size: 24px; font-weight: 700; }
.footer__en { opacity: 0.75; }
.footer__links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer__links a, .footer__bottom a { text-decoration: none; opacity: 0.85; }
.footer__links a:hover, .footer__bottom a:hover { opacity: 1; color: var(--sun); }
.footer__word { display: flex; justify-content: space-between; margin: 4vw 0 1vw; font-size: 15.5vw; font-weight: 900; font-stretch: 112%; line-height: 0.8; letter-spacing: -0.05em; color: #f6efe3; overflow: hidden; padding-top: 0.04em; }
.footer__word span { display: inline-block; transition: color 0.3s; }
.footer__word span:hover { color: var(--sun); }
.footer__bottom { max-width: var(--maxw); margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 20px; border-top: 1px solid rgba(246, 239, 227, 0.2); font-size: 15px; opacity: 0.85; }

/* ---------- product modal ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; visibility: hidden; }
.modal.is-open { visibility: visible; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(29, 20, 12, 0.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; }
.modal__card { position: relative; width: min(1100px, 100%); max-height: calc(100vh - 40px); overflow: auto; display: grid; grid-template-columns: 1.1fr 1fr; background: var(--paper); border-radius: 22px; box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4); opacity: 0; }
.modal__media { position: relative; background: var(--cream-2); min-height: 320px; }
.modal__media { display: grid; overflow: hidden; }
.modal__media::before { content: ""; position: absolute; inset: -40px; background: var(--bg) center / cover no-repeat; filter: blur(26px) brightness(0.85); }
.modal__media > img { width: 100%; height: 100%; max-height: calc(100vh - 40px); object-fit: contain; position: relative; }
.modal__thumbs { position: absolute; left: 12px; bottom: 12px; display: flex; gap: 8px; }
.modal__thumbs button { width: 64px; height: 48px; border-radius: 8px; overflow: hidden; border: 2px solid rgba(255, 250, 242, 0.9); box-shadow: var(--shadow); opacity: 0.75; transition: opacity 0.2s, border-color 0.2s; }
.modal__thumbs button.is-active, .modal__thumbs button:hover { opacity: 1; border-color: var(--red); }
.modal__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product__photos { position: absolute; top: 10px; right: 10px; background: rgba(29, 26, 21, 0.75); color: #fff; padding: 3px 9px; border-radius: 6px; font-size: 13px; font-weight: 600; }
.modal__nav { position: absolute; top: 50%; translate: 0 -50%; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 250, 242, 0.92); font-size: 18px; box-shadow: var(--shadow); }
.modal__prev { left: 12px; } .modal__next { right: 12px; }
.modal__close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; background: var(--cream); font-size: 16px; }
.modal__close:hover, .modal__nav:hover { background: var(--ink); color: #fff; }
.modal__body { padding: clamp(22px, 3vw, 38px); display: grid; gap: 12px; align-content: start; }
.modal__meta { display: flex; gap: 10px; align-items: center; }
.modal__ref { font-size: 14px; font-weight: 700; color: var(--muted); }
.modal__title { font-size: clamp(26px, 2.6vw, 36px); font-weight: 800; line-height: 1.1; padding-right: 40px; }
.modal__colour { color: var(--ink-2); }
.modal__about { font-size: 17px; color: var(--ink-2); }
.modal__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 4px; }
.modal__cols h4 { font-size: 15px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--crop); margin-bottom: 6px; }
.modal__cols li { font-size: 15.5px; padding-left: 18px; position: relative; margin-bottom: 4px; line-height: 1.45; }
.modal__cols li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 8px; height: 8px; border-radius: 2px; background: var(--red); }
.modal__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__menu { display: grid; }
  .types__grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .about__grid, .contact__inner { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  body { font-size: 17px; }
  .nav__cta { display: none; }
  /* hero stacks: text + search first, 3D showroom below */
  .hero { flex-direction: column; align-items: stretch; background: var(--cream); }
  .hero::before { display: none; }
  .hero__content { order: 1; margin: 0; width: 100%; padding: 100px var(--pad) 24px; }
  .hero__stage { order: 2; position: relative; inset: auto; height: 64vh; min-height: 380px; }
  .hero__showing { left: 14px; right: 14px; top: 14px; bottom: auto; justify-items: start; text-align: left; grid-template-columns: 1fr auto; align-items: center; }
  .hero__showing-label { grid-column: 1 / -1; }
  .hero__dots { left: 14px; right: auto; bottom: 22px; }
  .hero__hint { bottom: 18px; right: 14px; }
  .search__go { padding: 12px 18px; }
  .search__input { font-size: 17px; }
  .trust ul { justify-content: flex-start; font-size: 15px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .modal { padding: 0; align-items: end; }
  .modal__card { grid-template-columns: 1fr; max-height: 92vh; border-radius: 22px 22px 0 0; }
  .modal__media { min-height: 0; aspect-ratio: 4 / 3; }
  .modal__cols { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .types__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .type__sum { display: none; }
  .type__name { font-size: 16.5px; }
  .products { grid-template-columns: 1fr 1fr; gap: 10px; }
  .product__name { font-size: 16px; }
  .product__body { padding: 10px 12px 14px; }
  .product__more { display: none; }
  .steps { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .enquiry { grid-template-columns: 1fr; }
  .contact__list li { grid-template-columns: 1fr; gap: 2px; }
  .yard__ui { grid-template-columns: 1fr; }
  .yard__controls { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ==========================================================================
   Farm-themed section backdrops
   Soil, crop rows, golden-hour light and paper grain instead of flat colours.
   ========================================================================== */
:root {
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.35 0 0 0 0 0.25 0 0 0 0 0.15 0 0 0 0.55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  /* gentle curved crop rows, drawn as a repeating tile */
  --rows: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='40'%3E%3Cpath d='M0 20 Q60 8 120 20 T240 20' fill='none' stroke='%23ffffff' stroke-opacity='.07' stroke-width='2'/%3E%3C/svg%3E");
  --rows-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='40'%3E%3Cpath d='M0 20 Q60 8 120 20 T240 20' fill='none' stroke='%233f7a2c' stroke-opacity='.09' stroke-width='2'/%3E%3C/svg%3E");
}
.types, .catalogue, .about, .process, .why { position: relative; isolation: isolate; }
.types::before, .catalogue::before, .about::before, .process::before, .why::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: var(--grain); opacity: 0.35; mix-blend-mode: multiply;
}

/* trust strip: crop green */
.trust { background: linear-gradient(90deg, #2f6421, #3f7a2c 50%, #2f6421); }
.trust b, .trust li::before { color: #ffd18f; }
.trust li::before { background: #ffd18f; }

/* "What we make": rich ploughed soil at golden hour */
.types {
  background:
    radial-gradient(900px 420px at 85% -5%, rgba(242, 162, 58, 0.45), transparent 65%),
    radial-gradient(700px 380px at 0% 105%, rgba(196, 22, 28, 0.18), transparent 60%),
    repeating-linear-gradient(176deg, rgba(0, 0, 0, 0.12) 0 3px, transparent 3px 34px),
    linear-gradient(170deg, #4a2f1b 0%, #34210f 55%, #2a1a0d 100%);
  color: #f6efe3;
}
.types::before { opacity: 0.5; mix-blend-mode: overlay; }
.types .eyebrow { color: #ffd18f; }
.types .h2 { color: #fffaf2; }
.types .lead { color: rgba(246, 239, 227, 0.82); }
.types__grid { grid-template-columns: repeat(5, 1fr); }
.type { background: #fffaf2; color: var(--ink); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), 0 24px 48px -20px rgba(0, 0, 0, 0.6); }
.type:hover { box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), 0 30px 60px -20px rgba(242, 162, 58, 0.55); }
.type__name { font-size: 18.5px; }

/* catalogue: sunlit paper with faint crop rows */
.catalogue {
  border-top: 0;
  background:
    radial-gradient(1000px 420px at 50% 0%, rgba(242, 162, 58, 0.16), transparent 70%),
    var(--rows-dark) 0 0 / 240px 40px,
    linear-gradient(180deg, #fbf5ea, #f4ead9);
}

/* about: fresh crop field */
.about {
  background:
    radial-gradient(800px 400px at 100% 0%, rgba(255, 255, 255, 0.55), transparent 65%),
    var(--rows-dark) 0 0 / 240px 40px,
    linear-gradient(160deg, #e8f0da, #d9e6c4);
}

/* process: warm wheat */
.process {
  background:
    radial-gradient(900px 420px at 10% 0%, rgba(255, 255, 255, 0.6), transparent 65%),
    radial-gradient(800px 400px at 100% 100%, rgba(242, 162, 58, 0.22), transparent 60%),
    linear-gradient(170deg, #f6ead2, #efdcb8);
}
.step { background: #fffaf2; }

/* why us: dark field at dusk, cards glow */
.why {
  border-top: 0;
  background:
    radial-gradient(900px 400px at 50% 0%, rgba(63, 122, 44, 0.35), transparent 65%),
    var(--rows) 0 0 / 240px 40px,
    linear-gradient(175deg, #1f3a18, #16290f);
  color: #f6efe3;
}
.why::before { opacity: 0.45; mix-blend-mode: overlay; }
.why .eyebrow { color: #ffd18f; }
.why .h2 { color: #fffaf2; }
.why .h2 em { color: #ffb14e; }
.feature { background: rgba(255, 250, 242, 0.06); border: 1px solid rgba(255, 250, 242, 0.12); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); transition: background 0.3s, border-color 0.3s; }
.feature:hover { background: rgba(255, 250, 242, 0.1); border-color: rgba(255, 209, 143, 0.45); }
.feature svg { stroke: #ffd18f; }
.feature h3 { color: #fffaf2; }
.feature p { color: rgba(246, 239, 227, 0.78); }

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