/* AGRIPLUS GLOBAL — site styles
   Layout follows the agreed reference (Poppins headings / Open Sans body);
   colours come from the AGRIPLUS logo (deep green + gold). */

:root {
  --green-dark: #0b4214;
  --green: #2f7d1f;
  --green-mid: #3e8f22;
  --green-light: #7fb24a;
  --green-tint: #f1f7ea;
  --gold: #bc8b26;
  --gold-light: #d9ae4f;
  --ink: #1a1a1a;
  --text: #3a3a3a;
  --muted: #7a7a7a;
  --line: #e3e6e0;
  --gray: #f5f6f3;
  --white: #fff;
  --footer: #0c2a12;
  --radius: 12px;
  --leaf: 0 56px 0 56px;
  --shadow: 0 10px 30px rgba(12, 42, 18, .10);
  --font-h: "Poppins", system-ui, sans-serif;
  --font-b: "Open Sans", system-ui, sans-serif;
  --container: 1200px;
  --header-h: 96px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-b); font-size: 15px; line-height: 1.7; color: var(--text); background: var(--white); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold); }
h1, h2, h3, h4 { font-family: var(--font-h); font-weight: 600; color: var(--ink); line-height: 1.25; margin: 0 0 .6em; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
.ico { flex: none; display: inline-block; vertical-align: middle; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 90px 0; }
.section--gray { background: var(--gray); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 26px; border: 0; border-radius: 40px; background: var(--green); color: #fff; font-family: var(--font-h); font-weight: 500; font-size: 15px; transition: background .25s, transform .25s, color .25s; }
.btn:hover { background: var(--green-dark); color: #fff; transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--green-dark); }
.btn--light:hover { background: var(--gold); color: #fff; }
.btn--outline { background: transparent; color: var(--green); box-shadow: inset 0 0 0 2px var(--green); }
.btn--outline:hover { background: var(--green); color: #fff; }
.btn--wa { background: #25d366; }
.btn--wa:hover { background: #1da851; }
.center-link { text-align: center; margin-top: -40px; padding-bottom: 80px; }

/* ---------- topbar ---------- */
.topbar { background: var(--green-dark); color: #d6e5d2; font-size: 13px; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; }
.topbar a { color: #d6e5d2; display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: var(--gold-light); }
.topbar__contact { display: flex; gap: 24px; }
.topbar__social { display: flex; gap: 14px; }

/* ---------- header / nav ---------- */
.header { position: sticky; top: 0; z-index: 50; background: #fff; transition: box-shadow .3s; }
.header.is-scrolled { box-shadow: 0 4px 24px rgba(0, 0, 0, .08); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.header__logo img { height: 78px; width: auto; }
.header__tools { display: flex; align-items: center; gap: 10px; }

.nav { margin-left: auto; }
.nav__head, .nav__toggle, .nav__langs-mobile { display: none; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__link { display: flex; align-items: center; gap: 5px; height: var(--header-h); padding: 0 12px; background: none; border: 0; color: var(--green-dark); font-family: var(--font-b); font-size: 15px; font-weight: 600; position: relative; }
.nav__link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 26px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav__item:hover > .nav__link, .nav__item.is-active > .nav__link { color: var(--green-light); }
.nav__item:hover > .nav__link::after, .nav__item.is-active > .nav__link::after { transform: scaleX(1); }
.nav__chev { transition: transform .25s; }
.nav__item:hover .nav__chev { transform: rotate(180deg); }

.nav__sub { position: absolute; top: calc(100% - 14px); left: 0; min-width: 240px; list-style: none; margin: 0; padding: 12px; background: #fff; border-radius: 10px; box-shadow: 0 18px 40px rgba(12, 42, 18, .14); border-top: 3px solid var(--green-light); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s; z-index: 5; }
.nav__item:hover > .nav__sub, .nav__item:focus-within > .nav__sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__sub a { display: block; padding: 9px 14px; border-radius: 6px; color: var(--green-dark); font-size: 14px; white-space: nowrap; }
.nav__sub a:hover, .nav__sub a.is-current { background: var(--green-tint); color: var(--green); }
.nav__sub.cols-3 { display: grid; grid-template-columns: repeat(3, minmax(200px, 1fr)); gap: 0 6px; left: 50%; transform: translate(-50%, 10px); }
.nav__item:hover > .nav__sub.cols-3, .nav__item:focus-within > .nav__sub.cols-3 { transform: translate(-50%, 0); }

.lang { position: relative; }
.lang__btn { display: flex; align-items: center; gap: 4px; background: none; border: 0; color: var(--green-dark); font-weight: 700; font-size: 14px; padding: 8px 6px; }
.lang__menu { position: absolute; right: 0; top: 100%; min-width: 150px; list-style: none; margin: 0; padding: 8px; background: #fff; border-radius: 10px; box-shadow: 0 18px 40px rgba(12, 42, 18, .14); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; }
.lang.is-open .lang__menu, .lang:hover .lang__menu { opacity: 1; visibility: visible; transform: none; }
.lang__menu a { display: block; padding: 8px 12px; border-radius: 6px; color: var(--text); font-size: 14px; }
.lang__menu a:hover, .lang__menu a.is-current { background: var(--green-tint); color: var(--green); }
.burger { display: none; background: none; border: 0; color: var(--green-dark); padding: 4px; }
.nav-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, .45); opacity: 0; visibility: hidden; transition: .3s; z-index: 60; }

/* ---------- hero ---------- */
.hero { position: relative; height: min(84vh, 720px); min-height: 480px; overflow: hidden; background: var(--green-dark); }
.hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.1s ease, visibility 1.1s; }
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 30, 10, .78) 0%, rgba(6, 30, 10, .45) 45%, rgba(6, 30, 10, .1) 100%); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1); transition: transform 8s ease-out; }
.hero__slide.is-active .hero__img { transform: scale(1.08); }
.hero__content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; color: #fff; }
.hero__title { color: #fff; font-size: clamp(32px, 5vw, 58px); max-width: 720px; margin-bottom: 16px; opacity: 0; transform: translateY(30px); transition: .9s .3s; }
.hero__sub { font-size: clamp(16px, 1.6vw, 20px); max-width: 560px; color: #e8f1e4; opacity: 0; transform: translateY(30px); transition: .9s .5s; }
.hero .btn { margin-top: 10px; opacity: 0; transform: translateY(30px); transition: opacity .9s .7s, transform .9s .7s, background .25s, color .25s; }
.hero__slide.is-active .hero__title, .hero__slide.is-active .hero__sub, .hero__slide.is-active .btn { opacity: 1; transform: none; }
.hero__dots { position: absolute; z-index: 3; left: 50%; bottom: 30px; transform: translateX(-50%); display: flex; gap: 10px; }
.hero__dots button { width: 12px; height: 12px; border-radius: 12px; border: 2px solid #fff; background: transparent; padding: 0; transition: .3s; }
.hero__dots button.is-active { background: var(--gold); border-color: var(--gold); width: 34px; }

/* ---------- features ---------- */
.features { padding: 100px 0; }
.features__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.feature__ico { display: inline-flex; color: var(--green-light); margin-bottom: 14px; transition: transform .35s, color .35s; }
.feature:hover .feature__ico { transform: translateY(-6px); color: var(--gold); }
.feature__title { font-size: 21px; margin-bottom: 10px; }
.feature p { font-size: 14px; color: var(--text); margin: 0; }

/* ---------- band (field-to-feed strip with overlapping photos) ---------- */
.band { padding: 90px 0 120px; }
.band__strip { background: linear-gradient(100deg, var(--green-dark) 0%, var(--green) 60%, var(--green-light) 100%); position: relative; }
.band__strip::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 20%, rgba(217, 174, 79, .35), transparent 45%); pointer-events: none; }
.band__inner { position: relative; display: grid; grid-template-columns: 1fr 1.15fr; align-items: center; min-height: 340px; gap: 40px; }
.band__text { color: #fff; padding: 50px 0; }
.band__text h2 { color: #fff; font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 12px; }
.band__text p { color: #e3efdc; font-size: 16px; margin-bottom: 26px; }
.band__images { position: relative; height: 100%; min-height: 340px; }
.band__img { position: absolute; object-fit: cover; box-shadow: var(--shadow); }
.band__img--1 { left: 0; width: 46%; top: 60px; height: calc(100% + 40px); border-radius: 0 0 0 56px; }
.band__img--2 { right: 0; width: 50%; top: -70px; height: calc(100% + 30px); border-radius: 0 56px 0 56px; }

/* ---------- section titles ---------- */
.title-lined { display: flex; align-items: center; justify-content: center; gap: 18px; font-size: clamp(28px, 3vw, 38px); color: var(--green); margin-bottom: 44px; text-align: center; }
.title-lined::before, .title-lined::after { content: ""; width: 60px; height: 2px; background: var(--green); flex: none; }
.title-side { display: flex; align-items: center; gap: 14px; font-size: 28px; color: #555; margin-bottom: 36px; }
.title-side .ico { color: var(--green); }
.title-side::after { content: ""; flex: 1; height: 1px; background: #bfc4bb; }

/* ---------- carousels ---------- */
.carousel { position: relative; }
.carousel__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 18px) / 5); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 6px 2px 14px; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; }
.carousel__track--posts { grid-auto-columns: calc((100% - 3 * 24px) / 3.6); gap: 24px; }
.carousel__btn { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--green-dark); box-shadow: 0 6px 18px rgba(0, 0, 0, .12); display: grid; place-items: center; z-index: 3; transition: .25s; }
.carousel__btn:hover { background: var(--green); color: #fff; }
.carousel__btn--prev { left: -22px; }
.carousel__btn--next { right: -22px; }
.carousel__btn[disabled] { opacity: .35; pointer-events: none; }

.pcard { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 6 / 7; background: var(--green-tint); box-shadow: 0 4px 14px rgba(0, 0, 0, .08); }
.pcard img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.pcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(6, 30, 10, .78)); transition: .4s; }
.pcard__name { position: absolute; z-index: 2; left: 12px; right: 12px; bottom: 16px; text-align: center; color: #fff; font-family: var(--font-h); font-weight: 600; font-size: 15px; line-height: 1.3; text-shadow: 0 2px 8px rgba(0, 0, 0, .35); }
.pcard:hover img { transform: scale(1.08); }
.pcard:hover::after { background: linear-gradient(180deg, rgba(47, 125, 31, .15) 30%, rgba(6, 30, 10, .85)); }
.pcard:hover .pcard__name { color: #fff; }
.section--products { padding-bottom: 80px; }
.page-home .section--products { padding-top: 10px; }

/* ---------- post cards ---------- */
.post-card { background: #fff; border-radius: 14px; padding: 12px; display: flex; flex-direction: column; box-shadow: 0 6px 20px rgba(0, 0, 0, .05); transition: transform .3s, box-shadow .3s; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card__img { display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 10; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.post-card:hover .post-card__img img { transform: scale(1.06); }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 14px 8px 4px; }
.post-card__meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.post-card__meta span { display: inline-flex; align-items: center; gap: 6px; }
.post-card__meta .dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; border: 1.5px solid var(--green-light); }
.post-card__title { font-size: 17px; margin-bottom: 8px; }
.post-card__title a { color: var(--ink); }
.post-card__title a:hover { color: var(--green); }
.post-card__excerpt { font-size: 13.5px; color: var(--text); flex: 1; }
.post-card__btn { display: block; text-align: center; padding: 10px; border-radius: 0 0 14px 14px; background: var(--green-light); color: #fff; font-family: var(--font-h); font-weight: 600; font-size: 13px; transition: background .25s; margin: 4px -4px 0; border-top-left-radius: 14px; }
.post-card__btn:hover { background: var(--green); color: #fff; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* ---------- inner banner ---------- */
.banner { position: relative; background: var(--bg) center / cover no-repeat, var(--green-dark); color: #fff; }
.banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 30, 10, .55), rgba(6, 30, 10, .7)); }
.banner__inner { position: relative; min-height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 50px 20px; }
.banner__title { color: #fff; font-size: clamp(30px, 4.2vw, 50px); margin-bottom: 8px; }
.banner__sub { color: #e2eedc; font-size: 17px; max-width: 700px; margin-bottom: 10px; }
.crumbs { font-size: 13px; color: #cfe0c8; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.crumbs a { color: #fff; }
.crumbs a:hover { color: var(--gold-light); }

/* ---------- split (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split--single { grid-template-columns: 1fr; max-width: 860px; }
.img-leaf { border-radius: var(--leaf); width: 100%; object-fit: cover; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.lead { font-size: 17px; color: var(--ink); font-weight: 600; }
.prose h3 { font-size: 21px; color: var(--green-dark); margin: 1.4em 0 .5em; }
.prose h3:first-child { margin-top: 0; }
.prose ul { padding: 0; list-style: none; margin: 0 0 1.2em; }
.prose li { position: relative; padding-left: 26px; margin-bottom: 8px; }
.prose li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 9px; height: 9px; border-radius: 0 6px 0 6px; background: var(--green-light); }
.prose strong { color: var(--ink); }
.prose a { text-decoration: underline; }

.quote-box { margin-top: 30px; padding: 22px 24px; background: var(--green-tint); border-radius: 0 24px 0 24px; border-left: 4px solid var(--green-light); display: grid; gap: 16px; }
.quote-box strong { font-family: var(--font-h); font-size: 18px; color: var(--green-dark); font-weight: 600; }
.quote-box p { margin: 4px 0 0; font-size: 14px; }
.quote-box__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- product list ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pcard--tall { aspect-ratio: 1 / 1.08; }
.pcard--tall .pcard__name { font-size: 19px; bottom: 22px; }

/* ---------- article ---------- */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 50px; align-items: start; }
.article__img { margin-bottom: 22px; aspect-ratio: 16 / 9; }
.article .prose { font-size: 16px; }
.sidebar { position: sticky; top: calc(var(--header-h) + 20px); }
.sidebar__title { font-size: 19px; padding-bottom: 12px; border-bottom: 2px solid var(--green-light); }
.sidebar__posts { list-style: none; margin: 0 0 28px; padding: 0; }
.sidebar__posts a { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-family: var(--font-h); font-size: 14px; font-weight: 500; line-height: 1.35; }
.sidebar__posts img { width: 72px; height: 72px; border-radius: 0 14px 0 14px; object-fit: cover; flex: none; }
.sidebar__posts small { display: block; font-family: var(--font-b); color: var(--muted); font-weight: 400; margin-top: 4px; font-size: 12px; }
.sidebar__cta { background: linear-gradient(135deg, var(--green-dark), var(--green)); color: #e5f0df; padding: 24px; border-radius: 0 28px 0 28px; }
.sidebar__cta strong { color: #fff; font-family: var(--font-h); font-size: 18px; font-weight: 600; }
.sidebar__cta p { font-size: 14px; margin: 8px 0 16px; }

/* ---------- contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 60px; }
.ccard { text-align: center; padding: 34px 24px; background: #fff; border-radius: 0 30px 0 30px; box-shadow: var(--shadow); border-bottom: 3px solid var(--green-light); }
.ccard__ico { display: inline-grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: var(--green-tint); color: var(--green); margin-bottom: 14px; }
.ccard h3 { font-size: 18px; margin-bottom: 8px; }
.ccard p { margin: 0; font-size: 14.5px; }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: stretch; scroll-margin-top: calc(var(--header-h) + 20px); }
.map { border-radius: 0 40px 0 40px; overflow: hidden; min-height: 460px; box-shadow: var(--shadow); }
.map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; }

/* ---------- forms ---------- */
.form { background: #fff; padding: 34px; border-radius: 16px; box-shadow: var(--shadow); scroll-margin-top: calc(var(--header-h) + 20px); }
.form--narrow { max-width: 820px; margin: 60px auto 0; }
.form__title { font-size: 24px; color: var(--green-dark); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid #d8dcd3; border-radius: 8px; font: inherit; font-size: 14.5px; color: var(--ink); background: #fbfcfa; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-light); box-shadow: 0 0 0 3px rgba(127, 178, 74, .2); background: #fff; }
.field input[type=file] { padding: 10px; background: #fff; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; margin: 4px 0 20px; cursor: pointer; }
.check input { margin-top: 3px; accent-color: var(--green); width: 16px; height: 16px; flex: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { display: flex; gap: 10px; align-items: center; padding: 14px 16px; border-radius: 10px; margin-bottom: 18px; font-size: 14.5px; }
.alert--ok { background: #e7f4dc; color: #255d17; }
.alert--err { background: #fdeaea; color: #9a2323; }

/* ---------- careers ---------- */
.careers__intro { max-width: 860px; margin: 0 auto 50px; text-align: center; font-size: 16px; }
.positions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.position { padding: 26px; border-radius: 0 28px 0 28px; background: var(--green-tint); border-left: 4px solid var(--green-light); }
.position h3 { font-size: 19px; color: var(--green-dark); }
.position p { font-size: 14px; }
.position__apply { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-h); font-weight: 600; font-size: 14px; }

/* ---------- credits ---------- */
.table-wrap { overflow-x: auto; }
.credits { width: 100%; border-collapse: collapse; font-size: 14px; }
.credits th, .credits td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.credits th { font-family: var(--font-h); font-weight: 600; color: var(--ink); background: var(--gray); }
.credits img { width: 80px; height: 60px; object-fit: cover; border-radius: 6px; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 120px 0; }
.notfound__code { font-family: var(--font-h); font-weight: 700; font-size: 120px; line-height: 1; color: var(--green-light); margin-bottom: 10px; }

/* ---------- footer ---------- */
.footer { background: var(--footer); color: #b9c8b6; font-size: 14px; position: relative; overflow: hidden; }
.footer::before { content: ""; position: absolute; right: -120px; bottom: -160px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(127, 178, 74, .12), transparent 70%); pointer-events: none; }
.footer__grid { position: relative; display: grid; grid-template-columns: 1.3fr .9fr 1.2fr 1.3fr; gap: 40px; padding-top: 70px; padding-bottom: 50px; }
.footer__logo { display: inline-block; background: #fff; padding: 12px 16px; border-radius: 0 24px 0 24px; margin-bottom: 18px; }
.footer__logo img { width: 190px; height: auto; }
.footer__title { color: #fff; font-size: 18px; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.footer__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 2px; background: var(--gold); }
.footer a { color: #d6e2d3; }
.footer a:hover { color: var(--gold-light); }
.footer__social { display: flex; gap: 10px; margin-top: 6px; }
.footer__social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .2); transition: .25s; }
.footer__social a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.footer__links { list-style: none; margin: 0; padding: 0; }
.footer__links li { margin-bottom: 9px; }
.footer__links a::before { content: "›"; margin-right: 8px; color: var(--green-light); }
.footer__posts { list-style: none; margin: 0; padding: 0; }
.footer__posts li + li { margin-top: 14px; }
.footer__posts a { display: flex; align-items: center; gap: 12px; color: #fff; font-family: var(--font-h); font-weight: 500; font-size: 13.5px; line-height: 1.35; }
.footer__posts img { width: 56px; height: 56px; object-fit: cover; border-radius: 0 12px 0 12px; flex: none; }
.footer__contact { list-style: none; margin: 0; padding: 0; }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.footer__ico { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22); display: grid; place-items: center; flex: none; color: var(--green-light); }
.footer__contact li > span:last-child, .footer__contact li > a { padding-top: 6px; }
.footer__bottom { position: relative; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; }
.footer__bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 18px; padding-bottom: 18px; }

/* floating buttons */
.fab-wa { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37, 211, 102, .45); transition: transform .25s; }
.fab-wa:hover { transform: scale(1.08); color: #fff; }
.to-top { position: fixed; right: 30px; bottom: 92px; z-index: 40; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--green-dark); color: #fff; display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .3s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold); }

/* reveal on scroll (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  :root { --header-h: 80px; }
  .header__logo img { height: 62px; }
  .burger { display: block; }
  .nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 88vw); background: #fff; z-index: 70; transform: translateX(100%); transition: transform .35s ease; overflow-y: auto; padding: 0 0 30px; margin: 0; }
  .nav.is-open { transform: none; }
  .nav.is-open ~ .nav-backdrop, body.nav-open .nav-backdrop { opacity: 1; visibility: visible; }
  .nav__head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); }
  .nav__head img { height: 54px; width: auto; }
  .nav__close { background: none; border: 0; color: var(--green-dark); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0; }
  .nav__item { border-bottom: 1px solid var(--line); }
  .nav__link { height: auto; padding: 14px 20px; width: 100%; justify-content: flex-start; }
  .nav__link::after, .nav__link .nav__chev { display: none; }
  .nav__toggle { display: grid; place-items: center; position: absolute; right: 8px; top: 6px; width: 40px; height: 40px; border: 0; background: var(--green-tint); border-radius: 8px; color: var(--green); transition: transform .25s; }
  .nav__item.is-open > .nav__toggle { transform: rotate(180deg); }
  .nav__sub, .nav__sub.cols-3 { position: static; display: none; opacity: 1; visibility: visible; transform: none !important; box-shadow: none; border: 0; border-radius: 0; padding: 0 12px 12px 20px; min-width: 0; grid-template-columns: 1fr; }
  .nav__item.is-open > .nav__sub { display: block; }
  .nav__item:hover > .nav__sub { transform: none; }
  .nav__sub a { white-space: normal; padding: 8px 12px; }
  .nav__langs-mobile { display: flex; gap: 10px; padding: 20px; }
  .nav__langs-mobile a { padding: 6px 14px; border-radius: 20px; border: 1px solid var(--line); font-weight: 700; font-size: 13px; color: var(--green-dark); }
  .nav__langs-mobile a.is-current { background: var(--green); border-color: var(--green); color: #fff; }
  .lang { display: none; }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .carousel__track { grid-auto-columns: calc((100% - 3 * 18px) / 4); }
  .carousel__track--posts { grid-auto-columns: calc((100% - 24px) / 2.3); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .carousel__btn--prev { left: -8px; }
  .carousel__btn--next { right: -8px; }
}
@media (max-width: 900px) {
  .section { padding: 64px 0; }
  .features { padding: 64px 0; }
  .band { padding: 40px 0 70px; }
  .band__inner { grid-template-columns: 1fr; gap: 0; }
  .band__text { padding: 44px 0 20px; text-align: center; }
  .band__images { min-height: 280px; margin-bottom: -40px; }
  .band__img--1 { top: 20px; height: 260px; }
  .band__img--2 { top: 0; height: 280px; }
  .split, .article-layout, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .sidebar { position: static; }
  .product-grid, .post-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-cards { grid-template-columns: 1fr; }
  .positions { grid-template-columns: 1fr; }
  .center-link { margin-top: -20px; padding-bottom: 60px; }
}
@media (max-width: 640px) {
  body { font-size: 14.5px; }
  .topbar__contact a:last-child span { display: none; }
  .topbar__contact { gap: 16px; }
  .hero { height: 72vh; min-height: 440px; max-height: 640px; }
  .hero__slide::after { background: linear-gradient(180deg, rgba(6, 30, 10, .35), rgba(6, 30, 10, .78)); }
  .features__grid { grid-template-columns: 1fr; gap: 34px; text-align: center; }
  .carousel__track { grid-auto-columns: calc((100% - 18px) / 2.2); }
  .carousel__track--posts { grid-auto-columns: 84%; }
  .carousel__btn { display: none; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .pcard--tall .pcard__name { font-size: 14px; bottom: 12px; }
  .post-grid { grid-template-columns: 1fr; }
  .form { padding: 24px 18px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .footer__grid { grid-template-columns: 1fr; gap: 34px; padding-top: 50px; }
  .title-lined::before, .title-lined::after { width: 30px; }
  .banner__inner { min-height: 220px; }
  .img-leaf { border-radius: 0 36px 0 36px; }
}

/* FalconX credit */
.fx-credit { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.fx-logo { display: inline-flex; align-items: center; background: #fff; padding: 3px 8px; border-radius: 4px; }
.fx-logo img { height: 18px; width: auto; }

/* product specs + datasheet, post video */
.specs__title { font-size: 19px; color: var(--green-dark); margin: 26px 0 12px; }
.specs { width: 100%; border-collapse: collapse; font-size: 14px; margin-bottom: 10px; }
.specs th, .specs td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { width: 42%; color: var(--ink); font-weight: 600; background: var(--green-tint); }
.datasheet { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; padding: 12px 18px; border-radius: 0 18px 0 18px; border: 1px solid var(--green-light); font-family: var(--font-h); font-weight: 500; }
.datasheet:hover { background: var(--green-tint); color: var(--green-dark); }
.video { position: relative; aspect-ratio: 16 / 9; margin: 24px 0; border-radius: 0 28px 0 28px; overflow: hidden; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* round, flat language flags */
.flag { display: inline-block; width: 22px; height: 22px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 1px rgba(0, 0, 0, .1); background: #eee; }
.lang__btn { gap: 6px; padding: 6px 4px; }
.lang__btn .flag { width: 26px; height: 26px; box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(11, 66, 20, .18); transition: box-shadow .2s; }
.lang__btn:hover .flag, .lang.is-open .lang__btn .flag { box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--green-light); }
.lang__menu { min-width: 170px; }
.lang__menu a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; }
.lang__menu a.is-current { font-weight: 600; }
.nav__langs-mobile { flex-wrap: wrap; }
.nav__langs-mobile a { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px 5px 5px; }
.nav__langs-mobile a.is-current .flag { box-shadow: 0 0 0 2px #fff; }
/* Poppins has no Cyrillic — Russian headings use Montserrat (same geometric feel) */
html[lang="ru"] { --font-h: "Montserrat", "Poppins", system-ui, sans-serif; }
