/* =========================================================
   AgroBioTech — feuille de style
   Direction artistique : identité agricole & biotech, sobre
   et moderne. Palette verte dominante, typographie précise.
   ========================================================= */

:root {
  --green-950: #06241a;
  --green-900: #0a3221;
  --green-800: #0e452c;
  --green-700: #135a3a;
  --green-600: #1b7a4b;
  --green-500: #24985f;
  --green-400: #43b37c;
  --green-300: #86d0a8;
  --green-200: #bfe5d1;
  --green-100: #dff1e7;
  --green-50:  #eef8f2;

  --lime: #a3e635;
  --lime-600: #6aa312;
  --orange: #ea7a2a;

  --ink: #0c1f16;
  --body: #46574f;
  --muted: #71837a;
  --line: #e2ece5;
  --surface: #ffffff;
  --bg: #f5faf7;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-xs: 0 1px 2px rgba(10, 50, 33, .05);
  --shadow-sm: 0 6px 16px -8px rgba(10, 50, 33, .14);
  --shadow: 0 18px 40px -18px rgba(10, 50, 33, .22);
  --shadow-lg: 0 34px 70px -30px rgba(10, 50, 33, .34);

  --container: 1200px;
  --font-display: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }

body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--surface);
  line-height: 1.7;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.35rem, 5.2vw, 4rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); letter-spacing: -0.025em; }
h3 { font-size: 1.22rem; letter-spacing: -0.015em; }
h4 { font-size: 1.03rem; letter-spacing: -0.01em; }
p { color: var(--body); }

strong { color: var(--ink); font-weight: 600; }
em { font-style: normal; }

a:focus-visible,
button:focus-visible { outline: 3px solid var(--green-400); outline-offset: 2px; border-radius: 6px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(60px, 8vw, 112px) 0; }
.section--tint { background: var(--bg); }
.section--dark { background: var(--green-900); color: var(--green-100); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark p { color: var(--green-200); }
.section--tight { padding: clamp(40px, 5vw, 68px) 0; }

.center { text-align: center; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Eyebrow / titres ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700;
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-600); margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 28px; height: 2px; background: var(--lime-600);
  display: inline-block; border-radius: 2px;
}
.eyebrow--light { color: var(--lime); }
.eyebrow--light::before { background: var(--lime); }

.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head h2 { margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  padding: 13px 24px; border-radius: 12px; cursor: pointer;
  border: 1px solid transparent; line-height: 1;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease, border-color .16s ease;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn--primary { background: var(--green-600); color: #fff; box-shadow: 0 12px 24px -12px rgba(27, 122, 75, .8); }
.btn--primary:hover { background: var(--green-700); transform: translateY(-2px); box-shadow: 0 18px 30px -14px rgba(27, 122, 75, .9); }
.btn--lime { background: var(--lime); color: var(--green-950); box-shadow: 0 12px 24px -12px rgba(106, 163, 18, .7); }
.btn--lime:hover { background: #b2f04a; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--green-700); border-color: var(--green-200); }
.btn--ghost:hover { border-color: var(--green-500); background: var(--green-50); transform: translateY(-2px); }
.btn--light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.45); backdrop-filter: blur(6px); }
.btn--light:hover { background: rgba(255,255,255,.22); transform: translateY(-2px); }
.btn--block { width: 100%; }

/* ---------- Topbar ---------- */
.topbar { background: var(--green-950); color: var(--green-200); font-size: .84rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 42px; }
.topbar a { color: var(--green-200); }
.topbar a:hover { color: #fff; }
.topbar__contacts { display: flex; flex-wrap: wrap; gap: 22px; }
.topbar__contacts span { display: inline-flex; align-items: center; gap: 8px; }
.topbar__contacts svg { width: 15px; height: 15px; color: var(--lime); }
.topbar__socials { display: flex; align-items: center; gap: 12px; }
.topbar__socials a { display: inline-flex; width: 27px; height: 27px; align-items: center; justify-content: center; border-radius: 8px; transition: background .16s ease; }
.topbar__socials a:hover { background: rgba(255,255,255,.14); color: #fff; }
.topbar__socials svg { width: 15px; height: 15px; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.header.is-scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); background: rgba(255,255,255,.94); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 84px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 44px; height: 44px; border-radius: 13px; flex: 0 0 auto;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--green-500), var(--green-800));
  box-shadow: 0 10px 20px -10px rgba(27,122,75,.8);
}
.brand__mark svg { width: 24px; height: 24px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.22rem; color: var(--green-900); letter-spacing: -0.02em; }
.brand__name em { color: var(--green-600); }
.brand__tag { font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-family: var(--font-display); font-weight: 600; font-size: .93rem;
  color: var(--green-900); padding: 10px 15px; border-radius: 10px;
  transition: background .16s ease, color .16s ease;
}
.nav a:hover { background: var(--green-50); color: var(--green-700); }
.nav a.is-active { color: var(--green-700); background: var(--green-100); }
.header__cta { display: inline-flex; }

.burger {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line);
  background: #fff; border-radius: 12px; cursor: pointer;
  align-items: center; justify-content: center;
}
.burger span { position: relative; width: 20px; height: 2px; background: var(--green-800); border-radius: 2px; transition: transform .2s ease, background .2s ease; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--green-800); border-radius: 2px; transition: transform .2s ease, top .2s ease; }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger.is-open span { background: transparent; }
.burger.is-open span::before { top: 0; transform: rotate(45deg); }
.burger.is-open span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero (accueil) ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  display: flex; align-items: center;
  min-height: 660px;
  background:
    linear-gradient(100deg, rgba(6,36,26,.96) 0%, rgba(6,36,26,.86) 34%, rgba(14,69,44,.62) 68%, rgba(14,69,44,.34) 100%),
    url("../img/hero.jpg") center/cover no-repeat;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(900px 420px at 12% 82%, rgba(163,230,53,.16), transparent 60%);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 2; padding: 104px 0 118px; max-width: 720px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: .86rem;
  color: var(--green-100); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
  padding: 9px 16px; border-radius: 999px; margin-bottom: 26px; backdrop-filter: blur(6px);
}
.hero__badge svg { width: 17px; height: 17px; color: var(--lime); }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 .accent { color: var(--lime); }
.hero__text { font-size: clamp(1.05rem, 1.8vw, 1.22rem); color: var(--green-100); max-width: 620px; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 14px 30px; margin-top: 44px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.18); }
.hero__trust div { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: #f0fff6; }
.hero__trust svg { width: 19px; height: 19px; color: var(--lime); }

/* ---------- Page hero (pages internes) ---------- */
.page-hero {
  position: relative; color: #fff; padding: clamp(64px, 9vw, 108px) 0 clamp(58px, 7vw, 92px);
  background: linear-gradient(110deg, rgba(6,36,26,.95), rgba(10,50,33,.72));
  overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center; opacity: .28;
}
.page-hero--micro::after    { background-image: url("../img/lab-tubes.jpg"); }
.page-hero--company::after  { background-image: url("../img/field-canne.jpg"); }
.page-hero--cultures::after { background-image: url("../img/field-melinas.jpg"); }
.page-hero--contact::after  { background-image: url("../img/hero.jpg"); }
.page-hero__inner { position: relative; z-index: 2; max-width: 780px; }
.page-hero h1 { color: #fff; margin-bottom: 16px; }
.page-hero p { color: var(--green-100); font-size: clamp(1rem, 1.6vw, 1.16rem); }
.page-hero .eyebrow { color: var(--lime); }
.page-hero .eyebrow::before { background: var(--lime); }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .84rem; color: var(--green-300); margin-bottom: 20px; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { opacity: .6; }

/* ---------- Cartes ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-xs);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card--hover:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--green-200); }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--green-50); color: var(--green-600); margin-bottom: 20px;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--body); font-size: .97rem; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 68px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; height: 100%; object-fit: cover; }
.media-frame { position: relative; }
.media-frame::before {
  content: ""; position: absolute; inset: auto -16px -16px auto;
  width: 72%; height: 72%; border-radius: var(--radius-lg);
  background: var(--green-100); z-index: -1;
}
.media-frame--badge::after {
  content: attr(data-badge); position: absolute; left: 18px; bottom: 18px;
  font-family: var(--font-display); font-weight: 700; font-size: .84rem; color: #fff;
  background: rgba(6,36,26,.72); backdrop-filter: blur(6px);
  padding: 10px 16px; border-radius: 12px;
}

/* ---------- Statistiques ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat {
  text-align: left; padding: 28px 26px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-xs);
}
.stat__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.9rem, 3.6vw, 2.6rem); color: var(--green-600); line-height: 1; letter-spacing: -0.03em; }
.stat__label { font-size: .9rem; color: var(--muted); margin-top: 12px; }
.section--dark .stat { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.section--dark .stat__num { color: var(--lime); }
.section--dark .stat__label { color: var(--green-200); }

/* ---------- Check list ---------- */
.check-list { display: grid; gap: 20px; }
.check-list li { display: flex; gap: 15px; align-items: flex-start; }
.check-list .mark {
  flex: 0 0 auto; width: 28px; height: 28px; border-radius: 9px;
  background: var(--green-100); color: var(--green-700); display: grid; place-items: center; margin-top: 2px;
}
.check-list .mark svg { width: 16px; height: 16px; }
.check-list strong { color: var(--ink); }
.check-list p { font-size: .98rem; }

/* ---------- Étapes ---------- */
.steps { display: grid; gap: 18px; }
.step {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 30px 28px 92px; box-shadow: var(--shadow-xs);
}
.step__num {
  position: absolute; left: 24px; top: 26px;
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--green-600), var(--green-500));
  color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
}
.step h3 { margin-bottom: 8px; font-size: 1.12rem; }
.step p { font-size: .96rem; }

/* ---------- Comparatif ---------- */
.compare { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.compare__item {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  border-top: 3px solid var(--orange); padding: 26px; box-shadow: var(--shadow-xs);
}
.compare__item h4 { font-family: var(--font-display); font-size: 1.02rem; color: var(--orange); margin-bottom: 10px; }
.compare__item p { font-size: .94rem; }

/* ---------- Mise en avant ---------- */
.highlight {
  position: relative; background: linear-gradient(135deg, var(--green-800), var(--green-600));
  color: #fff; border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 58px);
  overflow: hidden;
}
.highlight::before { content: ""; position: absolute; right: -70px; top: -70px; width: 280px; height: 280px; border-radius: 50%; background: rgba(163,230,53,.16); }
.highlight::after { content: ""; position: absolute; right: 46px; bottom: -100px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.05); }
.highlight h2, .highlight h3 { color: #fff; position: relative; }
.highlight p { color: var(--green-100); position: relative; }
.highlight .lead { color: #f0fff6; }

/* ---------- Cultures ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 44px; }
.tab {
  font-family: var(--font-display); font-weight: 600; font-size: .92rem;
  padding: 11px 22px; border-radius: 999px; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line); color: var(--green-800);
  transition: all .18s ease;
}
.tab:hover { border-color: var(--green-300); }
.tab.is-active { background: var(--green-600); border-color: var(--green-600); color: #fff; box-shadow: 0 12px 24px -12px rgba(27,122,75,.7); }

.culture-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.culture-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-xs); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease;
}
.culture-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.culture-card__head {
  padding: 24px 26px 20px; color: #fff;
  background: linear-gradient(135deg, var(--green-800), var(--green-600));
  display: flex; align-items: center; gap: 14px;
}
.culture-card__head svg { width: 28px; height: 28px; color: var(--lime); flex: 0 0 auto; }
.culture-card__head h3 { color: #fff; font-size: 1.12rem; }
.culture-card ul { padding: 22px 26px 26px; display: grid; gap: 12px; }
.culture-card li { display: flex; align-items: center; gap: 11px; font-size: .97rem; color: var(--body); }
.culture-card li svg { width: 18px; height: 18px; color: var(--green-500); flex: 0 0 auto; }
.culture-card li em { color: var(--muted); font-style: normal; font-size: .86rem; }

/* Galerie */
.gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.gallery figure {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-xs); transition: transform .2s ease, box-shadow .2s ease;
}
.gallery figure:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.gallery .thumb { aspect-ratio: 4 / 3; display: grid; place-items: center; background: #fff; padding: 10px; }
.gallery img { max-height: 100%; width: auto; object-fit: contain; border-radius: 8px; }
.gallery figcaption {
  font-family: var(--font-display); font-weight: 600; font-size: .85rem; text-align: center;
  padding: 12px 8px; color: var(--green-800); border-top: 1px solid var(--line);
}

/* ---------- CTA ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--green-800), var(--green-600));
  border-radius: var(--radius-lg); padding: clamp(34px, 5vw, 60px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
  color: #fff; position: relative; overflow: hidden;
}
.cta-band::before { content: ""; position: absolute; right: -40px; top: -70px; width: 260px; height: 260px; border-radius: 50%; background: rgba(163,230,53,.16); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; font-size: clamp(1.45rem, 3vw, 2rem); }
.cta-band p { color: var(--green-100); margin-top: 8px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(30px, 5vw, 60px); align-items: start; }
.info-list { display: grid; gap: 16px; }
.info-item {
  display: flex; gap: 16px; align-items: flex-start; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow-xs);
}
.info-item__icon { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--green-50); color: var(--green-600); }
.info-item__icon svg { width: 22px; height: 22px; }
.info-item h4 { font-family: var(--font-display); font-size: 1rem; margin-bottom: 3px; color: var(--ink); }
.info-item a { color: var(--green-700); font-weight: 600; }
.info-item a:hover { text-decoration: underline; }
.info-item p { font-size: .95rem; }

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 42px); box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-display); font-weight: 600; font-size: .87rem; color: var(--green-900); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--bg); transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green-400); background: #fff; outline: none; box-shadow: 0 0 0 3px var(--green-100); }
.field textarea { min-height: 132px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: .84rem; color: var(--muted); margin-top: 14px; }
.form-status { margin-top: 16px; font-weight: 600; color: var(--green-700); display: none; }
.form-status.is-visible { display: block; }

/* ---------- Footer ---------- */
.footer { background: var(--green-950); color: var(--green-200); padding-top: 68px; }
.footer .brand__name { color: #fff; }
.footer .brand__name em { color: var(--lime); }
.footer .brand__tag { color: var(--green-300); }
.footer .brand__mark { box-shadow: 0 12px 24px -12px rgba(0,0,0,.6); }
.footer .brand { margin-bottom: 20px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 52px; }
.footer p { color: var(--green-200); font-size: .94rem; }
.footer h4 { font-family: var(--font-display); color: #fff; font-size: .96rem; margin-bottom: 20px; letter-spacing: .02em; }
.footer ul { display: grid; gap: 12px; }
.footer a { color: var(--green-200); font-size: .94rem; transition: color .16s ease; }
.footer a:hover { color: var(--lime); }
.footer__contact li { display: flex; gap: 11px; align-items: flex-start; font-size: .94rem; color: var(--green-200); }
.footer__contact svg { width: 17px; height: 17px; color: var(--lime); flex: 0 0 auto; margin-top: 3px; }
.footer__socials { display: flex; gap: 12px; margin-top: 20px; }
.footer__socials a { width: 38px; height: 38px; border-radius: 11px; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: background .16s ease, transform .16s ease; }
.footer__socials a:hover { background: var(--green-600); transform: translateY(-2px); }
.footer__socials svg { width: 18px; height: 18px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 24px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; color: var(--green-300); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.6,.2,1), transform .7s cubic-bezier(.2,.6,.2,1); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Divers ---------- */
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.tag { font-size: .82rem; font-family: var(--font-display); font-weight: 600; padding: 8px 15px; border-radius: 999px; background: var(--green-100); color: var(--green-700); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4, .stats, .gallery { grid-template-columns: repeat(3, 1fr); }
  .grid-3, .culture-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav {
    position: fixed; inset: 84px 0 auto 0; flex-direction: column; align-items: stretch;
    background: #fff; padding: 18px 22px 26px; gap: 4px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); transform: translateY(-16px); opacity: 0; pointer-events: none;
    transition: opacity .2s ease, transform .2s ease; max-height: calc(100vh - 84px); overflow: auto;
  }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 13px 16px; border-radius: 10px; }
  .header__cta { display: none; }
  .nav .btn { margin-top: 10px; }
  .nav .nav-cta { display: inline-flex; }
  .burger { display: inline-flex; }
  .topbar__contacts span:nth-child(2) { display: none; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; }
  .hero { min-height: 620px; }
}

@media (min-width: 861px) { .nav .nav-cta { display: none; } }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .grid-4, .stats, .gallery, .grid-3, .culture-grid, .grid-2 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .hero__inner { padding: 84px 0 92px; }
  .topbar__socials { display: none; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .step { padding-left: 28px; padding-top: 76px; }
  .footer__bottom { flex-direction: column; }
  .media-frame::before { display: none; }
}
