/* Agripropagate: what this theme adds to the Lightswitch family components in site.css.
   The one decorative idea is the seedling tray (assets/img/tray.svg), in place of the sister sites' dot grid. */

/* ---------- Header ---------- */
.site-header__inner { max-width: 1200px; margin-inline: auto; padding-inline: var(--wp--custom--gutter); column-gap: 1.25rem; row-gap: 0; flex-wrap: nowrap !important; }
.site-logo img { width: 180px; }
.site-header .site-nav { flex: 1 1 auto; font-size: .98rem; gap: 1.25rem !important; }
.site-header__actions { display: flex; align-items: center; gap: .85rem; flex: none; }
.site-header__book { padding: .6rem 1.1rem; min-height: 44px; white-space: nowrap; background: var(--orange); color: var(--ink); border-radius: var(--radius-m); font-weight: 700; font-size: 1rem; }
.site-header__book:hover { background: var(--wp--preset--color--orange-hover); color: var(--ink); }
.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius-s); overflow: hidden; font: 500 .85rem/1 var(--wp--preset--font-family--body); }
.lang-switch a { display: grid; place-items: center; min-width: 40px; min-height: 40px; color: var(--ink); text-decoration: none; }
.lang-switch a[aria-current] { background: var(--green); color: #fff; }
.lang-switch a:not([aria-current]):hover { background: var(--mist); }

/* Below desktop, the menu moves to its own scrolling row under the logo. */
@media (max-width: 1080px) {
  :root { --header-h: 116px; }
  .site-header__inner { flex-wrap: wrap !important; padding-block: .5rem 0; min-height: 0; }
  .site-header .site-nav { display: block !important; order: 3; flex: 1 0 100%; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--wp--custom--gutter)); padding-inline: var(--wp--custom--gutter); max-width: 100vw; }
  .site-header .site-nav::-webkit-scrollbar { display: none; }
  .site-header .site-nav .wp-block-navigation__container { flex-wrap: nowrap !important; justify-content: flex-start !important; gap: 1.1rem !important; white-space: nowrap; }
  .site-header .site-nav a { display: inline-flex; align-items: center; min-height: 44px; }
  .site-header__actions { margin-left: auto; }
}
@media (max-width: 600px) {
  .site-logo img { width: 170px; }
  .site-header__book, .site-header   .site-header__book { display: none; } /* The phone action bar has it. */
}

/* ---------- Eyebrow: the family's switch pill, in sentence case ---------- */
.is-style-eyebrow { letter-spacing: 0; text-transform: none; font-size: 1rem; }

/* ---------- Hero: seedling tray and the product cards ---------- */
.hero, .cta-band { position: relative; isolation: isolate; overflow: hidden; }
.hero { background: var(--ink); }
.hero::before, .cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("../img/tray.svg") center / cover no-repeat; opacity: .16; }
.hero::before { -webkit-mask-image: linear-gradient(100deg, transparent 25%, #000 75%); mask-image: linear-gradient(100deg, transparent 25%, #000 75%); opacity: .3; }
.hero h1 { max-width: 13ch; font-size: clamp(2.3rem, 1.6rem + 3.2vw, 3.9rem); line-height: 1.06; letter-spacing: -.025em; }
html[lang="sw"] .hero h1 { max-width: 18ch; font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.3rem); }
.hero .wp-block-buttons { margin-block: 1.4rem; }
.hero__proof { margin-top: 1.2rem !important; }

/* ---------- Problem cards: what Agripropagate does about it ---------- */
.card__fix { margin-top: auto !important; padding-top: .55rem; font-weight: 700; font-size: var(--wp--preset--font-size--small); color: var(--green-deep) !important; }

/* ---------- Features ---------- */
.jobs { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: var(--wp--preset--spacing--xl); }
.jobs a { padding: .6rem 1rem; min-height: 44px; display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 99px; color: var(--ink); text-decoration: none; font-weight: 500; background: #fff; }
.jobs a:hover { border-color: var(--green); color: var(--green-deep); }
.job-head { border-top: 3px solid var(--ink); padding-top: .9rem; margin-block-end: calc(-1 * var(--wp--preset--spacing--l)) !important; }
.job-head h2 { font-size: var(--wp--preset--font-size--large); scroll-margin-top: calc(var(--header-h) + 12px); }
.feature h3 { font-size: var(--wp--preset--font-size--large); line-height: 1.2; }
.feature .lead { font-size: var(--wp--preset--font-size--base); max-width: none; }
.is-style-screen img { border: 1px solid var(--line); border-radius: var(--radius-m); box-shadow: var(--wp--preset--shadow--screen); background: #fff; }
.status-pill { display: inline-block; margin: 0 0 .7rem !important; padding: .25rem .7rem; border-radius: 99px; background: #FFF1E5; color: var(--orange-text); font-weight: 700; font-size: var(--wp--preset--font-size--small); }

/* Family step lists. */
.step__list { list-style: disc; }
.step h3 { font-size: 1.15rem; }

/* ---------- Stats: facts, some longer than a number ---------- */
.stat__value { font-size: var(--wp--preset--font-size--large) !important; }

/* ---------- Not yet ---------- */
.not-yet { margin-top: var(--wp--preset--spacing--l) !important; padding: var(--wp--preset--spacing--m) var(--wp--preset--spacing--l); border-left: 4px solid var(--orange); background: #fff; border-radius: 0 var(--radius-m) var(--radius-m) 0; }
.not-yet > * { margin-block: 0 .7rem !important; }
.not-yet > :last-child { margin-bottom: 0 !important; }
.not-yet__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: .3rem 1.5rem; padding-left: 1.1rem !important; color: var(--ink-soft); }
.not-yet a { font-weight: 700; }

/* ---------- Booking ---------- */
.cta-band { background: var(--ink); }
.book { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: var(--wp--preset--spacing--l); align-items: start; }
.book__other { display: grid; gap: var(--wp--preset--spacing--s); }
.lead-form { display: grid; gap: 1rem; padding: var(--wp--preset--spacing--m) var(--wp--preset--spacing--l); border-radius: var(--radius-l); background: #fff; color: var(--ink); }
.lead-form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 1rem; }
.lead-form label { display: grid; gap: .3rem; font-weight: 500; font-size: var(--wp--preset--font-size--small); color: var(--ink); }
.lead-form input:not([type=checkbox]), .lead-form select, .lead-form textarea { width: 100%; min-height: 48px; padding: .6rem .75rem; border: 1px solid #93A69A; border-radius: var(--radius-s); background: #fff; color: var(--ink); font: 400 1rem/1.4 var(--wp--preset--font-family--body); }
.lead-form :focus-visible { outline-color: var(--green) !important; }
.lead-form__consent { display: flex !important; gap: .6rem; align-items: flex-start; font-weight: 400 !important; }
.lead-form__consent input { width: 22px; height: 22px; flex: none; accent-color: var(--green); }
.lead-form__consent span { color: var(--ink-soft); }
.cta-band .lead-form a:not(.wp-element-button) { color: var(--green-deep); }
.cta-band .lead-form p { color: var(--ink); }
.lead-form button { justify-self: start; border: 0; cursor: pointer; background: var(--orange); color: var(--ink); border-radius: var(--radius-m); padding: .8rem 1.5rem; font: 700 1rem/1.2 var(--wp--preset--font-family--body); }
.lead-form button:hover { background: var(--wp--preset--color--orange-hover); }
.lead-form__trap { position: absolute !important; left: -9999px; height: 1px; overflow: hidden; }
.form-note { margin: 0; padding: .75rem 1rem; border-radius: var(--radius-s); font-weight: 500; }
.cta-band .form-note--ok { background: #E7F4EC; color: var(--green-deep); }
.cta-band .form-note--err { background: #FBEAE8; color: var(--wp--preset--color--danger); }
@media (max-width: 860px) { .book { grid-template-columns: minmax(0, 1fr); } .lead-form { padding: var(--wp--preset--spacing--m); } }

.site-footer__brand img { height: auto; }

/* ---------- Plain pages ---------- */
.prose { --prose-gap: 1.1rem; }
.prose h1 { margin-bottom: var(--wp--preset--spacing--m); }
.prose__meta { color: var(--ink-soft); font-size: var(--wp--preset--font-size--small); }

/* ---------- Small screens ---------- */
@media (max-width: 781px) {
  .hero h1 { max-width: none; }
  .job-head { margin-block-end: 0 !important; }
  .feature-stack { gap: var(--wp--preset--spacing--xl) !important; }
}

/* ---------- Product cards: CSS illustrations of screens, drawn in the theme (no screenshots, no sample data claims) ---------- */
.ui { width: 100%; max-width: 460px; margin-inline: auto; padding: 1.1rem 1.15rem 1.25rem; border: 1px solid var(--line); border-radius: var(--radius-l); background: #fff; color: var(--ink); box-shadow: var(--wp--preset--shadow--screen); font-size: .92rem; line-height: 1.35; text-align: left; }
.ui > * + * { margin-top: .8rem; }
.ui__head { display: flex; justify-content: space-between; align-items: baseline; gap: .75rem; padding-bottom: .65rem; border-bottom: 1px solid var(--line); }
.ui__title { font: 700 1rem/1.2 var(--wp--preset--font-family--display); }
.ui__meta { color: var(--ink-soft); font-size: .82rem; }
.ui__row { display: flex; justify-content: space-between; align-items: center; gap: .75rem; }
.ui__row b { font-variant-numeric: tabular-nums; }
.ui__label { color: var(--ink-soft); font-size: .8rem; margin: 0 0 .25rem; }
.ui__bar { display: flex; height: 12px; border-radius: 99px; overflow: hidden; background: var(--mist); }
.ui__bar i { display: block; height: 100%; }
.ui__bar .is-sold { background: var(--ink); }
.ui__bar .is-held { background: var(--orange); }
.ui__bar .is-free { background: var(--green); }
.ui__legend { display: flex; flex-wrap: wrap; gap: .25rem .9rem; font-size: .78rem; color: var(--ink-soft); }
.ui__legend span::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: .35rem; background: var(--ink); }
.ui__legend .is-held::before { background: var(--orange); }
.ui__legend .is-free::before { background: var(--green); }
.ui__pill { display: inline-block; padding: .15rem .6rem; border-radius: 99px; font-weight: 700; font-size: .76rem; background: var(--mist); color: var(--green-deep); white-space: nowrap; }
.ui__pill--warn { background: #FFF1E5; color: var(--orange-text); }
.ui__pill--ok { background: #E7F4EC; color: var(--green-deep); }
.ui__pill--bad { background: #FBEAE8; color: var(--wp--preset--color--danger); }
.ui__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.ui__list li { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: .5rem .65rem; border-radius: var(--radius-s); background: var(--mist); }
.ui__btn { display: block; text-align: center; padding: .65rem; border-radius: var(--radius-m); background: var(--green); color: #fff; font-weight: 700; }
.ui__btn--orange { background: var(--orange); color: var(--ink); }
.ui__code { display: inline-block; padding: .25rem .6rem; border-radius: var(--radius-s); background: var(--ink); color: #fff; font: 600 1rem/1.2 var(--wp--preset--font-family--display); letter-spacing: .06em; }
.ui__qr { width: 84px; height: 84px; flex: none; border-radius: 6px; background:
  conic-gradient(from 90deg at 50% 50%, var(--ink) 25%, #fff 0 50%, var(--ink) 0 75%, #fff 0) 0 0 / 14px 14px; border: 6px solid #fff; outline: 1px solid var(--line); }
.ui__phone { max-width: 290px; border: 6px solid #06190F; border-radius: 26px; padding: 1rem .9rem 1.1rem; }
.ui__ussd { padding: .8rem; border-radius: var(--radius-s); background: var(--ink); color: #D9F5E3; font: 500 .9rem/1.5 ui-monospace, "Cascadia Mono", Consolas, monospace; white-space: pre-line; }
.ui__bubble { padding: .6rem .8rem; border-radius: 4px 14px 14px 14px; background: #E7F4EC; max-width: 92%; }
.ui__bubble--out { margin-left: auto; border-radius: 14px 4px 14px 14px; background: var(--mist); }
.ui__tray { display: grid; grid-template-columns: repeat(10, 1fr); gap: 3px; }
.ui__tray i { aspect-ratio: 1; border-radius: 50%; background: var(--green); opacity: .85; }
.ui__tray i.is-empty { background: var(--line); opacity: 1; }
.ui__steps { display: flex; gap: .3rem; }
.ui__steps i { flex: 1; height: 6px; border-radius: 99px; background: var(--line); }
.ui__steps i.is-done { background: var(--green); }
.hero__visual .ui + .ui { margin-top: -1.5rem; margin-left: 12%; max-width: 380px; }
.hero__visual { display: grid; }
.ui-pair { display: grid; gap: .9rem; }
@media (max-width: 781px) { .hero__visual .ui + .ui { margin-top: .8rem; margin-left: auto; } .feature .ui { max-width: 100%; } }
