/* Rantas Agro — Theme 3 "Green Bengal Heritage" */
:root {
  --green: #3D6B2F;
  --green-dark: #2F5A24;
  --hunter: #355E3B;
  --mustard: #E3B23C;
  --mustard-soft: #F6D98E;
  --terracotta: #B5562F;
  --terracotta-dark: #8E3F20;
  --cream: #FBF6EC;
  --sand: #F3E8D0;
  --line: #E8DCC2;
  --ink: #2E3A24;
  --muted: #5B5A44;
  --white: #FFFFFF;
  --radius: 20px;
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'Karla', system-ui, sans-serif;
  --wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--terracotta); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0; color: var(--ink); }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--mustard); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--green); color: var(--cream); padding: 10px 18px; border-radius: 999px; z-index: 100; }
.skip-link:focus { top: 12px; color: var(--cream); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--sand { background: var(--sand); }
.eyebrow { display: block; color: var(--terracotta); font-weight: 600; letter-spacing: 2px; font-size: 13px; text-transform: uppercase; margin-bottom: 10px; }
.section-head { margin-bottom: 44px; }
.section-head--center { text-align: center; max-width: 700px; margin-left: auto; margin-right: auto; }
.section-head h2 { font-size: clamp(36px, 4.4vw, 54px); }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 17px; }
.section-head--split { display: flex; flex-wrap: wrap; gap: 16px 40px; justify-content: space-between; align-items: flex-end; }
.link-underline { font-weight: 600; border-bottom: 2px solid var(--green); padding-bottom: 2px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 26px; border-radius: 999px; font-weight: 600; font-size: 16px; border: 2px solid transparent; cursor: pointer; font-family: inherit; transition: background .2s, color .2s, border-color .2s; }
.btn--primary { background: var(--green); color: var(--cream); }
.btn--primary:hover { background: var(--green-dark); color: var(--cream); }
.btn--outline { border-color: var(--green); color: var(--green); background: transparent; }
.btn--outline:hover { background: var(--green); color: var(--cream); }
.btn--mustard { background: var(--mustard); color: var(--ink); }
.btn--mustard:hover { background: #D4A22E; color: var(--ink); }
.btn--light { background: var(--cream); color: var(--ink); }
.btn--light:hover { background: var(--white); color: var(--ink); }

/* Nakshi border strip */
.nakshi { height: 28px; background: var(--green) url(img/nakshi-border.svg) repeat-x left center; background-size: 96px 28px; }

/* Header */
.topbar { background: var(--ink); color: #DCE6CF; font-size: 14px; }
.topbar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #DCE6CF; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--mustard); }
.topbar__group { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.site-header { background: var(--cream); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand img { width: 46px; height: 46px; }
.brand__name { font-family: var(--serif); font-size: 26px; color: var(--green); line-height: 1; display: block; }
.brand__tag { font-size: 11px; letter-spacing: 2.5px; color: var(--terracotta); font-weight: 600; display: block; margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; }
.nav__link { display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; border-radius: 999px; color: var(--ink); font-weight: 500; font-size: 16px; background: none; border: 0; font-family: inherit; cursor: pointer; }
.nav__link:hover, .nav__link[aria-current="page"] { background: var(--sand); color: var(--green); }
.nav__sub { list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 250px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 16px 40px rgba(46, 58, 36, .12); display: none; }
.nav__item:hover > .nav__sub, .nav__item:focus-within > .nav__sub, .nav__item.is-open > .nav__sub { display: block; }
.nav__sub a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--ink); }
.nav__sub a:hover { background: var(--sand); color: var(--green); }
.nav__cta { margin-left: 10px; }
.nav-toggle { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); background: var(--cream); flex-direction: column; align-items: stretch; padding: 88px 20px 24px; gap: 12px; transform: translateX(100%); transition: transform .25s ease; box-shadow: -20px 0 40px rgba(46, 58, 36, .15); overflow-y: auto; z-index: 60; }
  .nav.is-open { transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__link { width: 100%; justify-content: space-between; padding: 14px 16px; font-size: 18px; }
  .nav__sub { position: static; display: block; box-shadow: none; border: 0; background: transparent; padding: 0 0 0 14px; min-width: 0; }
  .nav__cta { margin: 12px 0 0; }
  .nav__close { position: absolute; top: 20px; right: 20px; }
  body.nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(46, 58, 36, .35); z-index: 55; }
}
@media (min-width: 981px) { .nav__close { display: none; } }

/* Hero */
.hero { padding: 64px 0 88px; position: relative; overflow: hidden; }
.hero__medallion { position: absolute; width: 360px; left: -170px; bottom: -60px; opacity: .2; pointer-events: none; }
.hero .wrap { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; position: relative; }
.hero__text { flex: 1 1 480px; min-width: 0; }
.hero__badge { display: inline-flex; background: #F3E3C0; color: var(--terracotta-dark); padding: 6px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; margin-bottom: 22px; }
.hero h1 { font-size: clamp(44px, 6vw, 76px); line-height: 1.04; margin-bottom: 24px; }
.hero h1 em { font-style: italic; color: var(--green); }
.hero__lead { font-size: 19px; color: var(--muted); max-width: 520px; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__art { flex: 1 1 420px; min-width: 0; display: flex; justify-content: center; }
.arch { width: 100%; max-width: 540px; }
.arch img { width: 100%; height: 600px; object-fit: cover; border-radius: 10px; box-shadow: 0 18px 40px rgba(46, 58, 36, .14); }
@media (max-width: 600px) {
  .arch img { height: 440px; }
  .hero { padding-top: 40px; }
  .hero__medallion, .page-hero__medallion { display: none; }
  .topbar__group a[href^="mailto:"] { display: none; }
}

/* Stats — floating card (Option B) */
.statcard-band { background: linear-gradient(to bottom, var(--sand) 0, var(--sand) 55%, var(--cream) 55%); padding: 48px 0 8px; }
.statcard { background: var(--white); border: 1px solid var(--line); border-radius: 28px; box-shadow: 0 24px 50px rgba(46, 58, 36, .10); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.3fr); overflow: hidden; }
.statcard__cell { padding: 34px 28px; display: flex; gap: 18px; align-items: center; border-right: 1px solid #EFE6D2; color: var(--ink); min-width: 0; }
.statcard__cell:last-child { border-right: 0; }
.statcard__icon { width: 60px; height: 60px; border-radius: 50%; background: var(--sand); color: var(--green); display: flex; align-items: center; justify-content: center; flex: none; }
.statcard__num { font-family: var(--serif); font-size: 44px; line-height: 1; }
.statcard__label { margin-top: 6px; color: var(--muted); }
.statcard__cell--hotline { background: var(--green); color: var(--cream); border-right: 0; transition: background .2s; }
.statcard__cell--hotline:hover { background: var(--green-dark); color: var(--cream); }
.statcard__icon--mustard { background: var(--mustard); color: var(--ink); }
.statcard__label--caps { margin: 0; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--mustard-soft); font-weight: 600; }
.statcard__phone { margin-top: 4px; font-size: 20px; font-weight: 600; white-space: nowrap; }
@media (max-width: 1100px) {
  .statcard { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .statcard__cell:nth-child(2) { border-right: 0; }
  .statcard__cell:nth-child(-n+2) { border-bottom: 1px solid #EFE6D2; }
}
@media (max-width: 560px) {
  .statcard { grid-template-columns: minmax(0, 1fr); border-radius: 22px; }
  .statcard__cell { border-right: 0; border-bottom: 1px solid #EFE6D2; padding: 22px 24px; }
  .statcard__cell:last-child { border-bottom: 0; }
  .statcard__icon { width: 50px; height: 50px; }
  .statcard__num { font-size: 36px; }
}

/* Crop selector */
.crops__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 36px; }
.crop-tab { min-height: 52px; display: inline-flex; align-items: center; gap: 10px; padding: 0 24px 0 14px; border-radius: 999px; font-family: inherit; font-size: 16px; font-weight: 600; cursor: pointer; background: var(--white); color: var(--ink); border: 2px solid var(--line); }
.crop-tab__dot { width: 26px; height: 26px; border-radius: 50%; border: 3px solid var(--white); box-shadow: 0 0 0 1px var(--line); }
.crop-tab[aria-selected="true"] { background: var(--green); border-color: var(--green); color: var(--cream); }
.crop-tab[aria-selected="true"] .crop-tab__dot { border-color: var(--cream); }
.crop-panel { display: flex; flex-wrap: wrap; background: var(--white); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.crop-panel[hidden] { display: none; }
.crop-panel img { flex: 1 1 360px; min-width: 0; min-height: 320px; object-fit: cover; }
.crop-panel__body { flex: 999 1 460px; min-width: 0; padding: 44px; }
.crop-panel__body h3 { font-size: 42px; color: var(--green); margin: 6px 0 4px; }
.crop-panel__season { color: var(--terracotta-dark); font-weight: 600; margin-bottom: 16px; }
.crop-panel__body p { color: var(--muted); max-width: 560px; margin-bottom: 26px; }
.crop-panel__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 600px) { .crop-panel__body { padding: 28px; } }

/* Product lines */
.lines { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.line-card { display: flex; flex-direction: column; align-items: center; text-align: center; color: var(--ink); }
.line-card img { width: 250px; height: 250px; object-fit: cover; border-radius: 50%; border: 6px solid var(--cream); margin-bottom: 22px; }
.line-card h3 { font-size: 32px; color: var(--green); margin-bottom: 8px; }
.line-card p { color: var(--muted); max-width: 320px; margin-bottom: 14px; }
.line-card__more { color: var(--terracotta); font-weight: 600; }

/* Product cards */
.grid-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.grid-products--3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.product-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; color: var(--ink); transition: transform .2s, box-shadow .2s; }
.product-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(46, 58, 36, .1); color: var(--ink); }
.product-card__media { position: relative; aspect-ratio: 4 / 3; background: #F5F0E6; }
.product-card__media img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.tag { position: absolute; top: 14px; left: 14px; color: var(--cream); font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 999px; background: var(--green); }
.tag--pgr { background: var(--terracotta); }
.tag--pest { background: var(--terracotta-dark); }
.product-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card__body h3 { font-size: 26px; color: var(--green); }
.product-card__ing { color: var(--muted); font-size: 15px; flex: 1; }
.product-card__pack { font-size: 14px; color: var(--terracotta-dark); font-weight: 600; }

/* Stories — hunter green with cream cards (Option B) */
.stories { background: var(--hunter); color: var(--cream); position: relative; overflow: hidden; }
.stories__medallion { position: absolute; right: -90px; top: -90px; width: 320px; opacity: .18; pointer-events: none; }
.stories .wrap { position: relative; }
.stories .section-head h2 { color: var(--cream); }
.stories .eyebrow { color: #F6E7BF; }
.stories__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.story { margin: 0; background: var(--cream); color: var(--ink); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; gap: 20px; padding: 30px; border-top: 10px solid var(--mustard); }
.story blockquote { margin: 0; font-family: var(--serif); font-size: 21px; line-height: 1.45; flex: 1; }
.story figcaption { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding-top: 18px; }
.story__avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--green); color: var(--cream); display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px; flex: none; }
.story__name { font-weight: 600; display: block; }
.story__role { font-size: 14px; color: var(--muted); }

/* Story / about block */
.split { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.split__art { flex: 1 1 400px; min-width: 0; display: flex; justify-content: center; }
.split__art .arch img { height: 540px; }
.split__text { flex: 1 1 480px; min-width: 0; }
.split__text h2 { font-size: clamp(34px, 4vw, 50px); margin-bottom: 22px; }
.prose { color: #4A4A36; font-size: 17px; }
.prose p { margin: 0 0 16px; }
.prose p[style] { text-align: left !important; }
.prose h2, .prose h3 { margin: 28px 0 12px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 16px; }
.prose img { border-radius: 16px; margin: 16px 0; height: auto; }
.prose a { text-decoration: underline; }
.prose table { border-collapse: collapse; width: 100%; margin: 16px 0; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px 12px; }

/* Dealer band */
.band { background: var(--mustard); border-radius: 28px; padding: 52px; display: flex; flex-wrap: wrap; gap: 28px 56px; align-items: center; position: relative; overflow: hidden; }
.band__medallion { position: absolute; right: -60px; bottom: -60px; width: 240px; opacity: .35; pointer-events: none; }
.band__text { flex: 1 1 420px; min-width: 0; position: relative; }
.band__text h2 { font-size: clamp(32px, 3.6vw, 46px); margin-bottom: 10px; }
.band__text p { color: #4A3A12; }
.band__actions { display: flex; flex-wrap: wrap; gap: 12px; position: relative; }
@media (max-width: 600px) { .band { padding: 32px 24px; } }

/* News */
.news { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.news-card { display: flex; flex-direction: column; gap: 12px; color: var(--ink); }
.news-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); background: var(--sand); }
.news-card__meta { font-size: 13px; color: var(--terracotta); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.news-card h3 { font-size: 25px; line-height: 1.25; }
.news-card:hover h3 { color: var(--green); }

/* Page header (inner pages) */
.page-hero { background: var(--sand); padding: 56px 0 48px; position: relative; overflow: hidden; }
.page-hero__medallion { position: absolute; right: -80px; top: -60px; width: 320px; opacity: .25; pointer-events: none; }
.page-hero h1 { font-size: clamp(38px, 5vw, 60px); position: relative; }
.page-hero p { color: var(--muted); margin-top: 12px; max-width: 640px; position: relative; }
.crumbs { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--muted); position: relative; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #B9AE96; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--green); }

.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 2px solid var(--line); background: var(--white); color: var(--ink); font-weight: 600; }
.pill[aria-current="page"] { background: var(--green); border-color: var(--green); color: var(--cream); }
.pill:hover { border-color: var(--green); color: var(--green); }
.pill[aria-current="page"]:hover { color: var(--cream); }

/* Product detail */
.detail { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.detail__gallery { flex: 1 1 420px; min-width: 0; }
.detail__main { background: var(--white); border: 1px solid var(--line); border-radius: 24px; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.detail__main img { width: 100%; height: 100%; object-fit: contain; padding: 24px; }
.detail__thumbs { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.detail__thumb { width: 84px; height: 84px; border-radius: 14px; border: 2px solid var(--line); background: var(--white); padding: 4px; cursor: pointer; }
.detail__thumb[aria-pressed="true"] { border-color: var(--green); }
.detail__thumb img { width: 100%; height: 100%; object-fit: contain; }
.detail__info { flex: 1 1 460px; min-width: 0; }
.detail__info h1 { font-size: clamp(36px, 4.4vw, 54px); color: var(--green); margin: 10px 0 20px; }
.facts { margin: 0 0 28px; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); font-weight: 600; }
.facts dd { margin: 0; }
.detail__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 32px; }
.inline-tag { display: inline-flex; color: var(--cream); font-size: 13px; font-weight: 600; padding: 4px 14px; border-radius: 999px; background: var(--green); }

/* Contact */
.contact-grid { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.contact-cards { flex: 1 1 340px; min-width: 0; display: grid; gap: 16px; }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; display: flex; gap: 16px; align-items: flex-start; }
.contact-card__icon { width: 46px; height: 46px; border-radius: 50%; background: var(--sand); color: var(--green); display: flex; align-items: center; justify-content: center; flex: none; }
.contact-card h3 { font-family: var(--sans); font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--terracotta); font-weight: 600; margin-bottom: 4px; }
.form-card { flex: 2 1 480px; min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 40px; }
.form-card h2 { font-size: 36px; margin-bottom: 8px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin-top: 24px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 15px; }
.field input, .field textarea { font-family: inherit; font-size: 16px; padding: 14px 16px; border: 1px solid #D9C9A3; border-radius: 14px; background: var(--cream); color: var(--ink); width: 100%; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 3px solid rgba(227, 178, 60, .5); border-color: var(--green); }
.alert { padding: 14px 18px; border-radius: 14px; margin-top: 18px; font-weight: 500; }
.alert--ok { background: #E4EFD9; color: #24461A; }
.alert--err { background: #F8E1D6; color: #7A2E12; }
.map-embed iframe { width: 100%; min-height: 360px; border: 0; border-radius: 24px; }
@media (max-width: 600px) { .form-card { padding: 26px; } }

/* Search */
.search-form { display: flex; gap: 10px; flex-wrap: wrap; max-width: 560px; }
.search-form input { flex: 1 1 240px; min-height: 52px; padding: 0 20px; border-radius: 999px; border: 1px solid #D9C9A3; background: var(--white); font-family: inherit; font-size: 16px; }

.empty { text-align: center; padding: 48px 24px; background: var(--white); border: 1px dashed #D9C9A3; border-radius: 24px; color: var(--muted); }
.empty h2 { font-size: 34px; margin-bottom: 10px; color: var(--ink); }

/* Footer */
.site-footer { background: var(--ink); color: #DCE6CF; padding: 72px 0 32px; }
.site-footer a { color: #DCE6CF; }
.site-footer a:hover { color: var(--mustard); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 40px; padding-bottom: 44px; border-bottom: 1px solid #45553A; }
.footer-brand { font-family: var(--serif); font-size: 30px; color: var(--mustard); margin-bottom: 10px; }
.footer-title { color: var(--mustard); font-weight: 600; margin-bottom: 14px; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.footer-list li { display: flex; gap: 10px; align-items: flex-start; }
.footer-list svg { flex: none; margin-top: 3px; color: var(--mustard); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; padding-top: 24px; font-size: 14px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid #45553A; display: inline-flex; align-items: center; justify-content: center; }

/* Pagination */
.pager { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 40px; }
.pager a, .pager span { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 2px solid var(--line); background: var(--white); color: var(--ink); font-weight: 600; padding: 0 14px; }
.pager [aria-current="page"] { background: var(--green); border-color: var(--green); color: var(--cream); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
/* Company logo from the admin panel (v4.1) */
.brand img.brand__logo { display: block; height: 60px; width: auto; max-width: 220px; object-fit: contain; mix-blend-mode: multiply; }
.footer-logo { display: inline-block; background: var(--cream); padding: 10px 16px; border-radius: 10px; margin-bottom: 16px; }
.footer-logo img { display: block; height: 56px; width: auto; max-width: 220px; object-fit: contain; mix-blend-mode: multiply; }
@media (max-width: 600px) { .brand img.brand__logo { height: 48px; max-width: 170px; } }
/* Seasonal crop selector (v4.2) */
.seasons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0 auto 26px; max-width: 1040px; }
.season-tab { position: relative; display: flex; align-items: center; gap: 14px; text-align: left; padding: 16px 18px; border-radius: 18px; background: var(--white); border: 2px solid var(--line); color: var(--ink); font-family: inherit; cursor: pointer; }
.season-tab:hover { border-color: var(--mustard); }
.season-tab__icon { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); color: var(--terracotta-dark); }
.season-tab__name { display: block; white-space: nowrap; font-family: var(--serif); font-size: 22px; line-height: 1.1; }
.season-tab__sub { display: block; font-size: 14px; line-height: 1.4; color: var(--muted); margin-top: 3px; }
.season-tab__now { position: absolute; top: -11px; right: 14px; background: var(--mustard); color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: 1.5px; padding: 3px 10px; border-radius: 999px; }
.season-tab[aria-selected="true"] { background: var(--hunter); border-color: var(--hunter); color: var(--cream); }
.season-tab[aria-selected="true"] .season-tab__sub { color: #DCE6CF; }
.season-tab[aria-selected="true"] .season-tab__icon { background: rgba(251, 246, 236, .14); color: var(--mustard); }
.crops__tabs[hidden] { display: none; }
.crop-tab { min-height: 46px; font-size: 15px; padding: 0 20px 0 12px; }
.crop-tab__dot { width: 22px; height: 22px; }
.season-group + .season-group { margin-top: 56px; }
.season-group__title { text-align: center; font-size: 30px; margin-bottom: 26px; color: var(--green); }
.season-group__title span { display: block; font-family: var(--sans); font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--terracotta-dark); margin-top: 6px; }
@media (max-width: 900px) { .seasons { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .season-tab__term { display: block; } .season-tab__sep { display: none; } }
@media (max-width: 420px) { .season-tab { padding: 14px; gap: 10px; } .season-tab__icon { width: 38px; height: 38px; } .season-tab__name { font-size: 19px; } }
/* Crop button icons (v4.3) */
.crops__tabs { align-items: center; }
.crop-tab { min-height: 42px; font-size: 15px; padding: 0 18px 0 5px; gap: 8px; }
.crop-tab__icon { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); color: var(--terracotta-dark); }
.crop-tab__icon svg { width: 20px; height: 20px; }
.crop-tab[aria-selected="true"] .crop-tab__icon { background: rgba(251, 246, 236, .14); color: var(--mustard); }
/* Season badges on the crop care page (v4.4) */
.season-badge-wrap { text-align: center; margin-bottom: 30px; }
.season-badge { display: inline-flex; align-items: center; gap: 10px; margin: 0; background: var(--hunter); color: var(--mustard); border-radius: 999px; padding: 12px 26px; box-shadow: 0 8px 20px -12px rgba(53, 94, 59, .6); }
.season-badge__icon { display: grid; place-items: center; }
.season-badge__name { font-family: var(--serif); font-size: 26px; line-height: 1; color: var(--cream); }
.season-badge__meta { font-family: var(--sans); font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: #DCE6CF; padding-left: 10px; border-left: 1px solid rgba(251, 246, 236, .3); }
@media (max-width: 600px) { .season-badge { flex-wrap: wrap; justify-content: center; row-gap: 4px; padding: 10px 20px; } .season-badge__meta { flex-basis: 100%; text-align: center; border: 0; padding: 0; } }

/* Mobile menu fix (v4.5): keep the open menu above the dark overlay */
@media (max-width: 980px) { body.nav-open .site-header { z-index: 70; } }

/* Home link only in the mobile menu (v4.6) */
@media (min-width: 981px) { .nav__item--home { display: none; } }
/* Video hero (v4.7) */
.vhero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: center; overflow: hidden; background: #2B3D22; color: var(--cream); }
.vhero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vhero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30, 42, 24, .82) 0%, rgba(30, 42, 24, .55) 45%, rgba(30, 42, 24, .15) 100%), linear-gradient(0deg, rgba(30, 42, 24, .55) 0%, rgba(30, 42, 24, 0) 35%); }
.vhero__inner { position: relative; width: 100%; padding-top: 80px; padding-bottom: 140px; }
.vhero__eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--mustard); margin-bottom: 18px; }
.vhero h1 { color: var(--cream); font-size: clamp(42px, 6.2vw, 80px); line-height: 1.04; margin-bottom: 22px; }
.vhero h1 em { color: var(--mustard); font-style: italic; }
.vhero__lead { font-size: 19px; color: #E6EDD9; max-width: 540px; margin-bottom: 32px; }
.vhero__ghost { border: 2px solid rgba(251, 246, 236, .75); color: var(--cream); background: transparent; }
.vhero__ghost:hover { background: var(--cream); color: var(--green); }
.vhero__trust { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 15px; color: #DCE6CF; }
.vhero__trust li { display: inline-flex; align-items: center; gap: 7px; }
.vhero__trust svg { color: var(--mustard); }
.vhero + .statcard-band { background: transparent; padding: 0 0 8px; margin-top: -88px; position: relative; z-index: 2; }
.vhero + .statcard-band .statcard { border-top: 4px solid var(--mustard); }
@media (max-width: 700px) { .vhero { min-height: 92vh; } .vhero__inner { padding-top: 56px; padding-bottom: 120px; } .vhero__shade { background: linear-gradient(0deg, rgba(30, 42, 24, .85) 0%, rgba(30, 42, 24, .55) 60%, rgba(30, 42, 24, .35) 100%); } }
@media (prefers-reduced-motion: reduce) { .vhero__video { display: none; } .vhero { background: #2B3D22 url(https://images.unsplash.com/photo-1642832520839-a30ac9bcadd9?auto=format&fit=crop&q=70&w=1600) center / cover; } }

/* Heading widths (v4.8): centred headings fit on one line on desktop; no lonely last words */
.section-head--center { max-width: 1000px; }
.section-head--center p { max-width: 760px; margin-left: auto; margin-right: auto; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.band { gap: 24px 40px; padding: 48px 52px; }
.band__text { flex: 1 1 560px; }
.band__text h2 { font-size: clamp(30px, 3.2vw, 40px); }

/* Justified text (v4.9): paragraphs line up on both edges; centred and very short texts stay as they were */
p, .prose li { text-align: justify; text-wrap: wrap; }
.prose p[style] { text-align: justify !important; }
.section-head--center p, .line-card p, .empty p, .wrap[style*="text-align: center"] p, .season-group p { text-align: center; }
.statcard p, .product-card p { text-align: left; }
