/* AgrasDron — site styles. Direction taken from the approved Agrone reference (layout, palette and type scale only).
   Colours are tokens: swap them when the client's brand colours arrive. */
:root {
  --bg: #fbf8f5;            /* cream page */
  --cream: #f2ede6;         /* cream panels and tiles */
  --white: #ffffff;
  --line: rgba(17, 32, 15, .10);
  --ink: #11200f;           /* text */
  --heading: #143323;       /* deep field green for headings */
  --muted: #5d685d;
  --brand: #2f6b14;         /* green for small text and links (AA on cream) */
  --lime: #8cc65a;          /* fills with dark ink on top */
  --lime-dark: #79b347;
  --forest: #12321f;        /* footer, dark buttons */
  --forest-2: #1b4029;
  --wa: #1fa855;
  --r-sm: 12px; --r: 20px; --r-lg: 28px; --r-xl: 32px;
  --shadow: 0 12px 32px rgba(17, 32, 15, .10);
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --font-head: "Outfit", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--font-body); }
img { max-width: 100%; height: auto; display: block; }
[id] { scroll-margin-top: 104px; }
a, button, select, input, textarea { touch-action: manipulation; -webkit-tap-highlight-color: rgba(47, 107, 20, .12); }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; font-family: var(--font-head); color: var(--heading); margin: 0; letter-spacing: -.02em; }
h1 { font-size: clamp(2.6rem, 6.4vw, 6rem); font-weight: 400; line-height: 1.04; }
h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); font-weight: 400; line-height: 1.08; }
h3 { font-size: 1.3rem; font-weight: 500; line-height: 1.25; letter-spacing: -.01em; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.muted { color: var(--muted); }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 8px; }
.skip:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }

/* Buttons: pills, dark or outline, plus round arrow buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1.5px solid transparent; font: 500 15px/1 var(--font-body); text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .15s; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--dark { background: var(--forest); color: #fff; }
.btn--dark:hover { background: var(--forest-2); }
.btn--lime { background: var(--lime); color: var(--ink); }
.btn--lime:hover { background: var(--lime-dark); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #178a45; }
.btn--outline { border-color: var(--heading); color: var(--heading); background: transparent; }
.btn--outline:hover { background: var(--heading); color: #fff; }
.btn--ghost-light { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--heading); }
.btn .long { width: 40px; height: 14px; transition: transform .2s var(--ease); }
.btn:hover .long { transform: translateX(4px); }
.round { width: 48px; height: 48px; border-radius: 50%; display: inline-grid; place-items: center; flex: none; background: var(--lime); color: var(--ink); text-decoration: none; transition: background-color .2s, transform .2s var(--ease); }
.round svg { width: 20px; height: 20px; }
.round--dark { background: var(--forest); color: #fff; }
.round--line { background: transparent; border: 1.5px solid var(--heading); color: var(--heading); }
a:hover > .round, .round:hover { transform: rotate(-45deg); }
.round.up svg { transform: rotate(-45deg); }
a:hover > .round.up, .round.up:hover { transform: none; }
.link { color: var(--brand); font-weight: 500; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .25s; }
.link:hover { background-size: 100% 1.5px; }
.link svg { width: 16px; height: 16px; }
.tag { display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border: 1px solid var(--heading); border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--heading); }

/* Header: logo pill, nav pill and action pill floating over the first photo (desktop); a plain bar on phones */
.header { position: sticky; top: 0; z-index: 50; padding-top: 16px; pointer-events: none; }
.header .wrap { display: flex; align-items: center; gap: 12px; min-height: 64px; position: relative; pointer-events: auto; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 500 22px/1 var(--font-head); letter-spacing: -.02em; color: var(--heading); }
.logo__mark { width: 32px; height: 32px; flex: none; }
.logo b { color: var(--brand); font-weight: 500; }
.header .logo { background: var(--white); height: 56px; padding: 0 20px 0 12px; border-radius: 999px; box-shadow: var(--shadow); }
.nav { display: flex; align-items: center; gap: 0; margin-left: auto; background: var(--white); height: 56px; padding: 0 12px; border-radius: 999px; box-shadow: var(--shadow); }
.nav__link { display: inline-flex; align-items: center; padding: 8px 12px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: 15px; color: var(--ink); transition: color .2s, background-color .2s; }
.nav__link:hover { color: var(--brand); }
.nav__link[aria-current="page"] { color: var(--brand); }
.nav__cta { display: none; }
.header__cta { height: 56px; box-shadow: var(--shadow); }

/* Dropdowns: open on hover or keyboard focus on desktop, on tap everywhere */
.dd { position: relative; }
.dd__top { display: flex; align-items: center; }
.dd__top .nav__link { padding-right: 2px; }
.dd__btn { border: 0; background: none; width: 28px; height: 40px; display: grid; place-items: center; cursor: pointer; color: var(--muted); border-radius: 8px; }
.dd__btn svg { width: 16px; height: 16px; transition: transform .2s; }
.dd__panel { position: absolute; top: calc(100% + 16px); left: -12px; min-width: 340px; padding: 12px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 24px 48px rgba(17, 32, 15, .16); display: grid; gap: 2px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .18s, transform .18s, visibility 0s .18s; z-index: 60; }
.dd__panel::before { content: ""; position: absolute; left: 0; right: 0; top: -28px; height: 28px; }
.dd.open .dd__panel { opacity: 1; visibility: visible; transform: none; transition: opacity .18s, transform .18s; }
.dd.open .dd__btn svg { transform: rotate(180deg); }
@media (hover: hover) and (min-width: 1081px) {
  .dd:hover .dd__panel, .dd:focus-within .dd__panel { opacity: 1; visibility: visible; transform: none; transition: opacity .18s, transform .18s; }
  .dd:hover .dd__btn svg { transform: rotate(180deg); }
  .dd:hover > .dd__top .nav__link { color: var(--brand); }
}
.dd__item, .mega__ask { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: var(--r-sm); text-decoration: none; color: var(--ink); transition: background-color .15s; }
.dd__item:hover, .mega__ask:hover { background: var(--bg); }
.dd__item strong, .mega__ask strong { display: block; font-size: 15px; font-weight: 600; }
.dd__item small, .mega__ask small { display: block; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.dd__ico { width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--cream); color: var(--heading); display: grid; place-items: center; }
.dd__ico svg { width: 18px; height: 18px; }
@media (min-width: 1081px) {
  .dd--mega { position: static; }
  .dd--mega .dd__panel { left: 0; right: 0; top: calc(100% + 12px); padding: 24px; }
}
.mega { display: grid; grid-template-columns: 1fr 1.25fr; gap: 28px 40px; }
.mega__title { font-weight: 600; font-size: 14px; color: var(--muted); margin: 0 0 12px 12px; }
.mega__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.mega__grid a { padding: 8px 12px; border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: 14.5px; transition: background-color .15s, color .15s; }
.mega__grid a:hover { background: var(--bg); color: var(--brand); }
.mega__ask { grid-column: 1 / -1; background: var(--cream); }
.mega__ask:hover { background: #ebe4da; }

.menu-btn { display: none; margin-left: auto; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn svg { width: 20px; height: 20px; }
@media (max-width: 1080px) {
  .header { padding-top: 0; background: var(--white); border-bottom: 1px solid var(--line); pointer-events: auto; }
  .header .wrap { position: static; min-height: 68px; }
  .header .logo { box-shadow: none; padding: 0; height: auto; background: none; }
  .menu-btn { display: inline-flex; }
  .header__cta { display: none; }
  .nav { overscroll-behavior: contain; display: none; position: absolute; top: 100%; left: 0; right: 0; height: calc(100dvh - 68px); background: var(--white); flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 32px; border-radius: 0; box-shadow: none; overflow: auto; border-top: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav > .nav__link, .dd__top { border-bottom: 1px solid var(--line); }
  .nav__link { font-size: 19px; padding: 16px 4px; border-radius: 0; }
  .dd__top .nav__link { flex: 1; }
  .dd { flex: none; }
  .dd__btn { width: 52px; height: 52px; color: var(--ink); }
  .dd__btn svg { width: 20px; height: 20px; }
  .dd__panel { position: static; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-radius: 0; padding: 8px 0 12px; min-width: 0; background: var(--bg); }
  .dd__panel::before { display: none; }
  .dd.open .dd__panel { display: grid; }
  .mega { grid-template-columns: 1fr; gap: 16px; padding: 8px; }
  .mega__grid { grid-template-columns: repeat(2, 1fr); }
  .mega__grid a { min-height: 44px; display: flex; align-items: center; }
  .nav__cta { display: inline-flex; margin-top: 24px; font-size: 16px; }
}

/* Hero: a rounded photo stage the header floats over */
.stage { position: relative; margin: -64px 16px 0; border-radius: var(--r-xl); overflow: hidden; background: var(--forest); color: #fff; isolation: isolate; }
.stage__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.stage::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 24, 12, .55) 0%, rgba(10, 24, 12, .25) 45%, rgba(10, 24, 12, .55) 100%); }
.hero .wrap { min-height: min(100vh, 940px); padding: 168px 0 32px; display: grid; grid-template-columns: 1fr 300px; grid-template-rows: auto 1fr auto; gap: 32px 40px; }
.hero h1 { color: #fff; max-width: 11ch; grid-column: 1; }
.hero__lead { grid-column: 1; align-self: start; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; }
.hero__lead p { font-size: 1.1rem; color: rgba(255, 255, 255, .88); max-width: 34ch; }
.hero__note { grid-column: 2; grid-row: 1 / span 2; align-self: start; margin-top: 8px; background: var(--lime); color: var(--ink); border-radius: var(--r-lg); padding: 24px; display: flex; flex-direction: column; gap: 12px; min-height: 260px; text-decoration: none; transition: transform .25s var(--ease); }
.hero__note:hover { transform: translateY(-2px); }
.hero__note small { font-size: 14px; font-weight: 500; color: rgba(17, 32, 15, .72); }
.hero__note strong { font: 400 2rem/1.1 var(--font-head); letter-spacing: -.02em; color: var(--heading); font-variant-numeric: tabular-nums; }
.hero__note p { font-size: 14.5px; color: rgba(17, 32, 15, .8); }
.hero__note .round { margin-top: auto; align-self: flex-end; }
.hero__cards { grid-column: 1 / -1; display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; }
.hcard { position: relative; display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: center; background: var(--bg); color: var(--ink); border-radius: var(--r-lg); padding: 12px 24px 12px 12px; min-height: 188px; text-decoration: none; transition: transform .25s var(--ease); }
.hcard:hover { transform: translateY(-2px); }
.hcard__img { width: 100%; height: 164px; border-radius: var(--r); object-fit: cover; }
.hcard h3 { font-size: 1.6rem; font-weight: 400; margin-bottom: 8px; }
.hcard p { font-size: 14.5px; color: var(--muted); margin-bottom: 16px; }
.hcard .btn { min-height: 40px; padding: 0 18px; font-size: 14px; }
.hcard .round { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; }
@media (max-width: 1080px) {
  .stage { margin: 12px 12px 0; border-radius: var(--r-lg); }
  .hero .wrap { min-height: 0; padding: 64px 0 24px; grid-template-columns: 1fr; }
  .hero__note { grid-column: 1; grid-row: auto; min-height: 0; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .hero__note strong { font-size: 1.6rem; }
  .hero__note .round { margin: 0 0 0 auto; }
  .hero__cards { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hero .wrap { padding-top: 48px; }
  .hcard { grid-template-columns: 1fr; padding: 12px 12px 20px; }
  .hcard__img { height: 180px; }
  .hcard > div { padding: 0 8px; }
  .hcard .round { top: 20px; right: 20px; }
  .hero__lead .btn { width: 100%; }
}

/* Inner page heads reuse the stage */
.page-head .wrap { padding: 152px 0 56px; min-height: 420px; display: flex; flex-direction: column; justify-content: flex-end; }
.page-head h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 4.4rem); }
.page-head p { color: rgba(255, 255, 255, .88); margin-top: 16px; max-width: 56ch; font-size: 1.08rem; }
.page-head--plain::before { display: none; }
.crumbs { font-size: 14px; color: rgba(255, 255, 255, .75); margin-bottom: 16px; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: #fff; }
@media (max-width: 1080px) { .page-head .wrap { padding: 72px 0 40px; min-height: 300px; } }

/* Sections */
.section { padding-block: clamp(72px, 9vw, 128px); }
.section + .section { padding-top: 0; }
.section__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 48px; }
.section__head p { margin-top: 16px; max-width: 52ch; color: var(--muted); font-size: 1.05rem; }
.big { max-width: 16ch; }
.big .indent { display: block; padding-left: clamp(0px, 6vw, 96px); }
@media (max-width: 720px) { .section__head { flex-direction: column; align-items: flex-start; margin-bottom: 32px; } .big { max-width: none; } .big .indent { display: inline; padding-left: 0; } }
.badge { display: inline-grid; place-items: center; width: .9em; height: .9em; border-radius: 50%; background: var(--cream); color: var(--brand); vertical-align: -.08em; margin: 0 .12em; }
.badge svg { width: .48em; height: .48em; }
.badge--dark { background: var(--forest); color: var(--lime); }

/* Land types: text column plus three rounded photos */
.lands { display: grid; grid-template-columns: 240px repeat(3, 1fr); gap: 20px; align-items: end; }
.lands__text p { color: var(--muted); font-size: 15px; margin-bottom: 24px; }
.lands figure { margin: 0; }
.lands img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-lg); }
.lands figcaption { margin-top: 16px; font: 500 1.15rem/1.3 var(--font-head); color: var(--heading); }
@media (max-width: 900px) { .lands { grid-template-columns: 1fr 1fr; } .lands__text { grid-column: 1 / -1; } }
@media (max-width: 520px) { .lands { grid-template-columns: 1fr; } .lands img { aspect-ratio: 4 / 3; } }

/* Process: cream stage with numbered rows */
.process { background: var(--cream); border-radius: var(--r-xl); padding: clamp(24px, 4vw, 48px); display: grid; gap: 12px; }
.process__title { text-align: center; margin: 0 auto 24px; }
.prow { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; background: var(--white); border-radius: var(--r); padding: 20px 28px; }
.prow h3 { font-size: 1.25rem; }
.prow p { color: var(--muted); font-size: 15px; margin-top: 6px; max-width: 52ch; }
.prow__num { font: 400 1.4rem/1 var(--font-head); color: var(--heading); font-variant-numeric: tabular-nums; }
.prow--open { grid-template-columns: 1fr 280px; padding: 24px 24px 24px 28px; }
.prow--open img { width: 100%; height: 150px; object-fit: cover; border-radius: var(--r-sm); }
.prow--open .prow__num { display: block; margin-top: 20px; }
.process__band { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 360px; display: flex; align-items: flex-end; padding: 24px; margin-top: 12px; }
.process__band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.process__card { position: relative; background: var(--white); border-radius: var(--r); padding: 24px; max-width: 340px; }
.process__card h3 { font-size: 1.35rem; margin-bottom: 16px; }
.process__card .btn { min-height: 44px; }
@media (max-width: 760px) { .prow--open { grid-template-columns: 1fr; } .prow { padding: 20px; } }

/* Request tool */
.tool { display: grid; grid-template-columns: 1fr 1.1fr; gap: 12px; background: var(--cream); border-radius: var(--r-xl); padding: 12px; }
.tool__media { position: relative; min-height: 360px; border-radius: var(--r-lg); overflow: hidden; }
.tool__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tool__form { padding: clamp(20px, 3vw, 40px); background: var(--white); border-radius: var(--r-lg); }
.tool__form h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.tool__form > p { color: var(--muted); margin: 12px 0 24px; }
@media (max-width: 860px) { .tool { grid-template-columns: 1fr; } .tool__media { min-height: 220px; } }
.tabs { display: inline-flex; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 4px; gap: 4px; margin-bottom: 24px; }
.tabs button { border: 0; background: transparent; padding: 0 18px; border-radius: 999px; font: 500 14.5px var(--font-body); color: var(--muted); cursor: pointer; min-height: 44px; }
.tabs button[aria-selected="true"] { background: var(--forest); color: #fff; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 500; font-size: 14px; }
.field input, .field select, .field textarea { font: 16px var(--font-body); color: var(--ink); min-height: 52px; padding: 12px 18px; border: 1.5px solid var(--line); border-radius: 16px; background: var(--bg); width: 100%; }
.field textarea { min-height: 104px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px rgba(47, 107, 20, .15); }
.field .err { color: #b42318; font-size: 13.5px; display: none; }
.field.invalid .err { display: block; }
.field.invalid input, .field.invalid select { border-color: #b42318; }
.form-actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
@media (max-width: 560px) { .fields { grid-template-columns: 1fr; } .form-actions .btn { width: 100%; } }

/* Model tiles */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; min-height: 168px; background: var(--cream); border-radius: var(--r-lg); padding: 24px; text-decoration: none; color: var(--heading); transition: background-color .2s; }
.tile:hover { background: #ebe4da; }
.tile small { font-size: 14px; color: var(--muted); }
.tile strong { font: 400 2rem/1 var(--font-head); letter-spacing: -.02em; }
.tile .round { position: absolute; right: 16px; bottom: 16px; width: 44px; height: 44px; background: var(--white); }
.tile:hover .round { background: var(--lime); }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .tiles { grid-template-columns: 1fr 1fr; } .tile { min-height: 132px; padding: 20px; } .tile strong { font-size: 1.6rem; } }
.head-arrows { display: flex; gap: 12px; align-items: center; }

/* Facts list (spraying page) */
.facts { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.facts__list { border-left: 2px solid var(--heading); padding-left: 28px; display: grid; gap: 28px; }
.facts__list h3 { margin-bottom: 8px; }
.facts__list p { color: var(--muted); max-width: 44ch; }
.facts__img { background: var(--cream); border-radius: var(--r-xl); overflow: hidden; }
.facts__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 860px) { .facts { grid-template-columns: 1fr; gap: 32px; } }

/* Closing band */
.cta { position: relative; margin: 0 16px; border-radius: var(--r-xl); overflow: hidden; color: #fff; text-align: center; isolation: isolate; z-index: 1; }
.cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta::before { content: ""; position: absolute; inset: 0; background: rgba(10, 24, 12, .45); z-index: -1; }
.cta .wrap { padding-block: clamp(72px, 10vw, 136px); display: flex; flex-direction: column; align-items: center; gap: 28px; }
.cta h2 { color: #fff; max-width: 18ch; }
.cta p { color: rgba(255, 255, 255, .88); max-width: 52ch; font-size: 1.08rem; margin-top: -8px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
@media (max-width: 1080px) { .cta { margin: 0 12px; border-radius: var(--r-lg); } }
@media (max-width: 560px) { .cta__actions .btn { width: 100%; } }

/* Catalogue */
.catalog { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: start; }
.filters { position: sticky; top: 104px; display: flex; flex-direction: column; background: var(--cream); border-radius: var(--r-lg); padding: 24px; }
.filters h2 { font: 600 15px var(--font-body); color: var(--ink); letter-spacing: 0; }
.filters__body { display: flex; flex-direction: column; gap: 24px; }
.filters__toggle { display: none; }
.models { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); font: 500 14px var(--font-body); color: var(--ink); text-decoration: none; cursor: pointer; transition: border-color .2s, background-color .2s, color .2s; }
.chip:hover { border-color: var(--heading); }
.chip[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: #fff; }
.filters .field input { background: var(--white); }
@media (max-width: 900px) {
  .catalog { grid-template-columns: 1fr; gap: 20px; }
  .filters { position: static; padding: 16px; }
  .filters__toggle { display: inline-flex; width: 100%; }
  .filters__body { display: none; padding-top: 20px; }
  .filters.open .filters__body { display: flex; }
  .chip { min-height: 44px; }
}
.catalog__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; color: var(--muted); font-size: 15px; }
.products { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.card { background: var(--cream); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; }
.product .card__img { aspect-ratio: 1; display: grid; place-items: center; margin: 12px 12px 0; background: var(--white); border-radius: var(--r); }
.product .card__img img { width: 100%; height: 100%; object-fit: contain; padding: 16px; }
.card__ph { width: 56px; height: 56px; color: rgba(17, 32, 15, .18); }
.card__body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product__cat { font-size: 13px; font-weight: 500; color: var(--muted); }
.product h3 { font-size: 1.15rem; }
.product .btn { margin-top: auto; min-height: 44px; width: 100%; }
.product__link { display: flex; flex-direction: column; flex: 1; color: inherit; text-decoration: none; border-radius: var(--r-lg); }
.product__link .card__body { padding-bottom: 12px; }
.product__link h3 { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .25s; display: inline; }
.product__link:hover h3 { background-size: 100% 1.5px; }
.product__link .card__img img { transition: transform .4s var(--ease); }
.product__link:hover .card__img img { transform: scale(1.03); }
.product .card__img { overflow: hidden; }
.product__actions { padding: 0 20px 20px; }

/* Product page */
.pd { padding-top: 32px; }
.pd__crumbs { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.pd__crumbs a { color: inherit; text-decoration: none; } .pd__crumbs a:hover { color: var(--brand); }
.pd__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.pd__gallery { position: sticky; top: 104px; display: grid; gap: 12px; }
.pd__main { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl); aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; }
.pd__main { position: relative; }
.pd__zoom { all: unset; display: block; width: 100%; height: 100%; cursor: zoom-in; overflow: hidden; border-radius: inherit; }
.pd__zoom:focus-visible { outline: 3px solid var(--brand); outline-offset: -3px; }
.pd__main img { width: 100%; height: 100%; object-fit: contain; padding: 24px; transition: transform .25s var(--ease); user-select: none; -webkit-user-drag: none; }
.pd__main.is-zoomed .pd__zoom { cursor: zoom-out; touch-action: none; }
.pd__main.is-zoomed img { transform: scale(2.4); transition: transform .25s var(--ease), transform-origin .08s linear; }
.pd__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, .92); color: var(--heading); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); transition: background-color .2s, opacity .2s; z-index: 2; }
.pd__nav:hover { background: var(--white); }
.pd__nav svg { width: 20px; height: 20px; }
.pd__nav--prev { left: 16px; }
.pd__nav--prev svg { transform: rotate(180deg); }
.pd__nav--next { right: 16px; }
.pd__count { position: absolute; left: 16px; bottom: 16px; padding: 4px 12px; border-radius: 999px; background: rgba(17, 32, 15, .72); color: #fff; font-size: 13px; font-variant-numeric: tabular-nums; pointer-events: none; }
.pd__hint { position: absolute; right: 16px; bottom: 16px; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .9); color: var(--muted); font-size: 12.5px; pointer-events: none; opacity: 0; transition: opacity .2s; }
.pd__main:hover .pd__hint { opacity: 1; }
.pd__main.is-zoomed .pd__hint, .pd__main.is-zoomed .pd__nav, .pd__main.is-zoomed .pd__count { opacity: 0; pointer-events: none; }
@media (hover: none) { .pd__hint { display: none; } }
.pd__main--empty { background: var(--cream); border: 0; }
.pd__main--empty svg { width: 96px; height: 96px; color: rgba(17, 32, 15, .18); }
.pd__thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.pd__thumb { width: 76px; height: 76px; padding: 4px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: var(--white); cursor: pointer; }
.pd__thumb[aria-current="true"] { border-color: var(--heading); }
.pd__thumb img { width: 100%; height: 100%; object-fit: contain; }
.pd__info { display: grid; gap: 16px; align-content: start; }
.pd__info h1 { font-size: clamp(2rem, 3.6vw, 3rem); }
.pd__code { color: var(--muted); font-size: 15px; }
.pd__code strong { color: var(--ink); font-variant-numeric: tabular-nums; }
.pd__models span { display: block; font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.pd__models .models { margin-top: 4px; }
.pd__desc p { color: #2f3b34; }
.pd__desc p + p { margin-top: 12px; }
.pd__buy { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding: 16px 0 4px; border-top: 1px solid var(--line); margin-top: 8px; }
.pd__buy .qty { background: var(--white); }
.pd__buy .btn { flex: 1; min-width: 200px; }
.pd__note { font-size: 13.5px; color: var(--muted); }
.pd__specs { margin-top: clamp(48px, 6vw, 80px); max-width: 860px; }
.pd__specs h2, .pd__related h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 20px; }
.pd__specs table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.pd__specs th, .pd__specs td { text-align: left; padding: 14px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.pd__specs tr:last-child th, .pd__specs tr:last-child td { border-bottom: 0; }
.pd__specs th { width: 38%; font-weight: 500; color: var(--muted); background: var(--bg); }
.pd__specs td { font-weight: 500; }
.pd__related { margin-top: clamp(48px, 6vw, 80px); }
@media (max-width: 860px) {
  .pd__grid { grid-template-columns: 1fr; }
  .pd__gallery { position: static; }
  .pd__buy .btn { min-width: 0; }
  .pd__specs th { width: 45%; }
}
.empty { background: var(--cream); border-radius: var(--r-lg); padding: clamp(32px, 6vw, 72px); text-align: center; }
.empty h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.empty p { color: var(--muted); margin: 12px auto 24px; max-width: 46ch; }

/* Basket button in the header */
.cart-btn { position: relative; width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--white); color: var(--heading); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); flex: none; transition: background-color .2s; }
.cart-btn:hover { background: var(--cream); }
.cart-btn svg { width: 22px; height: 22px; }
.cart-btn__count { position: absolute; top: 4px; right: 2px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--lime); color: var(--ink); font: 600 12px/22px var(--font-body); text-align: center; font-variant-numeric: tabular-nums; }
.cart-btn.bump { animation: bump .35s var(--ease); }
@keyframes bump { 40% { transform: scale(1.12); } }
@media (max-width: 1080px) {
  .cart-btn { width: 48px; height: 48px; box-shadow: none; border: 1px solid var(--line); margin-left: auto; }
  .cart-btn + .header__cta + .menu-btn, .cart-btn ~ .menu-btn { margin-left: 0; }
}

/* Basket drawer */
.drawer { position: fixed; inset: 0; z-index: 70; }
.drawer[hidden] { display: none; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(10, 24, 12, .45); opacity: 0; transition: opacity .2s; }
.drawer__panel { overscroll-behavior: contain; position: absolute; right: 0; top: 0; bottom: 0; width: min(440px, 100%); background: var(--white); display: flex; flex-direction: column; transform: translateX(24px); opacity: 0; transition: transform .25s var(--ease), opacity .2s; }
.drawer.open .drawer__scrim { opacity: 1; }
.drawer.open .drawer__panel { transform: none; opacity: 1; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 1.6rem; }
.drawer__body { flex: 1; overflow: auto; padding: 8px 24px; }
.drawer__foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); display: grid; gap: 12px; background: var(--bg); }
.drawer__note { font-size: 13.5px; color: var(--muted); }
.drawer__foot .btn[disabled] { opacity: .45; cursor: not-allowed; }
.cart-empty { padding: 32px 0; display: grid; gap: 8px; color: var(--muted); }
.qitem { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.qitem__info strong { display: block; font-weight: 600; line-height: 1.35; }
.qitem__info small { color: var(--muted); font-size: 13px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; padding: 2px; }
.qty__btn { width: 40px; height: 40px; border: 0; background: none; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: var(--heading); }
.qty__btn:hover { background: var(--cream); }
.qty__btn svg { width: 16px; height: 16px; }
.qty__n { min-width: 24px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.icon-btn { border: 1px solid var(--line); background: var(--white); border-radius: 50%; width: 44px; height: 44px; cursor: pointer; display: inline-grid; place-items: center; color: var(--heading); }
.icon-btn:hover { background: var(--cream); }
.icon-btn svg { width: 18px; height: 18px; }

/* Order pop-up */
.order { border: 0; padding: 0; border-radius: var(--r-lg); width: min(520px, calc(100% - 32px)); background: var(--white); color: var(--ink); box-shadow: 0 32px 80px rgba(10, 24, 12, .3); }
.order::backdrop { background: rgba(10, 24, 12, .55); }
.order__inner { padding: 28px; display: grid; gap: 16px; }
.order__head { display: flex; gap: 16px; align-items: flex-start; }
.order__head h2 { font-size: 1.6rem; }
.order__head p { color: var(--muted); font-size: 14.5px; margin-top: 4px; }
.order__ico { width: 48px; height: 48px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; flex: none; }
.order__ico svg { width: 26px; height: 26px; }
.order textarea { font-size: 15px; line-height: 1.5; min-height: 180px; }
.order__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 560px) { .order__actions .btn { width: 100%; } .order__inner { padding: 20px; } }

/* Prose (terms) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.8rem; margin: 40px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #2f3b34; }
.prose p + p { margin-top: 12px; }

/* Contact */
.contact { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.contact .card__body { padding: 32px; gap: 12px; }
.contact .ico { width: 48px; height: 48px; border-radius: 50%; background: var(--white); color: var(--heading); display: grid; place-items: center; }
.contact .ico svg { width: 22px; height: 22px; }
.contact h2 { font: 500 15px var(--font-body); color: var(--muted); letter-spacing: 0; }
.contact .big-text { font: 400 2rem/1.15 var(--font-head); letter-spacing: -.02em; color: var(--heading); text-decoration: none; }
.contact .btn { align-self: flex-start; margin-top: 8px; }
@media (max-width: 760px) { .contact { grid-template-columns: 1fr; } .contact .big-text { font-size: 1.6rem; } }

/* Footer: deep green with a giant wordmark */
.footer { background: var(--forest); color: rgba(255, 255, 255, .78); font-size: 15px; margin-top: clamp(72px, 9vw, 128px); overflow: hidden; }
main:has(> .cta:last-child) + .footer { margin-top: -120px; padding-top: 120px; }
.footer .wrap { padding-block: 72px 0; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.footer .logo { color: #fff; }
.footer .logo b { color: var(--lime); }
.footer h2 { font: 400 1.4rem var(--font-head); color: #fff; margin-bottom: 16px; letter-spacing: -.01em; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.footer a { text-decoration: none; display: inline-block; padding: 6px 0; }
.footer a:hover { color: #fff; }
.footer__about { margin-top: 16px; max-width: 32ch; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-top: 56px; font-size: 13.5px; color: rgba(255, 255, 255, .6); }
.footer__word { font: 500 clamp(4rem, 19vw, 17.5rem)/.78 var(--font-head); letter-spacing: -.05em; color: #fff; margin: 32px 0 0; white-space: nowrap; text-align: center; transform: translateY(14%); user-select: none; }
.footer__word b { color: var(--lime); font-weight: 500; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 45; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .2); transition: transform .2s; }
.wa-float:hover { transform: translateY(-2px); }
.wa-float { transition: transform .2s, opacity .2s, visibility .2s; }
.wa-float.is-hidden { opacity: 0; visibility: hidden; transform: translateY(12px); pointer-events: none; }
.wa-float svg { width: 28px; height: 28px; }

/* One entrance on load: the hero text */
@media (prefers-reduced-motion: no-preference) {
  .hero h1, .hero__lead, .hero__note, .hero__cards { animation: rise .8s var(--ease) both; }
  .hero__lead { animation-delay: .08s; }
  .hero__note { animation-delay: .16s; }
  .hero__cards { animation-delay: .24s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Touch screens: no hover colours that stay stuck after a tap */
@media (hover: none) {
  .btn--outline:hover { background: transparent; color: var(--heading); }
  .btn--ghost-light:hover { background: transparent; color: #fff; }
  .btn--dark:hover { background: var(--forest); }
  .btn--lime:hover { background: var(--lime); }
  .btn--wa:hover { background: var(--wa); }
  .chip:hover { border-color: var(--line); }
  .chip[aria-pressed="true"]:hover { border-color: var(--forest); }
  .tile:hover, .mega__ask:hover { background: var(--cream); }
  .tile:hover .round { background: var(--white); }
  .icon-btn:hover, .qty__btn:hover, .cart-btn:hover { background: var(--white); }
  .qty__btn:hover { background: none; }
  a:hover > .round, .round:hover { transform: none; }
  a:hover > .round.up, .round.up:hover { transform: none; }
  .hcard:hover, .hero__note:hover, .wa-float:hover { transform: none; }
  .btn:hover .long { transform: none; }
}
@media (hover: none) {
  .product__link:hover .card__img img { transform: none; }
  .product__link:hover h3 { background-size: 0 1.5px; }
}

/* ---------- Parts catalogue (unslop-anything pass) ---------- */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Shorter photo heading: the parts are the content here */
.page-head--compact .wrap { min-height: 300px; padding: 136px 0 40px; }
.page-head--compact h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
@media (max-width: 1080px) { .page-head--compact .wrap { min-height: 0; padding: 48px 0 32px; } }
.catalog-section { padding-top: 40px; }
.catalog { grid-template-columns: 260px minmax(0, 1fr); }

/* Filters as plain lists with counts */
.filters { padding: 20px 16px; gap: 0; }
.filters__body { gap: 20px; }
.flist { border: 0; margin: 0; padding: 0; min-width: 0; }
.flist legend { font: 600 14px var(--font-body); color: var(--muted); padding: 0 12px; margin-bottom: 4px; }
.fopt { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; padding: 0 12px; border: 0; border-radius: 10px; background: none; color: var(--ink); font: 500 15px var(--font-body); text-align: left; cursor: pointer; transition: background-color .15s, color .15s; }
.fopt:hover { background: rgba(255, 255, 255, .7); }
.fopt[aria-pressed="true"] { background: var(--white); color: var(--heading); font-weight: 600; box-shadow: inset 3px 0 0 var(--forest); }
.fopt__n { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.fopt.is-empty { color: rgba(17, 32, 15, .42); }
.fmore { border: 0; background: none; padding: 8px 12px; font: 500 14px var(--font-body); color: var(--brand); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.filters__n { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--forest); color: #fff; font-size: 12px; display: inline-grid; place-items: center; }
@media (max-width: 900px) {
  .catalog { grid-template-columns: 1fr; }
  .filters { padding: 12px; }
  .fopt { min-height: 44px; }
  .filters__body .flist [data-filter] { display: grid; grid-template-columns: 1fr 1fr; column-gap: 8px; }
}

/* Search first: the fastest path for someone who knows the part */
.searchbar { position: relative; margin-bottom: 16px; }
.searchbar svg { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); pointer-events: none; }
.searchbar input { width: 100%; min-height: 56px; padding: 0 20px 0 52px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--white); font: 16px var(--font-body); color: var(--ink); }
.searchbar input::placeholder { color: rgba(17, 32, 15, .45); }
.searchbar input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(47, 107, 20, .15); }
.catalog__bar { flex-wrap: wrap; justify-content: flex-start; min-height: 36px; }
.catalog__bar [data-count] { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.afilter { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 10px 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font: 500 13.5px var(--font-body); color: var(--ink); cursor: pointer; }
.afilter svg { width: 14px; height: 14px; color: var(--muted); }
.afilter:hover { border-color: var(--heading); }
.afilter__clear { border: 0; background: none; font-size: 13.5px; cursor: pointer; padding: 0 4px; }
.empty__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* "Not in the list?" without the decorative photo */
.tool--ask { grid-template-columns: 1fr; padding: 0; background: none; }
.tool--ask .tool__form { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 16px 48px; align-items: start; background: var(--cream); padding: clamp(24px, 4vw, 48px); }
.tool--ask .tool__intro p { color: var(--muted); margin-top: 12px; }
.tool--ask .field select, .tool--ask .field input { background: var(--white); }
@media (max-width: 860px) { .tool--ask .tool__form { grid-template-columns: 1fr; } }
@media (hover: none) { .fopt:hover { background: none; } .fopt[aria-pressed="true"]:hover { background: var(--white); } .afilter:hover { border-color: var(--line); } }
.filters__n[hidden] { display: none; }
