/* ==========================================================================
   BioGreen — home page layout.
   Builds on css/design-system.css: this file only adds page structure,
   the header/footer chrome, and the responsive rules the token package
   does not ship. Colors, radii, shadows and type all come from tokens.
   ========================================================================== */

/* ---------- shared helpers ---------- */

/* The UA rule for [hidden] is display:none at the lowest specificity, so any
   class here that sets `display` would silently un-hide the element. JS toggles
   visibility with `el.hidden`, so this has to win. */
[hidden] { display: none !important; }

/* Keyboard focus, everywhere: a solid ring the eye cannot miss. Elements
   that draw their own (inputs, cards, choice tiles) keep theirs; on the dark
   sections the ring is light. */
:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.site-footer :focus-visible, .why :focus-visible, .importer-band :focus-visible,
.site-footer .bg-btn:focus-visible, .why .bg-btn:focus-visible, .importer-band .bg-btn:focus-visible {
  outline-color: var(--color-paper);
}

.icon { flex: none; vertical-align: middle; }

/* The sprite is markup only. `hidden` alone does not hide an <svg> — browsers
   do not apply the UA [hidden] rule to SVG elements, so it would occupy the
   default 300x150 replaced-element box at the top of the page. */
#bg-icon-sprite { display: none; }

.section { padding-block: 88px; }
.section--tight { padding-block: 64px; }

.shell { max-width: var(--container-max); margin-inline: auto; padding-inline: 28px; }

.stack-sm { display: flex; flex-direction: column; gap: var(--space-3); }

.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

.section__head--center { text-align: center; max-width: 720px; margin-inline: auto; }
.section__sub {
  font-size: var(--fs-subtitle); color: var(--text-muted);
  line-height: var(--lh-snug); margin: 0; max-width: 640px;
}
.section__head--center .section__sub { margin-inline: auto; }

/* Skip link. Hidden by clipping, not by an off-screen offset: in RTL a
   negative inset-inline-start pushes the element thousands of px to the RIGHT,
   which widens the page's paint area. */
.skip-link {
  position: absolute; inset-inline-start: 12px; top: 12px; z-index: 200;
  background: #fff; color: var(--color-green-deep); padding: 10px 18px;
  border-radius: var(--radius-pill); box-shadow: var(--shadow-lift);
  clip-path: inset(50%); pointer-events: none;
}
.skip-link:focus { clip-path: none; pointer-events: auto; }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 248, 243, 0.9);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-card);
}
.site-header__bar {
  display: flex; align-items: center; gap: 24px; height: 76px;
}
.site-header__logo { display: flex; align-items: center; }
.site-header__logo img { height: 38px; width: auto; display: block; }

.nav { display: flex; gap: 2px; margin-inline-start: 8px; }
.nav__link {
  font-family: var(--font-display); font-weight: var(--fw-medium); font-size: 15px;
  color: var(--text-muted); padding: 8px 11px; border-radius: 8px;
  white-space: nowrap;
  transition: color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.nav__link:hover { color: var(--color-green-deep); background: var(--color-green-tint); }
.nav__link[aria-current="page"] { color: var(--color-green-deep); font-weight: var(--fw-semibold); }

.site-header__actions { margin-inline-start: auto; display: flex; gap: 10px; align-items: center; }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-inline-start: auto;
  background: #fff; border: 1px solid var(--border-card); border-radius: var(--radius-sm);
  color: var(--color-green-deep); cursor: pointer;
}

.mobile-nav {
  border-top: 1px solid var(--border-card); background: var(--surface-page);
  padding: 16px 28px 24px;
}
.mobile-nav__link {
  display: block; padding: 12px 0; font-family: var(--font-display);
  font-weight: var(--fw-medium); font-size: 17px; color: var(--color-green-deep);
  border-bottom: 1px solid var(--border-card);
}
.mobile-nav .btn-row { margin-top: 18px; }

/* ==========================================================================
   Block 1 — Hero
   ========================================================================== */

.hero {
  position: relative; overflow: hidden;
  padding-block: 72px 64px;
  background-color: var(--surface-page);
  background-image:
    radial-gradient(120% 90% at 88% -10%, rgba(127, 194, 65, 0.10), transparent 60%),
    radial-gradient(80% 70% at 8% 8%, rgba(43, 120, 163, 0.06), transparent 55%);
}
.hero__bg {
  position: absolute; inset-inline-start: 0; top: 0;
  width: 46%; height: 100%; object-fit: cover; opacity: 0.5;
  mask-image: linear-gradient(to right, transparent, #000 60%);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 60%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
}
.hero h1 { margin-bottom: 18px; }
.hero__lead {
  font-size: var(--fs-lead); color: var(--color-green-deep);
  font-weight: var(--fw-medium); line-height: var(--lh-snug);
  max-width: 560px; margin-bottom: 14px;
}
.hero__sub {
  font-size: var(--fs-body); color: var(--text-muted);
  line-height: var(--lh-snug); max-width: 560px; margin-bottom: 28px;
}
.hero__trust { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }

.hero__media {
  /* The photo has no frame: it runs out to the edge of the screen and its
     edges fade into the page (the client's request, 10.11.2026). The fade
     is two masks, across and down, kept where both are opaque, so the
     middle — the products — stays fully sharp.
     Each fade eases in and out rather than running straight: a linear ramp
     leaves a visible line where it starts, which on a lighter page reads as
     an edge or a shadow (client, 11.11.2026). The right and bottom fades
     are the longer ones: there the photo meets the page, not the screen's
     edge, and they stop short of the products at the jar and the capsules. */
  --hero-bleed: max(28px, calc((100vw - var(--container-max)) / 2 + 28px));
  --hero-fade-x: linear-gradient(to right,
    transparent 0%, rgba(0,0,0,.35) 2.5%, rgba(0,0,0,.7) 5%, rgba(0,0,0,.92) 7.5%, #000 10%,
    #000 80%, rgba(0,0,0,.92) 85%, rgba(0,0,0,.7) 90%, rgba(0,0,0,.35) 95%, transparent 100%);
  --hero-fade-y: linear-gradient(to bottom,
    transparent 0%, rgba(0,0,0,.35) 3%, rgba(0,0,0,.7) 6%, rgba(0,0,0,.92) 9%, #000 12%,
    #000 76%, rgba(0,0,0,.92) 82%, rgba(0,0,0,.7) 88%, rgba(0,0,0,.35) 94%, transparent 100%);
  margin-inline-end: calc(-1 * var(--hero-bleed));
  -webkit-mask-image: var(--hero-fade-x), var(--hero-fade-y);
  -webkit-mask-composite: source-in;
          mask-image: var(--hero-fade-x), var(--hero-fade-y);
          mask-composite: intersect;
}
/* Shown whole, in the shape it is meant for (16:9): a landscape still-life
   with the products across its width, which a narrower frame would cut. */
.hero__media img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; }

/* ==========================================================================
   Block 2 — Three doorways
   ========================================================================== */

.doorways {
  background: var(--surface-card);
  border-block: 1px solid var(--border-card);
  padding-block: 28px;
}
.doorways__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* ==========================================================================
   Block 3 — Services
   ========================================================================== */

.services__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px;
}

/* ==========================================================================
   Block 4 — Clients
   ========================================================================== */

.clients { background: var(--surface-card); border-block: 1px solid var(--border-card); }
.clients__grid {
  display: grid; grid-template-columns: repeat(8, 1fr); gap: 16px; margin-top: 40px;
}
.client {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 88px; padding: 16px 14px;
  border: 1px solid var(--border-card); border-radius: var(--radius-md);
  background: var(--surface-page);
  transition: border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.client:hover { border-color: var(--color-sage); box-shadow: var(--shadow-air); }

/* Client names. Logos are deliberately not used until each company approves
   the use of its mark, so the row is set in the brand display face. */
.client__name {
  font-family: var(--font-display); font-weight: var(--fw-semibold); font-size: 17px;
  color: #6A746F; letter-spacing: -0.01em;
  transition: opacity var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out);
}
.client:hover .client__name { opacity: 1; color: var(--color-green-deep); }

/* ==========================================================================
   Block 5 — Import route
   ========================================================================== */

.route-section { background: var(--surface-soft); }
.route-wrap { margin-top: 48px; }
.bg-route__label { font-size: 13px; }

/* ==========================================================================
   Block 6 — Products
   ========================================================================== */

.products__head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 24px; margin-bottom: 40px;
}
.products__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.product { padding: 0; overflow: hidden; display: flex; flex-direction: column; position: relative; }

/* Stretched link: the title is the real link, and this pseudo-element makes
   the whole card its hit area. The CTA row sits above it so its own buttons
   still work. Only products that have a page get this. */
.product__link { color: inherit; text-decoration: none; }
.product__link::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.product:has(.product__link) { cursor: pointer; }
.product__link:focus-visible { outline: none; }
.product:has(.product__link:focus-visible) { box-shadow: var(--shadow-focus); }
.product:has(.product__link:hover) h3 { color: var(--color-green); }
/* Every card's photo sits in the same box, below a strip kept for the tags.
   The tags used to be laid over the photo, and since each photo has its own
   amount of white space around the product, one would start under the tags
   and the next well below them. Now the strip is reserved whether or not a
   product has tags, the photo is contained in what is left, and it is
   anchored to the top of that area — so in a row of cards every product
   starts at the same height and none is cropped. */
.product__media {
  position: relative; aspect-ratio: 4 / 3; background: #fff; overflow: hidden;
  padding: 54px 16px 14px;
}
.product__media img {
  display: block; width: 100%; height: 100%;
  object-fit: contain; object-position: 50% 0;
}
.product__labels {
  position: absolute; inset-inline: 12px; top: 12px;
  display: flex; gap: 6px; flex-wrap: nowrap; overflow: hidden;
}
.product__labels .bg-label { white-space: nowrap; }
.product__body {
  padding: var(--space-5); display: flex; flex-direction: column;
  gap: var(--space-3); flex: 1;
}
.product__body h3 { font-size: var(--fs-h4); margin: 0; }
.product__benefits { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.product__benefits li {
  display: flex; gap: 8px; align-items: center;
  font-size: var(--fs-card); color: var(--text-muted);
}
.product__benefits .icon { color: var(--color-green); }
/* One or two buttons, depending on whether the product has its own page. */
.product__cta {
  margin-top: auto; padding-top: var(--space-3);
  display: grid; gap: 8px;
  position: relative; z-index: 1;   /* above the stretched link */
}

/* ==========================================================================
   Block 7 — Working approach
   ========================================================================== */

.approach__grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center;
}
.approach__title h2 { margin-bottom: 10px; }
.approach__title p { font-size: var(--fs-subtitle); color: var(--text-muted); margin: 0; }

.checklist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.checklist__item {
  display: flex; align-items: center; gap: 14px;
  background: var(--surface-card); border: 1px solid var(--border-card);
  border-radius: var(--radius-md); padding: 16px 18px;
  font-family: var(--font-display); font-weight: var(--fw-medium); font-size: 17px;
  color: var(--color-green-deep);
}
.checklist__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--radius-sm); flex: none;
  background: var(--color-sky); color: #1B5E80;
}

/* ==========================================================================
   Block 8 — Why BioGreen (deep green)
   ========================================================================== */

.why {
  background: var(--color-green-deep); color: var(--text-on-dark);
  position: relative; overflow: hidden;
}
.why__bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0.10; mix-blend-mode: screen; pointer-events: none;
}
.why .shell { position: relative; }
.why h2 { color: var(--text-on-dark); }
.why__head { text-align: center; max-width: 760px; margin-inline: auto; margin-bottom: 48px; }
.why__eyebrow { color: var(--color-light-green-text); }
.why__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 40px; }
.why__item {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.why__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: var(--radius-sm); flex: none;
  background: rgba(255, 255, 255, 0.10); color: var(--color-light-green-text);
}
.why__item span:last-child {
  font-family: var(--font-display); font-weight: var(--fw-medium); font-size: 18px;
}

/* ==========================================================================
   Block 9 — FAQ
   ========================================================================== */

.faq__list { display: flex; flex-direction: column; gap: 12px; margin-top: 40px; }
.faq__foot { text-align: center; margin-top: 32px; }
.bg-faq__a p { margin: 0; }

/* ==========================================================================
   Block 10 — Final CTA
   ========================================================================== */

.final-cta { background: var(--surface-card); border-top: 1px solid var(--border-card); padding-block: 64px; }
.final-cta__row {
  display: flex; justify-content: space-between; align-items: center;
  gap: 32px; flex-wrap: wrap;
}
.final-cta h2 { margin-bottom: 8px; }
.final-cta p { font-size: 19px; color: var(--text-muted); margin: 0; }

/* ==========================================================================
   Inner pages — shared section patterns
   (import & regulation; reused by the pages that follow)
   ========================================================================== */

/* Page hero: single column, text at the start edge, botanical plate behind. */
.page-hero {
  position: relative; overflow: hidden;
  padding-block: 64px 56px;
  background-color: var(--surface-page);
  background-image:
    radial-gradient(120% 90% at 88% -10%, rgba(127, 194, 65, 0.10), transparent 60%),
    radial-gradient(80% 70% at 8% 8%, rgba(43, 120, 163, 0.06), transparent 55%);
}
.page-hero__bg {
  position: absolute; inset-inline-end: 0; top: 0;
  width: 42%; height: 100%; object-fit: cover; opacity: 0.42;
  mask-image: linear-gradient(to left, transparent, #000 70%);
  -webkit-mask-image: linear-gradient(to left, transparent, #000 70%);
  pointer-events: none;
}
.page-hero__inner { position: relative; }
.page-hero h1 { font-size: 48px; max-width: 760px; margin-bottom: 18px; }
.page-hero__sub {
  font-size: var(--fs-subtitle); color: var(--text-muted);
  max-width: 640px; line-height: 1.55; margin-bottom: 26px;
}

/* Three-up card row, same breakpoints as the services grid but no top margin. */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* Photo slot — a labelled placeholder where the client still owes us an image.
   Deliberately not a stock photo: it names what belongs here. */
.photo-slot {
  position: relative; overflow: hidden;
  aspect-ratio: 5 / 4; border-radius: var(--radius-card);
  background: var(--surface-reg); border: 1px solid var(--border-reg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; padding: 24px; text-align: center; color: var(--color-blue);
}
.photo-slot__grid { position: absolute; inset: 0; opacity: 0.7; }
.photo-slot__caption { position: relative; font-size: 13px; color: var(--text-muted); }

.included__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.included__grid .checklist { margin-top: 28px; }

.audiences { background: var(--surface-soft); }

/* Catalogue -------------------------------------------------------------- */

.page-hero--tight { padding-block: 56px 32px; }

.catalog { padding-block: 8px 80px; }

/* The filter bar parks under the sticky header while the grid scrolls. */
.catalog__filters {
  position: sticky; top: 76px; z-index: 10;
  background: var(--surface-page); padding-block: 16px;
}
.catalog__filters .bg-tabs { overflow-x: auto; scrollbar-width: none; }
.catalog__filters .bg-tabs::-webkit-scrollbar { display: none; }
.catalog__filters .bg-tab { white-space: nowrap; }

.catalog__grid { margin-top: 28px; }

.catalog__empty {
  margin: 48px 0 0; text-align: center;
  font-size: var(--fs-subtitle); color: var(--text-muted);
}

.catalog__note {
  margin: 48px auto 0; max-width: 620px; text-align: center;
  font-size: var(--fs-small); color: var(--text-muted);
}

/* Centred pull quote closing the page — no rule, no indent. */
.quote-block__inner { max-width: 760px; margin-inline: auto; text-align: center; }
.quote-block__quote {
  border-inline-start: none; padding-inline-start: 0;
  font-size: 30px; text-align: center;
}
.quote-block__cta { margin-top: 32px; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer { background: var(--color-green-deep); color: var(--text-on-dark); padding-block: 56px; }
.site-footer__top {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1.1fr; gap: 36px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.site-footer__brand { display: flex; flex-direction: column; gap: 16px; }
.site-footer__brand img { height: 40px; width: auto; align-self: flex-start; filter: brightness(0) invert(1); opacity: 0.95; }
.site-footer__brand p { font-size: 15px; color: rgba(247, 248, 243, 0.72); line-height: 1.6; max-width: 300px; margin: 0; }
.site-footer__contact { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.site-footer__contact a {
  display: inline-flex; gap: 8px; align-items: center;
  color: rgba(247, 248, 243, 0.85);
}
/* Phone numbers and e-mail are LTR runs inside an RTL paragraph. */
.site-footer__contact a > span,
.site-footer__contact a { unicode-bidi: isolate; }
.site-footer__contact a:hover { color: #fff; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col__title {
  font-family: var(--font-display); font-weight: var(--fw-semibold); font-size: 15px;
  color: var(--color-light-green-text); margin-bottom: 4px;
}
.footer-col a { font-size: 15px; color: rgba(247, 248, 243, 0.78); }
.footer-col a:hover { color: #fff; }
/* Medical disclaimer, centred above the legal row. */
.site-footer__disclaimer {
  margin: 28px auto 0; max-width: 760px; text-align: center;
  font-size: 13px; line-height: 1.7; color: #9CB8AD;
}

.site-footer__bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  margin-top: 20px; padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px; color: #9CB8AD; flex-wrap: wrap;
}
.site-footer__legal { display: inline-flex; align-items: center; gap: 10px; }
.site-footer__legal a { color: rgba(247, 248, 243, 0.78); font-size: 13px; }
.site-footer__legal a:hover { color: #fff; }
.site-footer__sep { color: rgba(247, 248, 243, 0.3); }
.site-footer__copy { unicode-bidi: isolate; }

/* ==========================================================================
   Quote modal
   ========================================================================== */

.modal[hidden] { display: none !important; }
.modal {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(6, 79, 58, 0.4);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.modal__panel {
  background: var(--surface-card); border-radius: var(--radius-form);
  box-shadow: var(--shadow-lift); width: min(620px, 100%);
  max-height: 90vh; overflow: auto;
}
.modal__head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 16px; padding: 26px 28px 0;
}
.modal__head h2 { font-size: var(--fs-h3); margin: 0 0 6px; }
.modal__head p { font-size: var(--fs-small); color: var(--text-muted); margin: 0; }
/* Pinned to the far end, so it stays in its corner after a send, when the
   intro beside it is hidden and nothing is left to space it against. */
.modal__close {
  background: none; border: none; cursor: pointer; color: var(--text-muted);
  padding: 4px; border-radius: var(--radius-sm); flex: none;
  margin-inline-start: auto;
}
.modal__close:hover { color: var(--color-green-deep); background: var(--color-green-tint); }

.modal__form { padding: 22px 28px 28px; display: grid; gap: 16px; }

.form-step { display: grid; gap: 12px; }
.form-step__title {
  font-family: var(--font-display); font-weight: var(--fw-semibold); font-size: 15px;
  color: var(--color-green-deep);
  display: flex; align-items: center; gap: 8px;
}
.form-step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 999px; flex: none;
  background: var(--color-green-tint); color: var(--color-green-deep); font-size: 13px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid--full { grid-template-columns: 1fr; }

.choice-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.choice {
  display: flex; align-items: center; gap: 9px;
  border: 1.5px solid var(--border-card); border-radius: var(--radius-form);
  padding: 13px 15px; cursor: pointer; background: #fff;
  font-family: var(--font-body); font-size: 15px; color: var(--text-body);
  transition: border-color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.choice:hover { border-color: var(--color-sage); }
.choice input { accent-color: var(--color-green); margin: 0; flex: none; }
.choice:has(input:checked) { border-color: var(--color-green); background: var(--color-green-tint); }
.choice:has(input:focus-visible) { box-shadow: var(--shadow-focus); }

.modal__note { font-size: 13px; color: var(--text-placeholder); text-align: center; margin: 0; }

.modal__done {
  padding: 28px; display: flex; flex-direction: column;
  align-items: center; gap: 16px; text-align: center;
}
.modal__done-mark {
  width: 64px; height: 64px; border-radius: 999px; background: var(--color-green-tint);
  display: flex; align-items: center; justify-content: center; color: var(--color-green);
}
.modal__done p { font-size: 18px; color: var(--text-muted); margin: 0; }

/* ==========================================================================
   Floating WhatsApp + mobile action bar
   ========================================================================== */

.fab { position: fixed; inset-inline-start: 22px; bottom: 22px; z-index: 60; box-shadow: var(--shadow-lift); }

.mobile-bar {
  display: none; position: fixed; inset-inline: 0; bottom: 0; z-index: 60;
  background: rgba(247, 248, 243, 0.96);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-card);
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  grid-template-columns: repeat(3, 1fr); gap: 8px;
}
.mobile-bar .bg-btn { padding: 12px 8px; font-size: 15px; }

/* ==========================================================================
   Responsive
   ========================================================================== */

/* Eight menu items need about 1250px at full size; below that the header
   goes compact (smaller links, icon-only buttons) until the menu collapses
   at 900px. */
@media (max-width: 1250px) {
  .nav__link { padding: 8px 8px; font-size: 14px; }
  .site-header__actions .bg-btn span { display: none; }
  .site-header__actions .bg-btn { padding: 9px 12px; }
}

/* Compact, the eight items still need about 980px: under 1000 the menu
   collapses behind the toggle, as it does on phones. */
@media (max-width: 1000px) {
  .nav, .site-header__actions { display: none; }
  .nav-toggle { display: inline-flex; }
}

@media (max-width: 1080px) {
  .clients__grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 900px) {
  .section { padding-block: 64px; }
  .shell { padding-inline: 20px; }

  .nav, .site-header__actions { display: none; }
  .nav-toggle { display: inline-flex; }

  .hero { padding-block: 48px 40px; }
  .hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .hero__media { order: -1; --hero-bleed: 20px; margin-inline: -20px; }
  .hero__bg { width: 100%; opacity: 0.28; mask-image: none; -webkit-mask-image: none; }

  .doorways__grid { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .products__grid { grid-template-columns: repeat(2, 1fr); }
  .products__head { flex-direction: column; align-items: flex-start; gap: 12px; }

  .approach__grid { grid-template-columns: 1fr; gap: 32px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .page-hero { padding-block: 44px 40px; }
  .page-hero h1 { font-size: var(--fs-h1); }
  .page-hero__bg { width: 100%; opacity: 0.22; mask-image: none; -webkit-mask-image: none; }
  .included__grid { grid-template-columns: 1fr; gap: 32px; }
  /* The header collapses to 76px too, so the offset stays correct. */
  .catalog__filters { top: 76px; }
  .catalog { padding-block: 4px 56px; }
  .included__grid .photo-slot { order: 2; }
  .quote-block__quote { font-size: var(--fs-quote); }
  .why__grid { grid-template-columns: 1fr; gap: 0; }

  .site-footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }

  .form-grid, .choice-row { grid-template-columns: 1fr; }

  .fab { display: none; }
  .mobile-bar { display: grid; }
  body { padding-bottom: 76px; }

  /* Import route on phones: the node circle keeps its design-system look —
     green with a white check, and a white circle for the current step — with
     the label beside it and a chevron dropping to the next step. */
  .bg-route {
    display: flex; flex-direction: column; align-items: stretch;
    gap: 38px;
    /* Shrink to the widest row and centre the whole chain, so it does not sit
       hard against the right edge with the left half empty. The steps still
       stretch to a common width, keeping the nodes on one axis. */
    width: fit-content; max-width: 100%; margin-inline: auto;
  }
  .bg-route__step {
    flex: none;
    flex-direction: row; align-items: center; justify-content: flex-start;
    gap: 14px; padding: 0; text-align: start;
  }
  .bg-route__label {
    max-width: none;
    font-family: var(--font-display); font-weight: var(--fw-medium);
    font-size: 17px; line-height: 1.35; color: var(--color-green-deep);
  }

  /* Chevron under the node, continuing the chain: a square with two borders
     turned 45°. Its background must be cleared through the --done / --active
     selectors too, which the design system uses to paint the line and which
     outrank a plain .bg-route__line override — otherwise it fills as a diamond.
     inset-inline-start:22px puts the box edge on the node's centre line;
     translateX(50%) then centres the box itself on that line. */
  .bg-route__line,
  .bg-route__step--done .bg-route__line,
  .bg-route__step--active .bg-route__line {
    inset-inline-start: 22px; inset-inline-end: auto;
    top: auto; bottom: -24px; left: auto;
    width: 11px; height: 11px;
    background: none;
    border: 0;
    border-right: 2px solid var(--color-green);
    border-bottom: 2px solid var(--color-green);
    border-radius: 0 0 2px 0;
    transform: translateX(50%) rotate(45deg);
  }
  .bg-route__step:last-child .bg-route__line { display: none; }
}

@media (max-width: 620px) {
  .services__grid, .products__grid, .grid-3 { grid-template-columns: 1fr; }
  .clients__grid { grid-template-columns: repeat(2, 1fr); }
  .checklist { grid-template-columns: 1fr; }
  .site-footer__top { grid-template-columns: 1fr; }
  .hero .btn-row .bg-btn { flex: 1 1 100%; }
}

/* Visually hidden but available to screen readers — used where a field label
   would repeat the question already shown as the step title. */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* ==========================================================================
   Product page (pp-)
   Generated by tools/build-product-pages.py — a "product dossier": hero with
   the six product icons, then one tabbed panel per section.
   ========================================================================== */

.pp-hero {
  background: var(--surface-page);
  border-bottom: 1px solid var(--border-card);
  padding-block: 48px 40px;
}
.pp-hero__grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: 48px; align-items: start;
}
.pp-hero h1 { margin-bottom: 4px; }
.pp-hero__subtitle {
  font-family: var(--font-display); font-size: var(--fs-h4);
  color: var(--text-muted); font-weight: var(--fw-medium); margin-bottom: 18px;
}
/* Heebo like every other heading on the page. This was the one place a third
   family appeared, and against the h1 right above it it read as a mistake
   rather than as emphasis. The serif is kept for pull quotes, where it has
   something to contrast with. */
.pp-hero__tagline {
  font-family: var(--font-display); font-weight: var(--fw-medium);
  font-size: 24px; line-height: var(--lh-snug);
  color: var(--color-green-deep); margin-bottom: 14px;
}
.pp-hero__lede {
  font-size: var(--fs-body); color: var(--text-muted);
  line-height: var(--lh-snug); max-width: 560px; margin-bottom: 28px;
}

/* Product shot: the brief wants it on clean light ground, nothing around it. */
.pp-hero__media {
  background: #fff; border: 1px solid var(--border-card);
  border-radius: var(--radius-container); padding: 28px;
  box-shadow: var(--shadow-card);
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 1 / 1;
}
.pp-hero__media img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* The six icons. Each SVG already contains its own caption, so there is no
   text here — the label lives in alt=. Heights differ between files, so the
   row is normalised by a fixed box rather than by the intrinsic size. */
/* Sized by HEIGHT, not by an equal-width grid: the files run from 183x243 to
   307x257, so equal columns would shrink the wide ones optically. Equal height
   + natural width keeps all six reading at the same weight, and they wrap on
   their own when the column cannot hold a single row. */
.pp-icons {
  list-style: none; margin: 0 0 28px; padding: 0;
  display: flex; flex-wrap: wrap; gap: 10px;
}
.pp-icons li {
  flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  padding: 10px;
  border: 1px solid var(--border-card); border-radius: var(--radius-md);
  background: #fff;
}
.pp-icons img { height: 80px; width: auto; display: block; }

/* ---- tab bar ---- */

.pp-tabbar {
  position: sticky; top: 76px; z-index: 10;
  background: var(--surface-page);
  border-bottom: 1px solid var(--border-card);
}
.pp-tabbar .bg-tabs { border-bottom: none; overflow-x: auto; scrollbar-width: none; }
.pp-tabbar .bg-tabs::-webkit-scrollbar { display: none; }
.pp-tabbar .bg-tab { white-space: nowrap; }

.pp-panels { padding-block: 48px 72px; }
.pp-panel { max-width: 820px; }
.pp-panel__title { font-size: var(--fs-h3); margin-bottom: 20px; }
.pp-panel p { color: var(--text-muted); line-height: var(--lh-body); }
.pp-panel h4 {
  font-size: var(--fs-h4); color: var(--color-green-deep); margin: 24px 0 8px;
}

.pp-list { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 10px; }
.pp-list li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: var(--fs-card); color: var(--text-body);
}
.pp-list .icon { color: var(--color-green); margin-top: 4px; }

/* Absorption story: old powder -> liposomal -> micro-micelle. */
.pp-steps__title { margin-top: 32px; }
.pp-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.pp-step {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--surface-card); border: 1px solid var(--border-card);
  border-radius: var(--radius-md); padding: 18px 20px;
}
.pp-step__num {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 34px; height: 34px; border-radius: 999px;
  background: var(--color-green-tint); color: var(--color-green-deep);
  font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 15px;
}
.pp-step h4 { margin: 0 0 4px; font-size: 18px; }
.pp-step p { margin: 0; font-size: var(--fs-card); }

.pp-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pp-card {
  background: var(--surface-card); border: 1px solid var(--border-card);
  border-radius: var(--radius-md); padding: 20px;
}
.pp-card h4 { margin: 0 0 6px; font-size: 18px; }
.pp-card p { margin: 0; font-size: var(--fs-card); }

.pp-note {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--surface-reg); border: 1px solid var(--border-reg);
  border-radius: var(--radius-md); padding: 18px 20px; margin-top: 16px;
}
.pp-note__icon {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  background: #fff; color: var(--color-blue);
}
.pp-note h4 { margin: 0 0 4px; font-size: 17px; }
.pp-note p { margin: 0; font-size: var(--fs-card); }
.pp-note--warn { background: var(--color-amber-tint); border-color: #EBC79B; }
.pp-note--warn h4 { color: var(--color-terracotta); }

/* Medical cautions. Calm, per the brand — never a red alert. */
.pp-notice {
  background: var(--surface-product); border: 1px solid #E0D2B3;
  border-radius: var(--radius-md); padding: 22px 24px; margin-top: 24px;
}
.pp-notice h4 { margin: 0 0 8px; font-size: 17px; }
.pp-notice p { margin: 0 0 10px; font-size: var(--fs-card); }
.pp-notice ul { margin: 0; padding-inline-start: 20px; }
.pp-notice li { font-size: var(--fs-card); color: var(--text-muted); margin-bottom: 4px; }
.pp-notice__footer { margin-top: 12px !important; font-weight: var(--fw-semibold); }

/* Content authored in the WordPress editor. The tags are whatever the editor
   produced, so the page's typography is applied by element rather than class. */
.pp-prose > :first-child { margin-top: 0; }
.pp-prose > :last-child { margin-bottom: 0; }
.pp-prose p { color: var(--text-muted); line-height: var(--lh-body); margin: 0 0 1em; }
.pp-prose h2, .pp-prose h3 {
  font-size: var(--fs-h4); color: var(--color-green-deep); margin: 28px 0 8px;
}
.pp-prose h4 { font-size: 18px; margin: 24px 0 6px; }
.pp-prose ol { margin: 0 0 1em; padding-inline-start: 22px; }
.pp-prose li { font-size: var(--fs-card); color: var(--text-muted); margin-bottom: 8px; }

/* A plain <ul> from the editor gets the same green tick as a hand-authored
   list, so prose written in WordPress still reads as part of the design.
   The tick is drawn from two borders rather than an icon, since the editor
   only ever produces a bare <li>. Physical sides on purpose — the glyph is
   the same shape in either text direction. */
.pp-prose ul { margin: 0 0 1em; padding-inline-start: 0; list-style: none; }
.pp-prose ul > li { position: relative; padding-inline-start: 26px; }
.pp-prose ul > li::before {
  content: ""; position: absolute; inset-inline-start: 2px; top: 0.42em;
  width: 13px; height: 7px;
  border-left: 2px solid var(--color-green);
  border-bottom: 2px solid var(--color-green);
  transform: rotate(-45deg);
}
.pp-prose strong { color: var(--color-green-deep); font-weight: var(--fw-semibold); }
.pp-prose a { text-decoration: underline; text-underline-offset: 3px; }
.pp-prose img { max-width: 100%; height: auto; border-radius: var(--radius-md); }
.pp-prose table { width: 100%; border-collapse: collapse; margin: 0 0 1em; }
.pp-prose th, .pp-prose td {
  border: 1px solid var(--border-card); padding: 10px 12px;
  font-size: var(--fs-card); text-align: start;
}
.pp-prose th { background: var(--surface-soft); color: var(--color-green-deep); font-weight: var(--fw-semibold); }

.pp-figure { margin: 0; }
.pp-figure img {
  width: 100%; border-radius: var(--radius-card);
  border: 1px solid var(--border-card); display: block;
}

/* ---- quote block ---- */

.pp-quote { background: var(--surface-soft); padding-block: 72px; }
.pp-quote__inner { max-width: 720px; margin-inline: auto; }
.pp-quote__head { text-align: center; margin-bottom: 32px; }
.pp-quote__head p { font-size: var(--fs-subtitle); color: var(--text-muted); margin: 0; }

.pp-form {
  background: var(--surface-card); border: 1px solid var(--border-card);
  border-radius: var(--radius-form); padding: 28px; display: grid; gap: 16px;
}
.pp-consent {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: var(--fs-small); color: var(--text-muted); cursor: pointer;
}
.pp-consent input { accent-color: var(--color-green); margin-top: 3px; flex: none; }
.pp-privacy { margin: 0; font-size: 13px; color: var(--text-placeholder); text-align: center; }

.pp-form__done {
  background: var(--surface-card); border: 1px solid var(--border-card);
  border-radius: var(--radius-form); padding: 36px 28px;
  display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center;
}
.pp-form__done h3 { margin: 0; }
.pp-form__done p { margin: 0; color: var(--text-muted); }

@media (max-width: 900px) {
  .pp-hero { padding-block: 32px; }
  .pp-hero__grid { grid-template-columns: 1fr; gap: 28px; }
  .pp-hero__media { order: -1; aspect-ratio: 4 / 3; padding: 18px; }
  /* 3x2 on phones. Equal-width cells are safe here because at this height
     even the widest file (24h, ratio 1.19) fits without being width-capped,
     so the icons still share one optical size. */
  .pp-icons { display: grid; grid-template-columns: repeat(3, 1fr); }
  .pp-icons img { height: 76px; max-width: 100%; }
  .pp-cards { grid-template-columns: 1fr; }
  .pp-panels { padding-block: 32px 56px; }
  .pp-quote { padding-block: 48px; }
  .pp-form { padding: 20px; }

  /* Eight tabs need 865px and a phone gives 335, so more than half of them sat
     off-screen behind a scroll nobody could see. Wrap them instead: every tab
     is visible at once, which is the only way to know the page has eight
     sections. The underline marker cannot survive wrapping — rows above the
     last one have no container edge to sit on — so each tab becomes its own
     outlined pill and the active one fills in. */
  .pp-tabbar { position: static; border-bottom: none; }
  .pp-tabbar .bg-tabs {
    flex-wrap: wrap; overflow-x: visible; gap: 8px;
    border-bottom: none; padding-block: 14px;
  }
  .pp-tabbar .bg-tab {
    white-space: normal;
    font-size: 13px; padding: 9px 13px;
    border: 1px solid var(--border-card); border-radius: 999px;
    margin-bottom: 0; background: #fff;
  }
  .pp-tabbar .bg-tab--active {
    color: #fff; background: var(--color-green);
    border-color: var(--color-green);
  }
}

@media (max-width: 420px) {
  .pp-icons img { height: 64px; }
}

/* Shown only when a submission fails to reach the webhook. The form stays on
   screen with the typed details intact, so nothing has to be retyped. */
.form-error {
  margin: 10px 0 0; padding: 10px 14px;
  border: 1px solid #D9534F; border-radius: var(--radius-md);
  background: #FDF3F3; color: #A33A36;
  font-size: var(--fs-card); line-height: var(--lh-snug);
}

/* ==========================================================================
   Quick contact — the short form above every page's footer
   ========================================================================== */
.quick-contact {
  background: var(--color-green-tint);
  border-top: 1px solid var(--border-card);
  padding-block: 40px;
}
.quick-contact__inner {
  display: grid; grid-template-columns: minmax(220px, 0.8fr) 2fr;
  gap: 32px; align-items: start;   /* heading level with the fields (24/11/2026) */
}
.quick-contact.is-sent .quick-contact__head p { display: none; }
.quick-contact__title { font-size: var(--fs-h3); color: var(--color-green-deep); margin: 0 0 6px; }
.quick-contact__head p { margin: 0; color: var(--text-muted); }
/* Three fields in a row, then the consent box, the privacy note and the
   button, each on its own line — the order every form on the site keeps. */
.quick-contact__form {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; align-items: start;
}
.quick-contact__form > .pp-consent,
.quick-contact__form > .pp-privacy { grid-column: 1 / -1; }
.quick-contact__form > .pp-privacy { text-align: start; }
.quick-contact__form .bg-btn { white-space: nowrap; grid-column: 1 / -1; justify-self: start; }
.quick-contact__form .form-error { grid-column: 1 / -1; }
.quick-contact__done {
  grid-column: 2; margin: 0; display: flex; gap: 10px; align-items: center;
  font-weight: var(--fw-semibold); color: var(--color-green-deep);
}
.quick-contact__done .icon { color: var(--color-green); flex: none; }


/* ==========================================================================
   Footer — social / contact strip and the contact column
   ========================================================================== */
.footer-social {
  display: flex; justify-content: center; gap: 12px; flex-wrap: wrap;
  padding-bottom: 32px; margin-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-social a {
  width: 44px; height: 44px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(247, 248, 243, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: background var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out);
}
.footer-social a:hover,
.footer-social a:focus-visible {
  background: #fff; color: var(--color-green-deep); border-color: #fff;
}

.footer-contact { font-style: normal; }
.footer-contact a,
.footer-contact > span {
  display: inline-flex; gap: 8px; align-items: center;
  font-size: 15px; color: rgba(247, 248, 243, 0.85);
}
.footer-contact .icon { flex: none; opacity: 0.85; }
.footer-contact a:hover { color: #fff; }
.footer-contact__phone { font-weight: var(--fw-semibold); }
/* Numbers and addresses are LTR runs inside RTL text. */
.footer-contact [dir="ltr"] { unicode-bidi: isolate; }
.footer-contact > .footer-contact__note {
  margin-top: -6px; padding-inline-start: 24px;
  font-size: 13px; color: #9CB8AD;
}
.footer-contact__note a { font-size: 13px; text-decoration: underline; text-underline-offset: 2px; }
.footer-contact__more { margin-top: 4px; font-size: 14px; color: var(--color-light-green-text) !important; }

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-hero {
  position: relative; overflow: hidden;   /* for a hero image set in WordPress */
  background: var(--surface-page);
  border-bottom: 1px solid var(--border-card);
  padding-block: 56px 40px;
}
.contact-hero > .shell { position: relative; }
.contact-hero h1 { margin: 10px 0 8px; }
.contact-hero__sub { font-size: var(--fs-subtitle); color: var(--text-muted); margin: 0; }

.contact-body { padding-block: 48px 72px; }
.contact-grid {
  display: grid; grid-template-columns: 1.55fr 1fr; gap: 32px; align-items: start;
}
.contact-card,
.contact-details {
  background: var(--surface-card); border: 1px solid var(--border-card);
  border-radius: var(--radius-form); padding: 28px;
}
.contact-form { display: grid; gap: 18px; }
.contact-intent { border: 0; padding: 0; margin: 0; }
.choice-row--4 { grid-template-columns: 1fr 1fr; }

.contact-done { display: grid; gap: 12px; justify-items: center; text-align: center; padding-block: 24px; }
.contact-done h2 { margin: 0; font-size: var(--fs-h3); }
.contact-done p { margin: 0; color: var(--text-muted); max-width: 420px; }

.contact-details h2 { font-size: var(--fs-h4); color: var(--color-green-deep); margin: 0 0 18px; }
.contact-details__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.contact-details__list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-details__list div { display: grid; gap: 2px; }
.contact-details__list strong { font-family: var(--font-display); font-size: 15px; color: var(--text-body); }
.contact-details__list a,
.contact-details__list span:not(.contact-details__icon) { color: var(--text-muted); }
.contact-details__list a:hover { color: var(--color-green-deep); }
.contact-details__list [dir="ltr"] { unicode-bidi: isolate; }
.contact-details__wa { font-size: 14px; color: var(--color-green) !important; }
.contact-details__icon {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--color-green-tint); color: var(--color-green);
}

@media (max-width: 1080px) {
  .site-footer__top { grid-template-columns: 1fr 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .site-footer__top { grid-template-columns: 1fr 1fr; }
  .quick-contact__inner { grid-template-columns: 1fr; gap: 18px; }
  .quick-contact__form { grid-template-columns: 1fr 1fr; }
  .quick-contact__form .bg-btn { grid-column: 1 / -1; justify-self: stretch; }
  .quick-contact__done { grid-column: 1; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-hero { padding-block: 36px 28px; }
  .contact-body { padding-block: 28px 56px; }
}

@media (max-width: 620px) {
  .quick-contact__form { grid-template-columns: 1fr; }
  .choice-row--4 { grid-template-columns: 1fr; }
  .contact-card, .contact-details { padding: 20px; }
  .site-footer__top { grid-template-columns: 1fr; }
}

/* Phone and e-mail fields run right to left like every other field.
   Browsers set a phone field left to right, which put its placeholder at the
   far left and, worse, flipped the placeholder's asterisk to the other end
   from the rest — "* טלפון" read as "טלפון *" there. A typed number or address
   still displays in its own order inside a right-to-left box: "050-1234567"
   and "name@company.co.il" are each one left-to-right run. */
.bg-input[type="tel"],
.bg-input[type="email"] { direction: rtl; text-align: right; }

/* ==========================================================================
   Information pop-up (native <dialog>) — e.g. "יבואן נאות"
   Same backdrop, corners and close button as the quote pop-up. The browser
   handles focus, Esc and the top layer; site.js adds backdrop-click to close.
   ========================================================================== */
.info-dialog {
  border: 0; padding: 0; width: min(640px, calc(100% - 32px));
  max-height: calc(100vh - 48px); overflow: auto;
  background: var(--surface-card); color: var(--text-body);
  border-radius: var(--radius-form); box-shadow: var(--shadow-lift);
}
.info-dialog::backdrop {
  background: rgba(6, 79, 58, 0.4);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.info-dialog__head {
  display: flex; align-items: center; gap: 16px; padding: 22px 28px 0;
}
.info-dialog__body { padding: 10px 28px 30px; display: grid; gap: 14px; }
.info-dialog__body h2 { font-size: var(--fs-h3); color: var(--color-green-deep); margin: 0; }
.info-dialog__body p { margin: 0; line-height: var(--lh-body); color: var(--text-muted); }
.info-dialog__body .info-dialog__lead {
  font-family: var(--font-display); font-weight: var(--fw-semibold);
  font-size: var(--fs-subtitle); color: var(--color-green-deep); line-height: var(--lh-snug);
}
.info-dialog__body .info-dialog__benefit {
  background: var(--color-green-tint); color: var(--text-body);
  border-inline-start: 3px solid var(--color-green);
  border-radius: var(--radius-sm); padding: 14px 16px;
}
.info-dialog__benefit strong { color: var(--color-green-deep); }

@media (max-width: 620px) {
  .info-dialog__head { padding: 18px 20px 0; }
  .info-dialog__body { padding: 8px 20px 24px; }
}

/* ==========================================================================
   Import & regulation page (2026-10 spec)
   ========================================================================== */
.section__cta { display: flex; justify-content: center; margin-top: 36px; }
.page-hero__sub strong { display: block; margin-top: 6px; color: var(--color-green-deep); }

/* 2 — who it's for */
.fit-grid {
  list-style: none; margin: 40px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.fit-card {
  display: flex; align-items: center; gap: 14px;
  background: var(--surface-card); border: 1px solid var(--border-card);
  border-radius: var(--radius-md); padding: 18px 20px;
  font-family: var(--font-display); font-weight: var(--fw-medium);
  font-size: 16px; line-height: 1.4; color: var(--text-body);
}
.fit-card__icon {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--color-green-tint); color: var(--color-green);
}

/* 3 — services */
.import-services {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 40px;
}
.import-services .bg-service h3 { font-size: var(--fs-h4); margin: 0; }

/* 4 — importer-of-record band */
.importer-band { background: var(--color-green-deep); color: var(--text-on-dark); }
.importer-band__inner {
  display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: start;
  max-width: 920px;
}
.importer-band__seal {
  width: 104px; height: 104px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--color-light-green-text);
}
.importer-band__body { display: grid; gap: 14px; }
.importer-band .bg-eyebrow { color: var(--color-light-green-text); margin: 0; }
.importer-band h2 { color: #fff; margin: 0; }
.importer-band__lead {
  font-family: var(--font-display); font-weight: var(--fw-bold);
  font-size: 26px; line-height: 1.3; color: var(--color-amber-tint, #F6E3C6); margin: 0;
}
.importer-band p { margin: 0; color: rgba(247, 248, 243, 0.82); line-height: var(--lh-body); }
.importer-band .btn-row { margin-top: 8px; }

/* 5 — what to check */
.checklist--wide { grid-template-columns: repeat(3, 1fr); margin-top: 36px; }
.callout {
  display: flex; gap: 12px; align-items: center; justify-content: center;
  max-width: 760px; margin: 28px auto 0; padding: 16px 20px;
  background: var(--color-green-tint); border-radius: var(--radius-md);
  border-inline-start: 3px solid var(--color-green);
  font-family: var(--font-display); font-weight: var(--fw-medium);
  color: var(--color-green-deep);
}
.callout .icon { color: var(--color-green); flex: none; }

/* 6 — the route, with a description under each stage */
ol.bg-route { list-style: none; padding: 0; margin: 48px 0 0; }
.bg-route__text { display: grid; gap: 4px; justify-items: center; }
.bg-route--described .bg-route__label {
  max-width: 170px; margin: 0;
  font-family: var(--font-display); font-weight: var(--fw-semibold);
  font-size: 15px; line-height: 1.35; color: var(--color-green-deep);
}
.bg-route__desc {
  max-width: 170px; margin: 0;
  font-size: 13px; line-height: 1.5; color: var(--text-muted);
}

/* 7 — feasibility form */
.feasibility { background: var(--surface-soft); scroll-margin-top: 84px; }
.feasibility__grid {
  display: grid; grid-template-columns: 0.8fr 1.4fr; gap: 40px; align-items: start;
}
.feasibility__intro { position: sticky; top: 110px; display: grid; gap: 12px; }
.feasibility__intro h2 { margin: 0; }
.feasibility__intro p { margin: 0; color: var(--text-muted); line-height: var(--lh-body); }
.feasibility__hint {
  font-family: var(--font-display); font-weight: var(--fw-semibold);
  color: var(--color-green-deep) !important;
}
.feasibility__card {
  background: var(--surface-card); border: 1px solid var(--border-card);
  border-radius: var(--radius-form); padding: 28px; box-shadow: var(--shadow-card);
}
.feasibility__form { display: grid; gap: 18px; }
.contact-done h3 { margin: 0; font-size: var(--fs-h3); }

/* 8 — FAQ questions as H3s, styled exactly as the home page's */
.bg-faq__h { margin: 0; font: inherit; }
.faq__more { margin: 10px 0 0; }
.faq__more a { color: var(--color-green); font-weight: var(--fw-semibold); }

@media (max-width: 1080px) {
  .fit-grid, .checklist--wide { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .import-services { grid-template-columns: 1fr; }
  .importer-band__inner { grid-template-columns: 1fr; gap: 20px; }
  .importer-band__seal { width: 76px; height: 76px; }
  .importer-band__lead { font-size: 22px; }
  .feasibility__grid { grid-template-columns: 1fr; gap: 24px; }
  .feasibility__intro { position: static; }
  .feasibility__card { padding: 20px; }

  /* Phone route: title and description beside the node, as on the home
     page; the chevron still drops from the node to the next stage. */
  .bg-route__text { justify-items: start; }
  .bg-route--described .bg-route__label { max-width: none; font-size: 17px; }
  .bg-route__desc { max-width: 32ch; font-size: 14px; }
  .bg-route--described .bg-route__step { align-items: flex-start; }
  .bg-route--described .bg-route__node { flex: none; }
}

@media (max-width: 620px) {
  .fit-grid, .checklist--wide { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Glossary (/knowledge/glossary/)
   ========================================================================== */

/* The topic tabs park under the header like the catalogue's filters. */
.glossary__filters {
  position: sticky; top: 76px; z-index: 10;
  background: var(--surface-page); padding-top: 12px;
}
.glossary__filters .bg-tabs { overflow-x: auto; scrollbar-width: none; }
.glossary__filters .bg-tabs::-webkit-scrollbar { display: none; }
.glossary__filters .bg-tab { white-space: nowrap; }

/* No buttons under the intro here, so no room left for them. */
.glossary-hero .page-hero__sub { margin-bottom: 0; }

.glossary-topic { padding-block: 44px 8px; }
.glossary-topic:last-child { padding-bottom: 80px; }
.glossary-topic__title { margin-bottom: 22px; }

/* One colour per topic, as on the knowledge page. */
.glossary-topic--import     { --term-bg: var(--color-sky);        --term-border: var(--border-reg); }
.glossary-topic--quality    { --term-bg: var(--color-sand);       --term-border: #E0D2B4; }
.glossary-topic--absorption { --term-bg: var(--color-green-tint); --term-border: #CBE3D5; }

.terms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.term {
  display: flex; flex-direction: column; gap: 8px;
  background: var(--term-bg); border: 1px solid var(--term-border);
  border-radius: var(--radius-card); padding: 22px 22px 20px;
}
/* scroll-margin clears the sticky header and tab bar when a link lands on
   the term's anchor. */
.term__name {
  margin: 0; font-size: 20px; line-height: 1.3; color: var(--color-green-deep);
  scroll-margin-top: 150px;
}
.term__def { margin: 0; line-height: 1.6; color: var(--text-body); }
/* Green-deep, not the link green: the lighter green falls under 4.5:1 on
   the sand cards. */
.term__more { margin: auto 0 0; padding-top: 4px; }
.term__more a {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--color-green-deep); font-weight: var(--fw-semibold);
  text-decoration: underline; text-underline-offset: 3px;
}
.term:has(.term__name:target) { outline: 2px solid var(--color-green); outline-offset: 3px; }

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

@media (max-width: 620px) {
  .terms { grid-template-columns: 1fr; }
  .glossary-topic { padding-top: 32px; }

  /* Every tab in view at once, as pills, like the product page's tabs.
     Two rows of pills would hold a third of a phone screen, so the bar
     scrolls away instead of sticking. */
  .glossary__filters { position: static; }
  .glossary__filters .bg-tabs {
    flex-wrap: wrap; overflow-x: visible; gap: 8px;
    border-bottom: none; padding-bottom: 12px;
  }
  .glossary__filters .bg-tab {
    white-space: normal; font-size: 14px; padding: 8px 13px;
    border: 1px solid var(--border-card); border-radius: 999px;
    margin-bottom: 0; background: #fff;
  }
  .glossary__filters .bg-tab--active {
    color: #fff; background: var(--color-green); border-color: var(--color-green);
  }
}

/* ==========================================================================
   Private Label (/private-label/)
   ========================================================================== */

/* 2 — four audience cards. Their titles are not headings: the spec keeps
   H3 for the FAQ and "what can be developed". */
.pl-audiences {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px;
}
.bg-service__title {
  margin: 0; font-family: var(--font-display); font-weight: var(--fw-semibold);
  font-size: var(--fs-h4); line-height: 1.3; color: var(--text-heading);
}
.pl-audiences .bg-service p { margin: 0; }

/* 3 — what BioGreen takes on */
.duties {
  list-style: none; margin: 40px auto 0; padding: 0; max-width: 860px;
  display: grid; gap: 12px;
}
.duty {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--surface-card); border: 1px solid var(--border-card);
  border-radius: var(--radius-md); padding: 16px 20px;
}
.duty__icon {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--color-green-tint); color: var(--color-green);
}
.duty p { margin: 4px 0 0; line-height: 1.6; }
.duty__title { font-family: var(--font-display); color: var(--color-green-deep); }

.pl-range { max-width: 860px; margin: 48px auto 0; display: grid; gap: 20px; }
.pl-range__title { margin: 0; font-size: var(--fs-h3); text-align: center; }
.pl-range__group { display: grid; gap: 10px; }
.pl-range__label {
  margin: 0; font-family: var(--font-display); font-weight: var(--fw-semibold);
  color: var(--text-muted);
}
.pl-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
/* Chips wrap their words: "טכנולוגיות ספיגה מתקדמות (מיצלה, ליפוזום)" is
   longer than a phone is wide. */
.pl-tags .bg-label { white-space: normal; line-height: 1.35; font-size: 14px; padding: 7px 13px; }

/* What stays with the client: the amber of commercial notes, so it reads
   apart from what BioGreen does. */
.callout--yours {
  background: var(--color-amber-tint); border-inline-start-color: var(--color-terracotta);
  color: var(--color-ink); justify-content: flex-start; margin-top: 32px;
}
.callout--yours .icon { color: var(--color-terracotta); }
.callout strong { color: inherit; }
.callout > span { line-height: 1.55; }

/* 4 — product forms */
.form-chips {
  list-style: none; margin: 32px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
}
.form-chip {
  background: var(--surface-card); border: 1px solid var(--border-card);
  border-radius: var(--radius-pill); padding: 12px 22px;
  font-family: var(--font-display); font-weight: var(--fw-medium); font-size: 17px;
  color: var(--color-green-deep);
}

/* 8 — enquiry form */
.pl-form__alt { display: grid; gap: 12px; margin-top: 8px; color: var(--text-muted); }
.pl-form__alt .btn-row { margin: 0; }

/* A select styled like the inputs, with the site's chevron at its end. */
.bg-select-wrap { position: relative; }
.bg-select-wrap .bg-select { width: 100%; padding-inline-end: 40px; }
.bg-select-wrap__arrow {
  position: absolute; inset-inline-end: 14px; top: 50%; transform: translateY(-50%);
  color: var(--text-muted); pointer-events: none;
}
.bg-select:has(option[value=""]:checked) { color: var(--text-placeholder); }
.bg-select option { color: var(--text-body); }

/* 6 — examples: product shots on white, shown whole whatever their shape */
.pl-examples { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.pl-example {
  display: grid; gap: 8px; align-content: start;
  background: var(--surface-card); border: 1px solid var(--border-card);
  border-radius: var(--radius-card); padding: 20px;
}
.pl-example__img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; background: #fff; margin-bottom: 8px; }
.pl-example__title {
  margin: 0; font-family: var(--font-display); font-weight: var(--fw-semibold);
  font-size: var(--fs-h4); color: var(--text-heading);
}
.pl-example p { margin: 0; }
@media (max-width: 900px) { .pl-examples { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; } }

@media (max-width: 1080px) {
  .pl-audiences { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .pl-audiences { grid-template-columns: 1fr; }
  .duty { padding: 14px 16px; }
  .form-chip { font-size: 15px; padding: 10px 16px; }
}

/* Inner pages with many blocks in a row (import & regulation, Private
   Label): the client asked for one grid cell above each block's content
   instead of three. Top only; the dark importer band keeps its padding, as
   a closed box it would look lopsided. */
.sections-tight .section:not(.importer-band) { padding-top: var(--grid-size); }

/* ==========================================================================
   Knowledge hub (/knowledge/) and its articles
   ========================================================================== */

/* 1 — search under the intro */
.k-search { position: relative; max-width: 560px; }
.k-search .bg-input { padding-inline-start: 46px; font-size: 16px; }
.k-search__icon {
  position: absolute; inset-inline-start: 16px; top: 50%; transform: translateY(-50%);
  color: var(--color-green); pointer-events: none;
}

/* 2 — the mini library */
.k-filters .bg-tabs { justify-content: center; flex-wrap: wrap; margin-top: 28px; border-bottom: none; }
.k-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.k-card {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  border-radius: var(--radius-card); padding: 24px;
  background: var(--k-bg); border: 1px solid var(--k-border);
  transition: box-shadow var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.k-card:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
/* A category's colour is picked in WordPress, from the site's tints only
   (COLORS in tools/build-articles.py, swatches in the plugin). */
.k-card--sky        { --k-bg: var(--color-sky);        --k-border: var(--border-reg); }
.k-card--green      { --k-bg: var(--color-green-tint); --k-border: #CBE3D5; }
.k-card--sand       { --k-bg: var(--color-sand);       --k-border: #E0D2B4; }
.k-card--amber      { --k-bg: var(--color-amber-tint); --k-border: #EBC79B; }
.k-card--eucalyptus { --k-bg: var(--color-eucalyptus); --k-border: #C3D9CB; }
.k-card__icon {
  width: 44px; height: 44px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; color: var(--color-green);
}
/* Green-deep, not the spec's #0B8F5A: at 13px that green falls under 4.5:1
   on all three card colours. The icon keeps the lighter green. */
.k-card__cat {
  margin: 0; font-size: 13px; font-weight: var(--fw-semibold); color: var(--color-green-deep);
  letter-spacing: var(--ls-label);
}
.k-card__title { margin: 0; font-size: var(--fs-h4); line-height: 1.3; }
.k-card__title a { color: var(--text-heading); }
/* The whole card is the link. */
.k-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.k-card__title a:focus-visible { outline: none; }
.k-card:has(a:focus-visible) { outline: 2px solid var(--color-green); outline-offset: 3px; }
.k-card__text { margin: 0; color: var(--text-muted); line-height: 1.6; }
.k-card__more {
  margin-top: auto; display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display); font-weight: var(--fw-semibold); color: var(--color-green-deep);
}
.k-empty { margin: 28px 0 0; text-align: center; color: var(--text-muted); }
.k-empty a { color: var(--color-green-deep); text-decoration: underline; }

/* 3 — the guide's cover beside its form */
.guide-cover {
  display: block; width: 200px; height: auto; margin-top: 24px;
  border-radius: 6px; box-shadow: var(--shadow-card); border: 1px solid var(--border-card);
}

/* 4 — glossary preview */
.k-terms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px; }
.k-term {
  display: flex; flex-direction: column; gap: 8px;
  background: var(--surface-card); border: 1px solid var(--border-card);
  border-radius: var(--radius-md); padding: 18px 20px;
}
.k-term__name { margin: 0; font-size: 18px; line-height: 1.3; color: var(--text-heading); }
.k-term__def { margin: 0; font-size: 15px; line-height: 1.55; color: var(--text-muted); }
.k-term__more { margin: auto 0 0; font-size: 14px; }
.k-term__more a { color: var(--color-green-deep); font-weight: var(--fw-semibold); text-decoration: underline; text-underline-offset: 3px; }

/* The article page ---------------------------------------------------- */

.article__shell { max-width: 800px; }
.breadcrumb { display: flex; gap: 8px; font-size: 14px; color: var(--text-muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--color-green-deep); text-decoration: underline; text-underline-offset: 3px; }
.article-hero h1 { font-size: 40px; max-width: none; }
.article__meta { margin: 0; font-size: 15px; color: var(--text-muted); }

.article__body { padding-block: 8px 72px; }
.article__part { margin-top: 40px; }
/* The body as written in WordPress: plain elements, styled here. */
.article__content h2 { font-size: var(--fs-h3); margin: 40px 0 14px; }
.article__content h3 { font-size: var(--fs-h4); margin: 28px 0 10px; }
.article__content p { line-height: 1.75; margin: 0 0 14px; }
.article__content ul, .article__content ol { margin: 0 0 14px; padding-inline-start: 22px; line-height: 1.7; }
.article__content li { margin-bottom: 8px; }
.article__content li::marker { color: var(--color-green); font-weight: var(--fw-bold); }
.article__content strong { color: var(--color-green-deep); }
.article__content a { color: var(--color-green-deep); font-weight: var(--fw-semibold); text-decoration: underline; text-underline-offset: 3px; }
.article__content blockquote {
  margin: 24px 0; padding: 16px 22px; border-radius: var(--radius-md);
  background: var(--color-green-tint); border-inline-start: 3px solid var(--color-green);
  color: var(--color-green-deep); font-family: var(--font-display);
}
.article__content blockquote p:last-child { margin: 0; }
.article__lead + .article__content > h2:first-child { margin-top: 40px; }
.article__part h2 { font-size: var(--fs-h3); margin: 0 0 14px; }
.article__part p { line-height: 1.75; margin: 0 0 14px; }
.article__lead {
  font-size: 19px; color: var(--color-green-deep); background: var(--color-green-tint);
  border-inline-start: 3px solid var(--color-green); border-radius: var(--radius-md);
  padding: 18px 22px; margin: 0 !important;
}
.article__list { margin: 0 0 14px; padding-inline-start: 22px; line-height: 1.7; }
.article__list li { margin-bottom: 8px; }
.article__list li::marker { color: var(--color-green); }
.article__summary {
  background: var(--color-sky); border: 1px solid var(--border-reg);
  border-radius: var(--radius-card); padding: 22px 26px;
}
.article__summary .article__list { margin: 0; }
.article .faq__list { margin-top: 16px; }

/* An article's closing buttons, and under them (import articles) one small
   line to the import guide. */
.final-cta__actions { display: grid; gap: 12px; justify-items: start; }
.final-cta .final-cta__more { margin: 0; font-size: 15px; color: var(--text-muted); }
.final-cta__more a {
  color: var(--color-green-deep); font-weight: var(--fw-semibold);
  text-decoration: underline; text-underline-offset: 3px;
}

/* The guide's thank-you page */
.guide-thanks__inner { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; }
.guide-thanks .guide-cover { width: 220px; margin: 0; }
.guide-thanks__note { margin: 20px 0 0; color: var(--text-muted); font-size: 15px; }

@media (max-width: 1080px) {
  .k-grid { grid-template-columns: repeat(2, 1fr); }
  .k-terms { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .k-grid, .k-terms { grid-template-columns: 1fr; }
  .k-filters .bg-tabs { gap: 8px; }
  .k-filters .bg-tab {
    font-size: 14px; padding: 8px 13px; border: 1px solid var(--border-card);
    border-radius: 999px; margin-bottom: 0; background: #fff;
  }
  .k-filters .bg-tab--active { color: #fff; background: var(--color-green); border-color: var(--color-green); }
  .guide-cover { display: none; }
  .article-hero h1 { font-size: var(--fs-h2); }
  .article__lead { font-size: 17px; }
  .guide-thanks__inner { grid-template-columns: 1fr; }
  .guide-thanks .guide-cover { display: block; width: 160px; }
}

/* The article's image, set in WordPress */
.article__image {
  display: block; width: 100%; height: auto; max-height: 460px; object-fit: cover;
  border-radius: var(--radius-card); margin: 32px 0 0;
}
.article__image + .article__lead { margin-top: 24px !important; }

/* ==========================================================================
   About (/about/)
   ========================================================================== */

.about-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
/* The three are the page's sections, so H2 — at a card's size. */
.about-pillar h2 { margin: 0; font-size: var(--fs-h4); line-height: 1.3; }
.about-pillar p { margin: 0; line-height: 1.7; }

.about-narrow { max-width: 860px; }
.about-narrow h2 { margin: 0 0 14px; }
.about-lead { margin: 0; font-size: 19px; line-height: 1.75; }

.about-partners { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 40px; }
.about-partners p { margin: 0; line-height: 1.7; }

.about-lead a, .about-partners a {
  color: var(--color-green-deep); font-weight: var(--fw-semibold);
  text-decoration: underline; text-underline-offset: 3px;
}
.about-contact { justify-content: center; margin-top: 36px; }

@media (max-width: 1080px) {
  .about-pillars { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
}
@media (max-width: 620px) {
  .about-partners { grid-template-columns: 1fr; }
  .about-lead { font-size: 17px; }
}

/* ---- A page with a form of its own (product pages, the detox-patches
   guide) leaves out the footer's quick-contact band: two forms in a row. */
.no-quick-contact .quick-contact { display: none; }

/* Product hero with four icons: one row on phones too, a little smaller. */
@media (max-width: 900px) {
  .pp-icons--4 { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .pp-icons--4 li { padding: 6px; }
  .pp-icons--4 img { height: 62px; }
}

/* ---- Detox patches guide (knowledge/detox-patches/) ---------------- */

.dp-hero__lead { font-size: var(--fs-subtitle); color: var(--text-muted); max-width: 680px; margin: 0 0 16px; }
.dp-hero__points { margin: 0 0 26px; }
.dp-part { scroll-margin-top: 96px; }
.article__content .dp-note { font-size: 15px; color: var(--text-muted); }

.dp-editions {
  width: 100%; border-collapse: separate; border-spacing: 0; margin: 4px 0 12px;
  background: #fff; border: 1px solid var(--border-card); border-radius: var(--radius-md);
  overflow: hidden; font-size: 16px;
}
.dp-editions th, .dp-editions td {
  padding: 12px 14px; text-align: start; vertical-align: top; line-height: 1.6;
  border-bottom: 1px solid var(--border-card);
}
.dp-editions thead th { background: var(--surface-soft); color: var(--color-green-deep); font-weight: var(--fw-semibold); font-size: 15px; }
.dp-editions tbody th { color: var(--color-green-deep); font-weight: var(--fw-bold); white-space: nowrap; }
.dp-editions tbody tr:last-child > * { border-bottom: 0; }
.dp-editions td:nth-child(3), .dp-editions td:last-child { white-space: nowrap; }

.article__content .dp-steps {
  list-style: none; margin: 4px 0 14px; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px;
}
.article__content .dp-step {
  margin: 0; display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--border-card); border-radius: var(--radius-md);
}
.dp-step img { display: block; width: 100%; height: auto; aspect-ratio: 300 / 240; object-fit: cover; }
.article__content .dp-step p {
  margin: 0; padding: 10px 12px 12px; font-size: 15px; line-height: 1.55;
  display: flex; gap: 8px; align-items: flex-start;
}
.dp-step__num {
  flex: none; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--color-green); color: #fff; font-size: 13px; font-weight: var(--fw-bold);
}

@media (max-width: 640px) {
  /* The table becomes one card per edition, each value with its label. */
  .dp-editions, .dp-editions tbody, .dp-editions tr, .dp-editions th, .dp-editions td { display: block; }
  .dp-editions thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .dp-editions { border: 0; border-radius: 0; background: none; overflow: visible; }
  .dp-editions tbody tr {
    background: #fff; border: 1px solid var(--border-card); border-radius: var(--radius-md);
    padding: 12px 16px; margin-bottom: 12px;
  }
  .dp-editions tbody th { padding: 0 0 6px; border: 0; font-size: 18px; }
  .dp-editions td { padding: 3px 0; border: 0; white-space: normal !important; }
  .dp-editions td::before { content: attr(data-label) ": "; font-weight: var(--fw-semibold); color: var(--text-heading); }
  .article__content .dp-steps { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .article__content .dp-step p { font-size: 14px; padding: 8px 10px 10px; }
}

/* A card's category line can lead to its guide (the detox patches'). It sits
   above the card-wide link, like the buttons. */
.product__guide {
  position: relative; z-index: 1;
  color: inherit; text-decoration: underline; text-underline-offset: 3px;
}
.product__guide:hover { color: var(--color-green); }

/* ---- Cookie consent bar (js/site.js) ------------------------------------
   Not a modal: the page stays usable behind it. Above the floating WhatsApp
   button, and on phones above the sticky action bar. */
.cookie-bar[hidden] { display: none !important; }
.cookie-bar {
  position: fixed; z-index: 90; inset-inline: 16px; bottom: 16px;
  max-width: 680px; margin-inline: auto;
  display: flex; align-items: center; gap: 18px;
  background: var(--surface-card); border: 1px solid var(--border-card);
  border-radius: var(--radius-md); box-shadow: var(--shadow-lift);
  padding: 14px 18px;
}
.cookie-bar__text { margin: 0; font-size: 14px; line-height: 1.6; color: var(--text-body); }
.cookie-bar__actions { display: flex; gap: 8px; flex: none; }
.site-footer__cookies {
  background: none; border: 0; padding: 0; cursor: pointer; font: inherit;
  font-size: 13px; color: rgba(247, 248, 243, 0.78);
}
.site-footer__cookies:hover { color: #fff; }
@media (max-width: 900px) {
  .cookie-bar {
    bottom: calc(76px + env(safe-area-inset-bottom));
    flex-direction: column; align-items: stretch; gap: 12px; padding: 14px 16px;
  }
  .cookie-bar__actions > .bg-btn { flex: 1; justify-content: center; }
}

/* Cookie settings (a native <dialog>, the info pop-up's frame). */
.cookie-bar__settings { text-decoration: underline; text-underline-offset: 3px; }
.cookie-kinds { display: grid; gap: 10px; }
.cookie-kind {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 16px; border: 1px solid var(--border-card); border-radius: var(--radius-md);
  background: #fff; cursor: pointer;
}
.cookie-kind__text { display: grid; gap: 2px; }
.cookie-kind__text strong { color: var(--color-green-deep); }
.cookie-kind__text span { font-size: 14px; line-height: 1.55; color: var(--text-muted); }
.cookie-kind__switch {
  appearance: none; -webkit-appearance: none; flex: none; margin: 0; cursor: pointer;
  width: 44px; height: 24px; border-radius: 999px; position: relative;
  background: var(--border-med, #c9d3cc); transition: background var(--dur-fast, .15s);
}
.cookie-kind__switch::after {
  content: ""; position: absolute; top: 3px; inset-inline-start: 3px;
  width: 18px; height: 18px; border-radius: 50%; background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); transition: inset-inline-start var(--dur-fast, .15s);
}
.cookie-kind__switch:checked { background: var(--color-green); }
.cookie-kind__switch:checked::after { inset-inline-start: 23px; }
.cookie-kind__switch:disabled { opacity: 0.55; cursor: not-allowed; }
.cookie-kind__switch:focus-visible { outline: none; box-shadow: var(--shadow-focus); }
.cookie-dialog__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
@media (max-width: 620px) {
  .cookie-dialog__actions > .bg-btn { flex: 1 1 100%; justify-content: center; }
}

/* Green text on the eucalyptus background needs a darker green: 4.55:1
   (accessibility audit, 16/11/2026). */
.feasibility .bg-eyebrow { color: #09774B; }

/* Links inside running text in an FAQ answer are underlined, not only
   coloured (WCAG 1.4.1, "link-in-text-block"). */
.bg-faq__a p > a { color: var(--color-green-deep); text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   Display fixes, 19/11/2026 (the client's brief and mock-ups): the home
   hero on phones and on computers, centred openings on the inner pages, a
   tighter catalogue, the sticky phone bar, the floating WhatsApp button.
   ========================================================================== */

/* ---- The floating WhatsApp button: the header already has one (computer);
   on phones the action bar does the job. Hidden everywhere. ---- */
.fab { display: none !important; }

/* ---- The three tags under the home hero buttons: an icon in a pale green
   circle and the words beside it (computer) or under it (phone). ---- */
.hero__badge {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: var(--fw-semibold);
  font-size: 15px; line-height: 1.3; color: var(--color-green-deep);
}
.hero__badge-icon {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--color-green-tint); color: var(--color-green);
}
.hero__sub--mobile { display: none; }
.hero__img--mobile { display: none; }

/* ---- Home hero, computer: the photo is the background of the whole
   opening, products at the bottom; the text sits centred over a light wash;
   the tags run in a white strip along the bottom edge. ---- */
@media (min-width: 769px) {
  .hero { padding-block: 40px 400px; background-image: none; }
  .hero__bg { display: none; }
  .hero__grid {
    position: static; display: block; max-width: 920px; margin-inline: auto; text-align: center;
  }
  /* Above the photo; the tag strip is left out so it is placed against the
     whole opening (.hero), not against the text. */
  .hero__grid > div:first-child > :not(.hero__trust) { position: relative; z-index: 1; }
  .hero h1 { font-size: 54px; line-height: 1.15; margin-inline: auto; text-wrap: balance; }
  .hero__lead, .hero__sub { max-width: 760px; margin-inline: auto; text-wrap: balance; }
  .hero__sub { color: var(--color-green-deep); }
  .hero .btn-row { justify-content: center; }
  .hero__media {
    position: absolute; inset: 0; z-index: 0; margin: 0;
    -webkit-mask-image: none; mask-image: none;
  }
  .hero__media::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(to bottom,
      rgba(247, 248, 243, 0.94) 0%, rgba(247, 248, 243, 0.86) 36%, rgba(247, 248, 243, 0) 72%);
  }
  .hero__media .hero__img {
    width: 100%; height: 100%; aspect-ratio: auto;
    object-fit: cover; object-position: center bottom;
  }
  .hero__trust {
    position: absolute; z-index: 2; inset-inline: 0; bottom: 0; margin: 0;
    display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 64px;
    padding: 16px; background: rgba(255, 255, 255, 0.9); border-top: 1px solid #E1E3DE;
  }
}

/* ---- Home hero, phone: a photo of its own, full width, nothing covering
   it; plain page colour behind; everything centred and closer together;
   the short paragraph instead of the long one; the tags in one row. ---- */
@media (max-width: 768px) {
  .hero { padding-block: 8px 40px; background-image: none; }
  .hero__bg { display: none; }
  .hero__grid { gap: 14px; }
  .hero__grid > div:first-child { text-align: center; }
  .hero h1 { margin-bottom: 22px; text-wrap: balance; }
  .hero__lead { margin-inline: auto; margin-bottom: 30px; text-wrap: balance; }
  .hero__sub { display: none; }
  .hero__sub--mobile {
    display: block; margin-inline: auto; color: var(--color-green-deep); font-weight: var(--fw-regular);
  }
  .hero .btn-row { flex-direction: column; align-items: stretch; }
  .hero .btn-row .bg-btn { width: 100%; }
  /* The phone photo, when there is one: whole (3:1), no fade, no crop. */
  .hero__media:has(.hero__img--mobile:not([hidden])) {
    -webkit-mask-image: none; mask-image: none;
  }
  .hero__media:has(.hero__img--mobile:not([hidden])) .hero__img { display: none; }
  .hero__img--mobile:not([hidden]) {
    display: block; width: 100%; height: auto; aspect-ratio: 3 / 1; object-fit: contain;
  }
  .hero__trust {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 30px;
  }
  .hero__badge { flex-direction: column; gap: 8px; text-align: center; font-size: 14px; }
  .hero__badge-icon { width: 44px; height: 44px; }
}

/* ---- The sticky phone bar on pages whose opening has the same buttons:
   it waits until they have been scrolled past (js/site.js). ---- */
.mobile-bar { transition: transform var(--dur-base, .25s) var(--ease-out, ease); }
.mobile-bar--away .mobile-bar { transform: translateY(110%); pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .mobile-bar { transition: none; } }

/* ---- Inner pages: the opening's text centred. On a computer the block
   keeps its place at the right, about 760px wide, and is centred inside it;
   on a phone it is centred across the screen. ---- */
.page-hero__inner {
  display: grid; grid-template-columns: min(100%, 760px); justify-content: start;
  justify-items: center; text-align: center;
}
.page-hero h1 { text-wrap: balance; }
.page-hero__sub { max-width: 640px; text-wrap: balance; }
.page-hero .btn-row { justify-content: center; }
.article-hero .article__shell { display: grid; justify-items: center; text-align: center; }
.article-hero .breadcrumb { justify-content: center; flex-wrap: wrap; }
.article-hero h1 { text-wrap: balance; }
.article-hero .pp-list { text-align: start; }
.article-hero .btn-row { justify-content: center; }
@media (max-width: 768px) {
  .page-hero__inner { grid-template-columns: 1fr; }
}

/* ---- The catalogue (/products/) ---- */
/* Its opening has no photo beside it: centred across the page, the heading
   on one line. */
.page-hero--catalog { padding-block: 40px 8px; }
.page-hero--catalog .page-hero__inner { grid-template-columns: 1fr; }
.page-hero--catalog h1 { max-width: none; margin-bottom: 6px; }
.catalog__filters { padding-block: 8px; }
.catalog__filters .bg-tabs { justify-content: safe center; }
/* Three to a row; a last row that is not full sits in the middle. */
.catalog__grid {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-top: 20px;
}
.catalog__grid > .product { width: calc((100% - 2 * 20px) / 3); }
/* The card: no fixed 4:3 frame, the photo whole in a 170px band, the tags
   above it; less padding in the body. */
.catalog .product__media { aspect-ratio: auto; padding: 44px 16px 0; }
.catalog .product__media img { height: 170px; object-position: 50% 50%; }
.catalog .product__body { padding: 14px var(--space-5) 18px; gap: 8px; }
@media (max-width: 900px) {
  .catalog__grid > .product { width: calc((100% - 20px) / 2); }
}
@media (max-width: 768px) {
  .page-hero--catalog { padding-block: 24px 12px; }
  .catalog__filters { padding-block: 6px; }
  .catalog__grid { gap: 16px; margin-top: 14px; }
  .catalog__grid > .product { width: calc((100% - 16px) / 2); }
  .catalog .product__media { padding-top: 40px; }
  .catalog .product__body { padding: 12px var(--space-5) 18px; }
}
@media (max-width: 620px) {
  .catalog__grid > .product { width: 100%; }
}

/* The "יבואן נאות" link in the hero paragraphs: underlined, since the text
   around it is dark green too (WCAG 1.4.1). */
.hero__sub a { text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   Round 2b, 19/11/2026 (the client's brief and mock-ups)
   ========================================================================== */

/* "Private Label" stays on one line wherever WordPress text carries it
   (tools/cms.py wraps it). */
.nowrap { white-space: nowrap; }

/* ---- Home, computer: six cards in the first screen. The three tags stay
   in the hero's HTML (the phone shows them there, as before); on a
   computer they become the first row of the doorway block: a white strip
   along the hero's bottom edge, the same three columns as the doorways
   below, 16px apart, 12px between the rows. The hero fills the screen
   above the 170px card block (77px header), never below 560px. ---- */
@media (min-width: 769px) {
  .hero {
    --tag-strip: 74px;               /* 16px above the row + the 58px row */
    --strip-pad: max(28px, calc((100% - var(--container-max)) / 2 + 28px));
    min-height: calc(max(560px, 100vh - 247px) + var(--tag-strip));
    padding-block: 28px calc(var(--tag-strip) + 40px);
  }
  .hero h1 { font-size: 48px; }
  .hero__media { inset: 0 0 var(--tag-strip) 0; }
  .hero__media .hero__img { object-position: center 62%; }
  .hero__trust {
    height: var(--tag-strip); padding: 15px var(--strip-pad) 0;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
    background: var(--surface-card); border-top: 1px solid #E1E3DE;
  }
  .hero__badge {
    height: 58px; padding: 14px 24px; gap: var(--space-4);
    border: 1px solid #E1E3DE; border-radius: 14px; background: #F7F8F3;
    font-size: 18px; font-weight: 600; color: #064F3A; cursor: default;
  }
  .hero__badge-icon { width: auto; height: auto; border-radius: 0; background: none; }
  .hero__badge-icon svg { width: 28px; height: 28px; }

  .doorways { padding-block: 12px 25px; border-top: 0; }
  .bg-doorway { height: 58px; padding: 14px 24px; border-radius: 14px; }
}
@media (min-width: 769px) and (max-width: 900px) {
  .hero { --strip-pad: 20px; }       /* .shell's own padding at this width */
}

/* ---- The header logo, computer: the leaf and the line above "BioGreen"
   pull the word below the menu's line; 5px up puts it on it. ---- */
@media (min-width: 769px) {
  .site-header__logo img { transform: translateY(-5px); }
}

/* ---- "Why BioGreen", computer: eight cards, four to a row, in the same
   language as the cards at the top. The phone keeps the list. ---- */
@media (min-width: 769px) {
  .why__head { margin-bottom: 36px; }
  .why__grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .why__item {
    flex-direction: column; justify-content: flex-start; gap: 14px; text-align: center;
    min-height: 150px; padding: 24px 18px; border-radius: 14px;
    background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14);
  }
  .why__icon { width: 48px; height: 48px; border-radius: 50%; }
  .why__item span:last-child { font-size: 17px; line-height: 1.4; }
}
@media (min-width: 769px) and (max-width: 1023px) {
  .why__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Home spacing (computer and phone): the inner pages' one grid cell
   above each block (sections-tight on <body>); the two coloured blocks
   even above and below; shorter client-name cards. ---- */
[data-cms-page="home"] .section.route-section,
[data-cms-page="home"] .section.why { padding-block: 56px; }
[data-cms-page="home"] .client { min-height: 60px; padding: 12px 14px; }
@media (max-width: 768px) {
  [data-cms-page="home"] .section.route-section,
  [data-cms-page="home"] .section.why { padding-block: 44px; }
}

/* ---- Product pages, phone: no big buttons in the opening; the sticky
   bar (call, WhatsApp, quote) is there from the first screen instead. ---- */
@media (max-width: 768px) {
  .pp-hero__actions { display: none; }
}

/* ==========================================================================
   Privacy policy (/privacy/, 23/11/2026) and the links to it
   ========================================================================== */

/* In the form notes and the cookie bar: underlined, in the note's own colour. */
.pp-privacy a, .cookie-bar__text a, .cookie-dialog .info-dialog__body > p a {
  color: inherit; text-decoration: underline; text-underline-offset: 2px;
}
.pp-privacy a:hover, .cookie-bar__text a:hover { color: var(--color-green-deep); }

/* The policy: numbered paragraphs and lists as the lawyer wrote them; long
   addresses (www…, e-mail) may wrap on a phone. */
.legal .article__content p, .legal .article__content li { overflow-wrap: anywhere; }
.legal-part h2 { margin-bottom: 14px; }
.legal-updated { color: var(--text-muted); font-size: var(--fs-small); }
