/* Ready Farm Feed — site styles
   Generated pages only. If you'd rather inherit your existing homepage CSS,
   point build.py's TEMPLATE at that file instead of this one. */

:root {
  --grain:    #F7F4ED;
  --ink:      #1F2A1C;
  --ink-soft: #4A5545;
  --field:    #2F6B3A;
  --field-dk: #235029;
  --husk:     #C9A227;
  --line:     rgba(31,42,28,.14);
  --wa:       #0F7A6C;
  --measure:  62rem;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--grain);
  color: var(--ink);
  font: 400 17px/1.65 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

a { color: var(--field-dk); }
a:hover { color: var(--field); }

:focus-visible { outline: 3px solid var(--husk); outline-offset: 2px; }

/* ---------- layout ---------- */
main {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 2rem 1.25rem 4.5rem;
}

nav.crumb { font-size: .85rem; color: var(--ink-soft); margin-bottom: 1.25rem; }
nav.crumb a { color: var(--ink-soft); }

h1 {
  font-size: clamp(1.85rem, 5.5vw, 2.7rem);
  line-height: 1.12; letter-spacing: -.02em;
  margin: 0 0 .85rem; max-width: 22ch;
}
p.lede { font-size: 1.13rem; line-height: 1.6; color: var(--ink-soft); max-width: 62ch; margin: 0 0 1.75rem; }

h2 {
  font-size: 1.42rem; line-height: 1.25; letter-spacing: -.01em;
  margin: 2.9rem 0 .9rem; padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}
h3 { font-size: 1.1rem; margin: 1.9rem 0 .6rem; }

p, ul, ol { max-width: 66ch; }
ul, ol { padding-left: 1.2rem; }
li { margin: .4rem 0; }

/* ---------- tables ---------- */
.scroll { overflow-x: auto; margin: 1.3rem 0; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 30rem; }
caption {
  caption-side: top; text-align: left; font-size: .82rem;
  color: var(--ink-soft); padding-bottom: .5rem; font-style: italic;
}
th, td { padding: .62rem .6rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: rgba(47,107,58,.09); font-weight: 650; font-size: .88rem; }
tbody tr:last-child td { border-bottom: none; }
td:last-child, th:last-child { text-align: right; }

/* ---------- specs ---------- */
dl.specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: .75rem; margin: 1.4rem 0; }
dl.specs > div { background: #fff; border: 1px solid var(--line); border-radius: 5px; padding: .7rem .8rem; }
dl.specs dt { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); }
dl.specs dd { margin: .2rem 0 0; font-size: 1.05rem; font-weight: 650; }

/* ---------- callout ---------- */
aside.callout {
  border-left: 4px solid var(--husk);
  background: rgba(201,162,39,.1);
  padding: 1rem 1.15rem; margin: 1.9rem 0;
  border-radius: 0 5px 5px 0;
}
aside.callout p { margin: 0; max-width: 62ch; }

/* ---------- cta ---------- */
p.cta-wrap { margin: 1.6rem 0; }
a.cta {
  display: inline-block; padding: .85rem 1.6rem;
  background: var(--wa); color: #fff;
  text-decoration: none; font-weight: 650; border-radius: 5px;
}
a.cta:hover { background: #0f7268; color: #fff; }

/* ---------- faq ---------- */
.faq { margin: 1.3rem 0; }
.faq details { border-bottom: 1px solid var(--line); padding: .1rem 0; }
.faq summary { cursor: pointer; padding: .8rem 0; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+ "; color: var(--field); font-weight: 700; }
.faq details[open] summary::before { content: "– "; }
.faq details > div { padding: 0 0 .9rem 1.1rem; color: var(--ink-soft); max-width: 66ch; }

/* ---------- media ---------- */
figure { margin: 1.6rem 0; }
figure img { width: 100%; height: auto; border-radius: 6px; display: block; }
figcaption { font-size: .82rem; color: var(--ink-soft); padding-top: .45rem; }


/* ---------- skip link ---------- */
a.skip {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--husk); color: var(--field-dk);
  padding: .6rem 1rem; font-weight: 700; text-decoration: none;
}
a.skip:focus { left: 0; }

/* ---------- header ---------- */
header.site {
  position: sticky; top: 0; z-index: 900;
  display: flex; align-items: center; gap: 1rem;
  padding: .7rem 1.25rem;
  background: #F3EFE4;
  border-bottom: 3px solid var(--husk);
  box-shadow: 0 1px 6px rgba(31,42,28,.10);
}
header.site .brand {
  color: #17240F; font-weight: 700; font-size: 1.02rem;
  text-decoration: none; letter-spacing: -.01em; white-space: nowrap;
}

.navtoggle { display: none; }
.burger { display: none; cursor: pointer; margin-left: auto; padding: .4rem; }
.burger span {
  display: block; width: 24px; height: 2px; margin: 5px 0;
  background: #17240F; transition: transform .2s ease, opacity .2s ease;
}

nav.main {
  display: flex; align-items: center; gap: .15rem 1.15rem;
  margin-left: auto; flex-wrap: wrap;
}
nav.main > a, .droptop {
  color: #17240F; text-decoration: none; font-weight: 600;
  font-size: .92rem; font-family: inherit;
  padding: .3rem 0; background: none; border: 0; cursor: pointer;
  border-bottom: 2px solid transparent; white-space: nowrap;
}
nav.main > a:hover, .droptop:hover { color: var(--field-dk); border-bottom-color: var(--husk); }
nav.main > a.on { color: var(--field-dk); border-bottom-color: var(--husk); }

/* ---------- dropdown ---------- */
.drop { position: relative; }
.dropmenu {
  position: absolute; top: 100%; left: -.9rem;
  display: none; flex-direction: column; min-width: 13.5rem;
  background: #fff; border: 1px solid rgba(31,42,28,.22); border-radius: 0 0 6px 6px;
  box-shadow: 0 10px 26px rgba(31,42,28,.2); padding: .35rem 0;
}
.drop:hover .dropmenu,
.drop:focus-within .dropmenu { display: flex; }
.dropmenu a {
  color: var(--ink); text-decoration: none; font-size: .92rem;
  padding: .5rem .9rem; border-left: 3px solid transparent;
}
.dropmenu a:hover { background: rgba(47,107,58,.09); border-left-color: var(--field); }
.dropmenu a.on { background: rgba(47,107,58,.13); border-left-color: var(--field); font-weight: 600; }

/* ---------- nav CTA + language ---------- */
a.wa-nav {
  background: var(--wa); color: #fff !important;
  padding: .45rem .95rem !important; border-radius: 4px;
  font-weight: 600; font-size: .87rem; border-bottom: 0 !important;
}
a.wa-nav:hover { background: #0f7268; }
.langsel a {
  color: #17240F; background: var(--husk);
  text-decoration: none; font-weight: 800; font-size: .76rem;
  padding: .28rem .55rem; border-radius: 3px; letter-spacing: .05em;
}
.langsel a:hover { background: #dbb43a; }

/* ---------- mobile ---------- */
@media (max-width: 860px) {
  .burger { display: block; }
  nav.main {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #F3EFE4; padding: .5rem 1.25rem 1.1rem;
    border-bottom: 3px solid var(--husk); max-height: 80vh; overflow-y: auto;
    box-shadow: 0 8px 18px rgba(31,42,28,.14);
  }
  .navtoggle:checked ~ nav.main { display: flex; }
  .navtoggle:checked ~ .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .navtoggle:checked ~ .burger span:nth-child(2) { opacity: 0; }
  .navtoggle:checked ~ .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  nav.main > a, .droptop { padding: .7rem 0; border-bottom: 1px solid rgba(31,42,28,.16); width: 100%; text-align: left; }
  .drop { position: static; }
  .dropmenu {
    position: static; display: flex; background: transparent;
    border: 0; box-shadow: none; padding: 0 0 .4rem .9rem; min-width: 0;
  }
  .droptop { pointer-events: none; color: #5A6650; font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; }
  .droptop span { display: none; }
  .dropmenu a { color: #2A3A22; padding: .55rem 0; border-left: 0; }
  .dropmenu a:hover, .dropmenu a.on { background: none; color: var(--field-dk); }
  a.wa-nav { margin: .8rem 0 .5rem; text-align: center; }
  .langsel { margin-top: .3rem; }
  .langsel a { display: inline-block; }
}

/* ---------- footer ---------- */
footer.site {
  background: var(--field-dk); color: rgba(255,255,255,.8);
  padding: 2.6rem 1.25rem 1.5rem; font-size: .9rem;
}
footer.site .cols {
  max-width: var(--measure); margin: 0 auto;
  display: grid; gap: 1.9rem;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
}
footer.site strong { color: #fff; display: block; margin: 0 0 .4rem; font-size: .95rem; }
footer.site strong ~ strong { margin-top: 1rem; }
footer.site p { margin: 0 0 .9rem; line-height: 1.55; max-width: 34ch; }
footer.site a { color: var(--husk); text-decoration: none; }
footer.site a:hover { text-decoration: underline; }
ul.flinks { list-style: none; margin: 0; padding: 0; }
ul.flinks li { margin: 0 0 .38rem; }
ul.flinks a { color: rgba(255,255,255,.82); font-size: .9rem; }
ul.flinks a:hover { color: #fff; }
.langfoot a { font-weight: 700; }
.novisit { font-size: .8rem; color: rgba(255,255,255,.55); font-style: italic; }
footer.site .fine {
  max-width: var(--measure); margin: 1.9rem auto 0;
  padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.16);
  font-size: .8rem; color: rgba(255,255,255,.55);
}

/* ---------- floating WhatsApp ---------- */
a.wa-float {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 999;
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #25D366; color: #fff; text-decoration: none;
  box-shadow: 0 3px 14px rgba(0,0,0,.28);
  transition: transform .16s ease, box-shadow .16s ease;
}
a.wa-float:hover {
  background: #1eb457; color: #fff;
  transform: scale(1.07); box-shadow: 0 5px 20px rgba(0,0,0,.34);
}
a.wa-float:active { transform: scale(.97); }
@media (max-width: 620px) {
  a.wa-float { right: .85rem; bottom: .85rem; width: 52px; height: 52px; }
}
@media (prefers-reduced-motion: reduce) { a.wa-float { transition: none; } }
